Control method, device and equipment for on-vehicle application service based on low power consumption
By monitoring the voltage of small batteries in the vehicle in real time and sending a low-level signal to the SOC, the control application service switches to sleep mode, solving the problem of power failure caused by the small battery cut-off after the collision, and extending the vehicle's working time under low power consumption.
Patent Information
- Application Number
- CN202510585954.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-08
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2045-05-08
AI Technical Summary
The small battery is cut off after the vehicle crash, and the emergency small battery output capacity is insufficient, causing the vehicle to lose power within 100ms to 200ms, affecting normal driving.
The small battery and the system-level chip SOC are connected by hardwire to monitor the small battery voltage in real time. When the voltage is lower than the preset threshold, a low-level signal is sent to the SOC. The SOC synchronously sends low-power signals to the operating system through the board-level support package, and controls the application service to switch to sleep mode to reduce power consumption.
After the small battery is cut off, the vehicle power consumption is reduced by quickly switching the application service to sleep mode, extend the vehicle's working time at low power consumption, meet the output capability of the emergency small battery, and ensure the normal driving of the vehicle.
Smart Images

Figure CN120096498A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle power supply control, and in particular to a control method, device and equipment for low-power-consumption vehicle application services. Background Art
[0002] As the level of intelligence and computing power of cars increases, vehicles need small batteries to power them while driving, which bears the operating power consumption. If the vehicle collides and the small battery is cut off, the vehicle can be powered by an emergency small battery.
[0003] However, the load of the vehicle is large during operation, and the output capacity of the emergency small battery does not match the large load, causing the vehicle to completely lose power within 100ms to 200ms, affecting the normal driving of the vehicle. Therefore, it is necessary to control various application services on the vehicle under low power consumption, reduce the demand for power supply, and increase the working time of the vehicle under low power consumption. Summary of the invention
[0004] The object of the present invention is to provide a control method, device and equipment for low-power-consumption vehicle application services, so as to reduce the demand for power supply under low-power consumption conditions and increase the working time of the vehicle.
[0005] In a first aspect, the present invention provides a control method for application services on a vehicle based on low power consumption, the method being applied to a vehicle, the vehicle being equipped with a small battery and a system-on-chip SOC, the small battery being used to power the vehicle, the small battery and the SOC being connected via a hard line, and at least a first operating system and a second operating system being deployed in the vehicle; comprising:
[0006] If the current voltage value of the small battery is less than a preset voltage threshold, a low level signal is sent to the SOC on the vehicle through the hard line; wherein a board support package of a first operating system is deployed in the SOC;
[0007] According to the low-level signal, a low-power consumption signal is sent to the first operating system and the second operating system respectively through the board support package of the first operating system; wherein the low-power consumption signal indicates that the vehicle is currently in a low-level state, and the low-power consumption signal is used to indicate a mode switch for an application service on the vehicle;
[0008] Through the first operating system, the first application service on the vehicle is controlled to switch to a preset sleep mode, and through the second operating system, the second application service on the vehicle is controlled to switch to a preset sleep mode; wherein the sleep mode is used to prohibit the application service from starting automatically.
[0009] In a second aspect, the present invention provides a control device for low-power vehicle application services, the device is applied to a vehicle, the vehicle is equipped with a small battery and a system-on-chip SOC, the small battery is used to power the vehicle, the small battery and the SOC are connected by a hard line, and at least a first operating system and a second operating system are deployed in the vehicle; comprising:
[0010] A voltage detection unit, configured to send a low level signal to the SOC on the vehicle through the hard line if the current voltage value of the small battery is less than a preset voltage threshold; wherein the SOC is deployed with a board support package of a first operating system;
[0011] A signal synchronization unit, configured to send a low power consumption signal to the first operating system and the second operating system respectively through a board support package of the first operating system according to the low level signal; wherein the low power consumption signal indicates that the vehicle is currently in a low level state, and the low power consumption signal is used to indicate a mode switch for an application service on the vehicle;
[0012] A service control unit, used to control the first application service on the vehicle to switch to a preset sleep mode through the first operating system, and to control the second application service on the vehicle to switch to a preset sleep mode through the second operating system; wherein the sleep mode is used to prohibit the application service from starting automatically.
[0013] In a third aspect, the present invention provides a vehicle, which is equipped with a small battery and a SOC, wherein the small battery is used to power the vehicle, and signals are transmitted between the small battery and the SOC via a hard line; the vehicle is used to implement the method described in the first aspect.
[0014] In a fourth aspect, the present invention provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0015] The memory stores computer-executable instructions;
[0016] The processor executes the computer-executable instructions stored in the memory to implement the method according to the first aspect.
[0017] In a fifth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the first aspect.
[0018] In a sixth aspect, the present invention provides a computer program product, comprising a computer program, which implements the method described in the first aspect when executed by a processor.
[0019] The present invention provides a control method, device and equipment for application services on vehicles based on low power consumption, which can monitor the voltage of a small battery in a vehicle in real time and determine whether the small battery is in a low-level state. If the current voltage value of the small battery is less than the preset voltage threshold, it means that it is currently in a low-level state, and a low-level signal can be sent to one end of the SOC on the vehicle through a hard line. A board support package of a first operating system is deployed on the SOC end. After receiving the low-level signal, the SOC end can send a low-power signal to the first operating system and the second operating system synchronously through the board support package of the first operating system, thereby informing the two operating systems that the application service needs to be controlled at present to meet the power supply requirements of the vehicle. Through the first operating system, the first application service on the vehicle can be switched to a sleep mode, and through the second operating system, the second application service on the vehicle can be switched to a preset sleep mode, and the first application service and the second application service are prohibited from starting automatically. By synchronously controlling multiple systems, the power consumption of each system can be reduced in a very short time, the delay of the application service control can be reduced, the output capacity of the emergency small battery can be met, and the normal driving time of the vehicle can be increased. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0021] Figure 1 A flow chart of a control method for a low-power-consumption vehicle application service provided by an embodiment of the present invention;
[0022] Figure 2 A flow chart of a control method for a low-power-consumption vehicle application service provided by an embodiment of the present invention;
[0023] Figure 3 A flow chart of a control method for a low-power-consumption vehicle application service provided by an embodiment of the present invention;
[0024] Figure 4 A schematic diagram of a vehicle control process at a low level provided by an embodiment of the present invention;
[0025] Figure 5 A structural block diagram of a control device for low-power-consumption vehicle application services provided by an embodiment of the present invention;
[0026] Figure 6 A structural block diagram of a control device for low-power-consumption vehicle application services provided by an embodiment of the present invention;
[0027] Figure 7 A structural block diagram of an electronic device provided by an embodiment of the present invention;
[0028] Figure 8 A structural block diagram of an electronic device provided by an embodiment of the present invention.
[0029] The above drawings have shown clear embodiments of the present invention, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present invention in any way, but to illustrate the concept of the present invention for those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0030] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0031] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0032] In the description of the present invention, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. In addition, in the description of the present invention, unless otherwise specified, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0033] It should be noted that due to space limitations, this specification does not exhaustively list all optional implementations. After reading this specification, those skilled in the art should be able to think that as long as the technical features do not contradict each other, any combination of technical features can constitute an optional implementation. The following is a detailed description of each embodiment.
[0034] In the field of electric vehicles, the development trend is that the size of the instrument screen, central control screen and co-pilot screen is getting bigger and bigger, and high-configuration models must also support functions such as AR-HUD (Augmented Reality-Head Up Display). The intelligence level of the cockpit is also getting higher and higher, and the number of functions installed is increasing, which also places very high performance requirements on the vehicle. With the rapid development of cockpit processing chips, one machine with multiple screens has become a reality. However, in order to improve the user experience, the chip computing power has to be increased to meet the performance requirements.
[0035] The increase in computing power will inevitably lead to more power consumption. According to the relevant regulations of the electric vehicle industry, if the small battery of an electric vehicle is cut off, an emergency small battery is required to power the vehicle so that the vehicle can continue to work for a full 10 minutes. However, it is difficult for the emergency small battery to meet the larger power consumption requirements. When the vehicle collides and the small battery is cut off, the output capacity of the emergency small battery does not match the system load due to the large load during operation. As a result, when the system switches to the emergency small battery for power supply, the system completely loses power within 100ms to 200ms, thus failing to meet the relevant regulations. Therefore, it is necessary to control various application services on the vehicle when the small battery is cut off to increase the working time of the vehicle under low power consumption.
[0036] The present invention provides a control method, device and equipment for low-power-consumption vehicle application services, aiming to solve the above technical problems in the prior art.
[0037] The technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.
[0038] Figure 1 The present invention is a flowchart of a method for controlling a low-power vehicle application service provided by an embodiment of the present invention. The method can be executed by a control device for a low-power vehicle application service. The method is applied to a vehicle, which is equipped with a small battery and a SOC. The small battery is used to power the vehicle. The small battery and the SOC are connected by a hard line. At least a first operating system and a second operating system are deployed in the vehicle. Figure 1 As shown, the method comprises the following steps:
[0039] S101. If the current voltage value of the small battery is less than a preset voltage threshold, a low-level signal is sent to the SOC on the vehicle through a hard line; wherein a board support package of a first operating system is deployed in the SOC.
[0040] Exemplarily, a small battery can be installed on the vehicle of an electric vehicle, and the small battery can be used as a vehicle battery to power the vehicle, so that the vehicle can provide various application services to users. For example, it can power devices such as cameras and smart seats on the vehicle, and it can also power system functions such as driver monitoring systems and passenger monitoring systems. There may be problems with the small battery on the vehicle, resulting in the power supply being cut off. For example, a collision of the vehicle may cut off the small battery. An emergency small battery can also be installed on the vehicle. If it is detected that the small battery is cut off or the voltage is continuously low, the emergency small battery can be used for power supply. In order for the vehicle to continue to work for a full 10 minutes when the external power supply is cut off, it is necessary to put the vehicle in a low-power state, that is, control some external devices and application services to be turned off to reduce unnecessary power consumption. In this embodiment, the external devices of the vehicle can be referred to as peripherals.
[0041] The vehicle can be installed with a SOC (System on Chip). In order to reduce costs, it can be a single SOC. The SOC and the small battery can be connected by a hard wire so that the voltage signal of the small battery can be sensed. Hardware for voltage detection can also be connected between the SOC and the small battery. The hardware can continuously monitor the voltage of the small battery. If the voltage of the small battery is lower than the preset voltage threshold, a low-level signal can be output to the SOC. For example, the preset voltage threshold is 6V. When the voltage of the small battery is as low as 6V, a low-level signal is sent to one end of the SOC on the vehicle.
[0042] Multiple operating systems can be deployed on the vehicle. For example, dual systems are deployed on the vehicle, namely, Linux system and Android system. The Linux system can be deployed on the instrument side, and the Android system can be deployed on the central control side. In this embodiment, the first operating system can be the Android system, and the second operating system can be the Linux system. The board support package of the first operating system can be deployed in the SOC end, that is, the SOC can include Android BSP (Board Support Package). Sending a low-level signal to the SOC end is to send a low-level signal to the Android BSP.
[0043] S102. According to the low-level signal, a low-power consumption signal is sent to the first operating system and the second operating system respectively through the board support package of the first operating system; wherein the low-power consumption signal indicates that the vehicle is currently in a low-level state, and the low-power consumption signal is used to indicate a mode switch for an application service on the vehicle.
[0044] For example, after receiving a low-level signal, the Android BSP can send a low-power signal to the Android system and the Linux system respectively, that is, inform the two operating systems that the vehicle needs to be in a low-power state, so that the BSP can uniformly control the dual systems.
[0045] The low power consumption signal can be a preset signal, indicating that the vehicle's small battery is currently at a low level. As long as AndroidBSP receives the low level signal, the preset low power consumption signal can be sent to the dual systems synchronously. The low power consumption signal can also be generated based on the low level signal. For example, the low power consumption signal can include the current voltage value of the small battery. The low power consumption signal containing the voltage value is then sent to the dual systems synchronously.
[0046] The low power consumption signal is used to instruct the operating system to switch the mode of the application service on the vehicle so that the application service on the vehicle is in a low power consumption state. For example, after receiving the low power consumption signal, the operating system can shut down some peripherals on the vehicle, and different operating systems can shut down different peripherals.
[0047] S103. Controlling a first application service on the vehicle to switch to a preset sleep mode through a first operating system, and controlling a second application service on the vehicle to switch to a preset sleep mode through a second operating system; wherein the sleep mode is used to prohibit the application service from self-starting.
[0048] Exemplarily, different operating systems can control different application services, and the application services that can be controlled by the first operating system are pre-set as the first application services, and the application services that can be controlled by the second operating system are pre-set as the second application services. For example, the first application service is a service related to the automatic driving function in the central control side, and the second application service is a service related to the instrument display function in the instrument side.
[0049] A sleep mode for the application service is preset, and the sleep mode means that the application service does not work and the application service is prohibited from starting automatically. After receiving the low power consumption signal, the first operating system can switch the first application service to the sleep mode, that is, prohibit the first application service from starting automatically. At the same time, after receiving the low power consumption signal, the second operating system can switch the second application service to the sleep mode, that is, prohibit the second application service from starting automatically.
[0050] In this embodiment, the dual systems are uniformly controlled by BSP, and the dual systems simultaneously perform optimization of internal application services, so that when the vehicle's small battery is abnormally cut off, the overall power consumption of the dual systems is reduced in a very short time, and the delay time is less than 100ms, meeting the output capacity of the emergency small battery.
[0051] The embodiment of the present invention provides a control method for application services on a vehicle based on low power consumption, which can monitor the voltage of a small battery in a vehicle in real time and determine whether the small battery is in a low-level state. If the current voltage value of the small battery is less than the preset voltage threshold, it means that it is currently in a low-level state, and a low-level signal can be sent to the SOC end on the vehicle through a hard line. The SOC end is deployed with a board support package of a first operating system. After receiving the low-level signal, the SOC end can synchronously send a low-power signal to the first operating system and the second operating system through the board support package of the first operating system, thereby informing the two operating systems that the application service needs to be controlled at present to meet the power supply requirements of the vehicle. Through the first operating system, the first application service on the vehicle can be switched to a sleep mode, and through the second operating system, the second application service on the vehicle can be switched to a preset sleep mode, and the first application service and the second application service are prohibited from starting automatically. By synchronously controlling multiple systems, the power consumption of each system can be reduced in a very short time, the delay of controlling the application service can be reduced, the output capacity of the emergency small battery can be met, and the normal driving time of the vehicle can be increased.
[0052] Figure 2 A flow chart of a control method for a low-power-consumption vehicle application service provided in an embodiment of the present invention is provided. This embodiment is an optional embodiment based on the above-mentioned embodiment.
[0053] In this embodiment, corresponding power management modules are deployed in the first operating system and the second operating system, and the power management modules are used to adjust the power consumption of application services; according to the low-level signal, the low-power consumption signal is sent to the first operating system and the second operating system respectively through the board support package of the first operating system, including: generating a low-power consumption signal according to the low-level signal; wherein the low-level signal is a hard signal and the low-power consumption signal is a soft signal; and inputting the low-power consumption signal into the power management module in the first operating system and the power management module in the second operating system through the board support package of the first operating system.
[0054] like Figure 2 As shown, the method comprises the following steps:
[0055] S201. If the current voltage value of the small battery is less than a preset voltage threshold, a low-level signal is sent to the SOC on the vehicle through a hard line; wherein a board support package of a first operating system is deployed in the SOC.
[0056] Exemplarily, this step may refer to the above-mentioned step S101 and will not be described in detail.
[0057] S202 . Generate a low power consumption signal according to the low level signal; wherein the low level signal is a hard signal and the low power consumption signal is a soft signal.
[0058] Exemplarily, the low-level signal is a signal transmitted through a hard line and belongs to a hard signal, while the low-power signal belongs to a soft signal. That is, after obtaining the hard signal, the Android BSP can convert the hard signal into a soft signal and send the soft signal to the two operating systems.
[0059] A mapping rule from hard signal to soft signal can be pre-set in Android BSP to map low-level signal to low-power signal. In this embodiment, the preset mapping rule is not specifically limited. For example, if the low-level signal contains the voltage value of a small battery, the specific voltage value can be converted into binary form, and the binary data is used as a low-power signal.
[0060] S203: Input the low power consumption signal to the power management module in the first operating system and the power management module in the second operating system through the board support package of the first operating system.
[0061] Exemplarily, corresponding power management modules are deployed in both the first operating system and the second operating system. For example, the power management module in the Android system is called Native Core Power, and the power management module in the Linux system is called Power Manager. The Android BSP can send soft signals to different operating systems, that is, the low power consumption signal can be input to the Native Core Power of the Android system and the Power Manager of the Linux system.
[0062] In this embodiment, a low power consumption signal is input into a power management module in a second operating system through a board support package of a first operating system, including: inputting the low power consumption signal into a preset virtualization software layer through a board support package of the first operating system to obtain a virtualization signal corresponding to the low power consumption signal; wherein the preset virtualization software layer is used to convert the low power consumption signal into a signal format adapted to the second operating system; and inputting the virtualization signal into a power management module in the second operating system.
[0063] Specifically, BSP and Native Core Power belong to the same Android system, that is, the first operating system, and the low power consumption signal of BSP can be directly read by Native Core Power, that is, Android BSP can directly send the low power consumption signal to the power management module of the first operating system.
[0064] For the second operating system, it belongs to two operating systems with BSP. Therefore, BSP is required to map the low-level signal into two different types of soft signals. One is a low-power signal, which is directly sent to the first operating system, and the other requires format conversion of the low-power signal and sends the converted low-power signal to the second operating system.
[0065] A virtualization software layer is pre-set, for example, the virtualization software layer can use TTI Hypervisor. TTI Hypervisor is a virtualization technology, which is usually used in embedded systems and focuses on safety and real-time applications in the automotive industry. TTI Hypervisor allows multiple operating system instances or applications to run on the same hardware platform while ensuring isolation and security between them. After obtaining the low-level signal, Android BSP first converts the low-level signal into a soft signal, that is, a low-power signal that can be read by the Android system, and then converts the format of the low-power signal through the virtualization software layer to obtain a virtualized signal after conversion. That is, the virtualization signal and the low-power signal are two types of soft signals, both of which can indicate mode switching for application services on the vehicle. The virtualization signal is adapted to the Linux system and can be read by the power management module of the Linux system. In this embodiment, the virtualization process is not specifically limited.
[0066] The beneficial effect of this arrangement is that the initial soft signal, that is, the low-power signal, is format-converted so that the soft signal can be read by the Linux system, thereby enabling the dual systems to synchronously control application services and improving the feasibility and efficiency of application service control.
[0067] S204. Controlling a first application service on the vehicle to switch to a preset sleep mode through a first operating system, and controlling a second application service on the vehicle to switch to a preset sleep mode through a second operating system; wherein the sleep mode is used to prohibit the application service from self-starting.
[0068] Exemplarily, this step may refer to the above-mentioned step S103 and will not be described in detail.
[0069] The embodiment of the present invention provides a control method for application services on a vehicle based on low power consumption, which can monitor the voltage of a small battery in a vehicle in real time and determine whether the small battery is in a low-level state. If the current voltage value of the small battery is less than the preset voltage threshold, it means that it is currently in a low-level state, and a low-level signal can be sent to the SOC end on the vehicle through a hard line. The SOC end is deployed with a board support package of a first operating system. After receiving the low-level signal, the SOC end can synchronously send a low-power signal to the first operating system and the second operating system through the board support package of the first operating system, thereby informing the two operating systems that the application service needs to be controlled at present to meet the power supply requirements of the vehicle. Through the first operating system, the first application service on the vehicle can be switched to a sleep mode, and through the second operating system, the second application service on the vehicle can be switched to a preset sleep mode, and the first application service and the second application service are prohibited from starting automatically. By synchronously controlling multiple systems, the power consumption of each system can be reduced in a very short time, the delay of controlling the application service can be reduced, the output capacity of the emergency small battery can be met, and the normal driving time of the vehicle can be increased.
[0070] Figure 3 A flow chart of a control method for a low-power-consumption vehicle application service provided in an embodiment of the present invention is provided. This embodiment is an optional embodiment based on the above-mentioned embodiment.
[0071] In this embodiment, the first application service includes at least one of a driver monitoring service, a passenger monitoring service, and a panoramic service; through the first operating system, the first application service on the vehicle is controlled to switch to a preset shutdown mode, including: through the first operating system, a shutdown operation is performed on the first application service on the vehicle, and the first application service on the vehicle is switched to a preset sleep mode.
[0072] The second application service includes a head-up display service; through the second operating system, the second application service on the vehicle is controlled to switch to a preset sleep mode, including: through the second operating system, the second application service on the vehicle is shut down and the second application service on the vehicle is switched to a preset sleep mode.
[0073] like Figure 3 As shown, the method comprises the following steps:
[0074] S301. If the current voltage value of the small battery is less than a preset voltage threshold, a low-level signal is sent to the SOC on the vehicle through a hard line; wherein a board support package of a first operating system is deployed in the SOC.
[0075] Exemplarily, this step may refer to the above-mentioned step S101 and will not be described in detail.
[0076] S302. According to the low-level signal, a low-power consumption signal is sent to the first operating system and the second operating system respectively through the board support package of the first operating system; wherein the low-power consumption signal indicates that the vehicle is currently in a low-level state, and the low-power consumption signal is used to indicate a mode switch for an application service on the vehicle.
[0077] Exemplarily, this step may refer to the above-mentioned step S102 and will not be described in detail.
[0078] S303: Using the first operating system, shut down the first application service on the vehicle, and switch the first application service on the vehicle to a preset sleep mode.
[0079] For example, the first application service corresponding to the Android system may include services such as DMS (Driver Monitor System), OMS (Occupancy Monitoring System), IMS (In-cabin monitoring System), and EVS (Enhanced Vision System). The Android system may control the above application services to switch to sleep mode, thereby prohibiting the above application services from self-starting in the low-power state of the vehicle.
[0080] Before switching the first application service to sleep mode, you can first determine whether the first application service is in a running state. If not, you can directly switch to sleep mode. If it is in a running state, you can forcibly stop the first application service, that is, perform a shutdown operation on the first application service, and then switch the first application service to sleep mode. For example, you can actively and forcibly stop services such as DMS, IMS, and EVS and prohibit them from starting automatically. You can use NativeCore Power in the Android system to perform operations such as shutting down and switching modes on the first application service.
[0081] In this embodiment, the method further includes: stopping the user state of the first operating system through the first operating system.
[0082] Specifically, after receiving the low power consumption signal, the first operating system can also execute the operation of stopping the user state. The user state is one of the modes used to run application programs in a computer operating system, which is opposite to the kernel state, which is the mode in which the kernel of the operating system runs. The division between the user state and the kernel state is an important protection mechanism in modern operating systems, which aims to improve the stability and security of the system.
[0083] The first operating system is the Android system, which means that the Android user state can be stopped. On the Android side, the low-power signal can be sent to the Power Manager Service of the JavaFramework layer through the Native Core Power of the Native Framework layer, and the PowerManager Service of the Java Framework layer will stop the Android user state. Native Framework and Java Framework belong to the architecture of the Android system, and Native Core Power and Power Manager Service are both open source modules in the Android system.
[0084] The beneficial effect of this setting is that it forces the Android user state to stop, further reducing the load. User state applications are changed from exiting autonomously to being uniformly controlled by the power management service in the Android system. A delay time of 80 to 90 ms can reduce the power consumption of the Android system and increase the vehicle's operating time under low power consumption.
[0085] S304: Using the second operating system, shut down the second application service on the vehicle, and switch the second application service on the vehicle to a preset sleep mode.
[0086] For example, the second application system corresponding to the Linux system may include services such as HUD (Head Up Display) etc. The Linux system may control the above application services to switch to a sleep mode, thereby prohibiting the above application services from self-starting in a low-power state of the vehicle.
[0087] Before switching the second application service to the sleep mode, it is possible to first determine whether the second application service is in the running state. If not, it can be directly switched to the sleep mode; if it is in the running state, the second application service can be forcibly stopped, that is, the second application service is shut down, and then the second application service is switched to the sleep mode. For example, services such as HUD can be actively and forcibly stopped and their self-start can be prohibited. The second application service can be shut down and mode switched through the Power Manager in the Linux system.
[0088] In this embodiment, the method also includes: setting a timer of a preset time length through a second operating system, and monitoring the current timing length of the timer; if the current timing length reaches the preset time length, adjusting the operating frequency of a preset component in the vehicle; wherein the preset component includes at least one of CPU, GPU, and DDR.
[0089] Specifically, after receiving the virtualization signal, the Power Manager in the Linux system can also start the SOC main frequency control service, which is used to control the working frequency of the preset components. The SOC main frequency control service refers to setting a timer. When the timer reaches a certain time, the working frequency of the preset component can be adjusted. The preset components may include CPU (Central Processing Unit), GPU (Graphics Processing Unit), DDR (Double Data Rate Synchronous Dynamic Random Access Memory), etc., that is, the working frequency of the CPU, GPU, DDR, etc. can be adjusted.
[0090] Set the time length of the timer, for example, the preset time length is 200ms. Monitor the current timing length of the timer in real time, that is, the timer records how long the current timing has been. If the current timing length reaches the preset time length, for example, the timer records that 200ms has timed out, the operating frequency of the preset components in the vehicle can be adjusted. For example, the operating frequency of the CPU, DDR, and GPU can be reduced to the preset minimum gear.
[0091] The beneficial effect of such a setting is that by reducing the operating frequency of the CPU, DDR, and GPU to the lowest gear, power consumption can be further reduced. By setting a timer, the operating frequency of the preset component can be adjusted after the peripherals and application services are stopped, avoiding directly reducing the operating frequency of the preset component to cause the peripherals and application services to freeze or other failures, and ensuring that the vehicle can reduce power consumption after a preset time length, thereby improving the effectiveness of controlling the peripherals and application services on the vehicle.
[0092] In this embodiment, the execution order of S303 and S304 is not specifically limited.
[0093] In this embodiment, the method further includes: controlling a first external device preset on the vehicle to perform a shutdown operation through a board support package of the first operating system.
[0094] Specifically, after receiving the low-level signal, Android BSP can control multiple peripherals on the vehicle, and use the peripherals that can be controlled by Android BSP as the first external device. The first external devices are preset, for example, the first external device may include USB charging enable, camera power enable, panoramic camera, etc. The first external device may include hardware peripherals on the Android system side, and may also include hardware peripherals on the Linux system side.
[0095] The hardware peripherals on both sides of the dual systems are uniformly controlled through Android BSP to perform a forced shutdown, that is, the first external device on the vehicle is controlled to perform a shutdown operation at the same time.
[0096] The beneficial effect of this setting is that the hardware peripherals on both sides of the dual systems are uniformly controlled, the delay of peripheral control is reduced to less than 100ms, and the control efficiency of the vehicle is improved.
[0097] In this embodiment, the vehicle is equipped with a microcontroller unit MCU; the method also includes: if the current voltage value of the small battery is less than a preset voltage threshold, a low-level signal is sent to the MCU on the vehicle; if the MCU responds to the low-level signal, a second external device preset on the vehicle is controlled to perform a shutdown operation.
[0098] Specifically, the vehicle can be equipped with an MCU (MicroControl Unit), and the MCU and the small battery can be connected by a hard line. Voltage detection hardware can also be connected between the MCU and the small battery. If the voltage of the small battery is detected to be lower than the preset voltage threshold, a low-level signal can be output to the SOC and MCU at the same time. For example, after a collision, the voltage of the small battery on the vehicle drops to 6V, and the hardware detects a low level and outputs a low-level signal to the SOC and MCU.
[0099] The MCU can control multiple peripherals on the vehicle, and use the peripherals that the MCU can control as the second external device. The second external devices are preset, for example, the second external devices may include the main amplifier STB (Set-Top Box), the auxiliary amplifier STB, etc. After the MCU detects the input of a hard signal, that is, a low-level signal, it executes the operation of shutting down the second external device.
[0100] The beneficial effect of this setting is that the MCU and SOC can control the vehicle synchronously, and the MCU controls the second peripheral to shut down. At the same time, the SOC controls the first peripheral to shut down, and maps the hard signal into a soft signal and sends it to the dual system. This effectively reduces the delay in vehicle control and increases the vehicle's operating time under low power consumption.
[0101] Figure 4 The figure is a schematic diagram of the vehicle control process under low level. When the small battery is detected to be at low level, the low level signal can be sent to the MCU and SOC synchronously, that is, to the MCU and Android BSP. The MCU controls the second external device to shut down, and the Android BSP controls the first external device to shut down. The Android BSP can also convert the low level signal into a low power signal, send it to the Native Core Power of the Android system, and virtualize the low power signal to obtain a virtualized signal, and send the virtualized signal to the Power Manager of the Linux system. Among them, the Native Core Power of the Android system is the power management module of the Android system, and the Power Manager of the Linux system is the power management module in the Linux system. The Native Core Power of the Android system stops the Android user state through the power management service (Power Manager Service), and the Native Core Power of the Android system can also stop the first application service and prohibit it from starting up automatically. The Power Manager of the Linux system stops the second application service and prohibits it from starting up automatically, and sets a timer to reduce the working frequency of the preset component to the lowest gear.
[0102] The embodiment of the present invention provides a control method for application services on a vehicle based on low power consumption, which can monitor the voltage of a small battery in a vehicle in real time and determine whether the small battery is in a low-level state. If the current voltage value of the small battery is less than the preset voltage threshold, it means that it is currently in a low-level state, and a low-level signal can be sent to the SOC end on the vehicle through a hard line. The SOC end is deployed with a board support package of a first operating system. After receiving the low-level signal, the SOC end can synchronously send a low-power signal to the first operating system and the second operating system through the board support package of the first operating system, thereby informing the two operating systems that the application service needs to be controlled at present to meet the power supply requirements of the vehicle. Through the first operating system, the first application service on the vehicle can be switched to a sleep mode, and through the second operating system, the second application service on the vehicle can be switched to a preset sleep mode, and the first application service and the second application service are prohibited from starting automatically. By synchronously controlling multiple systems, the power consumption of each system can be reduced in a very short time, the delay of controlling the application service can be reduced, the output capacity of the emergency small battery can be met, and the normal driving time of the vehicle can be increased.
[0103] Figure 5The structural block diagram of a control device for low-power vehicle application services provided by an embodiment of the present invention. For ease of explanation, only the parts related to the embodiment of the present invention are shown. The device is applied to a vehicle, which is equipped with a small battery and a system-on-chip SOC. The small battery is used to power the vehicle. The small battery and the SOC are connected by a hard line. At least a first operating system and a second operating system are deployed in the vehicle. Figure 5 The control device 500 for low-power-consumption vehicle application services includes: a voltage detection unit 501 , a signal synchronization unit 502 and a service control unit 503 .
[0104] A voltage detection unit 501, configured to send a low level signal to the SOC on the vehicle through the hard line if the current voltage value of the small battery is less than a preset voltage threshold; wherein the SOC is deployed with a board support package of a first operating system;
[0105] A signal synchronization unit 502 is used to send a low power consumption signal to the first operating system and the second operating system respectively through the board support package of the first operating system according to the low level signal; wherein the low power consumption signal indicates that the vehicle is currently in a low level state, and the low power consumption signal is used to indicate a mode switch for an application service on the vehicle;
[0106] The service control unit 503 is used to control the first application service on the vehicle to switch to a preset sleep mode through the first operating system, and to control the second application service on the vehicle to switch to a preset sleep mode through the second operating system; wherein the sleep mode is used to prohibit the application service from starting automatically.
[0107] Figure 6 A structural block diagram of a control device for low-power vehicle application services provided by an embodiment of the present invention, such as Figure 6 As shown, the control device 600 for low-power application services on a vehicle includes a voltage detection unit 601, a signal synchronization unit 602 and a service control unit 603, wherein corresponding power management modules are deployed in the first operating system and the second operating system, and the power management module is used to adjust the power consumption of the application service. The signal synchronization unit 602 includes a signal generation module 6021 and a signal input module 6022.
[0108] The signal generating module 6021 is used to generate the low power consumption signal according to the low level signal; wherein the low level signal is a hard signal and the low power consumption signal is a soft signal;
[0109] The signal input module 6022 is used to input the low power consumption signal to the power management module in the first operating system and the power management module in the second operating system through the board support package of the first operating system.
[0110] In one example, the signal input module 6022 is specifically used for:
[0111] The low-power signal is input into a preset virtualization software layer through the board support package of the first operating system to obtain a virtualization signal corresponding to the low-power signal; wherein the preset virtualization software layer is used to convert the low-power signal into a signal format adapted by the second operating system;
[0112] The virtualization signal is input into a power management module in the second operating system.
[0113] In one example, the first application service includes at least one of a driver monitoring service, a passenger monitoring service, and a panoramic service; the service control unit 603 includes:
[0114] The first control module is used to execute a closing operation on the first application service on the vehicle through the first operating system, and switch the first application service on the vehicle to a preset sleep mode.
[0115] In one example, it also includes:
[0116] The user mode stopping unit is used to stop the user mode of the first operating system through the first operating system.
[0117] In one example, the second application service includes a head-up display service; the service control unit 603 includes:
[0118] The second control module is used to execute a closing operation on the second application service on the vehicle through the second operating system, and switch the second application service on the vehicle to a preset sleep mode.
[0119] In one example, it also includes:
[0120] A timing unit, used to set a timer of a preset time length through the second operating system, and monitor the current timing length of the timer;
[0121] A frequency adjustment unit is used to adjust the operating frequency of a preset component in the vehicle if the current timing length reaches the preset time length; wherein the preset component includes at least one of a central processing unit CPU, a graphics processing unit GPU, and a double data rate memory DDR.
[0122] In one example, it also includes:
[0123] The first shutdown unit is used to control a first external device preset on the vehicle to perform a shutdown operation through a board support package of the first operating system.
[0124] In one example, a microcontroller unit MCU is configured on a vehicle; the device also includes:
[0125] A voltage sending unit, configured to send a low level signal to the MCU on the vehicle if the current voltage value of the small battery is less than a preset voltage threshold;
[0126] The second shut-down unit is used to control a second external device preset on the vehicle to perform a shut-down operation if the MCU responds to the low-level signal.
[0127] The embodiment of the present application provides a vehicle, which is equipped with a small battery and a SOC, the small battery is used to power the vehicle, and signals are transmitted between the small battery and the SOC via a hard line. The vehicle can be used to implement the method provided in the above embodiment.
[0128] Figure 7 A structural block diagram of an electronic device provided in an embodiment of the present application, such as Figure 7 As shown, the electronic device includes: a memory 71 and a processor 72; the memory 71 is a memory for storing instructions executable by the processor 72.
[0129] The processor 72 is configured to execute the method provided in the above embodiment.
[0130] The electronic device further includes a receiver 73 and a transmitter 74. The receiver 73 is used to receive instructions and data sent by other devices, and the transmitter 74 is used to send instructions and data to external devices.
[0131] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment, which may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver, a game console, a tablet device, a personal digital assistant, or the like.
[0132] The apparatus 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0133] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0134] The apparatus 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0135] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0136] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0137] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0138] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0139] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0140] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0141] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0142] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0143] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0144] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the above-mentioned control method for vehicle application services based on low power consumption.
[0145] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0146] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present invention is within the protection scope of the present invention.
Claims
1. A control method for application services on a vehicle based on low power consumption, characterized in that: The method is applied to a vehicle, wherein the vehicle is equipped with a small battery and a system-on-chip (SOC), wherein the small battery is used to power the vehicle, wherein the small battery and the SOC are connected via a hard line, and wherein at least a first operating system and a second operating system are deployed in the vehicle; the method comprises: If the current voltage value of the small battery is less than a preset voltage threshold, a low level signal is sent to the SOC on the vehicle through the hard line; wherein a board support package of a first operating system is deployed in the SOC; According to the low-level signal, a low-power consumption signal is sent to the first operating system and the second operating system respectively through the board support package of the first operating system, and a first external device preset on the vehicle is controlled to perform a shutdown operation; wherein the low-power consumption signal indicates that the vehicle is currently in a low-level state, and the low-power consumption signal is used to indicate a mode switch for an application service on the vehicle; the low-level signal is a hard signal, and the low-power consumption signal is a soft signal; the preset first external device includes a hardware peripheral on the first operating system side and a hardware peripheral on the second operating system side; Through the first operating system, the first application service on the vehicle is controlled to switch to a preset sleep mode, and through the second operating system, the second application service on the vehicle is controlled to switch to a preset sleep mode; wherein the sleep mode is used to prohibit the application service from starting automatically.
2. The method according to claim 1, characterized in that A corresponding power management module is deployed in both the first operating system and the second operating system, and the power management module is used to adjust the power consumption of the application service; According to the low level signal, sending a low power consumption signal to the first operating system and the second operating system respectively through a board support package of the first operating system includes: generating the low power consumption signal according to the low level signal; The low power consumption signal is input into a power management module in the first operating system and a power management module in the second operating system through a board support package of the first operating system.
3. The method according to claim 2, characterized in that Inputting the low power consumption signal to a power management module in the second operating system through a board support package of the first operating system includes: The low-power signal is input into a preset virtualization software layer through the board support package of the first operating system to obtain a virtualization signal corresponding to the low-power signal; wherein the preset virtualization software layer is used to convert the low-power signal into a signal format adapted by the second operating system; The virtualization signal is input into a power management module in the second operating system.
4. The method according to claim 1, characterized in that The first application service includes at least one of a driver monitoring service, a passenger monitoring service, and a panoramic service; and controlling the first application service on the vehicle to switch to a preset sleep mode through the first operating system includes: Through the first operating system, a closing operation is performed on the first application service on the vehicle, and the first application service on the vehicle is switched to a preset sleep mode.
5. The method according to claim 1, characterized in that Also includes: By using the first operating system, the user state of the first operating system is stopped.
6. The method according to claim 1, characterized in that The second application service includes a head-up display service; and controlling the second application service on the vehicle to switch to a preset sleep mode through the second operating system includes: Through the second operating system, a closing operation is performed on the second application service on the vehicle, and the second application service on the vehicle is switched to a preset sleep mode.
7. The method according to claim 1, characterized in that Also includes: Setting a timer of a preset time length through the second operating system, and monitoring the current timing length of the timer; If the current timing length reaches the preset time length, the operating frequency of a preset component in the vehicle is adjusted; wherein the preset component includes at least one of a central processing unit CPU, a graphics processing unit GPU, and a double data rate memory DDR.
8. The method according to any one of claims 1 to 7, characterized in that The vehicle is equipped with a microcontroller unit MCU; the method further comprises: If the current voltage value of the small battery is less than the preset voltage threshold, a low level signal is sent to the MCU on the vehicle; If the MCU responds to the low level signal, it controls a second external device preset on the vehicle to perform a shutdown operation.
9. A control device for application services on a vehicle based on low power consumption, characterized in that: The device is applied to a vehicle, the vehicle is equipped with a small battery and a system-on-chip (SOC), the small battery is used to power the vehicle, the small battery and the SOC are connected via a hard line, and at least a first operating system and a second operating system are deployed in the vehicle; the device comprises: A voltage detection unit, configured to send a low level signal to the SOC on the vehicle through the hard line if the current voltage value of the small battery is less than a preset voltage threshold; wherein the SOC is deployed with a board support package of a first operating system; A signal synchronization unit, configured to send a low power consumption signal to the first operating system and the second operating system respectively through the board support package of the first operating system according to the low level signal, and control a first external device preset on the vehicle to perform a shutdown operation; wherein the low power consumption signal indicates that the vehicle is currently in a low level state, and the low power consumption signal is used to indicate a mode switch for an application service on the vehicle; the low level signal is a hard signal, and the low power consumption signal is a soft signal; the preset first external device includes a hardware peripheral on the first operating system side and a hardware peripheral on the second operating system side; A service control unit, used to control the first application service on the vehicle to switch to a preset sleep mode through the first operating system, and to control the second application service on the vehicle to switch to a preset sleep mode through the second operating system; wherein the sleep mode is used to prohibit the application service from starting automatically.
10. A vehicle, characterized in that: The vehicle is equipped with a small battery and a SOC, the small battery is used to power the vehicle, and signals are transmitted between the small battery and the SOC via a hard line; the vehicle is used to implement the method described in any one of claims 1-8.
11. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 8 when executed by a processor.
13. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 8 when being executed by a processor.
Citation Information
Patent Citations
Multifunctional intelligent vehicle networking terminal and method for implementing same
CN102710762A
Vehicle-mounted terminal awakening method, vehicle-mounted terminal and vehicle
CN105373713A
One-machine and multi-screen type intelligent cockpit system
CN106814666A
Vehicle state regulation and control method, device and equipment and readable storage medium
CN115009202A
Current monitoring method and device, power distribution controller and vehicle
CN118330295A