Vehicle control system and communication processing method

By designing two independent communication networks and control device groups in the vehicle control system, and using the communication management device for authentication and relay message transmission, the problem of balancing high defense and high responsiveness is solved, and rapid detection and defense of unfairness are achieved communications, improving traffic safety.

CN118740412APending Publication Date: 2024-10-01HONDA MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410182758.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-02-19
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In vehicle control systems, it is difficult to balance high defense and high responsiveness while improving traffic safety to support the development of continuous transportation systems.

Method used

A vehicle control system is designed, which includes two independent communication networks and corresponding control device groups. Authentication processing and relay message transmission are performed through the communication management device to ensure that messages are sent directly through the routing device without passing through the management device after successful authentication. Communication, using the SOME/IP communication protocol to implement authentication and communication routing of the control device.

Benefits of technology

Rapid detection and prevention of improper communications are achieved, maintaining high responsiveness of vehicle control and improving traffic safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740412A_ABST
    Figure CN118740412A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle control system and a communication processing method. A vehicle control system is provided with two control device groups each constituting two communication networks, a communication management device communicably connected to the two control device groups, and a routing device for routing communication between the two communication networks. When a message is received from any control device, the communication management device performs an authentication process for the control device such that a relay message for relaying the message received from one control device to the control devices of the other control device group includes the communication address of the one control device as a transmission source address. The control device of the other control device group uses the communication address of the one control device included in the relay message to communicate with the one control device without via the communication management device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a vehicle control system and a communication processing method executed by the vehicle control system. Background Art

[0002] In recent years, research and development for improving the safety of vehicle control has been conducted.

[0003] Patent Document 1 describes an unauthorized frame detection device that detects the transmission of unauthorized frames in a vehicle network system using service-oriented communication and prevents the establishment of unauthorized communications. In this device, the transmission of unauthorized frames is detected based on the relationship between the ports physically connected to the server and the client.

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: International Publication No. 2021 / 002010 Summary of the invention

[0007] Problems to be solved by the invention

[0008] However, in technologies related to vehicle control safety, achieving both high defense against attacks on vehicle control and high responsiveness of vehicle control has become a challenge.

[0009] The purpose of the present application is to quickly detect and defend against improper communications from attackers to a vehicle control system in order to solve the above-mentioned problems, while maintaining high responsiveness of vehicle control, and to further improve traffic safety and thus contribute to the development of a sustainable transportation system.

[0010] Means for solving problems

[0011] One embodiment of the present invention is a vehicle control system, which has two control device groups that respectively constitute two different communication networks mounted on a vehicle, a communication management device that is respectively connected to the control devices of the two control device groups in a manner that allows communication, and a routing device that routes communications between the two communication networks. In the vehicle control system, when the communication management device receives a message from any control device, it performs authentication processing on the arbitrary control device. When the communication management device successfully authenticates the legitimacy of the arbitrary control device, it sends a relay message, and the relay message is used to relay a message received from the control device of one party's control device group, that is, one control device, to the control device of the other party's control device group. The relay message includes the communication address of the one control device as a sending source address, and the control device of the other party's control device group uses the communication address of the one control device contained in the relay message to start communication with the one control device via the routing device instead of via the communication management device.

[0012] According to another embodiment of the present invention, when the communication management device successfully authenticates the legitimacy of the arbitrary control device, it determines the communication address of the other control device based on the device information related to the respective control devices of the two control device groups. The other control device is the control device of the control device group of the party that sends the message, that is, the control device of the control device group of the other party that one control device wants to treat as the communication object. The communication management device sends a reply message containing the determined communication address of the other control device as the sending source address to the one control device. The one control device uses the communication address of the other control device contained in the reply message to start communication with the other control device via the routing device instead of via the communication management device.

[0013] According to another embodiment of the present invention, one of the two control device groups includes a control device for performing controls related to motion control of the vehicle, but does not include a control device for communicating with the outside of the vehicle, and the other of the two control device groups includes a control device for communicating with the outside of the vehicle, but does not include a control device for performing controls related to motion control of the vehicle.

[0014] According to another aspect of the present invention, the communication management device includes two processing devices that perform processing independently of each other, and the two processing devices are respectively connected to different communication networks among the two communication networks.

[0015] According to another aspect of the present invention, the two processing devices are respectively a physical machine and a virtual machine implemented in a processor included in the communication management device.

[0016] According to another embodiment of the present invention, the communication performed by the control devices of the two control device groups and the communication management device is Service Oriented Middle WarE Over IP, i.e., SOME / IP communication, and the Service Oriented Middle WarE Over IP communication includes sending a notification indicating that a search is being conducted for any service among the services as predetermined functional units, i.e., a search notification, and / or sending a notification indicating that the service being searched can be provided, i.e., a provision notification.

[0017] Another embodiment of the present invention is a communication processing method, which is executed by a vehicle control system, wherein the vehicle control system has two control device groups that respectively constitute two different communication networks mounted on the vehicle, a communication management device that is respectively connected to the control devices of the two control device groups in a manner that allows communication, and a routing device that routes communications between the two communication networks, the communication processing method comprising the following steps: an authentication processing step, wherein the communication management device performs authentication processing on any control device when receiving a message from the arbitrary control device; a relay sending step, wherein the communication management device sends a relay message when the legitimacy of the arbitrary control device is successfully authenticated, wherein the relay message is used to relay a message received from the control device of one control device group, i.e., one control device, to the control device of the other control device group, wherein the relay message includes the communication address of the one control device as a sending source address; and a first direct communication step, wherein the control device of the other control device group uses the communication address of the one control device contained in the relay message to communicate with the one control device via the routing device instead of via the communication management device.

[0018] According to another embodiment of the present invention, the communication processing method includes: a determination step, when the legitimacy of the arbitrary control device is successfully authenticated, the communication management device determines the communication address of the other control device based on the device information related to the respective control devices of the two control device groups, the other control device being the control device of the control device group of the party that sent the message, that is, the control device of the control device group of the other party that one control device wants to treat as the communication object; a reply sending step, the communication management device sends a reply message containing the determined communication address of the other control device as the sending source address to the one control device; and a second direct communication step, the one control device uses the communication address of the other control device contained in the reply message to communicate with the other control device via the routing device instead of via the communication management device.

[0019] Effects of the Invention

[0020] According to the present invention, it is possible to quickly detect and prevent unauthorized communication from an attacker to a vehicle control system, and to maintain high responsiveness of vehicle control. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a diagram showing the configuration of a vehicle control system according to one embodiment of the present invention.

[0022] Figure 2 1 is a sequence diagram showing a first example of a communication procedure in a vehicle control system.

[0023] Figure 3 1 is a sequence diagram showing a second example of the communication procedure in the vehicle control system.

[0024] Figure 4 1 is a sequence diagram showing a third example of the communication procedure in the vehicle control system.

[0025] Figure 5 1 is a sequence diagram showing a fourth example of the communication procedure in the vehicle control system.

[0026] Figure 6 1 is a sequence diagram showing a fifth example of the communication procedure in the vehicle control system.

[0027] Figure 7 1 is a sequence diagram showing a sixth example of the communication procedure in the vehicle control system.

[0028] Figure 8 1 is a sequence diagram showing a seventh example of the communication procedure in the vehicle control system.

[0029] Fig. 9 1 is a sequence diagram showing an eighth example of the communication procedure in the vehicle control system.

[0030] Fig.10 This is a diagram for explaining SOME / IP communication.

[0031] Fig.11 This is a diagram for explaining the SOME / IP communication protocol.

[0032] Fig.12 This is a diagram for explaining the SOME / IP communication protocol.

[0033] Fig.13 This is a diagram showing an example of the structure of a communication packet used for SOME / IP communication.

[0034] Description of Reference Numerals

[0035] 1: Vehicle control system; 2: Vehicle; 3: First control device group; 4: Second control device group; 5: Communication management device; 6, 7: ECU; 6a: Drive ECU; 6b: Control ECU; 6c: Battery ECU; 6d: ADAS-ECU; 7a: TCU; 7b: IVI-ECU; 7c: DMC-ECU; 8: Routing device; 9: First communication network; 10: Second communication network; 11: Third communication network; 20: Processor; 21: Memory; 22a: First communication device; 22b: Second communication device; 23: Identification information; 24: Service information; 25a: First program; 25b: Second program; 26: First processing device; 27: Second processing device; 30: First authentication unit; 31: First communication control unit; 32: Second authentication unit; 33: Second communication control unit; 40: Hub; 41: Device; 41a: Device A; 41b: Device B. DETAILED DESCRIPTION

[0036] Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[0037] [1. Structure of vehicle control system]

[0038] Figure 1 1 is a diagram showing the structure of a vehicle control system 1 according to an embodiment of the present invention. The vehicle control system 1 is mounted on a vehicle 2 and controls the operation of the vehicle 2. The vehicle 2 may be any vehicle driven by an internal combustion engine and / or a motor. In the present embodiment, the vehicle 2 is, for example, an electric vehicle driven by a drive motor (not shown) powered by a vehicle-mounted battery.

[0039] The vehicle control system 1 includes a first control device group 3, a second control device group 4, and a communication management device 5. In the present embodiment, the first control device group 3 does not include a control device for communicating with the outside of the vehicle 2, but includes a control device for performing control related to the motion control of the vehicle 2. In the present embodiment, the first control device group 3, as a control device for performing control related to the motion control of the vehicle 2, includes a drive ECU (Electronic Control Unit) 6a, a steering ECU 6b, a battery ECU 6c, and an ADAS (Advanced Driver-Assistance System)-ECU 6d.

[0040] The drive ECU 6a controls the action of the drive motor that drives the vehicle 2, and the steering ECU 6b controls the steering, deceleration, acceleration and other actions of the vehicle 2 based on the operations related to the steering wheel, brake, accelerator and other operating operations of the vehicle 2. The battery ECU 6c detects the remaining charge of the vehicle battery and controls the power supply to the drive motor. In addition, the ADAS-ECU 6d controls the driver assistance actions such as the cruising action and lane keeping action of the vehicle 2. Hereinafter, the drive ECU 6a, the steering ECU 6b, the battery ECU 6c and the ADAS-ECU 6d included in the first control device group 3 are collectively referred to as ECU 6.

[0041] The second control device group 4 does not include a control device for performing control related to the motion control of the vehicle 2, but includes a control device for communicating with the outside of the vehicle 2. In the present embodiment, the second control device group 4 includes a TCU (Telematics Control Unit) 7a and an IVI (In-Vehicle Infotainment)-ECU 7b as control devices for communicating with the outside of the vehicle 2. The TCU 7a is a wireless communication device for directly communicating with devices outside the vehicle 2 or indirectly communicating via an external communication network. The IVI-ECU 7b receives radio broadcasts, television broadcasts, and / or GPS waves, and displays images, videos, and / or provides route guidance and other information to the occupants of the vehicle 2 through a vehicle-mounted display device, speaker, etc. (all not shown).

[0042] The second control device group 4 includes, for example, a DMC-ECU 7c that controls the operation of a DMC (Driver Monitoring Camera) (not shown) installed in the cabin of the vehicle 2. Hereinafter, the TCU 7a, IVI-ECU 7b, and DMC-ECU 7c included in the second control device group 4 are collectively referred to as ECU 7.

[0043] In the present embodiment, the first control device group 3 and the second control device group 4 include four and three control devices, respectively, but each group only needs to include at least one control device.

[0044] The ECU 6 and the ECU 7 each include a computer, and perform predetermined control operations and communicate with other in-vehicle devices.

[0045] The vehicle control system 1 further includes a routing device 8. The routing device 8 has a hub function for connecting the control devices so as to be communicable with each other and a routing function for routing communications in a plurality of communication networks constituted by the control devices.

[0046] Each ECU 6 of the first control device group 3 and a first processing device 26 of the communication management device 5 described later are connected to the routing device 8 to form a first communication network 9. In addition, each ECU 7 of the second control device group 4 and a second processing device 27 of the communication management device 5 described later are connected to the routing device 8 to form a second communication network 10.

[0047] In the communication management device 5 , the first processing device 26 and the second processing device 27 cooperate to manage communication between the ECU 6 of the first control device group 3 constituting the first communication network 9 and the ECU 7 of the second control device group 4 constituting the second communication network 10 .

[0048] In this embodiment, ECU6, ECU7, first processing device 26 and second processing device 27 communicate according to the Ethernet (registered trademark) communication standard and the TCP / IP protocol. The first communication network 9 and the second communication network 10 are different VLANs (Virtral local-Area-Networks). The routing device 8 is, for example, an L3 switch. The routing device 8 can also be built into the communication management device 5.

[0049] In the present embodiment, ECU6, ECU7, first processing device 26, and second processing device 27 communicate based on Service Oriented Middle Ware Over IP (SOME / IP) defined by AUTomotive Open System Architecture (AUTOSAR), for example.

[0050] [2. About SOME / IP communication]

[0051] Here, an overview of SOME / IP communication as a conventional technology will be described.

[0052] Fig.10 , Fig.11 , Fig.12 as well as Fig.13 is a diagram for explaining SOME / IP communication. SOME / IP communication is used, for example, in Fig.10 As shown, among the plurality of devices 41 connected to the hub 40 to form a communication network, communication is established between any device 41 requesting provision of a service and any other device 41 capable of providing the service, thereby enabling the delivery of the service.

[0053] Here, service refers to the detailed functions and processing of various actions (for example, acquisition and provision of sensor data from sensors such as cameras, control of motors and actuators, provision of status information, etc.) achieved by executing applications on each device 41. In addition, the device that receives the provision of services (specifically, the provision of data related to the service) is called a client device, and the device that provides the service is called a server device. Fig.10 In the embodiment, any one of the plurality of devices 41 can become a client device, and any other one of the plurality of devices 41 can become a server device.

[0054] Each device 41 transmits various messages (SOME / IP messages) specified in SOME / IP by being carried in an IP packet specified in Ethernet.

[0055] In particular, communication for searching for a device on a network that provides a service is called SOME / IP-SD (Service Discovery). SOME / IP-SD communication includes communication of FindService message, OfferService message, SubscribeEventGroup message, Event message, and FieldNotification message described later.

[0056] Fig.13 1 is a diagram showing an example of the structure of a header of a communication packet used for SOME / IP-SD communication. Fig.13 This is the header of a communication packet located after the MAC header (18 bytes) at the head of an Ethernet (registered trademark) frame.

[0057] The communication packet includes an IP header, a UDP header, and a message specified in SOME / IP communication (SOME / IP message). In SOME / IP-SD communication, a SOME / IP message may include a SOME / IP header and a SOME / IP-SD header. The SOME / IP-SD header includes an Entries Array and an Options Array.

[0058] The IP header, UDP header, SOME / IP header, and SOME / IP-SD header are well known, so in order to simplify the description and make it easy to understand, the fields that constitute these headers are not described one by one, and only the parts related to the characteristic actions of the vehicle control system 1 of this embodiment are confirmed and explained.

[0059] The SourceAddress field of the IP header and the SourcePort of the UDP header respectively indicate the IP address and the communication port number of the source device of the communication packet. In addition, the DestinationAddress field of the IP header and the DestinationPort of the UDP header respectively indicate the IP address and the communication port number of the destination device (receiving device) of the communication packet. Here, the above IP address is the local IP address in the LAN (including VLAN) to which the corresponding device is connected.

[0060] In addition to specifying the IP address of a specific destination device in the DestinationAddress field and unicasting the communication packet, the source device can also specify a pre-specified IP address (multicast address) as the addresses of multiple destination devices in a specified range and multicast the communication packet to these multiple destination devices.

[0061] In the ServiceID field of the SOME / IP header, a service ID for identifying the service provided from the server device that transmits and receives the packet to the client device is set. In the ClientID field, a device ID for identifying the client device that receives the service is set. In the SessionID field, a session ID is set, which indicates that the communication of the packet is part of a communication session related to the provision of the following service, which is a service identified by the service ID in the ServiceID field and provided to the device identified by the device ID in the ClientID field.

[0062] In the case of SOME / IP-SD communication, the ServiceID field and the MethodID field of the SOME / IP header store 0xFFFF and 0x8100, respectively, as dedicated values ​​indicating SOME / IP-SD communication.

[0063] When a SOME / IP-SD message (e.g., FindService, OfferService, SubscribeEventGroup, and SubscribeEventGroupAck messages) is sent, a fixed value of 0x0000 is set in the ClientID field. In addition, when a SOME / IP message other than a SOME / IP-SD message (e.g., Event, FieldNotification, Request, and Response messages) is sent, a device ID for identifying a client device that receives the provision of the service is set in the ClientID field. In the SessionID field, a session ID is set to distinguish messages sent from the same device from other messages.

[0064] In addition, the IPv4 Address field and the PortNumber field of the SOME / IP-SD header respectively indicate the source address of the SOME / IP-SD message. In addition, when the IP packet carrying the SOME / IP message is communicated via IPv6 instead of IPv4, the IPv4 Address field is replaced with the IPv6 Address field. Hereinafter, the source address indicated by the IPv4 Address field or the IPv6 Address field is referred to as the Endpoint address.

[0065] Fig.11 as well as Fig.12 This is a sequence diagram showing an overview of the communication protocol (SOME / IP communication protocol) in SOME / IP communication. Fig.11 and Fig.12 In the description Fig.10 In the illustrated example, an A device 41 a as one of the plurality of devices 41 is a client device, and a B device 41 b as one of the plurality of devices 41 is a server device.

[0066] exist Fig.11 In the example of , after the A device 41a recognizes the B device 41b as a server device that can provide the requested service, it requests the B device 41b to provide the service and continues the communication.

[0067] exist Fig.11 In the present invention, first, the A device 41a multicasts a FindService message for searching for a server device that can provide the requested service in the communication network (S600). Thus, the A device 41a becomes a client device. The above-mentioned FindService message is received by all devices 41 including the B device 41b. In addition, in the FindService message, the ServiceID for identifying the service requested by the A device 41a is set in the ServiceID field of the SOME / IP-SD header.

[0068] The B device 41b having received the FindService message determines that the requested service can be provided, and transmits an OfferService message notifying the A device 41a that the service can be provided (S602). Thus, the B device 41b becomes a server device.

[0069] When A device 41a receives the OfferService message sent from B device 41b, A device 41a recognizes B device 41b as a server device that can provide the requested service. Thus, communication related to the granting and receiving of the service is established between A device 41a as a client device and B device 41b as a server device.

[0070] Next, the A device 41a having received the OfferService message sent from the B device 41b sends a SubscribeEventGroup message requesting provision of a service to the B device 41b (S604). In response to receiving the SubscribeEventGroup message from the A device 41a, the B device 41b sends a SubscribeEventGroupAck message as an acknowledgement response to the A device 41a (S606).

[0071] After that, the B device 41b sends the data related to the requested service to the A device 41a as an Event message or FieldNotification message at a specified timing (S608, S610). Here, the Event message is a message used to send data when a certain event occurs, such as the arrival of the transmission timing with a specified time interval, the change or update of the value of a specified data item. In addition, the FieldNotification message is a message used to notify when information that specifies data transmission conditions (for example, the transmission rate information of the camera image, etc.) has changed.

[0072] Fig.12 is a sequence diagram showing another example of the SOME / IP communication protocol. Fig.12 In the example, after device A 41a recognizes device B 41b as a server device that can provide the requested service, it sends a service provision request to device B 41b at the timing of requesting the provision of the service. Whenever device B 41b receives the provision request, it provides the service in response. Fig.12 In Fig.11 Same process as in Fig.11 The same reference numerals as in the above are used to indicate Fig.11 Instructions in .

[0073] exist Fig.12 In the embodiment, the A device 41a and the B device 41b are connected with each other. Fig.11After the same FindService message and OfferService message are exchanged, the A device 41a sends a Request message as a service provision request to the B device 41b (S612). Then, in response to receiving the Request message from the A device 41a, the B device 41b loads the data of the requested service into a Response message and sends it to the A device 41a (S614). Then, at the timing when the A device 41a requests the provision of the service, the exchange of Request messages and Response messages is repeated between the A device 41a and the B device 41b (S616 and S618).

[0074] Here, in Fig.11 as well as Fig.12 In the example, the communication session is started by sending a FindService message from the A device 41a as a client device requesting a service. However, the communication session can also be started by sending an OfferService message from the B device 41b as a server device without sending a FindService message. In this case, the B device 41b first multicasts an OfferService message indicating that a specific service can be provided in the communication network. The A device 41a that needs to be provided with the service among the devices 41 that receive the OfferService message becomes a client device by sending a SubscribeEventGroup message or a Request message to the B device 41b.

[0075] [3. Communication management device]

[0076] When receiving a message from a control device (any ECU 6 or ECU 7 ) of any control device group in the first control device group 3 and the second control device group 4 , the communication management device 5 performs authentication processing on the control device.

[0077] In addition, when the communication management device 5 successfully authenticates the legitimacy of the control device that sent the message in the authentication process, it generates and sends a relay message for relaying a message (e.g., OfferService message) received from a control device of one control device group, that is, a control device of one side (e.g., ECU 6) to a control device of the other control device group (e.g., ECU 7). At this time, the communication management device 5 causes the relay message to include the communication address of the control device of the one side as the sending source address.

[0078] Thereby, the control device of the other control device group can communicate with the one control device via the router device 8 instead of the communication management device 5 , using the communication address of the one control device included in the relay message.

[0079] In addition, when the communication management device 5 successfully authenticates the legitimacy of the control device that sent the above-mentioned message in the above-mentioned authentication process, it determines the communication address of the control device of the other party's control device group, that is, the control device of the other party (for example, ECU7), based on the device information related to each control device, that is, the service information 24 (described later), which is the control device of the control device group of the party that sent the message (for example, FindService message), that is, the control device of the one party (for example, ECU6) to be regarded as the communication object. Then, the agent of the above-mentioned other party's control device sends a reply message (for example, OfferService message) containing the communication address of the above-mentioned other party's control device as the sending source address to the above-mentioned one party's control device.

[0080] Thereby, one control device can start communication with the other control device via the routing device 8 instead of the communication management device 5 , using the communication address of the other control device included in the reply message.

[0081] [3.1 Configuration of communication management device]

[0082] The structure of the communication management device 5 is described.

[0083] Hereinafter, the communication addresses set in the SourceAddress field and the DestinationAddress field of the IP header of the IP packet carrying the message are respectively referred to as the "source address of the IP packet" and the "destination address of the IP packet". In addition, in this specification, the communication address set in the IPv4 Address field (or IPv6 Address field) in the SOME / IP-SD header of each SOME / IP-SD message including the FindService message, OfferService message, SubscribeEventGroup message and SubscribeEventGroupAck message is referred to as the "source address of the message" or "Endpoint address". Thus, the source address of the IP packet is recorded separately from the source address contained in the message.

[0084] Reference Figure 1 The communication management device 5 includes a processor 20, a memory 21, a first communication device 22a and a second communication device 22b.

[0085] The first communication device 22a and the second communication device 22b are wired communication devices used by the first processing device 26 and the second processing device 27 described later for communication. The first communication device 22a and the second communication device 22b are connected to the routing device 8 respectively. The first processing device 26 and the second processing device 27 communicate in accordance with the SOME / IP communication standard through the first communication device 22a and the second communication device 22b via the routing device 8. As described above, the first processing device 26 and the ECUs 6 of the first control device group 3 together constitute the first communication network 9, and the second processing device 27 and the ECUs 7 of the second control device group 4 together constitute the second communication network 10.

[0086] The memory 21 is constituted by, for example, a volatile and / or nonvolatile semiconductor memory and / or a hard disk device, etc. The memory 21 stores identification information 23 and service information 24 .

[0087] In the identification information 23, a list of the regular communication addresses of ECU6 and ECU7 (IP addresses in this embodiment. The same applies below) is saved as a regular address list. In addition, in the service information 24, a list of service IDs (provided service IDs) of the services that can be provided by each ECU6 and ECU7 is saved corresponding to the communication addresses of each ECU6 and ECU7. The service information 24 is equivalent to the device information related to the respective control devices of the two control device groups in the present disclosure. The service information 24 also includes services provided by ECU6 and ECU7 in response to receiving the SubscribeEventGroup message (i.e., Fig.11 , or a device that provides services in response to receiving a Request message (i.e., through an Event message and / or a FieldNotification message, as shown in FIG. Fig.12 The Response message shown provides information about the device providing the service.

[0088] The processor 20 is, for example, a computer including a CPU, etc. The processor 20 may also include a ROM in which a program is written, a RAM for temporarily storing data, etc. The processor 20 includes a first processing device 26 and a second processing device 27 as functional elements or functional units.

[0089] The first processing device 26 and the second processing device 27 perform processing independently of each other, and manage communication between the ECU 6 of the first control device group 3 constituting the first communication network 9 and the ECU 7 of the second control device group 4 constituting the second communication network 10 in cooperation with each other.

[0090] The first processing device 26 is implemented as a so-called physical machine, for example, by the processor 20 as a computer executing the first program 25a including the OS (operating system) stored in the memory 21. In addition, for example, the second processing device 27 is implemented as a so-called virtual machine, for example, by the processor 20 as a computer executing the second program 25b including the OS stored in the memory 21.

[0091] Thus, the first processing device 26 and the second processing device 27 can operate as mutually independent computers.

[0092] Specifically, the first processing device 26 is implemented on the hardware of the processor 20 and starts to operate when the processor 20 executes the first program 25a. At this time, the processor 20 executes the OS included in the first program 25a, thereby forming a virtual machine platform provided by the OS in the processor 20.

[0093] Thereafter, the processor 20 executes the second program 25b on the virtual machine platform, thereby realizing the second processing device 27 as a virtual machine.

[0094] That is, the OS provided by the first program 25 a is a so-called host OS, and the OS provided by the second program 25 b is a so-called guest OS executed on a virtual machine platform provided by the host OS.

[0095] In addition, the first program 25a and the second program 25b can be stored in advance in any computer-readable storage medium.

[0096] The first processing device 26 includes a first authentication unit 30 and a first communication control unit 31 as functional elements or functional units. These functional elements are implemented by the processor 20 executing the above-mentioned first program 25a.

[0097] The second processing device 27 includes a second authentication unit 32 and a second communication control unit 33 as functional elements or functional units. These functional elements are implemented by the processor 20 executing the second program 25b described above.

[0098] The first processing device 26 and the second processing device 27 of the communication management device 5 cooperate with each other and, when receiving a message from any control device (for example, any ECU 6 or ECU 7 ) in the first control device group 3 and the second control device group 4 , perform authentication processing on the control device.

[0099] In addition, when the first processing device 26 and the second processing device 27 successfully authenticate the legitimacy of the control device in the authentication process, they cooperate with each other to generate and send a relay message for relaying a message received from a control device of one control device group, that is, a control device of one side, to a control device of the other control device group. At this time, the first processing device 26 causes the relay message to include the communication address of the control device of the one side as a sending source address.

[0100] In addition, when the first processing device 26 and the second processing device 27 successfully authenticate the legitimacy of the control device in the authentication process, they cooperate with each other to determine the communication address of the control device of the control device group of the other party that should be set as the communication object of the control device of the control device of the one party that sent the message (for example, FindService message), that is, the communication address of the control device of the control device group of the other party, that is, the communication address of the control device ...

[0101] [3.2 Operation of the communication management device]

[0102] Next, referring to eight examples showing the communication steps in the vehicle control system 1, Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 , Figure 7 , Figure 8 as well as Fig. 9 The sequence diagram shown explains the operations of the first authentication unit 30 and the first communication control unit 31 of the first processing device 26 and the operations of the second authentication unit 32 and the second communication control unit 33 of the second processing device 27.

[0103] [3.2.1 First Example of Communication Procedure]

[0104] Figure 2 It is the first example of SOME / IP communication. Figure 2 The SOME / IP communication shown starts with any ECU6 of the first control device group 3 requesting a specific service and multicasting a FindService message as a trigger. The ECU6 determines any ECU7 of the second control device group 4 that provides the above-mentioned specific service and sends a Request message, and receives service provision based on a Response message from the ECU7.

[0105] exist Figure 2In the process, first, any ECU 6 of the first control device group 3 requests to provide a service (request service) required for some control related to the motion control of the vehicle 2, and multicasts a FindService message (S100) for searching a server device that can provide the requested service in the first communication network 9. Hereinafter, the ECU 6 that sends the FindService message is referred to as the client ECU 6.

[0106] The first authentication unit 30 of the first processing device 26 that receives the FindService message from the client ECU 6 performs the first authentication process on the client ECU 6 (S102). The first authentication unit 30 performs the first authentication process by determining whether the source address of the message contained in the received FindService message is included in the regular address list of the identification information 23 stored in the memory 21. In addition, if the first authentication unit 30 cannot authenticate the legitimacy of the client ECU 6 in the first authentication process, it ends. Figure 2 The treatment shown ( Figure 2 (not shown in the figure).

[0107] Next, the first communication control unit 31 of the first processing device 26 determines the ECU7 that can provide the request service requested by the client ECU6 (S104). Specifically, the first communication control unit 31 obtains the service ID of the above-mentioned request service from the ServiceID of the FindService message. Then, the first communication control unit 31 refers to the service information 24 stored in the memory 21, and determines the communication address of the ECU7 that includes the obtained service ID as the service ID that can provide the service. In addition, the first communication control unit 31 recognizes through the service information 24 that the above-mentioned determined ECU7 is a device related to the above-mentioned request service and provides the service in response to receiving the Request message (S106). Hereinafter, the ECU7 that can provide the request service will be referred to as the server ECU7.

[0108] Next, in response to the above identification related to the service provision of the server ECU 7, the first communication control unit 31 generates an OfferService message (S108) in which the communication address of the server ECU 7 is set as the Endpoint address on behalf of the determined server ECU 7, and replies the generated OfferService message to the client ECU 6 (S110). The client ECU 6 that receives the OfferService message obtains the communication address of the server ECU 7 as the communication object according to the Endpoint address of the received OfferService message (S112).

[0109] Next, the client ECU 6 uses the communication address of the server ECU 7 obtained above as the destination address of the IP packet, and sends a Request message to the server ECU 7 via the routing device 8 instead of the first processing device 26 and the second processing device 27 of the communication management device 5 (S114). The server ECU 7 that has received the Request message obtains the communication address of the client ECU 6 that is the communication target based on the source address of the IP packet of the received Request message (S116).

[0110] Next, the server ECU 7 uses the acquired communication address of the client ECU 6 as the destination address of the IP packet, and sends a Response message to the client ECU 7 via the routing device 8 instead of the first processing device 26 and the second processing device 27 of the communication management device 5 ( S118 ).

[0111] Thereafter, the client ECU 6 and the server ECU 7 use the mutual communication addresses acquired in steps S112 and S116 respectively, and according to the prior art, directly and repeatedly exchange Request messages and Response messages via the router 8 instead of the communication management device 5 ( S120 , S122 ).

[0112] Here, in Figure 2 In the example shown, the client ECU 6 and the server ECU 7 correspond to the "one control device" and "the other control device that the one control device wants to treat as a communication object" in the present disclosure, respectively. In addition, the FindService message sent in step S100 and the OfferService message sent in step S110 correspond to the "message received from one control device" and "a reply message to the message received from one control device" in the present disclosure, respectively.

[0113] In addition, Figure 2 In the embodiment, step S102 corresponds to the authentication processing step in the present disclosure, and step S104 corresponds to the determination step. In addition, steps S108 and S110 correspond to the reply sending step, and steps S114, S118, S120, and S122 correspond to the second direct communication step.

[0114] [3.2.2 Second example of communication procedure]

[0115] Figure 3 This is the second example of SOME / IP communication. Figure 3The SOME / IP communication shown starts when any ECU 6 of the first control device group 3 requests a specific service and multicasts a FindService message as a trigger. The ECU 6 receives service provision based on Event messages and / or FieldNotification messages from any ECU 7 of the second control device group 4 that provides the specific service.

[0116] In addition, Figure 3 In Figure 2 The same processing steps as shown in Figure 2 The same reference numerals as shown in the figure are used to indicate the above Figure 2 Related instructions.

[0117] exist Figure 3 In the example shown, after the first communication control unit 31 of the first processing device 26 determines the server ECU 7 that can provide the requested service in step S104, it identifies that the determined server ECU 7 is a device that provides the service in response to receiving a SubscribeEventGroup message (also abbreviated as "Subscribe" or "Subscribe message" in the accompanying drawings) for the requested service (S150). Then, in response to the above identification related to the service provision of the server ECU 7, the first communication control unit 31 sends an OfferService message (S152) in which the communication address of the first processing device 26 itself is set as the Endpoint address to the client ECU 6 according to the prior art.

[0118] The client ECU 6 that has received the OfferService message sends a SubscribeEventGroup message in which the communication address of the client ECU 6 itself is set as the Endpoint address to the first processing device 26 that is the transmission source of the OfferService message according to the conventional technology (S154).

[0119] In response to receiving the above-mentioned SubscribeEventGroup message, the first communication control unit 31 of the first processing device 26 acts as an agent for the client ECU6 as the sending source, generates a SubscribeEventGroup message (S156) in which the communication address of the client ECU6 is set as the Endpoint address, and sends the above-mentioned generated SubscribeEventGroup message to the server ECU7 determined in step S104 (S158).

[0120] The server ECU 7 receives the SubscribeEventGroup message, and obtains the communication address of the client ECU 6 as the communication object of the service provider through the Endpoint address of the received SubscribeEventGroup message (S160). The server ECU 7 sends a SubscribeEventGroupAck message (also abbreviated as "SubscribeAck" in the figure) to the first processing device 26 as a confirmation response to the SubscribeEventGroup message sent in step S158 (S162).

[0121] The first communication control unit 31 of the first processing device 26 receives the SubscribeEventGroupAck message sent in step S162. In response to receiving the SubscribeEventGroupAck message, the first communication control unit 31 sends a SubscribeEventGroupAck message (S164) to the client ECU 6 in accordance with the prior art, in which the communication address of the first processing device 26 itself is set as the Endpoint address. The SubscribeEventGroupAck message is a response message to the SubscribeEventGroup message sent by the client ECU 6 in step S154.

[0122] Afterwards, the server ECU 7 can use the communication address of the client ECU 6 obtained in step S160 to directly send a message to the client ECU 6 via the routing device 8, not via the first processing device 26 and the second processing device 27 of the communication management device 5. Therefore, afterward, the server ECU 7 sends data related to the provision of services to the client ECU 6 via the Event message and / or FieldNotification message at a predetermined timing, not via the communication management device 5, and the client ECU 6 receives these messages (S166, S168).

[0123] exist Figure 3 In the example shown, the client ECU 6 and the SubscribeEventGroup message sent in step S154 are respectively equivalent to the "control device of one party" and the "message received from the control device of one party" in this disclosure. The SubscribeEventGroup message sent in step S158 is equivalent to the "relay message for relaying the message received from the control device of one party to the control device of the control device group of the other party" in this disclosure.

[0124] In addition, Figure 3In the embodiment, steps S156 and S158 are equivalent to the relay transmission steps in the present disclosure, and steps S166 and S168 are equivalent to the first direct communication steps.

[0125] [3.2.3 Third example of communication procedure]

[0126] Figure 4 This is the third example of SOME / IP communication. Figure 4 The SOME / IP communication shown starts when any ECU6 in the first control device group 3 multicasts an OfferService message indicating that a specific service can be provided. The ECU6 receives a Request message from any ECU7 in the second control device group 4 that requires the above-mentioned specific service and provides the service to the ECU7 based on the Request message.

[0127] exist Figure 4 First, any ECU 6 in the first control device group 3 multicasts an OfferService message indicating that a specific service can be provided in the first communication network 9 (S200). Hereinafter, the specific service is referred to as an offer service, and the ECU 6 that has sent the OfferService message is referred to as a server ECU 6.

[0128] The first authentication unit 30 of the first processing device 26 that receives the OfferService message from the server ECU 6 executes the first authentication process for the server ECU 6 (S202). If the first authentication unit 30 cannot authenticate the legitimacy of the server ECU 6 in the first authentication process, the authentication process ends. Figure 4 The treatment shown ( Figure 4 (not shown in the figure).

[0129] Next, the first communication control unit 31 recognizes, based on the service information 24 , that the server ECU 6 is a device that provides the service in response to receiving the Request message ( S204 ).

[0130] In response to the above-mentioned identification related to the service provision of the server ECU6, the first communication control unit 31 acts as an agent for the server ECU6 that sent the OfferService message in step S200, generates an OfferService message (S206) in which the communication address of the server ECU6 is set as the Endpoint address, and multicasts the above-mentioned OfferService message to each ECU7 in the second communication network 10 (S208).

[0131] The OfferService message multicasted in step S208 is received by each ECU 7. Any ECU 7 (hereinafter referred to as client ECU 7) in the second communication network 10 that needs the service indicated by the service ID of the OfferService message obtains the communication address of the server ECU 6 as the communication object through the Endpoint address of the OfferService message (S210).

[0132] The client ECU 7 uses the acquired communication address of the server ECU 6 as the destination address of the IP packet and sends a request message to the server ECU 6 ( S212 ). The request message is received by the server ECU 6 via the router 8 instead of the first processor 26 and the second processor 27 of the communication management device 5 .

[0133] The server ECU 6 that has received the Request message acquires the communication address of the client ECU 7 that is the communication target based on the source address of the IP packet of the received Request message (S214). The server ECU 6 uses the acquired communication address of the client ECU 7 as the destination address of the IP packet, and sends a Response message to the client ECU 7 via the routing device 8 instead of the first processing device 26 and the second processing device 27 of the communication management device 5 (S216).

[0134] Thereafter, the client ECU 7 and the server ECU 6 use the mutual communication addresses acquired in steps S210 and S214 respectively, and according to the prior art, directly and repeatedly exchange Request messages and Response messages via the router 8 instead of the communication management device 5 ( S218 , S220 ).

[0135] Here, in Figure 4 In the example shown, the OfferService message sent in step S200 received by the server ECU 6 and the first processing device 26 is equivalent to the "one control device" and "message received from one control device" in the present disclosure, respectively. In addition, the OfferService message sent in step S208 is equivalent to the "relay message for relaying the message received from one control device to the control device of the other control device group based on the message received from the one control device" in the present disclosure.

[0136] In addition, Figure 4 In the present disclosure, step S202 is equivalent to the authentication processing step, steps S206 and S208 are equivalent to the relay transmission step, and steps S212, S216, S218, and S220 are equivalent to the first direct communication step.

[0137] [3.2.4 Fourth example of communication procedure]

[0138] Figure 5 This is the fourth example of SOME / IP communication. Figure 5 The SOME / IP communication shown starts when any ECU6 of the first control device group 3 multicasts an OfferService message indicating that a specific service can be provided. The ECU6 provides the service based on Event messages and / or FieldNotification messages to any ECU7 of the second control device group 4 that requires the above-mentioned specific service.

[0139] In addition, Figure 5 In Figure 4 The same processing steps as shown in Figure 4 The same reference numerals as shown in the figure are used to indicate the above Figure 4 Description.

[0140] exist Figure 5 In the example shown, after the first communication control unit 31 of the first processing device 26 performs the first authentication processing for the server ECU6 in step S202, it identifies, based on the service information 24, that the server ECU6 is a device that provides services in response to receiving a SubscribeEventGroup message (S250).

[0141] In response to the above identification related to the service provision of the server ECU 6, the first communication control unit 31 multicasts an OfferService message (S252) in which the communication address of the first processing device 26 is set as the Endpoint address to each ECU 7 in the second communication network 10 according to the conventional technology.

[0142] The OfferService message multicasted in step S252 is received in each ECU 7. According to the prior art, any ECU 7 (hereinafter referred to as client ECU 7) among the ECUs 7 in the second communication network 10 that needs to provide the service indicated by the service ID of the OfferService message sends a SubscribeEventGroup message (S254) in which the communication address of the client ECU 7 itself is set as Endpoint to the first processing device 26 that is the sending source of the OfferService message.

[0143] In response to receiving the above-mentioned SubscribeEventGroup message, the first communication control unit 31 of the first processing device 26 acts as an agent for the client ECU7 as the sending source, generates a SubscribeEventGroup message (S256) in which the communication address of the client ECU7 is set as the Endpoint address, and sends the above-mentioned generated SubscribeEventGroup message to the server ECU6 which is the sending source of the OfferService message in step S200 (S258).

[0144] The server ECU 6 receives the SubscribeEventGroup message, and obtains the communication address of the client ECU 7 as the communication object of the service provider according to the Endpoint address of the received SubscribeEventGroup message (S260). According to the prior art, the server ECU 6 sends a SubscribeEventGroupAck message, which is a confirmation response to the SubscribeEventGroup message sent in step S258, to the first processing device 26 as the sending source (S262).

[0145] The first communication control unit 31 of the first processing device 26 receives the SubscribeEventGroupAck message sent in step S262. In response to receiving the SubscribeEventGroupAck message, the first communication control unit 31 sends a SubscribeEventGroupAck message (S264) to the client ECU 7 in accordance with the prior art, in which the communication address of the first processing device 26 itself is set as the Endpoint address. The SubscribeEventGroupAck message is a response message to the SubscribeEventGroup message sent by the client ECU 7 in step S254.

[0146] Afterwards, the server ECU 6 can use the communication address of the client ECU 7 obtained in step S260 to directly send a message to the client ECU 7 via the routing device 8, not via the first processing device 26 and the second processing device 27 of the communication management device 5. Therefore, afterward, the server ECU 6 continuously sends data related to the provision of services to the client ECU 7 through Event messages and / or FieldNotification messages at a predetermined timing, not via the communication management device 5, and the client ECU 7 receives these messages (S266, S268).

[0147] exist Figure 5In the example shown, the client ECU7, the SubscribeEventGroup message sent in step S254, and the SubscribeEventGroup message sent in step S258 respectively correspond to the "one control device", the "message received from one control device", and the "control device relay message for relaying the message to the control device group of the other party based on the message received from the control device of one party" in the present disclosure.

[0148] In addition, Figure 5 In the embodiment, steps S256 and S258 are equivalent to the relay transmission steps in the present disclosure, and steps S266 and S268 are equivalent to the first direct communication steps.

[0149] [3.2.5 Fifth example of communication process]

[0150] Figure 6 This is the fifth example of SOME / IP communication. Figure 6 The SOME / IP communication shown starts with any ECU7 of the second control device group 4 requesting a specific service and multicasting a FindService message as a trigger. The ECU7 determines any ECU6 of the first control device group 3 that provides the above-mentioned specific service and sends a Request message, and receives the service provision based on the Request message from the ECU6.

[0151] exist Figure 6 In the embodiment of the present invention, first, any ECU 6 of the second control device group 4 requests to provide a specific service (request service) required for the control action, and multicasts a FindService message (S300) for searching a server device that can provide the requested service in the second communication network 10. The second processing device 27 in the second communication network 10 receives the multicast FindService message. Hereinafter, the ECU 7 that multicasts the FindService message is referred to as the client ECU 7.

[0152] The second authentication unit 32 of the second processing device 27 that receives the FindService message from the client ECU 7 performs the second authentication process for the client ECU 7 (S302). The second authentication unit 32 performs the second authentication process by determining whether the source address of the message included in the received FindService message is included in the regular address list of the identification information 23 stored in the memory 21. In addition, if the second authentication unit 32 cannot authenticate the legitimacy of the client ECU 7 in the second authentication process, it ends. Figure 6 The treatment shown ( Figure 6 (not shown in the figure).

[0153] Next, the second communication control unit 33 of the second processing device 27 transfers the FindService message from the client ECU 7 to the first processing device 26 ( S304 ).

[0154] The first communication control unit 31 of the first processing device 26 determines the ECU6 that can provide the request service requested by the client ECU7 based on the forwarded FindService message (S306). Specifically, the first communication control unit 31 obtains the service ID of the above-mentioned request service from the ServiceID of the FindService message. Then, the first communication control unit 31 refers to the service information 24 stored in the memory 21, and determines the communication address of the ECU6 that contains the obtained service ID as the service ID that can be provided. In addition, the first communication control unit 31 recognizes that the above-mentioned determined ECU6 is a device that provides service for the above-mentioned request service in response to receiving the Request message based on the service information 24 (S308). Hereinafter, the ECU6 that can provide the request service requested by the client ECU7 will be referred to as the server ECU6.

[0155] Next, in response to the above identification related to the service provision of the server ECU 6, the first communication control unit 31 acts as a proxy for the determined server ECU 6, generates an OfferService message (S310) in which the communication address of the server ECU 6 is set as the Endpoint address, and replies the generated OfferService message to the client ECU 7 (S312). The client ECU 7 that receives the OfferService message obtains the communication address of the server ECU 6 as the communication object according to the Endpoint address of the received OfferService message (S314).

[0156] Next, the client ECU 7 uses the communication address of the server ECU 6 obtained above as the destination address of the IP packet, and sends a Request message to the server ECU 7 via the routing device 8 instead of the first processing device 26 and the second processing device 27 of the communication management device 5 (S316). The server ECU 6 that has received the Request message obtains the communication address of the client ECU 7 that is the communication target based on the source address of the IP packet of the received Request message (S318).

[0157] Next, the server ECU 6 uses the acquired communication address of the client ECU 7 as the destination address of the IP packet, and sends a Response message to the client ECU 7 via the routing device 8 instead of the first processing device 26 and the second processing device 27 of the communication management device 5 ( S320 ).

[0158] Thereafter, the client ECU 7 and the server ECU 6 use the communication addresses obtained in steps S314 and S318 to repeatedly exchange Request messages and Response messages directly via the router 8 rather than the communication management device 5 according to the prior art (S322, S324).

[0159] Here, in Figure 6 In the example shown, the client ECU 7 and the server ECU 6 are respectively equivalent to the "one control device" and "the other control device that the one control device wants to treat as a communication object" in the present disclosure. In addition, the FindService message sent in step S300 and the OfferService message sent in step S312 are respectively equivalent to the "message received from one control device" and "a reply message to the message received from one control device" in the present disclosure.

[0160] In addition, Figure 6 In the embodiment, step S302 is equivalent to the authentication processing step in the present disclosure, and step S306 is equivalent to the determination step. In addition, steps S310 and S312 are equivalent to the reply sending step, and steps S316, S320, S322, and S324 are equivalent to the second direct communication step.

[0161] [3.2.6 Sixth example of communication procedure]

[0162] Figure 7 This is the sixth example of SOME / IP communication. Figure 7 The SOME / IP communication shown starts when any ECU 7 of the second control device group 4 requests a specific service and multicasts a FindService message as a trigger. The ECU 7 receives service provision based on Event messages and / or FieldNotification messages from any ECU 6 of the first control device group 3 that provides the specific service.

[0163] In addition, Figure 7 In Figure 6 The same processing steps as shown in Figure 6 The same reference numerals as in the above are used to indicate Figure 6 Description.

[0164] exist Figure 7In the example shown, after the first communication control unit 31 of the first processing device 26 determines the server ECU 6 that can provide the requested service in step S306, it identifies the server ECU 6 as a device that provides the service for the requested service in response to receiving the SubscribeEventGroup message (S350) based on the service information 24. Then, in response to the above identification related to the service provision of the server ECU 6, the first communication control unit 31 sends an OfferService message (S352) to the client ECU 7 in which the communication address of the first processing device 26 itself is set as the Endpoint address according to the prior art.

[0165] The client ECU 7 that has received the OfferService message sends a SubscribeEventGroup message in which the communication address of the client ECU 7 itself is set as the Endpoint address to the first processing device 26 that is the transmission source of the OfferService message according to the conventional technology (S354).

[0166] In response to receiving the above-mentioned SubscribeEventGroup message, the first communication control unit 31 of the first processing device 26 acts as the agent of the client ECU7 as its sending source, generates a SubscribeEventGroup message (S356) in which the communication address of the client ECU7 is set as the Endpoint address, and sends the above-mentioned generated SubscribeEventGroup message to the server ECU6 determined in step S306 (S358).

[0167] The server ECU 6 receives the SubscribeEventGroup message and obtains the communication address of the client ECU 7 as the communication object of the service provider according to the Endpoint address of the received SubscribeEventGroup message (S360). The server ECU 6 sends a SubscribeEventGroupAck message to the first processing device 26 as an acknowledgment response to the SubscribeEventGroup message sent in step S358 (S362).

[0168] The first communication control unit 31 of the first processing device 26 receives the SubscribeEventGroupAck message sent in step S362. In response to receiving the SubscribeEventGroupAck message, the first communication control unit 31 sends a SubscribeEventGroupAck message (S364) to the client ECU 7 in accordance with the prior art, in which the communication address of the first processing device 26 itself is set as the Endpoint address. The SubscribeEventGroupAck message is a response message to the SubscribeEventGroup message sent by the client ECU 7 in step S354.

[0169] Afterwards, the server ECU 7 can use the communication address of the client ECU 7 obtained in step S360 to directly send a message to the client ECU 7 via the routing device 8, not via the first processing device 26 and the second processing device 27 of the communication management device 5. Therefore, afterward, the server ECU 6 continuously sends data related to the provision of services to the client ECU 7 through Event messages and / or FieldNotification messages at a predetermined timing, not via the communication management device 5, and the client ECU 7 receives these messages (S366, S368).

[0170] exist Figure 7 In the example shown, the client ECU 7 and the SubscribeEventGroup message sent in step S354 are respectively equivalent to the "control device of one party" and the "message received from the control device of one party" in this disclosure. In addition, the SubscribeEventGroup message sent in step S358 is equivalent to the "control device relay message for relaying the message received from the control device of one party to the control device group of the other party" in this disclosure.

[0171] In addition, Figure 7 In the embodiment, steps S356 and S358 are equivalent to the relay sending steps in the present disclosure, and steps S366 and S368 are equivalent to the first direct communication steps.

[0172] [3.2.7 Seventh example of communication process]

[0173] Figure 8 This is the seventh example of SOME / IP communication. Figure 8The SOME / IP communication shown starts when any ECU7 in the second control device group 4 multicasts an OfferService message indicating that a specific service can be provided. The ECU7 receives a Request message from any ECU6 in the first control device group 3 that requires the above-mentioned specific service and provides the service to the ECU6 based on the Request message.

[0174] exist Figure 8 First, any ECU7 in the second control device group 4 multicasts an OfferService message indicating that a specific service can be provided in the second communication network 10 (S400). Hereinafter, the specific service is referred to as an offer service, and the ECU7 that has sent the OfferService message is referred to as a server ECU7.

[0175] The second authentication unit 32 of the second processing device 27 that receives the OfferService message from the server ECU 7 executes the second authentication process for the server ECU 7 (S402). If the second authentication unit 32 cannot authenticate the legitimacy of the server ECU 7 in the second authentication process, the second authentication unit 32 ends. Figure 8 The processing shown (not shown).

[0176] Next, second communication control unit 33 of second processing device 27 transfers the OfferService message from server ECU 7 to first processing device 26 ( S404 ).

[0177] The first processing device 26 receives the OfferService message, and the first communication control unit 31 of the first processing device 26 recognizes, based on the service information 24, that the server ECU 7 is the device that provides the service in response to receiving the Request message (S406).

[0178] Next, in response to the above-mentioned identification related to the service provision of the server ECU7, the first communication control unit 31 acts as an agent for the server ECU7 that sent the OfferService message in step S400, generates an OfferService message (S408) in which the communication address of the server ECU7 is set as the Endpoint address, and multicasts the above-mentioned generated OfferService message to each ECU6 in the first communication network 9 (S410).

[0179] The OfferService message multicasted in step S410 is received by each ECU 6. Any ECU 6 (hereinafter referred to as client ECU 6) that needs the service indicated by the service ID of the OfferService message among the ECUs 6 in the first communication network 9 obtains the communication address of the server ECU 7 as the communication object through the Endpoint address of the OfferService message (S412).

[0180] The client ECU 6 uses the communication address of the server ECU 7 obtained above to send a request message to the server ECU 7 ( S414 ). The request message is received by the server ECU 7 via the router 8 instead of the first processor 26 and the second processor 27 of the communication management device 5 .

[0181] The server ECU 7 that has received the Request message acquires the communication address of the client ECU 6 that is the communication target based on the source address of the IP packet of the received Request message (S416). The server ECU 7 uses the acquired communication address of the client ECU 6 to send a Response message to the client ECU 6 via the routing device 8 instead of the first processing device 26 and the second processing device 27 of the communication management device 5 (S418).

[0182] Thereafter, the client ECU 6 and the server ECU 7 use the communication addresses obtained in steps S412 and S416 respectively, and according to the prior art, directly and repeatedly exchange Request messages and Response messages via the router 8 instead of the communication management device 5 (S420, S422).

[0183] exist Figure 8 In the example shown, the OfferService message sent in step S400 and received by the server ECU 7 and the first processing device 26 respectively correspond to the "control device of one party" and the "message received from the control device of one party" in the present disclosure. In addition, the OfferService message sent in step S410 corresponds to the "relay message for relaying the message to the control device of the control device group of the other party based on the message received from the control device of one party" in the present disclosure.

[0184] In addition, Figure 8 In the embodiment, step S402 is equivalent to the authentication processing step in the present disclosure, steps S408 and S410 are equivalent to the relay transmission step, and steps S414, S418, S420, and S422 are equivalent to the first direct communication step.

[0185] [3.2.8 Eighth example of communication procedure]

[0186] Fig. 9 This is the eighth example of SOME / IP communication. Fig. 9 The SOME / IP communication shown starts when any ECU7 of the second control device group 4 multicasts an OfferService message indicating that a specific service can be provided. The ECU7 provides the service based on Event messages and / or FieldNotification messages to any ECU6 of the first control device group 3 that requires the above-mentioned specific service.

[0187] In addition, Fig. 9 In Figure 8 The same processing steps as shown in Figure 8 The same reference numerals as shown in the figure are used to indicate the above Figure 8 Description.

[0188] exist Fig. 9 In the example shown, the first communication control unit 31 of the first processing device 26 that receives the OfferService message forwarded by the second communication control unit 33 of the second processing device 27 in step S404 identifies, based on the service information 24, that the server ECU7 is a device that provides services in response to receiving a SubscribeEventGroup message (S 450).

[0189] Then, in response to the above recognition regarding the service provision of the server ECU 7, the first communication control unit 31 multicasts an OfferService message in which the communication address of the first processing device 26 is set as the Endpoint address to each ECU 6 in the first communication network 9 according to the prior art (S452).

[0190] The OfferService message sent by multicast in step S452 is received in each ECU 6. According to the prior art, any ECU 6 (hereinafter referred to as client ECU 6) among the ECUs 6 in the first communication network 9 that needs the service indicated by the service ID of the OfferService message sends a SubscribeEventGroup message (S454) in which the communication address of the client ECU 6 itself is set as the Endpoint address to the first processing device 26 that is the sending source of the OfferService message.

[0191] In response to receiving the SubscribeEventGroup message sent in step S454, the first communication control unit 31 of the first processing device 26 acts as a proxy for the client ECU6 as the sending source, generates a SubscribeEventGroup message (S456) in which the communication address of the client ECU6 is set as the Endpoint address, and sends the above-generated SubscribeEventGroup message to the server ECU7 as the sending source of the OfferService message in step S400 (S 458).

[0192] The server ECU 7 receives the SubscribeEventGroup message, and obtains the communication address of the client ECU 6 as the communication object of the service provider according to the Endpoint address of the received SubscribeEventGroup message (S460). The server ECU 7 sends a SubscribeEventGroupAck message as a confirmation response to the SubscribeEventGroup message sent in step S458 to the first processing device 26 (S462).

[0193] In response to receiving the SubscribeEventGroupAck message, the first communication control unit 31 of the first processing device 26 sends a SubscribeEventGroupAck message (S464) to the client ECU 6, in which the communication address of the first processing device 26 itself is set as the Endpoint address. The SubscribeEventGroupAck message is a response message to the SubscribeEventGroup message sent by the client ECU 6 in step S454.

[0194] Afterwards, the server ECU 7 can use the communication address of the client ECU 6 obtained in step S460 to directly send a message to the client ECU 6 via the routing device 8, not via the first processing device 26 and the second processing device 27 of the communication management device 5. Therefore, afterward, the server ECU 7 continuously sends data related to the provision of services to the client ECU 6 via Event messages and / or FieldNotification messages at a predetermined timing, not via the communication management device 5, and the client ECU 6 receives these messages (S466, S468).

[0195] exist Fig. 9In the example shown, the client ECU6, the SubscribeEventGroup message sent in step S454, and the SubscribeEventGroup message sent in step S458 respectively correspond to the "one party's control device", the "message received from one party's control device", and the "relay message for relaying the message to the control device of the other party's control device group based on the message received from the one party's control device" in the present disclosure.

[0196] In addition, Fig. 9 In the embodiment, steps S456 and S458 are equivalent to the relay transmission steps in the present disclosure, and steps S466 and S468 are equivalent to the first direct communication steps.

[0197] In the vehicle control system 1 having the above-described structure, the first authentication unit 30 and the second authentication unit 32 respectively perform a first authentication process for ECU 6 and a second authentication process for ECU 7. Thus, in the vehicle control system 1, for example, even if an attacker replaces any ECU 6 or ECU 7 with an unauthorized control device, this can be quickly detected, thereby preventing unauthorized communication related to control.

[0198] In addition to the above, in the vehicle control system 1, after the first authentication process or the second authentication process is performed, the communication address of one or both of the ECU6 or ECU7 as the control device on one side and the ECU7 or ECU6 as the control device on the other side with which the control device on the one side should communicate is respectively notified to the control device on the communication side through a message sent by the communication management device 5. Therefore, after the first authentication process or the second authentication process is performed, the ECU6 or ECU7 as the control device on one side and the ECU7 or ECU6 as the control device on the other side can communicate directly through the routing device 8 without going through the communication management device 5. As a result, in the vehicle control system 1, it is possible to maintain high responsiveness of vehicle control while appropriately defending against improper communication from an attacker.

[0199] [4. Other embodiments]

[0200] In the above embodiment, the IP addresses in the SourceAddress field and the DestinationAddress field of the IP header are used as the communication addresses of the source and destination of the IP packet, but in addition, the port numbers in the SourcePort field and the DestinationPort field of the UDP header may also be used. In addition, as the Endpoint address of the SOME / IP communication message, in the above embodiment, the IP address in the IPv4 Address field (or IPv6 Address field) of the SOME / IP-SD header is used, but in addition, the port number in the PortNumber field of the SOME / IP-SD header may also be used.

[0201] In addition, the present invention is not limited to the configurations of the above-described embodiments, and can be implemented in various forms within the scope not departing from the gist of the present invention.

[0202] [5. Structure supported by the above-mentioned embodiment]

[0203] The above-mentioned embodiment supports the following structure.

[0204] (Structure 1) A vehicle control system, comprising two control device groups which respectively constitute two different communication networks mounted on a vehicle, a communication management device which is respectively connected to the control devices of the two control device groups in a manner capable of communicating, and a routing device which routes communications between the two communication networks, wherein in the vehicle control system, when the communication management device receives a message from any control device, it performs authentication processing on the arbitrary control device, and when the communication management device successfully authenticates the legitimacy of the arbitrary control device, it sends a relay message, wherein the relay message is used to relay a message received from the control device of one party's control device group, i.e., the control device of one party's control device group, to the control device of the other party's control device group, and includes the communication address of the control device of the one party as a sending source address, and the control device of the other party's control device group uses the communication address of the control device of the one party included in the relay message to start communication with the control device of the one party via the routing device instead of via the communication management device.

[0205] According to the vehicle control system of structure 1, improper communication from attackers to the vehicle control system is quickly detected and defended through authentication processing. At the same time, the sending source address is notified through a relay message after the authentication process, so that two control devices belonging to different communication networks can communicate directly without going through a communication management device, thereby maintaining the responsiveness of vehicle control at a high level.

[0206] (Structure 2) A vehicle control system according to Structure 1, wherein, when the communication management device successfully authenticates the legitimacy of the arbitrary control device, it determines the communication address of the other party's control device based on the device information related to the respective control devices of the two control device groups, the communication address of the other party's control device is the control device of the control device group of the party that sent the message, that is, the control device of one party is to be used as the communication object of the control device group of the other party, the communication management device sends a reply message containing the determined communication address of the other party's control device as the sending source address to the control device of one party, and the control device of one party uses the communication address of the other party's control device contained in the reply message to start communication with the control device of the other party via the routing device instead of via the communication management device.

[0207] According to the vehicle control system of Structure 2, improper communications from attackers directed to the vehicle control system are quickly detected and defended through authentication processing. At the same time, after the authentication processing, the communication address of the communication object of the control device of one party is notified to the control device of one party through a reply message. Therefore, two control devices belonging to different communication networks can communicate directly without going through the communication management device, and the responsiveness of the vehicle control can be maintained at a higher level.

[0208] (Structure 3) A vehicle control system according to Structure 1 or 2, wherein one of the two control device groups includes a control device for performing controls related to motion control of the vehicle, but does not include a control device for communicating with the outside of the vehicle, and the other of the two control device groups includes a control device for communicating with the outside of the vehicle, but does not include a control device for performing controls related to motion control of the vehicle.

[0209] According to the vehicle control system of structure 3, the control device group communicating with the outside of the vehicle, which is vulnerable to attacks from outside the vehicle, is connected to a communication network different from the communication network to which the control device group related to the motion control of the vehicle belongs, and the legitimacy of the control device to start communication is authenticated by the communication management device connected to the two communication networks. As a result, in the vehicle control system of structure 3, it is possible to more appropriately defend against attacks from the outside so as not to affect the motion control of the vehicle, thereby further improving the safety of vehicle control.

[0210] (Structure 4) A vehicle control system according to any one of Structures 1 to 3, wherein the communication management device includes two processing devices that perform processing independently of each other, and the two processing devices are respectively connected to different communication networks among the two communication networks.

[0211] According to the vehicle control system of structure 4, two independent processing devices respectively connected to two communication networks cooperate to perform authentication actions in the communication management device and generate relay messages or reply messages. Therefore, in the vehicle control system of structure 4, it is difficult to disguise the actions of the communication management device through attacks from attackers, which can further improve the security of vehicle control.

[0212] (Structure 5) According to the vehicle control system of Structure 5, the two processing devices are respectively a physical machine and a virtual machine implemented in a processor included in the communication management device.

[0213] According to the vehicle control system of Configuration 5, two processing devices that perform processing independently of each other are implemented in one processor included in the communication management device, so that the safety of vehicle control can be improved without complicating the hardware configuration of the communication management device.

[0214] (Structure 6) According to the vehicle control system of Structures 1 to 5, the communication performed by the control devices of the two control device groups and the communication management device is Service Oriented Middle WarE Over IP, i.e., SOME / IP communication, and the Service Oriented Middle WarE Over IP communication includes sending a notification indicating that a search is being conducted for any service among the services as predetermined functional units, i.e., a search notification, and / or sending a notification indicating that the service being searched can be provided, i.e., a provision notification.

[0215] According to the vehicle control system of configuration 6, in SOME / IP communication that can efficiently realize complex cooperative operations of multiple control devices, it is possible to quickly detect and appropriately defend against unauthorized communications from attackers, while maintaining high responsiveness of vehicle control.

[0216] (Structure 7) A communication processing method, which is executed by a vehicle control system, the vehicle control system having two control device groups respectively constituting two different communication networks mounted on the vehicle, a communication management device respectively connected to the control devices of the two control device groups in a manner capable of communicating, and a routing device for routing communications between the two communication networks, the communication processing method comprising the following steps: an authentication processing step, wherein the communication management device performs authentication processing on any control device when receiving a message from the arbitrary control device; a relay sending step, wherein the communication management device sends a relay message when the legitimacy of the arbitrary control device is successfully authenticated, the relay message being used to relay a message received from the control device of one party's control device group, i.e., the control device of one party, to the control device of the other party's control device group, and including the communication address of the control device of the one party as a sending source address; and a first direct communication step, wherein the control device of the other party's control device group uses the communication address of the control device of the one party contained in the relay message to communicate with the control device of the one party via the routing device instead of via the communication management device.

[0217] According to the communication processing method of structure 7, it is possible to quickly detect and defend against improper communications from attackers against the vehicle control system through authentication processing. At the same time, after the authentication processing, by notifying the sending source address through a relay message, two control devices belonging to different communication networks can communicate directly without going through a communication management device, thereby maintaining a high level of responsiveness in vehicle control.

[0218] (Structure 8) According to the communication processing method of Structure 7, the communication processing method includes: a determination step, when the legitimacy of the arbitrary control device is successfully authenticated, the communication management device determines the communication address of the other party's control device based on the device information related to the respective control devices of the two control device groups, the communication address of the other party's control device is the control device of the control device group of the party that sent the message, that is, the control device of one party's control device group to be regarded as the communication object; a reply sending step, the communication management device sends a reply message containing the determined communication address of the other party's control device as the sending source address to the control device of one party; and a second direct communication step, the control device of one party uses the communication address of the other party's control device contained in the reply message to communicate with the control device of the other party via the routing device instead of via the communication management device.

[0219] According to the communication processing method of structure 8, improper communication from attackers to the vehicle control system is quickly detected and defended through authentication processing. At the same time, after the authentication processing, the communication address of the communication object of the control device of one party is notified to the control device of one party through a reply message. Therefore, two control devices belonging to different communication networks can communicate directly without going through the communication management device, and the responsiveness of the vehicle control can be maintained at a higher level.

Claims

1. A vehicle control system comprising two control device groups respectively constituting two different communication networks mounted on a vehicle, a communication management device connected to the control devices of the two control device groups in a communicable manner, and a routing device for routing communications between the two communication networks, In the vehicle control system, When receiving a message from any control device, the communication management device performs authentication processing on the arbitrary control device. When the communication management device successfully authenticates the legitimacy of the arbitrary control device, the relay message is used to relay the message received from the control device of the control device group of one party, that is, the control device of one party, to the control device of the control device group of the other party, and includes the communication address of the control device of one party as the sending source address, The control device of the other control device group starts communication with the one control device via the routing device instead of via the communication management device, using the communication address of the one control device included in the relay message.

2. The vehicle control system according to claim 1, wherein: When the communication management device successfully authenticates the legitimacy of the arbitrary control device, the communication address of the other control device is determined based on the device information related to the respective control devices of the two control device groups, and the other control device is the control device of the control device group of the party that sent the message, that is, the control device of the control device group of the other party that one control device wants to treat as the communication object, The communication management device sends a reply message including the communication address of the other control device as a sending source address to the control device of the one party, The one control device uses the communication address of the other control device included in the reply message to start communication with the other control device via the routing device instead of via the communication management device.

3. The vehicle control system according to claim 1, wherein: One of the two control device groups includes a control device that performs control related to motion control of the vehicle and does not include a control device that performs communication with the outside of the vehicle. The other of the two control device groups includes a control device that performs communication with the outside of the vehicle, and does not include a control device that performs control related to motion control of the vehicle.

4. The vehicle control system according to claim 1, wherein: The communication management device includes two processing devices that perform processing independently of each other. The two processing devices are respectively connected to different communication networks of the two communication networks.

5. The vehicle control system according to claim 4, wherein: The two processing devices are respectively a physical machine and a virtual machine implemented in a processor included in the communication management device.

6. The vehicle control system according to any one of claims 1 to 5, wherein: The communication performed by the control devices of the two control device groups and the communication management device is Service Oriented Middle WarE Over IP, i.e., SOME / IP communication, which includes sending a notification indicating that a search is being conducted for any service among the services as predetermined functional units, i.e., a search notification, and / or sending a notification indicating that the searched service can be provided, i.e., a provision notification.

7. A communication processing method, which is performed by a vehicle control system, the vehicle control system having two control device groups that respectively constitute two different communication networks mounted on the vehicle, a communication management device that is connected to the control devices of the two control device groups in a manner that allows communication, and a routing device that routes communications between the two communication networks, The communication processing method comprises the following steps: an authentication processing step, wherein the communication management device performs authentication processing on any control device when receiving a message from the any control device; a relay sending step, in which, when the legitimacy of the arbitrary control device is successfully authenticated, the communication management device sends a relay message, the relay message being used to relay a message received from a control device of the control device group of one party, that is, a control device of one party, to a control device of the control device group of the other party, and including a communication address of the control device of one party as a sending source address; and In a first direct communication step, the control device of the other control device group uses the communication address of the one control device included in the relay message to communicate with the one control device via the routing device instead of the communication management device.

8. The communication processing method according to claim 7, wherein: The communication processing method comprises: A determination step, when the legitimacy of the arbitrary control device is successfully authenticated, the communication management device determines the communication address of the other control device based on the device information related to the respective control devices of the two control device groups, the other control device being the control device of the control device group of the party that sent the message, that is, the control device of the control device group of the other party that one control device wants to treat as a communication object; a reply sending step, wherein the communication management device sends a reply message including the determined communication address of the other control device as a sending source address to the one control device; and In a second direct communication step, the one control device uses the communication address of the other control device included in the reply message to communicate with the other control device via the routing device instead of the communication management device.