CN105700667A - Application operation method and electronic device - Google Patents
Application operation method and electronic device Download PDFInfo
- Publication number
- CN105700667A CN105700667A CN201610105700.6A CN201610105700A CN105700667A CN 105700667 A CN105700667 A CN 105700667A CN 201610105700 A CN201610105700 A CN 201610105700A CN 105700667 A CN105700667 A CN 105700667A
- Authority
- CN
- China
- Prior art keywords
- frequency
- application
- preset frequency
- processor
- electronic equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/324—Power saving characterised by the action undertaken by lowering clock frequency
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The invention discloses an application operation method applied to an electronic device. The electronic device comprises a processor and a battery. The method includes the steps that a first application is determined; a first preset frequency is determined according to a preset strategy; the processor runs the first application with the first preset frequency as start work frequency, wherein the first preset frequency is lower than maximum work frequency of the processor.
Description
The divisional application that this divisional application is the applying date, and to be on January 31st, 2012, application number be 201210021360.0, denomination of invention is " application operation method and electronic equipment "。
Technical field
The present invention relates to the field of electronic equipment, and be specifically related to a kind of electronic equipment and be applied to the application operation method of this electronic equipment。
Background technology
In recent years, along with the development of electronic technology, the running frequency of the processor used in the electronic equipment of such as mobile phone and computer (such as central processing unit CPU) is more and more higher, thus providing the calculating and disposal ability that constantly strengthen。But, along with the raising of the running frequency of processor, the power consumption of processor is consequently increased, and causes that the battery life of the electronic equipment of such as mobile phone and computer shortens, thus limiting portability and the practicality of electronic equipment。
At present, in order to reduce the power consumption of processor, it is common to use method be make processor support frequency reducing use。Existing drop processor frequency method usually carrys out frequency reducing according to the type applied。Such as, for the processor of smart mobile phone, as when running talk application, processor starts application with lower frequency and runs, and when application game application, processor starts application with upper frequency and runs。But, such drop processor frequency method is left out the load needs that application is actual, for instance for 3D game and common 2D game, and processor all starts application with altofrequency and runs, and actually common 2D game is not required to altofrequency startup optimization。Additionally, user also cannot as required active accommodation processor for the startup optimization frequency of application-specific。Therefore, desirable to provide a kind of application operation method being applied to electronic equipment, make it possible to determine the startup operating frequency for application based on predetermined policy, in order to dynamically adjust the operating frequency of processor according to the actual loading of user's request and application thus reducing the power consumption of electronic equipment。
Summary of the invention
According to embodiments of the present invention, it is provided that a kind of application operation method, being applied to electronic equipment, described electronic equipment includes processor and battery, and described method comprises determining that the first application;The first preset frequency is determined according to predetermined policy;And described processor is with described first preset frequency for starting operating frequency, run the first application;Wherein, described first preset frequency is lower than the maximum operation frequency of described processor。
Additionally, application operation method according to embodiments of the present invention, wherein determine that the first preset frequency includes according to predetermined policy: determine described first preset frequency according to described first application。
Additionally, application operation method according to embodiments of the present invention, wherein determine that the first preset frequency includes according to predetermined policy: gather the battery information of described battery;Obtain described battery information and operating frequency corresponding relation;And determine described first preset frequency corresponding with described battery information with described corresponding relation according to described battery information。
Additionally, application operation method according to embodiments of the present invention, wherein said first application includes leader and funtion part, and described foundation predetermined policy determines that the first preset frequency includes: described leader determines the first preset frequency according to predetermined policy;Described processor, with described first preset frequency for starting operating frequency, runs the first application and includes: described processor, with described first preset frequency for starting operating frequency, runs the funtion part of described first application。
Additionally, application operation method according to embodiments of the present invention, wherein said leader determines that the first preset frequency includes: described leader revises the first predetermined value of the first depositor by interface;Described processor reads described first predetermined value in described first depositor;And running voltage is set to the predetermined voltage corresponding with described first predetermined value by described processor, wherein, described first preset frequency corresponds to described predetermined voltage。
Additionally, application operation method according to embodiments of the present invention, wherein said leader determines that the first preset frequency includes: described leader revises the second predetermined value of the second depositor by interface;Described processor reads described second predetermined value in described second depositor;And operating frequency is set to the value corresponding with described second predetermined value by described processor with the ratio of external crystal-controlled oscillation frequency。
Additionally, application operation method according to embodiments of the present invention, wherein determine that the first preset frequency includes according to predetermined policy: receive the instruction of user's input of described electronic equipment;And the frequency corresponding with described instruction is defined as described first preset frequency。
Additionally, application operation method according to embodiments of the present invention, wherein determine that the first preset frequency includes according to predetermined policy: obtain the second frequency corresponding with described first application;Obtain the 3rd frequency of current processor;Relatively described second frequency and the 3rd frequency, and the bigger frequency in both is defined as described first preset frequency。
Additionally, application operation method according to embodiments of the present invention, also include: gather the status information of described electronic equipment;Judge whether described status information meets predetermined condition;When a predetermined condition is satisfied, it is thus achieved that the corresponding relation of the operating frequency of described status information and described processor;And according to described corresponding relation, the 4th frequency to be different from described first preset frequency runs described first application。
According to another embodiment of the present invention, it is provided that a kind of electronic equipment, including: unit is determined in application, is used for determining the first application;Frequency determinative elements, for determining the first preset frequency according to predetermined policy;And processing unit, for described first preset frequency for starting operating frequency, running the first application;Wherein, described first preset frequency is lower than the maximum operation frequency of described processing unit。
Additionally, electronic equipment according to embodiments of the present invention, wherein said frequency determinative elements determines described first preset frequency according to described first application。
Additionally, electronic equipment according to embodiments of the present invention, also include: battery information collecting unit, for gathering the battery information of described electronic equipment;Corresponding relation determines unit, is used for obtaining described battery information and operating frequency corresponding relation;Wherein, described frequency determinative elements determines described first preset frequency corresponding with described battery information according to described battery information with described corresponding relation。
In addition, electronic equipment according to embodiments of the present invention, wherein said first application includes leader and funtion part, wherein, according to predetermined policy, described frequency determinative elements determines that the first preset frequency includes: described frequency determinative elements loads described leader, in order to determine the first preset frequency according to predetermined policy;And described processing unit is with described first preset frequency for starting operating frequency, runs the first application and include: described processing unit, with described first preset frequency for starting operating frequency, runs the funtion part of described first application。
In addition, electronic equipment according to embodiments of the present invention, also include the first register cell, wherein said frequency determinative elements loads described leader, in order to determine that the first preset frequency includes according to predetermined policy: described leader revises the first predetermined value of described first register cell by interface;Described frequency determinative elements reads described first predetermined value in described first register cell;And the running voltage of described processing unit is set to the predetermined voltage corresponding with described first predetermined value by described frequency determinative elements, wherein, described first preset frequency corresponds to described predetermined voltage。
In addition, electronic equipment according to embodiments of the present invention, also include the second register cell, wherein said frequency determinative elements loads described leader, in order to determine that the first preset frequency includes according to predetermined policy: described leader revises the first predetermined value of described first register cell by interface;Described frequency determinative elements reads described second predetermined value in described second register cell;And the operating frequency of described processing unit is set to the value corresponding with described second predetermined value by described frequency determinative elements with the ratio of external crystal-controlled oscillation frequency。
Additionally, electronic equipment according to embodiments of the present invention, also include input block, according to predetermined policy, wherein said frequency determinative elements determines that the first preset frequency includes: received the instruction of user's input of described electronic equipment by described input block;And the frequency corresponding with described instruction is defined as described first preset frequency by described frequency determinative elements。
Additionally, electronic equipment according to embodiments of the present invention, according to described first application, wherein said frequency determinative elements determines that described first preset frequency includes: described frequency determinative elements obtains the second frequency corresponding with described first application;Described frequency determinative elements obtains the 3rd frequency of presently described processing unit;The more described second frequency of described frequency determinative elements and the 3rd frequency, and the bigger frequency in both is defined as described first preset frequency。
Additionally, electronic equipment according to embodiments of the present invention, also including status information capture unit, for gathering the status information of described electronic equipment, wherein, described frequency determinative elements judges whether described status information meets predetermined condition;When a predetermined condition is satisfied, described frequency determinative elements obtains the corresponding relation of the operating frequency of described status information and described processing unit;And described processing unit is according to described corresponding relation, the 4th frequency to be different from described first preset frequency runs described first application。
According to still another embodiment of the invention, it is provided that a kind of electronic equipment, including processor;And battery, wherein, the first application determined by described processor, determines the first preset frequency according to predetermined policy, and with described first preset frequency for starting operating frequency, runs the first application;Wherein, described first preset frequency is lower than the maximum operation frequency of described processor。
Additionally, electronic equipment according to embodiments of the present invention, according to predetermined policy, wherein said processor determines that the first preset frequency includes: described processor determines described first preset frequency according to described first application。
Additionally, electronic equipment according to embodiments of the present invention, according to predetermined policy, wherein said processor determines that the first preset frequency includes: gather the battery information of described battery;Obtain described battery information and operating frequency corresponding relation;And determine described first preset frequency corresponding with described battery information with described corresponding relation according to described battery information。
In addition, electronic equipment according to embodiments of the present invention, wherein said first application includes leader and funtion part, and according to predetermined policy, described processor determines that the first preset frequency includes: load described leader, in order to determine the first preset frequency according to predetermined policy;Described processor, with described first preset frequency for starting operating frequency, runs the first application and includes: described processor, with described first preset frequency for starting operating frequency, runs the funtion part of described first application。
Additionally, electronic equipment according to embodiments of the present invention, wherein load described leader, in order to determine that the first preset frequency includes: described leader revises the first predetermined value of the first depositor by interface;Described processor reads described first predetermined value in described first depositor;And running voltage is set to the predetermined voltage corresponding with described first predetermined value by described processor, wherein, described first preset frequency corresponds to described predetermined voltage。
Additionally, electronic equipment according to embodiments of the present invention, wherein load described leader, in order to determine that the first preset frequency includes: described leader revises the second predetermined value of the second depositor by interface;Described processor reads described second predetermined value in described second depositor;And operating frequency is set to the value corresponding with described second predetermined value by described processor with the ratio of external crystal-controlled oscillation frequency。
Additionally, electronic equipment according to embodiments of the present invention, according to predetermined policy, described processor determines that the first preset frequency includes: described processor receives the instruction of user's input of described electronic equipment;And the frequency corresponding with described instruction is defined as described first preset frequency。
In addition, electronic equipment according to embodiments of the present invention, according to predetermined policy, described processor determines that the first preset frequency includes: described processor obtains the second frequency corresponding with described first application, obtain the 3rd frequency of current processor, relatively described second frequency and the 3rd frequency, and the bigger frequency in both is defined as described first preset frequency。
Additionally, electronic equipment according to embodiments of the present invention, wherein, described processor gathers the status information of described electronic equipment;Judge whether described status information meets predetermined condition;When a predetermined condition is satisfied, it is thus achieved that the corresponding relation of the operating frequency of described status information and described processor;And according to described corresponding relation, the 4th frequency to be different from described first preset frequency runs described first application。
Application operation method according to embodiments of the present invention and electronic equipment, achieving and determine the startup operating frequency for application based on predetermined policy, in order to dynamically adjusting the operating frequency of processor according to the actual loading of user's request and application thus reducing the power consumption of electronic equipment。
It being understood that general description above and detailed description below are both illustrative of, and be intended to provide further illustrating of the technology claimed。
Accompanying drawing explanation
Fig. 1 is the block diagram of the main configuration illustrating electronic equipment according to embodiments of the present invention;
Fig. 2 is the flow chart illustrating application operation method according to embodiments of the present invention;
Fig. 3 is the flow chart that the application operation method illustrated according to embodiments of the present invention determines the process of the first preset frequency;And
Fig. 4 is the flow chart that the application operation method illustrated according to embodiments of the present invention determines another process of the first preset frequency。
Detailed description of the invention
Hereinafter, by preferred embodiments of the present invention will be described in detail with reference to the annexed drawings。
First, with reference to Fig. 1, electronic equipment according to embodiments of the present invention will be described。Described electronic equipment is preferably e.g. smart mobile phone, personal digital assistant, palm PC etc.。It should be noted that those of ordinary skill in the art is it is easily understood that Fig. 1 only illustrates the parts being closely related with technical solution of the present invention, and not shown other parts are (such as, display unit, input block etc.), and its specific descriptions will be omitted at this。
As it is shown in figure 1, electronic equipment 100 according to embodiments of the present invention mainly includes processor unit 101, register cell 102 and power supply unit 103。Specifically, described processor unit 101 runs the operating system of electronic equipment 100 (such asDeng) and various application。Described register cell 102 is for storing the relevant information needed for arranging the operating frequency of described processor unit 101。
In a preferred embodiment of the invention, described processor unit 101 is the processor under ARM system framework, and it more pursues the saving for power consumption than the processor of general X86 system。Certainly, the invention is not restricted to this, but can apply to the processor under various system architecture。By control, the height of the supply voltage of described processor unit 101 can be controlled its operating frequency。Therefore, it can the supply voltage of the processor cores by configuring PMU (Power Management Unit, Fig. 1 is not shown) and the operating frequency of correspondence is set。The technique produced due to processor chips is different, it is possible to the voltage of reception is different, and the frequency of correspondence is also different。Described register cell 102 is for storing the supply voltage of processor and the corresponding relation of its operating frequency。Such as, in a preferred embodiment of the invention, assume the processor working frequency of 1.2V supply voltage correspondence 1200MHz, then supply voltage and the processor working frequency respective value table of about 12 grades can be set, and be stored in corresponding register cell 102。In the case, the storage content of described register cell 102 is as shown in table 1 below:
Table 1
Owing to processor supply voltage can not be too low, otherwise processor can not steady operation, therefore can under the premise of processor steady operation, it is determined that its operating frequency。It is determined by the frequency values that different voltage is corresponding, therefore when its live load is determined in application, it is possible to directly set corresponding magnitude of voltage, make up to the operating frequency of correspondence。It addition, in another preferred embodiment of the present invention, it is also possible in register cell 102, increase a force bit, when this force bit is effective, even if restriction live load reduces, as long as this application is also running, be maintained for stable operating frequency。If it is invalid that this force bit is set to, then dynamically can adjust within the scope of upper operational frequency limit according to the actual loading of application。Such as obtaining different voltage by arranging register cell 102 (such as, the OUTPWR depositor of PMU), register cell 102 can be 5 bits, and wherein a high position is force bit, and latter four is different output voltage values。As forced to be set to 1000MHz, then this depositor could be arranged to 11101。
In another preferred embodiment of the invention, it is possible to by arranging the ratio of the PLL (phaselocked loop) operating frequency Yu external crystal-controlled oscillation frequency to control described processor unit 101, the operating frequency of described processor unit 101 is set。In the preferred embodiment, described register cell 102 is the register cell for arranging PLL。Described register cell 102 can include lower column register: PLLCON, PLLCFG, PLLSTAT and PLLFEED。Wherein, PLLCON depositor comprises the position enabling connection PLL, namely for controlling whether PLL is attached。This connects needs just to come into force when sending correct information (feed sequence) to PLLFEED, even if otherwise will enable position, position, PLL is without being connected in circuit。Therefore, PLLCON just must set before PLL starts to connect, and otherwise can cause the unpredictable mistake of system。PLLCFG depositor is used for arranging Clock Multiplier Factor M and divide ratio N。The two value determines the frequency of frequency multiplication and frequency dividing。The processor unit 101 Clock Multiplier Factor M to outside crystal oscillator frequency can be set, if external crystal-controlled oscillation frequency is 30MHZ, so can arrange Clock Multiplier Factor M is 10,20,30,40 etc., makes the frequency of processor unit 101 respectively reach 300MHZ, 600MHZ, 900MHZ, 1200MHZ。PLLSTAT depositor is for storing and read the value of PLLCON, PLLCFG, but is sent in the feed sequence of PLLFEED, and PLLCON, PLLCFG just can read correct value after coming into force。PLLFEED depositor is for being written to feed sequence with the continuous print VPB bus cycles。After correct sequence is written into PLLFEED, PLLCON, PLLCFG just come into force, thus PLL circuit could correct being connected in circuit。
The foregoing describe the value being modified described register cell 102 and carry out two kinds of detailed description of the invention of given processor task frequency。In a preferred embodiment of the invention, the developer of application pre-sets a leader in the application in the development process of described application, described leader is for revising described register cell 102 by the API (application programming interfaces) of standard, in order to the operating frequency of given processor unit 101。
Said supply unit 103 is for powering for described electronic equipment 100。In a preferred embodiment of the invention, described power supply 102 can be battery。
In another preferred embodiment of the invention, described electronic equipment 100 also includes state acquisition unit, for gathering the status information of described electronic equipment 100 (such as, system load state and battery status information etc.), in order to the operating frequency of described processor unit 101 is dynamically set according to the status information of described electronic equipment 100 after application runs。
It follows that the application operation method being used for electronic equipment 100 according to the embodiment of the present invention will be described with reference to Fig. 2。
Fig. 2 is the flow chart illustrating application operation method according to embodiments of the present invention。
Application operation method according to embodiments of the present invention includes:
In step s 201, the processing unit 101 of described electronic equipment 100 determines the first application to run。Such as, in a preferred embodiment of the invention, when the user of described electronic equipment 100 provides, by input block (not shown in figure 1), the instruction running application, first application corresponding with described user instruction determined by described electronic equipment 100。In addition, in another preferred embodiment of the invention, the processing unit 101 of described electronic equipment 100 detects whether to meet applications trigger condition, if described processing unit 101 judges to meet a certain applications trigger condition (such as, judge whether to meet the trigger condition of alarm clock application according to system time), then described processing unit 101 determines that the application corresponding with met applications trigger condition is applied as described first。
In step S202, determine the first preset frequency according to predetermined policy。
Specifically, in a preferred embodiment of the invention, determine that the first preset frequency includes according to determined first application in step s 201 according to predetermined policy, it is determined that its corresponding described first preset frequency。But, the invention is not restricted to this embodiment。
In another preferred embodiment of the invention, determine that the first preset frequency includes being gathered the battery information of said supply unit 103 (such as battery) by described state acquisition unit according to predetermined policy, to obtain the corresponding relation of the operating frequency of described battery information and processor unit 101, thus determining described first preset frequency corresponding with described battery information with described corresponding relation according to described battery information。
Additionally, in another preferred embodiment of the present invention, it is also possible to specified described first preset frequency by user。It is to say, described electronic equipment 100 is after determining described first application, receives the instruction of user's input, and the frequency corresponding with described instruction is defined as described first preset frequency。Specifically, described first application determined in step s 201 can provide the user a processing unit operating frequency and arranges interface, and user can be operated by described operating frequency and arrange interface and conveniently set up the operating frequency of processor unit 101。Additionally, user can also carry out input service frequency configuration instruction by different triggering modes。Such as, if the icon of the first application that user click to start, then the operating frequency running the processor unit 101 of the first application is set to low frequency, on the contrary, if user double-clicks the icon of the first application to start, then the operating frequency running the processor unit 101 of the first application is set to altofrequency。Similarly, difference in functionality key can be set on described electronic equipment 100, when user presses the first function key to start the first application, the operating frequency running the processor unit 101 of the first application is set to low frequency, when user presses the second function key to start the first application, the operating frequency running the processor unit 101 of the second application is set to altofrequency。
In step S203, described processor unit 101, using described first preset frequency determined in step S202 as starting operating frequency, runs described first application。It should be noted that described first preset frequency is equal to or less than the maximum operation frequency of described processor unit 101。That is, it is achieved that determine the startup operating frequency for application based on predetermined policy, in order under the premise being actually needed that satisfied application runs, application is started thus reducing the power consumption of electronic equipment with the low startup operating frequency optimized。
Hereinafter, will specifically describe further in the application operation method of the embodiment of the present invention with reference to Fig. 3 and Fig. 4, determine the detailed process of the first preset frequency according to predetermined policy。Fig. 3 is the flow chart that the application operation method illustrated according to embodiments of the present invention determines the process of the first preset frequency;And Fig. 4 is the flow chart that the application operation method illustrated according to embodiments of the present invention determines another process of the first preset frequency。
Specifically, in a preferred embodiment of the invention, described first application is actual includes two parts, i.e. leader and funtion part。When determining the first preset frequency according to predetermined policy, first, with the present operating frequency of processor unit 101) load described leader, described leader determines the first preset frequency according to predetermined policy。Described processor unit 101 is with described first preset frequency for starting operating frequency to run the first application, actually, described processor unit 101, with described first preset frequency for starting operating frequency, operates in the funtion part determining the first application loaded after the first preset frequency。
Below, the processing procedure of described leader is specifically described。
In a preferred embodiment of the invention, as it is shown on figure 3, in step S301, the leader of the first application loaded the first predetermined value according to the predetermined set amendment register cell 102 of the first application。As previously described with reference to FIG. 1, described register cell 102 is for storing the supply voltage of processor and the corresponding relation of its operating frequency。In the case, the first predetermined value in register cell 102 is set to the value corresponding with operating frequency needed for it by the leader of the first application。In step s 302, processor unit 101 reads the first predetermined value arranged in step S301。In step S303, its running voltage is set to first predetermined voltage corresponding with the first predetermined value read by processor unit 101。Owing to operating frequency and its running voltage of processor unit 101 have the corresponding relation determined, thus when loading the funtion part of the first application subsequently, with first preset frequency corresponding with the first predetermined voltage determined in step S303 for starting operating frequency。
In another preferred embodiment of the invention, as shown in Figure 4, in step S401, the leader of the first application loaded the second predetermined value according to the predetermined set amendment register cell 102 of the first application。As previously described with reference to FIG. 1, described register cell 102 is the register cell for arranging PLL。In the case, the second predetermined value in register cell 102 is set to the value corresponding with operating frequency needed for it by the leader of the first application。In step S402, processor unit 101 reads the second predetermined value arranged in step S401。In step S403, operating frequency is set to the value corresponding with the second predetermined value read in step S402 by processor unit 101 with the ratio of external crystal-controlled oscillation frequency。Thus when loading the funtion part of the first application subsequently, with first preset frequency corresponding with the second predetermined value determined in step S403 for starting operating frequency。
Additionally, in a preferred embodiment of the invention, before running the first application, electronic equipment 100 is likely to there is other application being in running status。Accordingly, it would be desirable to consider the needs meeting the application already at running status, and the problem being not resulted in being adjusted the disposal ability deficiency of caused processor according only to the processor working frequency that the first application is determined。In the case, determine that the first preset frequency specifically also includes according to predetermined policy: first obtain the second frequency corresponding with described first application, obtain the 3rd frequency of current processor unit 101 afterwards (namely, current operation frequency), hereafter compare described second frequency and described 3rd frequency, and the bigger frequency in both is defined as described first preset frequency。Specifically, described for acquisition second frequency and described 3rd frequency are compared by the leader of the first application loaded。When described second frequency is higher than described three frequency, described leader is with the above-mentioned flow process with reference to Fig. 3 or Fig. 4 description, it is modified the value of described register cell 102, described second frequency is set to the startup operating frequency of the first application, and loads the funtion part of the first application subsequently。On the contrary, when described second frequency is equal to or less than described three frequency, then keeps current running frequency, and load the funtion part of the first application subsequently。Certainly, the invention is not restricted to this, it is possible to by relatively more multiple frequency needs running application, it is determined that best operating frequency, it is achieved be not resulted in deficiency or the waste of processor disposal ability, save power consumption to greatest extent simultaneously。
Above, describe by loading the flow process that the leader of described first application determines the startup operating frequency of the first application by referring to Fig. 3 and 4。But, the invention is not restricted to this。In a preferred embodiment of the invention, after determining described first application, the operating system of described electronic equipment 100 can read the inquiry table of relation between its corresponding startup optimization frequency of each application prestored from its memory element, and in described inquiry table, find the startup optimization frequency corresponding with described first application, thus start described first application with this startup optimization frequency。
In addition, in a preferred embodiment of the invention, after running the first application, described state acquisition unit keep for described electronic equipment 100 status information collection (such as, system load state and battery status information etc.), it is used for judging whether described status information meets predetermined condition。When a predetermined condition is satisfied, it is thus achieved that the corresponding relation of the operating frequency of described status information and described processor unit 101, thus according to described corresponding relation, the 4th frequency to be different from described first preset frequency runs described first application。Such as, the predetermined condition that can arrange described status information is that battery electric quantity is less than 50%, then when the described status information indicating battery electric quantity gathered is less than 50%, obtain the operating frequency of the described processor unit 101 corresponding with the condition of the battery electric quantity lower than 50%, thus with the operating frequency that newly obtains to run described application。
Electronic equipment according to embodiments of the present invention and application operation method is described above with reference to Fig. 1 to Fig. 4, described operation method achieves determines the startup operating frequency for application based on predetermined policy, in order to dynamically adjust the operating frequency of processor according to the actual loading of user's request and application thus reducing the power consumption of electronic equipment。
It should be noted that, in this manual, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment。When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or equipment。
Finally, in addition it is also necessary to explanation, above-mentioned a series of process not only include the process performed in temporal sequence with order described here, and include the process performed parallel or respectively rather than in chronological order。
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required hardware platform by software to the present invention and realize, naturally it is also possible to implement all through hardware。Based on such understanding, what background technology was contributed by technical scheme can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment。
Above the present invention being described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention。
Claims (24)
1. an application operation method, is applied to electronic equipment, and described electronic equipment includes processor and battery, and described method includes:
Determine the first application;
The first preset frequency is determined according to predetermined policy;And
Described processor, with described first preset frequency for starting operating frequency, runs the first application;
Wherein, described first preset frequency lower than the maximum operation frequency of described processor,
Wherein determine that the first preset frequency includes according to predetermined policy
Receive the instruction of user's input of described electronic equipment;And
The frequency corresponding with described instruction is defined as described first preset frequency。
2. apply operation method as claimed in claim 1, wherein determine that the first preset frequency includes according to predetermined policy:
Described first preset frequency is determined according to described first application。
3. apply operation method as claimed in claim 1, wherein determine that the first preset frequency includes according to predetermined policy:
Gather the battery information of described battery;
Obtain described battery information and operating frequency corresponding relation;And
Described first preset frequency corresponding with described battery information is determined with described corresponding relation according to described battery information。
4. applying operation method as claimed in claim 1, wherein said first application includes leader and funtion part,
Described foundation predetermined policy determines that the first preset frequency includes: described leader determines the first preset frequency according to predetermined policy;
Described processor, with described first preset frequency for starting operating frequency, runs the first application and includes: described processor, with described first preset frequency for starting operating frequency, runs the funtion part of described first application。
5. applying operation method as claimed in claim 4, wherein said leader determines that the first preset frequency includes:
Described leader revises the first predetermined value of the first depositor by interface;
Described processor reads described first predetermined value in described first depositor;And
Running voltage is set to the predetermined voltage corresponding with described first predetermined value by described processor,
Wherein, described first preset frequency corresponds to described predetermined voltage。
6. applying operation method as claimed in claim 4, wherein said leader determines that the first preset frequency includes:
Described leader revises the second predetermined value of the second depositor by interface;
Described processor reads described second predetermined value in described second depositor;And
Operating frequency is set to the value corresponding with described second predetermined value by described processor with the ratio of external crystal-controlled oscillation frequency。
7. apply operation method as claimed in claim 2, wherein determine that the first preset frequency includes according to predetermined policy:
Obtain the second frequency corresponding with described first application;
Obtain the 3rd frequency of current processor;
Relatively described second frequency and the 3rd frequency, and the bigger frequency in both is defined as described first preset frequency。
8. apply operation method as claimed in claim 1, also include:
Gather the status information of described electronic equipment;
Judge whether described status information meets predetermined condition;
When a predetermined condition is satisfied, it is thus achieved that the corresponding relation of the operating frequency of described status information and described processor;And
According to described corresponding relation, the 4th frequency to be different from described first preset frequency runs described first application。
9. an electronic equipment, including:
Unit is determined in application, is used for determining the first application;
Frequency determinative elements, for determining the first preset frequency according to predetermined policy;
Processing unit, for described first preset frequency for starting operating frequency, running the first application;And
Input block, for receiving the instruction of user's input of described electronic equipment;
Wherein, described first preset frequency lower than the maximum operation frequency of described processing unit,
Wherein, the frequency corresponding with described instruction is defined as described first preset frequency by described frequency determinative elements。
10. electronic equipment as claimed in claim 9, wherein said frequency determinative elements determines described first preset frequency according to described first application。
11. electronic equipment as claimed in claim 9, also include:
Battery information collecting unit, for gathering the battery information of described electronic equipment;
Corresponding relation determines unit, is used for obtaining described battery information and operating frequency corresponding relation;
Wherein, described frequency determinative elements determines described first preset frequency corresponding with described battery information according to described battery information with described corresponding relation。
12. electronic equipment as claimed in claim 9, wherein said first application includes leader and funtion part,
Wherein, according to predetermined policy, described frequency determinative elements determines that the first preset frequency includes: described frequency determinative elements loads described leader, in order to determine the first preset frequency according to predetermined policy;And
Described processing unit, with described first preset frequency for starting operating frequency, runs the first application and includes: described processing unit, with described first preset frequency for starting operating frequency, runs the funtion part of described first application。
13. electronic equipment as claimed in claim 12, also include the first register cell,
Wherein said frequency determinative elements loads described leader, in order to determine that the first preset frequency includes according to predetermined policy:
Described leader revises the first predetermined value of described first register cell by interface;
Described frequency determinative elements reads described first predetermined value in described first register cell;And
The running voltage of described processing unit is set to the predetermined voltage corresponding with described first predetermined value by described frequency determinative elements,
Wherein, described first preset frequency corresponds to described predetermined voltage。
14. electronic equipment as claimed in claim 12, also include the second register cell,
Wherein said frequency determinative elements loads described leader, in order to determine that the first preset frequency includes according to predetermined policy:
Described leader revises the second predetermined value of described second register cell by interface;
Described frequency determinative elements reads described second predetermined value in described second register cell;And
The operating frequency of described processing unit is set to the value corresponding with described second predetermined value by described frequency determinative elements with the ratio of external crystal-controlled oscillation frequency。
15. electronic equipment as claimed in claim 10, according to described first application, wherein said frequency determinative elements determines that described first preset frequency includes:
Described frequency determinative elements obtains the second frequency corresponding with described first application;
Described frequency determinative elements obtains the 3rd frequency of presently described processing unit;
The more described second frequency of described frequency determinative elements and the 3rd frequency, and the bigger frequency in both is defined as described first preset frequency。
16. electronic equipment as claimed in claim 9, also include status information capture unit, for gathering the status information of described electronic equipment,
Wherein, described frequency determinative elements judges whether described status information meets predetermined condition;
When a predetermined condition is satisfied, described frequency determinative elements obtains the corresponding relation of the operating frequency of described status information and described processing unit;And
Described processing unit is according to described corresponding relation, and the 4th frequency to be different from described first preset frequency runs described first application。
17. an electronic equipment, including:
Processor;And
Battery,
Wherein, the first application determined by described processor, determines the first preset frequency according to predetermined policy, and with described first preset frequency for starting operating frequency, runs the first application;
Wherein, described first preset frequency lower than the maximum operation frequency of described processor,
Wherein, according to predetermined policy, described processor determines that the first preset frequency includes
Described processor receives the instruction of user's input of described electronic equipment;And
The frequency corresponding with described instruction is defined as described first preset frequency。
18. electronic equipment as claimed in claim 17, according to predetermined policy, wherein said processor determines that the first preset frequency includes:
Described processor determines described first preset frequency according to described first application。
19. electronic equipment as claimed in claim 17, according to predetermined policy, wherein said processor determines that the first preset frequency includes:
Gather the battery information of described battery;
Obtain described battery information and operating frequency corresponding relation;And
Described first preset frequency corresponding with described battery information is determined with described corresponding relation according to described battery information。
20. electronic equipment as claimed in claim 17, wherein said first application includes leader and funtion part,
According to predetermined policy, described processor determines that the first preset frequency includes: load described leader, in order to determine the first preset frequency according to predetermined policy;
Described processor, with described first preset frequency for starting operating frequency, runs the first application and includes: described processor, with described first preset frequency for starting operating frequency, runs the funtion part of described first application。
21. electronic equipment as claimed in claim 20, wherein load described leader, in order to determine that the first preset frequency includes:
Described leader revises the first predetermined value of the first depositor by interface;
Described processor reads described first predetermined value in described first depositor;And
Running voltage is set to the predetermined voltage corresponding with described first predetermined value by described processor,
Wherein, described first preset frequency corresponds to described predetermined voltage。
22. electronic equipment as claimed in claim 20, wherein load described leader, in order to determine that the first preset frequency includes:
Described leader revises the second predetermined value of the second depositor by interface;
Described processor reads described second predetermined value in described second depositor;And
Operating frequency is set to the value corresponding with described second predetermined value by described processor with the ratio of external crystal-controlled oscillation frequency。
23. electronic equipment as claimed in claim 18, according to predetermined policy, described processor determines that the first preset frequency includes:
Described processor obtains the second frequency corresponding with described first application, it is thus achieved that the 3rd frequency of current processor, relatively described second frequency and the 3rd frequency, and the bigger frequency in both is defined as described first preset frequency。
24. electronic equipment as claimed in claim 17,
Wherein, described processor gathers the status information of described electronic equipment;Judge whether described status information meets predetermined condition;When a predetermined condition is satisfied, it is thus achieved that the corresponding relation of the operating frequency of described status information and described processor;And according to described corresponding relation, the 4th frequency to be different from described first preset frequency runs described first application。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610105700.6A CN105700667B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210021360.0A CN103226382B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
CN201610105700.6A CN105700667B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210021360.0A Division CN103226382B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105700667A true CN105700667A (en) | 2016-06-22 |
CN105700667B CN105700667B (en) | 2018-11-09 |
Family
ID=48836865
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610105700.6A Active CN105700667B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
CN201210021360.0A Active CN103226382B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210021360.0A Active CN103226382B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN105700667B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107831887A (en) * | 2017-12-21 | 2018-03-23 | 青岛海信移动通信技术股份有限公司 | One kind application starts method and device |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107870792B (en) * | 2015-03-12 | 2021-06-29 | Oppo广东移动通信有限公司 | Starting method of mobile terminal, mobile terminal and medium product |
CN105740020A (en) * | 2016-01-29 | 2016-07-06 | 宇龙计算机通信科技(深圳)有限公司 | Application starting method and starting apparatus, and terminal |
CN107315635A (en) * | 2016-04-26 | 2017-11-03 | 华为技术有限公司 | The method of adjustment of the stock number of handheld device and the handheld device |
CN106681772A (en) * | 2016-12-30 | 2017-05-17 | 深圳天珑无线科技有限公司 | Acceleration method, device and terminal for starting application |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030188205A1 (en) * | 2002-03-27 | 2003-10-02 | Nokia Corporation | Method and a system for determining the power consumption in connection with an electronic device, and an electronic device |
CN1604012A (en) * | 2003-10-05 | 2005-04-06 | 宏碁股份有限公司 | Method of url-based power management and associated web browsing device |
JP2010219591A (en) * | 2009-03-13 | 2010-09-30 | Panasonic Corp | Electronic device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7155617B2 (en) * | 2002-08-01 | 2006-12-26 | Texas Instruments Incorporated | Methods and systems for performing dynamic power management via frequency and voltage scaling |
CN1622081A (en) * | 2003-11-24 | 2005-06-01 | 顺德市顺达电脑厂有限公司 | Method for reducing cell power consumption of portable digital products |
CN101150698B (en) * | 2007-09-04 | 2010-06-02 | 浙江大学 | Dynamic voltage adjustment and frequency modulation energy-saving method applicable to MP4 palm video playing device |
CN102104656A (en) * | 2009-12-21 | 2011-06-22 | 康佳集团股份有限公司 | Method and electronic device for processing task at variable frequency |
-
2012
- 2012-01-31 CN CN201610105700.6A patent/CN105700667B/en active Active
- 2012-01-31 CN CN201210021360.0A patent/CN103226382B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030188205A1 (en) * | 2002-03-27 | 2003-10-02 | Nokia Corporation | Method and a system for determining the power consumption in connection with an electronic device, and an electronic device |
CN1604012A (en) * | 2003-10-05 | 2005-04-06 | 宏碁股份有限公司 | Method of url-based power management and associated web browsing device |
JP2010219591A (en) * | 2009-03-13 | 2010-09-30 | Panasonic Corp | Electronic device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107831887A (en) * | 2017-12-21 | 2018-03-23 | 青岛海信移动通信技术股份有限公司 | One kind application starts method and device |
CN107831887B (en) * | 2017-12-21 | 2021-03-23 | 青岛海信移动通信技术股份有限公司 | Application starting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105700667B (en) | 2018-11-09 |
CN103226382B (en) | 2016-03-30 |
CN103226382A (en) | 2013-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4380986B2 (en) | Clock control device and recording medium therefor | |
CN104798004B (en) | Controlled and biased according to power-balance, balanced across the dynamic power of multiple domain processors | |
CN102789304B (en) | Power management method and related device | |
CN105700667A (en) | Application operation method and electronic device | |
CN104007806B (en) | Control method, device and the equipment of a kind of cpu frequency in Android system | |
CN102104936B (en) | Method for switching system states and portable terminal | |
EP2629173A2 (en) | Method and system for powering usb device | |
KR20140029721A (en) | A dvfs controlling method and a system-on chip using thereof | |
TW201234169A (en) | Coordinating performance parameters in multiple circuits | |
US10064141B2 (en) | Core frequency/count decision-based thermal mitigation optimization for a multi-core integrated circuit | |
KR20130108021A (en) | Adaptive voltage scaling using a serial interface | |
CN104699642A (en) | Information processing apparatus, data transfer apparatus, and control method for data transfer apparatus | |
JP2001255967A (en) | Information processor and method for controlling its power | |
CN104756042A (en) | Apparatus and method for controlling operation mode in a wireless terminal | |
CN102929713A (en) | Loosely coupled heterogeneous multi-core processing system supporting parallelism of multiple operating systems | |
CN100473995C (en) | Testing regulating device and method of quartz crystal osciuator | |
US8645740B2 (en) | Methods and systems to dynamically manage performance states in a data processing system | |
DE102021119090A1 (en) | SETUP AND PROCEDURE FOR ENERGY EFFICIENT NUCLEAR VOLTAGE SELECTION | |
CN102156535A (en) | Energy-saving processing method and energy-saving processing device for hardware | |
CN104204988A (en) | Active display processor sleep state | |
CN112713629A (en) | Charging method and device and electronic equipment | |
CN104076892A (en) | Power supply management method and power supply management system | |
CN103855749A (en) | Method and system for powering embedded device with multiple batteries | |
DE102022105671A1 (en) | PHASE LOOP ASSISTED FAST STARTING DEVICE AND FAST STARTING METHOD | |
CN103246342B (en) | Electronic equipment and method for managing power supply thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |