Vehicle control system
The vehicle control system enhances defense against unauthorized communication by using a routing device with transfer determination units and specific search conditions, ensuring rapid detection and prevention while preserving system responsiveness.
Patent Information
- Application Number
- JP2023047094
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-10-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing vehicle control systems face challenges in balancing high defense against attacks and maintaining responsiveness, particularly in detecting and preventing unauthorized communication while ensuring seamless operation.
A vehicle control system with a first and second control device group connected via different communication networks, utilizing a routing device with a transfer determination unit that checks communication packets for predetermined values in bit length fields and specific search conditions, including multicast addresses and SOME/IP communication standards, to quickly identify and block unauthorized communications.
The system effectively detects and prevents unauthorized communication, maintaining high responsiveness and ensuring the integrity of vehicle control operations.
Smart Images

Figure 2024136113000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a vehicle control system. [Background technology]
[0002] In recent years, research and development has been carried out to improve the safety of control in vehicles. Patent Document 1 describes an unauthorized frame detection device that detects unauthorized frame transmissions in an in-vehicle network system that employs service-oriented communication and prevents the establishment of unauthorized communication. This device detects unauthorized frame transmissions based on the relationship between the ports that physically connect the server and the client. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication No. 2021 / 002010 Summary of the Invention [Problem to be solved by the invention]
[0004] Incidentally, in technology relating to the safety of vehicle control, it is an issue to simultaneously achieve high defense against attacks on vehicle control and high responsiveness of vehicle control. In order to solve the above problems, the present application aims to quickly detect and defend against unauthorized communications from attackers against a vehicle control system while maintaining high responsiveness of vehicle control, thereby further improving traffic safety and contributing to the development of a sustainable transportation system. [Means for solving the problem]
[0005] One aspect of the present invention is a vehicle control system mounted on a vehicle, comprising a first control device group connected to a first communication network, a second control device group connected to a second communication network different from the first communication network, and a routing device that forwards communication packets between communication networks including the first communication network and the second communication network, wherein the routing device has a forwarding decision unit that determines whether or not to allow forwarding of each received communication packet between communication networks, and the forwarding decision unit allows forwarding of the received communication packet on the condition that a predetermined value is set in a bit length field that specifies the bit length of the variable length portion of the received communication packet. According to another aspect of the present invention, the forwarding decision unit allows forwarding of the received communication packets when each of the received communication packets contains a bit string indicated by at least one search condition, and the bit string indicated by the search condition contains the specified value in a bit portion corresponding to the bit length field. According to another aspect of the present invention, the control devices of the first control device group and the control devices of the second control device group communicate in accordance with the User Datagram Protocol (UDP) communication standard, and the bit string indicated by the search condition includes a communication address or port number of the source address, destination address, source port number, or destination port number of a predetermined legitimate control device in the bit portions corresponding to each field of the source address, destination address, source port number, or destination port number in the communication packet, respectively. According to another aspect of the present invention, at least one of the communication addresses of the regular control devices is a multicast address for multicast transmission, which is predetermined so that a plurality of regular control devices are destinations. According to another aspect of the present invention, the communication between the control devices of the first control device group and the control devices of the second control device group is SOME / IP communication (Service Oriented Middle Ware Over IP communication), and the bit string indicated by the search condition includes a specification for the ServiceID field and MessageType field of the SOME / IP header contained in the SOME / IP communication packet, and a specification for the LengthofEntriesArray field of the SOME / IP-SD header as the bit length field. According to another aspect of the present invention, the routing device is a layer 3 switch (L3 switch), and the forwarding decision unit is configured with a ternary associative memory. Effect of the Invention
[0006] According to the present invention, it is possible to quickly detect and defend against unauthorized communications from an attacker against a vehicle control system, while maintaining high responsiveness of vehicle control. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a diagram showing a configuration of a vehicle control system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating a configuration of the forwarding determination unit. [Diagram 3] FIG. 3 is a diagram illustrating an example of a search condition used by the forwarding determination unit. [Figure 4] FIG. 4 is a diagram showing an example of the configuration of an Ethernet frame used in SOME / IP communication. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. [1. Vehicle control system configuration] Fig. 1 is a diagram showing a configuration 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 this embodiment, the vehicle 2 is, for example, an electric vehicle driven by a drive motor (both not shown) powered by an on-board battery.
[0009] The vehicle control system 1 includes a first control device group 3, a second control device group 4, a routing device 5, and a communication management device 8. In this embodiment, the first control device group 3 does not include a control device that communicates with the outside of the vehicle 2, but includes a control device that performs control related to motion control of the vehicle 2. In this embodiment, the first control device group 3 includes, as control devices that perform control related to motion control of the vehicle 2, a drive ECU (Electronic Control Unit) 6a, a steering ECU 6b, a battery ECU 6c, and an ADAS (Advanced Driver-Assistance System)-ECU 6d.
[0010] The drive ECU 6a controls the operation of a drive motor that drives the vehicle 2, and the steering ECU 6b controls the steering, deceleration, acceleration, and other operations of the vehicle 2 based on the operation of the steering wheel, brake, accelerator, and other steering operations of the vehicle 2. The battery ECU 6c detects the remaining charge of the in-vehicle battery and controls the power supply operation to the drive motor. In addition, the ADAS-ECU 6d controls the driver assistance operations such as the cruise operation and lane keeping operation of the vehicle 2. Hereinafter, the drive ECU 6a, steering ECU 6b, battery ECU 6c, and ADAS-ECU 6d included in the first control device group 3 will be collectively referred to as ECU 6.
[0011] The second control device group 4 does not include a control device that performs control related to motion control of the vehicle 2, but includes a control device that communicates with the outside of the vehicle 2. In this 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 that communicate with the outside of the vehicle 2. The TCU 7a is a wireless communication device for communicating directly with devices outside the vehicle 2 or indirectly via an external communication network. The IVI-ECU 7b receives radio and television broadcast waves and / or GPS waves, and displays images and videos to the occupants of the vehicle 2 on an in-vehicle display device, speaker, etc. (both not shown), and / or provides information such as route guidance.
[0012] The second control device group 4 also includes, for example, a DMC-ECU7c that controls the operation of a DMC (Driver Monitoring Camera) (not shown) provided in the passenger compartment of the vehicle 2. Hereinafter, the TCU7a, IVI-ECU7b, and DMC-ECU7c included in the second control device group 4 will also be collectively referred to as ECU7.
[0013] In this embodiment, the first control device group 3 and the second control device group 4 include four and three control devices, respectively, but each needs to have at least one control device. Each of the ECU 6 and the ECU 7 includes a computer and performs predetermined control operations and communication with other in-vehicle devices.
[0014] In this embodiment, the ECU 6 and the ECU 7 perform SOME / IP communication (Service Oriented Middle WarE Over IP) defined in AUTOSAR (AUTomotive Open System Architecture) in accordance with the Ethernet (registered trademark) communication standard, using IP packets that comply with the UDP (User Datagram Protocol) communication standard.
[0015] The ECU 6 of the first control device group 3 and the ECU 7 of the second control device group 4 are connected to a routing device 5 to respectively configure a first communication network 9 and a second communication network 10. The first communication network 9 and the second communication network 10 are, for example, VLANs (Virtual Local-Area-Networks).
[0016] The routing device 5 transfers communications between communication networks including the first communication network 9 and the second communication network 10, and within each of the communication networks, thereby enabling communications between each of the ECUs including the ECU 6 and the ECU 7. The routing device 5 can be realized, for example, as an L3 switch.
[0017] In this embodiment, in particular, the routing device 5 checks IP packets of communications carried out between the ECU 6 and the ECU 7, and discards IP packets used for unauthorized communications, thereby preventing the unauthorized communications from being performed. The communications management device 8 sets check conditions for IP packets for the routing device 5. The routing device 5 may be built into the communications management device 8.
[0018] [2. Overview of Ethernet (registered trademark) frames in SOME / IP communications] Here, an overview of an Ethernet frame in SOME / IP communication handled by the vehicle control system 1 will be described. 4 is a diagram showing the beginning of an Ethernet frame when performing SOM-IP-SD communication as an example of an Ethernet frame in SOME / IP communication. The Ethernet frame shown in the figure is composed of an 18-byte MAC header and an IP packet (after the IP header) that includes a message (SOME / IP message) specified in SOME / IP communication.
[0019] The IP packet may include an IP header, a UDP header, and a SOME / IP header and a SOME / IP-SD header that are part of a SOME / IP message. The SOME / IP-SD header includes an Entries Array and an Options Array.
[0020] Since the IP header, UDP header, SOME / IP header, and SOME / IP-SD header are well known, in order to simplify the explanation and make it easier to understand, the fields that make up these headers will not be explained one by one, but only the parts that are relevant to the characteristic operation of the vehicle control system 1 in this embodiment will be briefly explained.
[0021] The SourceAddress field of the IP header and the SourcePort of the UTP header indicate the IP address (source address) and communication port number (source port number) of the device that sent the communication packet, respectively. The DestinationAddress field of the IP header and the DestinationPort of the UTP header indicate the IP address (destination address) and communication port number (destination port number) of the device that sent the communication packet, respectively. Here, the above IP address is a local IP address in the LAN (including VLAN) to which the corresponding device is connected.
[0022] The source device can specify the IP address of a specific destination device in the Destination Address field and send the communication packet by unicast, or it can specify a predefined IP address (multicast address) indicating a range of multiple destination devices and send the communication packet by multicast to those multiple destination devices.
[0023] In the case of SOME / IP-SD communication, the ServiceID field and MethodID field of the SOME / IP header store OxFFFF and 0x8100, respectively, as special values indicating that the communication is SOME / IP-SD communication.
[0024] As shown in Figure 4, in SOME / IP-SD communication, the entire Ethernet frame from the beginning to the end of the first SOME / IP-SD header consists of 106 bytes.
[0025] [3. Routing device] The configuration and operation of the routing device 5 will be described. 1, the routing device 5 includes, as functional elements (or functional units), a communication unit 20, a frame buffer 22, a switch unit 23, a route determination unit 24, a gate unit 25, a transfer determination unit 26, and a management unit 27. These functional elements may be realized, for example, by semiconductor devices included in the routing device 5. Such semiconductor devices may include a processor (computer), a dedicated LSI such as an ASIC, an FPGA, and / or a memory.
[0026] The communication unit 20 is a transceiver that performs communication in compliance with the Ethernet standard. For example, the communication unit 20 may be configured with a so-called PHY (PHYsical layer) circuit chip. The communication unit 20 includes a plurality of input / output ports 21 (referring to each of a plurality of rectangles within the dashed rectangle indicated by reference numeral 21 in FIG. 1) and performs communication with the ECU 6 and the ECU 7 connected to these input / output ports 21.
[0027] The frame buffer 22 is a memory for temporarily storing Ethernet frames received by the communication unit 20 from the ECU 6 and the ECU 7. The frame buffer 22 sequentially outputs the temporarily stored Ethernet frames to a gate unit 25, which will be described later.
[0028] The switch unit 23 performs communication transfer between the input / output ports 21 of the communication unit 20 to which the ECU 6 or the ECU 7 is connected, according to information from the route determination unit 24, in accordance with the conventional technology. In this embodiment, the switch unit 23 particularly performs communication transfer for Ethernet frames that are input to the switch unit 23 via the gate unit 25, among the Ethernet frames that are received at any of the input / output ports 21 of the communication unit 20 and temporarily stored in the frame buffer 22.
[0029] The route determination unit 24 refers to a routing table (not shown) according to conventional technology for each Ethernet frame sent from the frame buffer 22 via the gate unit 25, and determines the input / output port 21 to which the IP packet contained in the Ethernet frame should be forwarded. The route determination unit 24 notifies the switch unit 23 of information specifying the input / output port 21 to which the IP packet should be forwarded for each IP packet.
[0030] The gate unit 25, in accordance with an instruction from the transfer decision unit 26, outputs the Ethernet frame sent from the frame buffer 22 to the switch unit 23 and the route decision unit 24, or discards it.
[0031] The management unit 27 acquires search conditions (described later) used in the forwarding decision unit from the communication management device 8, for example, when the routing device 5 is started up, and sets the search conditions in the forwarding decision unit .
[0032] The forwarding decision unit 26 decides whether or not to permit forwarding between communication networks for each of the communication packets (in this embodiment, IP packets; the same applies below) contained in the Ethernet frame received by the routing device 5. In particular, the forwarding decision unit 26 permits forwarding of the received communication packet on the condition that a predetermined value is set in a bit length field that specifies the bit length of the variable length part of the received communication packet. This fixes the bit length of the variable length part of the communication packet, making it easier to detect fraudulent communication packets and reducing the time required for the fraud detection process. Therefore, the vehicle control system 1 can easily detect and protect against fraudulent communications while maintaining high responsiveness of vehicle control.
[0033] In this embodiment, the forwarding decision unit 26 checks Ethernet frames including IP packets transmitted between the ECU 6 and the ECU 7, and instructs the gate unit 25 to discard Ethernet frames including improper IP packets. Specifically, the forwarding decision unit 26 determines whether or not a predetermined value is set in the Length of Entries Array field of the SOME / IP-SD header as the bit length field for each Ethernet frame received via the communication unit 20 and temporarily stored in the frame buffer 22. Then, the forwarding decision unit 26 permits forwarding of the received Ethernet frame (and therefore forwarding of the IP packets included in the Ethernet frame) on the condition that a predetermined value is set in the Length of Entries Array field. Hereinafter, the IP packet contained in the Ethernet frame received by the routing device 5 will also be simply referred to as the IP packet.
[0034] In this embodiment, in addition to the value of the Length of Entries Array field, the forwarding decision unit 26 checks whether the contents of predetermined fields, including the source address, source port number, destination address, destination port number, ServiceID field and MessageType field of the SOME / IP header of the IP packet, are correct. This makes it possible to confirm that the communication is from a correct party and is related to a correct service, and makes it possible to more reliably detect unauthorized communication from an attacker.
[0035] If the contents of these fields are correct, forwarding decision unit 26 permits gate unit 25 to forward the Ethernet frame including that IP packet, and if the contents are incorrect, it prohibits the forwarding of the Ethernet frame including that IP packet. Gate unit 25 outputs the Ethernet frame permitted for forwarding by forwarding decision unit 26 to switch unit 23, and discards the Ethernet frame prohibited for forwarding.
[0036] This allows a determination as to whether the IP packet is valid, i.e., whether it is a packet carrying a SOME / IP-SD communication message related to a legitimate service from a legitimate ECU, and prevents communication of an unauthorized IP packet (i.e., unauthorized communication). The significance of limiting the value of the Length of Entries Array field as a bit length field in SOME / IP-SD communication will be explained further below.
[0037] In this embodiment, the forwarding decision unit 26 is configured, for example, with a TCAM (Ternary Content Addressable Memory). The TCAM specifies a plurality of specific bit strings (arrays of bit values) as search conditions, and searches for a bit string that matches the bit string specified as the search condition from among the bit strings input to the TCAM (input bit strings) at high speed by hardware processing. When the TCAM finds a bit string that matches a bit string indicated by any search condition in the input bit string, it outputs information identifying the search condition that led to the match (for example, an identification number of the search condition) and information on the found bit string as the search result.
[0038] In particular, TCAM can use three values, "1" and "0" plus "X (Don't Care)," as the value of each bit in the bit string that is the search condition. For example, if "001XX000" is specified as the search condition, the search is determined to be a hit if the input bit string contains any of "00100000," "00110000," "00101000," or "00111000."
[0039] The TCAM includes a memory (hereinafter referred to as a condition storage memory) for storing the bit strings of the search conditions. The storage area of the condition storage memory is usually divided into partitions of a predetermined size (for example, a predetermined number of bytes). These partitions are referred to as TCAM entries here. Search conditions are set in TCAM entry units (for example, one condition for two entries, or one condition for three entries, etc.).
[0040] For example, in this embodiment, the size of the TCAM entry in the forwarding decision unit 26 is 48 bytes, and a storage area for 512 TCAM entries is reserved in the condition storage memory. However, these numerical values are merely examples, and the size and number of reserved TCAM entries in the condition storage memory can be arbitrarily designed based on the size and number of required search conditions within the range of the size of the storage area that can be reserved as the condition storage memory.
[0041] 2 is a functional block diagram showing the operation of the forwarding decision unit 26. The forwarding decision unit 26 includes a condition storage memory 261 that stores search conditions, and a search circuit 262. The search circuit 262 obtains the leading portion of each received Ethernet frame from the frame buffer 22 as an input bit string. The search circuit 262 searches the input bit string for a bit pattern indicated by each search condition stored in the condition storage memory 261. As will be described later, in this embodiment, the head portion is 144 bytes including 106 bytes from the head of the Ethernet frame to the end of the first SOME / IP-SD header.
[0042] Then, the search circuit 262 outputs the search result (i.e., the presence or absence of a search hit) of whether or not a bit pattern indicated by any of the search conditions is found in the input bit string as a transfer permission command or a transfer prohibition command for that Ethernet frame.
[0043] Here, the SOME / IP communication standard defined by AUTOSAR allows various messages, such as FindService messages and OfferService messages, for multiple different services to be communicated in a single IP packet. In other words, the Entries Array in the SOME / IP-SD header is allowed to contain multiple pieces of 16-byte information (specifically, information from the Type field to the InstanceID), each of which represents one message. Hereinafter, the above information portion of 16 bytes per service will also be referred to as a service entry.
[0044] That is, the number of service entries included in the Entries Array is arbitrary, and the Entries Array is variable-length information. As a result, when checking the service IDs of all service entries included in an IP packet, the search conditions must also be variable-length, which may complicate the process. In addition, if one IP packet contains messages about multiple services, the above-mentioned operation of the forwarding decision unit 26 will result in the entire IP packet being discarded if there is even one message about an illegal service in the IP packet. As a result, messages about other legitimate services included in the discarded IP packet cannot be communicated, which is inconvenient.
[0045] For this reason, in the ECU 6 and ECU 7 used in the vehicle control system 1 of this embodiment, it is stipulated that the number of service entries included in the SOME / IP-SD header of SOME / IP communication is limited to one.
[0046] To check whether the communication complies with this rule, the transfer decision unit 26 includes a value check of the Length of Entries Array field of the SOME / IP-SD in the search conditions set in the TCAM entry. In the SOME / IP communication standard, the Length of Entries Array field indicates the length of the bit string in which the service entry is stored, and when there is one service entry, the value is 0x10 (i.e., 16 bytes).
[0047] According to the above rules, the validity of an IP packet can be determined within a range of 106 bytes from the beginning of the Ethernet frame to the end of the first SOME / IP-SD header (first 106 bytes). As described above, in this embodiment, the TCAM entry of the TCAM constituting the forwarding decision unit 26 is 48 bytes, so for the first 106 bytes, a search condition can be set using a maximum of three entries (48 bytes / entry x 3 entries = 144 bytes).
[0048] In other words, by using a maximum of three TCAM entries (144 bytes) depending on the position range within the first 106 bytes of one or more fields you want to set in the search conditions, you can determine the validity of the Ethernet frame (and therefore the validity of the IP packets contained in that Ethernet).
[0049] 3 is a diagram showing an example of search conditions for Ethernet frames set in the forwarding decision unit 26. In this embodiment, the contents of each of the fields shown below, including the value of the Length of Entries Array field, are specified in the search conditions. Note that the symbols in the bit string parts shown below are the symbols of each bit string part shown in FIG. 3. Bit string section 281: SourceAddress of the IP header (IP address of the source ECU) Bit string section 282: Destination Address of the IP header (IP address of the destination ECU) Bit string part 283: SourcePort of UDP header (communication port number of source ECU) Bit string section 284: DestinationPort in the UDP header (communication port number of the destination ECU) Bit string 285: Service ID of the SOME / IP header (fixed value 0xFFFF indicating that this is SOME / IP-SD communication) Bit string 286: MessageType of SOME / IP header (fixed value 0x02) Bit string section 287: Length of Entries Array of SOME / IP-SD header (fixed value 0x10) Bit string section 288: Service ID in the Entries Array of the SOME / IP-SD header (service ID of the service exchanged between ECUs)
[0050] The bit strings 281 and 282 are set with the IP addresses of the legitimate ECU6 or ECU7 that can be the source and destination, respectively. The bit strings 283 and 284 are set with the communication port numbers of the legitimate ECU6 or ECU7 that can be the source and destination, respectively. The bit string 285 is set with a fixed value 0xFFFF indicating that the communication is a SOME / IP-SD communication. The bit string 286 is a fixed value 0x02 in a SOME / IP-ID message. The bit string 287 is set with a fixed value 0x10 that specifies the length of the Entries Array, which is a variable length portion. The bit string 288 is set with a service ID indicating a legitimate service exchanged between the ECU6 and ECU7.
[0051] In addition, in fields other than the above fields defined by the search conditions, for example, a value "X (Don't Care)" is set.
[0052] In this embodiment, a plurality of search conditions are set in the forwarding decision unit 26 as a whitelist indicating regular conditions, similar to the search conditions shown in FIG.
[0053] In this embodiment, as described above, since the Length of Entries Array (fixed value 0x10) of the SOME / IP-SD header is always checked, it is necessary to include at least the first 74 bytes of the Ethernet frame in the search condition. Therefore, the number of TCAM entries used in the search condition is 2 or 3 (i.e., a search condition of 96 bytes or 144 bytes in total).
[0054] The bit string parts 281, 282, 283, 284, 285, 286, 287, and / or 288 corresponding to the designated fields may also contain the value "X". For example, when the service IDs to be set in the bit string part 288 have a characteristic common part in binary or hexadecimal notation and there is no need to check the parts other than the common part, the bit value of the bit position corresponding to the part other than the common part may be set to "X". This reduces the number of search conditions, reduces the processing load on the forwarding decision unit 26, and improves the processing speed.
[0055] 3 is an example, and the search conditions set in the forwarding decision unit 26 may be set according to the design of the ECUs 6 and 7. For example, the value of the Type field in the Entries Array of the SOME / IP-SD header may be included in the search conditions. In this case, in the SOME / IP communication standard, the interpretation of the message type indicated by the Type field may differ depending on the value of the TTL field in the Entries Array (0 or non-zero), so the search conditions may include the value of the TTL field as well as the value of the Type field. For example, a value of 0x01 in the Type field indicates that the SOME / IP message is an OfferService message if the TTL field value is not 0, but indicates that the SOME / IP message is a StopOfferService message if the TTL field value is 0.
[0056] [4.Communication management device] Next, the configuration and operation of the communication management device 8 will be described. 1, the communication management device 8 includes a processor 30, a memory 31, and a communication device 32. The communication device 32 is a transceiver for performing wireless or wired communication with a server device outside the vehicle 2. The memory 31 is configured, for example, with a volatile and / or non-volatile semiconductor memory and / or a hard disk device, etc.
[0057] The processor 30 is, for example, a computer equipped with a CPU etc. The processor 30 may have a configuration including a ROM in which a program is written, a RAM for temporarily storing data etc. The processor 30 has a condition receiving unit 34 and a condition providing unit 35 as functional elements or functional units.
[0058] These functional elements of the processor 30 are realized, for example, by the processor 30, which is a computer, executing a program stored in the memory 31. The program may be stored in any computer-readable storage medium. Alternatively, all or part of the functional elements of the processor 30 may be configured by hardware including one or more electronic circuit components.
[0059] The condition receiving unit 34 communicates with, for example, a server device external to the vehicle 2 via the communication device 32, receives a list of search conditions to be set in the transfer decision unit 26 from the server device, and stores it in the memory 31 as a search condition list 33.
[0060] In response to a request from the routing device 5 (specifically, the management unit 27), the condition providing unit 35 transmits the search condition list 33 stored in the memory 31 to the routing device 5. As described above, the management unit 27 of the routing device 5 transmits the request to the communication management device 8, for example, when the routing device 5 is started up, receives the transmitted search condition list, and sets it in the transfer determination unit 26.
[0061] The condition providing unit 35 can transmit the search conditions to the routing device 5, for example, via a dedicated communication line or communication bus that communicatively connects the communication management device 8 and the routing device 5. Alternatively, the routing device 5 may have its own IP address, the communication management device 8 may be connected to one of the input / output ports 21 of the routing device 5 via the communication device 32, and the condition providing unit 35 may transmit the generated search conditions to the routing device 5 in response to a request from the routing device 5.
[0062] 5. Other embodiments The function of gate unit 25 may be included in switch unit 23 or frame buffer 22. In these cases, switch unit 23 or frame buffer 22 can forward or discard Ethernet frames including IP packets according to instructions from forwarding determination unit 26.
[0063] The route determination unit 24 may be configured with a TCAM according to conventional technology. The forwarding decision unit 26 and the route determination unit 24 may be configured with one TCAM.
[0064] In addition, in the above embodiment, the transfer decision unit 26 is configured with a TCAM (ternary content addressable memory), but it may be configured with a microprocessor or the like that performs similar processing. In this case, however, the processing speed of the transfer decision unit 26 may be slower than when the TCAM is used.
[0065] The present invention is not limited to the configurations of the above-described embodiments, and can be embodied in various forms without departing from the spirit and scope of the present invention.
[0066] [6. Configuration supported by the above embodiment] The above-described embodiment supports the following configurations.
[0067] (Configuration 1) A vehicle control system mounted on a vehicle, comprising: a first control device group connected to a first communication network; a second control device group connected to a second communication network different from the first communication network; and a routing device that forwards communication packets between communication networks including the first communication network and the second communication network, wherein the routing device has a forwarding decision unit that decides whether or not to allow forwarding of each received communication packet between communication networks, and the forwarding decision unit allows forwarding of the received communication packet on the condition that a predetermined value is set in a bit length field that specifies the bit length of a variable length portion of the received communication packet. According to the vehicle control system of configuration 1, permission to transfer a communication packet is given on the condition that the bit length of the variable-length part of the communication packet is fixed, so that detection of fraudulent communication packets becomes easy and the time required for the fraud detection process is also shortened. Therefore, according to the vehicle control system of configuration 1, it is possible to easily detect and protect against fraudulent communication while maintaining high responsiveness of vehicle control.
[0068] (Configuration 2) The vehicle control system described in configuration 1, wherein the forwarding decision unit allows forwarding of the received communication packet when the received communication packet contains a bit string indicated by at least one search condition, and the bit string indicated by the search condition contains the predetermined value in a bit portion corresponding to the bit length field. According to the vehicle control system of configuration 2, whether or not a received communication packet is appropriate is determined based on whether or not the communication packet contains a bit string specified by a search condition. Therefore, by including various transfer permission conditions in the search condition, unauthorized communication packets can be detected more reliably.
[0069] (Configuration 3) A vehicle control system as described in Configuration 2, wherein the control devices of the first control device group and the control devices of the second control device group communicate in accordance with the User Datagram Protocol (UDP) communication standard, and the bit string indicated by the search condition includes a communication address or port number of a predetermined legitimate control device's source address, destination address, source port number, or destination port number in the bit portions corresponding to each field of the source address, destination address, source port number, or destination port number in the communication packet, respectively. According to the vehicle control system of configuration 3, the conditions for permission to transfer a communication packet include the communication address and / or port number of the source device and / or destination device, so that unauthorized communication in which an unauthorized device is used as the destination device or source device can be quickly detected and blocked.
[0070] (Configuration 4) The vehicle control system according to configuration 3, wherein at least one of the communication addresses of the authorized control device is a multicast address for multicast transmission that is predetermined so that a plurality of authorized control devices are destinations. According to the vehicle control system of configuration 4, unauthorized communications can be detected early even in communications that are multicast between communication networks.
[0071] (Configuration 5) A vehicle control system described in any of configurations 2 to 4, wherein the communication between the control devices of the first control device group and the control devices of the second control device group is SOME / IP communication (Service Oriented MiddleWarE Over IP communication), and the bit string indicated by the search condition includes a specification for the ServiceID field and MessageType field of the SOME / IP header contained in the SOME / IP communication packet, and a specification for the LengthofEntriesArray field of the SOME / IP-SD header as the bit length field. According to the vehicle control system of configuration 5, with regard to SOME / IP-SD communication messages in SOME / IP communication, which can efficiently realize complex coordinated operations of multiple control devices, by verifying that the communication is from a correct party and relates to a correct service, it is possible to quickly detect and appropriately defend against unauthorized communications from attackers while maintaining high responsiveness of vehicle control.
[0072] (Configuration 6) The vehicle control system according to any one of configurations 1 to 5, wherein the routing device is a layer 3 switch (L3 switch), and the forwarding decision unit is configured with a ternary associative memory. According to the vehicle control system of configuration 6, for example, the routing device, including the forwarding judgment unit, can be configured using dedicated hardware such as a dedicated LSI, so that unauthorized communications can be detected and defended against quickly while maintaining high responsiveness of vehicle control. [Explanation of symbols]
[0073] 1...vehicle control system, 2...vehicle, 3...first control device group, 4...second control device group, 5...routing device, 6, 7...ECU, 6a...drive ECU, 6b...steering ECU, 6c...battery ECU, 6d...ADAS-ECU, 7a...TCU, 7b...IVI-ECU, 7c...DMC-ECU, 8...communication management device, 9...first communication network, 10...second communication network, 20...communication unit, 21...input / output port, 22...frame buffer, 23...switch unit, 24...route determination unit, 25...gate unit, 26...transfer judgment unit, 261...condition storage memory, 262...search circuit, 27...management unit, 30...processor, 31...memory, 32...communication device, 33...search condition list, 34...condition receiving unit, 35...condition providing unit, 281, 282, 283, 284, 285, 286...bit string unit.
Claims
1. A vehicle control system mounted on a vehicle, a first control device group connected to a first communications network; a second control device group connected to a second communication network different from the first communication network; a routing device that transfers communication packets between communication networks including the first communication network and the second communication network; Including, the routing device includes a forwarding decision unit that decides whether or not to forward each of the received communication packets between communication networks; the transfer determination unit permits transfer of the received communication packet on condition that a predetermined value is set in a bit length field that specifies a bit length of a variable-length portion of the received communication packet. Vehicle control system.
2. the transfer determination unit permits transfer of the received communication packet when the received communication packet contains a bit string indicated by at least one search condition; the bit string indicated by the search condition includes the predetermined value in a bit portion corresponding to the bit length field; The vehicle control system of claim 1 .
3. the control device of the first control device group and the control device of the second control device group communicate with each other in accordance with a User Datagram Protocol (UDP) communication standard; The bit string indicated by the search condition includes a communication address or port number of a predetermined regular control device in a bit portion corresponding to each field of a source address, a destination address, a source port number, or a destination port number in the communication packet. The vehicle control system according to claim 2 .
4. At least one of the communication addresses of the regular control device is a multicast address for multicast transmission, which is predetermined so that a plurality of regular control devices are destinations. The vehicle control system according to claim 3 .
5. The communication between the control device of the first control device group and the control device of the second control device group is SOME / IP communication (Service Oriented Middle WarE Over IP communication), The bit string indicated by the search condition includes a specification for a Service ID field and a Message Type field of a SOME / IP header included in a SOME / IP communication packet, and a specification for a Length of Entries Array field of a SOME / IP-SD header as the bit length field. The vehicle control system according to claim 2 .
6. the routing device is a Layer 3 switch (L3 switch); The transfer determination unit is composed of a ternary associative memory. A vehicle control system according to any one of claims 1 to 5.
Citation Information
Patent Citations
Illegal frame detection device and illegal frame detection method
WO2021002010A1
