CN114461050A - Device operation method and device, electronic device and computer readable storage medium - Google Patents

Device operation method and device, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN114461050A
CN114461050A CN202011237979.6A CN202011237979A CN114461050A CN 114461050 A CN114461050 A CN 114461050A CN 202011237979 A CN202011237979 A CN 202011237979A CN 114461050 A CN114461050 A CN 114461050A
Authority
CN
China
Prior art keywords
operating system
electric quantity
electronic equipment
processor
equal
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.)
Pending
Application number
CN202011237979.6A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011237979.6A priority Critical patent/CN114461050A/en
Publication of CN114461050A publication Critical patent/CN114461050A/en
Pending legal-status Critical Current

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/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level

Abstract

The application relates to a device operation method, a device, computer equipment and a storage medium. The method comprises the following steps: when the electric quantity of the electronic equipment is larger than a first electric quantity threshold value, the electronic equipment is in a state that a first operating system runs; when the electric quantity of the electronic equipment is smaller than a second electric quantity threshold value, the electronic equipment is in a state of running a second operating system; the first operating system is executed by a first processor and the second operating system is executed by a second processor; the first power threshold is greater than the second power threshold, and the power consumption of the second processor is less than the power consumption of the first processor; when the electric quantity of the electronic equipment is larger than or equal to the second electric quantity threshold value and smaller than or equal to the first electric quantity threshold value, the electronic equipment is in a state that the first operating system and the second operating system run cooperatively. By adopting the method, the cruising ability of the electronic equipment can be improved.

Description

Device operation method and device, electronic device and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a device operation method, an apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of computer technology, more and more electronic devices, such as smart phones, computers, smart bracelets, and the like, appear. Electronic devices require a power source to provide power during operation. When the power of the electronic device is low, the operation of the electronic device may be affected, and even the electronic device may be turned off. Therefore, various techniques for saving power are available during the operation of the electronic device.
However, the conventional equipment operation method still has the problem of low cruising ability.
Disclosure of Invention
The embodiment of the application provides an equipment operation method and device, electronic equipment and a computer readable storage medium, and the endurance of the electronic equipment can be improved.
An apparatus operation method is applied to an electronic apparatus, the electronic apparatus includes a first processor and a second processor, and includes:
when the electric quantity of the electronic equipment is larger than a first electric quantity threshold value, the electronic equipment is in a state that a first operating system runs;
when the electric quantity of the electronic equipment is smaller than a second electric quantity threshold value, the electronic equipment is in a state of running a second operating system;
the first operating system is executed by a first processor and the second operating system is executed by a second processor;
the first power threshold is greater than the second power threshold, and the power consumption of the second processor is less than the power consumption of the first processor;
when the electric quantity of the electronic equipment is larger than or equal to the second electric quantity threshold value and smaller than or equal to the first electric quantity threshold value, the electronic equipment is in a state that the first operating system and the second operating system run cooperatively.
An apparatus operation device applied to an electronic apparatus, the electronic apparatus including a first processor and a second processor, comprising:
the first operating system running module is used for enabling the electronic equipment to be in a first operating system running state when the electric quantity of the electronic equipment is larger than a first electric quantity threshold value;
the second operating system running module is used for enabling the electronic equipment to be in a second operating system running state when the electric quantity of the electronic equipment is smaller than a second electric quantity threshold value; the first operating system is executed by a first processor and the second operating system is executed by a second processor; the first power threshold is greater than the second power threshold, and the power consumption of the second processor is less than the power consumption of the first processor;
and the cooperative operation module is used for enabling the electronic equipment to be in a cooperative operation state of the first operating system and the second operating system when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold.
An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to perform the steps of the device operation method as described above.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method as described above.
According to the device operation method, the device, the electronic device and the computer readable storage medium, when the electric quantity of the electronic device is greater than the first electric quantity threshold value, the electronic device is in the state of operation of the first operating system; when the electric quantity of the electronic equipment is smaller than the second electric quantity threshold value, the electric quantity of the electronic equipment is less, and the electronic equipment is in a state that a second operating system runs; the first operating system is operated by the first processor, the second operating system is operated by the second processor, and the power consumption of the second processor is smaller than that of the first processor, so that the power consumption can be reduced when the electric quantity of the electronic equipment is smaller than a second electric quantity threshold value, and the cruising ability can be improved; when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold, the electric quantity of the electronic equipment is equal, the electronic equipment is in a state that the first operating system and the second operating system operate cooperatively, better operation performance can be guaranteed through the first processor with higher power consumption, the power consumption can be reduced through the second processor, and the cruising ability is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an application environment of a method of operating a device in one embodiment;
FIG. 2 is a flow diagram of a method performed by an apparatus in one embodiment;
FIG. 3 is a flow chart of a method of operation of the apparatus in another embodiment;
FIG. 4 is a flowchart illustrating steps performed in one embodiment when a power level of the electronic device is greater than or equal to a second power threshold and less than or equal to a first power threshold, the electronic device being in a state where a first operating system and a second operating system are operating cooperatively;
FIG. 5 is a flowchart of a method of operating the apparatus in another embodiment;
FIG. 6 is a flowchart of a method of operating the apparatus in another embodiment;
FIG. 7 is a timing diagram illustrating operations of a first operating system and a second operating system in cooperation with each other when a power of an electronic device is greater than or equal to a second power threshold and less than or equal to a first power threshold in one embodiment;
FIG. 8 is a block diagram showing the construction of an apparatus for operating the apparatus according to one embodiment;
fig. 9 is a schematic diagram of an internal structure of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first operating system may be referred to as a second operating system, and similarly, a second operating system may be referred to as a first operating system, without departing from the scope of the present application. Both the first operating system and the second operating system are operating systems, but they are not the same operating system.
Fig. 1 is a schematic diagram of an application environment of a device operation method in one embodiment. As shown in fig. 1, the application environment includes an electronic device 102, and the electronic device 102 includes a first processor and a second processor. The electronic device 102 may detect an amount of power, and when the amount of power of the electronic device is greater than a first power threshold, the electronic device is in a state where a first operating system is running; when the electric quantity of the electronic equipment is smaller than the second electric quantity threshold value, the electronic equipment is in a state of running a second operating system; the first operating system is executed by the first processor, and the second operating system is executed by the second processor; the first electric quantity threshold value is larger than the second electric quantity threshold value, and the power consumption of the second processor is smaller than that of the first processor; when the electric quantity of the electronic equipment is larger than or equal to the second electric quantity threshold value and smaller than or equal to the first electric quantity threshold value, the electronic equipment is in a state that the first operating system and the second operating system run cooperatively. The electronic device may be one of wearing devices such as a smart watch, a smart bracelet, smart glasses, and an earphone, and may also be, but not limited to, various personal computers, notebook computers, smart phones, and tablet computers.
FIG. 2 is a flow diagram of a method performed by an apparatus in one embodiment. As shown in fig. 2, the method is applied to an electronic device including a first processor and a second processor, and includes steps 202 to 206.
Step 202, when the electric quantity of the electronic device is greater than the first electric quantity threshold value, the electronic device is in a state that the first operating system is running.
The amount of power of the electronic device refers to the amount of power remaining in the electronic device. The more power the electronic device has, the longer the electronic device can operate. Alternatively, a power source, such as a battery, may be included in the electronic device, and the power is supplied by the power source in the electronic device. The electronic device may also be powered by an external, stand-alone power source, such as a power bank.
The electronic device includes a first processor and a second processor, a first operating system being executed by the first processor, and a second operating system being executed by the second processor.
The first processor refers to a processor with high power consumption. The second processor refers to a low power consuming processor. The first processor has a higher computational performance than the second processor. A first processor such as a cellcell processor, etc., and a second processor such as an MCU (Microcontroller Unit; micro control Unit), etc.
An Operating System (OS) is a computer program that manages computer hardware and software resources. The operating system needs to handle basic transactions such as managing and configuring memory, prioritizing system resources, controlling input devices and output devices, operating the network, and managing the file system. The operating system also provides an operator interface for the user to interact with the system.
The first operating system refers to an operating system run by the first processor, and accordingly, the first operating system can provide better running performance, such as higher definition of a picture, faster response speed, better sound quality and the like. The first operating System may be an Android System, an iOS (apple mobile device operating System) System, a Windows Phone System, or the like.
The electronic equipment is in a state that the first operating system runs, and the state means that the electronic equipment is controlled by the first operating system. For example, the first operating system is an Android (Android) system, and when the electronic device is in a state in which the Android system runs, the state is controlled by the Android system.
In one embodiment, the electronic device starts a first processor and a second processor, when the electric quantity of the electronic device is larger than a first electric quantity threshold value, the electronic device is in a state that a first operating system runs, a screen is controlled through the first processor, an interface to be displayed is displayed in the screen, and the second processor provides algorithm and database capabilities. Wherein, the second processor provides algorithms such as step counting algorithm, heart rate algorithm, electrocardiogram algorithm, etc. The database of the second processor includes an external memory and a driver for the external memory, and the second processor providing the database capability means that the second processor can retrieve data from the database.
For example, the first processor is a cellcept processor, the second processor is an MCU, the first operating system is an Android system, and when the electric quantity of the electronic device is greater than the first electric quantity threshold, the electronic device is in an operating state of the Android system, and the cellcept processor controls the screen and provides an algorithm and a database capability through the MCU.
In another embodiment, the electronic device starts a first processor, when the electric quantity of the electronic device is greater than a first electric quantity threshold value, the electronic device is in an Android system running state, the first processor controls a screen, and an interface to be displayed is displayed in the screen. The first processor may also provide algorithm and database capabilities. Wherein, the first processor provides algorithms such as step counting algorithm, heart rate algorithm, electrocardiogram algorithm, etc. The database of the first processor includes an external memory and a driver for the external memory, and the first processor providing the database capability means that the first processor can retrieve data from the database.
The first power threshold may be set according to a user's needs. The power threshold may be expressed as a percentage, for example, the first power threshold may be 80%, 90%, 78%, or any other suitable value. The charge threshold may also be represented by a numerical value, such as 100 for the total charge, and the charge threshold may be 80, 90, etc., without limitation.
The electronic equipment detects the electric quantity of the power supply, when the electric quantity of the electronic equipment is larger than the first electric quantity threshold value, the fact that the residual electric quantity of the power supply of the electronic equipment is sufficient can support the electronic equipment to run for a long time, and then the electronic equipment is in a state that the first operating system runs. In the first operating system, complex pictures such as videos and animations can be displayed, complex functions such as game playing and shooting can be realized, and a better interface display effect and fluency can be realized.
Step 204, when the electric quantity of the electronic equipment is smaller than the second electric quantity threshold value, the electronic equipment is in a state of running a second operating system; the first operating system is executed by the first processor, and the second operating system is executed by the second processor; the first power threshold is greater than the second power threshold, and the power consumption of the second processor is less than the power consumption of the first processor.
The second power threshold may be set according to a user's needs, and the first power threshold is greater than the second power threshold. For example, the first power threshold may be 80%, and the second power threshold may be 25%, 30%, or 10%, but is not limited thereto.
The second operating system refers to an operating system run by the second processor. The power consumption of the second processor is low, so that when the electronic equipment is in the state of the second operating system, the electric quantity of the electronic equipment during operation can be saved, and the cruising ability of the electronic equipment is improved. The second operating system is, for example, an RTOS (real-time operating system) system or the like.
The electronic equipment is in a state that the second operating system runs, and the state means that the electronic equipment is controlled by the second operating system. For example, the second operating system is an RTOS system, and when the electronic device is in a state in which the RTOS system is running, the state is controlled by the RTOS system.
In an embodiment, when the electric quantity of the electronic device is smaller than the second electric quantity threshold value, the electronic device starts the second processor, the electronic device is in a state of running the second operating system, the second processor controls the screen, and the interface to be displayed is displayed in the screen. Wherein the second processor also provides algorithm and database capabilities. The second processor provides algorithms such as a step-counting algorithm, a heart rate algorithm, an electrocardiogram algorithm, etc. The database of the second processor includes an external memory and a driver for the external memory, and the second processor providing the database capability means that the second processor can retrieve data from the database.
For example, the first processor is a cellcell, the second processor is an MCU, the second operating system is an RTOS system, and when the electric quantity of the electronic device is smaller than the second electric quantity threshold, the electronic device starts the MCU, the electronic device is in the running state of the RTOS system, and the MCU controls the screen and provides the algorithm and the database capability.
The electronic equipment detects the electric quantity of the power supply, when the electric quantity of the electronic equipment is smaller than the second electric quantity threshold value, the residual electric quantity of the power supply of the electronic equipment is less, the operation of the electronic equipment can be influenced, even the electric quantity is too low to shut down, the electronic equipment is in the state of the operation of the second operating system, the electric quantity can be saved, and the cruising ability of the electronic equipment is improved.
In one embodiment, when the power of the electronic device is less than the second power threshold, a prompt message for prompting the user to charge the electronic device may be generated. The prompt message may be a signal lamp, text message, audio message, vibration, etc. The signal lamp can be used for giving out different colors for prompting, and the different colors can indicate the urgency degree of prompting, such as red for indicating very urgent and yellow for indicating urgent. The text information can be preset, such as 'electric quantity is insufficient, please charge in time'. The audio information may be preconfigured with prompt music or ringing. The vibration may be a preset vibration frequency, or a corresponding vibration frequency may be configured according to the degree of urgency of the prompt.
In one embodiment, when the power of the electronic device is less than the second power threshold, the electronic device shuts down each application running in the background.
Specifically, when the electric quantity of the electronic device is smaller than a second electric quantity threshold value, the electronic device acquires background running time of each application program running in the background, wherein the background running time refers to the time when the application program is switched from foreground running to background running for the last time; and determining a preset number of application programs as first-class application programs from the application programs running in the background according to the sequence of the running time of the background, continuing to run the first-class application programs, taking the application programs except the first-class application programs in the application programs as second-class application programs, and closing the second-class application programs.
The sequence of the background running time may be the sequence of the background running time, or the reverse sequence of the background running time, but is not limited thereto.
It can be understood that the closer the background running time of the application program is to the current time, the higher the probability that the application program is used by the user, the higher the probability that the user uses the application program again, and therefore the application program with the background running time close to the current time can be used as the first type application program, and the first type application program continues to run.
The farther the background running time of the application program is from the current time, the more the application program is used by the user before, and the probability that the user uses the application program again is small, so that the application program with the background running time far from the current time can be used as a second type of application program, and the second type of application program is closed, so that the electric quantity is saved.
For example, when the electric quantity of the electronic device is smaller than the second electric quantity threshold, the background-running applications of the electronic device include A, B, C and D, the background-running time of A is 15:30, the background-running time of B is 15:25, the background-running time of C is 15:32, the background-running time of D is 15:40, and the preset number is 2, then 2 applications are determined from A, B, C, D four applications running in the background-running mode according to the sequence of the background-running times, the applications A and B continue to run, the applications C and D are used as the applications of the second type, and the applications C and D are closed, so that the electric quantity of the electronic device can be saved, and the cruising ability of the electronic device is improved.
And step 206, when the electric quantity of the electronic device is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold, the electronic device is in a state that the first operating system and the second operating system operate cooperatively.
When the electric quantity of the electronic device is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold, the electric quantity of the electronic device is equal, and then the electronic device can be in a state that the first operating system and the second operating system operate cooperatively, that is, the electronic device can control the first operating system and the second operating system to switch, so that the cooperative operation of the first operating system and the second operating system is realized.
For example, the first power threshold is 80%, the second power threshold is 20%, and when the power of the electronic device is 78%, the power is greater than or equal to 20% and less than or equal to 80%, the electronic device may control the first processor to run the first operating system when playing a video, playing an animation, or other pictures with high requirements for definition, that is, the electronic device is in a state where the first operating system runs. And controlling the second processor to operate the second operating system in the screen-saving state and in the browsing of text pages, display dials and other pages with lower requirements on definition, namely, the electronic equipment is in the operating state of the second operating system.
According to the equipment operation method, when the electric quantity of the electronic equipment is larger than the first electric quantity threshold value, the electronic equipment is in a state that a first operating system operates; when the electric quantity of the electronic equipment is smaller than the second electric quantity threshold value, the electric quantity of the electronic equipment is less, and the electronic equipment is in a second operating system running state; the first operating system is operated by the first processor, the second operating system is operated by the second processor, and the power consumption of the second processor is smaller than that of the first processor, so that the power consumption can be reduced when the electric quantity of the electronic equipment is smaller than a second electric quantity threshold value, and the cruising ability can be improved; when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold, the electric quantity of the electronic equipment is equal, the electronic equipment is in a state that the first operating system and the second operating system operate cooperatively, better operation performance can be guaranteed through the first processor with higher power consumption, the power consumption can be reduced through the second processor, and the cruising ability is improved.
In one embodiment, when the power of the electronic device is greater than a first power threshold, the electronic device is in a state where a first operating system is running, and the electronic device is in a first mode; when the electric quantity of the electronic equipment is smaller than the second electric quantity threshold value, the electronic equipment is in a second operating system running state, and the electronic equipment is in a second mode; when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold value and less than or equal to the first electric quantity threshold value, the electronic equipment is in a state that the first operating system and the second operating system run cooperatively, and the electronic equipment is in a third mode; wherein the power consumption of the electronic device in the first mode, the third mode and the second mode is reduced in sequence.
For example, when the electric quantity of the electronic device is greater than 80%, the electronic device is in an Android system running state, and the electronic device is in a first mode; when the electric quantity of the electronic equipment is less than 20%, the electronic equipment is in a state of running the RTOS system, and the electronic equipment runs in a second mode; when the electric quantity of the electronic equipment is greater than or equal to 20% and less than or equal to 80%, the electronic equipment is in a state of cooperative operation of an Android system and an RTOS system, and the electronic equipment is in a third mode; wherein the power consumption of the electronic device in the first mode, the third mode and the second mode is reduced in sequence.
In one embodiment, as shown in fig. 3, the electronic device performs step 302 of detecting an amount of power; step 304 is executed to determine whether the electric quantity is smaller than the second electric quantity threshold, if so, step 306 is executed, and if not, step 308 is executed.
Step 306, enter a second mode. That is, the electronic device is in a state where the second operating system is running.
Step 308, determine whether the power is greater than the first power threshold, if yes, go to step 310, otherwise go to step 312.
Step 310, enter a first mode. That is, the electronic device is in a state where the first operating system is running.
Step 312, enter a third mode. That is to say, when the electric quantity of the electronic device is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold, the electronic device is in a state where the first operating system and the second operating system operate cooperatively.
In this embodiment, when the electric quantity of the electronic device is greater than the first electric quantity threshold, the electronic device is in a state where the first operating system is running, and the electronic device is in the first mode; when the electric quantity of the electronic equipment is smaller than the second electric quantity threshold value, the electric quantity of the electronic equipment is less, the electronic equipment is in a state that a second operating system runs, the electronic equipment is in a second mode, the power consumption of the second processor is smaller than that of the first processor, the power consumption can be reduced when the electric quantity of the electronic equipment is smaller than the second electric quantity threshold value, and the cruising ability is improved; when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold, the electric quantity of the electronic equipment is equal, the electronic equipment is in a state that the first operating system and the second operating system operate cooperatively, the electronic equipment is in the third mode, better operation performance can be guaranteed through the first processor with higher power consumption, the power consumption can be reduced through the second processor, and the cruising ability is improved.
In one embodiment, as shown in fig. 4, when the power of the electronic device is greater than or equal to the second power threshold and less than or equal to the first power threshold, the electronic device is in a state where the first operating system and the second operating system operate cooperatively, including:
step 402, when the electric quantity of the electronic device is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold, and the multimedia information to be output by the electronic device belongs to the first information, the electronic device is in a state of running a second operating system.
Multimedia information refers to the integration of various media information, and may include information in various media forms such as sound, image, text, and the like. The first information refers to multimedia information supported by the second operating system, i.e., multimedia information with low power consumption. For example, the first information may be a picture requiring low definition, a sound having low volume, or the like.
Various first information supported by the second operating system is preset in the electronic equipment, for example, a picture with the definition requirement lower than a preset definition threshold value is set as information output by the second operating system. When the electric quantity of the electronic equipment is larger than or equal to the second electric quantity threshold value and smaller than or equal to the first electric quantity threshold value, the multimedia information to be output by the electronic equipment is matched with the preset first information, when the matching is successful, the multimedia information belongs to the first information, namely the multimedia information is the multimedia information supported by the second operating system, the electronic equipment can be in the running state of the second operating system, and the multimedia information is processed through the second processor, so that the processed multimedia information is output.
In step 404, when the electric quantity of the electronic device is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold, and the multimedia information to be output by the electronic device belongs to the second information, the electronic device is in a state where the first operating system is running.
The second information refers to other multimedia information than the first information. The first information is multimedia information with low power consumption, and the second information is multimedia information with high power consumption. It should be noted that the first operating system may support the first information or the second information.
It can be understood that the electronic device is in a state where the second operating system is running, and can output the multimedia information with low power consumption, and the multimedia information with high power consumption needs to be output through the first operating system. Therefore, when the multimedia information to be output by the electronic device belongs to the second information, that is, the multimedia information is the multimedia information with high power consumption, the electronic device is in the state of the first operating system running, and the multimedia information is processed by the first processor, so that the processed multimedia information is output. The electronic equipment controls the first processor to run the first operating system, so that better running performance can be ensured.
In this embodiment, when the electric quantity of the electronic device is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold, and the multimedia information to be output by the electronic device belongs to the first information, it indicates that the electric quantity of the electronic device is medium, and the multimedia information to be output belongs to information supported by the second operating system, then the electronic device controls the second processor to operate the second operating system, so that the electric quantity can be saved; when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold value and less than or equal to the first electric quantity threshold value, and the multimedia information to be output by the electronic equipment belongs to the second information, the electric quantity of the electronic equipment is equal, and the multimedia information to be output is not the information supported by the first operating system, so that the electronic equipment is in the state of operating the first operating system. The electronic equipment cooperatively operates the first operating system and the second operating system, so that the first processor with higher power consumption can ensure better operation performance, and the second processor can reduce power consumption and improve cruising ability.
In one embodiment, when the power of the electronic device is greater than or equal to the second power threshold and less than or equal to the first power threshold, and the multimedia information to be output by the electronic device belongs to the first information, the electronic device is in a state where the second operating system is running, including: when the electric quantity of the electronic equipment is greater than or equal to a second electric quantity threshold value and less than or equal to a first electric quantity threshold value and multimedia information to be output by the electronic equipment belongs to first information, whether a currently running system is a first operating system is detected; and when the currently running system is the first operating system, switching the currently running system to the second operating system.
When the electric quantity of the electronic equipment is larger than or equal to the second electric quantity threshold value and smaller than or equal to the first electric quantity threshold value and the multimedia information to be output belongs to the first information, whether the currently running system is the first operating system or not is detected, when the currently running system is the first operating system, the currently running system is switched to the second operating system, the electronic equipment is in the running state of the second operating system, the second operating system is run by the second processor, the power consumption of the second processor is low, and the electric quantity of the electronic equipment can be saved.
In another embodiment, when the electric quantity of the electronic device is greater than or equal to a second electric quantity threshold value and less than or equal to a first electric quantity threshold value and multimedia information to be output by the electronic device belongs to first information, whether a currently running system is a first operating system is detected; when the currently running system is not the first operating system, the electronic device continues to be in a state where the second operating system is running.
When the electric quantity of the electronic equipment is greater than or equal to a second electric quantity threshold value and less than or equal to a first electric quantity threshold value and multimedia information to be output by the electronic equipment belongs to first information, whether a currently running system is a first operating system is detected; when the currently running system is not the first operating system, namely the currently running system is the second operating system, the operating systems do not need to be switched, and the electronic equipment is continuously in the running state of the second operating system, so that the running efficiency of the electronic equipment is improved.
In one embodiment, when the power of the electronic device is greater than or equal to the second power threshold and less than or equal to the first power threshold, and the multimedia information to be output by the electronic device belongs to the second information, controlling the first processor to run the first operating system includes: when the electric quantity of the electronic equipment is greater than or equal to a second electric quantity threshold value and less than or equal to a first electric quantity threshold value, and multimedia information to be output by the electronic equipment belongs to second information, detecting whether a currently running system is a second operating system; and when the currently running system is the second operating system, switching the currently running system to the first operating system.
When the electric quantity of the electronic equipment is larger than or equal to the second electric quantity threshold value and smaller than or equal to the first electric quantity threshold value, and the multimedia information to be output by the electronic equipment belongs to the second information, whether the currently running system is the second operating system or not is detected, when the currently running system is the second operating system, the currently running system is switched to the first operating system, the electronic equipment is in the state of the first operating system, and better running performance is realized through the first operating system.
In another embodiment, when the electric quantity of the electronic device is greater than or equal to a second electric quantity threshold value and less than or equal to a first electric quantity threshold value, and multimedia information to be output by the electronic device belongs to second information, whether a currently running system is a second operating system is detected; when the currently running system is not the second operating system, the electronic device continues to be in a state where the first operating system is running.
When the electric quantity of the electronic equipment is greater than or equal to a second electric quantity threshold value and less than or equal to a first electric quantity threshold value, and multimedia information to be output by the electronic equipment belongs to second information, detecting whether a currently running system is a second operating system; when the currently running system is not the second operating system, namely the currently running system is the first operating system, the operating systems do not need to be switched, and the electronic equipment is continuously in the running state of the first operating system, so that the running efficiency of the electronic equipment is improved.
In one embodiment, the multimedia information includes a presentation interface. As shown in fig. 5, when the currently running system is the first operating system, after switching the currently running system to the second operating system, the method further includes:
step 502, acquiring a page and a control element included in a display interface from a memory of a second operating system; the pages and control elements stored in the memory of the second operating system are the same as those stored in the first operating system.
And step 504, displaying the page and the control element corresponding to the page display instruction in a screen of the electronic device through the second operating system.
A presentation interface refers to an interface presented in a screen of an electronic device. The presentation interface may include pages and control elements. Control elements refer to the encapsulation of data and methods. The control elements are page independent and are shown on the screen.
There is a separate memory in each of the first and second operating systems. The data generated and retrieved in the first operating system may be stored in a memory of the first operating system. The memory of the first operating system is for example NOR Flash. The data generated and retrieved in the second operating system may be stored in a memory of the second operating system.
After the electronic device switches the currently running system to the second operating system, the page and the control element included in the display interface are acquired from the memory of the second operating system through the second operating system, and the acquired page and the acquired control element are displayed in the screen of the electronic device through the second operating system.
After the electronic device switches the first operating system to the second operating system, the screen is correspondingly switched from the first operating system to the second operating system. That is to say, before the system is switched, the page and the control element included in the presentation interface are presented in the screen of the electronic device through the first operating system; and after the system is switched, the page and the control element included by the presentation interface are presented in the screen of the electronic equipment through the second operating system. And the page and the control element stored in the memory of the second operating system are the same as those stored in the first operating system, so that in the process of displaying the page and the control element by the first operating system and switching to displaying the page and the control element by the second operating system, the page and the control element displayed on the screen are the same, namely, the page and the control element are switched seamlessly by the user in a non-perception state, and the resource waste caused by viewing the electronic equipment due to the attention of the user in the switching process is avoided.
In another embodiment, the multimedia information includes a presentation interface; when the currently running system is the first operating system, after the currently running system is switched to the second operating system, the method further comprises the following steps: acquiring pages and control elements included in the display interface from the common storage set through a second operating system; the first operating system and the second operating system both acquire the page and the control element from the common storage set; and displaying the page and the control element corresponding to the page display instruction in a screen of the electronic equipment through a second operating system.
A presentation interface refers to an interface presented in a screen of an electronic device. The presentation interface may include a page and a control element. Control elements refer to the encapsulation of data and methods. The control elements are page independent and are presented in the screen.
A common storage set refers to a set of data that both the first operating system and the second operating system can store and retrieve. A common storage set is arranged in the electronic equipment, and data such as pages and control elements included in the display interface are stored in the common storage set.
After the electronic device controls the second processor to run the second operating system, the page and the control element included in the display interface are acquired from the common storage set through the second operating system, and the acquired page and the acquired control element are displayed in a screen of the electronic device through the second operating system.
After the electronic device switches the first operating system to the second operating system, the screen is correspondingly switched from the first operating system to the second operating system. That is to say, before the system is switched, the page and the control element included in the presentation interface are presented in the screen of the electronic device through the first operating system; and after the system is switched, the page and the control element included by the presentation interface are presented in the screen of the electronic equipment through the second operating system. And the first operating system and the second operating system both acquire the page and the control element from the common storage set, and in the process of displaying the page and the control element through the first operating system and switching to displaying the page and the control element through the second operating system, the page and the control element displayed on the screen are the same, that is, the user is in an unaware state to perform seamless switching on the page and the control element, so that the resource waste caused by the fact that the user pays attention to the electronic equipment in the switching process is avoided.
In one embodiment, the multimedia information includes a presentation interface. When the currently running system is the second operating system, after the currently running system is switched to the first operating system, the method further comprises the following steps: acquiring a page and a control element included in a display interface from a memory of a first operating system through the first operating system; the page and control elements stored in the memory of the first operating system are the same as the page and control elements stored in the second operating system; and displaying the page and the control element corresponding to the page display instruction in a screen of the electronic equipment through the first operating system.
A presentation interface refers to an interface presented in a screen of an electronic device. The presentation interface may include a page and a control element. Control elements refer to the encapsulation of data and methods. The control elements are page independent and are presented in the screen.
There is a separate memory in each of the first and second operating systems. The data generated and retrieved in the first operating system may be stored in a memory of the first operating system. The data generated and retrieved in the second operating system may be stored in a memory of the second operating system.
After the electronic equipment controls the first processor to run the first operating system, the page and the control element included in the display interface are acquired from the memory of the first operating system through the first operating system, and the acquired page and the acquired control element are displayed in the screen of the electronic equipment through the first operating system.
After the electronic device switches the second operating system to the first operating system, the screen is correspondingly switched from the second operating system to the first operating system. That is, before the system is switched, the page and the control element included in the presentation interface are presented in the screen of the electronic device through the second operating system; and after the system is switched, the page and the control element included by the presentation interface are presented in the screen of the electronic equipment through the first operating system. And the page and the control element stored in the memory of the first operating system are the same as those stored in the second operating system, so that in the process of displaying the page and the control element by the second operating system and switching to displaying the page and the control element by the first operating system, the page and the control element displayed on the screen are the same, namely, the page and the control element are switched seamlessly by a user in a non-perception state, and the resource waste caused by checking the electronic equipment due to the attention of the user in the switching process is avoided.
In another embodiment, the multimedia information includes a presentation interface; when the currently running system is the second operating system, after the currently running system is switched to the first operating system, the method further comprises the following steps: acquiring pages and control elements included in a display interface from a common storage set through a first operating system; the second operating system and the first operating system both acquire pages and control elements from a common storage set; and displaying the page and the control element corresponding to the page display instruction in a screen of the electronic equipment through the first operating system.
A presentation interface refers to an interface presented in a screen of an electronic device. The presentation interface may include a page and a control element. Control elements refer to the encapsulation of data and methods. The control elements are page independent and are presented in the screen.
A common storage set refers to a set of data that both the first operating system and the second operating system can store and retrieve. A common storage set is arranged in the electronic equipment, and data such as pages and control elements included in the display interface are stored in the common storage set.
After the electronic device controls the first processor to run the first operating system, the page and the control element included in the display interface are acquired from the common storage set through the first operating system, and then the acquired page and the acquired control element are displayed in a screen of the electronic device through the first operating system.
After the electronic device switches the second operating system to the first operating system, the screen is correspondingly switched from the second operating system to the first operating system. That is, before the system is switched, the page and the control element included in the presentation interface are presented in the screen of the electronic device through the second operating system; and after the system is switched, the page and the control element included by the presentation interface are presented in the screen of the electronic equipment through the first operating system. And the second operating system both acquire the page and the control element from the common storage set, and in the process of displaying the page and the control element through the second operating system and switching to displaying the page and the control element through the first operating system, the page and the control element displayed on the screen are the same, that is, the user is in an unaware state to perform seamless switching on the page and the control element, so that the resource waste caused by the fact that the user pays attention to the electronic equipment in the switching process is avoided.
In one embodiment, the display interface includes one of an interface with a display time length longer than a preset time length and an interface corresponding to a difference value between a picture definition when the display is performed through the first operating system and a picture definition when the display is performed through the second operating system smaller than a threshold value.
And if the interface with the display duration longer than the preset duration shows that the display duration of the interface is longer and more electric quantity needs to be consumed, the electronic equipment controls the second processor to operate the second operating system. The preset duration can be set according to needs.
The interface that the duration was greater than the length of time of predetermineeing is showed, for example the running data interface that shows when running, heart rate data interface when detecting the heart rate, the interface of show dial plate etc..
Picture sharpness refers to the degree of picture sharpness. Under the condition of fixed code rate, the image definition is inversely proportional to the image resolution, namely the higher the image resolution is, the lower the image definition is; under the condition of fixed resolution, the picture definition is in direct proportion to the code rate, and the higher the code rate is, the higher the picture definition is.
It can be understood that, when the difference between the image definition of an interface displayed by the first operating system and the image definition of an interface displayed by the second operating system is smaller than the threshold, it indicates that the difference between the image definitions of the interface displayed by the first operating system and the second operating system is smaller, and the electronic device is in a state in which the second operating system with low power consumption is running. Wherein, the threshold value can be set according to the needs of the user.
In one embodiment, the electronic device controlling the second processor to run the second operating system may further include: a display interface of simple animation; a stopwatch timing interface; the electronic device waits for the unlock password interface to be entered. The display interface of the simple animation includes, for example, a display interface of a dial plate state without complex animation, a display interface of a simple number change in a running APP, a display interface of a user contact list in a phone APP, a display interface of text chatting with friends in a social APP, and the like.
In one embodiment, when the power of the electronic device is greater than or equal to the second power threshold and less than or equal to the first power threshold, and the screen of the electronic device is in the screen-saving state, the electronic device is in a state in which the second operating system is running.
The screen-turning-off state refers to a state that the screen normally turns off the backlight and turns off the screen. The power consumption of the screen can be saved when the screen is in the state of the screen.
When the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold value and less than or equal to the first electric quantity threshold value and the screen of the electronic equipment is in the screen-off state, the fact that the residual electric quantity of the electronic equipment is medium is indicated, and an interface does not need to be displayed in the screen of the electronic equipment, so that the electronic equipment is in the state that the second operating system operates, the electric quantity of the electronic equipment can be saved, and the cruising ability of the electronic equipment is improved.
In one embodiment, as shown in fig. 6, when the power of the electronic device is greater than or equal to the second power threshold and less than or equal to the first power threshold, and the multimedia information to be output by the electronic device is the first information, the method further includes, after the electronic device is in a state where the second operating system is running:
at step 602, the first processor is in a sleep state.
The sleep state refers to storing all running real-time data onto the hard disk and turning off all unnecessary hardware for power saving. The first processor is in a sleep state, all running real-time data of the first processor is stored on the hard disk, and all unnecessary hardware supporting the first operating system is shut down for saving power.
When the electric quantity of the electronic device is greater than or equal to the second electric quantity threshold value and less than or equal to the first electric quantity threshold value and the multimedia information to be output by the electronic device belongs to the second information, the electronic device is in a state of running the first operating system, and the method comprises the following steps:
step 604, when the electric quantity of the electronic device is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold, and the multimedia information to be output by the electronic device belongs to the second information, waking up the first processor in the sleep state, and the electronic device being in the state of the first operating system running.
It will be appreciated that it takes a long time after the first processor is shut down when the first processor needs to be restarted. And the first processor is in a dormant state, when the multimedia information belongs to the second information, the first processor in the dormant state can be awakened quickly, and the electronic device can more efficiently control the first processor to run the first operating system and be in the running state of the first operating system.
In one embodiment, the method further comprises: when the power of the electronic device is less than the second power threshold, the first processor is in an off state.
When the electric quantity of the electronic equipment is smaller than the second electric quantity threshold value, the residual electric quantity of the electronic equipment is less, and the first processor is closed, namely the first processor is in a closed state, so that the electric quantity of the electronic equipment can be saved, and the cruising ability of the electronic equipment is improved.
In one embodiment, as shown in fig. 7, when the power of the electronic device is greater than or equal to the second power threshold and less than or equal to the first power threshold, the electronic device is in a state where the first operating system and the second operating system operate cooperatively. When the first processor controls the screen, namely the electronic equipment is in a state of running a first operating system; when the second processor controls the screen, namely the electronic equipment is in a state that the second operating system runs. The following description takes an example of using an exercise app (application) by a user, and the specific process is as follows:
(1) and when the user event is detected to be the hand lifting of the user, the second processor controls the screen to be bright and displays the dial plate selected by the user. When the user event is detected to be that the user clicks a function key, the first processor controls the screen to display the APP list. When detecting that the user event is that the user starts to move by using the motion APP, the first processor controls the screen to display a motion starting complex transition animation.
(2) And after the motion starts and the complex transition animation is displayed, the electronic equipment switches the first operating system to the second operating system, the first processor is in a dormant state, and the second processor controls the screen to display the motion data interface.
(3) When the detected user event is that the user clicks the motion pause button, the second processor controls the screen to display a motion pause interface. And when the detected user event is that the user clicks a motion continuation button, the second processor controls the screen to display a motion data interface. When the user event is detected to be that the user clicks the motion ending button, the electronic equipment wakes up the first processor, and the first processor controls the screen to display the motion ending animation and the dynamic map.
(4) And after the animation is finished and the dynamic map is displayed, the electronic equipment switches the first operating system to the second operating system, the first processor is in a dormant state, and the second processor controls the screen to display the dial plate selected by the user.
According to the equipment operation method, when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold value and less than or equal to the first electric quantity threshold value, the electronic equipment is in the state of cooperative operation of the first operating system and the second operating system, and even if the electronic equipment is in the state of operation of the first operating system, the time that the first processor is in the dormant state can be greatly increased, so that the electric quantity of the electronic equipment can be greatly saved, and the cruising ability of the electronic equipment is greatly improved.
It should be understood that, although the steps in the flowcharts of fig. 2 to 7 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
Fig. 8 is a block diagram of an apparatus operating device according to an embodiment. As shown in fig. 8, there is provided a device operating apparatus 800 applied to an electronic device, the electronic device including a first processor and a second processor, including: a first operating system running module 802, a second operating system running module 804, and a co-running module 806, wherein:
a first operating system running module 802, configured to, when the power of the electronic device is greater than a first power threshold, enable the electronic device to be in a state where a first operating system runs.
A second operating system running module 804, configured to, when the electric quantity of the electronic device is smaller than a second electric quantity threshold, enable the electronic device to be in a second operating system running state; the first operating system is executed by the first processor, and the second operating system is executed by the second processor; the first power threshold is greater than the second power threshold, and the power consumption of the second processor is less than the power consumption of the first processor.
The cooperative operation module 806 is configured to, when the power of the electronic device is greater than or equal to the second power threshold and less than or equal to the first power threshold, enable the electronic device to be in a state where the first operating system and the second operating system cooperatively operate.
When the electric quantity of the electronic equipment is greater than the first electric quantity threshold value, the electronic equipment is in a state of running a first operating system; when the electric quantity of the electronic equipment is smaller than the second electric quantity threshold value, the electric quantity of the electronic equipment is less, and the electronic equipment is in a second operating system running state; the first operating system is operated by the first processor, the second operating system is operated by the second processor, and the power consumption of the second processor is smaller than that of the first processor, so that the power consumption can be reduced when the electric quantity of the electronic equipment is smaller than a second electric quantity threshold value, and the cruising ability can be improved; when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold, the electric quantity of the electronic equipment is equal, the electronic equipment is in a state that the first operating system and the second operating system operate cooperatively, better operation performance can be guaranteed through the first processor with higher power consumption, the power consumption can be reduced through the second processor, and the cruising ability is improved.
In an embodiment, the cooperative operation module 806 is further configured to, when the power of the electronic device is greater than or equal to the second power threshold and less than or equal to the first power threshold, and the multimedia information to be output by the electronic device belongs to the first information, enable the electronic device to be in a state where the second operating system is operating; when the electric quantity of the electronic equipment is larger than or equal to the second electric quantity threshold value and smaller than or equal to the first electric quantity threshold value, and the multimedia information to be output by the electronic equipment belongs to the second information, the electronic equipment is in a state that the first operating system runs.
In an embodiment, the cooperative operation module 806 is further configured to detect whether a currently operating system is a first operating system when the power of the electronic device is greater than or equal to a second power threshold and less than or equal to a first power threshold, and the multimedia information to be output by the electronic device belongs to the first information; and when the currently running system is the first operating system, switching the currently running system to the second operating system.
In an embodiment, the cooperative operation module 806 is further configured to detect whether a currently operating system is a second operating system when the power of the electronic device is greater than or equal to a second power threshold and less than or equal to a first power threshold, and the multimedia information to be output by the electronic device belongs to second information; and when the currently running system is the second operating system, switching the currently running system to the first operating system.
In one embodiment, the multimedia information includes a presentation interface; the device running apparatus 800 further includes a display module, configured to obtain, from a memory of the display module, a page and a control element included in the display interface through a second operating system; the page and the control element stored in the memory of the second operating system are the same as the page and the control element stored in the first operating system; and displaying the page and the control element corresponding to the page display instruction in a screen of the electronic equipment through a second operating system.
In one embodiment, the multimedia information includes a presentation interface; the display module is further used for acquiring pages and control elements included in the display interface from the common storage set through a second operating system; the first operating system and the second operating system both acquire pages and control elements from a common storage set; and displaying the page and the control element corresponding to the page display instruction in a screen of the electronic equipment through a second operating system.
In one embodiment, the display interface includes one of an interface having a display duration longer than a preset duration, and an interface corresponding to a difference between a picture definition when displayed through the first operating system and a picture definition when displayed through the second operating system being smaller than a threshold.
In an embodiment, the second operating system running module 804 is further configured to, when the power of the electronic device is greater than or equal to the second power threshold and less than or equal to the first power threshold, and the screen of the electronic device is in the screen saver state, enable the electronic device to be in a second operating system running state.
In one embodiment, the first processor is in a sleep state; the cooperative operation module 806 is further configured to wake up the first processor in the sleep state when the electric quantity of the electronic device is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold and the multimedia information to be output by the electronic device belongs to the second information, and the electronic device is in the first operating system operation state.
In one embodiment, the device operating apparatus 800 further includes a shutdown module, configured to turn off the first processor when the power of the electronic device is less than the second power threshold.
The division of each module in the device operation apparatus is merely used for illustration, and in other embodiments, the device operation apparatus may be divided into different modules as needed to complete all or part of the functions of the device operation apparatus.
For the specific limitations of the device operation apparatus, reference may be made to the above limitations of the device operation method, which are not described herein again. The various modules in the above described apparatus operation device may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 9 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 9, the electronic device includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement a method for operating a device provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The electronic device may be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and a wearable device.
The implementation of each module in the device operation apparatus provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. Program modules constituted by such computer programs may be stored on the memory of the electronic device. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform steps of a device to perform a method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a method for a device to perform.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (13)

1. The device operation method is applied to an electronic device, wherein the electronic device comprises a first processor and a second processor, and comprises the following steps:
when the electric quantity of the electronic equipment is larger than a first electric quantity threshold value, the electronic equipment is in a state that a first operating system runs;
when the electric quantity of the electronic equipment is smaller than a second electric quantity threshold value, the electronic equipment is in a state of running a second operating system;
the first operating system is executed by a first processor and the second operating system is executed by a second processor;
the first power threshold is greater than the second power threshold, and the power consumption of the second processor is less than the power consumption of the first processor;
when the electric quantity of the electronic equipment is larger than or equal to the second electric quantity threshold value and smaller than or equal to the first electric quantity threshold value, the electronic equipment is in a state that the first operating system and the second operating system run cooperatively.
2. The method of claim 1, wherein when the power of the electronic device is greater than or equal to the second power threshold and less than or equal to the first power threshold, the electronic device is in a state where the first operating system and the second operating system are operating cooperatively, comprising:
when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold value and less than or equal to the first electric quantity threshold value, and the multimedia information to be output by the electronic equipment belongs to the first information, the electronic equipment is in a state of running a second operating system;
and when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold value and less than or equal to the first electric quantity threshold value and the multimedia information to be output by the electronic equipment belongs to second information, the electronic equipment is in a state of running a first operating system.
3. The method of claim 2, wherein when the power of the electronic device is greater than or equal to the second power threshold and less than or equal to the first power threshold and the multimedia information to be output by the electronic device belongs to the first information, the electronic device is in a state where a second operating system is running, comprising:
when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold value and less than or equal to the first electric quantity threshold value and multimedia information to be output by the electronic equipment belongs to first information, whether a currently running system is the first operating system is detected;
and when the currently running system is the first operating system, switching the currently running system to the second operating system.
4. The method of claim 2, wherein when the power of the electronic device is greater than or equal to the second power threshold and less than or equal to the first power threshold and the multimedia information to be output by the electronic device belongs to second information, the electronic device is in a state where a first operating system is running, comprising:
when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold value and less than or equal to the first electric quantity threshold value, and multimedia information to be output by the electronic equipment belongs to second information, detecting whether a currently running system is the second operating system;
and when the currently running system is the second operating system, switching the currently running system to the first operating system.
5. The method of claim 3, wherein the multimedia information comprises a presentation interface;
when the currently running system is the first operating system, after the currently running system is switched to the second operating system, the method further includes:
acquiring the page and the control element included in the display interface from a memory of the second operating system; the page and control elements stored in the memory of the second operating system are the same as the page and control elements stored in the first operating system;
and displaying the page and the control element corresponding to the page display instruction in a screen of the electronic equipment through the second operating system.
6. The method of claim 3, wherein the multimedia information comprises a presentation interface;
when the currently running system is the first operating system, after the currently running system is switched to the second operating system, the method further includes:
acquiring pages and control elements included by the display interface from a common storage set through the second operating system; the first operating system and the second operating system both acquire pages and control elements from the common storage set;
and displaying the page and the control element corresponding to the page display instruction in a screen of the electronic equipment through the second operating system.
7. The method according to claim 5 or 6, wherein the presentation interface comprises one of an interface having a presentation time length longer than a preset time length and an interface corresponding to a difference value between the screen definition when presented by the first operating system and the screen definition when presented by the second operating system being smaller than a threshold value.
8. The method of claim 1, further comprising:
and when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold value and less than or equal to the first electric quantity threshold value and the screen of the electronic equipment is in a screen-turning state, the electronic equipment is in a state of running a second operating system.
9. The method of claim 2, wherein when the power of the electronic device is greater than or equal to the second power threshold and less than or equal to the first power threshold and the multimedia information to be output by the electronic device is the first information, the electronic device is in a state where a second operating system is running, further comprising:
the first processor is in a sleep state;
when the electric quantity of the electronic device is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold and the multimedia information to be output by the electronic device belongs to second information, the electronic device is in a state of running a first operating system, and the method comprises the following steps:
when the electric quantity of the electronic equipment is larger than or equal to the second electric quantity threshold value and smaller than or equal to the first electric quantity threshold value, and the multimedia information to be output by the electronic equipment belongs to second information, the first processor in the dormant state is awakened, and the electronic equipment is in a state that a first operating system runs.
10. The method of claim 1, further comprising:
when the electric quantity of the electronic equipment is smaller than a second electric quantity threshold value, the first processor is in a closed state.
11. An apparatus operating device, applied to an electronic apparatus including a first processor and a second processor, includes:
the first operating system running module is used for enabling the electronic equipment to be in a first operating system running state when the electric quantity of the electronic equipment is larger than a first electric quantity threshold value;
the second operating system running module is used for enabling the electronic equipment to be in a second operating system running state when the electric quantity of the electronic equipment is smaller than a second electric quantity threshold value; the first operating system is executed by a first processor and the second operating system is executed by a second processor; the first power threshold is greater than the second power threshold, and the power consumption of the second processor is less than the power consumption of the first processor;
and the cooperative operation module is used for enabling the electronic equipment to be in a cooperative operation state of the first operating system and the second operating system when the electric quantity of the electronic equipment is greater than or equal to the second electric quantity threshold and less than or equal to the first electric quantity threshold.
12. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program, wherein the computer program, when executed by the processor, causes the processor to carry out the steps of the method of operating the device according to any one of claims 1 to 10.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 10.
CN202011237979.6A 2020-11-09 2020-11-09 Device operation method and device, electronic device and computer readable storage medium Pending CN114461050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011237979.6A CN114461050A (en) 2020-11-09 2020-11-09 Device operation method and device, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011237979.6A CN114461050A (en) 2020-11-09 2020-11-09 Device operation method and device, electronic device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114461050A true CN114461050A (en) 2022-05-10

Family

ID=81404844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011237979.6A Pending CN114461050A (en) 2020-11-09 2020-11-09 Device operation method and device, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114461050A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281249A (en) * 2013-07-12 2015-01-14 联想(北京)有限公司 Multimedia file state switching method and electronic device
CN105260236A (en) * 2015-09-22 2016-01-20 惠州Tcl移动通信有限公司 Mobile terminal and performance adjustment method of processor of mobile terminal
CN106604369A (en) * 2016-10-26 2017-04-26 惠州Tcl移动通信有限公司 Terminal device with dual-mode switching function
CN108762467A (en) * 2018-05-10 2018-11-06 Oppo广东移动通信有限公司 Application processing method, device, electronic equipment and computer readable storage medium
US20200012271A1 (en) * 2017-04-19 2020-01-09 Samsung Electronics Co., Ltd. Electronic device and method for controlling operation of electronic device
CN110825207A (en) * 2019-10-24 2020-02-21 出门问问信息科技有限公司 Wearable device and control method thereof
CN111314999A (en) * 2020-01-16 2020-06-19 深圳市和盈互联科技有限公司 Switching method and device for dual-system communication and readable storage medium
CN111836187A (en) * 2020-06-16 2020-10-27 出门问问信息科技有限公司 Data processing method, device and system and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281249A (en) * 2013-07-12 2015-01-14 联想(北京)有限公司 Multimedia file state switching method and electronic device
CN105260236A (en) * 2015-09-22 2016-01-20 惠州Tcl移动通信有限公司 Mobile terminal and performance adjustment method of processor of mobile terminal
CN106604369A (en) * 2016-10-26 2017-04-26 惠州Tcl移动通信有限公司 Terminal device with dual-mode switching function
US20200012271A1 (en) * 2017-04-19 2020-01-09 Samsung Electronics Co., Ltd. Electronic device and method for controlling operation of electronic device
CN108762467A (en) * 2018-05-10 2018-11-06 Oppo广东移动通信有限公司 Application processing method, device, electronic equipment and computer readable storage medium
CN110825207A (en) * 2019-10-24 2020-02-21 出门问问信息科技有限公司 Wearable device and control method thereof
CN111314999A (en) * 2020-01-16 2020-06-19 深圳市和盈互联科技有限公司 Switching method and device for dual-system communication and readable storage medium
CN111836187A (en) * 2020-06-16 2020-10-27 出门问问信息科技有限公司 Data processing method, device and system and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10209766B2 (en) Displaying method in low power mode and electronic device supporting the same
US20180321892A1 (en) Electronic device comprising plurality of displays and method for operating same
CN105938699B (en) Electronic device and method for reducing aging
JP6328762B2 (en) Method and apparatus for reminding in shutdown state
US10347221B2 (en) Electronic device and method for controlling display thereof
KR20160057028A (en) Display driving method, display driver integrated circuit, and an electronic device comprising thoseof
US11016853B2 (en) Method for displaying time information in low power state and electronic device including the same
CN110032321B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN110032266B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN114968375A (en) System switching method and device, electronic equipment and readable storage medium
US20130132750A1 (en) Electronic device and method for updating a time identifier associated therewith
CN114020197B (en) Cross-application message processing method, electronic device and readable storage medium
JP2019527822A (en) Time display method and smart watch
CN112988030B (en) Terminal control method, device, terminal and storage medium
CN111045507B (en) List management and control method, device, mobile terminal and storage medium
WO2023124634A1 (en) Display method and apparatus, electronic device, and storage medium
CN114461050A (en) Device operation method and device, electronic device and computer readable storage medium
EP3043252A1 (en) Method and electronic device for displaying electronic document
EP3223087B1 (en) Display control method and terminal device
CN114785887A (en) Screen projection control method and device, electronic equipment and computer readable storage medium
CN114253385A (en) Power consumption management method and device of mobile terminal and computer readable storage medium
CN114461053A (en) Resource scheduling method and related device
CN111857871A (en) Application starting method, terminal and computer storage medium
CN114816031B (en) Power saving method for terminal equipment, terminal equipment and medium
CN114879833A (en) Alarm clock implementation method and device, electronic equipment and 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