# Patent

## Title
Networking of control devices of a motor vehicle

## Abstract

Control devices in a motor vehicle, having first sequence-controlled control devices being connected to a first data bus and second sequence-controlled control devices being connected to a second data bus, are networked. A first control device sends a first message via the gateway device into the first and second data buses. At least a second control device receives the first message and checks whether the receiving of the first message is required for the corresponding control device. The second control device sends out a response message, which indicates whether the second control device has a corresponding need to receive the first message. In the event of such a need, a routing default is established and/or an existing routing default is changed in a gateway device.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of PCT International Application No. PCT/EP2006/012035, filed Dec. 14, 2006, the entire disclosure of which is herein expressly incorporated by reference.


BACKGROUND AND SUMMARY OF THE INVENTION
The invention relates to a process for the networking of control devices in a motor vehicle, having at least two data buses, first sequence-controlled control devices being connected to a first data bus and second sequence-controlled control devices being connected to a second data bus, and first control devices exchanging messages on the basis of a routing default with second control devices by way of at least one gateway device.
Different data bus systems partly exist in known motor vehicles and, with respect to information technology, are connected by way of gateways or data interfaces between the data buses or data bus systems. The rules specifying which messages are transmitted into which data buses are stored in the gateways in so-called “routing tables”. These routing tables are specified within the scope of the vehicle development and are specified in an invariable manner in the gateways.
It is an object of the invention to provide a more flexible process for the networking of control devices.
This object is achieved by a process for the networking of control devices in a motor vehicle, having at least two data buses, first sequence-controlled control devices being connected to a first data bus and second sequence-controlled control devices being connected to a second data bus, and first control devices exchanging messages on the basis of a routing default with second control devices by way of at least one gateway device. A first control device of the first or second control devices sends a first message via the gateway device into the at least two data buses, the first message preferably being that message which the first control device normally emits during the operation of the motor vehicle. A second control device of the first or second control devices receives the first message and checks whether the receiving and/or the processing of the first message is required for the corresponding control device in order to be able to carry out the tasks intended for it by way of its sequence control during the operation of the motor vehicle. The second control device sends out a response message, which at least indicates whether the second control device has a corresponding need to receive and/or process the first message. In the event of such a need, a routing default is established and/or an existing routing default is changed such that it causes the first message to arrive at the second control device from the first control device by way of the gateway device. Advantageous further developments are described herein.
Other objects, advantages and novel features of the present invention will become apparent from the following detailed description of one or more preferred embodiments when considered in conjunction with the accompanying drawing.



BRIEF DESCRIPTION OF THE DRAWING
The FIGURE is a flow chart illustrating an exemplary process for the networking of control devices in a motor vehicle in accordance with the invention.



DETAILED DESCRIPTION OF THE DRAWING
A process is provided for the networking of control devices in a motor vehicle having at least two data buses, of which first sequence-controlled control devices are connected to a first data bus and second sequence-controlled control devices are connected to a second data bus. First control devices exchange messages on the basis of a routing default with second control devices by way of at least one gateway device.
According to an exemplary embodiment of the invention as shown in the FIGURE, upon starting the process (step 10), a first control device of the first or second control devices sends a first message beyond the gateway device into the at least two data buses (step 12). The first message is preferably that message which the first control device normally emits during the operation of the motor vehicle.
At least a second control device of the first or second control devices receives the first message (step 14) and checks whether the receiving and/or the processing of the first message is required for the corresponding control device in order to be able to carry out the tasks intended for it by way of its sequence control during the operation of the motor vehicle (step 16). The second control device sends out a response message, which at least indicates whether the second control device has a corresponding need to receive and/or process the first message (step 18). In the event of such a need, a routing default is established and/or an existing routing default is changed in that it causes the first message to arrive at the second control device from the first control device by way of the gateway device (step 20).
In accordance with a preferred embodiment, it becomes possible to generate routing defaults, particularly routing tables, for individual vehicles. This preferably takes place in the vehicle, for example, at the end of the vehicle production, or after all control devices have been installed in the vehicle, after an exchange of control devices or the installation of an additional or a new control device, and/or after the change of the sequence control of at least one control device.
In a further preferred embodiment of the invention, it is provided that the inquiry concerning need is made by each control device of the first and second control devices. In addition, the inquiry concerning need is preferably made largely for every message of the respective control device capable of generating it. As a result, it becomes possible to initiate a complete networking of all control devices for arbitrary bus structures.
In an embodiment of the invention, it is provided that the second control device sends the response message at least to the first control device, and the first control device, the second control device, and/or the gateway device establishes the routing default, correspondingly changes or supplements an existing routing default, or causes its establishment and/or its corresponding change. As an alternative or in addition, a routing default device may be provided in the vehicle, which establishes the routing default, correspondingly changes or supplements an existing routing default, or causes its establishment and/or its corresponding change. In the case of a supplementing of the routing default, a firmly predetermined routing default may be combined with the routing default learned within the scope of the inquiry concerning need. As a result, the inquiry concerning need can be limited to those messages for which a firmly predetermined routing default has not yet been specified, whereby the initialization or learning operation can be accelerated. Messages for which no firm routing default has yet been specified may, for example, be messages oriented according to the country in which the vehicle is used.
In an embodiment of the invention, it is provided that the first control device will send the first message out again during the operation of the vehicle only when at least one other control device has informed the first control device of a corresponding need. As a result, it becomes possible to optimize the data exchange for the individual vehicle within the data buses of the vehicle during its operation in that data that is not required does not unnecessarily stress the data buses of the vehicle.
In a preferred embodiment of the invention, it is provided that the inquiry concerning need is made after the completion of the networking of the control devices within the scope of the vehicle manufacture.
In a further preferred embodiment of the invention, it is provided that the inquiry concerning need will be made again after the exchange of a control device and/or after the expansion of the networking by an additional control device and/or after the change of the sequence control of at least one control device, and the routing default is adapted correspondingly.
In an embodiment of the invention, it is provided that the routing default is stored at least in the gateway device, the routing default preferably being a routing table.
In an embodiment of the invention, it is provided that the routing default is stored in a non-volatile, re-writable memory, such as in particular an NV-RAM (non-volatile random access memory). As a result, it becomes possible to adapt the routing default to the requirements of the concrete vehicle at the relevant point-in-time.
An advantageous data bus system of a motor vehicle is also provided, in which the data bus system or its control devices has or have at least one sequence control which causes the implementation of the process according to the invention. Additionally, a computer program product is provided for a networked control device or for a data bus system of a motor vehicle, in the case of which at least one sequence control prompts the implementation of the process according to the invention.
The foregoing disclosure has been set forth merely to illustrate the invention and is not intended to be limiting. Since modifications of the disclosed embodiments incorporating the spirit and substance of the invention may occur to persons skilled in the art, the invention should be construed to include everything within the scope of the appended claims and equivalents thereof.

## Claims

1. A process for networking control devices in a motor vehicle, having at least two data buses, of which first sequence-controlled control devices are connected to a first data bus and second sequence-controlled control devices are connected to a second data bus, wherein the first data bus is connected to the second data bus by at least one gateway device, the first control devices exchanging messages with the second control devices via the at least one gateway device based on a routing default, wherein the routing default comprising a routing table stored by the gateway device, the method comprising the acts of:
sending a first message from a first control device of the first or second control devices via the gateway device into the at least two data buses, the first message being a message normally emitted by the first control device during operation of the motor vehicle;
receiving the first message by a second control device of the first or second control devices, and checking whether the received first message is required for the second control device to carry out intended tasks of the second control device during operation of the motor vehicle;
sending a response message by the second control device to the first control device indicating at least a result of said checking; and
in response to the response message indicating that the first message is required for the second control device to carry out intended tasks of the second control device during operation of the motor vehicle, affecting the routing default that causes the first message, when sent again by the first control device during operation of the motor vehicle, to arrive at the second control device, and
in response to the response message indicating that the first message is not required for the second control device to carry out intended tasks of the second control device during operation of the motor vehicle, affecting the routing default so that the first message, when sent again by the first control device during operation of the motor vehicle, does not arrive at the second control device.

2. The process according to claim 1, wherein the act of affecting the routing default is performed by at least one of establishing a routing default and changing an existing routing default.

3. The process according to claim 1, wherein each control device of the first and second control devices determines whether the first message is required for it to carry out an intended task of the respective first and second control device during operation of the motor vehicle.

4. The process according to claim 3, wherein the determining that the first message is required to carry out intended tasks during operation of the motor vehicle is made substantially for every message of a respective control device capable of generating said message.

5. The process according to claim 3, further comprising the acts of:
sending the response message from the second control device to at least the first control device; and
affecting the routing default by way of at least one of the first control device, the second control device, and the gateway device.

6. The process according to claim 3, wherein said sending the first message is performed after completion of a networking of the control device during a manufacture of the motor vehicle.

7. The process according to claim 6, wherein said sending the first message is performed again after at least one of an exchange of a control device, an expansion of the networking via an additional control device, and a change of sequence control of at least one control device, whereby the routing default is adapted correspondingly.

8. The process according to claim 1, wherein the determining that the first message is required to carry out intended tasks during operation of the motor vehicle is made substantially for every message of a respective control device capable of generating said message.

9. The process according to claim 1, further comprising the acts of:
sending the response message from the second control device to at least the first control device; and
affecting the routing default by way of at least one of the first control device, the second control device, and the gateway device.

10. The process according to claim 1, wherein the first control device sends out the first message again during operation of the motor vehicle in response to at least one other control device has informed the first control device of a corresponding need for the first message to carry out an intended task of the at least one other control device.

11. The process according to claim 1, wherein the routing default is stored in a non-volatile, re-writable memory.

12. The process according to claim 11, wherein said memory is an NV-RAM.