Vehicle machine mode control method and device, vehicle, medium and product

By estimating the current consumption value and early wake-up time in the vehicle operating system, and controlling the entry of suspend-to-memory mode, the problem of excessive power consumption in STR mode is solved, and the vehicle is quickly started up and energy saved.

CN118779017APending Publication Date: 2024-10-15NANJING DESAY SV AUTOMOTIVE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411049575.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In the in-vehicle operating system, although the suspend-to-memory (STR) mode achieves fast startup, due to high current consumption, the battery power is consumed too quickly, affecting the vehicle's endurance.

Method used

By waking up the system-level chip and notifying it to enter the suspend-to-memory mode, it obtains the ambient temperature value, historical car usage information and battery power, and uses the preset temperature-current correlation table and linear difference algorithm to estimate the current consumption value and determine the early wake-up time. , control the system-level chip's suspend to memory mode to reasonably control the entry time of STR mode to achieve fast boot and save energy.

Benefits of technology

It effectively extends the service life of the battery, ensures that the vehicle can start quickly and saves energy in STR mode, and avoids starting problems caused by insufficient power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779017A_ABST
    Figure CN118779017A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle machine mode control method and device, a vehicle, a medium and a product. The method comprises the following steps: when a power-off condition is met, waking up a system-on-chip and notifying the system-on-chip to enter a suspended to memory mode; acquiring a current environment temperature value, historical car using habit information and a current storage battery electric quantity; determining a current consumption estimated value according to the current environment temperature value, a preset temperature current association table and a preset linear difference algorithm; in combination with the historical car using habit information and the current storage battery electric quantity, early wakeup time is determined; and according to the advanced wake-up time and a preset timer, controlling the suspend-to-memory mode of the system-on-chip. And estimating a current consumption estimated value in the STR mode through the current environment temperature value during power-off, determining the advanced wake-up time of the mode, and controlling to enter the STR mode according to the advanced wake-up time. Reasonable determination of the STR mode entry time is realized, and the feed problem of the vehicle in the STR mode is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle-machine mode control method, device, vehicle, medium and product. Background Art

[0002] As the smart cockpit system is equipped with more and more functions and the software system becomes more and more complex, the system startup time also becomes longer. It takes a long time to wait for the system to start, which affects the driving experience.

[0003] At present, most in-vehicle operating systems have introduced a suspend to RAM (STR) sleep solution to achieve a fast startup effect. In this STR mode, the system will save the current state to the memory (RAM), the device will keep the power to the memory to save the data in the memory, and then shut down most of the hardware devices to achieve low power consumption. This means that the device can quickly resume from the sleep state because it does not need to reload the operating system, service framework and application.

[0004] Although STR mode is a low power mode, its power consumption is still higher than normal shutdown (static current is about 7.5mA in STR mode, and it will drop to 0.5mA when shutting down). If the vehicle is in STR mode for a long time, the battery power will be consumed too quickly and the vehicle cannot be started. Summary of the invention

[0005] The present invention provides a vehicle mode control method, device, vehicle, medium and product to achieve reasonable control of the STR mode entry time, achieve the purpose of fast startup and energy saving, and prevent power feeding.

[0006] According to a first aspect of the present invention, a vehicle computer mode control method is provided, comprising:

[0007] When the power-off condition is met, waking up the system-on-chip and notifying the system-on-chip to enter a suspend-to-memory mode;

[0008] Get the current ambient temperature, historical vehicle usage information, and current battery power;

[0009] Determine the current consumption estimate value according to the current ambient temperature value, the preset temperature-current association table and the preset linear difference algorithm;

[0010] Determining an advance wake-up time according to the historical vehicle usage habit information, the current battery power and the current consumption estimate;

[0011] The suspend-to-memory mode of the system-on-chip is controlled according to the advance wake-up time and a preset timer.

[0012] According to a second aspect of the present invention, a vehicle mode control device is provided, comprising:

[0013] A mode notification module, used for waking up the system-on-chip and notifying the system-on-chip to enter the suspend-to-memory mode when a power-off condition is met;

[0014] The information acquisition module is used to obtain the current ambient temperature value, historical vehicle usage information and the current battery power;

[0015] An estimated value determination module, used to determine the current consumption estimated value according to the current ambient temperature value, a preset temperature-current association table and a preset linear difference algorithm;

[0016] A time determination module, used for determining an advance wake-up time according to the historical vehicle use habit information, the current battery power and the current consumption estimate;

[0017] A mode control module is used to control the suspend-to-memory mode of the system-on-chip according to the advance wake-up time and a preset timer.

[0018] According to a third aspect of the present invention, there is provided an electronic device, the electronic device comprising:

[0019] at least one controller; and

[0020] A memory in communication with the at least one controller; wherein,

[0021] The memory stores a computer program that can be executed by the at least one controller, and the computer program is executed by the at least one controller so that the at least one controller can execute the vehicle mode control method described in any embodiment of the present invention.

[0022] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a controller to implement the vehicle-machine mode control method described in any embodiment of the present invention when executed.

[0023] According to a fifth aspect of the present invention, an embodiment of the present invention further provides a computer program product, the computer program product includes a computer program, and when the computer program is executed by a controller, the vehicle mode control method of any embodiment of the present invention is implemented.

[0024] The technical solution of the embodiment of the present invention is to wake up the system-level chip and notify the system-level chip to enter the suspend-to-memory mode when the power-off condition is met; obtain the current ambient temperature value, historical vehicle usage habit information and the current battery power; determine the current consumption estimate according to the current ambient temperature value, the preset temperature-current association table and the preset linear difference algorithm; determine the advance wake-up time according to the historical vehicle usage habit information, the current battery power and the current consumption estimate; and control the suspend-to-memory mode of the system-level chip according to the advance wake-up time and the preset timer. When the power is off, the current consumption estimate in the STR mode is estimated by the current ambient temperature value, and the advance wake-up time of the mode is determined, so as to realize the reasonable determination of the STR mode entry time, and control the entry into the STR mode according to the advance wake-up time, so as to achieve the purpose of fast startup and energy saving for the next use of the vehicle, and solve the power feeding problem of the vehicle in the STR mode.

[0025] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0027] Figure 1 is a flow chart of a vehicle machine mode control method provided according to the first embodiment of the present invention;

[0028] Figure 2 is a flow chart of a vehicle machine mode control method provided according to Embodiment 2 of the present invention;

[0029] Figure 3 is an example flow chart of a vehicle machine mode control method provided according to the second embodiment of the present invention;

[0030] Figure 4 is a structural schematic diagram of a vehicle machine mode control device provided according to Embodiment 3 of the present invention;

[0031] Figure 5 Schematic diagram of the structure of a vehicle implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0034] Embodiment 1

[0035] Figure 1 A flow chart of a vehicle mode control method is provided for the first embodiment of the present invention. This embodiment is applicable to the control of the STR mode and can be implemented by a microcontroller unit (MCU). For example, the method can be executed by a vehicle mode control device, which can be implemented in the form of hardware and / or software, and can be configured in a vehicle. Figure 1 As shown, the method includes:

[0036] S110: When the power-off condition is met, wake up the system-on-chip and notify the system-on-chip to enter the suspend-to-memory mode.

[0037] In this embodiment, the power-off condition can be understood as a condition for determining whether the vehicle is powered off, such as engine shutdown. The system-on-chip (SOC) is used to control the vehicle to enter the suspend-to-RAM mode. The suspend-to-RAM mode (STR) is a power management mode, in which the purpose of fast startup and energy saving is achieved.

[0038] Specifically, when the controller receives a power-off signal and the power-off condition is met, the controller may wake up the system-on-chip and notify the system-on-chip to enter the suspend-to-memory mode.

[0039] S120: Obtain the current ambient temperature value, historical vehicle usage habit information, and the current battery power.

[0040] In this embodiment, the current ambient temperature value can be understood as the temperature of the area where the vehicle is located. The historical vehicle usage information can be understood as the time information of the vehicle's historical power-on and power-off. The current battery power can be understood as the remaining power of the battery used for power supply in the vehicle when it is powered off.

[0041] Specifically, the controller can obtain the current ambient temperature value of the vehicle's geographical location through the network or other means. The SOC or controller can record the corresponding time of each time the driver gets on and starts the vehicle and gets off and turns off the vehicle, generate historical vehicle usage habit information, and send the historical vehicle usage habit information when receiving the notification of entering the STR mode. The controller can obtain the historical vehicle usage habit information and obtain the current battery power remaining in the battery when the power is turned off from the device that records the battery power through the bus or other means.

[0042] S130 , determining a current consumption estimation value according to a current ambient temperature value, a preset temperature-current association table, and a preset linear difference algorithm.

[0043] In this embodiment, the preset temperature-current association table is used to record the test values ​​of the static current at different temperatures after entering the STR. The preset linear difference algorithm can be understood as an algorithm for determining the static current of the vehicle. The current consumption estimate can be understood as an estimate of the amount of power consumed after entering the STR mode.

[0044] Specifically, the controller can search in the preset temperature-current association table according to the current ambient temperature value, determine the current test value corresponding to the temperature range corresponding to the current ambient temperature value, and determine the current consumption estimate after entering the STR mode through the current test value and the temperature range through a preset linear difference algorithm.

[0045] S140: Determine an advance wake-up time based on historical vehicle use habit information, current battery power, and current consumption estimation.

[0046] It can be known that after estimating the next time to use the car through historical car usage information, the power threshold for power off can be pre-set to prevent power feeding. Based on the estimated current consumption and the difference between the current battery power and the power threshold, the longest standby time to reach the power threshold in STR mode can be determined. This time may not be enough to support the next car start. If the power is turned off and directly enters STR mode, in order to ensure that there is no power feeding, the STR mode will be exited before the next car use, and the STR mode cannot achieve the purpose of fast startup and energy saving. The advance wake-up time can be set to wake up the SOC to enter STR mode before the next car use, so as to ensure that the STR mode is entered at this time and can be continued until the next car use.

[0047] In this embodiment, the advance wake-up time may be understood as the time for waking up the SOC to enter the STR mode.

[0048] Specifically, the controller can estimate the time of the next use of the vehicle based on historical vehicle usage information. In order to ensure that the vehicle will not be powered off, a minimum power threshold can be pre-set, and the STR mode can be exited when this power threshold is reached. The controller can determine the amount of power that can be consumed by the current battery power to reach the power threshold, and then determine the maximum time in STR mode through the estimated current consumption value. Through the maximum time and the next use time of the vehicle, it can first be determined whether the current battery power can support the STR mode until the next use of the vehicle. If so, there is no need to perform the early wake-up operation, and the early wake-up time is immediate wake-up. If not, the time when the wake-up needs to be performed can be determined according to the set early wake-up interval (for example, n hours before the next use of the vehicle), and this time is used as the early wake-up time.

[0049] S150: Controlling the suspend-to-memory mode of the system-level chip according to the advance wake-up time and the preset timer.

[0050] In this embodiment, the preset timer can be understood as a device for waking up the controller at a scheduled time.

[0051] Specifically, the controller can set the duration of the preset timer according to the advance wake-up time, control the SOC to power off after setting, and control itself to sleep, wake itself up through the preset timer when the advance wake-up time is reached, power on the SOC and notify the SOC to enter the suspend to memory mode.

[0052] The technical solution of the embodiment of the present invention is to wake up the system-level chip and notify the system-level chip to enter the suspend-to-memory mode when the power-off condition is met; obtain the current ambient temperature value, historical vehicle usage habit information and the current battery power; determine the current consumption estimate according to the current ambient temperature value, the preset temperature-current association table and the preset linear difference algorithm; determine the advance wake-up time according to the historical vehicle usage habit information, the current battery power and the current consumption estimate; and control the suspend-to-memory mode of the system-level chip according to the advance wake-up time and the preset timer. When the power is off, the current consumption estimate in the STR mode is estimated by the current ambient temperature value, and the advance wake-up time of the mode is determined, so as to realize the reasonable determination of the STR mode entry time, and control the entry into the STR mode according to the advance wake-up time, so as to achieve the purpose of fast startup and energy saving for the next use of the vehicle, and solve the power feeding problem of the vehicle in the STR mode.

[0053] Embodiment 2

[0054] Figure 2 This is a flow chart of a vehicle mode control method provided by Embodiment 2 of the present invention. This embodiment is a further refinement of the above embodiment. Figure 2 As shown, the method includes:

[0055] S201. When a power-off condition is met, wake up the system-on-chip and notify the system-on-chip to enter a suspend-to-memory mode.

[0056] S202: Obtain the current ambient temperature value, historical vehicle usage habit information, and the current battery power.

[0057] S203: Determine the temperature range to which the current ambient temperature value belongs in a preset temperature-current association table.

[0058] In this embodiment, the temperature interval can be understood as a temperature range that includes the current ambient temperature value in the preset temperature-current association table.

[0059] Specifically, the controller may search the preset temperature-current association table for the temperature interval to which the current ambient temperature value belongs.

[0060] For example, the static current test values ​​of a certain platform device at different temperatures after entering STR are as follows: the static current corresponding to an ambient temperature of -30°C is less than or equal to 3.7mA; the static current corresponding to 45°C is less than or equal to 6.8mA; the static current corresponding to 65°C is less than or equal to 10.3mA; the static current corresponding to 75°C is less than or equal to 10.8mA. When the current ambient temperature value is 55°C, the temperature range is 45°C-65°C.

[0061] S204: Determine a static current test value set in a temperature range according to a preset temperature-current association table.

[0062] In this embodiment, the static current test value set can be understood as static current test values ​​corresponding to the temperature range.

[0063] Specifically, the controller may determine a set of static current test values ​​corresponding to the temperature interval according to a preset temperature-current association table.

[0064] Exemplarily, as in the above example, the static current test value set corresponding to the temperature range includes two static current test values ​​6.8 mA and 10.3 mA.

[0065] S205 , determining a current consumption estimation value according to a current ambient temperature value, a static current test value set, a temperature range, and a preset linear difference algorithm.

[0066] Specifically, the controller may input the current ambient temperature value, the static current test value set, and the temperature range into a preset linear difference algorithm to determine the current consumption estimation value.

[0067] It can be known that the current ambient temperature value corresponding to the power-off may not be accurate. For example, when the temperature difference between day and night is large, the current ambient temperature value is the highest temperature at noon. When the car is powered off and parked at noon until the next day, it is inaccurate to directly look up the table according to the current ambient temperature value to determine the current consumption value. At this time, it is necessary to estimate a more accurate and reasonable current consumption estimate through the temperature range to which the current ambient temperature value belongs and the preset linear difference algorithm.

[0068] Further, based on the above embodiment, the step of determining the current consumption estimation value according to the current ambient temperature value, the static current test value set, the temperature range and the preset linear difference algorithm can be refined as follows:

[0069] Determine the left endpoint temperature and the right endpoint temperature of the temperature range; determine a first quiescent current test value corresponding to the left endpoint temperature and a second quiescent current test value corresponding to the right endpoint temperature in the quiescent current test value set; determine the current consumption estimate based on the current ambient temperature value, the left endpoint temperature, the right endpoint temperature, the first quiescent current test value, the second quiescent current test value and a preset linear difference algorithm.

[0070] In this embodiment, the left endpoint temperature can be understood as the lowest value in the temperature range. The right endpoint temperature can be understood as the highest value in the temperature range. Among them, the left endpoint temperature is lower than the right endpoint temperature. The first static current test value can be understood as the current test value corresponding to the left endpoint temperature. The second static current test value can be understood as the current test value corresponding to the right endpoint.

[0071] Specifically, the controller can determine the left endpoint temperature and the right endpoint temperature of the temperature interval, and determine the first quiescent current test value corresponding to the left endpoint temperature and the second quiescent current test value corresponding to the right endpoint temperature in the quiescent current test value set. The controller can input the current ambient temperature value, the left endpoint temperature, the right endpoint temperature, the first quiescent current test value, and the second quiescent current test value into a preset linear difference algorithm to obtain the current consumption estimation value.

[0072] Exemplarily, the preset linear difference algorithm can be expressed by the following formula:

[0073] I=I1+(T–T1)((I2–I1) / (T2–T1))

[0074] Among them, I is the estimated value of current consumption, T is the current ambient temperature value, T1 is the left endpoint temperature, T2 is the right endpoint temperature, I1 is the first static current test value, and I2 is the second static current test value.

[0075] For example, when the current ambient temperature is 55° C., the current consumption estimation value is 6.8 mA+(55-45)((10.3-6.8) / (65-45))=8.55 mA.

[0076] S206: Determine the maximum power consumption according to the current battery power and the preset power threshold.

[0077] In this embodiment, the preset power threshold can be understood as the minimum power set to ensure that no power is supplied. The maximum power consumption can be understood as the maximum power that can be consumed.

[0078] Specifically, the controller may subtract the current battery power from a preset power threshold to determine the longest power consumption.

[0079] S207: Determine the longest time according to the longest power consumption and the estimated current consumption.

[0080] In this embodiment, the longest time can be understood as the longest time during which no power is supplied in the STR mode.

[0081] Specifically, the controller may calculate the longest power consumption and the estimated current consumption value to determine the longest time.

[0082] S208. Determine an advance wake-up time based on the longest time and historical vehicle usage habit information.

[0083] Specifically, the controller can estimate the next time the car is used based on historical car usage habit information, determine whether the longest time can cover the next time the car is used based on the next time the car is used, and determine the advance wake-up time based on the coverage situation.

[0084] Further, based on the above embodiment, the step of determining the early wake-up time according to the longest time and historical vehicle use habit information can be optimized as follows:

[0085] Determine the next car usage time based on historical car usage habit information; determine the interval time based on the next car usage time and the current time; if the interval time is less than the maximum time, use immediate wake-up as the advance wake-up time; otherwise, determine the target time corresponding to the preset advance time and the next car usage time, and use the target time as the advance wake-up time.

[0086] In this embodiment, the next time to use the vehicle can be understood as the estimated time to start the vehicle next time. The current time can be understood as the time to power off. The interval time can be understood as the time interval from the current time to the next time to use the vehicle. The preset advance time can be understood as the set advance wake-up time, for example, 2 hours before the next time to use the vehicle. The target time can be understood as the time to wake up in advance.

[0087] Specifically, the controller can analyze the historical car usage habit information, and estimate the next car usage time based on the historical power-on time corresponding to the current time of power off in the historical car usage habit information. The controller can determine the current time corresponding to the power off, and determine the interval between the current time and the next car usage time. The controller can compare the interval time with the maximum time. If the interval time is less than the maximum time and the power is sufficient to support the next car usage time, the STR mode will be immediately awakened as the advance wake-up time without powering off the SOC. Otherwise, the controller can subtract the preset advance time from the next car usage time to obtain the corresponding target time, and use the target time as the advance wake-up time. For example, if the preset advance time is 2 hours and the next car usage time is 8 o'clock, the target time is 6 o'clock.

[0088] S209: When the advance wake-up time is immediate wake-up, enter the sleep mode.

[0089] Specifically, when the advance wake-up time is immediate wake-up, the controller may enter the sleep mode, and the SOC is in the STR mode.

[0090] S210: When the early wake-up time is the target time, a preset timer is set according to a preset waiting time, and the sleep mode is entered.

[0091] In this embodiment, the preset waiting time can be understood as a waiting time used to prevent a short-term parking from being set, for example, it can be 30 minutes, etc., wherein the preset advance time has been set in consideration of the preset waiting time.

[0092] Specifically, when the early wake-up time is the target time, considering that the current parking may be only a short parking, the controller can set a preset timer according to the preset waiting time and control itself to enter the sleep mode.

[0093] S211 , when the preset waiting time is reached and the preset timer wakes up, the system-level chip is powered off, and the preset timer is set according to the target time to enter the sleep mode.

[0094] Specifically, when the sleep time reaches the preset time, the preset timer triggers the awakening of the controller. At this time, it can be considered that the vehicle is not parked temporarily. The controller can cut off the power of the system-level chip and set the preset timer according to the target time, so that the preset timer wakes up the controller at the target time, and the controller enters sleep mode.

[0095] S212: When the target time is reached and the preset timer wakes up, the system-level chip is notified to enter the suspend-to-memory mode.

[0096] Specifically, when the target time is reached, the preset timer triggers the wake-up controller operation, and the controller controls the system-level chip to power on and notify it to enter the suspend-to-memory mode.

[0097] The technical solution of the embodiment of the present invention determines the temperature interval in the preset temperature-current association table based on the current ambient temperature value, and determines the estimated current consumption value of the STR mode under the vehicle parking time range in combination with the static current test value set corresponding to the temperature interval, thereby ensuring the rationality and accuracy of the determination of the consumption current, and contributing to the subsequent reasonable determination of the early wake-up time. The longest power consumption is determined by the current battery power and the preset power threshold, ensuring that the battery will not be fed due to the STR mode. The longest time in the STR mode is determined based on the longest power consumption and the current consumption estimate, and the next car use time is determined by historical car use habit information, and then compared with the longest time to determine the early wake-up time. A preset timer is set based on the early wake-up time. When the early wake-up time is not reached, the MCU enters the sleep state, the SOC exits the STR mode and is powered off. When the early wake-up time is reached, the MCU is awakened and the SOC is controlled to enter the STR mode, and the early wake-up time is determined again. The reasonable determination of the STR mode entry time is achieved, and the entry into the STR mode is controlled according to the early wake-up time, so as to achieve the purpose of fast startup and energy saving for the next use of the car, and solve the problem of vehicle feeding in the STR mode.

[0098] Exemplarily, in order to facilitate understanding of the present invention, a specific example is used for demonstration. The controller takes a microcontroller unit MCU as an example, and controls the microcontroller to enter the STR mode by interacting with the system-on-chip SOC. Figure 3 This is an example flow chart of a vehicle mode control method provided by Embodiment 2 of the present invention, such as Figure 3 As shown, the steps may be:

[0099] S301, when the power-off condition is met, the microcontroller unit MCU wakes up the system-on-chip and notifies the system-on-chip to enter the suspend-to-memory mode;

[0100] S302, the system-on-chip SOC is started;

[0101] S303, the system-on-chip (SOC) obtains the current ambient temperature value and determines the next vehicle usage time based on historical vehicle usage habits;

[0102] S304, the microcontroller unit MCU determines the power consumption estimation value according to the current ambient temperature value, the preset temperature-current association table and the preset linear difference algorithm;

[0103] S305, the microcontroller unit MCU determines the maximum time to enter the STR mode according to the current battery power, the preset power threshold and the current consumption estimate, and determines the interval time to the next use of the vehicle according to the next use time and the current time;

[0104] S306, the microcontroller unit MCU determines whether the longest time is greater than the interval time; if so, jump to step S309, if not, jump to step S308;

[0105] S307, the system-on-chip SOC enters the suspend-to-memory STR mode;

[0106] S308, the micro control unit MCU sets and starts a preset timer according to the preset waiting time;

[0107] S309, MCU enters sleep mode;

[0108] S310, when the preset waiting time is reached, the timer triggers the wake-up, the MCU wakes up and starts, and the system-level chip SOC is powered off;

[0109] S311, the system-level chip SOC exits the suspend mode to the memory STR mode;

[0110] S312, the microcontroller unit MCU determines the advance wake-up time according to the next vehicle use time and the preset advance time, and sets and starts the preset timer based on the advance wake-up time;

[0111] S313: When the early wake-up time is reached, the timer triggers the wake-up, and the MCU wakes up and starts the system-on-chip SOC.

[0112] Embodiment 3

[0113] Figure 4 This is a schematic diagram of the structure of a vehicle mode control device provided by Embodiment 3 of the present invention. Figure 4As shown, the device includes: a mode notification module 41, an information acquisition module 42, an estimated value determination module 43, a time determination module 44 and a mode control module 45.

[0114] A mode notification module 41, used for waking up the system-on-chip and notifying the system-on-chip to enter the suspend-to-memory mode when a power-off condition is met;

[0115] The information acquisition module 42 is used to obtain the current ambient temperature value, historical vehicle usage information and the current battery power;

[0116] An estimated value determination module 43, configured to determine an estimated current consumption value according to the current ambient temperature value, a preset temperature-current association table and a preset linear difference algorithm;

[0117] A time determination module 44, configured to determine an advance wake-up time according to the historical vehicle use habit information, the current battery power and the current consumption estimation value;

[0118] The mode control module 45 is used to control the suspend-to-memory mode of the system-on-chip according to the advance wake-up time and a preset timer.

[0119] The technical solution of the embodiment of the present invention is to wake up the system-level chip and notify the system-level chip to enter the suspend-to-memory mode when the power-off condition is met; obtain the current ambient temperature value, historical vehicle usage habit information and the current battery power; determine the current consumption estimate according to the current ambient temperature value, the preset temperature-current association table and the preset linear difference algorithm; determine the advance wake-up time according to the historical vehicle usage habit information, the current battery power and the current consumption estimate; and control the suspend-to-memory mode of the system-level chip according to the advance wake-up time and the preset timer. When the power is off, the current consumption estimate in the STR mode is estimated by the current ambient temperature value, and the advance wake-up time of the mode is determined, so as to realize the reasonable determination of the STR mode entry time, and control the entry into the STR mode according to the advance wake-up time, so as to achieve the purpose of fast startup and energy saving for the next use of the vehicle, and solve the power feeding problem of the vehicle in the STR mode.

[0120] Furthermore, the estimated value determination module 43 includes:

[0121] An interval determination unit, configured to determine the temperature interval to which the current ambient temperature value belongs in the preset temperature-current association table;

[0122] A set determining unit, configured to determine a static current test value set in the temperature interval according to the preset temperature-current association table;

[0123] An estimated value determination unit is used to determine the current consumption estimated value according to the current ambient temperature value, the static current test value set, the temperature range and the preset linear difference algorithm.

[0124] Wherein, the estimated value determination unit is specifically used for:

[0125] Determine the left endpoint temperature and the right endpoint temperature of the temperature interval;

[0126] Determine in the static current test value set a first static current test value corresponding to the left endpoint temperature and a second static current test value corresponding to the right endpoint temperature;

[0127] A current consumption estimation value is determined according to the current ambient temperature value, the left endpoint temperature, the right endpoint temperature, the first quiescent current test value, the second quiescent current test value, and the preset linear difference algorithm.

[0128] Further, the time determination module 44 includes:

[0129] A power determination unit, used to determine the maximum power consumption according to the current battery power and a preset power threshold;

[0130] A first determining unit, configured to determine a maximum time according to the longest power consumption and the current consumption estimated value;

[0131] The second determining unit is used to determine the advance wake-up time according to the longest time and the historical vehicle use habit information.

[0132] Wherein, the second determining unit is specifically used for:

[0133] Determine the next time to use the vehicle based on the historical vehicle use habit information;

[0134] Determine the interval length according to the next vehicle use time and the current time;

[0135] If the interval duration is less than the maximum time, the immediate wake-up is used as the advance wake-up time;

[0136] Otherwise, determine the preset advance time and the target time corresponding to the next vehicle use time, and use the target time as the advance wake-up time.

[0137] Furthermore, the mode control module 45 is specifically used for:

[0138] When the advance wake-up time is immediate wake-up, entering the sleep mode;

[0139] When the early wake-up time is the target time, setting a preset timer according to the preset waiting time, and entering the sleep mode;

[0140] When the preset waiting time is reached and the preset timer wakes up, the system-level chip is powered off, and the preset timer is set according to the target time to enter the sleep mode;

[0141] When the target time is reached and the preset timer wakes up the system-on-chip, the system-on-chip is notified to enter the suspend-to-memory mode.

[0142] The vehicle computer mode control device provided in the embodiment of the present invention can execute the vehicle computer mode control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0143] Embodiment 4

[0144] Figure 5 A schematic diagram of the structure of a vehicle provided in the fourth embodiment of the present invention is shown in FIG. Figure 5 As shown, the vehicle includes a controller 51, a memory 52, an input device 53, an output device 54 and a system-level chip 55. The number of the controller 51 and the memory 52 can be one or more. Figure 5 In the figure, a controller 51 and a memory 52 are taken as an example; the controller 51 and the memory 52 in the vehicle can be connected by a bus or other means. Figure 5 The bus connection is taken as an example. The controller refers to the controller of the execution subject in the embodiment of the present invention.

[0145] The memory 52 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the vehicle mode control method in the embodiment of the present invention (for example, the mode notification module 41, the information acquisition module 42, the estimated value determination module 43, the time determination module 44 and the mode control module 45 in the vehicle mode control device). The controller 51 executes various functional applications and data processing of the vehicle by running the software programs, instructions and modules stored in the memory 52, that is, realizes the above-mentioned vehicle mode control method.

[0146] The memory 52 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 52 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some examples, the memory 52 may further include a memory remotely arranged relative to the controller 51, and these remote memories may be connected to the vehicle via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0147] The input device 53 may be used to receive digital or character information and generate key signal inputs related to vehicle user settings and function controls.

[0148] Output device 54 may include a display device.

[0149] The system-on-chip 55 may be used to enter a suspend-to-memory STR mode.

[0150] Embodiment 5

[0151] Embodiment 5 of the present invention further provides a storage medium including computer executable instructions, wherein the computer executable instructions are used in a vehicle mode control method when executed by a computer controller, the method comprising:

[0152] When the power-off condition is met, waking up the system-on-chip and notifying the system-on-chip to enter a suspend-to-memory mode;

[0153] Get the current ambient temperature, historical vehicle usage information, and current battery power;

[0154] Determine the current consumption estimate value according to the current ambient temperature value, the preset temperature-current association table and the preset linear difference algorithm;

[0155] Determining an advance wake-up time according to the historical vehicle usage habit information, the current battery power and the current consumption estimate;

[0156] The suspend-to-memory mode of the system-on-chip is controlled according to the advance wake-up time and a preset timer.

[0157] Of course, the storage medium containing computer executable instructions provided in an embodiment of the present invention, whose computer executable instructions are not limited to the method operations described above, can also execute related operations in the vehicle mode control method provided in any embodiment of the present invention.

[0158] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0159] It is worth noting that in the embodiment of the above-mentioned vehicle mode control device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0160] In one embodiment, the embodiment of the present invention further includes a computer program product, the computer program product includes a computer program, and when the computer program is executed by a controller, the vehicle machine mode control method of any embodiment of the present invention is implemented.

[0161] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0162] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0163] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A vehicle computer mode control method, characterized in that: include: When the power-off condition is met, waking up the system-on-chip and notifying the system-on-chip to enter a suspend-to-memory mode; Get the current ambient temperature, historical vehicle usage information, and current battery power; Determine the current consumption estimate value according to the current ambient temperature value, the preset temperature-current association table and the preset linear difference algorithm; Determining an advance wake-up time according to the historical vehicle usage habit information, the current battery power and the current consumption estimate; The suspend-to-memory mode of the system-on-chip is controlled according to the advance wake-up time and a preset timer.

2. The method according to claim 1, characterized in that The step of determining the current consumption estimate value according to the current ambient temperature value, the preset temperature-current association table and the preset linear difference algorithm includes: Determine the temperature interval to which the current ambient temperature value belongs in the preset temperature-current association table; Determining a set of static current test values ​​in the temperature range according to the preset temperature-current association table; A current consumption estimation value is determined according to the current ambient temperature value, the static current test value set, the temperature range and the preset linear difference algorithm.

3. The method according to claim 2, characterized in that The determining of the current consumption estimation value according to the current ambient temperature value, the static current test value set, the temperature interval and the preset linear difference algorithm includes: Determine the left endpoint temperature and the right endpoint temperature of the temperature interval; Determine in the static current test value set a first static current test value corresponding to the left endpoint temperature and a second static current test value corresponding to the right endpoint temperature; A current consumption estimation value is determined according to the current ambient temperature value, the left endpoint temperature, the right endpoint temperature, the first quiescent current test value, the second quiescent current test value, and the preset linear difference algorithm.

4. The method according to claim 1, characterized in that: The determining the early wake-up time according to the historical vehicle use habit information, the current battery power and the current consumption estimate includes: Determine the maximum power consumption according to the current battery power and the preset power threshold; determining a maximum time according to the longest power consumption and the current consumption estimate; The advance wake-up time is determined according to the longest time and the historical vehicle usage habit information.

5. The method according to claim 4, characterized in that The determining of the early wake-up time according to the longest time and the historical vehicle use habit information includes: Determine the next time to use the vehicle based on the historical vehicle use habit information; Determine the interval length according to the next vehicle use time and the current time; If the interval duration is less than the maximum time, the immediate wake-up is used as the advance wake-up time; Otherwise, determine the preset advance time and the target time corresponding to the next vehicle use time, and use the target time as the advance wake-up time.

6. The method according to claim 1, characterized in that The controlling the suspend-to-memory mode of the system-on-chip according to the advance wake-up time and a preset timer includes: When the advance wake-up time is immediate wake-up, entering the sleep mode; When the early wake-up time is the target time, setting a preset timer according to the preset waiting time, and entering the sleep mode; When the preset waiting time is reached and the preset timer wakes up, the system-level chip is powered off, and the preset timer is set according to the target time to enter the sleep mode; When the target time is reached and the preset timer wakes up the system-on-chip, the system-on-chip is notified to enter the suspend-to-memory mode.

7. A vehicle mode control device, characterized in that: include: A mode notification module, used for waking up the system-on-chip and notifying the system-on-chip to enter the suspend-to-memory mode when a power-off condition is met; The information acquisition module is used to obtain the current ambient temperature value, historical vehicle usage information and the current battery power; An estimated value determination module, used to determine the current consumption estimated value according to the current ambient temperature value, a preset temperature-current association table and a preset linear difference algorithm; A time determination module, used for determining an advance wake-up time according to the historical vehicle use habit information, the current battery power and the current consumption estimate; A mode control module is used to control the suspend-to-memory mode of the system-on-chip according to the advance wake-up time and a preset timer.

8. A vehicle, characterized in that: The vehicle comprises: at least one controller; and A memory in communication with the at least one controller; wherein, The memory stores a computer program that can be executed by the at least one controller, and the computer program is executed by the at least one controller so that the at least one controller can execute the vehicle mode control method described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a controller to implement the vehicle-machine mode control method according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a controller, the vehicle machine mode control method according to any one of claims 1 to 6 is implemented.