In-vehicle device, program, and information processing method

The in-vehicle device with logically separated communication processing units and multi-layered security determinations effectively processes and secures data from external devices, ensuring robustness and reliability of in-vehicle networks.

JP2024154731AInactive Publication Date: 2024-10-31AUTONETWORKS TECH LTD +2
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023068727
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-19
Publication Date
2024-10-31
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing vehicle communication systems lack efficient processing of data transmitted from external devices, particularly in terms of security and reliability, which can compromise the integrity of in-vehicle networks.

Method used

An in-vehicle device with logically separated communication processing units for external and internal communication, including multiple layers of security determinations and virtualized environments to ensure robust data processing and transmission.

Benefits of technology

The solution provides efficient and secure processing of communication data from external devices, enhancing the reliability and security of in-vehicle networks by implementing multi-layered protection and robustness against unauthorized data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024154731000001_ABST
    Figure 2024154731000001_ABST
Patent Text Reader

Abstract

To provide an in-vehicle device, a program, and an information processing method for efficiently processing communication data transmitted from an external device.SOLUTION: In an in-vehicle system, an in-vehicle device includes an external communication controller for communicating with an external device located outside a vehicle, an internal vehicle communication controller for communicating with an in-vehicle ECU located inside the vehicle, and a processing unit for performing processing related to communication. The processing unit is logically separated into an external communication processing unit that handles processing related to the external communication controller, and an internal communication processing unit that handles processing related to the internal communication controller, and communication data from the external device is processed by the external communication processing unit, and then processed by the internal communication processing unit.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an in-vehicle device, a program, and an information processing method. [Background technology]

[0002] A vehicle is equipped with an ECU (Electronic Control Unit) for controlling in-vehicle devices such as a drive control system such as an engine control system, and a body system such as an air conditioner control system. The ECU includes a calculation processing unit such as an MPU, a rewritable non-volatile storage unit such as a RAM, and a communication unit for communicating with other ECUs, and controls the in-vehicle devices by reading and executing a control program stored in the storage unit. Furthermore, a communication device with a wireless communication function is mounted on the vehicle, and the ECU communicates with a program providing device connected to a network outside the vehicle via the communication device (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2017-97851 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, the communication device (repeater) of Patent Document 1 does not take into consideration the efficient processing of communication data transmitted from an external device located outside the vehicle, such as a program providing device connected to a network outside the vehicle, when communicating with the external device.

[0005] An object of the present disclosure is to provide an in-vehicle device or the like that can efficiently process communication data transmitted from an external device. [Means for solving the problem]

[0006] An in-vehicle device according to one embodiment of the present disclosure is an in-vehicle device comprising an exterior communication controller for communicating with an exterior device located outside the vehicle, an in-vehicle communication controller for communicating with an in-vehicle ECU located inside the vehicle, and a processing unit for performing processing related to communication, wherein the processing unit is logically separated into an exterior communication processing unit that handles processing related to the exterior communication controller and an in-vehicle communication processing unit that handles processing related to the in-vehicle communication controller, and communication data from the exterior device is processed by the exterior communication processing unit and then processed by the in-vehicle communication processing unit. Effect of the Invention

[0007] According to one aspect of the present disclosure, it is possible to provide an in-vehicle device or the like that efficiently processes communication data transmitted from an external device. [Brief description of the drawings]

[0008] [Figure 1] 1 is a schematic diagram illustrating a configuration of an in-vehicle system including an in-vehicle device according to a first embodiment. [Diagram 2] FIG. 2 is a block diagram illustrating a physical configuration of an in-vehicle device. [Diagram 3] FIG. 2 is a block diagram illustrating a logical configuration of an in-vehicle device. [Figure 4] 4 is a flowchart illustrating the processing of a processing unit (an exterior-of-vehicle communication processing unit and an interior-of-vehicle communication processing unit) of the in-vehicle device. [Diagram 5] FIG. 11 is a block diagram illustrating a logical configuration of an in-vehicle device according to a second embodiment (multiple in-vehicle communication processing units). [Figure 6] FIG. 13 is a block diagram illustrating a logical configuration of an in-vehicle device according to a third embodiment (multiple exterior-vehicle communication controllers). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] [Description of the embodiments of the present disclosure] First, embodiments of the present disclosure will be listed and described. In addition, at least some of the embodiments described below may be arbitrarily combined.

[0010] (1) An in-vehicle device according to one embodiment of the present disclosure is an in-vehicle device including an exterior communication controller for communicating with an exterior device located outside the vehicle, an in-vehicle communication controller for communicating with an in-vehicle ECU located inside the vehicle, and a processing unit for performing processing related to communication, wherein the processing unit is logically separated into an exterior communication processing unit that handles processing related to the exterior communication controller and an in-vehicle communication processing unit that handles processing related to the in-vehicle communication controller, and communication data from the exterior device is processed by the exterior communication processing unit and then processed by the in-vehicle communication processing unit.

[0011] In this embodiment, the in-vehicle device includes an exterior communication controller, an interior communication controller, and a processing unit that controls these communication controllers and performs processing related to communication. The processing unit is configured to be logically separable, for example, logically separated into an exterior communication processing unit that handles processing related to the exterior communication controller and an interior communication processing unit that handles processing related to the interior communication controller. The logical separation of the processing units is performed according to the exterior communication controller and the interior communication controller, that is, the in-vehicle device is configured so that logical separation is possible on a communication controller basis (each of the exterior communication controller and the interior communication controller). Each of the communication controllers including the exterior communication controller and the interior communication controller includes a register used as a communication buffer or the like. When logically separating each of these communication controllers (the exterior communication controller and the interior communication controller), the processing unit that handles the communication controller is logically separated according to the number of communication controllers. As a result, the in-vehicle device can form a plurality of logical communication processing units (logical configurations) having communication functions by the processing units that are logically separated for each communication controller while maintaining the correspondence with the registers. The logically separated processing units include an exterior-vehicle communication processing unit that handles processing related to the exterior-vehicle communication controller, and an interior-vehicle communication processing unit that handles processing related to the interior-vehicle communication controller. Communication data received from an exterior-vehicle device via the exterior-vehicle communication controller is processed by the exterior-vehicle communication processing unit, and then processed by the interior-vehicle communication processing unit. Therefore, communication data that has been processed in two layers (multilayer processing) by the logically separated exterior-vehicle communication processing unit and interior-vehicle communication processing unit is output (transmitted) to the in-vehicle ECU via the interior-vehicle communication controller. In other words, the logically separated multiple communication processing units (exterior-vehicle communication processing unit and interior-vehicle communication processing unit) can provide a multilayer defense against communication data that is transmitted to the in-vehicle ECU located inside the vehicle (flowing from outside the vehicle to the in-vehicle network).

[0012] (2) In the in-vehicle device according to one aspect of the present disclosure, the ex-vehicle communication controller is configured to be addable.

[0013] In this embodiment, the in-vehicle device is provided with an input / output I / F conforming to, for example, SPI (Serial Peripheral Interface) or the like, and the input / output I / F is configured so that an external vehicle communication controller can be added (additionally installed). When the processing unit capable of logical separation is configured, for example, by a microcomputer or the like, the external vehicle communication controller corresponds to an additional (retrofit) communication controller, and the in-vehicle communication controller corresponds to a communication controller built into a microcomputer. The additional installation of the external vehicle communication controller may be performed, for example, after the manufactured vehicle C has been shipped to the market. The added external vehicle communication controller may be configured to communicate with the external vehicle communication controller, for example, by SPI. The vehicle-mounted device includes an exterior communication processing unit (processing unit) and is communicatively connected to the exterior communication processing unit (processing unit). The exterior communication controller additionally mounted in this manner is connected to the logically separated exterior communication processing unit and is controlled by the exterior communication processing unit. By logically separating the processing units, the in-vehicle device is provided with an exterior communication processing unit. Therefore, even if an exterior communication controller is physically additionally mounted, it is not necessary to physically additionally mount a further processing unit for controlling the exterior communication controller, and an increase in the product cost of the in-vehicle device can be suppressed.

[0014] (3) In one aspect of the in-vehicle device according to the present disclosure, the in-vehicle communication controller includes a plurality of channels, and the number of channels included in the in-vehicle communication controller is greater than the number of channels included in the out-vehicle communication controller.

[0015] In this embodiment, the in-vehicle communication controller includes a plurality of channels. A communication port corresponding to a physical layer of a communication protocol, such as a CAN transceiver or an Ethernet PHY unit, is connected to each of the plurality of channels of a single in-vehicle communication controller. The channel and the communication port may be configured as an integrated unit. Alternatively, the channel and the communication port may be configured separately and connected by an internal bus or the like. The in-vehicle communication processing unit can relay communication data transmitted and received between the in-vehicle ECUs connected to each of the plurality of channels (communication ports) connected to the single in-vehicle communication controller. In this way, the number of channels (the number of channels) included in the plurality of in-vehicle communication controllers is greater than the number of channels included in the external-vehicle communication controller. The external-vehicle communication controller may have a relatively small number of channels (for example, one channel) and may be configured to have one channel for one protocol (one channel per one protocol). In this way, by configuring the external-vehicle communication controller to be able to be added with a number of channels smaller than that of the external-vehicle communication controller, it is possible to eliminate unused channels in the external-vehicle communication controller. Furthermore, in order to accommodate extra-vehicle communication (communication with an external device) in which a relatively small number of channels is acceptable, the range of choices for microcontrollers, etc., including processing units, etc. that are subject to logical separation can be expanded by applying (adding) an extra-vehicle communication controller with a relatively small number of channels (for example, an extra-vehicle communication controller with one channel).

[0016] (4) In one embodiment of the in-vehicle device of the present disclosure, the exterior communication processing unit makes a first determination regarding the validity of communication data received from the exterior device via the exterior communication controller, and if a result of the first determination is positive, outputs the communication data to the in-vehicle communication processing unit via separate communication.

[0017] In this embodiment, the exterior-of-vehicle communication processing unit, which is configured by logically separating the processing unit, receives communication data transmitted from an exterior device via the exterior-of-vehicle communication controller, and performs a first judgment (first security judgment process) regarding the validity of the received communication data. The exterior-of-vehicle communication processing unit judges whether the communication data received from outside the vehicle via the exterior-of-vehicle communication controller is unauthorized data such as unauthorized access such as spoofing, attack data such as DOS, or data other than data previously permitted (unauthorized data). When the exterior-of-vehicle communication processing unit judges (positive judgment) that the communication data received from outside the vehicle is not unauthorized data (valid data), it outputs the communication data to the interior-of-vehicle communication processing unit by inter-separate communication. The interior-of-vehicle communication controller is logically connected to the interior-of-vehicle communication processing unit, and is not logically connected to the exterior-of-vehicle communication processing unit. That is, the interior-of-vehicle communication controller and the interior-of-vehicle communication processing unit are included (belong) in the same logical configuration (logical communication processing unit), and the interior-of-vehicle communication controller and the exterior-of-vehicle communication processing unit belong to different logical configurations (logical communication processing units). Therefore, the vehicle exterior communication processing unit, which is not logically connected to the vehicle interior communication controller, performs a first determination (first security determination process) on the communication data received from the vehicle exterior device, thereby The external-vehicle communication processing unit may function as a firewall or the like to ensure robustness against an in-vehicle ECU connected to the in-vehicle communication controller. The external-vehicle communication processing unit may discard the communication data when the result of the first determination is negative. In this case, the external-vehicle communication processing unit may store log information, such as the reception time, data type, or source address of the discarded communication data, in the storage unit.

[0018] (5) In one embodiment of the in-vehicle device of the present disclosure, the in-vehicle communication processing unit makes a second determination regarding the validity of the communication data from the out-vehicle communication processing unit, and if the result of the second determination is positive, outputs the communication data to the in-vehicle ECU via the in-vehicle communication controller.

[0019] In this embodiment, the in-vehicle communication processing unit that receives the communication data from the outside-vehicle communication processing unit performs a second determination (second security determination process) on the validity of the communication data. The communication data that the in-vehicle communication processing unit receives from the outside-vehicle communication processing unit has undergone a first determination (first security determination process) on the validity by the outside-vehicle communication processing unit. Therefore, the communication data received from outside the vehicle is subjected to a second determination by the outside-vehicle communication processing unit in addition to the first determination by the inside-vehicle communication processing unit, that is, the validity is determined multiple times. The second determination by the outside-vehicle communication processing unit and the first determination by the inside-vehicle communication processing unit may be different types of security determinations. This allows different types of security determinations to be performed on the communication data received from outside the vehicle by distributed processing between the outside-vehicle communication processing unit and the inside-vehicle communication processing unit. Alternatively, the second determination by the outside-vehicle communication processing unit and the first determination by the inside-vehicle communication processing unit may be the same type of security determination. The external-vehicle communication processing unit is connected to the external device via the external-vehicle communication controller, and it is assumed that the security function of the external-vehicle communication processing unit is destroyed, penetrated, or disabled by an attack from outside the vehicle. Even in such a case, the internal-vehicle communication processing unit located downstream of the external-vehicle communication processing unit in the direction in which the communication data from the external device flows can normally maintain the security function and can normally perform the second determination (second security determination process) on the communication data that has illegally penetrated (passed) the external-vehicle communication processing unit. When the internal-vehicle communication processing unit determines (positively determines) that the communication data received from the external-vehicle communication processing unit is not illegal data (is legitimate data), it outputs (transmits) the communication data from the internal-vehicle communication controller to the in-vehicle ECU that is the destination (relay destination). In this way, the external-vehicle communication processing unit and the internal-vehicle communication processing unit connected in series downstream of the external-vehicle communication processing unit perform multi-layer defense against illegal communication data from outside the vehicle, and can ensure the robustness (soundness) of the in-vehicle network to which the in-vehicle ECU is connected. When the result of the second determination is negative, the external-vehicle communication processing unit may discard the communication data.In this case, the exterior communication processing unit may store log information such as the time of reception, the data type, or the sender address of the communication data that has been discarded or the like in a storage unit.

[0020] (6) In one embodiment of the in-vehicle device according to the present disclosure, the processing unit is logically separated into a plurality of in-vehicle communication processing units, and the logically separated outside-vehicle communication processing unit and each of the plurality of in-vehicle communication processing units are connected in series.

[0021] In this embodiment, the processing unit is logically separated into an exterior-vehicle communication processing unit and multiple interior-vehicle communication processing units. In the direction in which communication data flows from the exterior-vehicle device, these logically separated exterior-vehicle communication processing units and each of the multiple interior-vehicle communication processing units are connected in series with the exterior-vehicle communication processing unit as the most upstream unit. Each of the interior-vehicle communication processing units connected in series performs a second determination (second security determination process) on the communication data received from the exterior-vehicle communication processing unit or the interior-vehicle communication processing unit located upstream. When the determination result of the second determination is positive, the interior-vehicle communication processing unit outputs the communication data on which the second determination has been performed to an interior-vehicle communication controller logically connected to the interior-vehicle communication processing unit (itself) or to another interior-vehicle communication processing unit located downstream of the interior-vehicle communication processing unit (itself). Thus, among the multiple interior-vehicle communication processing units connected in series, The more in-vehicle communication processing units are connected, the more communication data for which the number of second determinations executed has increased (the more positive determinations have been made). That is, by logically separating the processing units into an exterior-vehicle communication processing unit and a plurality of in-vehicle communication processing units, the number of layers of defense in depth can be increased, and the accuracy and reliability of the determination process for communication data flowing to the in-vehicle communication processing unit located downstream can be improved. That is, the validity of the communication data output from the in-vehicle communication controller logically connected to the in-vehicle communication processing unit located relatively downstream can be improved, and the robustness of the in-vehicle ECU connected to the in-vehicle communication controller can be efficiently guaranteed.

[0022] (7) An in-vehicle device according to one embodiment of the present disclosure includes a memory unit in which a virtualized operating system launched by the processing unit is stored, and the processing unit is logically separated into an outside-vehicle communication processing unit and an inside-vehicle communication processing unit by a plurality of virtual environments generated by launching the virtualized operating system.

[0023] In this embodiment, a storage area accessible to a processing unit of the in-vehicle device, such as a storage unit of the in-vehicle device, stores programs for controlling the in-vehicle communication controller or the in-vehicle communication controller, and a virtualized operating system such as HV (HyperVisor) started by the processing unit. That is, the in-vehicle device is equipped with software having a function of logically separating hardware resources, such as a virtualized operating system. In this case, the processing unit also functions as a VM management unit (VM control panel) that manages the virtualized operating system. The processing unit generates a plurality of virtual environments (VM: virtual machines) by starting the virtualized operating system, and each program is executed in each of the generated virtual environments. As a result, each program is executed in a different virtual environment, and mutual interference between these programs can be prevented. Each of these multiple virtual environments constitutes a logically separated outside-vehicle communication processing unit and inside-vehicle communication processing unit. That is, each of the multiple virtual environments generated by starting the virtualized operating system corresponds to a logical communication processing unit (logical configuration) including a communication controller (external vehicle communication controller, internal vehicle communication controller) and a processing unit (external vehicle communication processing unit or internal vehicle communication processing unit) logically separated for each of these communication controllers. The virtual environment corresponding to the internal vehicle communication processing unit and the virtual environment corresponding to the external vehicle communication processing unit are logically connected by an internal network for performing inter-virtual environment communication (inter-separated communication), and the internal network is configured according to the setting in the virtualized operating system. The internal network for inter-virtual environment communication may be configured, for example, by a shared memory area for inter-virtual environment communication set in a storage unit. Alternatively, a VM management unit (VM control panel) that manages the virtualized operating system may perform (relay) inter-process communication between the external vehicle communication processing unit and the internal vehicle communication processing unit, so that an internal bus between the external vehicle communication processing unit and the internal vehicle communication processing unit is virtually configured (the external vehicle communication processing unit and the internal vehicle communication processing unit logically communicate with each other).In this way, by using software such as a virtualization operating system that has the function of logically separating hardware resources, it is possible to logically separate a physically single piece of hardware (processing unit) such as a microcontroller into multiple communication processing units (logical configurations) that can communicate with each other (inter-separated communication).

[0024] (8) In an in-vehicle device according to one embodiment of the present disclosure, the hardware resources allocated to the virtual environment corresponding to the in-vehicle communication processing unit are greater than the hardware resources allocated to the virtual environment corresponding to the out-vehicle communication processing unit.

[0025] In this embodiment, when the processing units are logically separated using the virtualized operating system, the VM management unit determines whether the hardware resources allocated to the virtual environment corresponding to the in-vehicle communication processing unit are greater than the hardware resources allocated to the virtual environment corresponding to the outside-vehicle communication processing unit. The virtualized operating system is executed so that the number of virtual environments allocated to the virtual environment corresponding to the in-vehicle communication processing unit is also larger than the number of virtual environments allocated to the virtual environment corresponding to the outside-vehicle communication processing unit. That is, when the virtualized operating system is executed, the parameters defined for generating each virtual environment are set so that the hardware resources allocated to the virtual environment corresponding to the in-vehicle communication processing unit are larger than the hardware resources allocated to the virtual environment corresponding to the outside-vehicle communication processing unit. The hardware resources indicate, for example, a memory area in a storage unit of the in-vehicle device, or a time slice amount in a CPU or MPU constituting the processing unit. That is, the memory area allocated to the virtual environment corresponding to the in-vehicle communication processing unit may be larger (wider) than the memory area allocated to the virtual environment corresponding to the outside-vehicle communication processing unit. Or, the time slice amount allocated to the virtual environment corresponding to the in-vehicle communication processing unit may be larger than the time slice amount allocated to the virtual environment corresponding to the outside-vehicle communication processing unit. Since the number of channels of the in-vehicle communication controller is larger than the number of channels of the outside-vehicle communication controller, it is assumed that the data amount or communication frequency of communication data with the in-vehicle ECU located in the vehicle is larger than the data amount or communication frequency of communication data with the outside-vehicle device located outside the vehicle. Even in such a case, the hardware resources allocated to the virtual environment (logical configuration) corresponding to the in-vehicle communication processing unit are greater than the hardware resources allocated to the virtual environment (logical configuration) corresponding to the external-vehicle communication processing unit, so that processing can be performed according to the load balance between the in-vehicle communication processing unit and the external-vehicle communication processing unit. This makes it possible to communicate with the external-vehicle device by the external-vehicle communication processing unit while suppressing delays caused by relay processing between the in-vehicle communication processing unit and the in-vehicle ECU.

[0026] (9) A program according to one embodiment of the present disclosure causes a computer having an exterior-vehicle communication controller for communicating with an exterior device located outside the vehicle, an in-vehicle communication controller for communicating with an on-board ECU located inside the vehicle, and a processing unit for performing processing related to communication to logically separate the processing unit into an exterior-vehicle communication processing unit that handles processing related to the exterior-vehicle communication controller and an in-vehicle communication processing unit that handles processing related to the in-vehicle communication controller, and to execute processing of communication data from the exterior-vehicle device in the exterior-vehicle communication processing unit and then in the in-vehicle communication processing unit.

[0027] In this aspect, it is possible to provide a program that causes a computer to function as an in-vehicle device that efficiently processes communication data transmitted from an external device.

[0028] (10) An information processing method according to one aspect of the present disclosure includes a computer having an exterior communication controller for communicating with an exterior device located outside the vehicle, an in-vehicle communication controller for communicating with an on-board ECU located inside the vehicle, and a processing unit for performing processing related to communication, logically separating the processing unit into an exterior communication processing unit that handles processing related to the exterior communication controller and an in-vehicle communication processing unit that handles processing related to the in-vehicle communication controller, and executing a process in which communication data from the exterior device is processed by the exterior communication processing unit and then processed by the in-vehicle communication processing unit.

[0029] According to this aspect, it is possible to provide an information processing method for causing a computer to function as an in-vehicle device that efficiently processes communication data transmitted from an external device.

[0030] [Details of the embodiment of the present disclosure] The present disclosure will be specifically described based on the drawings showing the embodiments. An in-vehicle device 2 according to the embodiment of the present disclosure will be described below with reference to the drawings. Note that the present invention is not limited to these examples, but is indicated by the claims, and is intended to include all modifications within the meaning and scope equivalent to the claims.

[0031] (Embodiment 1) Hereinafter, an embodiment will be described with reference to the drawings. 2 is a schematic diagram illustrating a configuration of an in-vehicle system S including an external communication device 1 and an in-vehicle device 2 mounted on a vehicle C. The in-vehicle system S includes an external communication device 1 and an in-vehicle device 2 mounted on a vehicle C, and transmits communication data received (acquired) from an external device S1 connected via an external network N to an in-vehicle ECU3 (Electronic Control Unit) mounted on the vehicle C.

[0032] The external device S1 includes, for example, an external server or an information terminal. The external server is, for example, a computer such as a server connected to an external network N such as the Internet or a public line network, and may be an OTA (Over The Air) server that provides update programs and the like when updating a program or data of the in-vehicle ECU 3. The information terminal is, for example, a smartphone held by the operator of the vehicle C.

[0033] The vehicle C is equipped with an external communication device 1, an in-vehicle device 2, and a plurality of in-vehicle ECUs 3 for controlling various in-vehicle devices. The external communication device 1 and the in-vehicle device 2 are communicatively connected by a communication line 41 such as a CAN bus or an Ethernet cable. The in-vehicle device 2 and the in-vehicle ECU 3 are communicatively connected by a communication line 41 such as a CAN bus or an Ethernet cable. In this manner, the external communication device 1, the in-vehicle device 2, and the in-vehicle ECU 3 are connected by the communication line 41 to configure an in-vehicle network 4 compatible with a communication protocol such as CAN (Control Area Network), CAN-FD, or Ethernet (registered trademark).

[0034] The external-vehicle communication device 1 is a communication device for wireless communication using a mobile communication protocol such as 4G, 5G, or WiFi (registered trademark), and transmits and receives data to and from the external-vehicle device S1 via an antenna 11 connected to the external-vehicle communication device 1. The communication between the external-vehicle communication device 1 and the external-vehicle device S1 is performed via an external network N such as a public line network or the Internet.

[0035] The in-vehicle device 2 includes a control unit, a storage unit 23, an input / output I / F 22, and an in-vehicle communication controller 242 (built-in communication controller), and is further configured to allow an external-vehicle communication controller 241 (additional communication controller) to be additionally connected to the input / output I / F 22. The in-vehicle communication controller 242 and the external-vehicle communication controller 241 correspond to a communication unit, and the processing unit 21 of the in-vehicle device 2 relays communication data inside and outside the vehicle C by using these communication controllers 24 (the in-vehicle communication controller 242 and the external-vehicle communication controller 241). The in-vehicle communication controller 242 has a plurality of channels 240 (communication ports), and is used to relay communication data transmitted and received between the in-vehicle ECUs 3 connected to each of these channels 240. The external-vehicle communication controller 241 has, for example, one channel 240 (communication port), and is used to transmit and receive communication data to and from the external-vehicle communication device 1 connected to the channel 240. In this way, the in-vehicle device 2 has a relay function and functions as, for example, a CAN gateway or an Ethernet switch. Alternatively, the in-vehicle device 2 may be an integrated ECU that has a relay function and controls the entire vehicle C in an integrated manner.

[0036] The in-vehicle device 2 is configured to be logically separable by starting a virtualized operating system stored in the storage unit 23. Although details will be described later, the in-vehicle device 2 includes the processing unit 21, the storage unit 23, the in-vehicle communication controller 242 (built-in communication controller), and the input / output I / F 22 as hardware resources that can be logically separated (are subject to logical separation). The hardware resources that can be logically separated are configured by being packaged as, for example, a microcomputer. The logical separation may be configured to be separated for each in-vehicle communication controller 242. The in-vehicle communication controller 242 includes a register used as a communication buffer, etc., and the register is shared by multiple channels 240 that the in-vehicle communication controller 242 has. Even in such a case, by logically separating the microcomputer including the hardware resources such as the processing unit 21 for each in-vehicle communication controller 242, The correspondence with the register can be maintained. That is, the processing units 21 (the outside-vehicle communication processing unit 211 and the inside-vehicle communication processing unit 212) that are logically separated for each communication controller 24 can configure a plurality of logical communication processing units (logical configurations) having a communication function.

[0037] The logically separated processing unit 21 is separated, for example, into an exterior-of-vehicle communication processing unit 211 and an interior-of-vehicle communication processing unit 212. An exterior-of-vehicle communication controller 241 (additional communication controller) that can be additionally connected is connected to the exterior-of-vehicle communication processing unit 211 via, for example, an input / output I / F 22 that complies with SPI. An interior-of-vehicle communication controller 242 (built-in communication controller) that is built into a microcomputer or the like that is configured to be logically separable is connected to the interior-of-vehicle communication processing unit 212.

[0038] The control unit of the in-vehicle device 2 is configured with a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), and performs various control processes and arithmetic processes by reading and executing a program P (program product) and data pre-stored in the storage unit 23. The control unit further generates a plurality of virtual environments by starting a virtualized operating system pre-stored in the storage unit 23. The microcomputer including the processing unit 21 and the like is logically separated by each of these virtual environments.

[0039] The storage unit 23 is configured with a volatile memory element such as a random access memory (RAM) or a non-volatile memory element such as a read only memory (ROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The program P (program product) stored in the storage unit 23 may be a program P (program product) read from a recording medium M readable by the in-vehicle device 2. The program P may also be a program P downloaded from an external computer (not shown) connected to a communication network (not shown) and stored in the storage unit 23. A virtualized operating system such as a hypervisor is stored in the storage unit 23.

[0040] The input / output I / F 22 is, for example, a communication interface for serial communication and may be compliant with the Serial Peripheral Interface (SPI). The input / output I / F 22 is connected to one or more outside-vehicle communication controllers 241 (additional communication controllers).

[0041] The in-vehicle communication controller 242 includes a plurality of channels 240. The plurality of channels 240 share a register included in the in-vehicle communication controller 242. A communication port corresponding to a physical layer of a communication protocol, such as a CAN transceiver or an Ethernet PHY unit, is connected to each of the channels 240 of the in-vehicle communication controller 242. The channels 240 and the communication ports of the in-vehicle communication controller 242 may be integrally configured, or the channels 240 and the communication ports may be configured separately and connected by an internal bus or the like. The in-vehicle communication controller 242 may be built in a microcomputer capable of logical separation (built-in communication controller).

[0042] The vehicle exterior communication controller 241 includes, for example, one channel 240. That is, the number of channels 240 of the vehicle exterior communication controller 241 may be less than the number of channels 240 of the vehicle interior communication controller 242. The channels 240 of the vehicle exterior communication controller 241 are connected to communication ports corresponding to the physical layers of the communication protocols, such as a CAN transceiver or an Ethernet PHY unit. The channel 240 and the communication port of the vehicle exterior communication controller 241 may be integrally configured, or the channel 240 and the communication port may be configured separately and connected by an internal bus or the like. The vehicle exterior communication controller 241 may be configured to be added (post-installed) to a microcomputer capable of logical separation (additional communication controller).

[0043] 3 is a block diagram illustrating a logical configuration of the in-vehicle device 2. The in-vehicle device 2 includes a processing unit 21, a storage unit 23, an in-vehicle communication controller 242 (built-in communication controller), and an input / output I / F 22 as hardware resources capable of logical separation (subject to logical separation), and the hardware resources capable of logical separation are configured, for example, by a microcomputer. An external-vehicle communication controller 241 (additional communication controller) is connected to the input / output I / F 22 of the in-vehicle device 2, and the in-vehicle device 2 includes the external-vehicle communication controller 241 (additional communication controller) that is added later in addition to the hardware resources capable of logical separation (microcomputer, etc.).

[0044] The microcomputer including the processing unit 21, the storage unit 23, the in-vehicle communication controller 242 (built-in communication controller), and the input / output I / F 22 is logically separated by a virtual operating system such as a hypervisor. The processing unit 21 generates a plurality of virtual environments (VM: virtual machine) by starting the virtualized operating system. In each of the generated virtual environments (VM: virtual machine), a respective program is executed. As a result, each program is executed in a different virtual environment, and it is possible to prevent mutual interference between these programs. In this embodiment, each of the virtual environments (VM: virtual machine) corresponds to each of the logically separated communication processing units (the outside-vehicle communication processing unit 211 and the inside-vehicle communication processing unit 212). The number of separations when logically separating, i.e., the number of logically separated communication processing units, is not limited to two, and may be three or more. When the number of logically separated communication processing units is three, the communication processing unit includes one outside-vehicle communication processing unit 211 and two inside-vehicle communication processing units 212, i.e., the number of inside-vehicle communication processing units 212 may increase as the number of separations in the logical separation increases.

[0045] The processing unit 21 generates a plurality of virtual environments by starting a virtualized operating system, and the microcomputer including the processing unit 21 and the like is logically separated by each of these virtual environments. The processing unit 21 is separated into an exterior-of-vehicle communication processing unit 211 and an interior-of-vehicle communication processing unit 212 by logical separation. The input / output I / F 22 to which an exterior-of-vehicle communication controller 241 is connected belongs to the virtual environment in which the exterior-of-vehicle communication processing unit 211 operates. One or more (two in the illustrated embodiment) interior-vehicle communication controllers 242 belong to the virtual environment in which the interior-of-vehicle communication processing unit 212 operates. The exterior-of-vehicle communication processing unit 211 and the interior-of-vehicle communication processing unit 212 are communicatively connected by an internal network configured by the virtualized operating system, and can perform inter-separated communication with each other.

[0046] The exterior-of-vehicle communication processing unit 211 and the input / output I / F 22 operate in the same virtual environment, i.e., are included in the same logical communication processing unit (logical configuration). The exterior-of-vehicle communication processing unit 211 and the input / output I / F 22 are connected, for example, by an internal bus. The exterior-of-vehicle communication controller 241 is connected to the input / output I / F 22, and, for example, when the input / output I / F 22 complies with SPI (Serial Peripheral Interface), the exterior-of-vehicle communication processing unit 211 and the exterior-of-vehicle communication controller 241 are connected to be able to communicate with each other using the SPI.

[0047] The exterior-vehicle communication controller 241 has, for example, one channel 240 (communication port), and the channel 240 corresponds to (conforms to) a communication protocol such as CAN, CAN / FD, or Ethernet. The exterior-vehicle communication device 1 is connected to the channel 240 (communication port) of the exterior-vehicle communication controller 241 via a communication line 41 corresponding to the communication protocol. As a result, the exterior-vehicle communication processing unit 211 is connected to the exterior-vehicle communication device 1 via the exterior-vehicle communication controller 241 so as to be able to communicate with each other.

[0048] The vehicle exterior communication device 1 receives communication data from a vehicle exterior device S1 such as an external server or an information terminal ( When the communication device 1 receives a communication signal (exterior-vehicle communication), the communication data is output to the exterior-vehicle communication controller 241. The exterior-vehicle communication controller 241 outputs the communication data received from the exterior-vehicle communication device 1 to the exterior-vehicle communication processing unit 211. The exterior-vehicle communication processing unit 211 performs a first determination on the validity of the communication data from the exterior-vehicle communication controller 241, and outputs only the communication data for which the determination result is positive to the in-vehicle communication processing unit 212 via the internal network configured by the virtualized operating system. The exterior-vehicle communication controller 241 and the in-vehicle communication processing unit 212 controlled by the exterior-vehicle communication processing unit 211 are logically separated, that is, operate in different virtual environments, so that it is possible to reliably prevent the communication data from the exterior-vehicle communication controller 241 from being directly output to the in-vehicle communication processing unit 212.

[0049] The in-vehicle communication processing unit 212 and one or more (two in the illustrated embodiment) in-vehicle communication controllers 242 operate in the same virtual environment, i.e., they are included in the same logical communication processing unit (logical configuration). The in-vehicle communication processing unit 212 and the in-vehicle communication controller 242 are connected, for example, by an internal bus. The in-vehicle communication controller 242 has a plurality of (three in the illustrated embodiment) channels 240 (communication ports). That is, the number of channels 240 of the in-vehicle communication controller 242 is greater than the number of channels 240 of the external communication controller 241. The channels 240 of the in-vehicle communication controller 242 correspond to (comply with) a communication protocol such as CAN, CAN / FD, or Ethernet. The in-vehicle ECU 3 is connected to the channel 240 (communication port) of the in-vehicle communication controller 242 via a communication line 41 according to the communication protocol.

[0050] The in-vehicle communication processing unit 212 receives (acquires) communication data from the outside-vehicle communication processing unit 211 through separate communication (an internal network configured by a virtualized operating system). The in-vehicle communication processing unit 212 performs a second determination on the validity of the received communication data, and outputs only communication data for which the determination result is positive to the in-vehicle ECU 3 via the in-vehicle communication controller 242. The communication data output to the in-vehicle ECU 3 via the in-vehicle communication controller 242 has undergone multi-layer processing in two layers, consisting of a first determination by the outside-vehicle communication processing unit 211 and a second determination by the in-vehicle communication processing unit 212, and is output to the in-vehicle ECU 3 only when all the determination results of the multi-layer processing are positive. Therefore, it is possible to provide a multi-layer defense against unauthorized communication data from outside the vehicle to the in-vehicle network 4 to which the in-vehicle ECU 3 is connected.

[0051] 4 is a flowchart illustrating the processing of the processing unit 21 (external vehicle communication processing unit 211 and internal vehicle communication processing unit 212) of the in-vehicle device 2. The processing unit 21 of the in-vehicle device 2 steadily performs the following processing, for example, when the vehicle C is in an activated or stopped state. The processing unit 21 generates multiple virtual environments by, for example, executing a virtualized operating system, and is logically separated into multiple communication processing units (external vehicle communication processing unit 211 and internal vehicle communication processing unit 212) that operate in these virtual environments. In this embodiment, the flow of processing by the external vehicle communication processing unit 211 and internal vehicle communication processing unit 212, which are logically separated from the processing unit 21, will be described.

[0052] The exterior-vehicle communication processing unit 211 judges whether exterior-vehicle communication has been performed (S101). The exterior-vehicle communication processing unit 211 constantly waits for communication data from the exterior-vehicle communication controller 241 connected via an input / output I / F 22 conforming to, for example, SPI or the like. The exterior-vehicle communication controller 241 is connected to the exterior-vehicle communication device 1 having a wireless function via a communication line 41 (Ethernet cable, CAN bus) conforming to a communication protocol such as Ethernet or CAN. The exterior-vehicle communication device 1 constantly waits for transmission of communication data from an external server such as an OTA server or an exterior-vehicle device S1 including an information terminal such as a smartphone, and when communication data is received from the exterior-vehicle device S1, it outputs the communication data to the exterior-vehicle communication controller 241. The exterior-vehicle communication controller 241 outputs the communication data received from the exterior-vehicle device S1 to the exterior-vehicle communication processing unit 211. The exterior-vehicle communication processing unit 211 outputs the communication data received from the exterior-vehicle communication controller 241 to the exterior-vehicle communication processing unit 211. Based on the presence or absence of communication data output from 41, it is determined whether or not communication outside the vehicle has been performed.

[0053] When it is determined that the vehicle exterior communication is not being performed (S101: NO), the vehicle exterior communication processing unit 211 performs a loop process to execute the process of S101 again. When it is determined that the vehicle exterior communication is not being performed, the vehicle exterior communication processing unit 211 performs the process of S101 again to continue the process of waiting for communication data from the vehicle exterior communication controller 241.

[0054] When it is determined that the outside-vehicle communication has been performed (S101: YES), the outside-vehicle communication processing unit 211 receives the communication data at the outside-vehicle communication controller 241 (S102). When it is determined that the outside-vehicle communication processing unit 211 has performed, the outside-vehicle communication processing unit 211 receives the communication data at the outside-vehicle communication controller 241 and stores the received communication data in a storage area (memory area) of the storage unit 23 accessible to the outside-vehicle communication processing unit 211. The outside-vehicle communication processing unit 211 is, for example, a logically separated hardware resource of a microcomputer (the processing unit 21 and the storage unit 23) so as to operate in a virtual environment (VM) generated by starting a virtualized operating system. The outside-vehicle communication processing unit 211 stores the received communication data in a storage area (memory area) allocated to the virtual environment.

[0055] The outside-vehicle communication processing unit 211 executes a first determination on the validity of the communication data (S103). The outside-vehicle communication processing unit 211 executes the first determination on the validity of the received communication data, for example, whether the data is unauthorized access such as spoofing, attack data such as DOS, or unauthorized data such as data other than previously permitted data (unauthorized data). The outside-vehicle communication processing unit 211 may execute various security programs to execute the first determination.

[0056] The exterior-vehicle communication processing unit 211 determines whether or not the result of the first determination is positive (S104). The exterior-vehicle communication processing unit 211 derives the result of the first determination (first determination result), and determines whether or not the first determination result is positive. A positive determination result indicates that the communication data is valid. A negative determination result indicates that the communication data is fraudulent.

[0057] If the result of the first determination is not positive (S104: NO), the exterior-vehicle communication processing unit 211 performs a loop process to execute the process of S101 again. If the result of the first determination is not positive, that is, if the result is negative and the communication data is determined to be invalid, the exterior-vehicle communication processing unit 211 performs a loop process to execute the process of S101 again. If the result of the first determination is negative (the communication data is invalid), the exterior-vehicle communication processing unit 211 may discard the communication data.

[0058] When the result of the first determination is positive (S104: YES), the exterior-of-vehicle communication processing unit 211 transmits the communication data to the interior-of-vehicle communication processing unit 212 by the inter-separate communication (S105). After transmitting the communication data to the interior-of-vehicle communication processing unit 212 by the inter-separate communication, the exterior-of-vehicle communication processing unit 211 ends the process. An internal network for performing inter-virtual environment communication (inter-VM communication) between the virtual environment corresponding to the interior-of-vehicle communication processing unit 212 and the virtual environment corresponding to the exterior-of-vehicle communication processing unit 211 is configured by a virtualized operating system. The internal network for the inter-virtual environment communication may be configured by, for example, a shared memory area for inter-virtual environment communication set in the storage unit 23, and each of the exterior-of-vehicle communication processing unit 211 and the interior-of-vehicle communication processing unit 212 may write and refer to the communication data to be the target of the inter-separate communication in the shared memory area. Alternatively, a VM management unit (VM control panel) that manages the virtualized operating system performs inter-process communication (relay) of communication data that is the subject of inter-separate communication between the vehicle exterior communication processing unit 211 and the vehicle interior communication processing unit 212, thereby virtually configuring an internal bus between the vehicle exterior communication processing unit 211 and the vehicle interior communication processing unit 212 (vehicle exterior communication processing unit 21 The outside-vehicle communication processing unit 211 and the in-vehicle communication processing unit 212, which are logically separated in this manner, can perform separate communication between them via an internal network configured by a virtualized operating system. After executing step S105, the outside-vehicle communication processing unit 211 may execute the process from S101 again and wait for communication data (external-vehicle communication) from the external device S1.

[0059] The in-vehicle communication processing unit 212 receives communication data from the outside-vehicle communication processing unit 211 through separate communication (S106). The in-vehicle communication processing unit 212 receives communication data from the outside-vehicle communication processing unit 211 through separate communication, i.e., via an internal network configured by the virtualized operating system. The in-vehicle communication processing unit 212 stores the received communication data in a storage area of ​​the storage unit 23 accessible to the in-vehicle communication processing unit 212 (a storage area assigned to the virtual environment in which the in-vehicle communication processing unit 212 operates).

[0060] The in-vehicle communication processing unit 212 executes a second determination on the validity of the communication data (S107). The in-vehicle communication processing unit 212 executes the second determination on the validity of the received communication data, for example, whether the data is unauthorized access such as spoofing, attack data such as DOS, or data other than previously permitted data (unauthorized data). The communication data that is the subject of the second determination by the in-vehicle communication processing unit 212 has already been subjected to a first determination by the outside-vehicle communication processing unit 211, and the determination result of the first determination is positive (the communication data is valid). Therefore, the communication data can be subjected to a process of validity determination (multi-layer processing) in two layers by the outside-vehicle communication processing unit 211 and the in-vehicle communication processing unit 212, that is, a multi-layer defense can be performed on the communication data.

[0061] The second determination by the in-vehicle communication processing unit 212 may be the same type of security determination processing as the first determination by the outside-vehicle communication processing unit 211, or may be a different type of security determination processing. Alternatively, the types of security determination processing included in the first determination by the outside-vehicle communication processing unit 211 may be greater than the types of security determination processing included in the second determination by the inside-vehicle communication processing unit 212, so that the processing load by the outside-vehicle communication processing unit 211 is higher than the processing load by the inside-vehicle communication processing unit 212. The in-vehicle communication processing unit 212 is responsible for relaying communication data transmitted and received between a plurality of in-vehicle ECUs 3 connected to the in-vehicle network 4, and therefore by making the processing load required for the security determination processing lower than that of the outside-vehicle communication processing unit 211, it is possible to suppress occurrence of delays in the relaying processing.

[0062] The in-vehicle communication processing unit 212 determines whether or not the result of the second determination is positive (S108). If the result of the second determination is not positive (S108: NO), the in-vehicle communication processing unit 212 performs a loop process to execute the process of S101 again. The in-vehicle communication processing unit 212 may transmit a signal to the outside-vehicle communication processing unit 211 by performing inter-separate communication, instructing the outside-vehicle communication processing unit 211 to execute the process of S101 again. The outside-vehicle communication processing unit 211 executes the process from S101 by receiving a signal from the in-vehicle communication processing unit 212. Alternatively, if the result of the second determination is not positive (S108: NO), the in-vehicle communication processing unit 212 may discard the communication data and wait for communication data (inter-separate communication) from the outside-vehicle communication processing unit 211 by executing the process of S106 again.

[0063] If the result of the second judgment is positive (S108: YES), the in-vehicle communication processing unit 212 transmits the communication data to the in-vehicle ECU 3 via the in-vehicle communication controller 242 (S109). If the result of the second judgment is positive, the communication data indicates that the results of both the first judgment and the second judgment are positive, and multi-layer processing for the success / failure judgment has been performed. The in-vehicle communication processing unit 212 transmits the communication data, for which multi-layer processing for the success / failure judgment has been performed and for which all judgment results are favorable, to any one of the in-vehicle ECUs 3 via the in-vehicle communication controller 242. .

[0064] The in-vehicle communication controller 242 includes a plurality of channels 240 (communication ports), for example, three, and an in-vehicle ECU 3 is connected to each of these channels 240 (communication ports). The in-vehicle communication processing unit 212 may specify an in-vehicle ECU 3 to be a relay destination based on header information or the like included in the communication data, and output the communication data from the channel 240 (communication port) of the in-vehicle communication controller 242 to which the in-vehicle ECU 3 to be the relay destination is connected, for example, by referring to a relay table stored in the storage unit 23. The in-vehicle communication processing unit 212 transmits the communication data to the in-vehicle ECU 3 via the in-vehicle communication controller 242, and then ends the process. Alternatively, the in-vehicle communication processing unit 212 may execute the process from S106 again after executing the process S109, and wait for communication data (separate communication) from the outside-vehicle communication processing unit 211.

[0065] FIG. 5 is a block diagram illustrating a logical configuration of an in-vehicle device 2 according to the second embodiment (multiple in-vehicle communication processing units 212). The hardware resources (microcomputer, etc.) of the in-vehicle device 2 are logically separated according to multiple virtual environments (VM: virtual machine) generated by a virtualized operating system, as in the first embodiment. The outside-vehicle communication processing unit 211 in which the processing units 21, etc. are logically separated, and the outside-vehicle communication controller 241, etc. connected to the outside-vehicle communication processing unit 211, have the same configuration as in the first embodiment. The in-vehicle device 2 of the second embodiment includes multiple (two in this embodiment) logically separated in-vehicle communication processing units 212, and each of these in-vehicle communication processing units 212 is connected to an in-vehicle communication controller 242, respectively.

[0066] In the direction in which communication data flows from the external device S1, the logically separated external-vehicle communication processing unit 211 and each of the multiple internal-vehicle communication processing units 212 are connected in series with the external-vehicle communication processing unit 211 at the most upstream position. The two internal-vehicle communication processing units 212 connected in series are communicatively connected by an internal network configured by a virtualized operating system, and can perform inter-separate communication with each other.

[0067] An in-vehicle communication controller 242 is connected to each of the two in-vehicle communication processing units 212 (the in-vehicle communication processing unit 212 on the downstream side and the in-vehicle communication processing unit 212 on the upstream side) connected in series. These two in-vehicle communication processing units 212 operate in different virtual environments, and therefore the in-vehicle communication controller 242 connected to the in-vehicle communication processing unit 212 on the downstream side and the in-vehicle communication controller 242 connected to the in-vehicle communication processing unit 212 of the in-vehicle communication processing unit 212 on the upstream side belong to different virtual environments. As a result, the in-vehicle communication processing unit 212 on the upstream side cannot directly access the in-vehicle communication controller 242 connected to the in-vehicle communication processing unit 212 on the downstream side, and similarly, the in-vehicle communication processing unit 212 on the downstream side cannot directly access the in-vehicle communication controller 242 connected to the in-vehicle communication processing unit 212 on the upstream side.

[0068] The in-vehicle communication processing unit 212 on the upstream side (the side of the outside-vehicle communication processing unit 211) performs a second determination on the communication data received from the outside-vehicle communication processing unit 211, and outputs only the communication data with a positive determination result to the in-vehicle ECU 3 via the in-vehicle communication controller 242, or outputs it to the in-vehicle communication processing unit 212 on the downstream side by separate communication. The in-vehicle communication processing unit 212 on the upstream side (the side of the outside-vehicle communication processing unit 211) specifies the in-vehicle ECU 3 to be the relay destination based on header information and the like included in the communication data. Furthermore, the in-vehicle communication processing unit 212 on the upstream side refers to a relay table stored in the storage unit 23, for example, and checks the connection mode (to which communication port the in-vehicle ECU 3 is connected) of the specified (to be the relay destination). The in-vehicle communication processing unit 212 on the upstream side may determine whether to output the communication data from the channel 240 (communication port) of the in-vehicle communication controller 242, or to the in-vehicle communication processing unit 212 on the downstream side by separate communication, depending on the confirmation result.

[0069] The in-vehicle communication processing unit 212 on the downstream side performs a second determination on the communication data received from the in-vehicle communication processing unit 212 on the upstream side, and outputs only the communication data with a positive determination result from the channel 240 (communication port) of the in-vehicle communication controller 242 connected to the in-vehicle communication processing unit 212 on the downstream side (itself). When the in-vehicle device 2 has two or more in-vehicle communication processing units 212, the number of layers of defense in depth can be increased by logically separating the processing units 21 and the like according to the number of the in-vehicle communication processing units 212. This can improve the accuracy and reliability of the determination process on the communication data flowing to the in-vehicle communication processing unit 212 located on the downstream side in particular. That is, the validity of the communication data output from the in-vehicle communication controller 242 connected to the in-vehicle communication processing unit 212 located relatively downstream can be improved, and the robustness of the in-vehicle ECU 3 connected to the in-vehicle communication controller 242 can be efficiently guaranteed. In this embodiment, the number of in-vehicle communication processing units 212 logically connected in series (the number of logical separations in the in-vehicle communication processing unit 212) is two, but this is not limited to this, and the number of in-vehicle communication processing units 212 may be three or more depending on the number of in-vehicle communication controllers 242 installed.

[0070] In the multiple in-vehicle communication processing units 212 logically connected in series in this manner, the Automotive Safety Integrity Level (ASIL) of the in-vehicle ECU 3 connected to the in-vehicle communication controller 242 in which the downstream in-vehicle communication processing unit 212 is responsible for processing may be higher than the ASIL of the in-vehicle ECU 3 connected to the in-vehicle communication controller 242 in which the upstream in-vehicle communication processing unit 212 is responsible for processing. As described above, in the multiple in-vehicle communication processing units 212 connected in series, the number of layers of defense in depth for the in-vehicle communication processing unit 212 located downstream can be greater than the number of layers of defense in depth for the in-vehicle communication processing unit 212 located upstream. Therefore, by connecting an in-vehicle ECU 3 with a relatively high ASIL to the in-vehicle communication controller 242 in which the downstream in-vehicle communication processing unit 212 is responsible (logically connected), the in-vehicle ECU 3 with a high ASIL can be efficiently protected from attacks from outside the vehicle.

[0071] 6 is a block diagram illustrating a logical configuration of an in-vehicle device 2 according to the third embodiment (multiple external-vehicle communication controllers 241). The hardware resources (microcomputer, etc.) of the in-vehicle device 2 are logically separated according to multiple virtual environments (VM: virtual machine) generated by a virtualized operating system, as in the first embodiment. The in-vehicle communication processing unit 212 in which the processing unit 21, etc. are logically separated, and the in-vehicle communication controller 242, etc. connected to the in-vehicle communication processing unit 212, have the same configuration as in the first embodiment.

[0072] In the in-vehicle device 2 of the third embodiment, a plurality of (two in this embodiment) exterior-vehicle communication controllers 241 are communicatively connected to the logically separated exterior-vehicle communication processing unit 211 via an input / output I / F 22 conforming to SPI or the like. The exterior-vehicle communication controller 241 is configured to be addable (retrofittable) to the microcomputer including the processing unit 21 and the exterior-vehicle communication controller 241, which are the subject of logical separation, and corresponds to an additional communication controller.

[0073] The input / output I / F 22 conforming to SPI or the like has a plurality of interface parts, and is configured to allow a plurality of exterior-vehicle communication controllers 241 (additional communication controllers) to be additionally connected. In this embodiment, the two additionally connected exterior-vehicle communication controllers 241 include, for example, an exterior-vehicle communication controller 241 compatible with CAN and an exterior-vehicle communication controller 241 compatible with Ethernet. The exterior-vehicle communication controller 241 compatible with CAN is communicatively connected to the exterior-vehicle communication device 1 compatible with the CAN via a CAN bus (communication line 41). The exterior-vehicle communication controller 241 compatible with Ethernet is communicatively connected to the exterior-vehicle communication device 1 compatible with Ethernet via an Ethernet cable (communication line 41).

[0074] For example, a plurality of external communication devices may be provided according to the type of protocol for communicating with the external device S1. Even when it is necessary to connect the device 1 to the in-vehicle device 2 (exterior-vehicle communication processing unit 211), the exterior-vehicle communication processing unit 211 can additionally connect a plurality of exterior-vehicle communication controllers 241 (additional communication controllers) in accordance with the plurality of exterior-vehicle communication devices 1. This ensures the expandability of the exterior-vehicle device S1, and improves the availability of the in-vehicle system S.

[0075] The embodiments disclosed herein are illustrative in all respects and should not be considered as limiting. The scope of the present disclosure is defined by the claims, not by the above meaning, and is intended to include all modifications within the scope and meaning equivalent to the claims.

[0076] The claims may be combined with each other regardless of the form of reference. The claims may contain multiple dependent claims depending on multiple claims. Multiple dependent claims may be contained depending on multiple dependent claims. If multiple dependent claims are not contained depending on a multiple dependent claim, this does not limit the number of dependent claims depending on a multiple dependent claim. [Explanation of symbols]

[0077] C Vehicle S In-vehicle system S1 External device N External network 1. External communication device 11 Antenna 2 Onboard equipment 21 Processing section 211 External communication processing unit 212 In-vehicle communication processing unit 22 Input / Output Interface 23 Memory section P Program (Program Product) M Recording medium 24 Communication Controller 240 Channels 241 External communication controller (additional communication controller) 242 In-vehicle communication controller (built-in communication controller) 3 In-vehicle ECU 4. In-vehicle network 41 Communication Line

Claims

1. an exterior communication controller for communicating with an exterior device located outside the vehicle; an in-vehicle communication controller for communicating with an in-vehicle ECU located inside the vehicle; A vehicle-mounted device comprising a processing unit that performs processing related to communication, The processing unit is logically separated into an exterior communication processing unit that handles processing related to the exterior communication controller and an interior communication processing unit that handles processing related to the interior communication controller, The communication data from the external device is processed by the external communication processing unit, and then processed by the internal communication processing unit. In-vehicle device.

2. The vehicle exterior communication controller is configured to be addable. The in-vehicle device according to claim 1 .

3. the in-vehicle communication controller includes a plurality of channels; The number of channels included in the in-vehicle communication controller is greater than the number of channels included in the out-vehicle communication controller. The vehicle-mounted device according to claim 2 .

4. The vehicle exterior communication processing unit includes: performing a first determination regarding the validity of communication data received from the external device via the external-vehicle communication controller; If the result of the first determination is positive, communication data is output to the in-vehicle communication processing unit by separate communication. The in-vehicle device according to claim 1 .

5. The in-vehicle communication processing unit includes: performing a second determination on the validity of the communication data from the vehicle exterior communication processing unit; When the result of the second determination is positive, communication data is output to the in-vehicle ECU via the in-vehicle communication controller. The vehicle-mounted device according to claim 4.

6. The processing unit is logically separated into a plurality of the in-vehicle communication processing units, The logically separated outside-vehicle communication processing unit and the plurality of inside-vehicle communication processing units are connected in series. The in-vehicle device according to claim 1 .

7. a storage unit in which a virtualized operating system to be started by the processing unit is stored; The processing unit is logically separated into the outside-vehicle communication processing unit and the inside-vehicle communication processing unit by a plurality of virtual environments generated by starting the virtualized operating system. The in-vehicle device according to claim 1 .

8. The hardware resources allocated to the virtual environment corresponding to the in-vehicle communication processing unit are greater than the hardware resources allocated to the virtual environment corresponding to the out-vehicle communication processing unit. The vehicle-mounted device according to claim 7.

9. an exterior communication controller for communicating with an exterior device located outside the vehicle; an in-vehicle communication controller for communicating with an in-vehicle ECU located inside the vehicle; A computer having a processing unit for performing processing related to communication, The processing unit is logically separated into an exterior-of-vehicle communication processing unit that handles processing related to the exterior-of-vehicle communication controller and an interior-of-vehicle communication processing unit that handles processing related to the interior-of-vehicle communication controller, The communication data from the external device is processed by the external communication processing unit, and then processed by the internal communication processing unit. A program that executes a process.

10. an exterior communication controller for communicating with an exterior device located outside the vehicle; an in-vehicle communication controller for communicating with an in-vehicle ECU located inside the vehicle; A computer having a processing unit for performing processing related to communication, The processing unit is logically separated into an exterior-of-vehicle communication processing unit that handles processing related to the exterior-of-vehicle communication controller and an interior-of-vehicle communication processing unit that handles processing related to the interior-of-vehicle communication controller, The communication data from the external device is processed by the external communication processing unit, and then processed by the internal communication processing unit. An information processing method for a program that executes processing.

Citation Information

Patent Citations

  • Relaying apparatus and method and program for relaying

    JP2017097851A