Vehicle-mounted relay device, vehicle-mounted device, and sleep notification method

The in-vehicle relay device detects sleep states across different VLANs and notifies other devices, reducing communication by stopping transmissions, thus optimizing bandwidth usage in in-vehicle networks.

JP7563309B2Active Publication Date: 2024-10-08AUTONETWORKS TECH LTD +2
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021107615
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-29
Publication Date
2024-10-08
Estimated Expiration
2041-06-29

AI Technical Summary

Technical Problem

Existing in-vehicle communication systems face challenges in further reducing communication bandwidth usage without impacting functionality, particularly in systems with multiple devices belonging to different VLANs.

Method used

An in-vehicle relay device that detects when a device transitions to a sleep state and sends a sleep notification to other devices within different VLANs, allowing them to stop communication, thereby reducing overall communication in the system.

Benefits of technology

This approach effectively reduces communication in the in-vehicle network by ensuring devices recognize when others are in a sleep state and adjust their transmissions accordingly, minimizing bandwidth usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007563309000001
    Figure 0007563309000001
  • Figure 0007563309000002
    Figure 0007563309000002
  • Figure 0007563309000003
    Figure 0007563309000003
Patent Text Reader

Abstract

To further reduce the amount of communication in an in-vehicle communication system.SOLUTION: An in-vehicle relay device includes a relay unit that relays information between a plurality of in-vehicle devices belonging to different VLANs (Virtual Local Area Networks), a detection unit that detects that the in-vehicle device has transitioned to a sleep state, and a notification unit that notifies a second in-vehicle device among the plurality of in-vehicle devices that the first in-vehicle device has transitioned to a sleep state when the detection unit detects that a first in-vehicle device among the plurality of in-vehicle devices has transitioned to a sleep state.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an in-vehicle relay device, an in-vehicle device, and a sleep notification method. [Background technology]

[0002] In recent years, the amount of communication in an in-vehicle communication system has been increasing due to the use of communication for automatic driving control, for example. In order to alleviate the congestion of the communication band in the in-vehicle communication system, it is desirable to reduce the amount of communication in the in-vehicle communication system as much as possible without affecting the functions of the in-vehicle device.

[0003] For example, Patent Document 1 (International Publication No. 2020 / 145334) discloses the following electronic control device. That is, the electronic control device is one of a plurality of electronic control devices that constitute an in-vehicle network system and can communicate with each other, and includes a first communication control unit configured to control communication with other electronic control devices via CAN (registered trademark), and a second communication control unit configured to control communication with the other electronic control devices via Ethernet (registered trademark), and to enable the communication state with the other electronic control devices via the Ethernet if the communication state of the CAN controlled by the first communication control unit is an awake state, and disable the communication state with the other electronic control devices via the Ethernet if the communication state of the CAN controlled by the first communication control unit is a sleep state. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2020-88568 A Summary of the Invention [Problem to be solved by the invention]

[0005] There is a demand for a technique that goes beyond the technique described in Patent Document 1 and is capable of further reducing the amount of communication in an in-vehicle communication system.

[0006] The present disclosure has been made to solve the above-mentioned problems, and its purpose is to provide an in-vehicle relay device, an in-vehicle device, and a sleep notification method that can further reduce the amount of communication in an in-vehicle communication system. [Means for solving the problem]

[0007] The in-vehicle relay device disclosed herein includes a relay unit that relays information between multiple in-vehicle devices that belong to different VLANs (Virtual Local Area Networks), a detection unit that detects that the in-vehicle devices have transitioned to a sleep state, and a notification unit that, when the detection unit detects that a first in-vehicle device among the multiple in-vehicle devices has transitioned to a sleep state, issues a sleep notification to a second in-vehicle device among the multiple in-vehicle devices that the first in-vehicle device has transitioned to a sleep state.

[0008] The vehicle-mounted device of the present disclosure includes a transmitting unit that transmits information to other vehicle-mounted devices belonging to a different VLAN via an vehicle-mounted relay device, and a receiving unit that receives a sleep notification from the vehicle-mounted relay device indicating that the other vehicle-mounted device has transitioned to a sleep state, and when the receiving unit receives the sleep notification, the transmitting unit stops transmitting information to the other vehicle-mounted device.

[0009] The sleep notification method disclosed herein includes the steps of relaying information between multiple in-vehicle devices belonging to different VLANs, detecting that a first in-vehicle device among the multiple in-vehicle devices has transitioned to a sleep state, and sending a sleep notification to a second in-vehicle device among the multiple in-vehicle devices indicating that the first in-vehicle device has transitioned to a sleep state.

[0010] The present disclosure may be realized not only as an in-vehicle relay device having such a characteristic processing unit, but also as a program for causing a computer to execute steps of such characteristic processing, as a semiconductor integrated circuit that realizes part or all of the in-vehicle relay device, or as an in-vehicle communication system including the in-vehicle relay device. Also, the present disclosure may be realized not only as an in-vehicle device having such a characteristic processing unit, but also as a communication method in which such characteristic processing is a step, as a program for causing a computer to execute such steps, as a semiconductor integrated circuit that realizes part or all of the in-vehicle device, or as an in-vehicle communication system including the in-vehicle device. Effect of the Invention

[0011] According to the present disclosure, the amount of communication in an in-vehicle communication system can be further reduced. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a diagram showing a configuration of an in-vehicle communication system according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a diagram illustrating a configuration of an in-vehicle ECU according to an embodiment of the present disclosure. [Diagram 3] FIG. 3 is a diagram illustrating a configuration of a relay device according to an embodiment of the present disclosure. [Figure 4] FIG. 4 is a diagram illustrating an example of a notification necessity table stored in the storage unit of the relay device according to the embodiment of the present disclosure. [Diagram 5] FIG. 5 is a flowchart defining an example of an operation procedure when a relay device according to an embodiment of the present disclosure performs relay processing. [Figure 6] FIG. 6 is a flowchart illustrating an example of an operation procedure when a relay device according to an embodiment of the present disclosure issues a sleep notification. [Figure 7] FIG. 7 is a flowchart defining an example of an operation procedure when an in-vehicle ECU according to an embodiment of the present disclosure transmits information to another in-vehicle ECU. [Figure 8] FIG. 8 is a diagram illustrating an example of a communication sequence in the in-vehicle communication system according to the embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] First, the contents of the embodiments of the present disclosure will be listed and described.

[0014] (1) An in-vehicle relay device according to an embodiment of the present disclosure includes a relay unit that relays information between multiple in-vehicle devices belonging to different VLANs, a detection unit that detects that the in-vehicle devices have transitioned to a sleep state, and a notification unit that, when the detection unit detects that a first in-vehicle device among the multiple in-vehicle devices has transitioned to a sleep state, provides a sleep notification to a second in-vehicle device among the multiple in-vehicle devices that the first in-vehicle device has transitioned to a sleep state.

[0015] In this way, the in-vehicle relay device detects that the in-vehicle device has transitioned to a sleep state, and sends a sleep notification to other in-vehicle devices that belong to a different VLAN from the in-vehicle device, indicating that the in-vehicle device has transitioned to a sleep state. This allows the other in-vehicle devices to recognize that the in-vehicle device has transitioned to a sleep state, and therefore, for example, the transmission of information from the other in-vehicle devices to the in-vehicle device during the period when the in-vehicle device is in a sleep state can be stopped. This makes it possible to further reduce the amount of communication in the in-vehicle communication system.

[0016] (2) The detection unit may be configured to determine that the first in-vehicle device has transitioned to a sleep state if a first NM (Network Management) message indicating that the first in-vehicle device is in an active state, which is periodically broadcast by the first in-vehicle device within the VLAN to which the first in-vehicle device belongs, does not arrive for a predetermined period of time.

[0017] With this configuration, it is possible to accurately detect through simple processing that the first in-vehicle device has transitioned to a sleep state, using an NM message conforming to the existing standard AUTOSAR (AUTomotive Open System ARchitecture).

[0018] (3) The detection unit may be configured to determine whether the first in-vehicle device has transitioned to a sleep state or whether the first in-vehicle device has failed if the first NM message does not arrive for a predetermined period of time.

[0019] With this configuration, when the first NM message from the first in-vehicle device does not arrive for a predetermined period of time, it is possible to distinguish between the transition of the first in-vehicle device to a sleep state and a malfunction of the first in-vehicle device, and to perform processing according to the result of the distinction.

[0020] (4) The vehicle-mounted relay device may further include a memory unit that stores notification necessity information indicating a correspondence between a pair of the vehicle-mounted devices belonging to different VLANs and the necessity of sending the sleep notification to the other vehicle-mounted device in the pair when one of the vehicle-mounted devices in the pair transitions to a sleep state.

[0021] With this configuration, a sleep notification can be selectively sent to an in-vehicle device that should send a sleep notification based on the notification necessity information stored in the memory unit. For example, a sleep notification can be sent to an in-vehicle device that periodically sends information to an in-vehicle device that has transitioned to a sleep state.

[0022] (5) The second in-vehicle device may be a sensor, and the first in-vehicle device may be a driving assistance device that provides driving assistance based on a measurement result of the sensor.

[0023] In a driving assistance system, the sensor transmits measurement results to the driving assistance device at short intervals, and the driving assistance device may frequently transition to a sleep state when the vehicle is stopped. By making the sensor recognize that the driving assistance device has transitioned to a sleep state and stopping the transmission of measurement information from the sensor to the driving assistance device during the period when the driving assistance device is in a sleep state, the amount of communication in the in-vehicle communication system can be more effectively reduced.

[0024] (6) The vehicle-mounted relay device may further include a transmitting unit that periodically transmits a second NM message to each vehicle-mounted device indicating that the vehicle-mounted relay device is in an active state, wherein the transmitting unit continues transmitting the second NM message to the second vehicle-mounted device even after the detecting unit detects that the first vehicle-mounted device has transitioned to a sleep state, and the notifying unit may be configured to perform the sleep notification to the second vehicle-mounted device by including information indicating that the first vehicle-mounted device has transitioned to a sleep state in the second NM message transmitted by the transmitting unit.

[0025] With this configuration, a sleep notification can be sent to the second in-vehicle device with simpler processing than a configuration in which a message indicating that the first in-vehicle device has transitioned to a sleep state is separately generated and transmitted to the second in-vehicle device.

[0026] (7) An in-vehicle device according to an embodiment of the present disclosure is an in-vehicle device that includes a transmitter that transmits information to other in-vehicle devices belonging to a different VLAN via an in-vehicle relay device, and a receiver that receives a sleep notification from the in-vehicle relay device indicating that the other in-vehicle devices have transitioned to a sleep state, and when the receiver receives the sleep notification, the transmitter stops transmitting information to the other in-vehicle devices.

[0027] In this way, by receiving a sleep notification from the in-vehicle relay device that another in-vehicle device belonging to a different VLAN has transitioned to a sleep state and stopping the transmission of information to the other in-vehicle device, it is possible to stop the transmission of information to the other in-vehicle device during a period when the other in-vehicle device cannot receive information, thereby further reducing the amount of communication in the in-vehicle communication system.

[0028] (8) The transmitter periodically broadcasts an NM message indicating that the in-vehicle device is in an active state within the VLAN to which the in-vehicle device belongs, and the transmitter continues broadcasting the NM message even after the receiver receives the sleep notification.

[0029] With this configuration, the vehicle-mounted device can be made to recognize that the vehicle-mounted device is in an active state, and can maintain a state in which it is able to receive information from other vehicle-mounted devices via the vehicle-mounted relay device.

[0030] (9) A sleep notification method according to an embodiment of the present disclosure includes the steps of relaying information between multiple in-vehicle devices belonging to different VLANs, detecting that a first in-vehicle device among the multiple in-vehicle devices has transitioned to a sleep state, and sending a sleep notification to a second in-vehicle device among the multiple in-vehicle devices indicating that the first in-vehicle device has transitioned to a sleep state.

[0031] In this way, the in-vehicle relay device detects that the in-vehicle device has transitioned to a sleep state, and sends a sleep notification to other in-vehicle devices that belong to a different VLAN from the in-vehicle device, informing them that the in-vehicle device has transitioned to a sleep state. This makes it possible to make the other in-vehicle devices aware that the in-vehicle device has transitioned to a sleep state, and therefore, for example, to stop transmitting information from the other in-vehicle devices to the in-vehicle device while the in-vehicle device is in a sleep state. This makes it possible to further reduce the amount of communication in the in-vehicle communication system.

[0032] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals, and the description thereof will not be repeated. In addition, at least some of the embodiments described below may be arbitrarily combined.

[0033] [Configuration and basic operation] FIG. 1 is a diagram showing a configuration of an in-vehicle communication system according to an embodiment of the present disclosure. With reference to FIG. 1, the in-vehicle communication system 301 includes a relay device 101 and in-vehicle ECUs (Electronic Control Units) 111A, 111B, 111C, and 111D. Hereinafter, each of the in-vehicle ECUs 111A, 111B, 111C, and 111D will also be referred to as an in-vehicle ECU 111. The relay device 101 is an example of an in-vehicle relay device. The in-vehicle ECU 111 is an example of an in-vehicle device. The in-vehicle communication system 301 is mounted on a vehicle 1. That is, the relay device 101 and the in-vehicle ECU 111 are mounted on the vehicle 1.

[0034] The in-vehicle communication system 301 is not limited to a configuration including one relay device 101, and may be configured to include two or more relay devices 101. Note that the in-vehicle communication system 301 is not limited to a configuration including four in-vehicle ECUs 111, and may be configured to include two, three, five or more in-vehicle ECUs 111.

[0035] The relay device 101 is connected to the in-vehicle ECUs 111A, 111B, 111C, and 111D via a cable 2. The cable 2 is, for example, an Ethernet cable. The relay device 101, the in-vehicle ECU 111, and the cable 2 configure an in-vehicle network.

[0036] For example, the in-vehicle ECUs 111A and 111B belong to VLAN10, the in-vehicle ECUs 111C and 111D belong to VLAN20, and the relay device 101 belongs to both VLAN10 and VLAN20.

[0037] The relay device 101 can relay information between a plurality of in-vehicle ECUs 111 that belong to the same VLAN in the in-vehicle network. Specifically, the relay device 101 relays information between the in-vehicle ECU 111A and the in-vehicle ECU 111B, and relays information between the in-vehicle ECU 111C and the in-vehicle ECU 111D.

[0038] The relay device 101 can also relay information between a plurality of in-vehicle ECUs 111 that belong to different VLANs in the in-vehicle network. Specifically, the relay device 101 relays information between, for example, the in-vehicle ECU 111A and the in-vehicle ECU 111C.

[0039] The in-vehicle ECU 111 may be, for example, an electric power steering (EPS), a brake control device, an accelerator control device, a steering control device, a driving assistance device that issues instructions to various devices in an Advanced Driver-Assistance System (ADAS), an IVI (In-Vehicle Infotainment) device having functions such as audio playback and car navigation, or a sensor such as a camera.

[0040] As an example, the in-vehicle ECU 111A is a sensor. The sensor may be a vehicle speed sensor that measures the speed of the vehicle 1, or a camera that captures the surroundings of the vehicle 1. The in-vehicle ECU 111B is an IVI device. The in-vehicle ECU 111C is a driving assistance device. The in-vehicle ECU 111D is a steering control device. The in-vehicle ECU 111A is an example of a second in-vehicle device. The in-vehicle ECU 111C is an example of a first in-vehicle device.

[0041] The in-vehicle ECU 111A, which is a sensor, generates an Ethernet frame including measurement information indicating a measurement result, for example, periodically, and transmits the generated Ethernet frame to the in-vehicle ECU 111C via the relay device 101. The in-vehicle ECU 111C receives the Ethernet frame from the in-vehicle ECU 111A via the relay device 101, and acquires the measurement information from the received Ethernet frame. The in-vehicle ECU 111C, which is a driving assistance device, performs driving assistance based on the measurement result indicated by the acquired measurement information.

[0042] In addition, the in-vehicle communication system 301 may be configured to include other in-vehicle devices such as a brake control device and an accelerator control device instead of some or all of the in-vehicle ECUs 111A, 111B, 111C, and 111D, or in addition to the in-vehicle ECUs 111A, 111B, 111C, and 111D.

[0043] When the state of the vehicle 1 satisfies a predetermined sleep condition in the active state, the in-vehicle ECU 111 transitions from the active state to the sleep state. sleep In this state, when the state of the vehicle 1 satisfies a predetermined wake-up condition, the vehicle 1 transitions from the sleep state to the active state. Here, the sleep state is a state in which power consumption is smaller than that in the active state due to the stopping of some functions of the in-vehicle ECU 111, the stopping of power supply to the in-vehicle ECU 111, or a decrease in the clock frequency in the in-vehicle ECU 111, etc. The sleep state is also called a standby power mode state, a standby state, a power saving state, a standby state, etc. The active state is also called a normal startup state, a normal operation state, a non-sleep state, etc.

[0044] The sleep conditions of the in-vehicle ECU 111 are, for example, that the vehicle 1 has stopped, that the speed of the vehicle 1 has fallen below a predetermined value, that the power supply of the vehicle 1 has been turned off, etc. The wake-up conditions of the in-vehicle ECU 111 are, for example, that the vehicle 1 has started running, that the speed of the vehicle 1 has reached a predetermined value or more, that the power supply of the vehicle 1 has been turned on, etc. For example, the in-vehicle ECU 111 transitions from a sleep state to an active state and from an active state to a sleep state based on the sleep conditions and wake-up conditions preset for each in-vehicle ECU 111.

[0045] For example, when the in-vehicle ECU 111 is in an active state, the in-vehicle ECU 111 periodically broadcasts an NM message conforming to AUTOSAR within the VLAN to which the in-vehicle ECU 111 belongs. Specifically, the in-vehicle ECU 111 broadcasts an Ethernet frame including the NM message within the VLAN to which the in-vehicle ECU 111 belongs.

[0046] Furthermore, for example, when the relay device 101 is in an active state, the relay device 101 periodically transmits an NM message conforming to AUTOSAR to the in-vehicle ECU 111. Specifically, the relay device 101 transmits an Ethernet frame including the NM message to the in-vehicle ECU 111.

[0047] In the active state, the relay device 101 transitions from the active state to the sleep state when, for example, the arrival of NM messages from all of the in-vehicle ECUs 111 stops. In addition, in the sleep state, the relay device 101 transitions from the sleep state to the active state when, for example, the relay device 101 receives an NM message from at least one of the in-vehicle ECUs 111.

[0048] Fig. 2 is a diagram showing a configuration of an in-vehicle ECU according to an embodiment of the present disclosure. Referring to Fig. 2, the in-vehicle ECU 111 includes a communication port 11, a transmitter 12, a receiver 13, a processor 14, and a storage unit 15. The transmitter 12, the receiver 13, and the processor 14 are realized by a processor such as a CPU (Central Processing Unit) and a DSP (Digital Signal Processor). The storage unit 15 is, for example, a non-volatile memory.

[0049] The communication port 11 is, for example, a terminal to which the cable 2 can be connected. The communication port 11 may be a terminal of an integrated circuit. The communication port 11 is connected to the relay device 101 via the cable 2.

[0050] The processing unit 14 generates information to be transmitted to other in-vehicle ECUs 111, and outputs the generated information to the transmission unit 12. Specifically, for example, the processing unit 14 in the in-vehicle ECU 111A, which is a sensor, generates measurement information indicating a measurement result and outputs the measurement information to the transmission unit 12 at a transmission timing according to a predetermined period.

[0051] The transmitter 12 transmits information to another in-vehicle ECU 111 belonging to a different VLAN via the relay device 101. More specifically, the transmitter 12 in the in-vehicle ECU 111A receives measurement information from the processing unit 14, generates an Ethernet frame including the received measurement information, and transmits the generated Ethernet frame to the in-vehicle ECU 111C belonging to the VLAN 20 via the communication port 11 and the relay device 101. Note that the transmitter 12 may transmit the Ethernet frame including the information received from the processing unit 14 to the in-vehicle ECU 111 belonging to the same VLAN 10 via the communication port 11 and the relay device 101.

[0052] The receiver 13 receives Ethernet frames from other in-vehicle ECUs 111 via the relay device 101 and the communication port 11, acquires information from the received Ethernet frames, and outputs the information to the processor 14. Specifically, for example, the receiver 13 in the in-vehicle ECU 111C, which is a driving assistance device, receives Ethernet frames from the in-vehicle ECU 111A via the relay device 101 and the communication port 11, acquires measurement information from the received Ethernet frames, and outputs the measurement information to the processor 14.

[0053] The processing unit 14 stores the information received from the receiving unit 13 in the memory unit 15, and processes the information stored in the memory unit 15. Specifically, for example, the processing unit 14 in the in-vehicle ECU 111C that is a driving assistance device generates control information used for driving assistance based on the measurement information received from the receiving unit 13, and transmits the generated control information to other in-vehicle devices such as an accelerator control device via the transmitting unit 12, the communication port 11, and the relay device 101.

[0054] For example, the transmitter 12 periodically broadcasts an NM message indicating that its own in-vehicle ECU 111 is in an active state, within the VLAN to which its own in-vehicle ECU 111 belongs. More specifically, when its own in-vehicle ECU 111 is in an active state, the transmitter 12 periodically generates an Ethernet frame including a broadcast address as a destination IP address and including an NM message, and transmits the generated Ethernet frame to the relay device 101 via the communication port 11. The NM message broadcast by the transmitter 12 is an example of a first NM message.

[0055] For example, the storage unit 15 stores a sleep condition for the in-vehicle ECU 111 and a wake-up condition for the in-vehicle ECU 111.

[0056] When the processing unit 14 detects that the state of the vehicle 1 satisfies the sleep condition in the storage unit 15 while the state of the in-vehicle ECU 111 is in the active state, the processing unit 14 transitions the in-vehicle ECU 111 from the active state to the sleep state. For example, the processing unit 14 transitions the in-vehicle ECU 111 from the active state to the sleep state after a predetermined time has elapsed since the processing unit 14 detected that the state of the vehicle 1 satisfied the sleep condition.

[0057] More specifically, after a predetermined time has elapsed since the processing unit 14 detected that the state of the vehicle 1 satisfied the sleep condition, the processing unit 14 stops generating information to be transmitted to other in-vehicle ECUs 111. Furthermore, when the processing unit 14 detects that the state of the vehicle 1 satisfied the sleep condition, the processing unit 14 outputs a reception stop instruction to the receiving unit 13 and outputs a transmission stop instruction to the transmitting unit 12.

[0058] When the receiving unit 13 receives a reception stop instruction from the processing unit 14, the receiving unit 13 stops receiving Ethernet frames from the relay device 101 after a predetermined time has elapsed since receiving the reception stop instruction.

[0059] When the transmitting unit 12 receives a transmission stop instruction from the processing unit 14, it stops the periodic broadcast of the NM message after a predetermined time has elapsed since receiving the transmission stop instruction. For example, the transmitting unit 12 broadcasts one or more NM messages including transition information indicating a transition to a sleep state during the period from receiving the transmission stop instruction to the predetermined time having elapsed. As an example, the transmitting unit 12 broadcasts the last NM message during the period from receiving the transmission stop instruction to the predetermined time having elapsed, including the transition information in the NM message.

[0060] In addition, when the processing unit 14 detects that the state of the vehicle 1 satisfies the wake-up condition in the memory unit 15 while the in-vehicle ECU 111 is in a sleep state, the processing unit 14 transitions the in-vehicle ECU 111 from the sleep state to an active state.

[0061] More specifically, when the processing unit 14 detects that the state of the vehicle 1 satisfies the wake-up condition, the processing unit 14 starts generating information to be transmitted to the other in-vehicle ECU 111. In addition, when the processing unit 14 detects that the state of the vehicle 1 satisfies the wake-up condition, the processing unit 14 outputs a reception start instruction to the receiving unit 13 and outputs a transmission start instruction to the transmitting unit 12.

[0062] When the receiving unit 13 receives a reception start instruction from the processing unit 14, the receiving unit 13 transitions to a standby state in which it is capable of receiving an Ethernet frame from the relay device 101.

[0063] When the transmitting unit 12 receives a transmission start instruction from the processing unit 14, it starts broadcasting the NM message periodically.

[0064] 3 is a diagram showing a configuration of a relay device according to an embodiment of the present disclosure. Referring to FIG. 3, relay device 101 includes four communication ports 21, relay unit 22, detection unit 23, NM transmission unit 24, notification unit 25, and storage unit 26. Note that relay device 101 is not limited to a configuration including four communication ports 21, and may include two, three, or five or more communication ports 21. Relay unit 22, detection unit 23, NM transmission unit 24, and notification unit 25 are realized by a processor such as a CPU and a DSP, for example. Storage unit 26 is, for example, a non-volatile memory.

[0065] The communication port 21 is, for example, a terminal to which the cable 2 can be connected. The communication port 21 may be a terminal of an integrated circuit. For example, the four communication ports 21 are connected to the four in-vehicle ECUs 111, respectively.

[0066] The storage unit 26 stores an address table indicating the correspondence between a source IP (Internet Protocol) address and a destination IP address contained in an Ethernet frame that can be received from the in-vehicle ECU 111 and the port number of the communication port 21.

[0067] The relay unit 22 relays information between a plurality of in-vehicle ECUs 111. That is, the relay unit 22 receives an Ethernet frame from the in-vehicle ECU 111 via the communication port 21, and performs a relay process of relaying the received Ethernet frame.

[0068] More specifically, the relay unit 22 acquires a source IP address and a destination IP address from the received Ethernet frame. The relay unit 22 refers to the address table in the storage unit 26 and identifies a port number corresponding to the acquired source IP address and destination IP address. The relay unit 22 then transmits the Ethernet frame to the destination in-vehicle ECU 111 via the communication port 21 of the identified port number.

[0069] The relay unit 22 relays information between a plurality of in-vehicle ECUs 111 belonging to different VLANs in the in-vehicle network. Specifically, for example, the relay unit 22 receives an Ethernet frame from an in-vehicle ECU 111 belonging to VLAN 10 via a corresponding communication port 21, and transmits the received Ethernet frame to a destination in-vehicle ECU 111 belonging to VLAN 20 via a communication port 21 with a port number corresponding to a source IP address and a destination IP address. Also, for example, the relay unit 22 receives an Ethernet frame from an in-vehicle ECU 111 belonging to VLAN 20 via a corresponding communication port 21, and transmits the received Ethernet frame to a destination in-vehicle ECU 111 belonging to VLAN 10 via a communication port 21 with a port number corresponding to a source IP address and a destination IP address.

[0070] The relay unit 22 relays information between a plurality of in-vehicle ECUs 111 belonging to the same VLAN in the in-vehicle network. Specifically, for example, the relay unit 22 receives an Ethernet frame from an in-vehicle ECU 111 belonging to VLAN 10 via a corresponding communication port 21, and transmits the received Ethernet frame to a destination in-vehicle ECU 111 belonging to VLAN 10 via a communication port 21 having a port number corresponding to a source IP address and a destination IP address. Also, for example, the relay unit 22 receives an Ethernet frame from an in-vehicle ECU 111 belonging to VLAN 20 via a corresponding communication port 21, and transmits the received Ethernet frame to a destination in-vehicle ECU 111 belonging to VLAN 20 via a communication port 21 having a port number corresponding to a source IP address and a destination IP address.

[0071] When the destination IP address of an Ethernet frame received from an in-vehicle ECU 111 belonging to VLAN 10 is a broadcast address, the relay unit 22 transmits the Ethernet frame to another in-vehicle ECU 111 belonging to VLAN 10 via the communication port 21 of the port number corresponding to the source IP address and the broadcast address, and also assigns a timestamp to the Ethernet frame and outputs it to the detection unit 23. When the destination IP address of an Ethernet frame received from an in-vehicle ECU 111 belonging to VLAN 20 is a broadcast address, the relay unit 22 transmits the Ethernet frame to another in-vehicle ECU 111 belonging to VLAN 20 via the communication port 21 of the port number corresponding to the source IP address and the broadcast address, and also assigns a timestamp to the Ethernet frame and outputs it to the detection unit 23.

[0072] The detection unit 23 detects that the in-vehicle ECU 111 has transitioned to a sleep state. For example, when an NM message that is periodically broadcast by the in-vehicle ECU 111 in the VLAN to which the in-vehicle ECU 111 belongs does not arrive for a predetermined time, the detection unit 23 determines that the in-vehicle ECU 111 has transitioned to a sleep state.

[0073] More specifically, when detecting unit 23 receives an Ethernet frame from relay unit 22 and the received Ethernet frame contains an NM message, detecting unit 23 obtains a source IP address, an NM message, and a time stamp from the Ethernet frame. Detection unit 23 stores the obtained NM message in storage unit 26 in association with in-vehicle ECU 111 indicated by the obtained source IP address and the reception time indicated by the obtained time stamp.

[0074] The detection unit 23 refers to the NM messages stored in the storage unit 26, and when an NM message from a certain in-vehicle ECU 111 has not arrived for a predetermined time, it determines that the in-vehicle ECU 111 has transitioned to a sleep state.

[0075] For example, when an NM message does not arrive from the in-vehicle ECU 111 for a predetermined time, the detection unit 23 determines whether the in-vehicle ECU 111 has transitioned to a sleep state or whether the in-vehicle ECU 111 has failed.

[0076] More specifically, when an NM message has not arrived from a certain in-vehicle ECU 111 for a predetermined period of time and the latest NM message from the in-vehicle ECU 111 contains transition information, the detection unit 23 determines that the in-vehicle ECU 111 has transitioned to a sleep state.

[0077] On the other hand, if an NM message has not arrived from a certain in-vehicle ECU 111 for a predetermined period of time and the latest NM message from that in-vehicle ECU 111 does not contain transition information, the detection unit 23 determines that that in-vehicle ECU 111 has failed.

[0078] When the detection unit 23 determines that a certain in-vehicle ECU 111 has transitioned to the sleep state, the detection unit 23 notifies the NM transmission unit 24 and the notification unit 25 of sleep determination information indicating that the in-vehicle ECU 111 has transitioned to the sleep state.

[0079] The NM transmission unit 24 periodically transmits an NM message indicating that the relay device 101 is in an active state to each in-vehicle ECU 111. The NM message transmitted by the NM transmission unit 24 is an example of a second NM message.

[0080] More specifically, when the relay device 101 is in an active state, the NM transmission unit 24 periodically generates an Ethernet frame containing an NM message and addressed to each in-vehicle ECU 111, and outputs the generated Ethernet frame to the relay unit 22.

[0081] The relay unit 22 receives an Ethernet frame including an NM message from the NM transmission unit 24, and transmits the received Ethernet frame to the in-vehicle ECU 111 via the communication port 21 with the port number corresponding to the destination IP address.

[0082] For example, when the detection unit 23 detects that the in-vehicle ECU 111 has transitioned to a sleep state, the NM transmission unit 24 stops transmitting NM messages to the in-vehicle ECU 111, but continues transmitting NM messages to in-vehicle ECUs 111 other than the in-vehicle ECU 111 even after the detection unit 23 detects that the in-vehicle ECU 111 has transitioned to a sleep state.

[0083] More specifically, when the NM transmitter 24 receives the sleep determination information from the detector 23, the NM transmitter 24 stops generating an Ethernet frame including an NM message addressed to the in-vehicle ECU 111 indicated by the received sleep determination information.

[0084] When the detection unit 23 detects that an in-vehicle ECU 111 belonging to a certain VLAN has transitioned to a sleep state, the notification unit 25 sends a sleep notification to other in-vehicle ECUs 111 belonging to other VLANs, notifying them that the in-vehicle ECUs 111 have transitioned to a sleep state.

[0085] More specifically, when the notification unit 25 receives the sleep determination information from the detection unit 23, the notification unit 25 performs a sleep notification based on the received sleep determination information.

[0086] Fig. 4 is a diagram showing an example of a notification necessity table stored in a storage unit of a relay device according to an embodiment of the present disclosure. Referring to Fig. 4, the storage unit 26 stores a notification necessity table Tb1 indicating a correspondence relationship between a pair of in-vehicle ECUs 111 belonging to different VLANs and the necessity of a sleep notification to the other in-vehicle ECU 111 in the pair when one of the in-vehicle ECUs 111 transitions to a sleep state. The notification necessity table Tb1 is an example of notification necessity information.

[0087] When the notification unit 25 receives sleep determination information from the detection unit 23, it refers to the notification necessity table Tb1 in the memory unit 26 and determines whether or not to issue a sleep notification to other in-vehicle ECUs 111 in the group that includes the in-vehicle ECU 111 indicated by the received sleep determination information.

[0088] As an example, when the notification unit 25 receives sleep determination information from the detection unit 23 indicating that the in-vehicle ECU 111C has transitioned to a sleep state, the notification unit 25 refers to the notification necessity table Tb1 and decides to send a sleep notification to the in-vehicle ECU 111A in the group P1 that includes the in-vehicle ECU 111C, while deciding not to send a sleep notification to the in-vehicle ECU 111B in the group P3 that includes the in-vehicle ECU 111C.

[0089] For example, the notification unit 25 notifies the in-vehicle ECU 111A of the sleep state by including, in the NM message transmitted by the NM transmission unit 24, information indicating that the in-vehicle ECU 111C has transitioned to the sleep state.

[0090] More specifically, the notification unit 25 outputs a notification instruction to the NM transmission unit 24 to notify the in-vehicle ECU 111A that the in-vehicle ECU 111C has transitioned to the sleep state.

[0091] The NM transmission unit 24 generates an NM message including sleep information SL indicating that the in-vehicle ECU 111C has transitioned to a sleep state upon receiving a notification instruction from the notification unit 25. Then, the NM transmission unit 24 generates an Ethernet frame including the generated NM message and addressed to the in-vehicle ECU 111A, and transmits the generated Ethernet frame to the in-vehicle ECU 111A via the relay unit 22 and the communication port 21.

[0092] 2 again, the receiver 13 in the in-vehicle ECU 111A receives a sleep notification from the relay device 101 notifying the relay device 101 that the in-vehicle ECU 111C has transitioned to a sleep state. More specifically, the receiver 13 receives an Ethernet frame including an NM message including sleep information SL from the relay device 101 via the communication port 11, and acquires the NM message from the received Ethernet frame. The receiver 13 outputs the acquired NM message to the processor 14.

[0093] When the receiver 13 receives the sleep notification, the transmitter 12 stops transmitting the measurement information to the in-vehicle ECU 111C.

[0094] More specifically, the processing unit 14 receives the NM message from the receiving unit 13 and acquires the sleep information SL from the received NM message. The processing unit 14 recognizes that the in-vehicle ECU 111C has transitioned to a sleep state based on the acquired sleep information SL. Then, the processing unit 14 stops generating the measurement information to be transmitted to the in-vehicle ECU 111C.

[0095] For example, the transmitter 12 continues broadcasting the NM message even after the receiver 13 receives the sleep notification.

[0096] Referring back to FIG. 3, after detecting that the in-vehicle ECU 111C has transitioned to the sleep state, the detection unit 23 CWhen the NM message arrives from the in-vehicle ECU 111C, the detection unit 23 determines that the in-vehicle ECU 111C has transitioned to the active state. Then, the detection unit 23 notifies the NM transmission unit 24 and the notification unit 25 of active determination information indicating that the in-vehicle ECU 111C has transitioned to the active state.

[0097] When the NM transmission unit 24 receives active determination information from the detection unit 23, the NM transmission unit 24 starts generating an Ethernet frame including an NM message addressed to the in-vehicle ECU 111C indicated by the received active determination information.

[0098] Referring again to FIG. 4, the notification necessity table Tb1 in the storage unit 26 stores a pair of the in-vehicle ECUs 111 that belong to different VLANs, and a pair of the in-vehicle ECUs 111 that belong to different VLANs. active 10 further shows a correspondence relationship between the state transition and whether or not an active notification is required to the other in-vehicle ECU 111 in the pair.

[0099] 3, when the notification unit 25 receives active determination information indicating that the in-vehicle ECU 111C has transitioned to the active state from the detection unit 23, the notification unit 25 refers to the notification necessity table Tb1 and decides to perform an active notification to the in-vehicle ECU 111A that the in-vehicle ECU 111C has transitioned to the active state. Then, the notification unit 25 outputs a notification instruction to the NM transmission unit 24 to notify the in-vehicle ECU 111A that the in-vehicle ECU 111C has transitioned to the active state.

[0100] The NM transmission unit 24 generates an NM message including active information AC indicating that the in-vehicle ECU 111C has transitioned to an active state upon receiving a notification instruction from the notification unit 25. Then, the NM transmission unit 24 generates an Ethernet frame including the generated NM message and addressed to the in-vehicle ECU 111A, and transmits the generated Ethernet frame to the in-vehicle ECU 111A via the relay unit 22 and the communication port 21.

[0101] 2, the receiver 13 in the in-vehicle ECU 111A receives an Ethernet frame including an NM message including active information AC from the relay device 101 via the communication port 11, and acquires the NM message from the received Ethernet frame. The receiver 13 outputs the acquired NM message to the processor 14.

[0102] The processing unit 14 receives the NM message from the receiving unit 13 and acquires the active information AC from the received NM message. The processing unit 14 recognizes that the in-vehicle ECU 111C has transitioned to the active state based on the acquired active information AC. Then, the processing unit 14 starts outputting the measurement information to the transmitting unit 12 periodically.

[0103] The transmitter 12 generates an Ethernet frame including the measurement information received from the processor 14, and transmits the generated Ethernet frame via the communication port 11 and the relay device 101 to the in-vehicle ECU 111C.

[0104] [Operation flow] Each device in the in-vehicle communication system according to the embodiment of the present disclosure includes a computer including a memory, and a processor such as a CPU in the computer reads out from the memory a program including some or all of the steps of the following sequence and executes it. Each of the programs for the multiple devices can be installed from the outside. Each of the programs for the multiple devices is distributed in a state stored in a recording medium or via a communication line.

[0105] Fig. 5 is a flowchart defining an example of an operation procedure when a relay device according to an embodiment of the present disclosure performs relay processing. Referring to Fig. 5, relay device 101 first waits for an Ethernet frame from in-vehicle ECU 111 (NO in step S102), and when it receives an Ethernet frame from an in-vehicle ECU 111 (YES in step S102), relays the received Ethernet frame. For example, relay device 101 receives an Ethernet frame including measurement information from in-vehicle ECU 111A belonging to VLAN 10, and transmits the received Ethernet frame to in-vehicle ECU 111C belonging to VLAN 20 (step S104).

[0106] 6 is a flowchart showing an example of an operation procedure when the relay device according to the embodiment of the present disclosure performs a sleep notification. Referring to FIG. 6, first, the relay device 101 waits for a change in the arrival state of the NM message from the in-vehicle ECU 111 (NO in step S202), and when the arrival of the NM message from the in-vehicle ECU 111C has stopped (YES in step S202 and YES in step S204), the relay device 101 determines that the in-vehicle ECU 111C has transitioned to the sleep state. More specifically, for example, when the NM message from the in-vehicle ECU 111C has not arrived for a predetermined time and the latest NM message from the in-vehicle ECU 111C includes transition information, the relay device 101 determines that the in-vehicle ECU 111C has transitioned to the sleep state (step S206).

[0107] Next, the relay device 101 performs a sleep notification to the in-vehicle ECU 111A to the effect that the in-vehicle ECU 111C has transitioned to a sleep state. More specifically, the relay device 101 generates an NM message including sleep information SL indicating that the in-vehicle ECU 111C has transitioned to a sleep state, and transmits an Ethernet frame including the generated NM message to the in-vehicle ECU 111A (step S208).

[0108] Next, the relay device 101 waits for a new change in the arrival status of NM messages from the in-vehicle ECU 111, and if, for example, the arrival of NM messages from the in-vehicle ECU 111C resumes (YES in step S202 and NO in step S204), it determines that the in-vehicle ECU 111C has transitioned to an active state (step S210).

[0109] Next, the relay device 101 notifies the in-vehicle ECU 111A that the in-vehicle ECU 111C has transitioned to the active state. More specifically, the relay device 101 generates an NM message including active information AC indicating that the in-vehicle ECU 111C has transitioned to the active state, and transmits an Ethernet frame including the generated NM message to the in-vehicle ECU 111A (step S212).

[0110] Next, the relay device 101 waits for a new change in the arrival state of the NM message from the in-vehicle ECU 111 (NO in step S202).

[0111] Fig. 7 is a flowchart showing an example of an operation procedure when an in-vehicle ECU according to an embodiment of the present disclosure transmits information to another in-vehicle ECU. Fig. 7 is a flowchart showing an example of an operation procedure when an in-vehicle ECU 111A transmits measurement information to an in-vehicle ECU 111C.

[0112] 7, first, the in-vehicle ECU 111A starts transmitting measurement information to the in-vehicle ECU 111C. Specifically, the in-vehicle ECU 111A periodically transmits the measurement information included in an Ethernet frame to the in-vehicle ECU 111C via the relay device 101 (step S302).

[0113] Next, the in-vehicle ECU 111A repeats the periodic transmission of the measurement information to the in-vehicle ECU 111C until a sleep notification or an active notification is received from the relay device 101 (NO in step S304).

[0114] Next, when the in-vehicle ECU 111A receives a sleep notification from the relay device 101, specifically, when it receives an Ethernet frame including an NM message including sleep information SL from the relay device 101 (YES in step S304 and YES in step S306), it recognizes that the in-vehicle ECU 111C has transitioned to a sleep state and stops transmitting measurement information to the in-vehicle ECU 111C (step S308).

[0115] Next, the in-vehicle ECU 111A waits for a sleep notification or an active notification (NO in step S304), and if it receives an active notification from the relay device 101, specifically, if it receives an Ethernet frame including an NM message including active information AC from the relay device 101 (YES in step S304 and NO in step S306), it recognizes that the in-vehicle ECU 111C has transitioned to the active state and resumes sending measurement information to the in-vehicle ECU 111C (step S310).

[0116] Fig. 8 is a diagram showing an example of a communication sequence in the in-vehicle communication system according to the embodiment of the present disclosure, Fig. 8 shows a communication sequence between the relay device 101 and the in-vehicle ECUs 111A and 111C.

[0117] 8, first, the in-vehicle ECU 111A periodically broadcasts an NM message within the VLAN 10 (step S402).

[0118] Furthermore, the in-vehicle ECU 111C periodically broadcasts an NM message within the VLAN 20 (step S404).

[0119] Furthermore, the relay device 101 periodically transmits an NM message to the in-vehicle ECU 111A (step S406), and periodically transmits an NM message to the in-vehicle ECU 111C (step S408).

[0120] Furthermore, the in-vehicle ECU 111A periodically transmits an Ethernet frame, which includes the measurement information and is addressed to the in-vehicle ECU 111C, to the relay device 101 (step S410).

[0121] The relay device 101 relays the Ethernet frame received from the in-vehicle ECU 111A to the in-vehicle ECU 111C (step S412).

[0122] Next, the in-vehicle ECU 111C detects that the state of the vehicle 1 satisfies the sleep condition, and broadcasts an NM message including transition information (step S414).

[0123] Next, the in-vehicle ECU 111C transitions to a sleep state and stops the periodic broadcast of the NM message (step S416).

[0124] Next, since the arrival of NM messages from the in-vehicle ECU 111C has stopped and the latest NM message contains transition information, the relay device 101 determines that the in-vehicle ECU 111C has transitioned to a sleep state, and stops sending NM messages to the in-vehicle ECU 111C (step S418).

[0125] Next, the relay device 101 transmits the NM message including the sleep information SL to the in-vehicle ECU 111A (step S420).

[0126] Next, the in-vehicle ECU 111A receives the NM message including the sleep information SL from the relay device 101 and recognizes that the in-vehicle ECU 111C has transitioned to the sleep state. Then, the in-vehicle ECU 111A stops transmitting the Ethernet frame including the measurement information to the in-vehicle ECU 111C (step S422).

[0127] Next, the in-vehicle ECU 111C detects that the state of the vehicle 1 satisfies the wake-up condition, and transitions to the active state (step S424).

[0128] Next, the in-vehicle ECU 111C resumes the periodic broadcast of the NM message (step S426).

[0129] Next, the relay device 101 receives the NM message from the in-vehicle ECU 111C and determines that the in-vehicle ECU 111C has transitioned to the active state (step S428).

[0130] Next, the relay device 101 resumes the transmission of the NM message to the in-vehicle ECU 111C (step S430).

[0131] Next, the relay device 101 transmits the NM message including the active information AC to the in-vehicle ECU 111A (step S432).

[0132] Next, the in-vehicle ECU 111A receives the NM message including the active information AC from the relay device 101 and recognizes that the in-vehicle ECU 111C has transitioned to the active state. Then, the in-vehicle ECU 111A resumes the transmission of the Ethernet frame including the measurement information to the in-vehicle ECU 111C (step S434).

[0133] The relay device 101 relays the Ethernet frame received from the in-vehicle ECU 111A to the in-vehicle ECU 111C (step S436).

[0134] In the in-vehicle communication system 301 according to the embodiment of the present disclosure, the in-vehicle ECU 111A is a sensor, but is not limited thereto. The in-vehicle ECU 111A may be an in-vehicle device other than a sensor. In addition, the in-vehicle ECU 111C is a driving assistance device, but is not limited thereto. The in-vehicle ECU 111C may be an in-vehicle device other than a driving assistance device.

[0135] In addition, in the relay device 101 according to the embodiment of the present disclosure, the detection unit 23 is configured to determine that the in-vehicle ECU 111 has transitioned to a sleep state when an NM message periodically broadcast by the in-vehicle ECU 111 in a VLAN to which the in-vehicle ECU 111 belongs does not arrive for a predetermined time, but the present invention is not limited to this. For example, the detection unit 23 may be configured to monitor the state of power supply to the in-vehicle ECU 111 from a power source (not shown) mounted on the vehicle 1, and determine that the in-vehicle ECU 111 has transitioned to a sleep state based on the monitoring result. Specifically, the detection unit 23 determines that the in-vehicle ECU 111 has transitioned to a sleep state when the amount of power supplied from the power source to the in-vehicle ECU 111 becomes less than a predetermined value.

[0136] In the relay device 101 according to the embodiment of the present disclosure, the detection unit 23 is configured to determine whether the in-vehicle ECU 111 has transitioned to a sleep state or whether the in-vehicle ECU 111 has failed when an NM message from the in-vehicle ECU 111 does not arrive for a predetermined period of time, but the present invention is not limited to this. The detection unit 23 may be configured to determine that the in-vehicle ECU 111 has transitioned to a sleep state without determining whether the in-vehicle ECU 111 has failed when an NM message from the in-vehicle ECU 111 does not arrive for a predetermined period of time.

[0137] In the relay device 101 according to the embodiment of the present disclosure, the storage unit 26 is configured to store a notification necessity table Tb1 indicating a correspondence relationship between a pair of in-vehicle ECUs 111 belonging to different VLANs and whether or not a sleep notification is required to the other in-vehicle ECU 111 in the pair when one of the in-vehicle ECUs 111 transitions to a sleep state, but this is not limited to the above. The storage unit 26 may be configured not to store the notification necessity table Tb1. In this case, for example, when the detection unit 23 detects that the in-vehicle ECU 111 has transitioned to the sleep state, the notification unit 25 issues a sleep notification to all in-vehicle ECUs 111 belonging to a VLAN different from the VLAN to which the in-vehicle ECU 111 belongs.

[0138] In addition, in the relay device 101 according to the embodiment of the present disclosure, the notification unit 25 is configured to perform the sleep notification by including information indicating that a certain in-vehicle ECU 111 has transitioned to a sleep state in the NM message transmitted by the NM transmission unit 24, but the present invention is not limited to this. For example, the notification unit 25 may be configured to perform the sleep notification by separately generating an Ethernet frame including the sleep information SL and transmitting the generated Ethernet frame to the destination in-vehicle ECU 111 via the relay unit 22 and the communication port 21.

[0139] In addition, in the in-vehicle ECU 111 according to the embodiment of the present disclosure, the transmitter 12 is configured to continue broadcasting the NM message even after the receiver 13 receives a sleep notification, but this is not limited to the above. The transmitter 12 may be configured to stop broadcasting the NM message when the receiver 13 receives a sleep notification, and to resume broadcasting the NM message when the receiver 13 receives an active notification.

[0140] However, a technique capable of further reducing the amount of communication in an in-vehicle communication system is desired. More specifically, in an in-vehicle communication system in which an Ethernet frame including measurement information is periodically transmitted from an in-vehicle ECU 111A to an in-vehicle ECU 111C, when the in-vehicle ECU 111C transitions to a sleep state, the Ethernet frame transmitted by the in-vehicle ECU 111A and addressed to the in-vehicle ECU 111C is not received by the in-vehicle ECU 111C. Therefore, in order to reduce the amount of communication in the in-vehicle communication system, it is desirable to stop the transmission of the Ethernet frame addressed to the in-vehicle ECU 111C by the in-vehicle ECU 111A during the period in which the in-vehicle ECU 111C is in the sleep state.

[0141] For example, if the in-vehicle ECU 111A belongs to the same VLAN as the in-vehicle ECU 111C, it can detect the transition of the in-vehicle ECU 111C to a sleep state based on the arrival status of the NM message broadcast from the in-vehicle ECU 111C and stop sending Ethernet frames addressed to the in-vehicle ECU 111C.

[0142] However, if the in-vehicle ECU 111A belongs to a different VLAN from the in-vehicle ECU 111C, the in-vehicle ECU 111A cannot detect the transition of the in-vehicle ECU 111C to a sleep state, and therefore cannot stop transmitting Ethernet frames addressed to the in-vehicle ECU 111C while the in-vehicle ECU 111C is in the sleep state.

[0143] In contrast, in the relay device 101 according to the embodiment of the present disclosure, the relay unit 22 relays information between a plurality of in-vehicle ECUs 111 that belong to different VLANs. The detection unit 23 detects that the in-vehicle ECU 111C has transitioned to a sleep state. When the detection unit 23 detects that the in-vehicle ECU 111C has transitioned to a sleep state, the notification unit 25 issues a sleep notification to the in-vehicle ECU 111A indicating that the in-vehicle ECU 111C has transitioned to a sleep state.

[0144] In this manner, the relay device 101 detects that the in-vehicle ECU 111C has transitioned to the sleep state, and sends a sleep notification to the in-vehicle ECU 111A, which belongs to a different VLAN from the in-vehicle ECU 111C, to notify the in-vehicle ECU 111A that the in-vehicle ECU 111C has transitioned to the sleep state. This allows the in-vehicle ECU 111A to recognize that the in-vehicle ECU 111C has transitioned to the sleep state, and therefore, for example, the transmission of information from the in-vehicle ECU 111A to the in-vehicle ECU 111C can be stopped while the in-vehicle ECU 111C is in the sleep state. This makes it possible to further reduce the amount of communication in the in-vehicle communication system.

[0145] The above-described embodiments should be considered as illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not by the above description, and is intended to include all modifications within the meaning and scope of the claims.

[0146] The above description includes the following additional features. [Appendix 1] An in-vehicle communication system including a first in-vehicle device and a second in-vehicle device which belong to different VLANs, and an in-vehicle relay device, the in-vehicle relay device relays information between the first in-vehicle device and the second in-vehicle device; the second in-vehicle device transmits information to the first in-vehicle device via the in-vehicle relay device; the in-vehicle relay device detects that the first in-vehicle device has transitioned to a sleep state, and sends a sleep notification to the second in-vehicle device indicating that the first in-vehicle device has transitioned to a sleep state; The second in-vehicle device receives the sleep notification from the in-vehicle relay device and stops transmitting information to the second in-vehicle device. [Explanation of symbols]

[0147] 1 vehicle 2 Cable 11 Communication Ports 12 Transmitter 13 Receiving section 14 Processing section 15 Storage section 21 Communication Port 22 Relay Section 23 Detection unit 24 NM transmitter 25 Notification Department 26 Memory section 101 Repeater 111,111A,111B,111C,111D Automotive ECU 301 In-vehicle communication system Tb1 Notification table

Claims

1. a relay unit that relays information between a plurality of in-vehicle devices that belong to different VLANs (Virtual Local Area Networks); a detection unit that detects that the in-vehicle device has transitioned to a sleep state; An in-vehicle relay device comprising: a notification unit that, when the detection unit detects that a first in-vehicle device among the multiple in-vehicle devices has transitioned to a sleep state, sends a sleep notification to a second in-vehicle device among the multiple in-vehicle devices, indicating that the first in-vehicle device has transitioned to a sleep state.

2. 2. The in-vehicle relay device according to claim 1, wherein the detection unit determines that the first in-vehicle device has transitioned to a sleep state when a first NM (Network Management) message indicating that the first in-vehicle device is in an active state, which is periodically broadcast by the first in-vehicle device in a VLAN to which the first in-vehicle device belongs, does not arrive for a predetermined time.

3. The vehicle-mounted relay device of claim 2, wherein the detection unit determines whether the first vehicle-mounted device has transitioned to a sleep state or has failed if the first NM message does not arrive for a predetermined period of time.

4. The vehicle-mounted relay device further includes: An in-vehicle relay device as described in any one of claims 1 to 3, further comprising a memory unit that stores notification necessity information indicating a correspondence between a pair of in-vehicle devices belonging to different VLANs and the necessity of the sleep notification to the other in-vehicle device in the pair when one of the in-vehicle devices in the pair transitions to a sleep state.

5. the second in-vehicle device is a sensor, The vehicle-mounted relay device according to claim 1 , wherein the first vehicle-mounted device is a driving assistance device that performs driving assistance based on a measurement result of the sensor.

6. The vehicle-mounted relay device further includes: a transmission unit that periodically transmits a second NM message indicating that the vehicle-mounted relay device is in an active state to each of the vehicle-mounted devices; the transmission unit continues transmitting the second NM message to the second in-vehicle device even after the detection unit detects that the first in-vehicle device has transitioned to a sleep state; An in-vehicle relay device as described in any one of claims 1 to 5, wherein the notification unit performs the sleep notification to the second in-vehicle device by including information indicating that the first in-vehicle device has transitioned to a sleep state in the second NM message transmitted by the transmission unit.

7. An in-vehicle device, a transmitting unit that transmits information to another in-vehicle device that belongs to a different VLAN via an in-vehicle relay device; a receiving unit that receives a sleep notification from the vehicle-mounted relay device that the other vehicle-mounted device has transitioned to a sleep state; The transmission unit stops transmitting information to the other in-vehicle device when the reception unit receives the sleep notification.

8. the transmission unit periodically broadcasts an NM message indicating that the in-vehicle device is in an active state within a VLAN to which the in-vehicle device belongs; The in-vehicle device according to claim 7 , wherein the transmitting unit continues broadcasting the NM message even after the receiving unit receives the sleep notification.

9. relaying information between a plurality of in-vehicle devices belonging to different VLANs; detecting that a first in-vehicle device among the plurality of in-vehicle devices has transitioned to a sleep state; sending a sleep notification to a second in-vehicle device of the plurality of in-vehicle devices, notifying the second in-vehicle device that the first in-vehicle device has transitioned to a sleep state.

Citation Information

Patent Citations

  • Data communication system

    JP2005159864A

  • Power source system for vehicle

    JP2006248265A

  • Network system and gateway device

    JP2011087112A

  • Sleep control method

    JP2017092565A

  • Electronic control device

    JP2020088568A