In-vehicle device, information processing method and program

In-vehicle devices manage communication states with deactivation/activation flags to prevent misinterpretation of disconnected states, ensuring efficient and power-saving transitions using standardized protocols.

JP7585989B2Active Publication Date: 2024-11-19AUTONETWORKS TECH LTD +2
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2021099681
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-15
Publication Date
2024-11-19
Estimated Expiration
2041-06-15

AI Technical Summary

Technical Problem

Existing in-vehicle ECUs do not efficiently manage communication when transitioning to a sleep state, leading to potential misinterpretation of disconnected states by other devices.

Method used

In-vehicle devices generate and send notification messages with deactivation or activation flags to manage disconnection detection, ensuring seamless communication transitions between normal and sleep states using protocols like AUTOSAR, CAN, LIN, FlexRay, or TCP/IP.

Benefits of technology

This approach prevents false detection of communication interruptions during state transitions, enhancing efficiency and reducing power consumption by maintaining standardized communication protocols.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007585989000001
    Figure 0007585989000001
  • Figure 0007585989000002
    Figure 0007585989000002
  • Figure 0007585989000003
    Figure 0007585989000003
Patent Text Reader

Abstract

To provide an on-vehicle device and the like capable of efficiently performing processing for another on-vehicle device or the like when the on-vehicle device transitions to a sleep state.SOLUTION: An on-vehicle device is mounted on a vehicle and is communicatively connected to another on-vehicle device via an on-vehicle network. The on-vehicle device includes a control unit that controls communication with the other on-vehicle device. When causing the state of the on-vehicle device to transition from a normal state to a sleep state, the control unit generates a notification message defined by AUTOSAR by including a deactivation flag for deactivating no-communication detection in the other on-vehicle device, and outputs the generated notification message.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an in-vehicle device, an information processing method, and a program. [Background technology]

[0002] A vehicle is equipped with an on-board device including on-board devices such as a power train system for engine control and a body system for air conditioning control, an on-board ECU (Electronic Control Unit) for controlling the on-board devices, and a relay device for relaying communication between the on-board devices and the on-board ECU. By connecting a plurality of on-board devices, an on-board network is configured in the vehicle with the on-board devices (on-board devices, on-board ECU, and relay device) as nodes (see, for example, Patent Documents 1 to 4). The multiple on-board devices communicate via the on-board network. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2017-97851 A [Patent Document 2] JP 2019-147427 A [Patent Document 3] JP 2019-71572 A [Patent Document 4] JP 2014-230022 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, in the vehicle ECUs disclosed in Patent Document 1 and the like, when the vehicle ECU transitions to a sleep state and does not transmit notification messages such as NM messages, there is a problem in that the processing for other vehicle ECUs is not taken into consideration.

[0005] An object of the present disclosure is to provide an in-vehicle device or the like that can efficiently perform processing for other in-vehicle devices or the like when transitioning to a sleep state. [Means for solving the problem]

[0006] An in-vehicle device according to one embodiment of the present disclosure is an in-vehicle device that is mounted on a vehicle and communicatively connected to other in-vehicle devices via an in-vehicle network, and is equipped with a control unit that controls communication with the other in-vehicle devices, and when the control unit transitions the state of the in-vehicle device from a normal state to a sleep state, it generates a notification message defined in AUTOSAR, including a deactivation flag for deactivating out-of-communication detection in the other in-vehicle devices, and outputs the generated notification message. Effect of the Invention

[0007] According to one aspect of the present disclosure, it is possible to provide an in-vehicle device that efficiently performs processing for other in-vehicle devices when transitioning to a sleep state. [Brief description of the drawings]

[0008] [Figure 1] 1 is a schematic diagram illustrating a configuration of an in-vehicle system including an in-vehicle device according to a first embodiment. [Diagram 2] FIG. 2 is a block diagram illustrating a configuration of an in-vehicle device. [Diagram 3] FIG. 2 is an explanatory diagram (sequence diagram) illustrating one mode of each process by an in-vehicle device or the like. [Figure 4] 4 is a flowchart illustrating a process of a control unit of an in-vehicle device. [Diagram 5] 10 is a flowchart illustrating the process of a control unit of an in-vehicle device according to the second embodiment (sleep classification, etc.); [Figure 6] FIG. 11 is an explanatory diagram showing an example of an activation flag according to a sleep classification, etc. [Figure 7] 13 is a flowchart illustrating a process of a control unit of an in-vehicle device according to the third embodiment (activation flag). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] [Description of the embodiment of the present invention] First, embodiments of the present disclosure will be listed and described. In addition, at least some of the embodiments described below may be arbitrarily combined.

[0010] (1) An in-vehicle device according to one embodiment of the present disclosure is an in-vehicle device mounted on a vehicle and communicatively connected to other in-vehicle devices via an in-vehicle network, and includes a control unit that controls communication with the other in-vehicle devices. When transitioning the state of the in-vehicle device from a normal state to a sleep state, the control unit generates a notification message defined in AUTOSAR (AUTomotive Open System ARchitecture), including a deactivation flag for deactivating out-of-communication detection in the other in-vehicle devices, and outputs the generated notification message.

[0011] In this embodiment, a plurality of on-board devices connected to each other so as to be able to communicate with each other via an on-board network continuously perform processing related to disconnection detection for detecting whether communication with other on-board devices is performed normally by transmitting and receiving notification messages to each other. These on-board devices include not only on-board devices to which actuators, sensors, etc. are directly connected, but also relay devices that relay communication between the on-board devices, and correspond to nodes on the on-board network. When an on-board device among the plurality of on-board devices transitions from a normal state to a sleep state, a control unit of the on-board device outputs (transmits) a notification message including a deactivation flag for deactivating the disconnection detection to other on-board devices other than the on-board device. The notification message is, for example, a message conforming to the AUTOSAR standard. The other on-board devices that acquire (receive) the notification message including the deactivation flag deactivate the disconnection detection for the on-board device that is the sender of the notification message. Deactivating the disconnection detection includes disabling the function of performing the disconnection detection, stopping the processing, and fixing a flag indicating whether the communication state of the target on-board device is normal. When the control unit of an in-vehicle device transitions to a sleep state, even if the control unit does not output a notification message for a specified period determined by a sleep timer or the like after outputting a notification message including a deactivation flag, this can efficiently prevent other in-vehicle devices from erroneously detecting that communication with the in-vehicle device has been interrupted.

[0012] (2) In an in-vehicle device according to one embodiment of the present disclosure, the notification message is periodically transmitted and received between the in-vehicle device and the other in-vehicle device, and when the control unit maintains the state of the in-vehicle device in a normal state, it generates the notification message without including the deactivation flag and outputs the generated notification message.

[0013] In this embodiment, when the control unit of the in-vehicle device maintains the state of the in-vehicle device in a normal state, it generates and outputs a notification message without including a deactivation flag, thereby allowing the out-of-service detection in other in-vehicle devices to be maintained in an activated state.

[0014] (3) In one embodiment of the in-vehicle device of the present disclosure, when the control unit transitions the state of the in-vehicle device from a sleep state to a normal state, it generates the notification message including an activation flag for activating out-of-service detection in the other in-vehicle device, and outputs the generated notification message.

[0015] In this aspect, when the control unit of the in-vehicle device transitions from the sleep state to the normal state, the control unit generates a notification message including an activation flag for activating the out-of-communication detection in the other in-vehicle device and outputs the notification message to the other in-vehicle device. As a result, even if the out-of-communication detection of the other in-vehicle device is deactivated, when the in-vehicle device that is the target of the out-of-communication detection transitions from the sleep state to the normal state, the out-of-communication detection of the other in-vehicle device can be activated.

[0016] (4) In an in-vehicle device according to one embodiment of the present disclosure, a communication protocol used in the in-vehicle network is CAN, LIN, FlexRay or TCP / IP, and the control unit outputs the notification message by broadcast.

[0017] In this embodiment, the communication protocol used in the in-vehicle network is CAN, LIN, FlexRay, or TCP / IP, for example, NM (Network Management) messages defined in AUTOSAR. When the communication protocol is TCP / IP, the notification message is output as a broadcast by UDP (User Datagram Protocol) defined in TCP / IP. In this way, in an in-vehicle network using a protocol conforming to AUTOSAR, an in-vehicle device that can efficiently perform processing on other in-vehicle ECUs, etc., when transitioning to a sleep state can be applied.

[0018] (5) In one embodiment of the in-vehicle device according to the present disclosure, when the control unit transitions from a normal state to a sleep state, it identifies a sleep classification indicating a classification of the sleep state, generates the notification message including a deactivation flag corresponding to the identified sleep classification, and outputs the notification message, thereby deactivating the out-of-service detection of the other in-vehicle device.

[0019] In this embodiment, the control unit of the in-vehicle device generates and outputs (transmits) a notification message including a deactivation flag corresponding to the sleep classification, so that the control unit can notify the other in-vehicle device, which is the output destination, of the sleep classification of the in-vehicle device. As a result, the other in-vehicle device that acquires (receives) the notification message can perform processing according to the sleep classification of the in-vehicle device that is the target of the deactivated out-of-service detection.

[0020] (6) In the in-vehicle device according to an aspect of the present disclosure, when the control unit transitions from a normal state to a sleep state, the control unit identifies a sleep condition for transitioning to the sleep state, and conditions The notification message includes a deactivation flag corresponding to the detected disconnection, and the notification message is output to deactivate the disconnection detection of the other vehicle-mounted device.

[0021] In this embodiment, the control unit of the in-vehicle device generates and outputs (transmits) a notification message including a deactivation flag according to the sleep condition, so that the control unit can notify the other in-vehicle device, which is the output destination, of the sleep condition of the in-vehicle device. As a result, the other in-vehicle device that acquires (receives) the notification message can perform processing according to the sleep condition of the in-vehicle device that is the target of the inactivated out-of-communication detection.

[0022] (7) An information processing method according to one aspect of the present disclosure causes a computer mounted on a vehicle and communicatively connected to another computer via an in-vehicle network to generate a notification message including a deactivation flag for deactivating a disconnection detection in the other computer when the state of the computer is transitioned from a normal state to a sleep state, and to execute a process for outputting the generated notification message.

[0023] In this aspect, an information processing method can be provided that causes a computer connected to an in-vehicle network to operate as an in-vehicle device that can efficiently perform processing on other computers, etc. when transitioning the computer to a sleep state.

[0024] (8) A program according to one embodiment of the present disclosure causes a computer mounted on a vehicle and communicatively connected to another computer via an in-vehicle network to execute a process of generating a notification message including a deactivation flag for deactivating a disconnection detection in the other computer when the state of the computer is transitioned from a normal state to a sleep state, and outputting the generated notification message.

[0025] In this aspect, when a computer connected to an in-vehicle network is caused to transition to a sleep state, it can be operated as an in-vehicle device that can efficiently perform processing for other computers, etc.

[0026] [Details of the embodiment of the present disclosure] Specific examples of the in-vehicle device 1 according to the embodiment of the present disclosure will be described below with reference to the drawings. Note that the present disclosure is not limited to these examples, but is defined by the claims, and is intended to include all modifications within the meaning and scope equivalent to the claims.

[0027] (Embodiment 1) Hereinafter, an embodiment will be described with reference to the drawings. FIG. 1 shows an in-vehicle system including an in-vehicle device 1 according to the first embodiment. S2 is a schematic diagram illustrating the configuration of an in-vehicle system S. FIG. 2 is a block diagram illustrating the configuration of an in-vehicle system S. The in-vehicle system S includes a plurality of in-vehicle devices 1 and a relay device 2 mounted on a vehicle C, and an in-vehicle network 3 to which the in-vehicle devices 1 and the relay devices 2 are connected as nodes.

[0028] The communication protocol used in the in-vehicle network 3 is, for example, TCP / IP, and the in-vehicle devices 1 and the relay devices 2 are connected to each other so that they can communicate with each other via a communication line 31 such as an Ethernet cable. The communication protocol is not limited to TCP / IP, and may be CAN, LIN, or FlexRay. A plurality of in-vehicle devices 1 and relay devices 2 connected to the in-vehicle network 3 belong to a domain defined by logical or physical grouping. In-vehicle devices 1 and relay devices 2 belonging to the same domain perform communication interruption detection to determine the communication state with other in-vehicle devices 1 by periodically, regularly, or steadily transmitting and receiving notification messages.

[0029] The in-vehicle network 3 configures a cascaded topology with the in-vehicle device 1 connected to all of the multiple relay devices 2 at the top. The top-level in-vehicle device 1 is an integrated ECU configured, for example, by a vehicle computer, and is responsible for the overall control of the vehicle C. In the in-vehicle network 3 configuring the cascaded topology, the in-vehicle devices 1 connected under each relay device 2 are, for example, individual in-vehicle ECUs to which sensors such as LiDAR or actuators (ACTs) such as lighting devices are connected. The in-vehicle device 1 is not limited to an in-vehicle ECU pre-installed in the vehicle C, and may be, for example, an external device such as an electronic device compatible with a plug and play function provided in the vehicle C. That is, the in-vehicle device 1 may include an external device such as an electronic device connected to the vehicle C by the plug and play function.

[0030] An IG switch that starts and stops the vehicle C is directly or indirectly connected to the integrated ECU, and the integrated ECU may receive an on / off signal (IG on signal, IG off signal) transmitted from the IG switch. The integrated ECU may transmit a sleep signal or a wake-up signal based on the received IG on signal or IG off signal.

[0031] The relay device 2 is, for example, a layer 2 switch or a layer 3 switch, and relays communication between a plurality of in-vehicle devices 1, for example, between an integrated ECU and each in-vehicle ECU, or between in-vehicle ECUs directly connected to the relay device 2. The relay device 2 may be a PLB (Power Lan Box) that is connected to a power supply device such as a battery or an alternator mounted on the vehicle C via a power line and distributes and supplies power output from the power supply device to the in-vehicle devices 1 directly connected to the relay device 2.

[0032] The in-vehicle device 1 includes a control unit 10, a storage unit 11, an in-vehicle communication unit 12, and an input / output I / F 13. The control unit 10 is configured with a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), etc. The control unit 10 performs various control processes and arithmetic processes by reading and executing each program (program product) and data previously stored in the storage unit 11. Each program, etc. stored in the storage unit 11 may be a control program read from a recording medium 111 readable by the in-vehicle device 1. In addition, each program (program product), etc. stored in the storage unit 11 may be a program (program product) downloaded from an external computer (not shown) connected to a communication network (not shown) and stored in the storage unit 11. The storage unit 11 is configured with a volatile memory element such as a RAM (Random Access Memory), or a non-volatile memory element such as a ROM (Read Only Memory), an EEPROM (Electrically Erasable Programmable ROM), or a flash memory.

[0033] The in-vehicle communication unit 12 is an input / output interface (Ethernet PHY unit) using a communication protocol such as Ethernet, and the control unit 10 communicates with the in-vehicle device 1 and the relay device 2 connected to the in-vehicle network 3 via the in-vehicle communication unit 12. When the in-vehicle device 1 is an integrated ECU, a plurality of in-vehicle communication units 12 are provided, and a communication line 31 constituting the in-vehicle network 3 is connected to each of the in-vehicle communication units 12.

[0034] The input / output I / F 13 is, for example, a communication interface for serial communication. Through the input / output I / F 13, the in-vehicle device 1 communicates with in-vehicle devices such as actuators or sensors.

[0035] The relay device 2 includes a control unit, a storage unit, and multiple in-vehicle communication units, similar to the in-vehicle device 1, and the configuration of each functional unit is similar to that of the in-vehicle device 1. The relay device 2 is, for example, an Ethernet switch (Ether SW) that functions as a layer 2 switch or a layer 3 switch. The storage unit of the relay device 2 stores network setting information for performing relay control (switching control).

[0036] The states of the in-vehicle device 1 and the relay device 2 connected to the in-vehicle network 3 include a sleep state in which power consumption is reduced (limited) and a normal state other than the sleep state. The in-vehicle device 1 and the relay device 2 in the normal state determine that the sleep condition is satisfied by receiving, for example, a sleep signal, an IG off signal, etc., and transition from the normal state to the sleep state. The in-vehicle device 1 and the relay device 2 in the sleep state determine that the wake-up condition is satisfied by receiving, for example, a wake-up signal, an IG on signal, etc., and transition from the sleep state to the normal state.

[0037] 3 is an explanatory diagram (sequence diagram) illustrating one mode of each process by the in-vehicle device 1, etc. In the diagram of this embodiment, based on a configuration consisting of three in-vehicle devices 1 connected to a relay device 2 and belonging to the same domain (connected to a segment), transmission and reception of notification messages in these in-vehicle devices 1 and relay device 2, and transition to a sleep state will be described.

[0038] As shown in the figure in this embodiment, in the cascaded in-vehicle network 3, the in-vehicle device 1 connected at the highest level is an integrated ECU configured by a vehicle computer or the like, and the in-vehicle devices 1 connected under the relay device 2 are individual in-vehicle ECUs to which, for example, a sensor such as LiDAR or an actuator (ACT) such as a lighting device is connected. In this embodiment, the in-vehicle devices 1 belonging to the same domain include an integrated ECU (in-vehicle device 1A) and two in-vehicle ECUs (in-vehicle devices 1B and C), and the relay device 2 is also treated in the same way as the in-vehicle device 1 belonging to the same domain, as it corresponds to the in-vehicle device 1.

[0039] These in-vehicle devices 1 (including the relay device 2) belonging to the same domain periodically or constantly transmit notification messages such as NM messages defined in AUTOSAR to other in-vehicle devices 1 (to notify them of their own existence). These in-vehicle devices 1 then receive notification messages from other in-vehicle devices 1 to determine whether or not communication with the other in-vehicle devices 1 is normal (detection of communication outage). That is, when each in-vehicle device 1 including the relay device 2 does not receive a notification message (NM message) from another in-vehicle device 1 for a period exceeding the transmission period of the notification message (NM message), it performs communication outage detection that communication with the other in-vehicle device 1 is in a disconnected state. In this way, each in-vehicle device 1 and the relay device 2 are provided with a communication outage detection function for detecting when communication with other in-vehicle devices 1, etc. is interrupted.

[0040] The in-vehicle device 1A transmits (outputs) a notification message (NM message) (S01). The relay device 2 transmits (outputs) a notification message (NM message) (S02). The in-vehicle device 1B transmits (outputs) a notification message (NM message) (S03). The in-vehicle device 1C transmits (outputs) a notification message (NM message) (S04). These notification messages (NM messages) are transmitted (output) to all the in-vehicle devices 1 and the relay device 2 connected to the same domain by broadcasting using a communication protocol, for example, UDP defined in TCP / IP. Alternatively, the communication protocol may be CAN, LIN, or FlexRay. These in-vehicle devices 1 periodically transmit and receive the notification message (NM message) when in a normal state. The communication between these in-vehicle devices, such as the in-vehicle device 1A, the in-vehicle device 1B, and the in-vehicle device 1C, is performed via the relay device 2, that is, by being relayed by the relay device 2.

[0041] Among the in-vehicle devices 1 belonging to the same domain, when any of the in-vehicle devices 1 (e.g., in-vehicle device 1B) receives a signal that triggers a transition to a sleep state, such as a sleep signal, a signal to change the vehicle C mode, or an IG switch off signal, it determines that the sleep condition is met (S05).

[0042] When the sleep condition is satisfied, the in-vehicle device 1B generates a notification message including a deactivation flag for deactivating the non-communication detection for its own device (in-vehicle device 1B) to the other in-vehicle devices 1 and the relay device 2, and transmits the notification message (deactivation flag: yes) by, for example, broadcast (S06). When the notification message is, for example, an NM message conforming to AUTOSAR, the in-vehicle device 1B may generate the notification message including the deactivation flag by storing the deactivation flag in an area (User data area) included in the payload of the NM message. The deactivation flag may be defined by, for example, a predetermined bit value. After transmitting the notification message (deactivation flag: yes), the in-vehicle device 1B stops the periodic transmission of notification messages without transmitting any more notification messages.

[0043] In-vehicle device 1A, which receives (acquires) the notification message (deactivation flag: yes) transmitted from in-vehicle device 1B, deactivates (disables the out-of-communication detection function) the out-of-communication detection for in-vehicle device 1B, which is the sender of the notification message (S07). Similarly, relay device 2, which receives (acquires) the notification message (deactivation flag: yes), deactivates (disables the out-of-communication detection function) the out-of-communication detection for in-vehicle device 1B (S08). Similarly, in-vehicle device 1C, which receives (acquires) the notification message (deactivation flag: yes), deactivates (disables the out-of-communication detection function) the out-of-communication detection for in-vehicle device 1B (S09).

[0044] By receiving the notification message (deactivation flag: yes) transmitted from the in-vehicle device 1B, the in-vehicle device 1A, the relay device 2, and the in-vehicle device 1C deactivate the out-of-communication detection for the in-vehicle device 1B, and therefore do not determine that the communication with the in-vehicle device 1B has been out of communication even if the notification message from the in-vehicle device 1B is not received thereafter. This makes it possible to prevent the in-vehicle device 1A, the relay device 2, and the in-vehicle device 1C from erroneously detecting that the communication with the in-vehicle device 1B has been out of communication, even when there is no abnormality in the communication with the in-vehicle device 1B.

[0045] After the in-vehicle device 1B determines that the sleep determination has been established, the in-vehicle device 1C, the relay device 2, and the in-vehicle device 1A also determine that the sleep determination has been established in sequence (S10, S11, S12). The in-vehicle device 1A, the relay device 2, and the in-vehicle device 1C for which the sleep determination has been established generate a notification message including a deactivation flag for deactivating the disconnection detection for the in-vehicle device, similar to the in-vehicle device 1B described above, and transmit the notification message (deactivation flag: present), for example, by broadcast. After that, the in-vehicle device 1A, the relay device 2, and the in-vehicle device 1C stop transmitting the periodic notification message without transmitting any more notification messages. The establishment of the sleep determination is performed at different times in each in-vehicle device 1.

[0046] The in-vehicle device 1 and the relay device 2 belonging to the same domain transition to a sleep state (sleep possible state) at the same timing after the sleep determination is established in each device, for example, after a period (sleep timer period) preset in a sleep timer has elapsed (S13). The in-vehicle device 1 that resets the sleep timer period when a predetermined message is received during the period waiting for the sleep timer to elapse and the in-vehicle device 1 that does not reset the sleep timer may belong to the same domain.

[0047] By transitioning to a sleep state (sleep-capable state), the in-vehicle device 1 and the relay device 2 reduce power consumption (reduce the dark current value) by, for example, lowering the operating frequency of the control unit 10, stopping the supply of power to parts other than the in-vehicle communication unit 12, or stopping the supply of power to connected actuators.

[0048] 4 is a flowchart illustrating the processing of the control unit 10 of the in-vehicle device 1. The control unit 10 of the in-vehicle device 1 steadily performs the following processing, for example, when the vehicle C is in a started state (IG switch is on) or stopped state (IG switch is off).

[0049] The control unit 10 of the in-vehicle device 1 outputs a notification message (S101). The control unit 10 of the in-vehicle device 1 outputs (transmits) a notification message, such as an NM message, by broadcast to other in-vehicle devices 1 and relay devices 2 that belong to the same domain. It goes without saying that the notification message in this process does not include a deactivation flag.

[0050] The control unit 10 of the in-vehicle device 1 determines whether the sleep conditions are met (S102). The control unit 10 of the in-vehicle device 1 determines whether the sleep conditions are met based on whether a signal that triggers a transition to a sleep state, such as a sleep signal, a signal to change the vehicle C mode, or an off signal of the IG switch, has been received, or whether an event has occurred. If the control unit 10 of the in-vehicle device 1 receives a sleep signal or the like, it determines that the sleep conditions are met. If the control unit 10 of the in-vehicle device 1 does not receive a sleep signal or the like, it determines that the sleep conditions are not met.

[0051] If the sleep condition is not satisfied (S102: NO), the control unit 10 of the in-car device 1 performs a loop process to execute the process of S102 again. By performing this loop process, the control unit 10 of the in-car device 1 outputs a notification message periodically, periodically, or steadily, and notifies the other in-car devices 1 that the in-car device is alive. By acquiring (receiving) the notification message, the other in-car devices 1 detect that communication with the in-car device 1 that is the sender of this notification message is normal, i.e., not disconnected.

[0052] When the sleep condition is satisfied (S102: YES), the control unit 10 of the in-vehicle device 1 generates a notification message including a deactivation flag (S103). When the sleep condition is satisfied by receiving a sleep signal or the like, the control unit 10 of the in-vehicle device 1 generates a notification message including a deactivation flag defined by a predetermined bit value or the like in an area (User data area) included in the payload of the NM message.

[0053] The control unit 10 of the in-vehicle device 1 outputs a notification message including a deactivation flag (S104). The control unit 10 of the in-vehicle device 1 outputs (transmits) the notification message including the deactivation flag (deactivation flag: yes) to the other in-vehicle devices 1 and the relay device 2 in the same manner as the process of S101. The other in-vehicle devices 1 and the relay device 2 that have acquired (received) the notification message including the deactivation flag deactivate the out-of-communication detection for the in-vehicle device 1 that is the source of the notification message. As a result, even if the other in-vehicle devices 1 and the relay device 2 are unable to acquire (receive) the notification message from the in-vehicle device 1 that is the source of the notification message, they do not determine that communication with the in-vehicle device 1 that is the source of the notification message has become out-of-communication. This makes it possible to efficiently prevent the other in-vehicle devices 1 and the relay device 2 from erroneously detecting that communication with the in-vehicle device 1 that is the source of the notification message (deactivation flag: yes) is out-of-communication (abnormal communication state).

[0054] The control unit 10 of the in-vehicle device 1 determines whether a predetermined time has elapsed (S105). The control unit 10 of the in-vehicle device 1 determines whether a period (sleep timer period) set in advance by, for example, a sleep timer has elapsed. If the predetermined time has not elapsed (S105: NO), the control unit 10 of the in-vehicle device 1 performs a loop process to execute the process of S105 again. If the control unit 10 of the in-vehicle device 1 receives an NM message from another in-vehicle device 1 before the predetermined time has elapsed, the control unit 10 may reset the sleep timer, that is, perform an initialization process to set the elapsed time from the start of counting the predetermined time to 0, for example. By resetting the sleep timer when receiving an NM message from another in-vehicle device 1, the sleep timing (the time to transition to a sleep-enabled state) of multiple in-vehicle devices 1 belonging to the same domain can be synchronized.

[0055] When the predetermined time has elapsed (S105: YES), the control unit 10 of the in-vehicle device 1 transitions to a sleep-enabled state (S106). For example, when a period (sleep timer period) set in advance by a sleep timer has elapsed, the control unit 10 of the in-vehicle device 1 transitions to a sleep-enabled state (sleep state) and reduces power consumption by the in-vehicle device 1.

[0056] According to this embodiment, the control unit 10 of the in-vehicle device 1 that transitions from the normal state to the sleep state outputs (transmits) a notification message including a deactivation flag for deactivating the out-of-communication detection to the other in-vehicle devices 1 other than the in-vehicle device 1. Therefore, even if the control unit 10 of the in-vehicle device 1 does not output a notification message for a predetermined period determined by a sleep timer or the like after outputting the notification message including the deactivation flag when transitioning to the sleep state, it can efficiently prevent the other in-vehicle devices 1 from erroneously detecting that communication with the in-vehicle device 1 has been out of communication.

[0057] (Embodiment 2) FIG. 5 is a flowchart illustrating the processing of the control unit 10 of the in-vehicle device 1 according to the second embodiment (sleep classification, etc.). The control unit 10 of the in-vehicle device 1 steadily performs the following processing, for example, when the vehicle C is in a running state (IG switch is on) or stopped state (IG switch is off). The control unit 10 of the in-vehicle device 1 outputs a notification message (S201). The control unit 10 of the in-vehicle device 1 determines whether or not a sleep condition is satisfied (S202). The control unit 10 of the in-vehicle device 1 performs S201 to S202, similarly to S101 to S102 of the first embodiment. If the sleep condition is not satisfied (S202: NO), the control unit 10 of the in-vehicle device 1 performs a loop processing to execute the processing of S201 again.

[0058] If the sleep condition is met (S202: YES), the control unit 10 of the in-vehicle device 1 identifies a sleep classification indicating a classification of a sleep state according to the identified sleep condition (S203). The sleep state to which the in-vehicle device 1 transitions is classified (sleep classification) into a plurality of states depending on, for example, the length of the sleep timer period, the type of domains subject to simultaneous sleep, the power saving mode in the sleep state, etc. In addition, the sleep condition that is met when the in-vehicle device 1 transitions to the sleep state includes a plurality of conditions depending on, for example, the type of trigger signal acquired (received) by the in-vehicle device 1, the state or driving mode of the vehicle C when the sleep condition is met, etc.

[0059] FIG. 6 is an explanatory diagram showing an example of an activation flag according to a sleep classification, etc. In the storage unit 11 of the in-vehicle device 1, the above-mentioned sleep classification and sleep condition are stored (stored) in a table in a matrix format, for example, to define a deactivation flag according to each combination of the sleep classification and the sleep condition. In this embodiment, the deactivation flag is set according to the combination of each sleep classification and the sleep condition, but the present invention is not limited to this, and the deactivation flag may be set according to only each sleep classification or only each sleep condition. That is, the value of the deactivation flag (flag value) is different for each sleep classification, sleep condition, or combination of the sleep classification and the sleep condition. The control unit 10 of the in-vehicle device 1 specifies the sleep classification, sleep condition, or sleep classification and sleep condition based on the sleep condition established in the process of S202 and the state of the vehicle C, and specifies (selects) a deactivation flag according to the combination of the sleep classification and the sleep condition by referring to the table stored in the storage unit 11 of the in-vehicle device 1.

[0060] The control unit 10 of the in-car device 1 generates a notification message including a deactivation flag (S204). The control unit 10 of the in-car device 1 generates a notification message including a deactivation flag according to a combination of a sleep classification and a sleep condition.

[0061] The control unit 10 of the in-vehicle device 1 outputs a notification message including a deactivation flag (S205). The control unit 10 of the in-vehicle device 1 performs the process of S205 similar to S104 in the first embodiment. As in the first embodiment, the other in-vehicle devices 1 and the relay device 2 that acquire (receive) the notification message including the deactivation flag deactivate the out-of-service detection for the in-vehicle device 1 that is the sender of the notification message, thereby preventing erroneous detection by the other in-vehicle devices 1, etc.

[0062] The deactivation flag included in the notification message transmitted from the in-vehicle device 1 is selected according to a combination of the sleep classification and the sleep condition. Therefore, the other in-vehicle devices 1 and the relay device 2 that receive the notification message can understand the sleep classification and the sleep condition of the in-vehicle device 1 that transmitted the notification message based on the deactivation flag. As a result, the other in-vehicle devices 1 that acquire (receive) the notification message can appropriately perform processing according to the sleep classification or the sleep condition of the in-vehicle device 1 that is the target of the deactivated out-of-service detection.

[0063] The control unit 10 of the in-vehicle device 1 determines whether or not a predetermined time has elapsed (S206). If the predetermined time has not elapsed (S206: NO), the control unit 10 of the in-vehicle device 1 performs a loop process to execute the process of S206 again. If the predetermined time has elapsed (S206: YES), the control unit 10 of the in-vehicle device 1 transitions to a sleep-enabled state (S207). The control unit 10 of the in-vehicle device 1 performs S206 to S207 in the same manner as S105 to S106 in the first embodiment.

[0064] (Embodiment 3) 7 is a flowchart illustrating the processing of the control unit 10 of the in-vehicle device 1 according to the third embodiment (activation flag). The control unit 10 of the in-vehicle device 1 steadily performs the following processing, for example, when the vehicle C is in a running state (IG switch is on) or stopped state (IG switch is off). The control unit 10 of the in-vehicle device 1 performs S301 to S305 similarly to S101 to S105 of the first embodiment. When a predetermined time has elapsed (S305: YES), the control unit 10 of the in-vehicle device 1 transitions to a sleep-enabled state (S306). The control unit 10 of the in-vehicle device 1 performs S306 similarly to S106 of the first embodiment.

[0065] If the predetermined time has not elapsed (S305: NO), the control unit 10 of the in-vehicle device 1 judges whether the wake-up condition is satisfied (S3051). The control unit 10 of the in-vehicle device 1 judges whether the wake-up condition is satisfied based on whether a signal that triggers a transition from a sleep state to a normal state, such as a wake-up signal, a signal to change the vehicle C mode, or an on signal of an IG switch, has been received or an event has occurred. If the control unit 10 of the in-vehicle device 1 has received a wake-up signal or the like, it judges that the wake-up condition is satisfied. If the control unit 10 of the in-vehicle device 1 has not received a wake-up signal or the like, it judges that the wake-up condition is not satisfied. If the wake-up condition is not satisfied (S3051: NO), the control unit 10 of the in-vehicle device 1 performs a loop process to execute the process of S305 again.

[0066] When the wake-up condition is met (S3051: YES), the control unit 10 of the in-vehicle device 1 generates a notification message including an activation flag (S3052). When the wake-up condition is met by receiving a wake-up signal or the like, the control unit 10 of the in-vehicle device 1 generates a notification message including an activation flag defined by a predetermined bit value or the like in an area (User data area) included in the payload of the NM message. It goes without saying that the bit value of the activation flag is a value different from the bit value of the deactivation flag.

[0067] The control unit 10 of the in-vehicle device 1 outputs a notification message including an activation flag (activation flag: yes) (S3053). The control unit 10 of the in-vehicle device 1 outputs (transmits) the notification message including an activation flag (activation flag: yes) to the other in-vehicle devices 1 and the relay device 2. After executing S3053, the control unit 10 of the in-vehicle device 1 performs loop processing to execute the processing from S301 again.

[0068] After executing the process of S306, the control unit 10 of the in-vehicle device 1 completes a series of processes in this flow. Alternatively, after executing the process of S306, the control unit 10 of the in-vehicle device 1 may perform processes similar to the processes from S3051 to S3053 (determining whether the wake-up condition is satisfied).

[0069] The control unit 10 of the in-vehicle device 1 outputs a notification message periodically, regularly, or steadily, and notifies other in-vehicle devices 1 that the in-vehicle device 1 is alive. In other words, the in-vehicle device 1 enters a normal state. The other in-vehicle devices 1 and the relay device 2 that acquire (receive) the notification message containing the activation flag activate out-of-communication detection for the in-vehicle device 1 that is the sender of the notification message. Thereafter, by acquiring (receiving) the notification message, these other in-vehicle devices 1 can detect that communication with the in-vehicle device 1 that is the sender of the notification message is in a normal state, i.e., that communication is not out of communication.

[0070] According to this embodiment, even if the out-of-communication detection of another in-vehicle device 1 is deactivated, when the in-vehicle device 1 that is the subject of the out-of-communication detection transitions from a sleep state to a normal state, a notification message including an activation flag is output, so that the out-of-communication detection of the other in-vehicle device 1 can be activated.

[0071] The embodiments disclosed herein are illustrative in all respects and should not be considered as limiting. The scope of the present invention is defined by the claims, not by the above meaning, and is intended to include all modifications within the scope and meaning equivalent to the claims. [Explanation of symbols]

[0072] S In-vehicle system C Vehicle 1 On-vehicle device 10 Control section 11 Storage section 111 Recording media P Program (Program Product) 12 In-vehicle communication unit 13 Input / Output Interface 2. Relay Device 3. In-vehicle network 31 Communication Line

Claims

1. An in-vehicle device that is mounted in a vehicle and is communicably connected to other in-vehicle devices via an in-vehicle network, a control unit for controlling communication with the other in-vehicle device, The control unit is generating a notification message defined in AUTOSAR including a deactivation flag for deactivating a disconnection detection in the other in-vehicle device when the state of the in-vehicle device is to be transitioned from a normal state to a sleep state; outputting the generated notification message; When transitioning from a normal state to a sleep state, a sleep classification indicating a classification of the sleep state is identified; generating the notification message including a deactivation flag corresponding to the identified sleep classification; By outputting the notification message, the disconnection detection of the other vehicle-mounted device is deactivated. In-vehicle device.

2. An in-vehicle device that is mounted in a vehicle and communicatively connected to other in-vehicle devices via an in-vehicle network, a control unit for controlling communication with the other in-vehicle device, The control unit is generating a notification message defined in AUTOSAR including a deactivation flag for deactivating a disconnection detection in the other in-vehicle device when the state of the in-vehicle device is to be transitioned from a normal state to a sleep state; outputting the generated notification message; When transitioning from a normal state to a sleep state, a sleep condition for transitioning to the sleep state is identified; generating the notification message including a deactivation flag corresponding to the identified sleep condition; By outputting the notification message, the disconnection detection of the other vehicle-mounted device is deactivated. In-vehicle device.

3. the notification message is periodically transmitted and received between the in-vehicle device and the another in-vehicle device; The control unit is generating the notification message without including the deactivation flag when the state of the in-vehicle device is to be maintained in a normal state; Output the generated notification message The in-vehicle device according to claim 1 or 2.

4. The control unit is generating the notification message including an activation flag for activating a disconnection detection in the other in-vehicle device when the state of the in-vehicle device is to be transitioned from a sleep state to a normal state; Output the generated notification message The in-vehicle device according to any one of claims 1 to 3.

5. The communication protocol used in the in-vehicle network is CAN, LIN, FlexRay, or TCP / IP; The control unit outputs the notification message by broadcast. The in-vehicle device according to any one of claims 1 to 4.

6. A computer mounted on a vehicle and communicably connected to other computers via an in-vehicle network, generating a notification message defined in AUTOSAR including a deactivation flag for deactivating a disconnection detection in the other computer when the state of the computer is to be transitioned from a normal state to a sleep state; outputting the generated notification message; When transitioning from a normal state to a sleep state, a sleep classification indicating a classification of the sleep state is identified; generating the notification message including a deactivation flag corresponding to the identified sleep classification; By outputting the notification message, the disconnection detection of the other vehicle-mounted device is deactivated. An information processing method for executing a process.

7. A computer mounted in a vehicle and communicably connected to other computers via an in-vehicle network, comprising: generating a notification message defined in AUTOSAR including a deactivation flag for deactivating a disconnection detection in the other computer when the state of the computer is to be transitioned from a normal state to a sleep state; outputting the generated notification message; When transitioning from a normal state to a sleep state, a sleep condition for transitioning to the sleep state is identified; generating the notification message including a deactivation flag corresponding to the identified sleep condition; By outputting the notification message, the disconnection detection of the other vehicle-mounted device is deactivated. An information processing method for executing a process.

8. A computer mounted on a vehicle and communicably connected to other computers via an in-vehicle network, generating a notification message defined in AUTOSAR including a deactivation flag for deactivating a disconnection detection in the other computer when the state of the computer is to be transitioned from a normal state to a sleep state; outputting the generated notification message; When transitioning from a normal state to a sleep state, a sleep classification indicating a classification of the sleep state is identified; generating the notification message including a deactivation flag corresponding to the identified sleep classification; By outputting the notification message, the disconnection detection of the other vehicle-mounted device is deactivated. A program that executes a process.

9. A computer mounted in a vehicle and communicably connected to other computers via an in-vehicle network, comprising: generating a notification message defined in AUTOSAR including a deactivation flag for deactivating a disconnection detection in the other computer when the state of the computer is to be transitioned from a normal state to a sleep state; outputting the generated notification message; When transitioning from a normal state to a sleep state, a sleep condition for transitioning to the sleep state is identified; generating the notification message including a deactivation flag corresponding to the identified sleep condition; By outputting the notification message, the disconnection detection of the other vehicle-mounted device is deactivated. A program that executes a process.

Citation Information

Patent Citations

  • Computer controlled home theater with independent user controls

    JP2001505391A

  • On-vehicle network system

    JP2014036407A

  • Station-side device

    JP2014230022A

  • Relaying apparatus and method and program for relaying

    JP2017097851A

  • Control apparatus and control method

    JP2019071572A