Mode switching method and device and vehicle
By detecting the hardline wake-up signal in the vehicle freezing mode and controlling the vehicle to enter the working mode, the problem of the vehicle not being able to wake up normally is solved, and the reliability and user experience of vehicle mode switching are improved.
Patent Information
- Application Number
- CN202510009100.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-05-06
AI Technical Summary
When the vehicle switches from working mode to low power consumption mode, the hard-line wake-up signal detection in the freezing mode is insufficient, resulting in the vehicle being unable to wake up normally and unable to enter the working mode.
When the vehicle is in freezing mode, detect whether there is a hard-wire wake-up signal. If a hard-wire wake-up signal is detected, control the vehicle to enter the working mode.
By detecting the hardline wake-up signal in the freezing mode, the vehicle is avoided from entering the low-power mode directly, ensuring that the vehicle can wake up normally and enter the working mode, improving the user experience.
Smart Images

Figure CN119928745A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more specifically, to a mode switching method, device and vehicle. Background Art
[0002] When the vehicle is powered off, the vehicle can change from working mode to low power mode. The low power mode allows the ECU in the vehicle to maintain low power operation all the time or most of the time when the vehicle is stationary for a long time, and only retains the ability to wake up by the hard-line wake-up source to meet the requirements of long-term parking of the vehicle. When the hard-line wake-up source is sensed to be triggered by the user, the vehicle can be controlled to enter the working mode again to ensure that the user can use the vehicle normally.
[0003] In the related method, when the working mode is switched to the low power mode, there will be a freeze mode in the middle. Since the freeze mode time is very short, a complete task polling will not be performed in the freeze mode. In the low power mode, the software task has exited, and only hardware perception exists, and the way of hardware perception is to detect whether the level signal jumps. When the hard-wired wake-up source is triggered in the freeze mode, the corresponding hard-wired wake-up source signal will change from the inactive state to the active state, that is, the level signal jump has occurred, so that in the low power mode, the vehicle cannot be awakened because the level signal jump is not detected, and then the working mode cannot be entered. Summary of the invention
[0004] In view of the above problems, the present application proposes a mode switching method, device and vehicle to improve the above problems.
[0005] In a first aspect, the present application provides a mode switching method, the method comprising: when a vehicle is in a freeze mode, detecting whether there is a hard-wired wake-up signal, the hard-wired wake-up signal being a signal of a hard-wired wake-up source of the vehicle used to wake up the vehicle; if the presence of the hard-wired wake-up signal is detected, controlling the vehicle to enter a working mode, the freeze mode being an intermediate state between the working mode and the low power consumption mode.
[0006] In the second aspect, the present application provides a mode switching device, which includes: a signal detection unit, which is used to detect whether there is a hard-wire wake-up signal when the vehicle is in a freeze mode, and the hard-wire wake-up signal is a signal of the hard-wire wake-up source of the vehicle used to wake up the vehicle; a mode switching unit, which is used to control the vehicle to enter a working mode if the presence of the hard-wire wake-up signal is detected, and the freeze mode is an intermediate state between the working mode and the low power consumption mode.
[0007] In a third aspect, the present application provides a vehicle comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above-mentioned method.
[0008] In a fourth aspect, the present application provides a computer-readable storage medium, in which program code is stored, wherein the above method is executed when the program code is run.
[0009] The present application provides a mode switching method, device, vehicle and storage medium. When the vehicle is in freeze mode, it detects whether there is a hard-wire wake-up signal. If the hard-wire wake-up signal is detected, the vehicle is controlled to enter the working mode. Through the above method, when the vehicle is in freeze mode, it can detect whether there is a hard-wire wake-up signal. If the hard-wire wake-up signal is detected, the vehicle is controlled to enter the working mode, thereby avoiding the situation where the hard-wire wake-up signal is not detected in the freeze mode, resulting in the direct entry from the freeze mode into the low power consumption mode, and the hard-wire wake-up signal cannot be detected in the low power consumption mode, which further causes the vehicle to fail to wake up and cannot enter the working mode normally. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0011] Figure 1 A flow chart of a mode switching method proposed in an embodiment of the present application is shown;
[0012] Figure 2 A schematic diagram of a vehicle switching from a low power consumption mode to a working mode proposed in the present application is shown;
[0013] Figure 3 A schematic diagram showing a hard-line wake-up source level state in a low power consumption mode proposed in the present application is shown;
[0014] Figure 4 A schematic diagram of a vehicle switching from a freezing mode to a working mode proposed in the present application is shown;
[0015] Figure 5 A flow chart of a mode switching method proposed in another embodiment of the present application is shown;
[0016] Figure 6 A schematic diagram showing a hard-line wake-up source level state in a working mode proposed in the present application;
[0017] Figure 7 A structural block diagram of a mode switching device proposed in an embodiment of the present application is shown;
[0018] Figure 8 A structural block diagram of a vehicle proposed in this application is shown. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0020] In the embodiment of the present application, the inventor proposes a mode switching method, device and vehicle. When the vehicle is in freeze mode, it detects whether there is a hard-wired wake-up signal. If the hard-wired wake-up signal is detected, the vehicle is controlled to enter the working mode. Through the above method, when the vehicle is in freeze mode, it is possible to detect whether there is a hard-wired wake-up signal. If the hard-wired wake-up signal is detected, the vehicle is controlled to enter the working mode, thereby avoiding the situation where the hard-wired wake-up signal is not detected in the freeze mode, resulting in the vehicle directly entering the low power consumption mode, and the hard-wired wake-up signal cannot be detected in the low power consumption mode, which further causes the vehicle to fail to wake up and cannot enter the working mode normally.
[0021] See also Figure 1 , an embodiment of the present application provides a mode switching method, the method comprising:
[0022] S110: When the vehicle is in the freeze mode, detecting whether there is a hard-line wake-up signal, where the hard-line wake-up signal is a signal used by a hard-line wake-up source of the vehicle to wake up the vehicle.
[0023] Among them, the freeze mode may refer to a mode that is briefly experienced (<40ms) during the process of entering the low power mode from the vehicle working mode. Since the freeze mode time is extremely short, the vehicle cannot complete a task polling during the freeze mode. The working mode may refer to a mode in which all functions of the vehicle controller operate normally. When the vehicle is awakened by a wake-up source from other modes, it can enter the working mode and start initialization. After the initialization is completed, all functions of the vehicle controller can operate normally. The vehicle controller may be a VCU (Vehicle Control Unit), etc. The low power mode may refer to the long-term static time of the vehicle (that is, the time when the user does not use the vehicle), and the ECU (Electronic Control Unit) in the vehicle is always or most of the time in a low power state to meet the requirements of long-term parking of the vehicle. In the low power mode, only the hard-line wake-up source wake-up capability can be retained, and the vehicle controller does not run other functions.
[0024] The wake-up source of the vehicle can refer to the event that triggers the vehicle controller to switch from low-power mode to working mode, or the event that keeps the vehicle controller in working mode. The wake-up source can be divided into hard-wired wake-up source (also called local wake-up source, such as door handle, etc.) and network wake-up source.
[0025] As a method, when the vehicle is in freeze mode, the level status of the hard-wire wake-up source can be continuously monitored; based on the level status, whether there is a hard-wire wake-up signal is detected.
[0026] The level state of the hard-wired wake-up source may be an activated state or an inactivated state. When the hard-wired wake-up source is in an activated state, it may indicate that the hard-wired wake-up source is triggered; when the hard-wired wake-up source is in an inactivated state, it may indicate that the hard-wired wake-up source is not triggered.
[0027] Optionally, if during the freeze mode, the level state of the hard-wire wake-up source is in an active state, it is confirmed that a hard-wire wake-up signal exists.
[0028] S120: If the hard-wire wake-up signal is detected, the vehicle is controlled to enter a working mode, and the freeze mode is an intermediate state between the working mode and the low power consumption mode.
[0029] As a method, if the hard-wired wake-up signal is detected, the vehicle is controlled to enter the working mode.
[0030] Optionally, if during the freeze mode, the level state of the hard-wire wake-up source is always in an inactive state, confirming that there is no hard-wire wake-up signal; the vehicle is controlled to enter a low power consumption mode.
[0031] Optional, such as Figure 2As shown, after the vehicle enters the low power consumption mode, the level jump signal of the hard-wired wake-up source is continuously monitored; if the level jump signal indicates that the hard-wired wake-up source switches from an inactive state to an active state, the vehicle is controlled to enter the working mode.
[0032] The level jump signal may refer to a rising edge signal when the level state of the hard-wired wake-up source switches from an inactive state to an active state.
[0033] In the embodiment of the present application, since the freeze mode time is short, it is impossible to complete a task polling, and from the perspective of software design, the level state of the hard-wired wake-up source obtained by two adjacent polling results is used to confirm whether a level jump occurs, thereby confirming whether there is a hard-wired wake-up source to wake up the vehicle based on whether a level jump occurs. Figure 3 As shown, in the freeze mode of the prior art, it is impossible to complete the detection of a rising edge jump of the hard-wired wake-up source level state from an inactive state to an active state, so that even if a hard-wired wake-up source is awakened during the freeze mode, the freeze mode will be switched to the low-power mode. Since the hard-wired wake-up source level state is already in an active state in the low-power mode, and the vehicle's software will enter sleep mode in the low-power mode, it is equivalent to no task polling, and it is impossible to monitor the hard-wired wake-up source level state. It can only be determined from the hardware perception level whether a hard-wired wake-up source is triggered, and the configuration of the hardware perception level is: if the level jump signal of the hard-wired wake-up source is detected, it is determined that the hard-wired wake-up source is triggered. Therefore, in the prior art, when the hard-wired wake-up source level state is already in an active state in the low-power mode, the vehicle in the low-power mode cannot perceive that the hard-wired wake-up source has been triggered, and it is impossible to wake up the vehicle, affecting the user experience.
[0034] However, if Figure 4 As shown, in this application, by real-time monitoring of the hard-wire wake-up source level during the freeze mode, it is possible to confirm whether the hard-wire wake-up source is triggered during the freeze mode, thereby directly switching from the freeze mode to the working mode, avoiding the situation where all functions of the vehicle controller are lost due to the failure of the hard-wire wake-up source to wake up. In addition, since the freeze mode lasts for a very short time, this abnormal working condition is highly concealed, and it is not easy to be tested and verified in the development stage, and it is not easy to be checked in the after-sales stage.
[0035] This embodiment provides a mode switching method, when the vehicle is in freeze mode, detects whether there is a hard-wire wake-up signal, and if the hard-wire wake-up signal is detected, controls the vehicle to enter the working mode. Through the above method, when the vehicle is in freeze mode, it is possible to detect whether there is a hard-wire wake-up signal, and if the hard-wire wake-up signal is detected, control the vehicle to enter the working mode, thereby avoiding the situation where the hard-wire wake-up signal is not detected in freeze mode, resulting in direct entry from freeze mode to low power consumption mode, and the hard-wire wake-up signal cannot be detected in low power consumption mode, further resulting in vehicle wake-up failure and inability to enter the working mode normally.
[0036] See also Figure 5 , an embodiment of the present application provides a mode switching method, the method comprising:
[0037] S210: When the vehicle is in the working mode and it is detected that all wake-up sources are in an inactive state, controlling the vehicle to perform freeze mode preprocessing.
[0038] Among them, freeze mode preprocessing can refer to the operations required to put the vehicle into freeze mode from working mode. From a software perspective, freeze mode preprocessing can refer to the tasks required to be performed before the vehicle enters freeze mode from working mode. For example, during the software processing, after all wake-up sources are inactive, the vehicle can perform freeze mode preprocessing tasks such as shutting down other devices or clearing data. After the cleanup is completed, it will enter freeze mode.
[0039] As a method, when the vehicle is in the working mode and all wake-up sources are detected to be inactive, the vehicle is controlled to perform the freeze mode pre-processing.
[0040] Exemplarily, after the entire vehicle network goes into sleep mode, the peripherals (such as the screen) can be turned off first, and the data to be saved can be stored in a designated location. The power management module will cut off the power to the devices that do not need to be powered in the low power mode. After the power is cut off, the freeze mode will be entered. In the prior art, after entering the freeze mode, it is impossible to return to the working mode. The freeze mode is equivalent to the last task in the software code, that is, the last polling.
[0041] Optional, such as Figure 6 As shown, when the vehicle is in the working mode and detects that a wake-up source is activated, the vehicle can continue to stay in the working mode and respond to the wake-up source.
[0042] S220: If all the wake-up sources are always in an inactive state within a preset time, control the vehicle to enter a freeze mode, where the preset time is the time from when all the wake-up sources are detected to be in an inactive state in the working mode to when the freeze mode preprocessing is completed.
[0043] The timing start point of the preset time may be the moment when all wake-up sources are detected to be in an inactive state in the working mode, and the timing end point may be the moment when the freeze mode preprocessing is completed. Exemplarily, the preprocessing time may be 1 second to 15 seconds.
[0044] As a method, if all wake-up sources are always in an inactive state within a preset time, the vehicle is controlled to enter the freeze mode after the freeze mode preprocessing is completed.
[0045] Optionally, if a wake-up source changes from an inactive state to an active state within a preset time, the vehicle is controlled to maintain the working mode. That is to say, during the freeze mode preprocessing, if a wake-up source changes from an inactive state to an active state, the freeze mode preprocessing may not be continued and the vehicle may continue to maintain the working mode.
[0046] S230: When the vehicle is in the freeze mode, detecting whether there is a hard-line wake-up signal, where the hard-line wake-up signal is a signal used by a hard-line wake-up source of the vehicle to wake up the vehicle.
[0047] S240: If the hard-wire wake-up signal is detected, the vehicle is controlled to enter a working mode, and the freeze mode is an intermediate state between the working mode and the low power consumption mode.
[0048] The mode switching method provided in this embodiment can detect whether there is a hard-wired wake-up signal when the vehicle is in the freeze mode. If the hard-wired wake-up signal is detected, the vehicle is controlled to enter the working mode, thereby avoiding the situation where the hard-wired wake-up signal is not detected in the freeze mode, resulting in the vehicle directly entering the low power mode from the freeze mode, and the hard-wired wake-up signal cannot be detected in the low power mode, further resulting in the vehicle waking up failure and failure to enter the working mode normally. In addition, in this embodiment,
[0049] See also Figure 7 , the present application provides a mode switching device 400, the device 400 comprising:
[0050] A signal detection unit 410, configured to detect whether there is a hard-line wake-up signal when the vehicle is in a freeze mode, wherein the hard-line wake-up signal is a signal used by a hard-line wake-up source of the vehicle to wake up the vehicle;
[0051] The mode switching unit 420 is used to control the vehicle to enter the working mode if the hard-line wake-up signal is detected, and the freezing mode is an intermediate state between the working mode and the low power consumption mode.
[0052] As a method, the signal detection unit 410 is specifically used to continuously monitor the level state of the hard-wire wake-up source when the vehicle is in the freeze mode; based on the level state, detect whether the hard-wire wake-up signal exists.
[0053] Optionally, the signal detection unit 410 is specifically configured to confirm the presence of the hard-line wake-up signal if the level state of the hard-line wake-up source is in an activated state during the freeze mode.
[0054] As a method, the mode switching unit 420 is specifically used to control the vehicle to enter a low power consumption mode if the level state of the hard-wire wake-up source is always in an inactive state during the freeze mode, confirming that there is no hard-wire wake-up signal.
[0055] As a method, the mode switching unit 420 is specifically used to continuously monitor the level jump signal of the hard-wired wake-up source; if the level jump signal indicates that the hard-wired wake-up source switches from an inactive state to an active state, the vehicle is controlled to enter a working mode.
[0056] As a method, the mode switching unit 420 is specifically used to control the vehicle to perform freeze mode preprocessing when the vehicle is in the working mode and detects that all wake-up sources are in an inactive state; if all wake-up sources are always in an inactive state within a preset time, control the vehicle to enter the freeze mode, and the preset time is the time required from detecting that all wake-up sources are in an inactive state in the working mode to completing the freeze mode preprocessing.
[0057] Optionally, the mode switching unit 420 is specifically configured to control the vehicle to maintain a working mode if a wake-up source changes from an inactive state to an active state within the preset time.
[0058] The following will be combined Figure 8 A vehicle provided in the present application is described.
[0059] See also Figure 8 Based on the above-mentioned mode switching method and device, the embodiment of the present application also provides another vehicle 100 that can execute the above-mentioned mode switching method. The vehicle 100 includes a processor 102 and a memory 104. The memory 104 stores a program that can execute the content of the above-mentioned embodiment, and the backup processor 102 can execute the program stored in the memory 104.
[0060] Among them, the processor 102 may include one or more processing cores. The processor 102 uses various interfaces and lines to connect various parts in the entire vehicle 100, and executes various functions and processes data of the vehicle 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 104, and calling data stored in the memory 104. Optionally, the processor 102 can be implemented in at least one hardware form of a network processor (Neural network Processing Unit, NPU), a digital signal processing (Digital Signal Processing, DSP), a field programmable gate array (Field-Programmable Gate Array, FPGA), and a programmable logic array (Programmable Logic Array, PLA). The processor 102 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a network processor (Neural network Processing Unit, NPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; the NPU is responsible for processing multimedia data such as video and images; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 102, but may be implemented separately through a communication chip. The memory 104 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory) and a double data rate synchronous dynamic random access memory (Double Data Rate, DDR). The memory 104 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 104 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data created by the vehicle 100 during use (such as a phone book, audio and video data, chat record data), etc.
[0061] An embodiment of the present application provides a computer-readable storage medium in which a program code is stored, and the program code can be called by a processor to execute the method described in the above method embodiment.
[0062] The computer readable storage medium may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium includes a non-transitory computer-readable storage medium. The computer readable storage medium has storage space for program codes that execute any of the method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code can be compressed, for example, in an appropriate form.
[0063] In summary, the present application provides a mode switching method, device, and vehicle, which detect whether a hard-wired wake-up signal exists when the vehicle is in freeze mode, and if the hard-wired wake-up signal is detected, the vehicle is controlled to enter a working mode. Through the above-mentioned method, when the vehicle is in freeze mode, it is possible to detect whether a hard-wired wake-up signal exists, and if the hard-wired wake-up signal is detected, the vehicle is controlled to enter a working mode, thereby avoiding the situation where the hard-wired wake-up signal is not detected in freeze mode, resulting in direct entry into a low-power mode from a freeze mode, and the hard-wired wake-up signal cannot be detected in low-power mode, further resulting in a vehicle wake-up failure and an inability to enter a working mode normally.
[0064] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements 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 the present application.
Claims
1. A mode switching method, characterized in that: The method comprises: When the vehicle is in a freeze mode, detecting whether there is a hard-line wake-up signal, where the hard-line wake-up signal is a signal used by a hard-line wake-up source of the vehicle to wake up the vehicle; If the hard-wire wake-up signal is detected, the vehicle is controlled to enter a working mode, and the freezing mode is an intermediate state between the working mode and the low power consumption mode.
2. The method according to claim 1, characterized in that When the vehicle is in the freeze mode, detecting whether there is a hard-line wake-up signal includes: When the vehicle is in the freeze mode, continuously monitoring the level status of the hard-wire wake-up source; Based on the level state, detecting whether the hard-line wake-up signal exists.
3. The method according to claim 2, characterized in that If the hard-wire wake-up signal is detected, before controlling the vehicle to enter the working mode, the method further includes: If the level state of the hard-wire wake-up source is in an active state during the freeze mode, it is confirmed that the hard-wire wake-up signal exists.
4. The method according to claim 2, characterized in that: The method further comprises: If during the freeze mode, the level state of the hard-wire wake-up source is always in an inactive state, confirming that there is no hard-wire wake-up signal; The vehicle is controlled to enter a low power consumption mode.
5. The method according to claim 4, characterized in that After controlling the vehicle to enter the low power consumption mode, the method further includes: Continuously monitoring the level jump signal of the hard-line wake-up source; If the level jump signal indicates that the hard-wire wake-up source is switched from an inactive state to an active state, the vehicle is controlled to enter a working mode.
6. The method according to claim 1, characterized in that When the vehicle is in the freeze mode, before detecting whether there is a hard-line wake-up signal, the method includes: When the vehicle is in the working mode and all wake-up sources are detected to be in an inactive state, controlling the vehicle to perform freeze mode preprocessing; If all the wake-up sources are always in an inactive state within a preset time, the vehicle is controlled to enter a freeze mode, and the preset time is the time required from detecting that all the wake-up sources are in an inactive state in the working mode to completing the freeze mode preprocessing.
7. The method according to claim 6, characterized in that The method further comprises: If within the preset time, a wake-up source changes from an inactive state to an active state, the vehicle is controlled to maintain the working mode.
8. A mode switching device, characterized in that: The device comprises: a signal detection unit, used for detecting whether there is a hard-line wake-up signal when the vehicle is in a freeze mode, wherein the hard-line wake-up signal is a signal used by a hard-line wake-up source of the vehicle to wake up the vehicle; The mode switching unit is used to control the vehicle to enter the working mode if the hard-line wake-up signal is detected, and the freezing mode is an intermediate state between the working mode and the low power consumption mode.
9. A vehicle, characterized in that: comprising one or more processors and memory; One or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, wherein when the program code is run, the method according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Vehicle-mounted controller power-on and power-off sequential control method and vehicle-mounted controller
CN115139937A
Network management ECU control method and device, equipment and storage medium
CN117377044A
ESC control unit delay operation system, method, device and medium
CN118778516A
New energy vehicle instrument and central control system power state transition method and system
CN119099513A
On-vehicle network system
JP2015107672A