Control Method, Device and Equipment for Vehicle Application Services Based on Low Power Consumption
By monitoring the voltage of small batteries in real time in the vehicle and sending low-level signals to the SOC, synchronously control the multi-operating system to switch to sleep mode, solving the problem that small batteries cannot meet the power supply of large loads, and achieving the extension of the vehicle's working time under low power consumption.
Patent Information
- Application Number
- CN202510585954.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-08
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2045-05-08
AI Technical Summary
When a vehicle crashes, the emergency small battery cannot meet the power supply needs of large loads, causing the vehicle to lose power within 100ms to 200ms, affecting normal driving.
The small battery and SOC connected by hardwire are monitored in real time, send low-level signals to the board-level support package of the SOC, and send low-power signals to multiple operating systems simultaneously, and switch the control application service to sleep mode to reduce power consumption.
Reduce system power consumption in a very short time, meet the output capability of emergency small batteries, and improve the working time of the vehicle at low power consumption.
Smart Images

Figure CN120096498B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle power supply control, and specifically relates to a control method, device, and equipment for vehicle application services based on low power consumption. Background Art
[0002] With the improvement of the intelligence level and computing power of automobiles, a small battery is required to supply power to the vehicle during driving to bear the operating power consumption. If the vehicle collides and cuts off the small battery, the emergency small battery can be used to supply power to the vehicle.
[0003] However, the load during vehicle operation is large, and the output capacity of the emergency small battery does not match the large load, resulting in the vehicle losing power completely within 100 ms to 200 ms, affecting the normal driving of the vehicle. Therefore, it is necessary to control various application services on the vehicle under low power consumption conditions, reduce the demand for power supply, and increase the working time of the vehicle under low power consumption. Summary of the Invention
[0004] The purpose of the present invention is to provide a control method, device, and equipment for vehicle application services based on low power consumption, 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 vehicle application services based on low power consumption. This method is applied to a vehicle, which is equipped with a small battery and a system-on-chip (SOC). The small battery is used to supply power to the vehicle, and the small battery and the SOC are connected by a hard wire. At least a first operating system and a second operating system are deployed in the vehicle; the method includes:
[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 wire; wherein, a board support package of the first operating system is deployed in the SOC.
[0007] According to the low-level signal, through the board support package of the first operating system, a low-power signal is sent to the first operating system and the second operating system respectively; wherein, the low-power signal indicates that the vehicle is currently in a low-level state, and the low-power signal is used to instruct to switch the mode of the application services on the vehicle.
[0008] Through the first operating system, control the first application service on the vehicle to switch to a preset sleep mode, and through the second operating system, control the second application service on the vehicle to switch to a preset sleep mode; wherein, the sleep mode is used to prohibit the application service from self-starting.
[0009] Second aspect, the present invention provides a control device for vehicle application services based on low power consumption. This 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 supply power to the vehicle, and the small battery and the SOC are connected by a hard wire. At least a first operating system and a second operating system are deployed in the vehicle. The device includes:
[0010] A voltage detection unit, configured to send a low-level signal to the SOC on the vehicle through the hard wire if the current voltage value of the small battery is less than a preset voltage threshold. Among them, a board support package of the first operating system is deployed in the SOC;
[0011] A signal synchronization unit, configured to send low-power signals 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. Among them, the low-power signal represents that the vehicle is currently in a low-level state, and the low-power signal is used to indicate a mode switch for the application services on the vehicle;
[0012] A service control unit, configured to control the first application service on the vehicle to switch to a preset sleep mode through the first operating system, and control the second application service on the vehicle to switch to a preset sleep mode through the second operating system. Among them, the sleep mode is used to prohibit the application service from self-starting.
[0013] Third aspect, the present invention provides a vehicle, which is equipped with a small battery and an SOC. The small battery is used to supply power to the vehicle, and signal transmission is carried out between the small battery and the SOC through a hard wire. The vehicle is used to implement the method described in the first aspect.
[0014] Fourth aspect, the present invention provides an electronic device, including: 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 described in the first aspect.
[0017] Fifth aspect, the present invention provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method described in the first aspect.
[0018] Sixth aspect, the present invention provides a computer program product, including 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 vehicle application services based on low power consumption, which can monitor the voltage of the small battery in the vehicle in real time and determine whether the small battery is in a low voltage state. If the current voltage value of the small battery is less than the preset voltage threshold, it indicates that the current is in a low voltage state, and a low voltage signal can be sent to one end of the SOC in the vehicle through a hard wire. The board support package of the first operating system is deployed in the SOC end. After receiving the low voltage signal, the SOC end can synchronously send a low power consumption signal to the first operating system and the second operating system through the board support package of the first operating system, so as to inform the two operating systems that the application services need to be controlled currently 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 the sleep mode, and through the second operating system, the second application service on the vehicle can be switched to the preset sleep mode, and the first application service and the second application service are prohibited from self-starting. By synchronously controlling multiple systems, the power consumption of each system can be reduced in a very short time, the delay of 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 are incorporated herein and form a part of this specification, showing embodiments consistent with the present invention and, together with the specification, are used to explain the principles of the present invention.
[0021] Figure 1 It is a schematic flowchart of a control method for vehicle application services based on low power consumption provided by an embodiment of the present invention;
[0022] Figure 2 It is a schematic flowchart of a control method for vehicle application services based on low power consumption provided by an embodiment of the present invention;
[0023] Figure 3 It is a schematic flowchart of a control method for vehicle application services based on low power consumption provided by an embodiment of the present invention;
[0024] Figure 4 It is a schematic diagram of the control process of the vehicle under low voltage provided by an embodiment of the present invention;
[0025] Figure 5 It is a structural block diagram of a control device for vehicle application services based on low power consumption provided by an embodiment of the present invention;
[0026] Figure 6 It is a structural block diagram of a control device for vehicle application services based on low power consumption provided by an embodiment of the present invention;
[0027] Figure 7 It is 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] Through the above-mentioned drawings, specific embodiments of the present invention have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the inventive concept in any way, but to illustrate the concept of the present invention to those skilled in the art by referring to specific embodiments. Detailed implementation manners
[0030] The following will illustrate the implementation manners of the present invention with reference to the drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation manners. Various details in this specification can also be modified or changed 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, rather than for limiting the protection scope of the present invention.
[0031] It should be noted that the illustrations provided in the following embodiments only schematically show the basic concept of the present invention. Therefore, only the components related to the present invention are shown in the drawings, rather than being drawn according to the number, shape, and size of the components in actual implementation. The type, quantity, and proportion of each component in actual implementation can be arbitrarily changed, and the component layout type may also be more complex.
[0032] In the description of the present invention, it should be understood that terms such as "first", "second", "third", etc. are only used to distinguish similar objects, and do not have to be 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 specific circumstances. In addition, in the description of the present invention, unless otherwise specified, "a plurality of" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.
[0033] It should be noted that due to space limitations, this specification does not exhaust all optional implementation manners. After reading this specification, those skilled in the art should be able to think that as long as the technical features do not conflict with each other, any combination of technical features can constitute an optional implementation manner. The following will explain each embodiment in detail.
[0034] In the field of electric vehicles, the development trend is that the sizes of the instrument panel screen, the central control screen, and the co-pilot screen are getting larger and larger, and high-configured vehicles also need to support functions such as AR-HUD (Augmented Reality-Head Up Display). The degree of intelligence of the cockpit is also getting higher and higher, and more and more functions are carried, which also places very high requirements on the performance of the vehicle. With the rapid development of cockpit processing chips, it has become a reality to drive multiple screens with one device. However, in order to improve the user experience, it is necessary to increase the chip computing power to meet the performance requirements.
[0035] The increase in computing power will inevitably bring more power consumption. In the relevant regulations of the electric vehicle industry, if the small battery of the electric vehicle is cut off, an emergency small battery is required to supply power to the vehicle to make the vehicle continue to work for 10 minutes. However, it is very difficult for the emergency small battery to meet the large power consumption requirements. When the small battery is cut off due to a vehicle collision, because the load during system operation is large and the output capacity of the emergency small battery does not match the load of the system, when the system switches to the emergency small battery for power supply, the system completely loses power within 100 ms to 200 ms, thus not meeting the relevant regulations. Therefore, when the small battery is cut off, it is necessary to control various application services on the vehicle to increase the working time of the vehicle under low power consumption.
[0036] A control method, device, and equipment for application services on a vehicle based on low power consumption provided by the present invention aim 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 technical problems will be described in detail below with specific embodiments. These specific embodiments below 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 with reference to the accompanying drawings.
[0038] Figure 1 is a schematic flowchart of a control method for application services on a vehicle based on low power consumption provided by an embodiment of the present invention. This method can be executed by a control device for application services on a vehicle based on low power consumption. This method is applied to a vehicle, and a small battery and an SOC are configured on the vehicle. The small battery is used to supply power to the vehicle, and the small battery and the SOC are connected by a hard wire. At least a first operating system and a second operating system are deployed in the vehicle. As Figure 1 shown, this method includes the following steps:
[0039] S101. If the current voltage value of the small battery is less than a preset voltage threshold, send a low-level signal to the SOC on the vehicle through the hard wire; wherein, a board support package of the first operating system is deployed in the SOC.
[0040] Exemplarily, a small battery can be installed on a vehicle of an electric vehicle. The small battery can be used as a vehicle battery to supply power to the vehicle, enabling the vehicle to provide various application services for users. For example, it can supply power to devices such as cameras and intelligent seats on the vehicle, and can also supply power to system functions such as a driver monitoring system and a passenger monitoring system. Problems may occur with the small battery on the vehicle, resulting in the power supply being cut off. For example, a vehicle collision 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 has a continuous low voltage, power can be supplied through the emergency small battery. In order for the vehicle to continue to operate for 10 minutes when the external power supply is cut off, the vehicle needs to be 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 simply referred to as peripherals.
[0041] An SOC (System on Chip) can be installed on the vehicle. To reduce costs, it can be a single SOC. The SOC and the small battery can be connected by a hard wire, so as to be able to sense the voltage signal of the small battery. A hardware for voltage detection can also be connected between the SOC and the small battery. This hardware can continuously monitor the voltage of the small battery. If the voltage of the small battery is lower than a preset voltage threshold, a low-level signal can be output to the SOC. For example, if the preset voltage threshold is 6V, when the voltage of the small battery drops to 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, a dual-system is deployed on the vehicle, namely a Linux system and an Android system. The Linux system can be deployed on the instrument side, and the Android system can be deployed on the center console side. In this embodiment, the first operating system can be the Android system, and the second operating system can be the Linux system. A board support package of the first operating system can be deployed in the SOC end, that is, the SOC can include an Android BSP (Board Support Package). Sending a low-level signal to the SOC end is also sending a low-level signal to the Android BSP.
[0043] S102. According to the low-level signal, through the board support package of the first operating system, send low-power signals to the first operating system and the second operating system respectively; wherein, the low-power signal represents that the vehicle is currently in a low-level state, and the low-power signal is used to indicate a mode switch for the application services on the vehicle.
[0044] Exemplarily, after receiving a low-level signal, the Android BSP can send low-power signals 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, and realize the unified control of the dual systems by the BSP.
[0045] The low-power signal can be a preset signal, indicating that the small battery of the vehicle is currently at a low level. As long as the Android BSP receives the low-level signal, it can synchronously send the preset low-power signal to the dual systems. It can also generate a low-power signal according to the low-level signal. For example, the low-power signal can include the current voltage value of the small battery. Then, the low-power signal containing the voltage value is synchronously sent to the dual systems.
[0046] The low-power signal is used to instruct the operating system to perform mode switching on the application services on the vehicle, so that the application services on the vehicle are in a low-power state. For example, after receiving the low-power signal, the operating system can turn off some peripherals on the vehicle, and the peripherals turned off by different operating systems can be different.
[0047] S103. Control the first application service on the vehicle to switch to a preset sleep mode through the first operating system, and 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 self-starting.
[0048] Exemplarily, different operating systems can control different application services. The application services that the first operating system can control are preset as the first application service, and the application services that the second operating system can control are preset as the second application service. For example, the first application service is the related service of the automatic driving function on the central control side, and the second application service is the related service of the instrument display function on the instrument side.
[0049] The sleep mode of the application service is preset. The sleep mode means that the application service does not work and prohibits the application service from self-starting. After receiving the low-power signal, the first operating system can switch the first application service to the sleep mode, that is, prohibit the first application service from self-starting. At the same time, after receiving the low-power signal, the second operating system can switch the second application service to the sleep mode, that is, prohibit the second application service from self-starting.
[0050] In this embodiment, the dual systems are uniformly controlled by the BSP, and the dual systems simultaneously perform optimization of the internal application services, realizing that when the small battery of the vehicle is abnormally cut off, the overall power consumption of the dual systems is reduced within an extremely short time, and the delay time is less than 100 ms, meeting the output capacity of the emergency small battery.
[0051] An 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 the small battery in the 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 indicates that it is currently in a low-level state, and a low-level signal can be sent to the SOC terminal on the vehicle through a hard wire. A board support package of the first operating system is deployed in the SOC terminal. After receiving the low-level signal, the SOC terminal can, through the board support package of the first operating system, synchronously send a low-power signal to the first operating system and the second operating system, thereby informing the two operating systems that the application services need to be controlled currently 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 the 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 self-starting. By synchronously controlling multiple systems, the power consumption of each system can be reduced within a very short time, the delay of 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.
[0052] Figure 2 FIG. is a schematic flow chart of a control method for application services on a vehicle based on low power consumption provided by an embodiment of the present invention. This embodiment is an alternative embodiment based on the above embodiment.
[0053] In this embodiment, corresponding power management modules are deployed in both the first operating system and the second operating system. The power management module is used to adjust the power consumption of the application services; according to the low-level signal, through the board support package of the first operating system, sending low-power signals to the first operating system and the second operating system respectively includes: generating a low-power signal according to the low-level signal; wherein, the low-level signal is a hard signal and the low-power signal is a soft signal; through the board support package of the first operating system, inputting the low-power signal into the power management module in the first operating system and the power management module in the second operating system.
[0054] As Figure 2 shown, the method includes the following steps:
[0055] S201. If the current voltage value of the small battery is less than the preset voltage threshold, send a low-level signal to the SOC on the vehicle through a hard wire; wherein, a board support package of the first operating system is deployed in the SOC.
[0056] Exemplarily, this step can refer to the above step S101 and will not be elaborated.
[0057] S202. Generate a low-power signal according to the low-level signal; wherein, the low-level signal is a hard signal and the low-power signal is a soft signal.
[0058] Exemplarily, the low-level signal is a signal transmitted through hardwiring and belongs to a hard signal, while the low-power signal belongs to a soft signal. That is, after receiving 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 preset in the Android BSP to map the low-level signal to a 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 the low-power signal.
[0060] S203: Input the low-power 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.
[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 the soft signal to different operating systems, that is, the low-power signal can be input into Native Core Power of the Android system and Power Manager of the Linux system.
[0062] In this embodiment, inputting the low-power signal into the power management module in the second operating system through the board support package of the first operating system includes: inputting the low-power signal into a preset virtualization software layer through the board support package of the first operating system to obtain a virtualized 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 to the second operating system; and inputting the virtualized signal into the power management module in the second operating system.
[0063] Specifically, the BSP and Native Core Power both belong to the Android system, that is, the first operating system. The low-power signal of the BSP can be directly read by Native Core Power. That is, the Android BSP can directly send the low-power signal to the power management module of the first operating system.
[0064] For the second operating system, since it belongs to a different operating system from the BSP, the BSP needs to map the low-level signal into two different types of soft signals. One is the low-power signal, which is directly sent to the first operating system. The other needs to perform format conversion on the low-power signal and send the converted low-power signal to the second operating system.
[0065] A virtualization software layer is preset. For example, the virtualization software layer can adopt TTI Hypervisor. TTI Hypervisor is a virtualization technology commonly used in embedded systems, focusing 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 receiving the low-level signal, the Android BSP first converts the low-level signal into the form of a soft signal, that is, the low-power signal that the Android system can read, and then performs format conversion on the low-power signal through the virtualization software layer to obtain a virtualized signal. That is, the virtualized signal and the low-power signal are two types of soft signals, both of which can indicate a mode switch for the application services on the vehicle. The virtualized 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 setting is that format conversion processing is performed on the initial soft signal, that is, the low-power signal, so that the soft signal can be read by the Linux system, enabling the dual systems to synchronously control the application services and improving the feasibility and efficiency of the application service control.
[0067] S204: Through the first operating system, control the first application service on the vehicle to switch to a preset sleep mode, and through the second operating system, control the second application service on the vehicle to switch to a preset sleep mode; wherein, the sleep mode is used to prohibit the application service from self-starting.
[0068] Exemplarily, this step can refer to the above step S103 and will not be elaborated here.
[0069] An embodiment of the present invention provides a control method for vehicle application services based on low power consumption, which can monitor the voltage of the small battery in the vehicle in real time to determine whether the small battery is in a low voltage state. If the current voltage value of the small battery is less than the preset voltage threshold, it indicates that the current is in a low voltage state, and a low voltage signal can be sent to the SOC terminal on the vehicle through a hard wire. A board support package of the first operating system is deployed in the SOC terminal. After receiving the low voltage signal, the SOC terminal can synchronously send a low power consumption signal to the first operating system and the second operating system through the board support package of the first operating system, so as to inform the two operating systems that the application services need to be controlled currently 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 the 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 within a very short time, the delay of 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.
[0070] Figure 3 FIG. is a schematic flowchart of a control method for vehicle application services based on low power consumption provided by an embodiment of the present invention. This embodiment is an optional embodiment based on the above 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; controlling the first application service on the vehicle to be switched to a preset shutdown mode through the first operating system includes: performing a shutdown operation on the first application service on the vehicle through the first operating system, and switching the first application service on the vehicle to a preset sleep mode.
[0072] The second application service includes a head-up display service; controlling the second application service on the vehicle to be switched to a preset sleep mode through the second operating system includes: performing a shutdown operation on the second application service on the vehicle through the second operating system, and switching the second application service on the vehicle to a preset sleep mode.
[0073] As Figure 3 shown, the method includes the following steps:
[0074] S301. If the current voltage value of the small battery is less than the preset voltage threshold, send a low voltage signal to the SOC on the vehicle through a hard wire; wherein, a board support package of the first operating system is deployed in the SOC.
[0075] Exemplarily, this step can refer to the above step S101 and will not be elaborated.
[0076] S302. According to the low-level signal, through the board support package of the first operating system, send low-power signals to the first operating system and the second operating system respectively; wherein, the low-power signal characterizes that the vehicle is currently in a low-level state, and the low-power signal is used to indicate to perform a mode switch on the application services on the vehicle.
[0077] Exemplarily, this step can refer to the above step S102 and will not be elaborated here.
[0078] S303. Through the first operating system, perform a shutdown operation on the first application service on the vehicle and switch the first application service on the vehicle to a preset sleep mode.
[0079] Exemplarily, the first application services 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). Through the Android system, the above application services can be controlled to switch to the sleep mode, thereby prohibiting the above application services from automatically starting in the low-power state of the vehicle.
[0080] Before switching the first application service to the sleep mode, it can first be determined whether the first application service is in a running state. If not, it can be directly switched to the sleep mode; if it is in a running state, the first application service can be forcibly stopped, that is, a shutdown operation is performed on the first application service, and then the first application service is switched to the sleep mode. For example, services such as DMS, IMS, and EVS can be actively and forcibly stopped and prohibited from automatically starting. Operations such as shutdown and mode switching on the first application service can be performed through NativeCore Power in the Android system.
[0081] In this embodiment, the method further includes: stopping the user mode of the first operating system through the first operating system.
[0082] Specifically, after receiving the low-power signal, the first operating system can also perform an operation to stop the user mode. The user mode is one of the modes in a computer operating system for running application programs, and it is opposite to the kernel mode, which is the mode in which the operating system kernel runs. The division of the user mode and the kernel mode is an important protection mechanism in modern operating systems, aiming to improve the stability and security of the system.
[0083] The first operating system is the Android system, that is, the Android user state can be stopped. On the Android side, through Native Core Power in the Native Framework layer, a low-power signal can be sent to the Power Manager Service in the Java Framework layer, and the Power Manager Service in the Java Framework layer executes to stop the Android user state. Native Framework and Java Framework belong to the architecture of the Android system, and both Native Core Power and Power Manager Service are open-source modules in the Android system.
[0084] The beneficial effect of such a setting is to forcibly stop the Android user state, further reduce the load, and change the self-exit of the user-state applications to be uniformly controlled by the power management service in the Android system. The power consumption of the Android system can be reduced within 80 - 90 ms, and the running time of the vehicle under low power consumption can be increased.
[0085] S304. Through the second operating system, perform a shutdown operation on the second application service on the vehicle and switch the second application service on the vehicle to a preset sleep mode.
[0086] Exemplarily, the second application system corresponding to the Linux system may include services such as HUD (Head Up Display). Through the Linux system, the above application services can be controlled to switch to the sleep mode, thereby prohibiting the above application services from automatically starting in the low-power state of the vehicle.
[0087] Before switching the second application service to the sleep mode, it can be first determined 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, a shutdown operation is performed on the second application service, 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 prohibited from automatically starting. The Linux system's Power Manager can be used to perform operations such as shutting down and mode switching on the second application service.
[0088] In this embodiment, the method further includes: setting a timer with 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; where the preset component includes at least one of a CPU, a GPU, and a DDR.
[0089] Specifically, after receiving a virtualization signal, the Power Manager in the Linux system can also start the SOC main frequency control service, which is used to control the operating frequency of the preset component. The SOC main frequency control service means setting a timer, and when the timer reaches a certain time, the operating frequency of the preset component can be adjusted. The preset component can include a CPU (Central Processing Unit, central processor), a GPU (Graphics Processing Unit, graphics processor), a DDR (Double Data Rate Synchronous Dynamic Random Access Memory, double data rate memory), etc., that is, the operating frequencies of the CPU, GPU, DDR, etc. can be adjusted.
[0090] Set the time length of the timer. For example, the preset time length is 200 ms. Monitor the current timing length of the timer in real time, that is, the timer records how long it has been timed currently. If the current timing length reaches the preset time length, for example, the timer records that 200 ms has timed out, the operating frequency of the preset component in the vehicle can be adjusted. For example, the operating frequencies of the CPU, DDR, and GPU can be reduced to the preset lowest gear.
[0091] The beneficial effect of such a setting is that by reducing the operating frequencies of the CPU, DDR, and GPU to the lowest gear, the power consumption can be further reduced. By setting the timer, the operating frequency of the preset component can be adjusted after the peripheral device and the application service stop, avoiding the peripheral device and the application service from freezing or having other failures due to directly reducing the operating frequency of the preset component, and ensuring that the power consumption of the vehicle can be reduced after the preset time length, improving the control effectiveness of the peripheral device and the application service 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 preset first external device on the vehicle to perform a shutdown operation through a board support package of the first operating system.
[0094] Specifically, after receiving a low-level signal, the Android BSP can control multiple peripherals on the vehicle, and the peripherals that the Android BSP can control are regarded as the first external devices. Which first external devices are preset, for example, the first external devices may include USB charging enable, camera power supply enable, panoramic camera, etc. The first external devices may include hardware peripherals on the Android system side or hardware peripherals on the Linux system side.
[0095] The hardware peripherals on both sides of the dual system are uniformly controlled by the Android BSP for forced shutdown, that is, the first external devices on the vehicle are controlled to perform shutdown operations simultaneously.
[0096] The beneficial effect of such a setting is that the hardware peripherals on both sides of the dual system are uniformly controlled, reducing the delay of peripheral control. The peripheral control delay time is less than 100 ms, improving the control efficiency of the vehicle.
[0097] In this embodiment, a micro control unit MCU is configured on the vehicle; the method further 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, the preset second external device on the vehicle is controlled to perform a shutdown operation.
[0098] Specifically, an MCU (MicroControl Unit) can be configured on the vehicle. The MCU and the small battery can be connected by a hard wire, and a hardware for voltage detection can also be connected between the MCU and the small battery. If it is detected that the voltage of the small battery is lower than the preset voltage threshold, a low-level signal can be output to the SOC and the MCU at the same time. For example, after a collision occurs to the small battery on the vehicle, the voltage drops to 6V, and the hardware end detects a low level and outputs the low-level signal to the SOC and the MCU.
[0099] The MCU can control multiple peripherals on the vehicle, and the peripherals that the MCU can control are regarded as the second external devices. Which second external devices are preset, for example, the second external devices may include a main power amplifier STB (Set-Top Box), a secondary power amplifier STB, etc. After the MCU end detects the input of a hard signal, that is, a low-level signal, it performs an operation to turn off the second external device.
[0100] The beneficial effect of such a setting is that the MCU end and the SOC end can synchronously control the vehicle, and the MCU end controls the second peripheral to turn off. At the same time, the SOC end controls the first peripheral to turn off and maps the hard signal to a soft signal and sends it to the dual system. It effectively reduces the delay of vehicle control and increases the running time of the vehicle under low power consumption.
[0101] Figure 4 Schematic diagram of the vehicle control process under low level. When it is detected that the small battery is at a low level, the low-level signal can be synchronously sent to the MCU and the SOC, that is, sent to the MCU and the Android BSP. The MCU controls the second external device to turn off, and the Android BSP controls the first external device to turn off. 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 ManagerService. The Native Core Power of the Android system can also stop the first application service and prohibit its self-start. The Power Manager of the Linux system stops the second application service and prohibits its self-start, and at the same time sets a timer to reduce the working frequency of the preset component to the lowest gear.
[0102] An 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 the small battery in the 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 wire. The board support package of the first operating system is deployed at the SOC end. 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, so as to inform the two operating systems that the application services need to be controlled currently 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 the sleep mode, and through the second operating system, the second application service on the vehicle can be switched to the preset sleep mode, and the first application service and the second application service are prohibited from self-starting. By synchronously controlling multiple systems, the power consumption of each system can be reduced within a very short time, the delay of 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.
[0103] Figure 5The following is a block diagram of a control device for vehicle application services based on low power consumption provided by an embodiment of the present invention. For the sake of convenience of description, only parts related to the embodiments of the present disclosure are shown. The device is applied to a vehicle, and a small battery and a system-on-chip (SOC) are configured on the vehicle. The small battery is used to supply power to the vehicle, and the small battery and the SOC are connected by a hard wire. At least a first operating system and a second operating system are deployed in the vehicle. Refer to Figure 5 , the control device 500 for vehicle application services based on low power consumption includes: a voltage detection unit 501, a signal synchronization unit 502, and a service control unit 503.
[0104] The voltage detection unit 501 is configured to send a low-level signal to the SOC on the vehicle through the hard wire if the current voltage value of the small battery is less than a preset voltage threshold; wherein, a board support package of the first operating system is deployed in the SOC;
[0105] The signal synchronization unit 502 is configured to send low-power signals 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 signal characterizes that the vehicle is currently in a low-level state, and the low-power signal is used to indicate a mode switch for the application services on the vehicle;
[0106] The service control unit 503 is configured to control the first application service on the vehicle to switch to a preset sleep mode through the first operating system, and 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 self-starting.
[0107] Figure 6 The following is a block diagram of a control device for vehicle application services based on low power consumption provided by an embodiment of the present invention. As Figure 6 shown, the control device 600 for vehicle application services based on low power consumption includes a voltage detection unit 601, a signal synchronization unit 602, and a service control unit 603. Among them, corresponding power management modules are deployed in both the first operating system and the second operating system. The power management module is used to adjust the power consumption of the application services. The signal synchronization unit 602 includes a signal generation module 6021 and a signal input module 6022.
[0108] The signal generation module 6021 is configured to generate the low-power signal according to the low-level signal; wherein, the low-level signal is a hard signal, and the low-power signal is a soft signal;
[0109] A signal input module 6022, configured to input the low-power 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.
[0110] In one example, the signal input module 6022 is specifically configured to:
[0111] Input the low-power signal 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 to the second operating system.
[0112] Input the virtualization signal into the 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] A first control module, configured to perform a shutdown 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 further includes:
[0116] A user state stop unit, configured to stop the user state 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] A second control module, configured to perform a shutdown 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 further includes:
[0120] A timing unit, configured to set a timer with a preset time length through the second operating system and monitor the current timing length of the timer.
[0121] A frequency adjustment unit, configured to adjust the working 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 further includes:
[0123] A first shutdown unit, configured to control a preset first external device on the vehicle to perform a shutdown operation through a board support package of the first operating system.
[0124] In one example, a micro control unit (MCU) is configured on the vehicle; the apparatus further includes:
[0125] A voltage sending unit, configured to send a low-level signal to the MCU on the vehicle if a current voltage value of the small battery is less than a preset voltage threshold;
[0126] A second shutdown unit, configured to control a preset second external device on the vehicle to perform a shutdown operation if the MCU responds to the low-level signal.
[0127] An embodiment of the present application provides a vehicle, where a small battery and a state of charge (SOC) are configured on the vehicle. The small battery is used to supply power to the vehicle, and signal transmission is performed between the small battery and the SOC through a hard wire. 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 by an embodiment of the present application is shown as Figure 7 shown. The electronic device includes: a memory 71 and a processor 72; the memory 71 is a memory for storing executable instructions of the processor 72.
[0129] Wherein, 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 A block diagram of an electronic device shown according to an exemplary embodiment. The device may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, 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, telephone calls, data communication, camera operation, and recording operation. 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 methods. 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 device 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 the operation of 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 may 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, a magnetic disk, or an optical disk.
[0136] The power component 806 provides power to the various components of the device 800. The power 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 touches, swipes, and gestures on the touch panel. The touch sensors can not only sense the boundaries of the touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operations. 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 can receive external multimedia data. Each of the front camera and the rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0138] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.
[0139] The I / O interface 812 provides an interface between the processing component 802 and a peripheral interface module, and the peripheral interface module can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power-on button, and a lock button.
[0140] The sensor component 814 includes one or more sensors for providing status assessments of various aspects of the device 800. For example, the sensor component 814 can detect the on / off state of the device 800, the relative positioning of components, such as the display and keypad of the device 800. The sensor component 814 can also detect a change in the position 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 component 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 814 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0141] The communication component 816 is configured to facilitate communication between the device 800 and other devices in a wired or wireless manner. 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 further 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 for performing the above method.
[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 above instructions can be executed by a processor 820 of the apparatus 800 to complete the above method. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and 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 control method for vehicle on-board application services based on low power consumption.
[0145] Those skilled in the art will readily conceive of other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include common general knowledge or conventional technical means in the technical field not disclosed in the present application. The specification and embodiments are only to be considered as exemplary, and the true scope and spirit of the present application are pointed out by the following claims.
[0146] The above embodiments are only preferred embodiments given to fully illustrate the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or transformations made by those skilled in the art on the basis of the present invention are all within the protection scope of the present invention.
Claims
1. A control method for vehicle application services based on low power consumption, characterized in that The method is applied to a vehicle, on which a small battery and a system-on-chip (SOC) are configured. The small battery is used to supply power to the vehicle, and the small battery and the SOC are connected by a hard wire. At least a first operating system and a second operating system are deployed in the vehicle; corresponding power management modules are 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 application services. The method 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 SOC on the vehicle through the hard wire; wherein, a board support package of the first operating system is deployed in the SOC. According to the low-level signal, a low-power signal is generated and input 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; and a preset first external device on the vehicle is controlled to perform a shutdown operation; wherein, the low-power signal represents that the vehicle is currently in a low-level state, and the low-power signal is used to indicate a mode switch for application services on the vehicle; the low-level signal is a hard signal, and the low-power signal is a soft signal; the preset first external device includes hardware peripherals on the side of the first operating system and hardware peripherals on the side of the second operating system. 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 self-starting.
2. The method according to claim 1, characterized in that Inputting the low-power signal into the power management module in the second operating system through the 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 to the second operating system. The virtualization signal is input into the power management module in the second operating system.
3. 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; 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 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.
4. The method according to claim 1, wherein It further includes: Through the first operating system, the user state of the first operating system is stopped.
5. The method according to claim 1, wherein The second application service includes a head-up display service; 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 shutdown 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.
6. The method according to claim 1, wherein It further includes: Set a timer with a preset time length through the second operating system, and monitor the current timing length of the timer; If the current timing length reaches the preset time length, adjust the working frequency of a preset component in the vehicle; 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).
7. The method according to any one of claims 1-6, characterized in that, A micro control unit (MCU) is configured on the vehicle; the method further includes: If the current voltage value of the small battery is less than a preset voltage threshold, send a low-level signal to the MCU on the vehicle; If the MCU responds to the low-level signal, control a preset second external device on the vehicle to perform a shutdown operation.
8. A control device for vehicle application services based on low power consumption, characterized in that, The device is applied to a vehicle, and a small battery and a system-on-chip (SOC) are configured on the vehicle. The small battery is used to supply power to the vehicle, and the small battery and the SOC are connected by a hard wire. At least a first operating system and a second operating system are deployed in the vehicle; corresponding power management modules are 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 application services; the device includes: A voltage detection unit, configured to send a low-level signal to the SOC on the vehicle through the hard wire if the current voltage value of the small battery is less than a preset voltage threshold; wherein, a board support package of the first operating system is deployed in the SOC. A signal synchronization unit, configured to generate a low-power signal according to the low-level signal, input the low-power 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; and control a preset first external device on the vehicle to perform a shutdown operation; wherein, the low-power signal represents that the vehicle is currently in a low-level state, and the low-power signal is used to indicate a mode switch for application services on the vehicle; the low-level signal is a hard signal, and the low-power signal is a soft signal; the preset first external device includes hardware peripherals on the first operating system side and hardware peripherals on the second operating system side. A service control unit, configured to control a first application service on the vehicle to switch to a preset sleep mode through the first operating system, and control a 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 self-starting.
9. A vehicle, characterized in that, A small battery and an SOC are configured on the vehicle, and the small battery is used to supply power to the vehicle. A signal is transmitted between the small battery and the SOC through a hard wire; the vehicle is used to implement the method according to any one of claims 1-7.
10. An electronic device, characterized in that, Including: 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-7.
11. 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-7 when executed by a processor.
12. A computer program product, characterized in that, It includes a computer program, which implements the method according to any one of claims 1-7 when executed by a processor.
Citation Information
Patent Citations
Vehicle state regulation and control method, device and equipment and readable storage medium
CN115009202A
Vehicle multimedia entertainment system, control method and vehicle
WO2019201052A1