Vehicle-mounted management device and management method

By detecting and authenticating onboard devices that fail to respond to NM messages, setting their sleep conditions, and controlling their transitions, the power consumption problem of devices that do not conform to the AUTOSAR standard is solved, and collaborative communication with other devices is achieved.

CN117044174BActive Publication Date: 2026-11-10AUTONETWORKS TECH LTD +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202280023243.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-03-31
Filing Date
2022-03-17
Publication Date
2026-11-10
Estimated Expiration
2042-03-17

AI Technical Summary

Technical Problem

In existing technologies, vehicle-mounted devices that do not conform to the AUTOSAR standard, such as vehicle speed sensors, cannot transition to a sleep state via NM messages, resulting in the inability to reduce power consumption.

Method used

The vehicle management device detects and authenticates vehicle devices that fail to respond to NM messages, sets their sleep conditions, and controls them to enter sleep mode when no message is received within a predetermined time, or sends NM messages to maintain their wake-up state, thus ensuring cooperation with other devices.

Benefits of technology

It enables sleep control of vehicle-mounted devices that do not conform to the AUTOSAR standard, reduces power consumption, and maintains communication with other devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117044174B_ABST
    Figure CN117044174B_ABST
Patent Text Reader

Abstract

A vehicle-mounted management device includes a detection section that detects the presence of an object device that is a vehicle-mounted device on a vehicle-mounted network that does not respond to a predetermined message among the vehicle-mounted devices, and a control section that performs control to cause the object device detected by the detection section to transition to a dormant state in a case where a state in which the predetermined message from the vehicle-mounted device does not reach the vehicle-mounted management device continues for a predetermined time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to an on-board management device and management method.

[0002] This application claims priority based on Japanese Patent Application No. 2021-59948, filed on March 31, 2021, the entire disclosure of which is incorporated herein by reference. Background Technology

[0003] Patent Document 1 (Japanese Patent Application Publication No. 2009-161103) discloses a vehicle control device. Specifically, the vehicle control device includes a communication interface unit connected to a communication system for controlling the movement of a controlled object mounted on a vehicle, and a communication setting unit that is independently provided with the control device and adjusts the communication settings of the control device communicating via the communication system.

[0004] Non-Patent Document 1 (AUTOSAR CP R19-11, "Specification of UDP Network Management", AUTOSAR, November 28, 2019) discloses the following technology: According to the AUTOSAR standard, when an onboard device does not need to communicate, it is switched to a sleep state. This technology reduces the power consumption of the onboard device.

[0005] Existing technical documents

[0006] Patent documents

[0007] Patent Document 1: Japanese Patent Application Publication No. 2009-161103

[0008] Non-patent literature

[0009] Non-Patent Document 1: AUTOSAR CP R19-11, “Specification of UDP Network Management”, AUTOSAR, November 28, 2019 Summary of the Invention

[0010] The vehicle management device disclosed herein includes: a detection unit that detects the presence of a target device, wherein the opposing device is a vehicle device on a vehicle network that has not responded to a predetermined message; and a control unit that, when the predetermined message from the vehicle device has not been delivered to the vehicle management device for a predetermined time, controls the target device detected by the detection unit to transition to a sleep state.

[0011] The management method disclosed herein is a management method in an in-vehicle management device, comprising the following steps: detecting the presence of a target device, the target device being an in-vehicle device on an in-vehicle network that has not responded to a predetermined message; and, if the predetermined message from the in-vehicle device has not been delivered to the in-vehicle management device for a predetermined time, controlling the detected target device to transition to a sleep state.

[0012] One embodiment of this disclosure can be implemented not only as an in-vehicle management device with such a processing unit, but also as a semiconductor integrated circuit that implements part or all of the in-vehicle management device, or as a program for causing a computer to execute the processing steps in the in-vehicle management device, or as an in-vehicle communication system having an in-vehicle management device, or as a semiconductor integrated circuit that implements part or all of the in-vehicle communication system, or as a relay method that takes the processing in the in-vehicle communication system as steps, or as a program for causing a computer to execute the processing steps in the in-vehicle communication system. Attached Figure Description

[0013] Figure 1 This is a diagram illustrating an example of the structure of an in-vehicle communication system according to an embodiment of the present disclosure.

[0014] Figure 2 This is a diagram illustrating another example of the structure of an in-vehicle communication system according to an embodiment of the present disclosure.

[0015] Figure 3 This is a diagram illustrating the structure of a relay device according to an embodiment of the present disclosure.

[0016] Figure 4 This is a diagram showing an example of a condition table stored in the storage unit of a relay device according to an embodiment of the present disclosure.

[0017] Figure 5 This is a flowchart illustrating an example of determining the sequence of actions by which a relay device, according to an embodiment of this disclosure, transitions a vehicle speed sensor to a sleep state.

[0018] Figure 6 This is a flowchart illustrating an example of determining the sequence of actions by which a relay device, according to an embodiment of this disclosure, transitions a vehicle speed sensor to a wake-up state.

[0019] Figure 7 This is a diagram illustrating an example of a sequence of transitions to a sleep state and a wake-up state in an in-vehicle communication system according to embodiments of the present disclosure. Detailed Implementation

[0020] A technique for adjusting communication settings in an in-vehicle network has been developed.

[0021] [The problem this disclosure aims to solve]

[0022] The goal is to develop a technology that can further enhance the functionality related to hibernation control, surpassing the technologies described in Patent Document 1 and Non-Patent Document 1.

[0023] This disclosure was made to solve the above-mentioned problems, and its purpose is to provide an on-board management device and management method that can further enhance the functions related to hibernation control.

[0024] [The Effects of This Disclosure]

[0025] According to this disclosure, functions related to hibernation control can be further enhanced.

[0026] [Description of embodiments of this disclosure]

[0027] First, the contents of the embodiments of this disclosure will be listed for explanation.

[0028] (1) The vehicle management device according to the embodiments of the present disclosure includes: a detection unit that detects the presence of a target device, the target device being a vehicle device on a vehicle network that has not responded to a predetermined message; and a control unit that controls the target device detected by the detection unit to change to a sleep state when the state of the predetermined message from the vehicle device not being delivered to the vehicle management device continues for a predetermined time.

[0029] Thus, by controlling the device to enter a sleep state when the predetermined message has not been delivered for a predetermined time, such as in a system that uses a predetermined message to transition an in-vehicle device to a sleep state, the device can also enter a sleep state at the exact moment the in-vehicle device should have entered a sleep state. Therefore, functions related to sleep control can be further improved.

[0030] (2) Alternatively, the vehicle management device may also include a determination unit for determining whether the hibernation condition of the target device is met, and the control unit controls the target device to switch to a hibernation state when the determination unit determines that the hibernation condition is met and the predetermined message from the vehicle device has not been delivered to the vehicle management device for a predetermined time.

[0031] With this structure, it is not necessary to continuously communicate between the target device and other vehicle-mounted devices, and the target device can be put into a sleep state when other vehicle-mounted devices should be put into a sleep state.

[0032] (3) Alternatively, the vehicle management device may further include: a judgment unit for judging whether the hibernation condition of the target device is met; and a sending unit for sending the predetermined message to the vehicle device on the vehicle network on behalf of the target device if the judgment unit judges that the hibernation condition is not met.

[0033] With this structure, when it is necessary to maintain communication between the target device and other vehicle-mounted devices, the wake-up state of other vehicle-mounted devices can be maintained by sending predetermined messages to other vehicle-mounted devices. Therefore, it is possible to maintain the state in which the target device can communicate with other vehicle-mounted devices.

[0034] (4) Alternatively, the vehicle management device may also include an authentication processing unit that performs authentication processing of the object device detected by the detection unit, and the sending unit sends the predetermined message to the vehicle device that replaces the object device when the object device has been authenticated by the authentication processing unit.

[0035] This structure prevents improper object devices from interfering with the transition of other vehicle-mounted devices to a dormant state.

[0036] (5) Alternatively, the control unit may control the object device to resume from the dormant state when the wake-up condition of the object device is met, or when the vehicle management device receives the predetermined message from the vehicle device.

[0037] With this structure, when communication with other vehicle-mounted devices is required in the target device, or when communication with the target device is required in other vehicle-mounted devices, the target device can be restored from a dormant state and set to a state where the target device can communicate with other vehicle-mounted devices.

[0038] (6) The management method involved in the embodiments of this disclosure is a management method in an in-vehicle management device, comprising the following steps: detecting the existence of a target device, the target device being an in-vehicle device on an in-vehicle network that has not responded to a predetermined message; and controlling the detected target device to transition to a sleep state if the predetermined message from the in-vehicle device has not been delivered to the in-vehicle management device for a predetermined time.

[0039] Thus, by controlling the device to transition to a sleep state when the predetermined message has not been delivered for a predetermined time, such as in a system that uses a predetermined message to transition an in-vehicle device to a sleep state, the device can transition to a sleep state at the exact moment the in-vehicle device should have transitioned to a sleep state. Therefore, functions related to sleep control can be further improved.

[0040] The embodiments of this disclosure will now be described using the accompanying drawings. Furthermore, identical or equivalent reference numerals will be used for the same or equivalent parts in the drawings, and their descriptions will not be repeated. Additionally, at least some of the embodiments described below may be arbitrarily combined.

[0041] [Structure and Basic Movements]

[0042] Figure 1 This is a diagram illustrating an example of the structure of an in-vehicle communication system according to an embodiment of this disclosure. (Refer to...) Figure 1 The vehicle communication system 301 includes a relay device 101 and an on-board ECU (Electronic Control Unit) 111. For example, in the vehicle communication system 301, the relay device 101 includes relay devices 101A and 101B, and the on-board ECU 111 includes on-board ECUs 111A and 111B. The vehicle communication system 301 is mounted on a vehicle 1.

[0043] Relay devices 101A and 101B and vehicle ECUs 111A and 111B are devices that follow a predetermined vehicle network management method. More specifically, relay devices 101A and 101B and vehicle ECUs 111A and 111B are devices that follow an example of a vehicle network management method, namely AUTOSAR (AUTomotive Open System Architecture).

[0044] The vehicle ECU 111A and the relay device 101A are interconnected via cable 2. The vehicle ECU 111B and the relay device 101B are interconnected via cable 2. The relay device 101A and the relay device 101B are interconnected via cable 2. Cable 2 is, for example, an Ethernet cable (registered trademark). The relay device 101, the vehicle ECU 111, and the cable 2 constitute the vehicle network.

[0045] The vehicle communication system 301 is not limited to having two vehicle ECUs 111; it can also have three or more vehicle ECUs 111. For example, the vehicle communication system 301 can have two or more vehicle ECUs 111 connected to the relay device 101A via cable 2, or it can have two or more vehicle ECUs 111 connected to the relay device 101B via cable 2. Furthermore, the vehicle communication system 301 can have either no relay device 101B or three or more relay devices 101. The relay device 101A is an example of a vehicle management device. The relay device 101B and the vehicle ECUs 111 are examples of vehicle devices.

[0046] Alternatively, the vehicle communication system 301 can also be a structure that temporarily mounts civilian equipment on the vehicle 1 as a vehicle-mounted device. Civilian equipment could be, for example, a smartphone or a USB (Universal Serial Bus) memory device.

[0047] The vehicle ECU111 is, for example, a driver assistance device that provides instructions to various devices in Electric Power Steering (EPS), brake control, accelerator control, steering control, or Advanced Driver-Assistance System (ADAS).

[0048] The relay device 101 is capable of communicating with the vehicle ECU 111. For example, the relay device 101 performs relay processing to relay information exchanged between multiple vehicle ECUs 111 connected to different cables 2. For example, relay device 101A is a switching device, and relay device 101B is a gateway device.

[0049] For example, the vehicle ECU 111 periodically sends LLDP (Link Layer Discovery Protocol) frames to the relay device 101 connected to it. The LLDP frame stores the MAC address and IP address of the vehicle ECU 111, which is the source of the transmission.

[0050] The relay device 101 receives LLDP frames from the vehicle ECU 111 connected to it, and obtains various information such as the MAC address and IP address of the vehicle ECU 111, which is the source of the transmission, from the received LLDP frames.

[0051] (NM News)

[0052] The relay device 101 and the vehicle ECU 111 transition from a wake-up state to a sleep state and vice versa. In the wake-up state, the relay device 101 and the vehicle ECU 111 communicate with other devices in the vehicle communication system 301; in the sleep state, they cease communication with other devices in the vehicle communication system 301. Here, sleep state refers to a state where power consumption is lower than in the wake-up state due to factors such as the cessation of some device functions, the cessation of power supply to the device, or a decrease in the clock frequency of the device. Sleep state is also called standby power mode, standby state, power-saving state, or backup state. Wake-up state is also called normal start-up state, normal operation state, or non-sleep state.

[0053] For example, the relay device 101 and the vehicle ECU 111 are each preset with conditions for transitioning to a sleep state, i.e., sleep conditions, a standby time from the time their sleep conditions are met until the transition to a sleep state, i.e., timeout time, and conditions for transitioning to a wake-up state, i.e. wake-up conditions.

[0054] For example, a sleep condition refers to vehicle 1 being ignition off or vehicle 1 being parked. Vehicle 1 being ignition off means disconnecting the power supply to the ignition system of vehicle 1. Conversely, a wake-up condition refers to vehicle 1 being ignition on or vehicle 1 starting to move. As an example, relay device 101 and onboard ECU 111 are set with different sleep conditions, different wake-up conditions, and the same timeout period.

[0055] When awake, relay device 101 and vehicle ECU 111 periodically send Network Management (NM) messages according to AUTOSAR to each device in vehicle communication system 301. Specifically, relay device 101 and vehicle ECU 111 broadcast Ethernet frames containing NM messages to each device in vehicle communication system 301. Thus, relay device 101 and vehicle ECU 111 can notify other devices in vehicle communication system 301 that they are awake. That is, the NM message is a message used by each device in vehicle communication system 301 to cooperate in transitioning to sleep mode and to wake-up mode according to AUTOSAR standards.

[0056] When the relay device 101 and the vehicle ECU 111 are in a wake-up state and their own sleep conditions are met, they stop sending NM messages.

[0057] Furthermore, if the relay device 101 and the vehicle ECU 111 do not receive an NM message from another device during the period from the establishment of their own sleep condition until the timeout period, when they are in the wake-up state, they will switch to the sleep state.

[0058] More specifically, if the relay device 101 and the vehicle ECU 111 meet their own sleep conditions while in the wake-up state, they start a timer. If the relay device 101 and the vehicle ECU 111 receive an NM message from another device before the timer's measured time reaches its own timeout period, they reset the timer. Conversely, if the relay device 101 and the vehicle ECU 111 have not received an NM message from another device since the timer was started or reset, and the timer's measured time reaches its own timeout period, they transition to a sleep state. Thus, NM messages can be used to cause each device in the vehicle communication system 301 to transition to a sleep state when its sleep condition is met.

[0059] When the wake-up conditions of the relay device 101 and the vehicle ECU 111 are met in their sleep state, they transition to the wake-up state and begin periodically sending NM messages. Additionally, if the relay device 101 and the vehicle ECU 111 receive NM messages from other devices in the vehicle communication system 301 while in sleep state, they transition to the wake-up state. Thus, NM messages can be used to cause each device in the vehicle communication system 301 to transition to the wake-up state when the wake-up condition of a particular device is met.

[0060] In the vehicle communication system 301, NM messages can be used to put each device into a sleep state when, for example, communication between devices is not required, thus reducing the power consumption of each device.

[0061] <Topic>

[0062] However, the vehicle communication system 301 sometimes has vehicle devices that do not comply with AUTOSAR.

[0063] Figure 2 This is a diagram illustrating another example of the structure of an in-vehicle communication system according to an embodiment of the present disclosure. Figure 2 This shows the addition of vehicle speed sensor 121 to... Figure 1 The state of the vehicle communication system 301 is shown. For example, the vehicle speed sensor 121 is an example of a vehicle-mounted device. The vehicle speed sensor 121 is a vehicle-mounted device added to the vehicle communication system 301.

[0064] Reference Figure 2 For example, a user of vehicle 1 connects vehicle speed sensor 121 to relay device 101A. Vehicle speed sensor 121 is an on-board device that does not comply with AUTOSAR and is not capable of responding to NM messages. That is, NM messages are messages that vehicle speed sensor 121 cannot process. Furthermore, vehicle speed sensor 121 is an on-board device that does not have functions related to NM messages and is unable to process received NM messages or send NM messages. Vehicle speed sensor 121, for example, periodically measures the speed of vehicle 1 and sends Ethernet frames containing measurement information representing the measurement results to on-board ECU 111A via relay device 101A.

[0065] In the vehicle communication system 301, NM messages cannot be used to transition the vehicle speed sensor 121 to a sleep state, therefore, the power consumption of the vehicle speed sensor 121 cannot be reduced. That is, in the vehicle communication system 301, the vehicle speed sensor 121 cannot cooperate with other devices in accordance with the AUTOSAR standard when transitioning to a sleep state and to a wake-up state.

[0066] Therefore, in the vehicle communication system 301 and relay device 101A of this disclosure, such a problem is solved by the following structure and operation, reducing the power consumption of devices that cannot cooperate with other devices in transitioning to a sleep state and to a wake-up state.

[0067] <Relay Device>

[0068] Figure 3 This is a diagram illustrating the structure of a relay device according to an embodiment of this disclosure. (Refer to...) Figure 3 The relay device 101A includes communication ports 15A, 15B, and 15C, a relay unit 11, a detection unit 21, a judgment unit 31, a control unit 41, an NM processing unit 51, a storage unit 61, and timers 71A and 71B. Hereinafter, communication ports 15A, 15B, and 15C will each be referred to as communication port 15. The NM processing unit 51 is an example of a transmitting unit.

[0069] Communication port 15 is, for example, a terminal that can connect to cable 2. Alternatively, communication port 15 can also be a terminal of an integrated circuit. Communication port 15A is connected to relay device 101B via cable 2. Communication port 15B is connected to vehicle ECU 111A via cable 2. Communication port 15C is connected to vehicle speed sensor 121 via cable 2. Furthermore, relay device 101A can also have a structure with four or more communication ports 15.

[0070] The storage unit 61 stores the timeout period. In addition, the storage unit 61 stores the sleep conditions and wake-up conditions of the relay device 101A.

[0071] The relay unit 11, detection unit 21, judgment unit 31, control unit 41, and NM processing unit 51 are implemented, for example, by processors such as CPU (Central Processing Unit) and DSP (Digital Signal Processor). The storage unit 61 is, for example, a non-volatile memory.

[0072] The relay unit 11 receives Ethernet frames sent from vehicle-mounted devices such as the vehicle ECU 111 and the vehicle speed sensor 121 via the communication port 15, and performs relay processing on the received Ethernet frames. For example, the relay unit 11 can function as an L2 switch to relay Ethernet frames transmitted between the vehicle ECU 111A and the vehicle speed sensor 121 connected to the relay unit 101A. Alternatively, for example, the relay unit 11 can function as an L3 switch to relay Ethernet frames transmitted between vehicle-mounted devices connected to different relay units 101.

[0073] (Testing Department)

[0074] The detection unit 21 detects the presence of an on-board device on the vehicle network that has not responded to an NM message, i.e., a target device. More specifically, as a target device, the detection unit 21 detects the presence of an on-board device that does not comply with AUTOSAR, i.e., the vehicle speed sensor 121. An NM message is an example of a predetermined message.

[0075] If the vehicle speed sensor 121 is connected to the communication port 15C in the relay device 101A via the cable 2, it generates an Ethernet frame, namely an authentication frame, containing non-compliance information indicating that it does not comply with AUTOSAR, as well as authentication information such as its ID and MAC address, and sends the generated authentication frame to the relay device 101A.

[0076] The relay unit 11 receives authentication frames from the vehicle speed sensor 121 via the communication port 15C and outputs the received authentication frames to the detection unit 21.

[0077] The detection unit 21 receives authentication frames from the relay unit 11 and obtains authentication information and non-compliance information from the authentication frames. Since the authentication frames contain non-compliance information, the detection unit 21 determines that the source of the authentication frame, namely the vehicle speed sensor 121, has not responded to the NM message. Furthermore, the detection unit 21 uses the obtained authentication information to perform authentication processing on the vehicle speed sensor 121. That is, the detection unit 21 functions as an authentication processing unit. If the authentication processing is successful, the detection unit 21 obtains the MAC address of the vehicle speed sensor 121 from the authentication frames and stores the obtained MAC address as the MAC address of the target device in the storage unit 61.

[0078] If the detection unit 21 saves the MAC address of the vehicle speed sensor 121 as the MAC address of the target device to the storage unit 61, it obtains the sleep condition and wake-up condition of the vehicle speed sensor 121.

[0079] More specifically, for example, the vehicle speed sensor 121 generates an LLDP frame containing condition information representing its own sleep and wake-up conditions, and sends the generated LLDP frame to the relay device 101A.

[0080] The detection unit 21 receives LLDP frames from the vehicle speed sensor 121 via the communication port 15C and the relay unit 11, and obtains condition information from the received LLDP frames. The detection unit 21 stores the sleep conditions and wake-up conditions represented by the obtained condition information as the sleep conditions and wake-up conditions of the target device in the storage unit 61.

[0081] Alternatively, vehicle speed sensor 121 generates an LLDP frame containing functional information indicating its own function. More specifically, vehicle speed sensor 121 generates an LLDP frame containing functional information indicating that it has a vehicle speed measurement function. Furthermore, vehicle speed sensor 121 sends the generated LLDP frame to relay device 101A.

[0082] The detection unit 21 receives LLDP frames from the vehicle speed sensor 121 via the communication port 15C and the relay unit 11, and obtains functional information from the received LLDP frames.

[0083] Figure 4 This is a diagram illustrating an example of a condition table stored in the storage unit of a relay device according to an embodiment of this disclosure. (See also...) Figure 4 The storage unit 61 stores a condition table that represents the correspondence between the functions of the vehicle-mounted device and the sleep and wake-up conditions.

[0084] The detection unit 21 retrieves the sleep and wake-up conditions corresponding to the function represented by the function information obtained from the LLDP frame, i.e., the vehicle speed measurement function, from the condition table in the storage unit 61. The detection unit 21 stores the retrieved sleep and wake-up conditions as the sleep and wake-up conditions of the target device in the storage unit 61.

[0085] (Judgment Section)

[0086] The judgment unit 31 determines whether the sleep condition of the relay device 101A is met and whether the wake-up condition of the relay device 101A is met.

[0087] More specifically, the judgment unit 31 monitors the status of vehicle 1 and, based on the monitoring results, performs judgment processing to determine whether the sleep condition of relay device 101A stored in storage unit 61 and the wake-up condition of relay device 101A stored in storage unit 61 are met. The judgment unit 31 performs the judgment processing periodically, for example, and notifies the control unit 41 and NM processing unit 51 of the judgment results.

[0088] In addition, the determination unit 31 determines whether the sleep condition of the target device, namely the vehicle speed sensor 121, is met and whether the wake-up condition of the vehicle speed sensor 121 is met.

[0089] More specifically, the judgment unit 31 performs judgment processing based on the monitoring results of the vehicle 1's state to determine whether the sleep condition of the object device stored in the storage unit 61 is met and whether the wake-up condition of the object device stored in the storage unit 61 is met. The judgment unit 31 performs the judgment processing periodically, for example, and notifies the control unit 41 and the NM processing unit 51 of the judgment results.

[0090] (NM Processing Department)

[0091] If the relay unit 11 receives an Ethernet frame containing NM messages from the vehicle-mounted device in the vehicle communication system 301 via the communication port 15, it outputs the received Ethernet frame to the NM processing unit 51.

[0092] The NM processing unit 51 receives Ethernet frames from the relay unit 11, obtains NM messages from the received Ethernet frames, and outputs an NM reception notification to the control unit 41 indicating that an NM message has been received from the vehicle-mounted device in the vehicle communication system 301.

[0093] Furthermore, while the relay device 101A is in a wake-up state, the NM processing unit 51 broadcasts the NM message to each device in the vehicle communication system 301. Specifically, the NM processing unit 51 generates an Ethernet frame that contains the broadcast address as the recipient's IP address and stores the NM message, and sends the generated Ethernet frame to each device in the vehicle communication system 301 via the relay unit 11 and the communication port 15.

[0094] More specifically, when the NM processing unit 51 receives a notification from the judgment unit 31 indicating that the wake-up condition of the relay device 101A has been met, it begins or continues the periodic broadcasting of NM messages. Conversely, when the NM processing unit 51 receives a notification from the judgment unit 31 indicating that the sleep condition of the relay device 101A has been met, it stops broadcasting NM messages until it receives a notification from the judgment unit 31 indicating that the wake-up condition of the relay device 101A has been met.

[0095] For example, if the determination unit 31 determines that the sleep condition of the target device, i.e., the vehicle speed sensor 121, is not met, the NM processing unit 51 sends an NM message to the vehicle device on the vehicle network instead of the vehicle speed sensor 121.

[0096] More specifically, when the NM processing unit 51 receives a notification from the determination unit 31 indicating that the wake-up condition of the vehicle speed sensor 121 has been met, it begins or continues the periodic broadcasting of NM messages in place of the vehicle speed sensor 121. Conversely, when the NM processing unit 51 receives a notification from the determination unit 31 indicating that the sleep condition of the vehicle speed sensor 121 has been met, it stops broadcasting NM messages in place of the vehicle speed sensor 121 until it receives a notification from the determination unit 31 indicating that the wake-up condition of the vehicle speed sensor 121 has been met.

[0097] For example, if the vehicle speed sensor 121 is authenticated, the NM processing unit 51 sends an NM message in place of the vehicle speed sensor 121. On the other hand, if the vehicle speed sensor 121 is not authenticated, the NM processing unit 51 does not send an NM message in place of the vehicle speed sensor 121, regardless of whether there is a notification from the determination unit 31 indicating that the wake-up condition of the vehicle speed sensor 121 is met.

[0098] More specifically, the NM processing unit 51 confirms that the MAC address of the vehicle speed sensor 121 is stored in the storage unit 61 as the MAC address of the target device, and broadcasts an NM message in place of the vehicle speed sensor 121. On the other hand, if the NM processing unit 51 does not store the MAC address of the vehicle speed sensor 121 as the MAC address of the target device in the storage unit 61, it does not broadcast an NM message in place of the vehicle speed sensor 121.

[0099] (Control Department)

[0100] The control unit 41 performs the processing of changing the relay device 101A to a sleep state and changing the relay device 101A to a wake-up state. In addition, the control unit 41 performs the control of changing the target device, namely the vehicle speed sensor 121, to a sleep state and changing the vehicle speed sensor 121 to a wake-up state.

[0101] (An example of a process that causes a state transition of a relay device)

[0102] When the control unit 41 receives a notification from the judgment unit 31 indicating that the sleep condition of the relay device 101A has been met while the relay device 101A is in the wake-up state, the timer 71A is started.

[0103] If the control unit 41 receives an NM reception notification from the NM processing unit 51 before the timeout period stored in the storage unit 61 is reached, the control unit 41 resets the timer 71A. On the other hand, if the control unit 41 does not receive an NM reception notification from the NM processing unit 51 after starting or resetting the timer 71A and the timeout period is reached, the control unit 41 performs a process to switch the relay device 101A to a sleep state.

[0104] When the relay device 101A is in a sleep state, the control unit 41 receives a notification from the judgment unit 31 indicating that the wake-up condition of the relay device 101A has been met, or receives an NM receiving notification from the NM processing unit 51, and performs the process of changing the relay device 101A to a wake-up state.

[0105] (Example 1: Control that puts the vehicle speed sensor into a sleep state)

[0106] When the judgment unit 31 determines that the sleep condition of the target device, namely the vehicle speed sensor 121, is met, the control unit 41 controls the vehicle speed sensor 121 to switch to a sleep state.

[0107] More specifically, when the control unit 41 receives a notification from the judgment unit 31 indicating that the sleep condition of the vehicle speed sensor 121 has been met, it sends a sleep transition instruction indicating that the vehicle speed sensor 121 should transition to a sleep state via the relay unit 11, as a message that can be processed in the vehicle speed sensor 121. Specifically, when the control unit 41 receives a notification from the judgment unit 31 indicating that the sleep condition of the vehicle speed sensor 121 has been met, it generates an Ethernet frame containing the sleep transition instruction and sends it to the vehicle speed sensor 121, and outputs the generated Ethernet frame to the relay unit 11.

[0108] The relay unit 11 receives the Ethernet frame from the control unit 41 and sends the received Ethernet frame to the vehicle speed sensor 121 via the communication port 15C.

[0109] The vehicle speed sensor 121 receives the Ethernet frame from the relay device 101A and transitions to a sleep state according to the sleep transition indication contained in the received Ethernet frame.

[0110] (Example 2: Control that puts the vehicle speed sensor into a sleep state)

[0111] If the state of not receiving NM messages from relay device 101A persists for a predetermined time, control unit 41 controls the target device, namely vehicle speed sensor 121, to transition to a sleep state. That is, control unit 41 controls the vehicle speed sensor 121 to transition to a sleep state when NM messages are not received from relay device 101A. More specifically, if the state of not receiving NM reception notification from NM processing unit 51 persists for a predetermined time, control unit 41 generates an Ethernet frame containing a sleep transition indication and sends the generated Ethernet frame to vehicle speed sensor 121 via relay unit 11 and communication port 15C.

[0112] For example, if the judgment unit 31 determines that the sleep condition of the target device, i.e., the vehicle speed sensor 121, is met and the NM message has not been delivered to the relay device 101A for a predetermined time, the control unit 41 controls the vehicle speed sensor 121 to switch to a sleep state.

[0113] More specifically, when the control unit 41 receives a notification from the judgment unit 31 indicating that the sleep condition of the vehicle speed sensor 121 has been met, the timer 71B is started.

[0114] If the control unit 41 receives an NM reception notification from the NM processing unit 51 before the timeout period stored in the storage unit 61 is reached, the control unit 41 resets the timer 71B. On the other hand, if the control unit 41 does not receive an NM reception notification from the NM processing unit 51 since the start or reset of the timer 71B and the timeout period of the timer 71B is reached, the control unit 41 generates an Ethernet frame containing a sleep transition indication and sends the generated Ethernet frame to the vehicle speed sensor 121 via the relay unit 11 and the communication port 15C.

[0115] The vehicle speed sensor 121 receives the Ethernet frame from the relay device 101A and transitions to a sleep state according to the sleep transition indication contained in the received Ethernet frame.

[0116] (An example of control that brings the vehicle speed sensor to a wake-up state)

[0117] When the wake-up condition of the vehicle speed sensor 121 is met, or when the relay device 101A receives an NM message, the control unit 41 controls the vehicle speed sensor 121 to resume from the sleep state.

[0118] More specifically, when the vehicle speed sensor 121 is in a sleep state, if the control unit 41 receives a notification from the determination unit 31 indicating that the wake-up condition of the vehicle speed sensor 121 has been met, or if it receives an NM receiving notification from the NM processing unit 51, it controls the vehicle speed sensor 121 to transition to a wake-up state. More specifically, as a message that can be processed in the vehicle speed sensor 121, the control unit 41 sends a wake-up transition instruction indicating that a transition to a wake-up state should be made to the vehicle speed sensor 121 via the relay unit 11. Specifically, the control unit 41 generates an Ethernet frame containing the wake-up transition instruction indicating that a transition to a wake-up state should be made to the vehicle speed sensor 121, and sends the generated Ethernet frame to the vehicle speed sensor 121 via the relay unit 11 and the communication port 15C.

[0119] The vehicle speed sensor 121 receives the Ethernet frame from the relay device 101A and transitions to the wake-up state according to the wake-up transition indication contained in the received Ethernet frame.

[0120] [Action Flow]

[0121] Each device in the vehicle communication system according to the embodiments of this disclosure includes a computer containing a memory. The computer's CPU or other arithmetic processing unit reads a part or all of a program containing a sequence of steps from the memory and executes it. The programs for these multiple devices can be installed externally. The programs for these multiple devices are either stored on a recording medium or transmitted via a communication line.

[0122] Figure 5This is a flowchart illustrating an example of determining the sequence of actions by which a relay device, according to an embodiment of this disclosure, transitions a vehicle speed sensor to a sleep state.

[0123] Reference Figure 5 First, as an object device on the vehicle network, the relay device 101A detects the presence of the vehicle speed sensor 121 (step S102).

[0124] Next, the relay device 101A obtains the sleep and wake-up conditions of the vehicle speed sensor 121 (step S104).

[0125] Next, the relay device 101A waits for the sleep condition of the vehicle speed sensor 121 to be met (in step S106, it is "No"). If it is determined that the sleep condition of the vehicle speed sensor 121 is met (in step S106, it is "Yes"), then the timer 71B is started (step S108).

[0126] Next, the relay device 101A waits for the timer 71B to reach its timeout period and waits for an NM message from the vehicle device in the vehicle communication system 301 ("No" in step S110 and "No" in step S112). If an NM message from the vehicle device is received before the timer 71B reaches its timeout period ("No" in step S110 and "Yes" in step S112), the timer 71B is reset (step S114).

[0127] On the other hand, if the relay device 101A remains in a state where the NM message has not been delivered for a predetermined time, it controls the vehicle speed sensor 121 to transition to a sleep state. More specifically, if the relay device 101A has not received an NM message from the vehicle device since the start or reset of the timer 71B and the timer 71B's measurement time has reached the timeout period ("Yes" in step S110), it sends a sleep transition instruction to the vehicle speed sensor 121 (step S116).

[0128] Figure 6 This is a flowchart illustrating an example of determining the sequence of actions by which a relay device, according to an embodiment of this disclosure, transitions a vehicle speed sensor to a wake-up state. (See also...) Figure 6 First, when the vehicle speed sensor 121 is in a sleep state, the relay device 101A waits for the conditions for waking up the vehicle speed sensor 121 to be met and for the NM message from the vehicle device in the vehicle communication system 301 to be "No" in step S202 and "No" in step S204.

[0129] Next, for example, if the relay device 101A determines that the wake-up condition of the vehicle speed sensor 121 is met ("Yes" in step S202), it sends a wake-up transition instruction to the vehicle speed sensor 121 (step S206).

[0130] Alternatively, if the relay device 101A receives an NM message from the vehicle device in the vehicle communication system 301 ("Yes" in step S204), it sends a wake-up transition indication to the vehicle speed sensor 121 (step S206).

[0131] Figure 7 This is a diagram illustrating an example of a sequence of transitions to a sleep state and a wake-up state in an in-vehicle communication system according to embodiments of the present disclosure.

[0132] Reference Figure 7 First, the vehicle ECU 111 and the relay device 101 periodically send and receive NM messages (step S302).

[0133] Next, the vehicle speed sensor 121 is added to the vehicle communication system 301. Specifically, for example, the user of vehicle 1 connects the vehicle speed sensor 121 to the relay device 101A (step S304).

[0134] Next, the vehicle speed sensor 121 sends the authentication information to the relay device 101A in the authentication frame (step S306).

[0135] Next, the relay device 101A obtains authentication information from the authentication frame received from the vehicle speed sensor 121, and uses the obtained authentication information to perform authentication processing on the vehicle speed sensor 121. If the authentication processing is successful, the MAC address of the vehicle speed sensor 121 is stored in the storage unit 61 as the MAC address of the target device (step S308).

[0136] Next, the vehicle speed sensor 121 sends the condition information representing the sleep condition and wake-up condition in an LLDP frame to the relay device 101A (step S310).

[0137] Next, the relay device 101A determines that the sleep condition of the vehicle speed sensor 121 is met (step S312).

[0138] Next, the vehicle ECU 111 and the relay device 101 determine that their own sleep conditions are met (step S314).

[0139] Next, if the vehicle ECU 111 and relay device 101 reach the timeout period, they will transition to a sleep state (step S316).

[0140] Next, the relay device 101A sends the sleep transition indication to the vehicle speed sensor 121 in an Ethernet frame (step S318).

[0141] Next, the vehicle speed sensor 121 transitions to a sleep state according to the sleep transition indication contained in the Ethernet frame received from the relay device 101A (step S320).

[0142] Next, the relay device 101A determines that the wake-up condition of the vehicle speed sensor 121 is met (step S322).

[0143] Next, the relay device 101A sends the wake-up transition indication to the vehicle speed sensor 121 in an Ethernet frame (step S324).

[0144] Next, the vehicle speed sensor 121 transitions to a wake-up state according to the wake-up transition instruction contained in the Ethernet frame received from the relay device 101A (step S326).

[0145] Furthermore, in the vehicle communication system 301 according to the embodiments of this disclosure, the NM processing unit 51 is configured to send an NM message to the vehicle-mounted device on the vehicle network in place of the vehicle speed sensor 121 when it is determined that the sleep condition of the vehicle speed sensor 121 is not met, but this is not limited to this. The NM processing unit 51 may also be configured to periodically broadcast NM messages until the determination unit 31 receives a notification indicating that the sleep condition of the relay device 101A is met. On the other hand, when the determination unit 31 receives a notification indicating that the sleep condition of the relay device 101A is met, the broadcasting of NM messages is stopped regardless of whether the sleep condition of the vehicle speed sensor 121 is met or not.

[0146] Alternatively, the NM processing unit 51 may be structured as follows: broadcasting NM messages when at least one of the sleep conditions of the relay device 101A and the sleep conditions of the vehicle speed sensor 121 is not met; on the other hand, stopping the broadcasting of NM messages when the sleep conditions of the relay device 101A and the sleep conditions of the vehicle speed sensor 121 are met.

[0147] Furthermore, the vehicle speed sensor 121 may sometimes autonomously transition to a sleep state regardless of the control implemented by the control unit 41. The NM processing unit 51 may also be configured such that, if communication between the relay device 101A and the vehicle speed sensor 121 has stopped for a predetermined time, it determines that the vehicle speed sensor 121 has autonomously transitioned to a sleep state and stops broadcasting NM messages in place of the vehicle speed sensor 121.

[0148] Furthermore, in the vehicle communication system 301 according to the embodiments of this disclosure, the NM processing unit 51 is configured such that it does not send an NM message in place of the vehicle speed sensor 121 if the vehicle speed sensor 121 is not authenticated, but this is not a limitation. The NM processing unit 51 may also be configured to broadcast an NM message in place of the vehicle speed sensor 121 regardless of whether the vehicle speed sensor 121 has been authenticated.

[0149] Furthermore, in the vehicle communication system 301 according to the embodiments of this disclosure, the control unit 41 is configured to perform control to restore the vehicle speed sensor 121 from the sleep state, but it is not limited to this. The control unit 41 may also be configured to perform control to change the vehicle speed sensor 121 to the sleep state, but not to perform control to restore the vehicle speed sensor 121 from the sleep state.

[0150] Furthermore, in the vehicle communication system 301 according to the embodiments of this disclosure, the detection unit 21 is configured such that, when an authentication frame received from the vehicle speed sensor 121 via the communication port 15C and the relay unit 11 contains non-compliance information, it is determined that the source of the authentication frame, i.e., the vehicle speed sensor 121, has not responded to the NM message, but this is not a limitation. The detection unit 21 may also be configured to detect vehicle devices that do not comply with AUTOSAR in the following manner.

[0151] That is, for example, it is predetermined that communication port 15C is the communication port 15 for connecting devices that do not comply with AUTOSAR. When the detection unit 21 receives an authentication frame from the vehicle speed sensor 121 via the communication port 15C and the relay unit 11, it determines that the source of the LLDP frame, namely the vehicle speed sensor 121, has not responded to the NM message.

[0152] Alternatively, the detection unit 21 monitors the communication port 15C. If the vehicle speed sensor 121 is connected to the communication port 15C, it detects that the communication port 15C is connected. Furthermore, the detection unit 21 determines whether the microcontroller in the vehicle speed sensor 121 is operating by sending and receiving ICMP (Internet Control Message Protocol) frames or ARP (Address Resolution Protocol) frames between itself and the vehicle speed sensor 121 via the relay unit 11 and the communication port 15C. If the microcontroller in the vehicle speed sensor 121 is operating, but the NM processing unit 51 does not receive an NM message from the vehicle speed sensor 121, the detection unit 21 determines that the vehicle speed sensor 121 has not responded to the NM message.

[0153] Furthermore, in the vehicle communication system 301 according to the embodiments of this disclosure, the control unit 41 is configured to transmit Ethernet frames containing sleep transition indications to the vehicle speed sensor 121 via the relay unit 11 and the communication port 15C, but this is not a limitation. The control unit 41 may also be configured to perform control to disconnect the power supply to the vehicle speed sensor 121 instead of transmitting Ethernet frames containing sleep transition indications to the vehicle speed sensor 121 via the relay unit 11 and the communication port 15C.

[0154] Furthermore, in the vehicle communication system 301 according to the embodiments of this disclosure, the control unit 41 is configured to send an Ethernet frame containing a wake-up transition indication to the vehicle speed sensor 121 via the relay unit 11 and the communication port 15C, but this is not a limitation. The control unit 41 may also be configured to control the power supply to the vehicle speed sensor 121 instead of sending the Ethernet frame containing the wake-up transition indication to the vehicle speed sensor 121 via the relay unit 11 and the communication port 15C.

[0155] Furthermore, in the vehicle communication system 301 according to the embodiments of this disclosure, the structure is configured such that the relay device 101A controls the transition of the vehicle speed sensor 121 to a sleep state and the transition of the vehicle speed sensor 121 to a wake-up state, but it is not limited to this. Alternatively, the structure could be as follows: instead of the relay device 101A, the relay device 101B controls the transition of the vehicle speed sensor 121 to a sleep state and the transition of the vehicle speed sensor 121 to a wake-up state via the relay device 101A.

[0156] Furthermore, in the vehicle communication system 301 according to the embodiments of this disclosure, the detection unit 21 is configured to detect the vehicle-mounted device, i.e., the vehicle speed sensor 121, added to the vehicle communication system 301 as the target device, but it is not limited to this. The detection unit 21 may also be configured to detect a vehicle-mounted device already installed in the vehicle communication system 301 as the target device. That is, the detection unit 21 may also be configured to detect a vehicle-mounted device installed in the vehicle communication system 301 when the vehicle 1 is on the market as the target device.

[0157] Furthermore, in the vehicle communication system 301 according to the embodiments of this disclosure, the detection unit 21 is configured to detect vehicle devices that do not comply with AUTOSAR as target devices, but it is not limited to this. For example, the detection unit 21 may also be configured to detect vehicle devices that do not comply with OSEK, which is an example of a vehicle network management method, as target devices. That is, the detection unit 21 may also be configured to detect vehicle devices that fail to respond to predetermined messages according to AUTOSAR as target devices.

[0158] Furthermore, in the vehicle communication system 301 according to the embodiments of this disclosure, the detection unit 21 is configured to detect the vehicle speed sensor 121 as the target device, but it is not limited to this. The detection unit 21 may also be configured to detect vehicle devices other than the vehicle speed sensor 121, such as a camera.

[0159] It should be considered that the above embodiments are exemplary in all respects and not restrictive. The scope of the invention is defined not by the foregoing description but by the claims, and is intended to include all modifications of the same meaning and scope as the claims.

[0160] The above description includes the features noted below.

[0161] [Note 1]

[0162] An on-board management device, comprising:

[0163] The detection unit detects the presence of a target device, which is an in-vehicle device on the vehicle network that has not responded to a predetermined message.

[0164] The determination unit determines whether the sleep condition of the target device detected by the detection unit is met; and

[0165] The control unit controls the device to switch to a sleep state when the determination unit determines that the sleep condition is met.

[0166] Explanation of reference numerals in the attached figures

[0167] 1 vehicle

[0168] 2 Cables

[0169] 11 Relay Section

[0170] Communication ports 15, 15A, 15B, and 15C

[0171] 21. Testing Department

[0172] 31 Judgment Department

[0173] 41 Control Department

[0174] 51 NM Processing Unit

[0175] 61 Storage Department

[0176] 71A and 71B timers

[0177] 101, 101A, 101B relay devices

[0178] 111, 111A, 111B vehicle ECU

[0179] 121 vehicle speed sensor

[0180] 301 Vehicle-mounted Communication System.

Claims

1. A vehicle-mounted management device, comprising: The detection unit detects the presence of a target device, which is an in-vehicle device on the vehicle network that has not responded to a predetermined message. The control unit controls the object device detected by the detection unit to switch to a sleep state if the predetermined message from the vehicle device has not been delivered to the vehicle management device for a predetermined time. The determination unit determines whether the sleep condition of the target device is met; The sending unit, when the determination unit determines that the sleep condition is not met, sends the predetermined message to the vehicle device on the vehicle network instead of the target device. as well as The authentication processing unit performs authentication processing on the target device detected by the detection unit. If the target device has been authenticated by the authentication processing unit, the sending unit sends the predetermined message to the vehicle-mounted device that replaces the target device. On the other hand, if the target device has not been authenticated by the authentication processing unit, the sending unit does not send the predetermined message that replaces the target device, regardless of whether there is a notification from the determination unit indicating that the wake-up condition of the target device is met.

2. The vehicle management device according to claim 1, wherein, If the determination unit determines that the hibernation condition is met and the predetermined message from the vehicle device has not been delivered to the vehicle management device for a predetermined period of time, the control unit performs control to change the target device to a hibernation state.

3. The vehicle management device according to claim 1 or 2, wherein, The control unit controls the object device to resume from hibernation when the wake-up condition of the object device is met, or when the vehicle management device receives the predetermined message from the vehicle device.

4. A management method, specifically a management method within an on-board management device, the management method comprising the following steps: The presence of a target device is detected, wherein the target device is an in-vehicle device on the in-vehicle network that has not responded to a predetermined message. If the predetermined message from the vehicle-mounted device has not been delivered to the vehicle management device for a predetermined period of time, control is performed to change the detected target device to a sleep state. Determine whether the sleep condition of the object device is met; If it is determined that the hibernation condition is not met, the predetermined message is sent to the vehicle device on the vehicle network instead of the target device. Perform authentication processing on the detected object device; as well as If the target device is authenticated, the predetermined message is sent to the vehicle-mounted device that replaces the target device. On the other hand, if the target device is not authenticated, the predetermined message that replaces the target device is not sent, regardless of whether there is a notification indicating that the wake-up condition of the target device is met.

Citation Information

Patent Citations

  • Vehicle control device and vehicle control system using the same

    JP2009161103A

  • Floor slab removal method and floor slab removal device

    JP2021059948A

  • In-vehicle communication system

    JP2009065412A