Vehicle sleep / wake-up management method and apparatus, and medium and electronic device
By periodically receiving external interrupt signals to enter a semi-sleep state and managing temporarily woken-up objects, the problem of battery aging and performance degradation caused by long-term controller sleep is solved, thereby extending the reliability and lifespan of the controller.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- SAIC GM WULING AUTOMOBILE CO LTD
- Filing Date
- 2025-12-03
- Publication Date
- 2026-06-18
AI Technical Summary
If no touch signal is generated for a long time, the controller will remain in a dormant state for an extended period, leading to battery aging, damage, and performance degradation.
The system enters a semi-sleep state by periodically receiving external interrupt signals from temporarily woken-up objects, and returns to a sleep state when the external interrupt information does not meet the preset wake-up conditions. It uses periodic trigger clocks, network receiving pins, and RF receiving pins to manage the state of temporarily woken-up objects.
This avoids the core controller being in a dormant state for extended periods, preventing battery aging and performance degradation, and improving the controller's reliability and lifespan.
Smart Images

Figure CN2025139641_18062026_PF_FP_ABST
Abstract
Description
A method, apparatus, medium, and electronic device for managing vehicle sleep / wake-up. Technical Field
[0001] This application relates to the field of sleep / wake technology, and more specifically, to a management method, apparatus, medium, and electronic device for vehicle sleep / wake. Background Technology
[0002] Sleep / wake management refers to the automatic saving of the vehicle's current operating state to the hard drive and power-off after a prolonged period of inactivity, in order to save energy. The vehicle can be woken up by touching the vehicle's operating devices or the power button. Technically, this involves converting the touch signal into an external interrupt, thereby exiting the sleep state.
[0003] However, if no touch signal is generated for a long time, the controller will remain in a dormant state for an extended period, leading to problems such as battery aging, damage, and performance degradation.
[0004] Therefore, this application provides a management method for vehicle sleep-wake-up to solve the above-mentioned technical problems. Invention Overview Technical issues
[0005] The purpose of this application is to provide a management method, device, medium, and electronic device for vehicle sleep-wake-up, so as to solve the problem that the controller will remain in sleep state for a long time when no touch signal is generated for a long time. Solution to the problem Technical solutions
[0006] The purpose of this application is to provide a management method, apparatus, medium, and electronic device for vehicle sleep / wake-up, which can solve at least one of the aforementioned technical problems. The specific solution is as follows:
[0007] According to a specific embodiment of this application, in a first aspect, this application provides a vehicle sleep / wake-up management method, comprising:
[0008] When in a sleep state, it enters a semi-sleep state in response to periodically receiving external interrupt signals and external interrupt information from any temporarily awakened object;
[0009] When the external interrupt information of any of the temporarily awakened objects does not meet the preset wake-up conditions, the object returns from the semi-dormant state to the dormant state.
[0010] Optionally, the step of returning from the semi-dormant state to the dormant state when the external interrupt information of any of the temporarily awakened objects does not meet the preset wake-up conditions includes:
[0011] When the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, each temporarily woken-up object is set to the external interrupt pending state, and then returns from the semi-sleep state to the sleep state.
[0012] Optionally, the temporary wake-up object includes a periodically triggered clock;
[0013] Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes:
[0014] When the external interrupt information of the periodic trigger clock does not meet the preset wake-up conditions, the periodic trigger clock is set to the initialization state, and other temporary wake-up objects are set to the external interrupt pending trigger state, and then the system returns from the semi-sleep state to the sleep state.
[0015] Optionally, the temporary wake-up object includes a network receiving pin;
[0016] Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes:
[0017] When the network packet identifier associated with the network receive pin is not a wake-up packet identifier, the network receive pin is set to the external interrupt pending state, and other temporary wake-up objects are set to the external interrupt pending state, and then the system returns from the semi-sleep state to the sleep state.
[0018] Optionally, the temporary wake-up object includes an RF receiving pin;
[0019] Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes:
[0020] When the RF parameter value associated with the RF receiving pin does not match the preset RF parameter value, the RF receiving pin is set to the external interrupt pending state, and other temporary wake-up objects are set to the external interrupt pending state, and then the system returns from the semi-sleep state to the sleep state.
[0021] Optionally, the method further includes:
[0022] When the network is in a wake-up state and the network is in a sleep state, the network is triggered to enter a wake-up state in response to the detection of a network management frame sent by another controller in the network.
[0023] Optionally, when the network is in a wake-up state and in a sleep state, triggering the network to enter a wake-up state in response to receiving a network management frame sent by another controller in the network includes:
[0024] When the network is in a wake-up state and the network is in a sleep state, the duration of the dominant and recessive levels of the network receive pin is detected.
[0025] When the duration of the level signal is greater than or equal to a preset level duration threshold, it is determined that a network management frame sent by another controller in the network has been received, and the network is triggered to enter a wake-up state.
[0026] According to a specific embodiment of this application, in a second aspect, this application provides a vehicle sleep / wake-up management device, comprising:
[0027] The response unit is used to enter a semi-sleep state when it is in a sleep state in response to periodically receiving an external interrupt signal and external interrupt information from any temporarily awakened object;
[0028] The return unit is used to return from the semi-dormant state to the dormant state when the external interrupt information of any of the temporarily awakened objects does not meet the preset wake-up conditions.
[0029] Optionally, the step of returning from the semi-dormant state to the dormant state when the external interrupt information of any of the temporarily awakened objects does not meet the preset wake-up conditions includes:
[0030] When the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, each temporarily woken-up object is set to the external interrupt pending state, and then returns from the semi-sleep state to the sleep state.
[0031] Optionally, the temporary wake-up object includes a periodically triggered clock;
[0032] Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes:
[0033] When the external interrupt information of the periodic trigger clock does not meet the preset wake-up conditions, the periodic trigger clock is set to the initialization state, and other temporary wake-up objects are set to the external interrupt pending trigger state, and then the system returns from the semi-sleep state to the sleep state.
[0034] Optionally, the temporary wake-up object includes a network receiving pin;
[0035] Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes:
[0036] When the network packet identifier associated with the network receive pin is not a wake-up packet identifier, the network receive pin is set to the external interrupt pending state, and other temporary wake-up objects are set to the external interrupt pending state, and then the system returns from the semi-sleep state to the sleep state.
[0037] Optionally, the temporary wake-up object includes an RF receiving pin;
[0038] Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes:
[0039] When the RF parameter value associated with the RF receiving pin does not match the preset RF parameter value, the RF receiving pin is set to the external interrupt pending state, and other temporary wake-up objects are set to the external interrupt pending state, and then the system returns from the semi-sleep state to the sleep state.
[0040] Optionally, the device further includes:
[0041] The wake-up unit is used to trigger the network to enter the wake-up state in response to detecting a network management frame sent by another controller in the network when the network is in a wake-up state and the network is in a sleep state.
[0042] Optionally, when the network is in a wake-up state and in a sleep state, triggering the network to enter a wake-up state in response to receiving a network management frame sent by another controller in the network includes:
[0043] When the network is in a wake-up state and the network is in a sleep state, the duration of the dominant and recessive levels of the network receive pin is detected.
[0044] When the duration of the level signal is greater than or equal to a preset level duration threshold, it is determined that a network management frame sent by another controller in the network has been received, and the network is triggered to enter a wake-up state.
[0045] According to a specific embodiment of this application, in a third aspect, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the vehicle hibernation and wake-up management method as described in any of the preceding claims.
[0046] According to a specific embodiment of this application, in a fourth aspect, this application provides an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the vehicle sleep-wake management method as described in any of the preceding claims.
[0047] Beneficial effects of the invention Beneficial effects
[0048] Compared with the prior art, the above-described solutions of this application have at least the following beneficial effects:
[0049] This application provides a method, apparatus, medium, and electronic device for managing vehicle sleep / wake-up. This application periodically triggers the core controller into a semi-sleep state via an external interrupt signal from any temporarily woken-up object. When the external interrupt information of the temporarily woken-up object does not meet preset wake-up conditions, the controller returns from the semi-sleep state to the sleep state. This allows the core controller to periodically enter a semi-sleep state, preventing it from remaining in a sleep state for extended periods, which can lead to battery aging, damage, and performance degradation.
[0050] Brief description of the accompanying drawings Attached Figure Description
[0051] Figure 1 shows a flowchart of a vehicle sleep-wake management method according to an embodiment of this application;
[0052] Figure 2 shows a unit block diagram of a vehicle sleep-wake management device according to an embodiment of this application. Invention Embodiments
[0053] Implementation of the invention
[0054] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0055] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the application. The singular forms “a,” “said,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms, and “multiple” generally includes at least two unless the context clearly indicates otherwise.
[0056] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0057] It should be understood that although the terms first, second, third, etc., may be used in the embodiments of this application, these descriptions should not be limited to these terms. These terms are only used to distinguish the descriptions. For example, first may also be referred to as second without departing from the scope of the embodiments of this application, and similarly, second may also be referred to as first.
[0058] Depending on the context, the words “if” or “suppose” as used here can be interpreted as “when” or “in response to determination” or “in response to detection.” Similarly, depending on the context, the phrases “if determination” or “if detection (of the stated condition or event)” can be interpreted as “when determination” or “in response to determination” or “when detection (of the stated condition or event)” or “in response to detection (of the stated condition or event).”
[0059] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that an article or device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such an article or device. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the article or device that includes said element.
[0060] It should be noted that any symbols and / or numbers present in the specification that are not marked in the accompanying drawings are not reference numerals.
[0061] The optional embodiments of this application are described in detail below with reference to the accompanying drawings. Example 1
[0062] The embodiments provided in this application are embodiments of a vehicle sleep-wake management method.
[0063] The embodiments of this application will be described in detail below with reference to Figure 1.
[0064] Step S101: When in a sleep state, in response to periodically receiving an external interrupt signal and external interrupt information from any temporarily awakened object, enter a semi-sleep state.
[0065] The core controller (e.g., including but not limited to area controllers) is used to wake up the network (e.g., the Controller Area Network (CAN bus)), that is, to wake up other controllers in the network. And after the network enters sleep mode (i.e., all other controllers in the network enter sleep mode), it is the last to enter sleep mode.
[0066] The core controller includes multiple temporary wake-up objects. Each temporary wake-up object can periodically trigger the core controller to enter a semi-sleep state via an external interrupt signal when the core controller is in a sleep state.
[0067] In semi-dormant state, the core controller neither wakes up the network nor performs initialization. Initialization only occurs when entering wake-up state, and the network is woken up via a network management frame.
[0068] Step S102: When the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, return from the semi-sleep state to the sleep state.
[0069] This application embodiment periodically triggers the core controller into a semi-sleep state by an external interrupt signal from any temporarily woken-up object. When the external interrupt information of the temporarily woken-up object does not meet the preset wake-up conditions, it returns from the semi-sleep state to the sleep state. This allows the core controller to periodically enter a semi-sleep state, avoiding prolonged sleep states that could lead to battery aging, damage, and performance degradation.
[0070] In some specific embodiments, the step of returning from the semi-dormant state to the dormant state when the external interrupt information of any of the temporarily awakened objects does not meet the preset wake-up conditions includes:
[0071] Step S102a: When the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, each temporarily woken-up object is set to the external interrupt pending state, and then returns from the semi-sleep state to the sleep state.
[0072] Only when each temporarily woken-up object is set to a pending external interrupt state can the corresponding external interrupt signal be obtained periodically. Therefore, before the core controller returns from the semi-sleep state to the sleep state, setting each temporarily woken-up object to a pending external interrupt state ensures that the external interrupt signal of each temporarily woken-up object can be obtained.
[0073] In some specific embodiments, the temporary wake-up object includes a periodic trigger clock.
[0074] A periodically triggered clock can periodically generate external interrupt signals, but it does not generate external interrupt information.
[0075] Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes:
[0076] Step S102aa: When the external interrupt information of the periodic trigger clock does not meet the preset wake-up conditions, the periodic trigger clock is set to the initialization state, and other temporary wake-up objects are set to the external interrupt pending trigger state, and then the system returns from the semi-sleep state to the sleep state.
[0077] The periodic trigger clock is only set up to enable the core controller to enter a semi-sleep state. Since there is no external interrupt information, the preset wake-up conditions will not be met. Therefore, after entering the semi-sleep state, the periodic trigger clock is initialized to restore the original timing function. Other temporarily woken-up objects are set to a pending external interrupt state. Then, the system returns from the semi-sleep state to the sleep state, allowing the core controller to periodically enter a semi-sleep state. This prevents the core controller from remaining in a sleep state for extended periods, which can lead to battery aging, damage, and performance degradation.
[0078] In some specific embodiments, the temporary wake-up object includes a network receive pin.
[0079] Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes:
[0080] Step S102ab: When the network packet identifier associated with the network receiving pin is not a wake-up packet identifier, the network receiving pin is set to the external interrupt pending state, and other temporary wake-up objects are set to the external interrupt pending state, then the system returns from the semi-sleep state to the sleep state.
[0081] The core controller is in sleep mode. When the core controller receives an external interrupt message represented by a network packet identifier, the network receive pin will generate an external interrupt message. If the network packet identifier is a wake-up packet identifier, the core controller enters the wake-up state; if the network packet identifier is not a wake-up packet identifier, the network receive pin is set to a pending external interrupt state, and other temporarily woken-up objects are also set to a pending external interrupt state before returning from the semi-sleep state to the sleep state. If non-wake-up packets are periodically sent to the core controller, the core controller will periodically enter a semi-sleep state, preventing the core controller from remaining in sleep mode for extended periods, which can lead to battery aging, damage, and performance degradation.
[0082] In some specific embodiments, the temporary wake-up object includes a radio frequency receiving pin.
[0083] Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes:
[0084] Step S102ac: When the RF parameter value associated with the RF receiving pin does not match the preset RF parameter value, the RF receiving pin is set to the external interrupt pending state, and other temporary wake-up objects are set to the external interrupt pending state, and then the system returns from the semi-sleep state to the sleep state.
[0085] The core controller is in sleep mode. When it receives an external interrupt signal from the car key (indicated by high-frequency information), the RF receiving pin generates an external interrupt signal. If the RF parameter value matches a preset value, the core controller enters a wake-up state and the doors unlock. If the RF parameter value does not match the preset value, the RF receiving pin is set to a pending external interrupt state, and other temporarily woken-up objects are also set to a pending external interrupt state before returning to sleep mode from the semi-sleep state. Periodically sending RF parameter values to the core controller causes it to periodically enter a semi-sleep state, preventing it from remaining in sleep mode for extended periods, which can lead to battery aging, damage, and performance degradation.
[0086] In some other specific embodiments, the method further includes:
[0087] Step S111: When the network is in a wake-up state and the network is in a sleep state, the network is triggered to enter a wake-up state in response to the detection of a network management frame sent by another controller in the network.
[0088] When the core controller enters wake-up mode and the network is in sleep mode, the core controller will reinitialize from program boot (i.e., BOOT). During the core controller initialization process, since the network packets sent the first time are outdated, the network packet identifier can only be determined when the network packet is sent a second time. If the identifier of the second network packet is detected as a diagnostic packet identifier, the core controller will not send a network management frame; if the second network packet is detected as a signal of a network management frame sent by another controller in the network, the core controller will fill the wake-up reason into the network management frame, send the network management frame, and wake up the network. This specific implementation does not analyze the network packet to determine whether it is a network management frame, but determines that a network management frame has been received by the signal of the network management frame, thereby simplifying the packet analysis process and improving the efficiency of waking up the network.
[0089] In some specific embodiments, when the network is in a wake-up state and in a sleep state, triggering the network to enter a wake-up state in response to detecting a network management frame sent by another controller in the network includes:
[0090] Step S111-1: When the network is in a wake-up state and the network is in a sleep state, detect the duration of the dominant and recessive levels of the network receiving pin.
[0091] The data bits in the network (also known as CAN bus bit values) use two complementary logic values: dominant and recessive.
[0092] Dominance, also known as dominance level or dominant level, is represented by logic 0;
[0093] Recessive, also known as recessive level or recessive grade, is represented by logic 1.
[0094] Step S111-2: When the duration of the level is greater than or equal to a preset level duration threshold, it is determined that a network management frame sent by another controller in the network has been received, and the network is triggered to enter the wake-up state.
[0095] This specific embodiment determines whether a network management frame has been received from other controllers in the network by detecting the duration of the dominant and recessive levels of the network receive pin. If a network management frame is detected, the network is triggered to enter a wake-up state. This specific embodiment does not analyze network packets to determine whether they are network management frames, but instead determines the reception of network management frames by detecting the duration of the dominant and recessive levels of the network receive pin, thereby simplifying the packet analysis process and improving the efficiency of waking up the network. Example 2
[0096] This application also provides an apparatus embodiment that follows the above embodiments, used to implement the method steps described in the above embodiments. The interpretation of the same names is the same as that in the above embodiments, and the same technical effects are achieved. Therefore, it will not be repeated here.
[0097] As shown in Figure 2, this application provides a vehicle sleep / wake-up management device 200, including:
[0098] The response unit 201 is configured to enter a semi-sleep state when it is in a sleep state in response to periodically receiving an external interrupt signal and external interrupt information from any temporarily awakened object.
[0099] The return unit 202 is used to return from the semi-sleep state to the sleep state when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions.
[0100] Optionally, the step of returning from the semi-dormant state to the dormant state when the external interrupt information of any of the temporarily awakened objects does not meet the preset wake-up conditions includes:
[0101] When the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, each temporarily woken-up object is set to the external interrupt pending state, and then returns from the semi-sleep state to the sleep state.
[0102] Optionally, the temporary wake-up object includes a periodically triggered clock;
[0103] Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes:
[0104] When the external interrupt information of the periodic trigger clock does not meet the preset wake-up conditions, the periodic trigger clock is set to the initialization state, and other temporary wake-up objects are set to the external interrupt pending trigger state, and then the system returns from the semi-sleep state to the sleep state.
[0105] Optionally, the temporary wake-up object includes a network receiving pin;
[0106] Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes:
[0107] When the network packet identifier associated with the network receive pin is not a wake-up packet identifier, the network receive pin is set to the external interrupt pending state, and other temporary wake-up objects are set to the external interrupt pending state, and then the system returns from the semi-sleep state to the sleep state.
[0108] Optionally, the temporary wake-up object includes an RF receiving pin;
[0109] Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes:
[0110] When the RF parameter value associated with the RF receiving pin does not match the preset RF parameter value, the RF receiving pin is set to the external interrupt pending state, and other temporary wake-up objects are set to the external interrupt pending state, and then the system returns from the semi-sleep state to the sleep state.
[0111] Optionally, the device further includes:
[0112] The wake-up unit is used to trigger the network to enter the wake-up state in response to detecting a network management frame sent by another controller in the network when the network is in a wake-up state and the network is in a sleep state.
[0113] Optionally, when the network is in a wake-up state and in a sleep state, triggering the network to enter a wake-up state in response to receiving a network management frame sent by another controller in the network includes:
[0114] When the network is in a wake-up state and the network is in a sleep state, the duration of the dominant and recessive levels of the network receive pin is detected.
[0115] When the duration of the level signal is greater than or equal to a preset level duration threshold, it is determined that a network management frame sent by another controller in the network has been received, and the network is triggered to enter a wake-up state.
[0116] This application embodiment periodically triggers the core controller into a semi-sleep state by an external interrupt signal from any temporarily woken-up object. When the external interrupt information of the temporarily woken-up object does not meet the preset wake-up conditions, it returns from the semi-sleep state to the sleep state. This allows the core controller to periodically enter a semi-sleep state, avoiding prolonged sleep states that could lead to battery aging, damage, and performance degradation. Example 3
[0117] This embodiment provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method steps described in the above embodiment. Example 4
[0118] This application provides a non-volatile computer storage medium storing computer-executable instructions that can perform the steps described in the above embodiments.
[0119] Finally, it should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems or apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and relevant parts can be referred to the method section.
[0120] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A management method for vehicle hibernation and wake-up, characterized in that, include: When in a sleep state, it enters a semi-sleep state in response to periodically receiving external interrupt signals and external interrupt information from any temporarily awakened object; When the external interrupt information of any of the temporarily awakened objects does not meet the preset wake-up conditions, the object returns from the semi-dormant state to the dormant state.
2. The method according to claim 1, characterized in that, The step of returning from the semi-dormant state to the dormant state when the external interrupt information of any of the temporarily awakened objects does not meet the preset wake-up conditions includes: When the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, each temporarily woken-up object is set to the external interrupt pending state, and then returns from the semi-sleep state to the sleep state.
3. The method according to claim 2, characterized in that, The temporary wake-up object includes a periodic trigger clock; Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes: When the external interrupt information of the periodic trigger clock does not meet the preset wake-up conditions, the periodic trigger clock is set to the initialization state, and other temporary wake-up objects are set to the external interrupt pending trigger state, and then the system returns from the semi-sleep state to the sleep state.
4. The method according to claim 2, characterized in that, The temporary wake-up object includes the network receive pin; Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes: When the network packet identifier associated with the network receive pin is not a wake-up packet identifier, the network receive pin is set to the external interrupt pending state, and other temporary wake-up objects are set to the external interrupt pending state, and then the system returns from the semi-sleep state to the sleep state.
5. The method according to claim 2, characterized in that, The temporary wake-up object includes the radio frequency receiving pin; Accordingly, when the external interrupt information of any of the temporarily woken-up objects does not meet the preset wake-up conditions, setting each temporarily woken-up object to a pending external interrupt state and then returning from the semi-dormant state to the dormant state includes: When the RF parameter value associated with the RF receiving pin does not match the preset RF parameter value, the RF receiving pin is set to the external interrupt pending state, and other temporary wake-up objects are set to the external interrupt pending state, and then the system returns from the semi-sleep state to the sleep state.
6. The method according to claim 1, characterized in that, The method further includes: When the network is in a wake-up state and the network is in a sleep state, the network is triggered to enter a wake-up state in response to the detection of a network management frame sent by another controller in the network.
7. The method according to claim 6, characterized in that, When the network is in a wake-up state and the network is in a sleep state, in response to receiving a network management frame sent by another controller in the network, triggering the network to enter a wake-up state includes: When the network is in a wake-up state and the network is in a sleep state, the duration of the dominant and recessive levels of the network receive pin is detected. When the duration of the level signal is greater than or equal to a preset level duration threshold, it is determined that a network management frame sent by another controller in the network has been received, and the network is triggered to enter a wake-up state.
8. A vehicle sleep / wake-up management device, characterized in that, include: The response unit is used to enter a semi-sleep state when it is in a sleep state in response to periodically receiving an external interrupt signal and external interrupt information from any temporarily awakened object; The return unit is used to return from the semi-dormant state to the dormant state when the external interrupt information of any of the temporarily awakened objects does not meet the preset wake-up conditions.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 7.
10. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. Wherein, when the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1 to 7.