On-vehicle information processing device and on-vehicle information processing method
The in-vehicle information processing device ensures stable communication between multiple processing units by detecting abnormalities and switching to external communication paths, using Ethernet or SPI protocols, thus maintaining reliability and reducing size and cost.
Patent Information
- Application Number
- JP2022569822
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-12-15
- Filing Date
- 2021-11-26
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2041-11-26
AI Technical Summary
Existing in-vehicle information processing devices face instability in communication between multiple processing units, necessitating more stable communication methods.
The device includes a plurality of processing units, a shared storage unit, and a detection unit to detect abnormalities, allowing communication via a communication line outside the integrated circuit when an abnormality occurs, utilizing Ethernet or SPI communication protocols to ensure stable data exchange.
This configuration enables stable communication between processing units even in the presence of abnormalities, reducing device size and cost while maintaining reliable data transmission.
Smart Images

Figure 0007533625000005 
Figure 0007533625000006 
Figure 0007533625000001
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to an in-vehicle information processing device and an in-vehicle information processing method for exchanging information between a plurality of processing units. [Background technology]
[0002] Patent Document 1 describes a multi-core computing device that includes a first core, a second core, and a shared memory, with both cores communicating via the shared memory. In this multi-core computing device, the first core executes a behavior schedule application that determines a behavior schedule that indicates the order of behavior changes in a vehicle drivetrain device that is the control target, and the second core executes an actuator control application that controls the actuators that operate the vehicle drivetrain device and a sensing application that acquires and provides physical information. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 2018-13843 Summary of the Invention [Problem to be solved by the invention]
[0004] There are cases where an in-vehicle information processing device and an in-vehicle information processing method that go beyond the technology described in Patent Document 1 and enable more stable communication between a plurality of processing units are desired.
[0005] The present disclosure has been made in consideration of such circumstances, and its purpose is to provide an in-vehicle information processing device and an in-vehicle information processing method that are expected to enable more stable communication between multiple processing units. [Means for solving the problem]
[0006] The in-vehicle information processing device according to this aspect is mounted on a vehicle and includes a plurality of processing units that perform processing in parallel, a shared storage unit accessible by the plurality of processing units, and a detection unit that detects an abnormality in the shared storage unit, and each of the processing units has a communication unit that performs communication via a communication line; the plurality of processing units and the shared storage unit are contained in a single integrated circuit; The plurality of processing units exchange information via the shared storage unit, and when the detection unit detects an abnormality in the shared storage unit, via a communication path external to the integrated circuit Information is exchanged through communication by the communication unit.
[0007] The present application can be realized not only as a device having such a characteristic control unit, but also as a method having such characteristic processing steps, or as a computer program for causing a computer to execute such steps, or as a semiconductor integrated circuit that realizes part or all of these devices, or as other devices or systems that include these devices. [Effects of the Invention]
[0008] According to the above, it is expected that communication between a plurality of processing units will be more stable. [Brief explanation of the drawings]
[0009] [Figure 1] 1 is a block diagram showing a configuration of an in-vehicle information processing device according to an embodiment of the present invention; [Figure 2] 2 is a schematic diagram for explaining communication between a first processor and a second processor of the in-vehicle information processing device according to the present embodiment. FIG. [Figure 3] 2 is a schematic diagram for explaining communication between a first processor and a second processor of the in-vehicle information processing device according to the present embodiment. FIG. [Figure 4] 5 is a flowchart showing a procedure for data transmission in inter-processor communication performed by the on-board information processing device according to the present embodiment. [Figure 5] 5 is a flowchart showing a procedure for receiving data in inter-processor communication performed by the on-board information processing device according to the present embodiment. [Figure 6] FIG. 10 is a block diagram showing the configuration of an in-vehicle information processing device according to a second embodiment. [Figure 7] FIG. 10 is a block diagram showing a configuration of an in-vehicle information processing device according to a third embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0010] [Description of Embodiments of the Present Disclosure] First, embodiments of the present disclosure will be listed and described. At least some of the embodiments described below may be combined in any combination.
[0011] (1) The in-vehicle information processing device according to this aspect is mounted on a vehicle and comprises a plurality of processing units that perform processing in parallel, a shared memory unit accessible by the plurality of processing units, and a detection unit that detects abnormalities in the shared memory unit. The processing units each have a communication unit that communicates via a communication line, and the plurality of processing units exchange information via the shared memory unit. When the detection unit detects an abnormality in the shared memory unit, the information is exchanged by communication via the communication unit.
[0012] In this aspect, the in-vehicle information processing device includes a plurality of processing units that perform processing in parallel and a shared storage unit accessible by the plurality of processing units. The plurality of processing units exchange information via the shared storage unit. If an abnormality is detected in the shared storage unit, the plurality of processing units exchange information by communication via a communication line. As a result, even if an abnormality occurs in the shared storage unit, it is expected that the plurality of processing units will continue to exchange information by communication via the communication line.
[0013] (2) It is preferable that the multiple processing units and the shared memory unit are contained within a single integrated circuit, and when the detection unit detects an abnormality in the shared memory unit, information is exchanged via a communication path outside the integrated circuit.
[0014] In this embodiment, the multiple processing units and the shared storage unit are housed within a single integrated circuit. This allows for the miniaturization of the in-vehicle information processing device. Furthermore, when the in-vehicle information processing device detects an abnormality in the shared storage unit, the multiple processing units exchange information via a communication line provided outside the integrated circuit. This eliminates the need to provide a communication path for abnormalities within the integrated circuit, and when an abnormality occurs in the shared storage unit, the multiple processing units can exchange information using a communication path outside the integrated circuit.
[0015] (3) It is preferable that the communication unit included in each of the plurality of processing units is connected to a communication line provided outside the integrated circuit, and that information is exchanged via the communication line.
[0016] In this aspect, the communication units of the plurality of processing units are connected to a communication line provided outside the integrated circuit. If an abnormality occurs in the shared storage unit, the plurality of processing units exchange information by communicating via the communication line provided outside the integrated circuit. This allows the plurality of processing units to exchange information using the communication units of each processing unit with a simple configuration in which the communication units are connected via a communication line.
[0017] (4) It is preferable that the device is provided with a communication integrated circuit for communicating with other devices, and that the communication units possessed by each of the plurality of processing units are connected to the communication integrated circuit via communication lines, and that information is exchanged via the communication integrated circuit.
[0018] In this aspect, the in-vehicle information processing device includes a communication integrated circuit that communicates with other devices. The communication units of the multiple processing units are connected to the communication integrated circuit via communication lines. If an abnormality occurs in the shared storage unit, the multiple processing units exchange information via the communication integrated circuit. This allows the multiple processing units to exchange information using the communication integrated circuit that is provided in the communication path for the processing units to communicate with other devices.
[0019] (5) The communication integrated circuit is preferably a communication integrated circuit that performs communication based on an Ethernet communication protocol.
[0020] In this aspect, the communication integrated circuit communicates using the Ethernet communication protocol, which is expected to enable the in-vehicle information processing device to achieve safe and reliable transmission and reception of information between multiple processing units.
[0021] (6) It is preferable that the communication integrated circuit is a communication integrated circuit that performs communication based on a SPI (Serial Peripheral Interface) communication protocol.
[0022] In this embodiment, the communication integrated circuit communicates using the SPI communication protocol. Communication integrated circuits that communicate based on the SPI communication protocol are often less expensive than communication integrated circuits that communicate based on the CAN communication protocol or the Ethernet communication protocol. This is expected to enable the in-vehicle information processing device to achieve both reduced component costs and stable information transmission and reception between multiple processors.
[0023] (7) It is preferable that the communication unit of each of the plurality of processing units is connected to a relay device outside the device via a communication line, and that information is exchanged via the relay device.
[0024] In this aspect, the communication units of the plurality of processing units are respectively connected to a relay device external to the in-vehicle information processing device via a communication line. If an abnormality occurs in the shared storage unit, the plurality of processing units exchange information by communicating via the external relay device. This eliminates the need to provide a communication path for abnormalities within the in-vehicle information processing device, and allows the plurality of processing units to exchange information using the external relay device if an abnormality occurs in the shared storage unit.
[0025] (8) In the in-vehicle information processing method according to this aspect, an in-vehicle information processing device includes a plurality of processing units that perform processing in parallel and a shared memory unit that is accessible to the plurality of processing units, and transmits and receives information between the plurality of processing units via the shared memory unit. When an abnormality in the shared memory unit is detected, the information is transmitted and received between the plurality of processing units via communication via a communication line.
[0026] In this embodiment, as in embodiment (1), even if an abnormality occurs in the shared memory unit, it is expected that the multiple processing units will continue to exchange information through communication via the communication line.
[0027] [Details of the embodiments of the present disclosure] Specific examples of an in-vehicle information processing device according to an embodiment of the present disclosure will be described below with reference to the drawings. The present disclosure is not limited to these examples, but is defined by the claims, and is intended to include all modifications within the meaning and scope of the claims.
[0028] <First Embodiment> <Device configuration> Fig. 1 is a block diagram showing the configuration of an on-vehicle information processing device according to this embodiment. The on-vehicle information processing device 10 according to this embodiment may be various devices such as an ECU (Electronic Control Unit) or a GW (Gateway) mounted on a vehicle 100. The on-vehicle information processing device 10 includes a plurality of processing units that perform various arithmetic processing by executing programs. As shown in Fig. 1, the on-vehicle information processing device 10 according to this embodiment includes two processing units, a first processor 11 and a second processor 12.
[0029] Although not shown, the first processor 11 includes an arithmetic processing device such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit), a storage device such as an SRAM (Static Random Access Memory) or a DRAM (Dynamic Random Access Memory), an input / output interface for inputting and outputting signals, etc. The first processor 11 also includes a communication unit 11a for communicating with devices external to the in-vehicle information processing device 10 based on a communication protocol such as Ethernet (registered trademark) or CAN (Controller Area Network).
[0030] Similarly, the second processor 12 has an arithmetic processing unit such as a CPU or an MPU, a storage device such as an SRAM or a DRAM, and an input / output interface for inputting and outputting signals. The second processor 12 also has a communication unit 12a that communicates with devices external to the in-vehicle information processing device 10 based on a communication protocol such as Ethernet or CAN. The first processor 11 and the second processor 12 do not need to be processors with the same functions, performance, and processing speed, and may be processors with different functions, performance, processing speed, etc.
[0031] The first processor 11 and the second processor 12 can perform processing independently and in parallel. The first processor 11 and the second processor 12 can exchange data (information) through inter-processor communication, and in the in-vehicle information processing device 10 according to this embodiment, the first processor 11 and the second processor 12 perform inter-processor communication using the shared memory 13. For example, the first processor 11 writes data to the shared memory 13, and the second processor 12 reads this data, thereby realizing transmission of data from the first processor 11 to the second processor 12.
[0032] The shared memory 13 is configured using a memory element such as an SRAM or a DRAM. The shared memory 13 may also be configured using a non-volatile memory element such as a flash memory or an EEPROM (Electrically Erasable Programmable Read Only Memory). The shared memory 13 can be accessed (to write and read data) by both the first processor 11 and the second processor 12. However, the shared memory 13 does not need to be accessible by the first processor 11 and the second processor 12 simultaneously.
[0033] Furthermore, in the in-vehicle information processing device 10 according to this embodiment, the first processor 11, the second processor 12, and the shared memory 13 are configured to be housed in a single IC (Integrated Circuit), a so-called SoC (System on Chip) configuration. The SoC configuration is expected to enable faster processing and a more compact device. However, the first processor 11, the second processor 12, and the shared memory 13 do not have to be configured to be housed in a single chip, and may be configured, for example, as a SiP (System in a Package) in which multiple chips are housed in a single package, or may be separated into multiple ICs, for example.
[0034] The communication unit 11a of the first processor 11 and the communication unit 12a of the second processor 12 communicate with other devices based on, for example, an Ethernet communication protocol. The communication units 11a and 12a perform data transmission by generating messages or data frames containing various data to be transmitted to other devices and outputting the messages or data frames to a communication line, and also perform processing to receive data transmitted by other devices via the communication line. In this embodiment, the communication units 11a and 12a are connected to a communication IC (communication integrated circuit) 14 of the in-vehicle information processing device 10 via the communication line. In this embodiment, an SoC IC including the first processor 11, the second processor 12, and the shared memory 13, and the communication IC 14 are mounted on a circuit board, and terminals of the SoC IC and terminals of the communication IC 14 are electrically connected via communication lines provided as wiring patterns on the circuit board.
[0035] The communication IC 14 is connected to ICs of the SoC including the first processor 11, the second processor 12, and the shared memory 13 via communication lines, and is also connected to devices external to the in-vehicle information processing device 10 via communication lines, thereby mediating communication inside and outside the in-vehicle information processing device 10. When the in-vehicle information processing device 10 performs communication based on, for example, an Ethernet communication protocol, an IC such as an Ethernet switch may be used as the communication IC 14. The Ethernet switch is, for example, an L2SW (Layer 2 Switch) or an L3SW (Layer 3 Switch). The communication IC 14 is connected to multiple communication lines, and mediates data transmission and reception by appropriately transmitting data received on one communication line from another communication line.
[0036] When the communication IC 14 is an IC that performs communication based on the Ethernet communication protocol, the in-vehicle information processing device 10 according to this embodiment can selectively use, for example, TCP (Transmission Control Protocol) or UDP (User Datagram Protocol) as a Layer 4 (transport layer) communication protocol depending on the importance of the data to be transmitted and received. For example, the in-vehicle information processing device 10 transmits and receives data of high importance using the TCP communication protocol and transmits and receives data of low importance using the UDP communication protocol. By selectively using such Layer 4 communication protocols, the in-vehicle information processing device 10 can be expected to accurately deliver important data to the target processor.
[0037] The importance of data may be determined according to the Automotive Safety Integrity Level (ASIL) safety level defined in ISO26262, a functional safety standard for the automotive industry. ASIL defines five safety levels, D, C, B, A, and QM, in descending order of safety standard. For example, data related to safety levels D, C, and B may be determined to be of high importance, while data related to safety levels A and QM may be determined to be of low importance, and the TCP or UDP communication protocol may be used accordingly.
[0038] Furthermore, when an in-vehicle information processing device has three or more processors, when transmitting and receiving data between processors, it is possible to use, for example, an IP address or a MAC address to specify the destination of the data, which allows the in-vehicle information processing device to more reliably deliver data from the source processor to the destination processor.
[0039] Furthermore, if the communication IC 14 is an IC that performs communication based on the Ethernet communication protocol, it can transmit and receive encrypted data using SSL (Secure Sockets Layer) or TLS (Transport Layer Security). By using SSL or TLS, the in-vehicle information processing device 10 can transmit and receive data securely between multiple processors.
[0040] The communication IC 14 may also communicate based on the SPI communication protocol. An IC that communicates based on the SPI communication protocol is often less expensive than an IC that communicates based on the CAN communication protocol or an IC that communicates based on the Ethernet communication protocol. Therefore, by employing an IC that communicates based on the SPI communication protocol as the communication IC 14, the in-vehicle information processing device 10 according to this embodiment is expected to achieve both reduced component costs and stable data transmission and reception between multiple processors.
[0041] In the in-vehicle information processing device 10 according to this embodiment, as described above, the first processor 11 and the second processor 12 perform processing in parallel, and exchange data via the shared memory 13 as necessary. By having the first processor 11 and the second processor 12 exchange data via the shared memory 13 provided in the same IC, high-speed data exchange can be expected. Here, if an abnormality occurs in the shared memory 13, the first processor 11 and the second processor 12 may not be able to exchange data and may not be able to continue processing. Therefore, in the in-vehicle information processing device 10 according to this embodiment, when an abnormality in the shared memory 13 is detected, the first processor 11 and the second processor 12 exchange data via a communication path provided outside the IC in which they are housed.
[0042] In this embodiment, the presence or absence of an abnormality in the shared memory 13 is detected based on whether writing of data to the shared memory 13 was successful. For example, the first processor 11 writes data to be sent to the second processor 12 to the shared memory 13, and after the writing is complete, reads this data from the shared memory 13 and determines whether the written data matches the read data. If the two pieces of data match, the first processor 11 determines that writing of the data to the shared memory 13 was successful. If the two pieces of data do not match, the first processor 11 determines that writing of the data to the shared memory 13 failed and that an abnormality has occurred in the shared memory 13. However, the first processor 11 may also attempt to write data to the shared memory 13 multiple times and determine that an abnormality has occurred if all writes fail. The same applies when the second processor 12 sends data to the first processor 11.
[0043] In this embodiment, the first processor 11 and the second processor 12 can transmit and receive data via a communication IC 14, which serves as a communication path provided outside the IC housing the first processor 11, the second processor 12, and the shared memory 13. When the first processor 11 detects an abnormality in the shared memory 13, it transmits a message containing data to be transmitted to the second processor 12 from the communication unit 11a. The message transmitted by the communication unit 11a is received by the communication IC 14 via a communication line. For example, the second processor 12 is set as the destination of this message, and the communication IC 14 transmits the received message via a communication line connected to the communication unit 12a of the second processor 12, which is set as the destination. The message transmitted by the communication IC 14 is received by the communication unit 12a, and the second processor 12 can perform processing based on the data contained in the received message. The same applies when the second processor 12 transmits data to the first processor 11.
[0044] Furthermore, after first processor 11 detects an abnormality in shared memory 13 once, when thereafter transmitting data to second processor 12, it may transmit the data by communication via a communication path outside the IC using communication unit 11a, without writing the data to shared memory 13. However, even after first processor 11 detects an abnormality in shared memory 13 once, when thereafter transmitting data to second processor 12, it may write the data to shared memory 13, and if the writing fails, transmit the data by communication via a communication path outside the IC using communication unit 11a. The same applies when second processor 12 transmits data to first processor 11.
[0045] <Inter-processor communication processing> 2 and 3 are schematic diagrams illustrating communication between the first processor 11 and the second processor 12 of the in-vehicle information processing device 10 according to this embodiment. The illustrated examples show the flow of data transmission from the first processor 11 to the second processor 12, with FIG. 2 showing a case where no abnormality occurs in the shared memory 13 and FIG. 3 showing a case where an abnormality occurs in the shared memory 13. Also, FIGS. 2 and 3 show the relationship between inter-processor communication processing (communication using the shared memory 13) and external communication processing (communication using a communication path external to the IC) for the first processor 11 and the second processor 12, and processing related to semaphores (variables for exclusive control) and memory (data storage) for the shared memory 13. The inter-processor communication processing and external communication processing correspond to processes, tasks, etc. running on the first processor 11 and the second processor 12.
[0046] In the in-vehicle information processing device 10 according to this embodiment, an exclusive process (exclusive control, mutual exclusion, mutual exclusion) is performed to restrict simultaneous access of the first processor 11 and the second processor 12 to the shared memory 13. In this example, a semaphore is used for the exclusive process, but this is not limitative, and for example, a monitor or a mutex may be used for the exclusive process. The semaphore may be realized by any hardware or software.
[0047] 2, when the first processor 11 needs to send data to the second processor 12 via inter-processor communication, it first acquires a semaphore corresponding to the access right to the shared memory 13. If the first processor 11 successfully acquires the semaphore, it writes the data to a storage area indicated by a desired address in the shared memory 13. After successfully writing the data, the first processor 11 releases the semaphore and notifies the second processor 12 that the data writing has been completed.
[0048] The second processor 12, which has received a data write completion notification from the first processor 11, for example, through an interrupt process, acquires a semaphore to access the shared memory 13. If the acquisition of the semaphore is successful, the second processor 12 reads the data written by the first processor 11 from the shared memory 13 and then releases the semaphore. After reading the data from the shared memory 13, the second processor 12 can execute processing using the read data.
[0049] For example, if the first processor 11 attempts to acquire the semaphore to write data after the second processor 12 has acquired the semaphore, the first processor 11 cannot acquire the semaphore because the second processor 12 has already acquired it, and must wait until the semaphore is released. After that, the second processor 12 releases the semaphore, allowing the first processor 11 to acquire the semaphore and write data to the shared memory 13. The first processor 11 releases the semaphore after finishing writing the data.
[0050] 3, if the first processor 11 acquires a semaphore and attempts to write data to the shared memory 13, but the write fails, in this embodiment the first processor 11 releases the semaphore. Thereafter, the first processor 11 transmits the data that the write failed to to the second processor 12 via an external communication path. At this time, in the first processor 11, a data transmission request is given from the inter-processor communication processing process to the external communication processing process, and in response to this transmission request, the external communication processing process transmits the data to the second processor 12 via the external communication path (communication line and communication path of the communication IC 14) by the communication unit 11a.
[0051] Data transmitted from the first processor 11 via an external communication path is received by the second processor 12. At this time, in the second processor 12, the external communication processing process acquires the data received by the communication unit 12a and provides the acquired data to the inter-processor communication processing process. The second processor 12 can execute processing using the data received via the external communication path.
[0052] <Flowchart> 4 is a flowchart showing the procedure for data transmission in inter-processor communication performed by the in-vehicle information processing device 10 according to this embodiment. In the following description, the first processor 11 performs the data transmission process, but the same procedure may be followed when the second processor 12 performs the data transmission process. When it becomes necessary to transmit data to the second processor 12, the first processor 11 of the in-vehicle information processing device 10 according to this embodiment performs exclusive processing to restrict the second processor 12's access to the shared memory 13 (step S1). When a semaphore is used for the exclusive processing, the exclusive processing in step S1 corresponds to the processing of acquiring the semaphore.
[0053] Next, the first processor 11 writes data to the shared memory 13 (step S2). The first processor 11 determines whether the data writing was successful or not, for example, by reading the written data and comparing the data (step S3). If the data writing was successful (S3: YES), the first processor 11 performs an exclusive termination process to remove the restriction on access to the shared memory 13 (step S4). If a semaphore is used for the exclusive process, the exclusive termination process in step S4 corresponds to a process of releasing the semaphore. Thereafter, the first processor 11 notifies the second processor 12 that the data writing to the shared memory 13 has been completed (step S5), and ends the process.
[0054] If the data writing fails (S3: NO), the first processor 11 performs an exclusive termination process to release the restriction on access to the shared memory 13 (step S6). After that, the first processor 11 transmits the data to the second processor 12 by communication via the communication IC 14 in the communication unit 11a (step S7), and ends the process.
[0055] 5 is a flowchart showing the procedure for data reception in inter-processor communication performed by the in-vehicle information processing device 10 according to this embodiment. In the following description, it is assumed that the second processor 12 performs the data reception process, but the same procedure may be followed when the first processor 11 performs the data reception process. The second processor 12 of the in-vehicle information processing device 10 according to this embodiment determines whether or not it has received a notification from the first processor 11 that writing of data to the shared memory 13 has been completed (step S21).
[0056] When the second processor 12 receives a notification of the completion of the write from the first processor 11 (S21: YES), the second processor 12 performs an exclusion process to restrict the first processor 11's access to the shared memory 13 (step S22). Thereafter, the second processor 12 reads the data written by the first processor 11 from the shared memory 13 (step S23). The address of the shared memory 13 from which the second processor 12 reads the data may be provided by the first processor 11 together with the write completion notification, for example, or may be a predetermined address. After reading the data, the second processor 12 performs an exclusion end process to release the restriction on access to the shared memory 13 (step S24), and ends the process.
[0057] If the second processor 12 has not received a notification of the completion of writing (S21: NO), the second processor 12 determines whether the communication unit 12a has received data from the first processor 11 via a communication path provided outside the IC (step S25). If the communication unit 12a has not received data (S25: NO), the second processor 12 returns the process to step S21. If the second processor 12 has received data from the first processor 11 (S25: YES), the second processor 12 acquires the data from the first processor 11 received by the communication unit 12a (step S26) and ends the process.
[0058] <Summary> The in-vehicle information processing device 10 according to this embodiment having the above configuration includes a first processor 11 and a second processor 12 that perform processing in parallel, and a shared memory 13 that is accessible by these multiple processors. The first processor 11 and the second processor 12 exchange data via the shared memory 13. If an abnormality is detected in the shared memory 13, the first processor 11 and the second processor 12 exchange data by communication via a communication line. As a result, even if an abnormality occurs in the shared memory 13, the first processor 11 and the second processor 12 can be expected to continue exchanging data by communication via the communication line.
[0059] Furthermore, in the in-vehicle information processing device 10 according to this embodiment, the first processor 11, the second processor 12, and the shared memory 13 are housed within a single IC. This makes it possible to reduce the size of the in-vehicle information processing device 10. Furthermore, when the in-vehicle information processing device 10 detects an abnormality in the shared memory 13, the first processor 11 and the second processor 12 exchange data via a communication path provided outside the IC. This eliminates the need to provide a communication path for abnormalities within the IC, and when an abnormality occurs in the shared memory 13, the first processor 11 and the second processor 12 can exchange data using a communication path outside the IC.
[0060] The in-vehicle information processing device 10 according to this embodiment also includes a communication IC 14 that communicates with other devices. The communication unit 11a of the first processor 11 and the communication unit 12a of the second processor 12 are each connected to the communication IC 14 via a communication line. If an abnormality occurs in the shared memory 13, the first processor 11 and the second processor 12 exchange data via the communication IC 14. This allows the first processor 11 and the second processor 12 to exchange data using the communication IC 14, which is provided in a communication path for the first processor 11 and the second processor 12 to communicate with other devices.
[0061] In this embodiment, the processes performed by the first processor 11 and the second processor 12 may be performed by an application program running on the first processor 11 and the second processor 12, by a system program such as an OS (Operating System), or by hardware. In this embodiment, the communication lines include wiring formed as a pattern on a circuit board.
[0062] <Embodiment 2> 6 is a block diagram showing the configuration of an on-board information processing device 10 according to the second embodiment. In the on-board information processing device 10 according to the second embodiment, a communication unit 11a of a first processor 11 and a communication unit 12a of a second processor 12, which are housed in a single IC, are directly connected to each other via a communication line 214 outside the IC. For example, a terminal of the IC for connecting the communication unit 11a to the communication line and a terminal of the IC for connecting the communication unit 12a to the communication line are electrically connected to each other via a wiring pattern provided on a circuit board on which the IC is mounted. This allows the communication unit 11a of the first processor 11 and the communication unit 12a of the second processor 12 to communicate directly via the communication line 214.
[0063] In the in-vehicle information processing device 10 according to the second embodiment, the first processor 11 and the second processor 12 exchange data via the shared memory 13. For example, if an abnormality occurs in the shared memory 13, such as if writing data to the shared memory 13 fails, the first processor 11 and the second processor 12 exchange data by communicating with each other via the communication line 214 by the communication units 11a and 12a. Communication Line 214 For communication via the network, various communication protocols such as Ethernet, CAN, LIN (Local Interconnect Network), or SPI may be adopted.
[0064] In the in-vehicle information processing device 10 according to the second embodiment having the above configuration, the communication unit 11a of the first processor 11 and the communication unit 12a of the second processor 12 are connected to a communication line 214 provided outside the IC. If an abnormality occurs in the shared memory 13, the first processor 11 and the second processor 12 exchange data by communicating via the communication line 214 provided outside the IC. This makes it possible to realize exchange of data between the first processor 11 and the second processor 12 using the communication units 11a and 12a of the first processor 11 and the second processor 12, with a simple configuration in which the communication units 11a and 12a are connected via the communication line 214.
[0065] The other configurations of the in-vehicle information processing device 10 according to the second embodiment are the same as those of the in-vehicle information processing device 10 according to the first embodiment, so the same parts are given the same reference numerals and detailed description thereof will be omitted.
[0066] <Third Embodiment> 7 is a block diagram showing the configuration of an on-board information processing device 10 according to embodiment 3. In the on-board information processing device 10 according to embodiment 3, the communication unit 11a of the first processor 11 and the communication unit 12a of the second processor 12 are connected to a GW (gateway) 314 provided outside the on-board information processing device 10 via separate communication lines. The GW 314 is provided at an appropriate location in the vehicle 100, separate from the on-board information processing device 10. The GW 314 is connected to a plurality of communication lines and is a device that performs processing to relay communications between these plurality of communication lines.
[0067] In the in-vehicle information processing device 10 according to the third embodiment, the first processor 11 and the second processor 12 exchange data via the shared memory 13. For example, if an abnormality occurs in the shared memory 13, such as if writing data to the shared memory 13 fails, the first processor 11 and the second processor 12 exchange data by communicating with each other via the GW 314 using the communication units 11a and 12a.
[0068] At this time, for example, the first processor 11 transmits data from the communication unit 11a to the GW 314. The GW 314 relays the data received from the communication unit 11a and transmits it to the communication unit 12a. The second processor 12 receives the data transmitted from the GW 314 and performs processing based on the received data. The same applies when transmitting data from the second processor 12 to the first processor 11.
[0069] In the in-vehicle information processing device 10 according to the third embodiment having the above configuration, the communication unit 11a of the first processor 11 and the communication unit 12a of the second processor 12 are each connected to a GW 314 external to the in-vehicle information processing device 10 via a communication line. When an abnormality occurs in the shared memory 13, the first processor 11 and the second processor 12 exchange data by communicating with each other via the external GW 314 using the communication units 11a and 12a. This eliminates the need to provide a communication path for abnormalities within the in-vehicle information processing device 10, and when an abnormality occurs in the shared memory 13, the first processor 11 and the second processor 12 can exchange data using the external GW 314.
[0070] In the third embodiment, the GW 314 is given as an external device that relays communication between the communication unit 11a of the first processor 11 and the communication unit 12a of the second processor 12. However, the external device is not limited to the GW 314 and may be, for example, a device such as an Ethernet switch, or any other device. Furthermore, communication between the communication unit 11a of the first processor 11 and the communication unit 12a of the second processor 12 may be relayed by a plurality of external devices.
[0071] Furthermore, other configurations of the in-vehicle information processing device according to the third embodiment are similar to those of the in-vehicle information processing device according to the first embodiment, so the same reference numerals are used for the same parts and detailed description thereof will be omitted.
[0072] The in-vehicle information processing device includes a computer including a microprocessor, a ROM, a RAM, etc. The processing unit such as the microprocessor may read and execute computer programs including some or all of the steps of the sequence diagrams or flowcharts shown in Figures 2 to 5 from storage units such as ROM and RAM. The computer programs of these multiple devices can be installed from an external server device, etc. Furthermore, these computer programs are distributed in a state where they are stored on recording media such as CD-ROMs, DVD-ROMs, and semiconductor memories.
[0073] 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. [Explanation of symbols]
[0074] 10. In-vehicle information processing device 11 First processor (processing unit, detection unit) 11a Communications Department 12 Second processor (processing unit, detection unit) 12a Communications Department 13 Shared memory (shared storage) 14 Communication IC (Communication Integrated Circuit) 100 vehicles 214 Communication Line 314 GW (Gateway)
Claims
1. It is mounted on the vehicle, A plurality of processing units that perform processing in parallel; a shared storage unit accessible by the plurality of processing units; a detection unit for detecting an abnormality in the shared storage unit; Equipped with Each of the processing units has a communication unit that performs communication via a communication line, the plurality of processing units and the shared storage unit are contained within a single integrated circuit; The plurality of processing units include Sending and receiving information via the shared storage unit; when the detection unit detects an abnormality in the shared storage unit, the communication unit communicates with the shared storage unit via a communication path outside the integrated circuit to exchange information; In-vehicle information processing device.
2. the communication unit included in each of the plurality of processing units is connected to a communication line provided outside the integrated circuit, and transmits and receives information via the communication line. The in-vehicle information processing device according to claim 1 .
3. a communication integrated circuit for communicating with another device; the communication units of the respective processing units are connected to the communication integrated circuit via communication lines, and transmit and receive information via the communication integrated circuit; The in-vehicle information processing device according to claim 1 .
4. The communication integrated circuit is a communication integrated circuit that performs communication based on an Ethernet communication protocol. The vehicle-mounted information processing device according to claim 3 .
5. The communication integrated circuit is a communication integrated circuit that performs communication based on a Serial Peripheral Interface (SPI) communication protocol. The vehicle-mounted information processing device according to claim 3 .
6. the communication unit of each of the plurality of processing units is connected to a relay device outside the device via a communication line, and information is exchanged via the relay device; The in-vehicle information processing device according to claim 1 .
7. An in-vehicle information processing device comprising a plurality of processing units which perform processing in parallel and a shared storage unit accessible to the plurality of processing units, the plurality of processing units and the shared storage unit being accommodated in a single integrated circuit, Sending and receiving information between the plurality of processing units via the shared storage unit; when an abnormality is detected in the shared storage unit, information is exchanged among the plurality of processing units by communication via a communication path outside the integrated circuit. In-vehicle information processing method.
Citation Information
Patent Citations
Multi-core arithmetic unit
JP2018013843A
processor
JP2019179309A
