CN113504825A - Energy-saving method and device for instrument system and storage medium - Google Patents

Energy-saving method and device for instrument system and storage medium Download PDF

Info

Publication number
CN113504825A
CN113504825A CN202110833209.6A CN202110833209A CN113504825A CN 113504825 A CN113504825 A CN 113504825A CN 202110833209 A CN202110833209 A CN 202110833209A CN 113504825 A CN113504825 A CN 113504825A
Authority
CN
China
Prior art keywords
instrument
instrument system
sleep mode
entertainment
meter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110833209.6A
Other languages
Chinese (zh)
Other versions
CN113504825B (en
Inventor
赵拯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Hubei Ecarx Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hubei Ecarx Technology Co Ltd filed Critical Hubei Ecarx Technology Co Ltd
Priority to CN202110833209.6A priority Critical patent/CN113504825B/en
Publication of CN113504825A publication Critical patent/CN113504825A/en
Application granted granted Critical
Publication of CN113504825B publication Critical patent/CN113504825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Power Sources (AREA)

Abstract

The application provides an energy-saving method, an energy-saving device and a storage medium for an instrument system, wherein the method comprises the following steps: the method comprises the steps that after a power supply starting instruction is detected by a vehicle, a virtual environment is configured, and an instrument system and an entertainment system are operated in the virtual environment, wherein the instrument system starts timing, and if an ignition instruction is not detected within a preset time length of timing, the instrument system is controlled to enter a sleep mode, and the entertainment system is controlled to normally operate. If the ignition instruction is not detected within the preset timed duration, which indicates that the user has no ignition requirement, the instrument system is controlled to enter the sleep mode under the condition, on one hand, the power consumption of the instrument system in the sleep mode can be ignored, so that the power consumption can be reduced, and the service life of the battery can be prolonged; on the other hand, since the meter system in the sleep mode does not use hardware resources and a CPU, a stuck problem of the entertainment system can be avoided.

Description

Energy-saving method and device for instrument system and storage medium
Technical Field
The application relates to the field of automobile machines, in particular to an energy-saving method and device for an instrument system and a storage medium.
Background
With the increasing popularity of automobiles, people tend to use automobiles not only as vehicles, but also as vehicles, and have paid much attention to entertainment functions.
At present, in a multi-system starting scheme based on a virtual machine monitor (Hypervisor), the virtualization technology is characterized in that kernels of a meter system and an entertainment system are independent, and the meter system and the entertainment system share hardware resources.
For the multi-system starting scheme based on the Hypervisor, when the automobile listens to the broadcast without ignition, the entertainment system normally operates to enable the user to experience the service of the entertainment system, the instrument system also normally operates to occupy hardware resources such as a CPU (central processing unit) or a network, and the problem of power consumption of the instrument system in a non-use state is caused.
Disclosure of Invention
The application provides an energy-saving method and device for an instrument system and a storage medium, which are used for reducing the power consumption of the instrument system in a non-use state.
In a first aspect, the present application provides an energy saving method for an instrumentation system, which is applied to a virtual machine monitor-based vehicle machine with a multi-system startup scheme, and includes:
after a power supply starting instruction is detected, configuring a virtualization environment;
operating an instrument system and an entertainment system in a virtualization environment, and starting timing by the instrument system;
and if the ignition instruction is not detected within the preset timed duration, controlling the instrument system to enter a sleep mode and controlling the entertainment system to normally operate.
In one possible embodiment, the instrumentation system in sleep mode may include at least one of the following states:
applications in the instrumentation system are stopped or suspended; the instrument backlight in the instrument system is extinguished.
In one possible embodiment, configuring the virtualized environment after detecting power up may include: after detecting that the power supply is started, starting a host machine system; and starting a virtual machine monitor in the host system and configuring a virtualization environment.
In one possible embodiment, the meter system energy saving method may further include: detecting whether the electric quantity of the battery is smaller than an electric quantity threshold value or not in the normal operation process of the entertainment system; if the battery electric quantity is smaller than the electric quantity threshold value, waking up the instrument system to enter a normal operation mode from a sleep mode, and prompting that the battery electric quantity is smaller than the electric quantity threshold value by the instrument system in the normal operation mode.
In one possible embodiment, the meter system energy saving method may further include: and if the ignition instruction is detected within the preset time length of timing, controlling the normal operation of the instrument system.
In one possible embodiment, the meter system energy saving method may further include: and if a flameout instruction is detected, controlling the instrument system to enter a sleep mode and controlling the entertainment system to normally operate.
In a second aspect, the present application provides an energy saving device for an instrumentation system, which is applied to a virtual machine monitor-based vehicle machine with a multi-system startup scheme. This instrumentation economizer system includes:
the configuration module is used for configuring the virtualization environment after a power supply starting instruction is detected; operating the instrument system and the entertainment system in the virtualization environment, and starting timing by the instrument system;
and the control module is used for controlling the instrument system to enter a sleep mode and controlling the entertainment system to normally run if the ignition instruction is not detected within the preset timed duration.
In one possible embodiment, the instrumentation system in sleep mode may include at least one of the following states: applications in the instrumentation system are stopped or suspended; the instrument backlight in the instrument system is extinguished.
In a possible implementation, the configuration module may be specifically configured to: after detecting that the power supply is started, starting a host machine system; and starting a virtual machine monitor in the host system and configuring a virtualization environment.
In one possible embodiment, the meter system energy saving device may further include: the detection module is used for detecting whether the electric quantity of the battery is less than an electric quantity threshold value or not in the normal operation process of the entertainment system; if the battery electric quantity is smaller than the electric quantity threshold value, the instrument system is awakened to enter a normal operation mode from a sleep mode through the control module, and the instrument system in the normal operation mode prompts that the battery electric quantity is smaller than the electric quantity threshold value.
In one possible embodiment, the control module may be further configured to: and if the ignition instruction is detected within the preset time length of timing, controlling the normal operation of the instrument system.
In one possible embodiment, the control module may be further configured to: and if a flameout instruction is detected, controlling the instrument system to enter a sleep mode and controlling the entertainment system to normally operate.
In a third aspect, the present application provides an electronic device, comprising:
a memory and a processor;
the memory is used for storing program instructions;
the processor is configured to invoke the program instructions in the memory to perform the meter system energy saving method of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having computer program instructions stored therein, which when executed, implement the energy saving method of the meter system of the first aspect.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the meter system energy saving method of the first aspect.
According to the energy-saving method, the energy-saving device and the energy-saving storage medium for the instrument system, after a power supply starting instruction is detected, a virtual environment is configured for a vehicle machine based on a multi-system starting scheme of a virtual machine monitor, and the instrument system and an entertainment system are operated in the virtual environment, wherein the instrument system starts timing, and if an ignition instruction is not detected within a preset time length of timing, the instrument system is controlled to enter a sleep mode, and the entertainment system is controlled to normally operate. On one hand, because the power consumption of the instrument system in the sleep mode can be ignored, the power consumption can be reduced, and the service life of the battery can be prolonged; on the other hand, since the meter system in the sleep mode does not use hardware resources and a CPU, a stuck problem of the entertainment system can be avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
FIG. 2 is a flowchart of a method for saving energy of a meter system according to an embodiment of the present application;
FIG. 3 is a flow chart of a method for conserving energy in a meter system according to another embodiment of the present application;
FIG. 4 is a schematic structural diagram of an instrument system energy saving device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
First, some technical terms related to the present application are explained:
a Linux Container (LXC) is a kernel virtualization technology that can provide lightweight virtualization to isolate processes and resources. The technology is characterized by kernel-mode sharing and user-mode isolation, namely, a plurality of virtual machine systems share the kernel of a host machine system.
The virtual machine monitor (Hypervisor) is software, firmware or hardware used for establishing and executing a virtual machine, and the technical characteristic is that the virtual machine system independently uses the kernel of a host system, but the two share hardware resources.
Currently, a vehicle machine has multiple start schemes, for example, a LXC-based multiple system start scheme and a virtual machine monitor-based multiple system start scheme.
In a multi-system starting scheme based on the LXC, under a low power consumption mode, a kernel of a host system enters deep sleep, and most user services are suspended, so that the power consumption can be greatly reduced. However, the instrument system and the entertainment system of the vehicle machine share a kernel, the former enters a low power consumption mode, the latter is suspended in service, and a user cannot use the entertainment system in the low power consumption mode.
In a hypervisor-based multi-system boot scheme, the kernel of the instrumentation system and the kernel of the entertainment system are independent, but share hardware resources. Therefore, if a user experiences entertainment system services, such as listening to a broadcast, during non-driving time, the meter system still occupies hardware resources such as a Central Processing Unit (CPU) or a network, which causes a problem of power consumption of the meter system in a non-use state, and a problem of jamming caused by the fact that the entertainment system cannot fully use the hardware resources of the vehicle and the CPU, which affects user experience. At present, the scene is very common in the vehicle machine system integration trend.
Based on the above problems, the present application provides an energy saving method, an energy saving device and a storage medium for an instrument system, which make full use of the virtualization technical characteristics of a virtual machine monitor, and can process the instrument system and an entertainment system in a differentiated manner during the non-driving time of a user, thereby saving the electric quantity of the instrument system, prolonging the battery life, and increasing the experience of the entertainment system used by the user.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. As shown in fig. 1, in the present application scenario, a vehicle machine inside the vehicle 10 employs a multiple system starting scheme based on a virtual machine monitor, and in the vehicle machine, the multiple systems include but are not limited to a host system, a meter system and an entertainment system, wherein the host system starts the virtual machine monitor, configures a virtualization environment, and runs the meter system and the entertainment system in the virtual machine monitor. The instrument system is used for transmitting the state of the vehicle to a user through the dial plate, and the entertainment system is used for meeting the entertainment requirements of the user.
For example, when a user has a need to use an entertainment system in a car, the car can communicate with the server 20, obtain entertainment content stored in the server 20, and output the entertainment content to the user through an audio/video playing device carried by the car, so as to meet the need of the user for entertainment through the car.
When the user still needs to use the entertainment system when the vehicle 10 is in the flameout state, the in-vehicle machine controls the normal operation of the entertainment system while controlling the instrument system to enter the sleep state.
It should be noted that fig. 1 is only a schematic diagram of an application scenario provided in this embodiment, and this embodiment of the present application does not limit the devices included in fig. 1, and also does not limit the positional relationship between the devices in fig. 1. For example, in the application scenario shown in fig. 1, a data storage device may be further included, and the data storage device may be an external memory with respect to the car machine or the server 20, or may be a memory integrated inside the car machine or the server 20.
In addition, to ensure safe driving of the user, the user may use the entertainment system during non-driving times.
Next, a meter system energy saving method will be described by way of specific embodiments.
Fig. 2 is a flowchart of an energy saving method for a meter system according to an embodiment of the present application. The embodiment of the application provides an energy-saving method for an instrument system, which is applied to a vehicle machine based on a multi-system starting scheme of a virtual machine monitor, such as a vehicle 10 shown in fig. 1. In the method, when a user is not driving, the instrument system is in a low power consumption mode, the kernel of the instrument system enters a sleep mode, but the kernel of the entertainment system normally operates, and the entertainment system can fully use hardware resources such as a CPU (Central processing Unit) and a network, so that the operating smoothness of the entertainment system is improved.
Specifically, as shown in fig. 2, the meter system energy saving method includes:
s201, after a power supply starting command is detected, a virtualization environment is configured.
Because the car machine is based on a multi-system starting scheme of a virtual machine monitor, an instrument system and an entertainment system of the car machine run in a virtualization environment, and the virtualization environment needs to be configured before the instrument system and the entertainment system run. Therefore, the vehicle first configures the virtualized environment after detecting the power start instruction.
S202, operating the instrument system and the entertainment system in the virtualization environment, and starting timing by the instrument system.
After running the instrumentation system and the entertainment system in the virtualized environment, the instrumentation system starts timing, and specifically, the timing method may be to start a timer for ignition or not. For example, the preset duration of the timer may be 2 minutes, and the timing manner may be a countdown or a forward timing, which is not limited in this application. The purpose of the timer is to operate the vehicle automatically when it is not manually intervened. Specifically, for example, when the power of the vehicle is turned on, the driver may not be at the side of the vehicle, or the driver is talking, and therefore cannot control the vehicle at this time, and in order to save the amount of electricity, the operating state of the meter system is adjusted by setting a timer.
S203, if the ignition instruction is not detected within the preset timed duration, controlling the instrument system to enter a sleep mode, and controlling the entertainment system to normally operate.
If the ignition operation is not performed by the driver within 2 minutes within the preset time, and accordingly the vehicle does not detect the ignition instruction, the vehicle control instrument system enters the sleep mode, and the entertainment system still normally operates without being affected.
Specifically, after the instrument system enters the sleep mode, the kernel of the instrument system is in the low power consumption mode, the power consumption of the kernel is very little, and hardware resources, a CPU and the like of the vehicle machine are not used any more, so that the entertainment system can fully use the hardware resources and the CPU of the vehicle machine to avoid the blocking phenomenon.
In the embodiment of the application, after a power supply starting instruction is detected by a vehicle, a virtualized environment is configured first, and an instrument system and an entertainment system are operated in the virtualized environment, wherein the instrument system starts timing, and if an ignition instruction is not detected within a preset time length of timing, the instrument system is controlled to enter a sleep mode, and the entertainment system is controlled to operate normally. If the ignition instruction is not detected within the preset timed duration, which indicates that the user has no ignition requirement, the instrument system is controlled to enter the sleep mode under the condition, on one hand, the power consumption of the instrument system in the sleep mode can be ignored, so that the power consumption can be reduced, and the service life of the battery can be prolonged; on the other hand, since the meter system in the sleep mode does not use hardware resources and a CPU, a stuck problem of the entertainment system can be avoided.
On the basis of the above embodiment, the instrumentation system in the sleep mode may include at least one of the following states: applications in the instrumentation system are stopped or suspended; the instrument backlight in the instrument system is extinguished, etc. It can be understood that the sleep mode may be defined as that the kernel of the host system continues to run, most applications in the meter system are stopped, other applications enter the suspend mode, the suspended processes run periodically, and the tasks of the processes are delayed, which mainly aims to reduce the CPU consumption and network pressure of the meter system and reduce the occupation of hardware resources by the meter system. Meanwhile, the instrument backlight in the instrument system is turned off, and the electric quantity loss is further reduced.
In the embodiment of the application, after the instrument system enters the sleep mode, the instrument backlight of the instrument system is turned off, so that the power consumption of the instrument system is reduced; meanwhile, the application in the instrument system is stopped or suspended, and hardware resources and a CPU are not occupied, so that the entertainment system sharing the hardware resources with the instrument system can fully use the hardware resources and the CPU of the vehicle machine.
On the basis of the foregoing embodiment, optionally, configuring the virtualized environment after detecting that the power supply is started may include: after detecting that the power supply is started, starting a host machine system; and starting a virtual machine monitor in the host system and configuring a virtualization environment.
After the vehicle starts the power supply, the vehicle machine needs to start the host system in order to start the virtual machine monitor and configure the virtualization environment. Illustratively, the host system may be an operating system of the host. The virtual machine monitor can be software, and plays a role in building a platform for sharing the virtual machine system and the hardware resources of the host machine, so that the virtual machine system can also use the hardware resources of the host machine end. The virtual machine monitor configures the virtual environment in a manner of setting an address of an IP and setting a gateway in the virtual machine monitor. Finally, running the instrumentation system and the entertainment system in a virtualized environment can be viewed as running two new virtual machine systems in the virtual machine monitor, which still occupy the hardware resources and kernel of the host machine.
Optionally, the vehicle control entertainment system remains in a normal operating mode until the user turns off the entertainment system. In addition, considering that the battery capacity may be too low during the use of the entertainment system, the normal use of the vehicle may be affected. Therefore, in some embodiments, the meter system energy saving method may further include: detecting whether the electric quantity of the battery is smaller than an electric quantity threshold value or not in the normal operation process of the entertainment system; if the battery electric quantity is smaller than the electric quantity threshold value, the instrument system is awakened to enter a normal operation mode from the sleep mode, and the instrument system in the normal operation mode prompts that the battery electric quantity is smaller than the electric quantity threshold value.
Specifically, when the battery power is reduced to the power threshold, the host automatically wakes up the kernel of the instrument system, and starts the power alarm program to prompt the user that the power is insufficient.
In this implementation, a power threshold is preset in the vehicle, and the power threshold is used to represent the minimum power when the vehicle can be used normally. The magnitude of the power threshold may be set based on historical experience. Illustratively, the threshold may be 20%.
It should be noted that the electric quantity threshold value may be applicable to the case where only the entertainment system is normally operated, or may be applicable to the case where both the entertainment system and the meter system are normally operated. For example, in the case that only the entertainment system is operating normally, the meter system is in the sleep mode, when the battery power is detected to be less than 20%, the meter system of the vehicle machine is automatically awakened, and the meter system starts the power alarm program to indicate that the power of the driver is insufficient on the dial. Similarly, under the condition that the entertainment system and the instrument system both run normally, when the electric quantity of the vehicle is detected to be less than 20%, the instrument system can start an electric quantity warning program to indicate that the electric quantity of the driver is insufficient on the dial plate. The driver can select charging or power off according to actual conditions. In addition, when the vehicle electric quantity is larger than the threshold value by 20% after recharging, the electric quantity warning program is stopped to be executed, and the indication that the electric quantity on the dial is insufficient disappears.
In addition, the energy saving method for the meter system provided by the embodiment of the application can further comprise the following steps: and if the ignition instruction is detected within the preset time length of timing, controlling the normal operation of the instrument system.
This embodiment describes the case corresponding to S203, that is, the ignition is performed shortly after the driver gets on the vehicle, and at this time, the meter system and the entertainment system both operate normally, and the meter system does not enter the sleep mode.
Still further, the energy saving method for the meter system provided by the embodiment of the application may further include: and if a flameout instruction is detected, controlling the instrument system to enter a sleep mode and controlling the entertainment system to normally operate.
This embodiment is applied to a scenario where the vehicle has been ignited. When the driver stops the vehicle, the instrument system of the vehicle machine automatically enters a sleep mode, the entertainment system still operates normally, and the driver still can access the application in the entertainment system. When the driver turns off the vehicle power, the vehicle is powered off, and all systems are turned off.
In connection with the above embodiments, for example, when a driver gets on a vehicle and turns on a power supply of a vehicle such as an automobile, a host system of the vehicle starts to operate, and a virtual machine monitor is turned on in the host system, and a virtualization environment is configured by the virtual machine monitor. The method comprises the steps that an instrument system and an entertainment system are started in a virtual environment, meanwhile, the instrument system starts a timer for judging whether ignition is carried out or not, if ignition is carried out within preset time, the instrument system and the entertainment system of a vehicle machine run normally, a driver can access applications in the two systems at the same time, for example, the driver can listen to broadcasting or be connected with a mobile phone through Bluetooth to play music, and the current running speed of a vehicle and the temperature outside the vehicle can be obtained through a dial plate in the instrument system. Or if the driver does not ignite within the preset time, the instrument system enters a sleep mode, the dial is backlit, the application in the instrument system is stopped or suspended, the entertainment system is not affected by the fact that the instrument system is closed before, and the driver still can access the application of the entertainment system. When a driver needs to stop and put out the vehicle in the driving process, after the flameout instruction is pressed, the instrument system can automatically enter the sleep mode, the instrument dial is in backlight, and the driver can still access the application of the entertainment system.
It should be emphasized that the premise that the in-vehicle control entertainment system in the above embodiment is always in the normal operation mode is that the user has a need to use the entertainment system, and if the user turns off the entertainment system, the vehicle control entertainment system enters the sleep mode or the off mode.
Fig. 3 is a flowchart of an energy saving method for a meter system according to another embodiment of the present application. Referring to fig. 3, a specific implementation of the energy saving method for an instrumentation system provided by the present application is shown.
S301, starting a vehicle power supply, and electrifying all electronic equipment in the vehicle.
S302, the host machine system is started normally, and the virtual machine monitor virtualization environment is configured by the starting program.
A Host system (Host operating system, abbreviated as Host OS) is defined as an operating system running on physical hardware in a virtual machine monitor virtualization environment. The Guest OS referred to below is defined as a virtual machine operating system running on a virtual machine monitor.
And S303, running an instrument system and an entertainment system by the virtual machine monitor, wherein the instrument system starts a two-minute timer for judging whether the vehicle is ignited or not.
And after the configuration of the virtual environment is finished, normally operating the instrument system and the entertainment system in the virtual environment. The meter system may also be referred to as a meter Guest OS, and the entertainment system may also be referred to as an entertainment Guest OS, among others. Illustratively, the meter system starts a countdown timer that fires or not within two minutes.
S304, ignition or not within two minutes?
If the driver has a driving demand within two minutes and the ignition is performed before the countdown is finished, executing step S305; if the driver has no driving demand for two minutes and has not fired before the countdown, step S308 is executed.
And S305, controlling the normal operation of the instrument system.
After ignition, the instrument system normally runs, the backlight of the instrument panel is turned on, and the application in the instrument system can normally use hardware resources in the host machine. The driver can obtain the speed, the oil mass, the temperature outside the automobile and various information of the automobile through the dial.
And S306, after the vehicle is stopped and flamed out, the instrument system enters a sleep mode.
In the sleep mode, the backlight of the instrumentation system is turned off and access to hardware resources is limited.
When the driver is ignited and flamed out, the instrument system does not need to wait for the timer of 2 minutes to finish timing, and directly and automatically enters the sleep mode.
S307, detecting whether the user turns off the power supply?
If the user turns off the power supply, the whole process is finished; if the user does not turn off the power, S309 is performed.
And S308, controlling the instrument system to enter a sleep mode.
The driver does not carry out ignition operation within two minutes, the instrument system automatically enters a sleep mode, the instrument system is in a low power consumption mode at the moment, the kernel of the instrument system enters a sleep state, and the power consumption of the instrument system running in the sleep mode can be ignored, so that the power consumption problem of the instrument system is solved.
And S309, controlling the entertainment system to operate independently.
At the moment, the entertainment system fully uses the CPU and hardware resources of the car machine, and a user can better experience the in-car entertainment service.
Because the meter system and the entertainment system kernel are independent, the kernel of the entertainment system operates normally. And because the application of the instrument system is stopped or suspended, hardware resources are not occupied, so that the entertainment system can fully use hardware resources such as a CPU (central processing unit), a network and the like, and the problem of blocking caused by the fact that the in-vehicle entertainment system cannot fully use the hardware resources can be solved to a certain extent, thereby increasing the running smoothness of the entertainment system.
S310, whether the battery level is lower than a threshold?
If the battery power is lower than the threshold, step S311 is executed, and if the battery power is not lower than the threshold, the monitoring is continued, and step S309 is continued.
S311, waking up the kernel of the instrument system, operating the electric quantity warning program and prompting the user that the current battery electric quantity is too low.
And the user selects to prepare for charging or close the power supply according to the low-power prompt.
Fig. 4 is a schematic structural diagram of an instrument system energy saving device 400 according to an embodiment of the present application. As shown in fig. 4, the data extraction device includes:
a configuration module 401, configured to configure a virtualized environment after detecting a power supply start instruction; operating the instrument system and the entertainment system in the virtualization environment, and starting timing by the instrument system;
if the ignition instruction is not detected within the preset timed duration, the control module 402 controls the instrument system to enter a sleep mode and controls the entertainment system to normally operate.
In one possible embodiment, the instrumentation system in sleep mode may include at least one of the following states: applications in the instrumentation system are stopped or suspended; the instrument backlight in the instrument system is extinguished.
In a possible implementation, the configuration module 401 may be specifically configured to: after detecting that the power supply is started, starting a host machine system; and starting a virtual machine monitor in the host system and configuring a virtualization environment.
In one possible embodiment, the meter system energy saving device may further include: a detection module 403, configured to detect whether the battery power is less than a power threshold during a normal operation of the entertainment system; if the battery electric quantity is smaller than the electric quantity threshold value, the instrument system is awakened to enter a normal operation mode from a sleep mode through the control module, and the instrument system in the normal operation mode prompts that the battery electric quantity is smaller than the electric quantity threshold value.
In one possible implementation, the control module 402 may be further configured to: and if the ignition instruction is detected within the preset time length of timing, controlling the normal operation of the instrument system.
In one possible implementation, the control module 402 may be further configured to: and if a flameout instruction is detected, controlling the instrument system to enter a sleep mode and controlling the entertainment system to normally operate.
The apparatus provided in the embodiment of the present application may be used to execute the method of the foregoing embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the processing module may be a processing element separately set up, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and a function of the processing module may be called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when some of the above modules are implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor that can call program code. As another example, these modules may be integrated together, implemented in the form of a system-on-a-chip (SOC).
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Illustratively, the electronic device may be provided as a server or a computer. Referring to fig. 5, an electronic device 500 includes a processing component 501 that further includes one or more processors and memory resources, represented by memory 502, for storing instructions, such as applications, that are executable by the processing component 501. The application programs stored in memory 502 may include one or more modules that each correspond to a set of instructions. Furthermore, the processing component 501 is configured to execute instructions to perform any of the above-described method embodiments.
The electronic device 500 may also include a power component 503 configured to perform power management of the electronic device 500, a wired or wireless network interface 504 configured to connect the electronic device 500 to a network, and an input/output (I/O) interface 505. The electronic device 500 may operate based on an operating system, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like, stored in the memory 502.
The application also provides a computer readable storage medium, in which computer execution instructions are stored, and when the processor executes the computer execution instructions, the scheme of the energy saving method for the meter system is realized.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements aspects of the above method of conserving energy in an instrumentation system.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile memory device or 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 or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and readable storage medium may also reside as discrete components in the meter system energy saver apparatus.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. The energy-saving method for the instrument system is applied to a vehicle machine based on a multi-system starting scheme of a virtual machine monitor, and comprises the following steps:
after a power supply starting instruction is detected, configuring a virtualization environment;
operating a meter system and an entertainment system in the virtualized environment, the meter system starting timing;
and if the ignition instruction is not detected within the preset timed duration, controlling the instrument system to enter a sleep mode and controlling the entertainment system to normally operate.
2. The meter system energy saving method according to claim 1, wherein the meter system in the sleep mode comprises at least one of the following states:
an application in the instrumentation system is stopped or suspended;
and the backlight of the instrument in the instrument system is turned off.
3. The meter system energy saving method according to claim 1, wherein the configuring the virtualized environment after detecting the power supply startup comprises:
after detecting that the power supply is started, starting a host machine system;
and starting a virtual machine monitor in the host system and configuring a virtualization environment.
4. The meter system energy saving method according to any one of claims 1 to 3, further comprising:
detecting whether the electric quantity of a battery is smaller than an electric quantity threshold value or not in the normal operation process of the entertainment system;
if the battery electric quantity is smaller than the electric quantity threshold value, awakening the instrument system to enter a normal operation mode from a sleep mode, and prompting that the battery electric quantity is smaller than the electric quantity threshold value by the instrument system in the normal operation mode.
5. The meter system energy saving method according to any one of claims 1 to 3, further comprising:
and if the ignition instruction is detected within the preset time length of timing, controlling the normal operation of the instrument system.
6. The meter system energy saving method according to any one of claims 1 to 3, further comprising:
and if a flameout instruction is detected, controlling the instrument system to enter a deep sleep mode and controlling the entertainment system to normally operate.
7. The utility model provides an instrumentation economizer, its characterized in that is applied to the car machine of the multisystem start-up scheme based on virtual machine monitor, instrumentation economizer includes:
the configuration module is used for configuring the virtualization environment after a power supply starting instruction is detected; and operating a meter system and an entertainment system in the virtualized environment, the meter system starting timing;
and the control module is used for controlling the instrument system to enter a sleep mode and controlling the entertainment system to normally run if the ignition instruction is not detected within the preset timed duration.
8. An electronic device, comprising: a memory and a processor;
the memory is to store program instructions;
the processor is configured to invoke program instructions in the memory to perform the meter system power saving method of any of claims 1-6.
9. A computer-readable storage medium having computer program instructions stored therein which, when executed, implement the meter system energy saving method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, carries out the method for energy saving of an instrumentation system according to any one of the claims 1 to 6.
CN202110833209.6A 2021-07-22 2021-07-22 Energy-saving method and device for instrument system and storage medium Active CN113504825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110833209.6A CN113504825B (en) 2021-07-22 2021-07-22 Energy-saving method and device for instrument system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110833209.6A CN113504825B (en) 2021-07-22 2021-07-22 Energy-saving method and device for instrument system and storage medium

Publications (2)

Publication Number Publication Date
CN113504825A true CN113504825A (en) 2021-10-15
CN113504825B CN113504825B (en) 2022-05-20

Family

ID=78013575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110833209.6A Active CN113504825B (en) 2021-07-22 2021-07-22 Energy-saving method and device for instrument system and storage medium

Country Status (1)

Country Link
CN (1) CN113504825B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6393573B1 (en) * 1999-07-14 2002-05-21 Visteon Global Technologies, Inc. Power management for automotive multimedia system
CN109353294A (en) * 2018-09-26 2019-02-19 重庆金康新能源汽车设计院有限公司 A kind of Full Vehicle System control method and device, car-mounted terminal, storage medium
CN110385991A (en) * 2018-04-16 2019-10-29 比亚迪股份有限公司 Multimedia entertainment system, control method and the vehicle of vehicle

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6393573B1 (en) * 1999-07-14 2002-05-21 Visteon Global Technologies, Inc. Power management for automotive multimedia system
CN110385991A (en) * 2018-04-16 2019-10-29 比亚迪股份有限公司 Multimedia entertainment system, control method and the vehicle of vehicle
CN109353294A (en) * 2018-09-26 2019-02-19 重庆金康新能源汽车设计院有限公司 A kind of Full Vehicle System control method and device, car-mounted terminal, storage medium

Also Published As

Publication number Publication date
CN113504825B (en) 2022-05-20

Similar Documents

Publication Publication Date Title
US10592254B2 (en) Technologies for fast low-power startup of a computing device
US8543164B2 (en) Sleep method, wake method and mobile terminal device
US6393573B1 (en) Power management for automotive multimedia system
CN105824393B (en) System on chip, method for managing power thereof, and electronic device
US6601176B1 (en) Automotive computer system and method whereby responsive to detecting engine cranking main processor enters a suspend mode and current state of devices are stored in volatile memory
CN112208470B (en) Method for realizing low power consumption of equipment and vehicle-mounted terminal
CN109151961B (en) Operation method of mobile terminal, terminal and computer readable storage medium
WO2015058410A1 (en) Adjustment method and boot method for power-off threshold voltage and electronic device thereof
CN110271503B (en) AVN-based power management mode switching control method and device
JP2014503097A (en) Method and system for managing sleep state of an interrupt controller in a portable computing device
WO2014032473A1 (en) Standby method for set top box, standby control device for set top box, and set top box
WO2018059220A1 (en) Application control method and device, and terminal
WO2021227991A1 (en) Charging method and apparatus
CN113504825B (en) Energy-saving method and device for instrument system and storage medium
JP3960800B2 (en) Method of operating a processor-based system for a vehicle
JP2000172384A (en) On-vehicle computer and its control method
CN105653297A (en) Electronic device and control method thereof
CN115139937A (en) Power-on and power-off time sequence control method for vehicle-mounted controller and vehicle-mounted controller
CN108241361B (en) Vehicle power supply control method, controller and vehicle
US20060061331A1 (en) Apparatus and method for controlling system operation based on battery state
CN107613546B (en) BLE chip, control method of designated element in BLE chip and Bluetooth low-power-consumption equipment
CN114967552A (en) Vehicle operation system and method for balancing power consumption and performance
CN115061561A (en) Power saving method, device and system for equipment and storage medium
CN110148992B (en) Charging control method, terminal device and storage medium
WO2020224417A1 (en) Method and apparatus for controlling power consumption of terminal, terminal, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220329

Address after: 430051 No. b1336, chuanggu startup area, taizihu cultural Digital Creative Industry Park, No. 18, Shenlong Avenue, Wuhan Economic and Technological Development Zone, Wuhan, Hubei Province

Applicant after: Yikatong (Hubei) Technology Co.,Ltd.

Address before: 430056 building B, No.7 building, kaidixiexin kechuangyuan, South taizihu innovation Valley, Wuhan Economic and Technological Development Zone, Wuhan City, Hubei Province

Applicant before: HUBEI ECARX TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant