Network hibernation control method, electronic device, and vehicle

By monitoring the duration of active communication on the local area network after the vehicle is powered off, abnormal power consumption risks are identified and alarms are triggered, thus solving the problem of power loss caused by the network not going into sleep mode after the vehicle is powered off and improving the user experience.

CN119815381BActive Publication Date: 2026-11-27GREAT WALL MOTOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411915817.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2026-11-27
Estimated Expiration
2044-12-24

AI Technical Summary

Technical Problem

The network does not go into sleep mode after the vehicle is powered off, causing the battery to drain and preventing the vehicle from starting, which affects the user experience.

Method used

By determining the status of the local area network, monitoring the communication activity duration of the local interconnected network, identifying abnormal power consumption risks, and providing fault alarm prompts when the vehicle is woken up again, the fault node can be located.

Benefits of technology

To prevent battery depletion, improve user troubleshooting efficiency, and enhance the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119815381B_ABST
    Figure CN119815381B_ABST
Patent Text Reader

Abstract

The application provides a network hibernation control method, an electronic device and a vehicle. When it is monitored that a local area network state of a control local area network is a hibernation state, a communication active duration of a local area network is determined. Whether there is an abnormal power consumption risk is determined according to the communication active duration. When there is an abnormal power consumption risk and the vehicle is woken up again, fault alarm prompting is performed according to a current battery power and an effective active node in the local area network. After the control local area network is hibernated, whether there is an abnormal power consumption risk is determined by the communication active duration. If there is an abnormal power consumption risk, whether alarm needs to be performed is measured according to the current battery power when the vehicle is woken up again, so as to avoid battery power loss. The fault position is determined by the effective active node in the local area network, fault positioning is realized, convenience is provided for users to troubleshoot, and the use experience of the users is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and more particularly to a control method for network hibernation, electronic equipment, and vehicle. Background Technology

[0002] Sometimes, after the vehicle is powered off and locked, the network may not go into sleep mode, which can cause the vehicle to run out of power and fail to start, resulting in a poor user experience. Summary of the Invention

[0003] In view of this, the purpose of this application is to provide a network hibernation control method, electronic device and vehicle for controlling the network to hibernate after the vehicle is powered off, so as to avoid the vehicle losing power.

[0004] To achieve the above objectives, this application provides a method for controlling network hibernation, comprising:

[0005] Determine the local area network status of the control local area network, and when the local area network status is in a dormant state, determine the communication activity duration of the local interconnection network;

[0006] Determine whether there is a risk of abnormal power consumption based on the duration of active communication;

[0007] In response to the risk of abnormal power consumption and the vehicle being woken up again, a fault alarm is issued based on the current battery level and the effective active nodes in the local interconnection network.

[0008] Based on the same inventive concept, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method described above when executing the computer program.

[0009] Based on the same inventive concept, this disclosure also provides a vehicle including the electronic equipment described above.

[0010] As can be seen from the above, the network hibernation control method, electronic device, and vehicle provided in this application can determine the communication activity duration of the local interconnection network when the local area network is in hibernation mode; determine whether there is an abnormal power consumption risk based on the communication activity duration; and when there is an abnormal power consumption risk and the vehicle is woken up again, issue a fault alarm prompt based on the current battery level and the effective active nodes in the local interconnection network. After controlling the local area network to hibernate, the presence of power-consuming, non-hibernating local interconnection network nodes is detected by determining the communication activity duration of the local interconnection network. If a local interconnection network node remains active for a long time, an abnormal power consumption risk is determined. When the vehicle is woken up again, the current battery level is used to determine whether an alarm should be issued to avoid battery depletion. The fault location is determined through the effective active nodes in the local interconnection network, thus achieving fault location and facilitating user troubleshooting, thereby improving the user experience. Attached Figure Description

[0011] To more clearly illustrate the technical solutions in this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This is a flowchart of a network hibernation control method according to an embodiment of this application;

[0013] Figure 2 A flowchart illustrating the active communication duration of a local interconnection network as described in this application embodiment;

[0014] Figure 3 This is a flowchart illustrating how to determine the presence of abnormal power consumption risk based on the duration of active communication, as described in this application.

[0015] Figure 4 A flowchart illustrating the fault alarm notification in this application embodiment;

[0016] Figure 5 This is a schematic diagram of the network hibernation control device according to an embodiment of this application;

[0017] Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0018] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0019] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0020] In this article, it is important to understand that any number of elements in the accompanying figures is for illustrative purposes and not for limitation, and any naming is for distinction only and has no limiting meaning.

[0021] Based on the above background description, the following situations also exist in the related technologies:

[0022] Network non-sleep includes two cases: non-sleep for Controller Area Network (CAN) and non-sleep for Local Interconnect Network (LIN).

[0023] In the CAN network, the controller has multiple operating modes. Each node in the CAN network can compete to send data to the bus using a lossless bit-by-bit arbitration method based on bus access priority (depending on the message identifier). Furthermore, the CAN protocol abolishes station address encoding and instead encodes the communication data, which allows different nodes to receive the same data simultaneously. These characteristics make the data communication between nodes in the CAN bus network highly real-time and easy to form a redundant structure, improving the system's reliability and flexibility.

[0024] CAN networks have the following characteristics:

[0025] (1) There is no master-slave distinction in data communication. Any node can initiate data communication to any other (one or more) nodes. The order of communication is determined by the priority of information of each node.

[0026] (2) When multiple nodes initiate communication at the same time, the lower priority nodes give way to the higher priority nodes, which will not cause congestion on the communication line.

[0027] (3) The maximum communication distance can reach 10KM (the speed is less than 5Kbps), and the speed can reach 1Mbps (the communication distance is less than 40M).

[0028] (4) The CAN network transmission medium can be twisted pair or coaxial cable.

[0029] Therefore, the CAN bus is suitable for short-distance communication with large data volumes or long-distance communication with small data volumes, where real-time performance is required, and for use in multi-master, multi-slave, or equal-status environments.

[0030] LIN networks are low-cost serial communication networks defined for vehicle distributed electronic systems. They complement CAN networks and are suitable for nodes that do not have high requirements for network bandwidth, performance, or fault tolerance.

[0031] LIN networks have the following characteristics:

[0032] (1) Low cost: Communication is based on the universal UART interface, and almost all microcontrollers have the necessary hardware for LIN.

[0033] (2) The maximum transmission rate can reach 20Kbit / s;

[0034] (3) No arbitration mechanism is required in the single master / multiple slave device mode;

[0035] (4) The slave node can achieve self-synchronization without the need for a crystal oscillator or ceramic oscillator, which saves the hardware cost of the slave device and ensures the delay time of signal transmission.

[0036] (5) Nodes can be added to the network without changing the hardware and software of the LIN slave node.

[0037] CAN networks and LIN networks can be distinguished from each other in the following ways:

[0038] 1. Speed: The data transmission speed of CAN network is usually much faster than that of LIN network. The maximum data transmission speed of CAN network can reach 1Mbps, while the maximum speed of LIN network is only 20Kbps.

[0039] 2. Functions: CAN networks are typically used for high-speed data transmission and control, supporting multi-node communication and offering high reliability and anti-interference capabilities; while LIN networks are typically used for low-speed data transmission and control, primarily for simpler control tasks such as door locking and unlocking.

[0040] 3. Cost: Compared to CAN networks, LIN networks are less expensive because they use simpler hardware and software, making them suitable for low-cost automotive electronic systems. CAN networks, on the other hand, are relatively more expensive because they require more complex hardware and software support.

[0041] 4. Application Scenarios: CAN networks are typically used in applications requiring high-speed, reliable, and multi-node communication, such as engine control and vehicle electronic systems; while LIN networks are typically used in applications requiring low speed, simplicity, and low cost, such as door locking and rearview mirror control.

[0042] Based on the above differences, it can be seen that CAN communication is the main communication method of vehicle controllers. It is convenient to collect data and easy to find problems. It is easy to find the CAN node with problems. LIN communication is mainly used for nodes with small data volume. The communication line is simple and it is not easy to collect data. It increases the difficulty of troubleshooting and causes LIN nodes to remain abnormally awake for a long time after the vehicle is powered off. The abnormally awakened LIN node will continuously consume the vehicle's power, resulting in the whole vehicle losing power and causing trouble for users.

[0043] The network hibernation control method, electronic device, and vehicle provided in this application can determine the communication activity duration of the local interconnection network when the local area network is in hibernation mode; determine whether there is an abnormal power consumption risk based on the communication activity duration; and, if there is an abnormal power consumption risk and the vehicle is woken up again, issue a fault alarm based on the current battery level and the effective active nodes in the local interconnection network. After controlling the local area network to hibernate, the system detects whether there are any non-hibernating local interconnection network nodes consuming power by determining the communication activity duration of the local interconnection network. If there are local interconnection network nodes that remain active for a long time, an abnormal power consumption risk is determined. When the vehicle is woken up again, the system assesses whether an alarm should be issued based on the current battery level to avoid battery depletion. Furthermore, the system determines the fault location through the effective active nodes in the local interconnection network, thus facilitating fault troubleshooting and improving the user experience.

[0044] The following describes in detail, with reference to the accompanying drawings, the network hibernation control method provided by the embodiments of this application.

[0045] In some embodiments, such as Figure 1 As shown, a method for controlling network hibernation includes:

[0046] Step 101: Determine the LAN status of the control LAN, and when the LAN status is in a dormant state, determine the communication activity duration of the local interconnection network.

[0047] In practical implementation, compared to LIN networks, CAN networks offer higher reliability and interference resistance. After the vehicle is powered off, the CAN network quickly enters a sleep state, and generally, no nodes remain in an abnormal wake-up state. However, LIN networks have a single communication line, making data acquisition difficult. This can cause some LIN nodes to remain awake for extended periods after power-off, continuously consuming battery power. Therefore, it's necessary to first determine if the CAN network is in a sleep state. If the CAN network is not in a sleep state, it indicates that the vehicle's engine control and body electronic systems may be active. To ensure the normal operation of these systems, LIN nodes need to remain awake to execute corresponding control commands at any time, ensuring uninterrupted vehicle operation. Furthermore, if the CAN network is awake, awakened nodes may wake up dormant LIN nodes at any time, leading to misjudgments of LIN node status and affecting the determination of communication activity duration, resulting in inaccurate communication activity duration.

[0048] The communication active duration is the duration of the LIN network in the wake-up state after the CAN network has been in sleep mode.

[0049] The process for determining the duration of active communication is as follows:

[0050] First, determine if there are any valid active nodes among the slave nodes of the local interconnection network. The local interconnection network consists of one master node and multiple slave nodes. Some slave nodes are directly connected to the master node, while others are connected through other intermediate slave nodes. Slave nodes can be divided into two categories based on their usage scenario: one category consists of valid slave nodes that wake up when the vehicle is powered on and go into sleep mode when the vehicle is powered off; the other category consists of fixed-frequency wake-up nodes that switch between wake-up and sleep states according to a preset wake-up frequency. Since fixed-frequency wake-up nodes also need to be woken up periodically after the vehicle is powered off to perform corresponding functions (such as functions related to anti-theft), a fixed-frequency wake-up node in a wake-up state after the CAN network goes into sleep mode will not cause the LIN network to be in a wake-up state. Therefore, a fixed-frequency wake-up node in a wake-up state can also be considered an invalid wake-up node. Therefore, when determining the communication active duration, the influence of fixed-frequency wake-up nodes needs to be excluded. The impact of fixed-frequency wake-up nodes on the LIN network state is not considered when determining the communication active duration; that is, the communication active duration is determined solely based on the state of the valid slave nodes.

[0051] A valid active node is a valid slave node that is in the wake-up state. After the CAN network goes to sleep, the master node of the LIN network will monitor the status of each valid slave node (including wake-up state or sleep state) in real time, and determine the node in the wake-up state as a valid active node, and the node in the sleep state as a sleep node.

[0052] When a valid wake-up node exists, the duration for which the valid wake-up node remains in the wake-up state after the CAN network goes into sleep mode is the communication active duration. Therefore, the communication active duration is a dynamic value, that is, the time elapsed from when the CAN network goes into sleep mode to the current moment. It will increase continuously over time until all the communication active durations are put into sleep mode. At this point, the increase in the communication active duration stops the timing, and the communication active duration changes from a dynamic value to a static value. The static communication active duration is the interval between the CAN network sleep time and the sleep time of the last valid active node. After the last valid active node switches from the wake-up state to the sleep state, the timing stops, the timer is turned off, and the energy consumption of the timer is further reduced.

[0053] If there are no active nodes, it means that all active slave nodes have entered a dormant state after the vehicle is powered off, which will not waste battery power. The zero value can be determined as the communication active duration to reduce energy consumption in the subsequent processing of the terminal.

[0054] Step 102: Determine whether there is a risk of abnormal power consumption based on the duration of active communication.

[0055] In practice, if all nodes in both the CAN and LIN networks go into sleep mode after the vehicle is powered off, the vehicle will instantly lose all control, potentially leading to loss of control. Therefore, different nodes need to be gradually put into sleep mode after the vehicle is powered off. After the CAN network goes into sleep mode, some nodes in the LIN network need to continue operating for a period of time. Thus, a certain period of communication activity is normal. The abnormal power consumption is caused by abnormally active nodes remaining in a wake-up state for extended periods. Therefore, a duration threshold is introduced to determine if the communication activity duration is abnormal. If the communication activity duration is greater than or equal to the threshold, it indicates an abnormal communication activity duration and the presence of abnormally awakened active nodes, which will continuously consume battery power, thus identifying a risk of abnormal power consumption.

[0056] If the communication activity duration is less than the threshold, it indicates that there is no abnormality in the communication activity duration, and no abnormally woken-up active nodes. Active nodes maintaining a short wake-up state is normal and will not continuously consume battery power, thus eliminating any risk of abnormal power consumption. Alternatively, the timing may be insufficient, resulting in a shorter communication activity duration. In this case, timing should continue, temporarily confirming that there is no risk of abnormal power consumption, until the last active node enters a dormant state.

[0057] Step 103: In response to the risk of abnormal power consumption and the vehicle being woken up again, a fault alarm is issued based on the current battery level and the effective active nodes in the local interconnection network.

[0058] In practice, after identifying a risk of abnormal power consumption, it indicates the existence of active nodes in an abnormal wake-up state. However, directly putting these active nodes into hibernation might affect normal vehicle operation, as it's uncertain whether this would lead to new malfunctions. Therefore, it's necessary to determine, based on the current battery level at the time of vehicle wake-up (powering on), whether the active nodes that have been in a wake-up state for an extended period would significantly impact battery capacity.

[0059] If the current battery level is less than or equal to a preset first battery level threshold (e.g., 20%), it indicates that the battery level is being abnormally consumed. This abnormal consumption increases the rate at which the battery level is depleted, causing it to drop rapidly below the first battery level threshold. This results in the battery being in a depleted state, which may have some impact on the vehicle's operation.

[0060] Before a vehicle loses power, it typically monitors the battery level in real time to ensure it remains in a healthy state (e.g., above 35%). If the battery level is detected as unhealthy, the engine will be started to charge the battery if present, maintaining a charge level above 35%. If the engine is not present, the vehicle will be notified in advance to charge, and if the battery level drops below 35%, the user will be reminded to charge the vehicle to maintain a healthy battery level and prevent the vehicle from entering a state of low charge (below 20%). Therefore, when the battery level is below the first threshold, it indicates abnormal power consumption after the vehicle enters sleep mode on the CAN network. If abnormal power consumption is confirmed at this point, it means that an abnormally active node that remains awake for an extended period is one of the causes of abnormal power consumption. An alarm should be triggered to alert the user to the node with abnormal power consumption. The alarm should also upload fault codes corresponding to the active nodes in the local interconnection network to help the user identify the source of the abnormal power consumption, facilitating subsequent maintenance and improving the user experience.

[0061] If the current battery level is less than or equal to the preset second battery level threshold and greater than the preset first battery level threshold, it indicates that the current battery level is in a healthy state and will not affect the normal use of the vehicle. However, since an abnormal power consumption risk has been identified, the corresponding node device may still have abnormal power consumption. In this case, it is necessary to determine the number of times the current battery level is in a healthy state (excluding this time) and determine the current state record count (including this time) based on the formula: current state record count = current state record count + 1. If the current record count is small, it indicates that the occurrence of abnormal power consumption risk is an accidental phenomenon, which may be an abnormal wake-up caused by the external environment and will not excessively consume battery power. In this case, there is no need to issue an alarm until the current record count meets the alarm conditions.

[0062] If the current battery level is greater than the second battery level threshold, it means that the battery power has not been abnormally consumed and the battery power is sufficient and will not affect driving. The abnormal power consumption risk is temporarily identified as a misjudgment, and the next risk assessment will be conducted after the CAN network goes into sleep mode.

[0063] In summary, the network hibernation control method provided in this application can detect the presence of power-consuming, non-hibernating local interconnection network nodes by determining the communication activity duration of the local interconnection network after controlling the local area network to hibernate. If a local interconnection network node remains active for an extended period, an abnormal power consumption risk is identified. When the vehicle is reawakened, an alarm is triggered based on the current battery level to prevent battery depletion. Furthermore, the fault location is determined through the effective active nodes in the local interconnection network, enabling fault localization and facilitating troubleshooting for users, thus improving the user experience.

[0064] In some embodiments, such as Figure 2 As shown, the active communication duration of a local interconnection network includes:

[0065] Step 201: Determine whether there are any valid active nodes among the slave nodes of the local interconnection network.

[0066] In some embodiments, step 201 includes:

[0067] Step 2011: Select fixed-frequency wake-up nodes from the slave nodes and remove them to obtain valid slave nodes.

[0068] In practical implementation, LIN network slave nodes can be divided into two categories based on the usage scenario. One category consists of effective slave nodes that wake up when the vehicle is powered on and go into sleep mode when the vehicle is powered off. The other category consists of fixed-frequency wake-up nodes that switch between wake-up and sleep modes according to a preset wake-up frequency. Fixed-frequency wake-up nodes will still wake up periodically according to the preset wake-up frequency even after the vehicle is powered off and the CAN network is in sleep mode. Therefore, to avoid the impact of fixed-frequency wake-up nodes on the communication activity duration when determining the communication activity duration, it is necessary to filter out fixed-frequency wake-up nodes from the slave nodes and remove them. The remaining nodes are the effective slave nodes, which are LIN network slave nodes that can be used to determine the communication activity duration.

[0069] For example, if there are 5 slave nodes in a LIN network: node 1, node 2, node 3, node 4, and node 5, and node 1 is a fixed-frequency wake-up node, while nodes 2, 3, 4, and 5 are active slave nodes, then when determining the active communication duration, node 1 needs to be removed first, and the duration statistics are performed using the status of the remaining 4 nodes: node 2, node 3, node 4, and node 5.

[0070] Step 2012: In response to the existence of a valid slave node in the wake-up state, determine the valid slave node in the wake-up state as a valid active node, and confirm the existence of a valid active node.

[0071] In practice, a valid active node is a valid slave node that is in a wake-up state. After identifying a valid slave node, it is necessary to determine whether to use the corresponding valid slave node for determining the communication activity duration based on the absence of a valid slave node. If the valid slave node is in a sleep state, it means that with the vehicle's power-off and the CAN network's sleep state, the valid slave node also directly enters sleep mode, which will not cause abnormal battery power consumption, and there is no need to determine the communication activity duration based on the valid slave node.

[0072] If a valid slave node is in a wake-up state, it means that even when the vehicle is powered off and the CAN network goes into sleep mode, the valid slave node remains in a wake-up state. Maintaining a wake-up state will continuously consume the power battery's power. If the valid slave node does not go into sleep mode for a long time, it will cause abnormal power consumption. Therefore, a valid slave node in a wake-up state is identified as a valid active node, and the duration of communication activity is determined using valid active nodes.

[0073] For example, among the effective slave nodes 2, 3, 4, and 5, if node 2 is in a dormant state and nodes 3, 4, and 5 are in a wake-up state, then nodes 3, 4, and 5 are effective slave nodes.

[0074] Step 2013: In response to the absence of a valid slave node in a wake-up state, determine that there is no valid active node.

[0075] In practice, if there are no active slave nodes in the wake-up state, it means that all active slave nodes have entered the sleep state and there is no possibility of abnormal power consumption, thus confirming that there are no active active nodes.

[0076] Step 202: In response to the existence of a valid active node, determine the time when the control LAN enters the sleep state as the timer start time, and determine the communication active duration based on the timer start time and the network status of the local interconnection network.

[0077] In practice, when valid wake-up nodes exist, the duration for which a valid wake-up node remains awake after the CAN network goes into sleep mode is the communication active duration. Therefore, the communication active duration is a dynamic value. The timing for the communication active duration begins when the CAN network goes into sleep mode; that is, timing starts after the CAN network goes into sleep mode. If valid active nodes remain and the network state of the local interconnection network does not change, then the current moment is the end of the timing. If all valid active nodes go into sleep mode and the network state of the local interconnection network changes, then the sleep time of the last valid active node is the end of the timing. Therefore, the timing start time in determining the communication active duration is related to the network state of the local interconnection network.

[0078] In some embodiments, determining the duration of active communication based on the timing start time and the network status of the local interconnection network includes:

[0079] Step 2021: In response to the network status being in a dormant state, determine the dormant time of the last valid active node as the timeout end time, and determine the difference between the timeout end time and the timeout start time as the communication active duration.

[0080] In practical implementation, if the network state is in a dormant state, it means that as time changes, all effective active nodes change from the wake-up state to the dormant state. When the network state switches to the dormant state, the communication active duration timer ends, and the communication active duration changes from a dynamic value to a static value. The timer ends when the last effective active node switches from the wake-up state to the dormant state, and the timer starts when the CAN network goes into dormant mode. The difference between the timer ends and the timer starts is the communication active duration. At this time, the communication active duration is the time difference between the CAN network dormant mode and the LIN network dormant mode.

[0081] Step 2022: In response to the network status being in a wake-up state, determine the difference between the current time and the timer start time as the communication active duration, and monitor the local area network status in real time.

[0082] In practice, if the network status is awake, it means that as time changes, there are always effective active nodes that remain awake, and the communication active duration timer continues. At this time, the communication active duration is a dynamic value because the current time is the time when the timer ends, but the current time changes in real time, so the communication active duration keeps increasing. At this time, the communication active duration is the difference between the current time and the timer start time.

[0083] Since the communication active duration is determined under the premise of CAN network sleep, the network status of CAN network will also affect the process of determining the communication active duration. Therefore, during the process of communication active duration changes, it is necessary to monitor the local area network status of CAN network in real time to determine whether the communication active duration needs to be adjusted according to the local area network status of CAN network.

[0084] Step 2023: In response to the local area network (LAN) state switching from sleep state to wake state, the communication active duration is reset to zero, and the switching time when the LAN state switches from wake state to sleep state again is determined. The switching time is set as the new timer start time, and the communication active duration is determined based on the new timer start time and the network state.

[0085] In practice, when the CAN network's local area network status switches from sleep to wake-up, it indicates that the vehicle has resumed control of important nodes such as the engine control node and the body electronic system node. This requires some nodes in the LIN network to cooperate with the CAN network to perform corresponding functions, causing the value of the communication active duration to become unreliable. Therefore, the communication active duration is reset to zero, and the timing restarts after the CAN network goes into sleep mode again. So, the timing start time needs to be re-determined first. Since the communication active duration needs to be determined when the CAN network goes into sleep mode, the switching time when the CAN network switches from wake-up to sleep mode again is determined as the new timing start time. The communication active duration is then determined based on this new timing start time and the network status of the LIN network.

[0086] Step 203: In response to the absence of a valid active node, the zero value is determined as the communication active duration.

[0087] In practice, if there are no active nodes, it means that all active slave nodes have entered a dormant state after the vehicle is powered off, which will not waste battery power. The zero value can be determined as the communication active duration to reduce energy consumption in the subsequent processing of the terminal.

[0088] In some embodiments, such as Figure 3 As shown, the presence of abnormal power consumption risk is determined based on the duration of active communication, including:

[0089] Step 301: In response to the communication activity being less than a preset duration threshold, determine that there is no risk of abnormal power consumption.

[0090] In practice, if the communication activity duration is less than the threshold, it indicates that the communication activity duration is not abnormal, there are no abnormally active nodes, and the short-term wake-up state of active nodes is normal and will not continuously consume battery power, thus confirming there is no risk of abnormal power consumption. Alternatively, the timing may be insufficient, resulting in a shorter communication activity duration. In this case, timing needs to continue, temporarily confirming there is no risk of abnormal power consumption, and continuing timing until the last active node enters a sleep state.

[0091] Step 302: In response to a communication activity duration greater than or equal to a preset duration threshold, determine the stored power value when the local area network status switches to sleep mode.

[0092] In practice, if the communication activity duration is greater than or equal to the duration threshold, it indicates that there is an abnormality in the communication activity duration and there are valid active nodes that are abnormally woken up, which will continue to consume battery power. However, it is necessary to determine whether to allow valid active nodes to continue consuming battery power based on the stored power value when the local area network status switches to sleep mode.

[0093] Step 303: In response to the stored power value being greater than or equal to the preset power-on startup power value, an abnormal power consumption risk is determined.

[0094] In practice, if the stored power value is greater than or equal to the preset power-on start-up power value (e.g., 10%), it means that the battery power is sufficient to support the vehicle until it is woken up again, and a corresponding alarm will be issued after the vehicle is woken up again. Therefore, it can be determined that there is a risk of abnormal power consumption.

[0095] Step 304: In response to the stored power value being less than the preset power-on start-up power value, determine that there is a risk of low power and determine that there is no risk of abnormal power consumption.

[0096] In practice, if the stored power value is less than the preset power-on start-up power value, it means that the battery power is already very low and cannot support the long-term consumption of effective active nodes. This may cause the vehicle to be unable to be woken up again. Therefore, it is not possible to wait for the vehicle to be woken up again before issuing the corresponding alarm prompt. Instead, it is determined that there is a higher priority (higher priority than the risk of abnormal power consumption) risk of low power, and thus it is determined that there is no lower priority risk of abnormal power consumption.

[0097] In some embodiments, after determining that there is a risk of low battery, the method further includes:

[0098] A valid active node that is forced to wake up from hibernation, and provides a low battery warning after the vehicle is woken up again.

[0099] In practice, since the battery power is no longer sufficient to support the long-term consumption of active nodes, it is necessary to forcibly wake up active nodes in a dormant state to ensure that the vehicle has enough power to be woken up again. After the vehicle is woken up again, an alarm will be triggered to inform the user that the battery is too low and there are faulty nodes with abnormal power consumption. The user will be prompted to maintain these active nodes that have not been dormant for a long time to reduce power consumption.

[0100] In some embodiments, such as Figure 4 As shown, fault alarm prompts are generated based on the current battery level and the number of active nodes in the local interconnection network, including:

[0101] Step 401: Determine the current battery status based on the current battery level.

[0102] In some embodiments, step 401 includes:

[0103] Step 4011: In response to the current battery level being less than or equal to a preset first battery level threshold, the current battery level is determined to be in a depleted state. The first battery level threshold is greater than the power-on startup battery level.

[0104] In practice, if the current battery charge is less than or equal to a preset first charge threshold (e.g., 20%), it indicates that the current battery charge is being abnormally consumed. The additional abnormal consumption causes the power battery charge to be consumed at an increased rate, resulting in the power battery charge dropping rapidly to below the first charge threshold, causing the power battery to be in a state of depletion. This may have a certain impact on the vehicle's operation. Therefore, the state of depletion is determined as the current charge state.

[0105] Step 4012: In response to the current battery level being less than or equal to a preset second battery level threshold, and greater than a preset first battery level threshold, determine the current battery health status. The second battery level threshold is greater than the first battery level threshold.

[0106] In practice, if the current battery level is less than or equal to the preset second battery level threshold and greater than the preset first battery level threshold, it indicates that the current battery level is in a healthy state and will not affect the normal use of the vehicle.

[0107] Step 4013: In response to the current battery level being greater than the preset second battery level threshold, the fully charged state is determined as the current battery level state.

[0108] If the current battery level is greater than the second battery level threshold, it means that the battery level has not been abnormally depleted, the battery level is sufficient and will not affect driving, and the current battery level is determined to be fully charged.

[0109] Step 402: In response to the current power status being low, upload the fault code corresponding to the valid active node and issue a low power alarm.

[0110] In practice, before a vehicle is powered off, the battery charge is typically monitored in real time to ensure it remains in a healthy state (e.g., above 35%). If the battery charge is found to be unhealthy, the user will be prompted to charge the battery or start the engine to charge it, thus ensuring the battery charge remains in a healthy state. Therefore, if the battery charge is less than the first charge threshold after the vehicle is reawakened, resulting in a depleted charge state, it indicates abnormal power consumption after the vehicle went into sleep mode on the CAN network, and the depleted charge state is determined as the current charge state.

[0111] Since an abnormal power consumption risk has been identified at this point, it indicates that the abnormally active nodes that remain in a wake-up state for an extended period are one of the reasons for the abnormal power consumption. An alarm needs to be triggered to alert the user to the node device with abnormal power consumption. By uploading the fault codes corresponding to the active nodes in the local interconnection network, the user can be helped to identify the source of the abnormal power consumption, which will facilitate subsequent maintenance and improve the user experience.

[0112] Step 403: In response to the current battery status being fully charged, terminate the alarm control.

[0113] In practice, if the current battery status is fully charged, it means that the power battery has not been abnormally consumed and the battery has sufficient power, which will not affect driving. The abnormal power consumption risk is temporarily determined to be a misjudgment. The next risk assessment will be carried out after the CAN network goes into sleep mode, and the current alarm control will be terminated.

[0114] Step 404: In response to the current battery status being in a healthy state, determine the number of status records and perform an cumulative increment calculation to obtain the current number of status records.

[0115] In practice, if the current battery level is in a healthy state, it means that it will not have a significant impact on the use of the vehicle. However, since the risk of abnormal power consumption has been identified, the corresponding node device may still have the possibility of abnormal power consumption. In this case, it is necessary to determine the number of times the current battery level is in a healthy state and determine the current state record count based on the formula: current state record count = current state record count + 1. This is used to determine whether the risk of abnormal power consumption is a misjudgment.

[0116] Step 405: In response to the current number of records being greater than or equal to the preset number of records threshold, upload the fault code corresponding to the valid active node and issue a low battery alarm.

[0117] In practice, if the current number of records is greater than or equal to the preset threshold, it indicates that this situation occurs frequently and is a high-probability event, ruling out the possibility of misjudgment. If it is determined that there is an abnormal slave node that remains in a wake-up state, it needs to upload the fault code corresponding to the valid active node to ensure that the user can find the source of the fault and facilitate subsequent maintenance. At the same time, a low battery alarm is triggered to remind the user to charge in time and avoid affecting the normal use of the vehicle due to low battery.

[0118] Step 406: In response to the current number of records being less than the preset threshold, the alarm control is terminated.

[0119] In practice, if the current number of records is small, it indicates that the abnormal power consumption risk is an occasional phenomenon, possibly caused by an abnormal wake-up due to the external environment, and will not excessively consume battery power. In this case, there is no need to issue an alarm until the current number of records meets the alarm conditions.

[0120] It should be noted that the method in this embodiment can be executed by a single device, such as a computer or server. The method can also be applied in a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method in this embodiment, and the multiple devices will interact with each other to complete the method described.

[0121] It should be noted that the above description describes some embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0122] Based on the same inventive concept, corresponding to any of the above embodiments, this application also provides a network hibernation control device.

[0123] refer to Figure 5 The network hibernation control device includes:

[0124] The active duration determination module 10 is configured to: determine the local area network status of the control local area network, and when the local area network status is in a dormant state, determine the communication active duration of the local interconnection network;

[0125] The power consumption risk determination module 20 is configured to determine whether there is an abnormal power consumption risk based on the communication active duration.

[0126] The fault alarm module 30 is configured to issue a fault alarm in response to the presence of abnormal power consumption risk and the vehicle being woken up again, based on the current battery level and the effective active nodes in the local interconnection network.

[0127] For ease of description, the above devices are described in terms of function, divided into various modules. Of course, in implementing this application, the functions of each module can be implemented in one or more software and / or hardware.

[0128] The apparatus described above is used to implement the corresponding network hibernation control method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0129] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the network hibernation control method described in any of the above embodiments.

[0130] Figure 6 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0131] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0132] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0133] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0134] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0135] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0136] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0137] The electronic devices described above are used to implement the corresponding network hibernation control methods in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0138] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a non-transitory computer-readable storage medium that stores computer instructions for causing the computer to execute the network hibernation control method as described in any of the above embodiments.

[0139] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0140] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the network hibernation control method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0141] Based on the same inventive concept, corresponding to any of the above embodiments, this application also provides a vehicle, including the electronic device or network hibernation control device of the above embodiments, and executes the network hibernation control method as described in any of the above embodiments through the electronic device or network hibernation control device of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0142] It is understood that before using the technical solutions of the various embodiments in this disclosure, users will be informed of the type, scope of use, and usage scenarios of the personal information involved in an appropriate manner, and user authorization will be obtained.

[0143] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose, based on the prompt message, whether to provide personal information to the software or hardware such as electronic devices, applications, servers, or storage media performing the operations of this disclosed technical solution.

[0144] As an optional but not limited implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0145] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0146] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application is limited to these examples; under the concept of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in detail for the sake of brevity.

[0147] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0148] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0149] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the claims of this application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.

Claims

1. A method for controlling network hibernation, characterized in that, include: The local area network (LAN) status of the control LAN is determined, and when the LAN status is in a dormant state, the communication active duration of the local interconnection network is determined; wherein, the local interconnection network includes one master node and multiple slave nodes; fixed-frequency wake-up nodes among the slave nodes are removed to obtain valid slave nodes, and the valid slave nodes in the wake-up state are determined as valid active nodes; the duration for which the valid active nodes remain in the wake-up state after the control LAN enters a dormant state is determined as the communication active duration; The determination of the communication activity duration of the local interconnection network includes: Determine whether the effective active node exists among the slave nodes of the local interconnection network; In response to the existence of the effective active node, the moment when the control local area network enters the sleep state is determined as the timer start time, and the communication active duration is determined according to the timer start time and the network status of the local interconnection network; In response to the absence of the effective active node, a zero value is determined as the communication active duration; Determine whether there is a risk of abnormal power consumption based on the duration of active communication; In response to the risk of abnormal power consumption and the vehicle being powered on again, a fault alarm is triggered based on the current battery level and the effective active nodes in the local interconnection network.

2. The network hibernation control method according to claim 1, characterized in that, Determining whether there are any valid active nodes among the slave nodes of the local interconnection network includes: Select fixed-frequency wake-up nodes from the slave nodes, and then remove the fixed-frequency wake-up nodes from the slave nodes to obtain valid slave nodes; In response to a valid slave node in a wake-up state, the valid slave node in the wake-up state is determined as the valid active node, and it is determined that a valid active node exists; In response to the absence of a valid slave node in a wake-up state, it is determined that there is no valid active node.

3. The network hibernation control method according to claim 1, characterized in that, Determining the communication activity duration based on the timing start time and the network status of the local interconnection network includes: In response to the network state being in a dormant state, the dormant time of the last valid active node is determined as the timeout end time, and the difference between the timeout end time and the timeout start time is determined as the communication active duration. In response to the network being in a wake-up state, the difference between the current time and the timer start time is determined as the communication active duration, and the local area network status is monitored in real time; In response to the local area network (LAN) state switching from the sleep state to the wake state, the communication active duration is reset to zero, and the switching time when the LAN state switches from the wake state to the sleep state again is determined. The switching time is set as the new timer start time, and the communication active duration is determined based on the new timer start time and the network state.

4. The network hibernation control method according to claim 1, characterized in that, The step of determining whether there is an abnormal power consumption risk based on the communication activity duration includes: If the duration of active communication is less than a preset threshold, it is determined that there is no risk of abnormal power consumption. In response to the communication activity duration being greater than or equal to a preset duration threshold, the stored power value when the local area network state switches to sleep mode is determined; If the stored power value is greater than or equal to the preset power-on startup power value, it is determined that there is a risk of abnormal power consumption. In response to the stored power value being less than the preset power-on startup power value, it is determined that there is a risk of low power, and it is determined that there is no risk of abnormal power consumption.

5. The network hibernation control method according to claim 4, characterized in that, After confirming the risk of low battery, the following is also included: A valid active node that is forced to wake up from hibernation, and provides a low battery warning after the vehicle is woken up again.

6. The network hibernation control method according to claim 1, characterized in that, The fault alarm notification based on the current battery level and the effective active nodes in the local interconnection network includes: Determine the current battery status based on the current battery level; In response to the current power status being low, the fault code corresponding to the effective active node is uploaded, and a low power alarm is triggered. In response to the current battery status being fully charged, the alarm control is terminated; In response to the current battery status being in a healthy state, the number of status records is determined, and the number of status records is cumulatively increased to obtain the current number of status records; In response to the current status record count being greater than or equal to a preset threshold, a fault code corresponding to the valid active node is uploaded, and a low battery alarm is triggered. The alarm control is terminated when the number of current status records is less than a preset threshold.

7. The network hibernation control method according to claim 6, characterized in that, Determining the current battery status based on the current battery level includes: In response to the current battery level being less than or equal to a preset first battery level threshold, the depleted state is determined as the current battery level state; wherein, the first battery level threshold is greater than the power-on startup battery level value; In response to the current battery level being less than or equal to a preset second battery level threshold and greater than a preset first battery level threshold, the health status is determined as the current battery level status; wherein, the second battery level threshold is greater than the first battery level threshold; In response to the current battery level being greater than a preset second battery level threshold, the fully charged state is determined as the current battery level state.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 7.

9. A vehicle, characterized in that, Including the electronic device as described in claim 8.

Citation Information

Patent Citations

  • Monitoring method and system for low-voltage power supply and vehicle

    CN115107519A

  • Dormancy wake-up abnormity determination method and device, electronic equipment and storage medium

    CN116600262A