Control device, vehicle-mounted system, control method, and non-transitory recording medium

By introducing a control device and an on-board system into the vehicle system, and utilizing the first and second communication units, the control unit, and the storage unit to dynamically switch and update the data relay path, the problem of the inability to change the communication structure between ECUs in the existing technology is solved, and the flexibility and adaptability of the system are improved.

CN114815677BActive Publication Date: 2025-09-26TOYOTA JIDOSHA KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111635241.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-01-29
Filing Date
2021-12-29
Publication Date
2025-09-26
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

The existing technology cannot dynamically change the communication structure between ECUs in the vehicle system, especially when ECUs are added or functions are updated, and cannot adapt to changes in the communication structure.

Method used

Through the control device and the vehicle system, the first communication unit and the second communication unit are used, combined with the control unit and the storage unit, to dynamically switch and update the data relay path to realize data relay between different communication buses.

Benefits of technology

It realizes the dynamic switching and updating of communication components between ECUs in the vehicle system, adapts to changes in ECUs, and improves the flexibility and adaptability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114815677B_ABST
    Figure CN114815677B_ABST
Patent Text Reader

Abstract

The present invention relates to a control device, an in-vehicle system, a control method, and a non-transitory recording medium. The control device includes a memory and a processor connected to the memory, a first communication bus, and a second communication bus. The processor is configured to control whether data communicated on the first communication bus is relayed to the second communication bus. Upon receiving a request for data communicated on the first communication bus, the processor switches to relaying the data received from the first communication bus to the second communication bus.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a control device, an in-vehicle system, a control method, and a non-transitory computer-readable recording medium. Background Art

[0002] Traditionally, CAN (Controller Area Network) has been used for communication between ECUs (Electronic Control Units) in vehicle-mounted systems. However, as vehicles embrace CASE (Connected, Autonomous, Shared and Services, Electric), the trend toward multi-protocol communication in vehicle-mounted systems is progressing, with protocols other than CAN, such as Ethernet (registered trademark).

[0003] CAN is a network that statically determines the type of communication to be performed, and this type of communication is called signal-directed communication. Ethernet is a network that dynamically determines the type of communication to be performed, and this type of communication is called service-directed communication. In automotive systems that combine CAN and Ethernet, there is a use case where the signal-service conversion function is used to use CAN communication data as Ethernet communication data.

[0004] Japanese Patent Application Laid-Open No. 2017-163344 discloses a technology for enabling communication between ECUs by changing the communication method, regarding multi-protocol implementation of an in-vehicle system.

[0005] However, the technology disclosed in Japanese Patent Application Laid-Open No. 2017-163344 is limited to changing the communication method. Even if the content of the relayed communication changes due to the addition of an ECU or the updating of ECU functions, the content cannot be changed dynamically. Summary of the Invention

[0006] The present disclosure has been made in view of the above-mentioned problems, and an object of the present disclosure is to provide a control device, an in-vehicle system, a control method, and a non-transitory computer-readable recording medium capable of dynamically changing the content of the structure of relayed communications.

[0007] The control device of the first mode comprises: a first communication unit connected to a first communication bus; a second communication unit connected to a second communication bus; and a control unit that controls whether data communicated in the first communication bus is relayed to the second communication bus, and when the second communication unit receives a request for data communicated in the first communication bus, the control unit switches to relaying the data received by the first communication unit to the second communication bus.

[0008] When receiving a request for data communicated on the first communication bus from a device connected to the second communication bus, the control device of the first embodiment switches to relaying the data received from the first communication bus to the second communication bus. The control device of the first embodiment can dynamically switch to relaying the data received from the first communication bus to the second communication bus.

[0009] The control device of the second mode is completed on the basis of the control device of the first mode, and further includes a storage unit, which stores management information that establishes an association between identification information of data communicated in the above-mentioned first communication bus and information on whether to relay it to the above-mentioned second communication bus. The above-mentioned control unit controls whether to relay the data communicated in the above-mentioned first communication bus to the above-mentioned second communication bus based on the above-mentioned management information.

[0010] The control device of the second aspect switches to relaying data received from the first communication bus to the second communication bus based on management information stored in the memory. The control device of the second aspect can dynamically switch to relaying data received from the first communication bus to the second communication bus based on the management information.

[0011] The control device of the third mode is completed on the basis of the control device of the second mode. When the above-mentioned second communication unit receives a request for data communicated in the above-mentioned first communication bus, the above-mentioned control unit updates the above-mentioned management information by relaying the above-mentioned data received by the above-mentioned first communication unit to the above-mentioned second communication bus.

[0012] The control device of the third aspect updates the management information stored in the memory when receiving a request for data communicated via the first communication bus. According to the control device of the third aspect, the content of the management information can be dynamically updated.

[0013] The control device of the fourth mode is completed on the basis of the control device of the second mode. When the above-mentioned second communication unit receives a request for data to be communicated in the above-mentioned first communication bus, the above-mentioned control unit does not switch the above-mentioned data received by the above-mentioned first communication unit to relay the above-mentioned data to the above-mentioned second communication bus when the above-mentioned data is specified data.

[0014] The control device of the fourth aspect does not relay the data when there is a request for predetermined data. According to the control device of the fourth aspect, control can be performed so that the data is not relayed when there is a request for predetermined data.

[0015] The control device of the fifth aspect is implemented based on the control device of the fourth aspect, and the control unit does not update the management information such as relaying the predetermined data.

[0016] The control device of the fifth aspect does not update the management information stored in the memory when there is a request for predetermined data. According to the control device of the fifth aspect, it is possible to control not to update the management information so as not to relay data when there is a request for predetermined data.

[0017] The control device of the sixth mode is completed based on the control device of the first mode, and the above-mentioned first communication unit receives identification information of the data and the data communicated in the above-mentioned first communication bus, and the above-mentioned second communication unit receives information including the above-mentioned identification information and data as a request for data communicated in the above-mentioned first communication bus.

[0018] The control device of the sixth aspect receives information including data identification information and data as a request for data communicated on the first communication bus. According to the control device of the sixth aspect, a new identification code can be prepared not only for the request.

[0019] The control device of the seventh embodiment is implemented based on the control device of the first embodiment, and is used in an in-vehicle system.

[0020] According to the control device of the seventh aspect, in the in-vehicle system, it is possible to dynamically switch to relaying data received from the first communication bus to the second communication bus.

[0021] The vehicle-mounted system of the eighth embodiment comprises: a control device of the first embodiment; a first electronic control unit connected to the above-mentioned first communication bus; and a second electronic control unit connected to the above-mentioned second communication bus. When the above-mentioned second communication unit receives a request for data communicated in the above-mentioned first communication bus, the above-mentioned control unit of the above-mentioned control device switches to relaying the above-mentioned data received by the above-mentioned first communication unit to the above-mentioned second communication bus.

[0022] When a request for data communicated on the first communication bus is received from the second communication bus, the in-vehicle system of the eighth aspect switches to relaying the data received from the first communication bus to the second communication bus. According to the in-vehicle system of the eighth aspect, it is possible to dynamically switch to relaying the data received from the first communication bus to the second communication bus.

[0023] The control method of the 9th mode enables the computer to perform the following processing: controlling whether the data communicated in the first communication bus is relayed to the second communication bus, and when receiving a request for data communicated in the above-mentioned first communication bus, switching to relaying the above-mentioned data received from the above-mentioned first communication bus to the above-mentioned second communication bus.

[0024] When a request for data communicated on the first communication bus is received from a device connected to the second communication bus, the control method of the ninth aspect switches to relaying the data received from the first communication bus to the second communication bus. According to the control method of the ninth aspect, it is possible to dynamically switch to relaying the data received from the first communication bus to the second communication bus.

[0025] The computer program of the tenth mode causes the computer to perform the following processing: controlling whether data communicated in the first communication bus is relayed to the second communication bus, and when receiving a request for data communicated in the above-mentioned first communication bus, switching to relaying the above-mentioned data received from the above-mentioned first communication bus to the above-mentioned second communication bus.

[0026] When a request for data communicated on the first communication bus is received from a device connected to the second communication bus, the non-transitory computer-readable recording medium of the tenth aspect switches to relaying the data received from the first communication bus to the second communication bus. According to the non-transitory computer-readable recording medium of the tenth aspect, it is possible to dynamically switch to relaying the data received from the first communication bus to the second communication bus.

[0027] According to the present disclosure, a control device, an in-vehicle system, a control method, and a non-temporary recording medium can be provided that dynamically change the content of the relayed communication by switching to relaying the data received from the first communication bus to the second communication bus when a request for data communicated in the first communication bus is received from the second communication bus different from the first communication bus. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Exemplary embodiments of the present invention are described in detail based on the following drawings, in which:

[0029] Figure 1 It is a diagram showing a schematic configuration of an in-vehicle system according to this embodiment.

[0030] Figure 2 This is a block diagram showing the hardware structure of CGW.

[0031] Figure 3 This is a block diagram showing an example of the functional structure of CGW.

[0032] Figure 4 This is a diagram showing an example of information stored in the storage unit of the CGW.

[0033] Figure 5 This is a diagram showing an example of the hardware configuration of the first ECU.

[0034] Figure 6 This is a diagram showing an example of the hardware configuration of the second ECU.

[0035] Figure 7 This is a timing chart showing an example of the operation of the in-vehicle system.

[0036] Figure 8 This is a diagram showing an example of information stored in the storage unit of the CGW.

[0037] Figure 9 This is a flowchart showing an example of the operation of the CPU of the CGW.

[0038] Figure 10 This is a timing chart showing an example of the operation of the in-vehicle system. DETAILED DESCRIPTION

[0039] An example of an embodiment of the present disclosure is described below with reference to the accompanying drawings. In the drawings, identical or equivalent components and parts are denoted by the same reference numerals. Furthermore, for ease of description, the dimensional ratios in the drawings may be exaggerated and differ from the actual ratios.

[0040] Figure 1 It is a diagram showing a schematic configuration of an in-vehicle system according to this embodiment. Figure 1 The in-vehicle system 1 shown includes a central gateway (CGW) 100, a first ECU 200a, a second ECU 200b, and a third ECU 200c. The CGW 100 is connected to the first ECU 200a via a first communication bus 10a. The CGW 100 is connected to the second ECU 200b via a second communication bus 10b. The second ECU 200b is connected to the third ECU 200c via a third communication bus 10c.

[0041] The first and second communication buses 10a, 10b transmit signals using the same communication protocol. The third communication bus 10c transmits signals using a different communication protocol from the first and second communication buses 10a, 10b. In this embodiment, the first and second communication buses 10a, 10b transmit CAN signals, while the third communication bus 10c transmits Ethernet signals. The CGW 100 and the first through third ECUs 200a, 200c operate using the vehicle battery as a power source.

[0042] In addition, Figure 1 Although only the first ECU 200a is shown as an ECU connected to the first communication bus 10a, other ECUs may be connected to the first communication bus 10a. Similarly, an ECU different from the second ECU 200b may be connected to the second communication bus 10b. Similarly, an ECU different from the third ECU 200c may be connected to the third communication bus 10c.

[0043] CGW 100 is a type of ECU that relays data between various communication buses in the in-vehicle system 1. CGW 100 is an example of a control device disclosed herein. Specifically, CGW 100 relays data exchanged between ECUs. For example, CGW 100 controls whether data communicated on the first communication bus 10a is relayed to the second communication bus 10b.

[0044] Figure 2 This is a block diagram showing the hardware configuration of CGW 100 .

[0045] like Figure 2 As shown, CGW 100 includes a first communication transceiver 102, a second communication transceiver 104, a communication controller 106, a CPU 108, a RAM 110, a ROM 112, and a communication circuit 114. First communication transceiver 102, second communication transceiver 104, communication controller 106, CPU 108, RAM 110, ROM 112, and communication circuit 114 are connected via a bus 101.

[0046] Communication controller 106 controls the transmission and reception of data between first communication transceiver 102 and second communication transceiver 104. CPU 108 controls the entire CGW 100. ROM 112 stores gateway programs executed by CPU 108. RAM 110 is an example of memory and is used as a work area for CPU 108 when controlling CGW 100.

[0047] The first communication transceiver 102 is connected to the first communication bus 10a and, under the control of a communication driver, transmits data from the communication circuit 114 to the first communication bus 10a and receives data from the first communication bus 10a and inputs the data into the communication circuit 114. Thus, the first communication transceiver 102 transmits and receives signals with the first ECU 200a.

[0048] The communication circuit 114 performs serial communication with the first ECU 200a via the first communication bus 10a, and performs serial communication with the second ECU 200b via the second communication bus 10b. The communication circuit 114 transmits data from the CPU 108 via the first communication transceiver 102 or the second communication transceiver 104, and inputs data input from the first communication transceiver 102 and the second communication transceiver 104 to the CPU 108.

[0049] CPU 108 is an example of a hardware processor, and executes processing for controlling the entire CGW 100 , such as communication processing executed by communication circuit 114 .

[0050] When executing the aforementioned gateway program, CGW 100 uses the aforementioned hardware resources to implement various functions. The functional configuration implemented by CGW 100 will be described.

[0051] Figure 3 This is a block diagram showing an example of the functional configuration of CGW 100 .

[0052] like Figure 3 As shown, CGW 100 includes a first communication unit 121, a second communication unit 122, a control unit 123, and a storage unit 124 as functional components. Each functional component is implemented by CPU 108 reading and executing a gateway program stored in ROM 112.

[0053] The first communication unit 121 communicates with the first ECU 200a connected to the first communication bus 10a, and the second communication unit 122 communicates with the second ECU 200b connected to the second communication bus 10b.

[0054] The control unit 123 controls the operations of the CGW 100 and the first and second ECUs 200a and 200b electrically connected to the CGW 100. In this embodiment, the control unit 123 controls whether data communicated on the first communication bus 10a is relayed to the second communication bus 10b. Furthermore, when the control unit 123 receives a request for data communicated on the first communication bus 10a, it switches to relaying data received by the first communication unit 121 to the second communication bus 10b.

[0055] The storage unit 124 stores information related to data relay by the control unit 123. For example, the storage unit 124 stores information related to the routing of data communicated on the first communication bus 10a and the second communication bus 10b. Specifically, the storage unit 124 stores a routing table that associates identification information of data communicated on the first communication bus 10a with information on whether the data should be relayed to the second communication bus 10b. The routing table is an example of management information disclosed herein.

[0056] Figure 4 : is a diagram showing an example of a routing table stored in the storage unit 124 . Figure 4 The CANID in is the identification information of the data. Figure 4 , it is shown that the data of CANID: 0030 and the data of CANID: 0031 are routed from the first communication bus 10a to the second communication bus 10b or vice versa. Figure 4 Data other than the data of the indicated CANID is not routed from the first communication bus 10a to the second communication bus 10b or vice versa.

[0057] When receiving a request for data communicated on the first communication bus 10a, the control unit 123 may update the routing table stored in the storage unit 124. Furthermore, after updating the routing table stored in the storage unit 124 to relay the requested data, if no request for the data is made for a predetermined period of time or longer, the control unit 123 may delete information related to the data from the routing table.

[0058] The second communication unit 122 can receive information including identification information and data as a request for data to be communicated on the first communication bus 10a. The control unit 123 refers to the routing table stored in the storage unit 124 and switches to relaying the data received by the first communication unit 121 to the second communication bus 10b if the identification information is registered in the routing table.

[0059] CGW100 has Figure 3 The structure shown can dynamically change the content of the communication relayed from the first communication bus 10a to the second communication bus 10b.

[0060] Next, the hardware configuration of the first ECU 200 a will be described.

[0061] Figure 5 This is a diagram showing a hardware configuration example of the first ECU 200a.

[0062] like Figure 5 As shown, the first ECU 200a includes a communication transceiver 202a and a microcontroller 204a. The microcontroller 204a is equipped with a communication circuit 206a, a CPU 208a, a RAM 210a, and a ROM 212a. The CPU 208a controls the entire first ECU 200a. The RAM 210a is an example of a memory and is used as a work area for the CPU 208a when controlling the first ECU 200a. The ROM 212a stores the first ECU program executed by the CPU 208a.

[0063] The communication transceiver 202a is connected to the first communication bus 10a and, under the control of a communication driver, transmits data from the communication circuit 206a to the first communication bus 10a and receives data from the first communication bus 10a and inputs it to the communication circuit 206a. Thus, the communication transceiver 202a transmits and receives signals with the CGW 100.

[0064] The communication circuit 206a is connected to the communication transceiver 202a and performs serial communication with the CGW 100 via the first communication bus 10a. The communication circuit 206a transmits data from the CPU 208a via the communication transceiver 202a and inputs data input from the communication transceiver 202a to the CPU 208a.

[0065] The CPU 208 a is an example of a hardware processor, is connected to the communication circuit 206 a , and executes processing of the entire first ECU 200 a , such as controlling communication processing executed by the communication circuit 206 a .

[0066] Next, the hardware configuration of the second ECU 200b will be described.

[0067] Figure 6 This is a diagram showing a hardware configuration example of the second ECU 200b.

[0068] like Figure 6 As shown, the second ECU 200b includes a first communication transceiver 202b, a second communication transceiver 203b, and a microcontroller 204b. The microcontroller 204b is equipped with a communication circuit 206b, a CPU 208b, a RAM 210b, and a ROM 212b. The CPU 208b controls the entire second ECU 200b. The RAM 210b is an example of memory and is used as a work area for the CPU 208b when controlling the second ECU 200b. The ROM 212b stores the second ECU program executed by the CPU 208b.

[0069] The first communication transceiver 202b is connected to the second communication bus 10b and, under the control of a communication driver, transmits data from the communication circuit 206b to the second communication bus 10b and receives data from the second communication bus 10b and inputs it to the communication circuit 206b. Thus, the first communication transceiver 202b transmits and receives signals with the CGW 100.

[0070] The second communication transceiver 203b is connected to the third communication bus 10c and, under the control of a communication driver, transmits data from the communication circuit 206b to the third communication bus 10c and receives data from the third communication bus 10c and inputs it into the communication circuit 206b. Thus, the second communication transceiver 203b and the third ECU 200c transmit and receive signals.

[0071] The communication circuit 206b is connected to the first communication transceiver 202b and performs serial communication with the CGW 100 via the second communication bus 10b. The communication circuit 206b transmits data from the CPU 208b via the first communication transceiver 202b and inputs data input from the first communication transceiver 202b to the CPU 208b.

[0072] The communication circuit 206b is connected to the second communication transceiver 203b and communicates with the third ECU 200c via the third communication bus 10c. The communication circuit 206b transmits data from the CPU 208b via the second communication transceiver 203b and inputs data received from the second communication transceiver 203b to the CPU 208b.

[0073] The CPU 208 b is an example of a hardware processor, is connected to the communication circuit 206 b , and executes overall processing of the second ECU 200 b , such as controlling communication processing executed by the communication circuit 206 b .

[0074] Next, the operation of the in-vehicle system 1 will be described.

[0075] Figure 7 This is a sequence diagram showing an example of the operation of the vehicle-mounted system 1. In the CGW 100, the CPU 108 reads the gateway program from the ROM 112, expands it in the RAM 110, and executes it. Figure 7 The processing shown.

[0076] exist Figure 7 In the example shown, first, the third ECU 200c transmits a request for a service communicated on the first communication bus 10a to the second ECU 200b via the third communication bus 10c (step S101). The request for a service communicated on the first communication bus 10a transmitted from the third ECU 200c includes information (e.g., CAN ID) of the CAN signal to be routed via the first communication bus 10a.

[0077] The second ECU 200b, which has received the service request from the third ECU 200c, periodically transmits a remote frame to the CGW 100 (step S102). The remote frame transmitted from the second ECU 200b in step S102 includes information (eg, CAN ID) on the CAN signal to be routed via the first communication bus 10a.

[0078] The CPU 108 of the CGW 100 , which has received the remote frame periodically transmitted from the second ECU 200 b , stores the information of the CAN signal included in the remote frame in the routing table (step S103 ). As described above, the routing table is stored in the storage unit 124 . Figure 8 This is an example of information in the routing table in which the information of the CAN signal is stored in step S103.

[0079] Following step S103, a CAN signal is transmitted from first ECU 200a to CGW 100 via first communication bus 10a (step S104). If the signal transmitted in step S104 is registered in the routing table, CPU 108 of CGW 100 transmits the signal from first ECU 200a to second ECU 200b via second communication bus 10b (step S105).

[0080] The second ECU 200b, which has received the signal transmitted from the CGW 100 via the second communication bus 10b, transmits the service to the third ECU 200c via the third communication bus 10c (step S106).

[0081] The CGW 100 of the vehicle system 1 executes Figure 7 The operation shown can route the signal communicated on the first communication bus 10a to the second communication bus 10b.

[0082] When no remote frame is received from the second ECU 200b within a predetermined time, that is, when TTL (Time to Live) expires, the CPU 108 of the CGW 100 may delete the information registered in the routing table due to the remote frame from the second ECU 200b.

[0083] Figure 9 This is a flowchart showing the operation of CPU 108 of CGW 100 .

[0084] The CPU 108 determines whether a predetermined time has elapsed since the remote frame was received from the second ECU 200 b and the timer has timed out (step S111 ).

[0085] If the result of the determination in step S111 is a timeout (step S111; YES), the CPU 108 deletes the routing settings stored in the routing table by receiving the remote frame from the second ECU 200b from the routing table (step S112). On the other hand, if the result of the determination in step S111 is not a timeout (step S111; NO), the CPU 108 skips the processing of step S112.

[0086] When a remote frame including CAN signal information is received from the second ECU 200b, the CGW 100 may determine whether the CAN signal is specified data, such as a routable CAN signal. Furthermore, the CPU 108 may store the CAN signal information in the routing table if the CAN signal is routable, and not store the CAN signal information in the routing table if the CAN signal is not routable.

[0087] Figure 10 This is a sequence diagram showing an example of the operation of the vehicle-mounted system 1. In the CGW 100, the CPU 108 reads the gateway program from the ROM 112, expands it in the RAM 110, and executes it. Figure 10 The processing shown.

[0088] exist Figure 10 In the example shown, first, the third ECU 200c transmits a request for a service communicated on the first communication bus 10a to the second ECU 200b via the third communication bus 10c (step S121). The request for a service communicated on the first communication bus 10a transmitted from the third ECU 200c includes information (e.g., CAN ID) of the CAN signal to be routed via the first communication bus 10a.

[0089] The second ECU 200b, which has received the service request from the third ECU 200c, periodically transmits a remote frame to the CGW 100 (step S122). The remote frame transmitted from the second ECU 200b in step S122 includes information (eg, CAN ID) on the CAN signal to be routed from the first communication bus 10a.

[0090] Upon receiving the remote frame periodically transmitted from the second ECU 200b, the CPU 108 of the CGW 100 determines whether the CAN signal for which routing is requested is routable to the second communication bus 10b (step S123). When making this determination in step S123, the CPU 108 may refer to a list of routable services pre-stored in the storage unit 124. If a service is listed, the CPU 108 determines that the service is routable; if a service is not listed, the CPU 108 determines that the service is not routable.

[0091] If the result of the determination in step S123 is that the CAN signal requested to be routed is not a signal that can be routed to the second communication bus 10 b (step S123 ; No), the CPU 108 directly terminates the processing.

[0092] On the other hand, if the result of the judgment in step S123 is that the CAN signal requested to be routed is a signal that can be routed to the second communication bus 10b (step S123; yes), CPU108 stores the information of the CAN signal included in the remote frame in the routing table (step S124).

[0093] Following step S124, first ECU 200a transmits a CAN signal to CGW 100 via first communication bus 10a (step S125). If the signal transmitted in step S125 is registered in the routing table, CPU 108 of CGW 100 transmits the signal from first ECU 200a to second ECU 200b via second communication bus 10b (step S126).

[0094] The second ECU 200b, which has received the signal transmitted from the CGW 100 via the second communication bus 10b, transmits the service to the third ECU 200c via the third communication bus 10c (step S127).

[0095] The CGW 100 of the vehicle system 1 executes Figure 10 The operation shown can route a signal that is communicated on the first communication bus 10a and can be routed to the second communication bus 10b to the second communication bus 10b.

[0096] In the above embodiment, the CGW 100 provided in the vehicle-mounted system 1 is described as an example of a control device. However, the present disclosure is not limited to this example. The structure of the CGW 100 can be similarly applied to any communication system that receives a request for a signal from a communication bus that communicates using a communication protocol different from the communication protocol used in the communication bus connected to the control device.

[0097] In addition, the processing executed by the CPU reading the software (program) in each of the above embodiments can also be executed by various processors other than the CPU. As the processor in this case, FPGA (Field-Programmable Gate Array) and other processors with PLD (Programmable Logic Device) and ASIC (Application Specific Integrated Circuit) that can change the circuit structure after manufacturing, which are designed to perform specific processing with a dedicated circuit structure, that is, a dedicated circuit, etc. can be exemplified. In addition, the above processing can be performed by one of these various processors, or by a combination of two or more processors of the same or different types (for example, multiple FPGAs, and a combination of a CPU and an FPGA, etc.). In addition, the hardware structure of these various processors is more specifically a circuit that combines circuit elements such as semiconductor elements.

[0098] In addition, in the above embodiments, the program for the above-mentioned processing is described as being pre-stored (installed) in a ROM or storage device, but the present invention is not limited to this. The program may also be provided by recording it on a non-transitory recording medium such as a CD-ROM (Compact Disk Read Only Memory), a DVD-ROM (Digital Versatile Disk Read Only Memory), or a USB (Universal Serial Bus) memory device. Alternatively, the program may be downloaded from an external device via a network.

Claims

1. A vehicle-mounted system comprising: a control device including a first communication unit connected to a first communication bus, a second communication unit connected to a second communication bus, and a control unit that controls whether to relay data communicated on the first communication bus to the second communication bus; a first electronic control unit connected to the first communication bus; a second electronic control unit connected to the second communication bus and a third communication bus that communicates using a communication protocol different from that of the second communication bus; and A third electronic control unit is connected to the third communication bus. in, The communication protocol of the second communication bus is CAN, and the communication protocol of the third communication bus is Ethernet. The third electronic control unit sends a request for a service communicated on the first communication bus to the second electronic control unit via the third communication bus, wherein the request for a service communicated on the first communication bus sent from the third electronic control unit includes information on a CAN signal to be routed from the first communication bus. The second electronic control unit, which has received the service request from the third electronic control unit, periodically transmits a remote frame to the control device, the remote frame including information on the CAN signal to be routed from the first communication bus. The control device that receives the remote frame periodically sent from the second electronic control unit determines whether the CAN signal for which routing is requested is a signal that can be routed to the second communication bus. If the CAN signal for which routing is requested is a signal that can be routed to the second communication bus, the control device stores the information of the CAN signal included in the remote frame in the routing table. The first electronic control unit sends a CAN signal to the control device via the first communication bus. If the sent signal is a signal registered in the routing table, the control device sends the signal from the first electronic control unit to the second electronic control unit via the second communication bus. The second electronic control unit, which has received the signal transmitted from the control device via the second communication bus, transmits a service to the third electronic control unit via the third communication bus.

2. The vehicle-mounted system according to claim 1, wherein: The control device further includes a storage unit that stores management information that associates identification information of data communicated on the first communication bus with information on whether the data is relayed to the second communication bus. The control unit controls whether to relay data communicated on the first communication bus to the second communication bus based on the management information.

3. The vehicle-mounted system according to claim 2, wherein: When the second communication unit receives a request for data to be communicated on the first communication bus, the control unit updates the management information so as to relay the data received by the first communication unit to the second communication bus.

4. The vehicle-mounted system according to claim 2, wherein: When the second communication unit receives a request for data to be communicated on the first communication bus, the control unit does not switch the data received by the first communication unit to the second communication bus if the data is predetermined data.

5. The vehicle-mounted system according to claim 4, wherein: The control unit does not update the management information such as relaying the predetermined data.

6. The vehicle-mounted system according to claim 1, wherein: The first communication unit receives data identification information and data communicated on the first communication bus. The second communication unit receives information including the identification information and data as a request for data to be communicated on the first communication bus.

Citation Information

Patent Citations

  • Communication system

    JP2017163344A

  • Relay device

    JP2016092484A

  • On-vehicle communication system

    US20100114403A1