Vehicle-mounted device, program, and information processing method

The in-vehicle device addresses inefficient communication data processing by using logically separated processing units and a virtualized operating system to ensure secure and efficient communication, enhancing network robustness.

WO2024219200A1PCT designated stage expired Publication Date: 2024-10-24AUTONETWORKS TECH LTD +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/013435
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-19
Filing Date
2024-04-01
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Existing in-vehicle communication devices lack efficient processing of communication data transmitted from external devices, leading to potential security vulnerabilities and inefficiencies.

Method used

An in-vehicle device with logically separated external and in-vehicle communication processing units, which perform multi-layered processing and security determinations on communication data, using a virtualized operating system to manage hardware resources and ensure robust communication protocols.

Benefits of technology

The solution enables efficient and secure processing of communication data, providing multi-layered protection against unauthorized access and ensuring reliable communication with in-vehicle ECUs, thereby enhancing the robustness of the in-vehicle network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024013435_24102024_PF_FP_ABST
    Figure JP2024013435_24102024_PF_FP_ABST
Patent Text Reader

Abstract

This vehicle-mounted device comprises: an out-of-vehicle communication controller for communicating with an out-of-vehicle device located outside a vehicle: an in-vehicle communication controller for communicating with a vehicle-mounted ECU located inside the vehicle; and a processing unit for performing processing relating to communication. The processing unit is logically separated into an out-of-vehicle communication processing unit that takes charge of processing relating to the out-of-vehicle communication controller and an in-vehicle communication processing unit that takes charge of processing relating to the in-vehicle communication controller, and communication data from the out-of-vehicle device is processed by the out-of-vehicle communication processing unit and thereafter processed by the in-vehicle communication processing unit.
Need to check novelty before this filing date? Find Prior Art

Description

In-vehicle device, program, and information processing method

[0001] This application claims priority to Japanese Patent Application No. 2023-068727 filed on April 19, 2023, and incorporates by reference all of the contents of that application.

[0002] A vehicle is equipped with an ECU (Electronic Control Unit) for controlling on-board devices such as drive control systems (e.g., engine control) and body systems (e.g., air conditioning control). The ECU includes an arithmetic processing unit such as an MPU, a rewritable nonvolatile storage unit such as a RAM, and a communication unit for communicating with other ECUs, and controls the on-board devices by reading and executing control programs stored in the storage unit. The vehicle is also equipped with a communication device equipped with wireless communication capabilities, and the ECU communicates with a program provider connected to a network outside the vehicle via the communication device (see, for example, Patent Document 1).

[0003] Japanese Patent Application Laid-Open No. 2017-97851

[0004] An in-vehicle device according to one aspect 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 interior communication controller for communicating with an in-vehicle ECU located inside the vehicle, and a processing unit for performing communication-related processing, wherein 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, and communication data from the exterior device is processed by the exterior communication processing unit and then processed by the interior communication processing unit.

[0005] 1 is a schematic diagram illustrating the configuration of an in-vehicle system including an in-vehicle device according to a first embodiment; FIG. 2 is a block diagram illustrating the physical configuration of the in-vehicle device; FIG. 3 is a block diagram illustrating the logical configuration of the in-vehicle device; FIG. 4 is a flowchart illustrating the processing of processing units (external vehicle communication processing unit and internal vehicle communication processing unit) of the in-vehicle device; FIG. 5 is a block diagram illustrating the logical configuration of an in-vehicle device according to a second embodiment (multiple internal vehicle communication processing units); and FIG. 6 is a block diagram illustrating the logical configuration of an in-vehicle device according to a third embodiment (multiple external vehicle communication controllers).

[0006] [Problem that the present disclosure aims to solve] 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 an external network.

[0007] 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.

[0008] Effect of the Present Disclosure 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.

[0009] [Description of 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 combined in any manner.

[0010] (1) An in-vehicle device according to one aspect 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 interior communication controller for communicating with an in-vehicle ECU located inside the vehicle, and a processing unit for performing communication-related processing, wherein 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, and communication data from the exterior device is processed by the exterior communication processing unit and then processed by the interior communication processing unit.

[0011] In this aspect, the in-vehicle device includes an exterior-vehicle communication controller, an interior-vehicle communication controller, and a processing unit that controls these communication controllers and performs communication-related processing. The processing units are configured to be logically separable, for example, into 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. The logical separation of the processing units is performed according to the exterior-vehicle communication controller and the interior-vehicle 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-vehicle communication controller and the interior-vehicle communication controller). Each communication controller including the exterior-vehicle communication controller and the interior-vehicle communication controller includes a register used as a communication buffer, etc. When logically separating each of these communication controllers (exterior-vehicle communication controller and the interior-vehicle communication controller), the processing units that handle the communication controllers are logically separated in accordance with the number of communication controllers. As a result, the in-vehicle device can configure multiple logical communication processing units (logical configurations) with communication functions using the logically separated processing units for each communication controller while maintaining 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 in-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 multi-layer 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 exterior-of-vehicle communication controller is configured to be addable.

[0013] In this aspect, the in-vehicle device includes an input / output interface (I / F) conforming to, for example, an SPI (Serial Peripheral Interface), and the I / F is configured to allow an exterior-vehicle communication controller to be added (added). When the logically separable processing unit is configured, for example, by a microcomputer, the exterior-vehicle communication controller corresponds to an add-on (retrofit) communication controller, and the interior-vehicle communication controller corresponds to a microcomputer-integrated communication controller. The exterior-vehicle communication controller may be added, for example, after the manufactured vehicle C has been shipped to the market. The added exterior-vehicle communication controller is communicatively connected to the exterior-vehicle communication processing unit (processing unit) via, for example, the SPI. The added exterior-vehicle communication controller is connected to the logically separated exterior-vehicle communication processing unit and controlled by the exterior-vehicle communication processing unit. By logically separating the processing units, the in-vehicle device includes an exterior-vehicle communication processing unit. Therefore, even if an exterior-vehicle communication controller is physically added, it is not necessary to physically add another processing unit for controlling the exterior-vehicle communication controller, thereby suppressing an increase in the product cost of the in-vehicle device.

[0014] (3) In an in-vehicle device according to one aspect of the present disclosure, the in-vehicle communication controller includes multiple 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 aspect, the in-vehicle communication controller includes multiple channels. A communication port corresponding to the physical layer of the communication protocol, such as a CAN transceiver or an Ethernet PHY unit, is connected to each of the multiple channels of the single in-vehicle communication controller. The channels and the communication ports may be integrated. Alternatively, the channels and the communication ports may be configured separately and connected via 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 multiple channels (communication ports) connected to the single in-vehicle communication controller. The number of channels included in the multiple in-vehicle communication controllers is greater than the number of channels included in the exterior-vehicle communication controller. The exterior-vehicle communication controller may have a relatively small number of channels (e.g., one channel), and may be configured, for example, so that one channel per protocol (one channel per protocol). By configuring the exterior-vehicle communication controller to be able to add an exterior-vehicle communication controller with fewer channels than the exterior-vehicle communication controller, unused channels in the exterior-vehicle communication controller can be eliminated. Furthermore, in order to accommodate extra-vehicle communication (communication with an extra-vehicle device) that may require a relatively small number of channels, 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 aspect 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 the result of the first determination is positive, outputs the communication data to the in-vehicle communication processing unit via separate communication.

[0017] In this aspect, the exterior-vehicle communication processing unit, which is configured by logically separating the processing units, receives communication data transmitted from an exterior device via the exterior-vehicle communication controller and performs a first determination (first security determination process) regarding the legitimacy of the received communication data. The exterior-vehicle communication processing unit determines whether the communication data received from outside the vehicle via the exterior-vehicle communication controller is unauthorized data, such as unauthorized access such as spoofing, attack data such as DOS, or data other than previously permitted data (unauthorized data). If the exterior-vehicle communication processing unit determines (positive determination) that the communication data received from outside the vehicle is not unauthorized data (legitimate data), it outputs the communication data to the interior-vehicle communication processing unit via separate communication. The interior-vehicle communication controller is logically connected to the interior-vehicle communication processing unit but not logically connected to the exterior-vehicle communication processing unit. That is, the interior-vehicle communication controller and the interior-vehicle communication processing unit are included in (belong to) the same logical configuration (logical communication processing unit), while the interior-vehicle communication controller and the exterior-vehicle communication processing unit belong to separate logical configurations (logical communication processing units). Therefore, by performing a first determination (first security determination process) on communication data received from an external device by an external communication processing unit that is not logically connected to the in-vehicle communication controller, the external communication processing unit can function as a firewall or the like, thereby ensuring robustness for the in-vehicle ECU connected to the in-vehicle communication controller. The external communication processing unit may discard the communication data if the result of the first determination is negative. In this case, the external communication processing unit may store log information in a storage unit, such as the reception time, data type, or sender address of the discarded communication data.

[0018] (5) In one aspect 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 aspect, the in-vehicle communication processing unit, upon receiving communication data from the exterior-vehicle communication processing unit, performs a second determination (second security determination process) regarding the validity of the communication data. The communication data received by the in-vehicle communication processing unit from the exterior-vehicle communication processing unit has already undergone a first determination (first security determination process) regarding the validity of the communication data by the exterior-vehicle communication processing unit. Therefore, in addition to the first determination by the in-vehicle communication processing unit, the communication data received from outside the vehicle is also subjected to a second determination by the exterior-vehicle communication processing unit, i.e., multiple determinations regarding the validity are performed. The second determination by the exterior-vehicle communication processing unit and the first determination by the in-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 through distributed processing by the exterior-vehicle communication processing unit and the in-vehicle communication processing unit. Alternatively, the second determination by the exterior-vehicle communication processing unit and the first determination by the in-vehicle communication processing unit may be the same type of security determination. The exterior-vehicle communication processing unit is connected to the exterior device via the exterior-vehicle communication controller, and it is possible that the security function of the exterior-vehicle communication processing unit may be destroyed, breached, or disabled by an attack from outside the vehicle. Even in such a case, the interior-vehicle communication processing unit, located downstream of the exterior-vehicle communication processing unit in the direction of communication data flow from the exterior device, can properly maintain its security function and properly perform a second determination (second security determination process) on communication data that has breached (passed) the exterior-vehicle communication processing unit. If the interior-vehicle communication processing unit determines (positively determines) that the communication data received from the exterior-vehicle communication processing unit is not fraudulent (legitimate data), it outputs (transmits) the communication data from the interior-vehicle communication controller to the in-vehicle ECU that serves as the destination (relay destination). In this way, the exterior-vehicle communication processing unit and the in-vehicle communication processing unit connected in series downstream of the exterior-vehicle communication processing unit provide multi-layered defense against fraudulent communication data from outside the vehicle, thereby ensuring the robustness (soundness) of the in-vehicle network to which the in-vehicle ECU is connected. If the result of the second determination is negative, the exterior-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, data type, or sender address of the communication data that has been discarded or the like in a storage unit.

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

[0021] In this aspect, 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 from the exterior-vehicle device flows, these logically separated exterior-vehicle communication processing units and the multiple interior-vehicle communication processing units are connected in series, with the exterior-vehicle communication processing unit being the most upstream unit. Each of the serially connected interior-vehicle communication processing units performs a second determination (second security determination process) on communication data received from the exterior-vehicle communication processing unit or the interior-vehicle communication processing unit located upstream. If the determination result of the second determination is positive, the interior-vehicle communication processing unit outputs the communication data on which the second determination was 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). Therefore, among the multiple interior-vehicle communication processing units connected in series, the more downstream the interior-vehicle communication processing unit connected downstream, the more frequently the second determination has been performed (the more frequently a positive determination has been made) and the more frequently the communication data it receives. That is, by logically separating the processing units into an exterior-of-vehicle communication processing unit and multiple interior-of-vehicle communication processing units, the number of layers of defense in depth can be increased, and the accuracy and reliability of the judgment process for communication data flowing to the interior-of-vehicle communication processing unit located downstream can be improved. That is, the validity of communication data output from the interior-of-vehicle communication controller logically connected to the interior-of-vehicle communication processing unit located relatively downstream can be improved, and the robustness of the in-vehicle ECU connected to the interior-of-vehicle communication controller can be efficiently ensured.

[0022] (7) An in-vehicle device according to one aspect 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 external communication processing unit and an internal communication processing unit by a plurality of virtual environments generated by launching the virtualized operating system.

[0023] In this aspect, a storage area accessible by a processing unit of the in-vehicle device, such as a storage unit, stores programs for controlling the in-vehicle communication controller and a virtualized operating system, such as HV (HyperVisor), that is activated by the processing unit. That is, the in-vehicle device is equipped with software, such as a virtualized operating system, that has the function of logically separating hardware resources. 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 multiple virtual environments (VMs: virtual machines) by activating the virtualized operating system, and each program is executed in each of the generated virtual environments. This allows each program to be executed in a different virtual environment, preventing mutual interference between these programs. Each of these multiple virtual environments constitutes a logically separated exterior-vehicle communication processing unit and interior-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 (exterior-vehicle communication controller, interior-vehicle communication controller) and a processing unit (exterior-vehicle communication processing unit or interior-vehicle communication processing unit) logically separated for each communication controller. The virtual environment corresponding to the interior-vehicle communication processing unit and the virtual environment corresponding to the exterior-vehicle communication processing unit are logically connected by an internal network for inter-virtual environment communication (inter-separate communication), and the internal network is configured according to settings 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 virtually configure an internal bus between the exterior-vehicle communication processing unit and the interior-vehicle communication processing unit (logical communication between the exterior-vehicle communication processing unit and the interior-vehicle communication processing unit) by performing (relaying) inter-process communication between the exterior-vehicle communication processing unit and the interior-vehicle communication processing unit.In this way, by using software such as a virtualized 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 are capable of intercommunication (inter-separate communication).

[0024] (8) In an in-vehicle device according to one aspect 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 aspect, when logically separating the processing units using the virtualized operating system, the VM management unit executes the virtualized operating system so that 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 exterior-vehicle communication processing unit. That is, when executing the virtualized operating system, 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 greater than the hardware resources allocated to the virtual environment corresponding to the exterior-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 exterior-vehicle communication processing unit. Alternatively, the time slice amount allocated to the virtual environment corresponding to the in-vehicle communication processing unit may be greater than the time slice amount allocated to the virtual environment corresponding to the exterior-vehicle communication processing unit. Because the number of channels of the in-vehicle communication controller is greater than the number of channels of the exterior communication controller, it is expected that the amount of data or frequency of communication with the in-vehicle ECU located inside the vehicle will be greater than the amount of data or frequency of communication with the exterior 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 exterior communication processing unit, so processing can be performed according to the load balance between the in-vehicle communication processing unit and the exterior communication processing unit. This allows communication with the exterior device by the exterior communication processing unit to be performed while suppressing delays caused by relay processing between the in-vehicle ECUs by the in-vehicle communication processing unit.

[0026] (9) A program according to one aspect of the present disclosure causes a computer having an exterior communication controller for communicating with an exterior device located outside the vehicle, an interior communication controller for communicating with an on-board ECU located inside the vehicle, and a processing unit for performing communication-related processing to logically separate the processing unit 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, and to process communication data from the exterior device in the exterior communication processing unit, and then to execute processing in the interior 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 interior communication controller for communicating with an on-board ECU located inside the vehicle, and a processing unit for performing communication-related processing. 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, and communication data from the exterior device is processed by the exterior communication processing unit, and then processed by the interior communication processing unit.

[0029] In this aspect, it is possible to provide an information processing method that causes 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 with reference to the drawings illustrating the embodiment. 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 defined 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. Fig. 1 is a schematic diagram illustrating the configuration of an in-vehicle system S including an in-vehicle device 2 according to embodiment 1. Fig. 2 is a block diagram illustrating the physical configuration of the in-vehicle device 2. The in-vehicle system S includes an extra-vehicle communication device 1 and an in-vehicle device 2 mounted on a vehicle C, and transmits communication data received (acquired) from an extra-vehicle device S1 connected via an extra-vehicle network N to an in-vehicle ECU 3 (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 over-the-air (OTA) server that provides update programs and the like when updating programs or data of the on-board ECU 3. The information terminal is, for example, a smartphone or the like held by the operator of the vehicle C.

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

[0034] The exterior-vehicle communication device 1 is a communication device for wireless communication using a mobile communication protocol such as 4G, 5G, or Wi-Fi (registered trademark), and transmits and receives data to and from the exterior-vehicle device S1 via an antenna 11 connected to the exterior-vehicle communication device 1. Communication between the exterior-vehicle communication device 1 and the exterior-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). The input / output I / F 22 is further configured to allow an external-vehicle communication controller 241 (additional communication controller) to be additionally connected. The in-vehicle communication controller 242 and the external-vehicle communication controller 241 correspond to communication units, and the processing unit 21 of the in-vehicle device 2 relays communication data inside and outside the vehicle C using these communication controllers 24 (in-vehicle communication controller 242 and external-vehicle communication controller 241). The in-vehicle communication controller 242 has multiple 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 that channel 240. Thus, 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. As will be described in detail later, 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 that can be logically separated (to be subject to logical separation). The logically separable hardware resources may be 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 registers used as communication buffers, etc., and the registers are shared by multiple channels 240 of the in-vehicle communication controller 242. Even in this case, by logically separating the microcomputers including the hardware resources such as the processing unit 21 for each in-vehicle communication controller 242, it is possible to maintain the correspondence with the registers. In other words, multiple logical communication processing units (logical configurations) having communication functions can be configured using the logically separated processing units 21 (external-vehicle communication processing unit 211 and in-vehicle communication processing unit 212) for each communication controller 24.

[0037] The logically separated processing unit 21 is separated into, for example, an exterior-vehicle communication processing unit 211 and an interior-vehicle communication processing unit 212. An exterior-vehicle communication controller 241 (additional communication controller) that can be additionally connected is connected to the exterior-vehicle communication processing unit 211 via, for example, an SPI-compliant input / output I / F 22. An interior-vehicle communication controller 242 (built-in communication controller) that is built into a logically separable microcomputer or the like is connected to the interior-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 also generates multiple virtual environments by starting a virtualized operating system pre-stored in the storage unit 23. These virtual environments logically separate the microcomputer including the processing unit 21, etc.

[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 read only memory (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. Alternatively, the program P may be downloaded from an external computer (not shown) connected to a communication network (not shown) and stored in the storage unit 23. A virtualization 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 SPI (Serial Peripheral Interface). The input / output I / F 22 is connected to one or more external vehicle communication controllers 241 (additional communication controllers).

[0041] The in-vehicle communication controller 242 includes a plurality of channels 240. These channels 240 share a register included in the in-vehicle communication controller 242. Each of the channels 240 of the in-vehicle communication controller 242 is connected to a communication port corresponding to a physical layer of a communication protocol, such as a CAN transceiver or an Ethernet PHY unit. The channels 240 and the communication ports of the in-vehicle communication controller 242 may be configured as an integrated unit, 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 into a microcomputer capable of logical separation (built-in communication controller).

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

[0043] 3 is a block diagram illustrating an example of the 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 that can be logically separated (to be subject to logical separation), and the logically separated hardware resources are configured, for example, by a microcomputer or the like. 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 logically separable hardware resources (microcomputer or the like).

[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 multiple virtual environments (VMs: virtual machines) by starting the virtualized operating system. Each program is executed in each of the generated virtual environments (VMs: virtual machines). As a result, each program is executed in a different virtual environment, preventing mutual interference between these programs. In this embodiment, each virtual environment (VM: virtual machine) corresponds to a logically separated communication processing unit (external-vehicle communication processing unit 211 and internal-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 there are three logically separated communication processing units, the communication processing units include one outside-vehicle communication processing unit 211 and two inside-vehicle communication processing units 212; that is, 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 multiple 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-vehicle communication processing unit 211 and an interior-vehicle communication processing unit 212 by logical separation. The input / output I / F 22 to which an exterior-vehicle communication controller 241 is connected belongs to the virtual environment in which the exterior-vehicle communication processing unit 211 operates. The virtual environment in which the interior-vehicle communication processing unit 212 operates belongs to one or more (two in the illustrated embodiment) interior-vehicle communication controllers 242. The exterior-vehicle communication processing unit 211 and the interior-vehicle communication processing unit 212 are communicably connected by an internal network configured by the virtualized operating system, and can communicate with each other between the separate units.

[0046] The exterior-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-vehicle communication processing unit 211 and the input / output I / F 22 are connected, for example, by an internal bus. An exterior-vehicle communication controller 241 is connected to the input / output I / F 22. For example, if the input / output I / F 22 complies with SPI (Serial Peripheral Interface), the exterior-vehicle communication processing unit 211 and the exterior-vehicle communication controller 241 are connected so as to be able to communicate 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 them.

[0048] When the exterior-vehicle communication device 1 receives communication data (exterior-vehicle communication) from an exterior-vehicle device S1 such as an external server or an information terminal, the exterior-vehicle communication device 1 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 communication device 1 to the exterior-vehicle communication processing unit 211. The exterior-vehicle communication processing unit 211 performs a first determination regarding the validity of the communication data from the exterior-vehicle communication controller 241, and outputs only communication data for which the determination result is positive to the interior-vehicle communication processing unit 212 via an internal network configured by the virtualized operating system. The exterior-vehicle communication controller 241 and the interior-vehicle communication processing unit 212, which are controlled by the exterior-vehicle communication processing unit 211, are logically separated, i.e., operate in different virtual environments, and therefore, it is possible to reliably prevent the communication data from the exterior-vehicle communication controller 241 from being directly output to the interior-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., 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, via an internal bus. The in-vehicle communication controller 242 has multiple (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 out-vehicle 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 channels 240 (communication ports) of the in-vehicle communication controller 242 via a communication line 41 corresponding to the communication protocol.

[0050] The in-vehicle communication processing unit 212 receives (acquires) communication data from the exterior communication processing unit 211 via separate communication (an internal network configured by a virtualized operating system). The in-vehicle communication processing unit 212 performs a second determination regarding the validity of the received communication data, and outputs only communication data for which the determination result is affirmative 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 exterior 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 if all determination results of the multi-layer processing are affirmative. Therefore, multi-layer defense against unauthorized communication data from outside the vehicle can be achieved for 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 state or a 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 using these virtual environments. In this embodiment, the flow of processing performed by the external-vehicle communication processing unit 211 and the 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 determines whether exterior-vehicle communication has been performed (S101). The exterior-vehicle communication processing unit 211 is constantly waiting for communication data from an exterior-vehicle communication controller 241 connected via an input / output I / F 22 compliant with, for example, SPI or the like. The exterior-vehicle communication controller 241 is connected to an exterior-vehicle communication device 1 having a wireless function via a communication line 41 (Ethernet cable, CAN bus) according to a communication protocol such as Ethernet or CAN. The exterior-vehicle communication device 1 is constantly waiting for communication data to be transmitted from an external server such as an OTA server or an exterior-vehicle device S1 including an information terminal such as a smartphone. When communication data is received from the exterior-vehicle device S1, the exterior-vehicle communication processing unit 211 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 determines whether exterior-vehicle communication has been performed based on whether communication data has been output from the exterior-vehicle communication controller 241.

[0053] If 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. If it is determined that the vehicle exterior communication is not being performed, the vehicle exterior communication processing unit 211 executes 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 exterior-vehicle communication has been performed (S101: YES), the exterior-vehicle communication processing unit 211 receives the communication data via the exterior-vehicle communication controller 241 (S102). When it is determined that the exterior-vehicle communication has been performed, the exterior-vehicle communication processing unit 211 receives the communication data via the exterior-vehicle communication controller 241 and stores the received communication data in a storage area (memory area) of the storage unit 23 accessible to the exterior-vehicle communication processing unit 211. The exterior-vehicle communication processing unit 211 is, for example, a logically separated microcomputer hardware resource (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 exterior-vehicle communication processing unit 211 stores the received communication data in a storage area (memory area) allocated to the virtual environment.

[0055] The exterior-vehicle communication processing unit 211 performs a first determination regarding the validity of the communication data (S103). The exterior-vehicle communication processing unit 211 performs the first determination regarding the validity of the received communication data, such as determining whether the data is unauthorized data, such as unauthorized access such as spoofing, attack data such as DOS, or data other than previously permitted data (unauthorized data). The exterior-vehicle communication processing unit 211 may perform the first determination by executing various security programs.

[0056] The exterior-vehicle communication processing unit 211 determines whether 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 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 loop processing to execute the process of S101 again. If the result of the first determination is not positive, i.e., if the result is negative and the communication data is determined to be invalid, the exterior-vehicle communication processing unit 211 performs loop processing 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] If the result of the first determination is positive (S104: YES), the exterior-vehicle communication processing unit 211 transmits the communication data to the in-vehicle communication processing unit 212 through inter-separate communication (S105). After transmitting the communication data to the in-vehicle communication processing unit 212 through inter-separate communication, the exterior-vehicle communication processing unit 211 terminates the processing. An internal network for inter-virtual environment communication (inter-VM communication) between the virtual environment corresponding to the in-vehicle communication processing unit 212 and the virtual environment corresponding to the exterior-vehicle communication processing unit 211 is configured by a virtualization 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 the storage unit 23, and the exterior-vehicle communication processing unit 211 and the in-vehicle communication processing unit 212 may each write and refer to communication data to be used for inter-separate communication in the shared memory area. Alternatively, a VM management unit (VM control panel) that manages the virtualized operating system may perform inter-process communication (relay) of communication data that is the target of inter-vehicle communication between the exterior-vehicle communication processing unit 211 and the interior-vehicle communication processing unit 212, thereby virtually configuring an internal bus between the exterior-vehicle communication processing unit 211 and the interior-vehicle communication processing unit 212 (the exterior-vehicle communication processing unit 211 and the interior-vehicle communication processing unit 212 communicate logically). The exterior-vehicle communication processing unit 211 and the interior-vehicle communication processing unit 212 that are logically separated in this manner can perform inter-vehicle communication via an internal network configured by the virtualized operating system. After executing step S105, the exterior-vehicle communication processing unit 211 may again execute the process from step S101 and wait for communication data (exterior-vehicle communication) from the exterior-vehicle device S1.

[0059] The in-vehicle communication processing unit 212 receives the communication data from the outside-vehicle communication processing unit 211 through separate communication (S106). The in-vehicle communication processing unit 212 receives the 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 by the in-vehicle communication processing unit 212 (a storage area allocated to the virtual environment in which the in-vehicle communication processing unit 212 operates).

[0060] The in-vehicle communication processing unit 212 performs a second determination on the validity of the communication data (S107). The in-vehicle communication processing unit 212 performs the second determination on the validity of the received communication data, determining whether the data is unauthorized data, such as 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 undergone a first determination by the outside-vehicle communication processing unit 211, and the determination result of the first determination has been determined to be positive (the communication data is valid). Therefore, the communication data can be subjected to a two-layer process (multi-layer processing) of validity determination by the outside-vehicle communication processing unit 211 and the in-vehicle communication processing unit 212, i.e., 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 exterior-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 exterior-vehicle communication processing unit 211 may be greater than the types of security determination processing included in the second determination by the in-vehicle communication processing unit 212, so that the processing load on the exterior-vehicle communication processing unit 211 is higher than the processing load on the in-vehicle communication processing unit 212. The in-vehicle communication processing unit 212 is responsible for relaying communication data transmitted and received between multiple in-vehicle ECUs 3 connected to the in-vehicle network 4. Therefore, by lowering the processing load required for the security determination processing than that of the exterior-vehicle communication processing unit 211, it is possible to suppress the occurrence of delays, etc. in the relaying processing.

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

[0063] If the result of the second determination 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 determination is positive, the communication data indicates that the results of both the first determination and the second determination are positive, and multi-layer processing for correct / incorrect determination has been performed. The in-vehicle communication processing unit 212 transmits the communication data, for which multi-layer processing for correct / incorrect determination has been performed and for which all determination results are favorable, to 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), e.g., 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 identify the in-vehicle ECU 3 to be the relay destination based on header information, etc., 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 terminates the processing. Alternatively, after executing processing S109, the in-vehicle communication processing unit 212 may again execute processing from S106 and wait for communication data (separate communication) from the outside-vehicle communication processing unit 211.

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

[0066] In the direction in which communication data flows from the external device S1, the logically separated external communication processing unit 211 and each of the multiple internal communication processing units 212 are connected in series with the external communication processing unit 211 being the most upstream unit. The two internal communication processing units 212 connected in series are communicably 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 connected in series (the downstream in-vehicle communication processing unit 212 and the upstream in-vehicle communication processing unit 212). These two in-vehicle communication processing units 212 operate in different virtual environments. Therefore, the in-vehicle communication controller 242 connected to the downstream in-vehicle communication processing unit 212 and the in-vehicle communication controller 242 connected to the in-vehicle communication processing unit 212 of the upstream in-vehicle communication processing unit 212 belong to different virtual environments. As a result, the upstream in-vehicle communication processing unit 212 cannot directly access the in-vehicle communication controller 242 connected to the downstream in-vehicle communication processing unit 212, and similarly, the downstream in-vehicle communication processing unit 212 cannot directly access the in-vehicle communication controller 242 connected to the upstream in-vehicle communication processing unit 212.

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

[0069] The downstream in-vehicle communication processing unit 212 performs a second determination on the communication data received from the upstream in-vehicle communication processing unit 212, and outputs only the communication data for which the determination result is affirmative from the channel 240 (communication port) of the in-vehicle communication controller 242 connected to the downstream in-vehicle communication processing unit 212 (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 etc. in accordance with the number of in-vehicle communication processing units 212. This can improve the accuracy and reliability of the determination process for communication data flowing to the in-vehicle communication processing unit 212 located downstream, in particular. That is, it can improve 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, and efficiently ensure the robustness of the in-vehicle ECU 3 connected to the in-vehicle communication controller 242. 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 units 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 this manner, among the multiple in-vehicle communication processing units 212 logically connected in series, 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 performs 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 performs processing. As described above, among 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 performs (logically connected) processing, 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 a third embodiment (including multiple out-of-vehicle communication controllers 241). The hardware resources (microcomputers, etc.) of the in-vehicle device 2 are logically separated according to multiple virtual environments (VMs: virtual machines) generated by a virtualized operating system, as in the first embodiment. The in-vehicle communication processing unit 212 in which the processing unit 21 and the like are logically separated, and the in-vehicle communication controller 242 and the like 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, etc., 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 multiple interface portions and is configured to allow multiple 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, even if it is necessary to connect multiple exterior-vehicle communication devices 1 to the in-vehicle device 2 (exterior-vehicle communication processing unit 211) depending on the type of protocol for communicating with the exterior-vehicle device S1, the exterior-vehicle communication processing unit 211 can additionally connect multiple exterior-vehicle communication controllers 241 (additional communication controllers) according to the multiple 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 to be considered as illustrative in all respects and not restrictive. 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 meaning and scope of the claims.

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

[0077] C Vehicle S In-vehicle system S1 External device N External network 1 External communication device 11 Antenna 2 In-vehicle device 21 Processing unit 211 External communication processing unit 212 Internal communication processing unit 22 Input / output I / F 23 Storage unit P Program (program product) M Recording medium 24 Communication controller 240 Channel 241 External communication controller (additional communication controller) 242 Internal communication controller (built-in communication controller) 3 In-vehicle ECU 4 In-vehicle network 41 Communication line

Claims

1. An in-vehicle device comprising an exterior communication controller for communicating with an external 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.

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

3. The in-vehicle device according to claim 2, wherein 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.

4. The in-vehicle device according to claim 1, wherein the exterior-of-vehicle communication processing unit performs a first determination regarding the validity of communication data received from the exterior-of-vehicle device via the exterior-of-vehicle communication controller, and if a result of the first determination is positive, outputs the communication data to the in-vehicle communication processing unit by separate communication.

5. The in-vehicle communication processing unit of claim 4, further comprising: a second determination as to the validity of the communication data from the in-vehicle communication processing unit; and if the result of the second determination is positive, outputting the communication data to the in-vehicle ECU via the in-vehicle communication controller.

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

7. An in-vehicle device as described in claim 1, further comprising a memory unit in which a virtualized operating system launched by the processing unit is stored, and 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 launching the virtualized operating system.

8. The in-vehicle device according to claim 7, wherein 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.

9. A program for causing 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 in-vehicle ECU located inside the vehicle, and a processing unit for performing communication-related processing, to execute a process of logically separating 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 processing communication data from the exterior-vehicle device in the exterior-vehicle communication processing unit, and then processing the data in the in-vehicle communication processing unit.

10. An information processing method for a program that 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 communication-related processing 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.

Citation Information

Patent Citations

  • TEE-based method for realizing safety isolation of vehicle-mounted internal network and vehicle-mounted external network

    CN112953909A

  • Deetashorishisutemu

    JP1976043652A

  • Computational unit and determination method

    JP2020166583A