CN103226382A - Application operating method and electronic device - Google Patents
Application operating method and electronic device Download PDFInfo
- Publication number
- CN103226382A CN103226382A CN2012100213600A CN201210021360A CN103226382A CN 103226382 A CN103226382 A CN 103226382A CN 2012100213600 A CN2012100213600 A CN 2012100213600A CN 201210021360 A CN201210021360 A CN 201210021360A CN 103226382 A CN103226382 A CN 103226382A
- Authority
- CN
- China
- Prior art keywords
- frequency
- preset frequency
- electronic equipment
- processor
- preset
- 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
Images
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 operating method applied to an electronic device. The electronic device comprises a processor and a battery. The method comprises the steps as follows: a first application is determined; a first preset frequency is determined according to a preset strategy; and the processor operates the first application with the first preset frequency as a start working frequency, wherein the first preset frequency is lower than the maximum working frequency of the processor.
Description
Technical field
The present invention relates to the field of electronic equipment, and be specifically related to a kind of electronic equipment and the application operation method that is applied to this electronic equipment.
Background technology
In recent years, along with the continuous development of electronic technology, the running frequency of employed processor (such as central processing unit CPU) is more and more higher in the electronic equipment such as mobile phone and computing machine, thereby the calculating and the processing power of continuous enhancing are provided.Yet along with the raising of the running frequency of processor, the power consumption of processor also increases thereupon, causes shortening such as the battery life of the electronic equipment of mobile phone and computing machine, thereby has limited the portability and the practicality of electronic equipment.
At present, in order to reduce the power consumption of processor, normally used method is to make processor support frequency reducing to use.Existing drop processor frequency method normally comes frequency reducing according to the type of using.For example, be example with the processor of smart mobile phone, as when the operation talk application, processor starts with lower frequency uses operation, and is using recreation when using, and processor starts with upper frequency uses operation.Yet such drop processor frequency method does not consider to use actual load needs, and for example for 3D recreation and common 2D recreation, processor all starts with high-frequency uses operation, and in fact common 2D recreation need not start operation with high-frequency.In addition, the user also can't initiatively adjust the startup running frequency of processor for application-specific as required.Therefore, be desirable to provide a kind of application operation method that is applied to electronic equipment, make it possible to determine at the startup frequency of operation of using, thereby so that dynamically adjust the power consumption of the frequency of operation reduction electronic equipment of processor according to the actual loading of user's request and application based on predetermined policy.
Summary of the invention
According to the embodiment of the invention, a kind of application operation method is provided, be applied to electronic equipment, described electronic equipment comprises processor and battery, described method comprises: determine that first uses; Determine first preset frequency according to predetermined policy; And described processor serves as to start frequency of operation with described first preset frequency, and operation first is used; Wherein, described first preset frequency is lower than the maximum operation frequency of described processor.
In addition, according to the application operation method of the embodiment of the invention, wherein determine that according to predetermined policy first preset frequency comprises: use according to described first and determine described first preset frequency.
In addition, according to the application operation method of the embodiment of the invention, wherein determine that according to predetermined policy first preset frequency comprises: the battery information of gathering described battery; Obtain described battery information and frequency of operation corresponding relation; And according to described battery information and definite described first preset frequency corresponding of described corresponding relation with described battery information.
In addition, according to the application operation method of the embodiment of the invention, wherein said first uses and to comprise leader and funtion part, describedly determines that according to predetermined policy first preset frequency comprises: described leader is determined first preset frequency according to predetermined policy; Described processor serves as to start frequency of operation with described first preset frequency, and operation first is used and comprised: described processor serves as to start frequency of operation with described first preset frequency, moves described first funtion part of using.
In addition, according to the application operation method of the embodiment of the invention, wherein said leader determines that first preset frequency comprises: described leader is revised first predetermined value of first register by interface; Described processor reads described first predetermined value in described first register; And described processor is made as operating voltage and the corresponding predetermined voltage of described first predetermined value, and wherein, described first preset frequency is corresponding to described predetermined voltage.
In addition, according to the application operation method of the embodiment of the invention, wherein said leader determines that first preset frequency comprises: described leader is revised second predetermined value of second register by interface; Described processor reads described second predetermined value in described second register; And described processor is made as the frequency of operation and the ratio of external crystal-controlled oscillation frequency and the corresponding value of described second predetermined value.
In addition, according to the application operation method of the embodiment of the invention, wherein determine that according to predetermined policy first preset frequency comprises: receive the instruction of user's input of described electronic equipment; And will instruct corresponding frequency to be defined as described first preset frequency with described.
In addition, according to the application operation method of the embodiment of the invention, wherein determine that according to predetermined policy first preset frequency comprises: obtain to use corresponding second frequency with described first; Obtain the 3rd frequency of current processor; More described second frequency and the 3rd frequency, and the big frequency among both is defined as described first preset frequency.
In addition, the application operation method according to the embodiment of the invention also comprises: the status information of gathering described electronic equipment; Judge whether described status information satisfies predetermined condition; When satisfying predetermined condition, obtain the corresponding relation of the frequency of operation of described status information and described processor; And, move described first with the 4th frequency that is different from described first preset frequency and use according to described corresponding relation.
According to another embodiment of the present invention, provide a kind of electronic equipment, having comprised: used determining unit, be used for determining that first uses; The frequency determining unit is used for determining first preset frequency according to predetermined policy; And processing unit, being used for described first preset frequency serves as to start frequency of operation, operation first is used; Wherein, described first preset frequency is lower than the maximum operation frequency of described processing unit.
In addition, according to the electronic equipment of the embodiment of the invention, wherein said frequency determining unit is used according to described first and is determined described first preset frequency.
In addition, the electronic equipment according to the embodiment of the invention also comprises: the battery information collecting unit is used to gather the battery information of described electronic equipment; The corresponding relation determining unit is used to obtain described battery information and frequency of operation corresponding relation; Wherein, described frequency determining unit is determined described first preset frequency corresponding with described battery information according to described battery information and described corresponding relation.
In addition, electronic equipment according to the embodiment of the invention, wherein said first application comprises leader and funtion part, wherein, described frequency determining unit determines that according to predetermined policy first preset frequency comprises: described frequency determining unit loads described leader, so that determine first preset frequency according to predetermined policy; And described processing unit serves as to start frequency of operation with described first preset frequency, and operation first is used and comprised: described processing unit serves as to start frequency of operation with described first preset frequency, moves described first funtion part of using.
In addition, electronic equipment according to the embodiment of the invention, also comprise first register cell, wherein said frequency determining unit loads described leader, so that determine that according to predetermined policy first preset frequency comprises: described leader is revised first predetermined value of described first register cell by interface; Described frequency determining unit reads described first predetermined value in described first register cell; And described frequency determining unit is made as the operating voltage of described processing unit and the corresponding predetermined voltage of described first predetermined value, and wherein, described first preset frequency is corresponding to described predetermined voltage.
In addition, electronic equipment according to the embodiment of the invention, also comprise second register cell, wherein said frequency determining unit loads described leader, so that determine that according to predetermined policy first preset frequency comprises: described leader is revised first predetermined value of described first register cell by interface; Described frequency determining unit reads described second predetermined value in described second register cell; And described frequency determining unit is made as the frequency of operation of described processing unit and the corresponding value of described second predetermined value with the ratio of external crystal-controlled oscillation frequency.
In addition, according to the electronic equipment of the embodiment of the invention, also comprise input block, wherein said frequency determining unit determines that according to predetermined policy first preset frequency comprises: receive the instruction of user's input of described electronic equipment by described input block; And described frequency determining unit is defined as described first preset frequency with the frequency corresponding with described instruction.
In addition, according to the electronic equipment of the embodiment of the invention, wherein said frequency determining unit is used according to described first and determined that described first preset frequency comprises: described frequency determining unit obtains to use corresponding second frequency with described first; Described frequency determining unit obtains the 3rd frequency of current described processing unit; More described second frequency of described frequency determining unit and the 3rd frequency, and the big frequency among both is defined as described first preset frequency.
In addition, according to the electronic equipment of the embodiment of the invention, also comprise the status information capture unit, be used to gather the status information of described electronic equipment, wherein, described frequency determining unit judges whether described status information satisfies predetermined condition; When satisfying predetermined condition, described frequency determining unit obtains the corresponding relation of the frequency of operation of described status information and described processing unit; And described processing unit moves described first with the 4th frequency that is different from described first preset frequency and uses according to described corresponding relation.
According to still another embodiment of the invention, provide a kind of electronic equipment, having comprised: processor; And battery, wherein, described processor determines that first uses, and determines first preset frequency according to predetermined policy, and serves as to start frequency of operation with described first preset frequency, operation first is used; Wherein, described first preset frequency is lower than the maximum operation frequency of described processor.
In addition, according to the electronic equipment of the embodiment of the invention, wherein said processor determines that according to predetermined policy first preset frequency comprises: described processor is used according to described first and is determined described first preset frequency.
In addition, according to the electronic equipment of the embodiment of the invention, wherein said processor determines that according to predetermined policy first preset frequency comprises: the battery information of gathering described battery; Obtain described battery information and frequency of operation corresponding relation; And according to described battery information and definite described first preset frequency corresponding of described corresponding relation with described battery information.
In addition, electronic equipment according to the embodiment of the invention, wherein said first application comprises leader and funtion part, and described processor determines that according to predetermined policy first preset frequency comprises: load described leader, so that determine first preset frequency according to predetermined policy; Described processor serves as to start frequency of operation with described first preset frequency, and operation first is used and comprised: described processor serves as to start frequency of operation with described first preset frequency, moves described first funtion part of using.
In addition, according to the electronic equipment of the embodiment of the invention, wherein load described leader, so that determine that first preset frequency comprises: described leader is revised first predetermined value of first register by interface; Described processor reads described first predetermined value in described first register; And described processor is made as operating voltage and the corresponding predetermined voltage of described first predetermined value, and wherein, described first preset frequency is corresponding to described predetermined voltage.
In addition, according to the electronic equipment of the embodiment of the invention, wherein load described leader, so that determine that first preset frequency comprises: described leader is revised second predetermined value of second register by interface; Described processor reads described second predetermined value in described second register; And described processor is made as the frequency of operation and the ratio of external crystal-controlled oscillation frequency and the corresponding value of described second predetermined value.
In addition, according to the electronic equipment of the embodiment of the invention, described processor determines that according to predetermined policy first preset frequency comprises: described processor receives the instruction of user's input of described electronic equipment; And will instruct corresponding frequency to be defined as described first preset frequency with described.
In addition, electronic equipment according to the embodiment of the invention, described processor determines that according to predetermined policy first preset frequency comprises: described processor obtains to use corresponding second frequency with described first, obtain the 3rd frequency of current processor, more described second frequency and the 3rd frequency, and the big frequency among both is defined as described first preset frequency.
In addition, according to the electronic equipment of the embodiment of the invention, wherein, described processor is gathered the status information of described electronic equipment; Judge whether described status information satisfies predetermined condition; When satisfying predetermined condition, obtain the corresponding relation of the frequency of operation of described status information and described processor; And, move described first with the 4th frequency that is different from described first preset frequency and use according to described corresponding relation.
Application operation method and electronic equipment according to the embodiment of the invention, realized determining at the startup frequency of operation of using, thereby so that dynamically adjusted the power consumption of the frequency of operation reduction electronic equipment of processor according to the actual loading of user's request and application based on predetermined policy.
The general description and the following detailed both that it being understood that the front are exemplary, and the further specifying of the intention technology that is to provide claimed.
Description of drawings
Fig. 1 is the block diagram of diagram according to the main configuration of the electronic equipment of the embodiment of the invention;
Fig. 2 is the process flow diagram of diagram according to the application operation method of the embodiment of the invention;
Fig. 3 is diagram is determined the process of first preset frequency according to the application operation method of the embodiment of the invention a process flow diagram; And
Fig. 4 is diagram is determined another process of first preset frequency according to the application operation method of the embodiment of the invention a process flow diagram.
Embodiment
Below, with preferred embodiments of the present invention will be described in detail with reference to the annexed drawings.
At first, with reference to the electronic equipment of Fig. 1 description according to the embodiment of the invention.Described electronic equipment preferably for example is smart mobile phone, personal digital assistant, palm PC etc.Be noted that those of ordinary skill in the art is understood that easily, Fig. 1 only illustrates the parts that are closely related with technical solution of the present invention, and not shown other parts (such as, display unit, input block etc.), and will omit its specific descriptions at this.
As shown in Figure 1, the electronic equipment 100 according to the embodiment of the invention mainly comprises processor unit 101, register cell 102 and power supply unit 103.Particularly, the operating system of described processor unit 101 operation electronic equipments 100 (such as
Deng) and various application.Described register cell 102 is used to store the required relevant information of frequency of operation that described processor unit 101 is set.
In a preferred embodiment of the invention, described processor unit 101 is the processors under the ARM system architecture, and its processor than general X86 system is more pursued the saving for power consumption.Certainly, the invention is not restricted to this, but can be applied to the processor under the various system architectures.Can control its frequency of operation to the height of the supply voltage of described processor unit 101 by control.Therefore, corresponding frequency of operation can be set by the supply voltage of processor cores of configuration PMU (Power Management Unit, Fig. 1 is not shown).Since the technology difference that processor chips are produced, the voltage difference that can receive, and also corresponding frequency is also different.Described register cell 102 is used for the supply voltage of storage of processor and the corresponding relation of its frequency of operation.For example, in a preferred embodiment of the invention, suppose the processor working frequency of the corresponding 1200MHz of 1.2V supply voltage, about 12 grades supply voltage and processor working frequency respective value table then can be set, and it is stored in relevant register unit 102.In the case, the memory contents of described register cell 102 is as shown in table 1 below:
1.2V | 1200MHz | 1111 |
1.15V | 1100MHz | 1110 |
1.1V | 1000MHz | 1101 |
1.05V | 900MHz | 1100 |
1.0V | 800MHz | 1011 |
0.95V | 700MHz | 1010 |
0.9V | 600MHz | 1001 |
0.85V | 500MHz | 1000 |
0.8V | 400MHz | 0111 |
0.75V | 300MHz | 0110 |
0.7V | 200MHz | 0101 |
0.65V | 100MHz | 0100 |
Table 1
Because the processor supply voltage can not be low excessively, failing processor can not steady operation, therefore can determine its frequency of operation under the prerequisite of processor steady operation.By determining different voltage frequency value corresponding, therefore when its operating load is determined in application, can directly set the correspondent voltage value, make it the frequency of operation that reaches corresponding.In addition, in another preferred embodiment of the present invention, can also in register cell 102, increase a force bit,,,, just keep stable frequency of operation as long as this is used also in operation even when the restriction operating load reduces when this force bit is effective.If it is invalid that this force bit is set to, can in the frequency of operation upper range, dynamically adjust according to the actual loading of using so.For example obtain different voltage by register cell 102 (for example, the OUTPWR register of PMU) is set, register cell 102 can be 5 bits, and wherein a high position is a force bit, and back four is different output voltage values.Be set to 1000MHz as forcing, then this register can be set to 11101.
In another preferred embodiment of the present invention, can the frequency of operation of described processor unit 101 be set by PLL (phaselocked loop) being set with the frequency of operation of controlling described processor unit 101 and the ratio of external crystal-controlled oscillation frequency.In the preferred embodiment, described register cell 102 is the register cells that are used to be provided with PLL.Described register cell 102 can comprise column register: PLLCON, PLLCFG, PLLSTAT and PLLFEED down.Whether wherein, the PLLCON register comprises the position that enables to connect PLL, just be used to control PLL and connect.This connection need be just coming into force when PLLFEED sends correct information (feed sequence), even otherwise with enable bit set, PLL can not be connected in the circuit yet.Therefore, PLLCON must just set before PLL begins to connect, otherwise can cause the unpredictable mistake of system.The PLLCFG register is used for being provided with Clock Multiplier Factor M and divide ratio N.These two values have determined the frequency of frequency multiplication and frequency division.Clock Multiplier Factor M that can the 101 pairs of outside crystal oscillator frequencies in set handling device unit, as the external crystal-controlled oscillation frequency is 30MHZ, Clock Multiplier Factor M can be set so be 10,20,30,40 etc., make the frequency of processor unit 101 reach 300MHZ, 600MHZ, 900MHZ, 1200MHZ respectively.The PLLSTAT register is used to store and read the value of PLLCON, PLLCFG, but must be that feed sequence at PLLFEED is sent out, and just can read correct value after PLLCON, PLLCFG come into force.The PLLFEED register is used for writing feed sequence with the continuous VPB bus cycles to it.After correct sequence was written into PLLFEED, PLLCON, PLLCFG just came into force, thereby the PLL circuit could correct being connected in the circuit.
Two kinds of embodiments of coming the given processor task frequency by the value of revising described register cell 102 have more than been described.In a preferred embodiment of the invention, the developer who uses sets in advance a leader in described application in the performance history of described application, the API (application programming interfaces) that described leader is used for by standard revises described register cell 102, so that the frequency of operation of given processor unit 101.
Described power supply unit 103 is used to described electronic equipment 100 power supplies.In a preferred embodiment of the invention, described power supply 102 can be a battery.
In another preferred embodiment of the present invention, described electronic equipment 100 also comprises the state acquisition unit, be used to gather described electronic equipment 100 status information (such as, system load state and battery status information etc.) so that after using operation, dynamically arrange the frequency of operation of described processor unit 101 according to the status information of described electronic equipment 100.
Next, with reference to the application operation method that be used for electronic equipment 100 of Fig. 2 description according to the embodiment of the invention.
Fig. 2 is the process flow diagram of diagram according to the application operation method of the embodiment of the invention.
Application operation method according to the embodiment of the invention comprises:
In step S201, processing unit 101 definite first application that will move of described electronic equipment 100.For example, in a preferred embodiment of the invention, when the user of described electronic equipment 100 provided the instruction of operation application by the input block (not shown in figure 1), described electronic equipment 100 was determined to use with described user instruction corresponding first.In addition, in another preferred embodiment of the present invention, the processing unit 101 of described electronic equipment 100 detects whether satisfy the applications trigger condition, if described processing unit 101 judge satisfied a certain applications trigger condition (such as, judge whether to satisfy the trigger condition of alarm clock application according to system time), then described processing unit 101 is determined to use as described first with the corresponding application of being satisfied of applications trigger condition.
In step S202, determine first preset frequency according to predetermined policy.
Particularly, in a preferred embodiment of the invention, determine that according to predetermined policy first preset frequency comprises according to determined first application in step S201, determines its corresponding described first preset frequency.Yet, the invention is not restricted to this embodiment.
In another preferred embodiment of the present invention, determine that according to predetermined policy first preset frequency comprises the battery information of gathering described power supply unit 103 (such as battery) by described state acquisition unit, so that obtain the corresponding relation of the frequency of operation of described battery information and processor unit 101, thereby determine described first preset frequency corresponding with described corresponding relation with described battery information according to described battery information.
In addition, in another preferred embodiment of the present invention, can also specify described first preset frequency by the user.That is to say that described electronic equipment 100 receives the instruction of user's input after determining described first application, and the frequency corresponding with described instruction is defined as described first preset frequency.Particularly, described first application of determining in step S201 can be provided with the interface for the user provides a processing unit frequency of operation, and the user can be provided with the interface frequency of operation of set handling device unit 101 easily by operating described frequency of operation.In addition, the user can also come the instruction of input service frequency configuration by different triggering modes.For example, if first icon of using that user click will start, the frequency of operation that then will move first processor unit of using 101 is made as low frequency, on the contrary, if the user double-clicks first icon of using that will start, the frequency of operation that then will move first processor unit of using 101 is made as high-frequency.Similarly, can on described electronic equipment 100, the difference in functionality key be set, when the user pushes first function key to start first when using, the frequency of operation of moving first processor unit of using 101 is made as low frequency, when the user pushes second function key starting first when using, the frequency of operation of the processor unit 101 that operation second is used is made as high-frequency.
In step S203, described processor unit 101, moves described first and uses as starting frequency of operation with described first preset frequency definite in step S202.Be noted that described first preset frequency is equal to or less than the maximum operation frequency of described processor unit 101.That is to say, realized determining at the startup frequency of operation of using,, thereby start the power consumption of using the reduction electronic equipment with the low startup frequency of operation of optimizing so that under the prerequisite of the actual needs that satisfies the application operation based on predetermined policy.
Below, further specifically describe in the application operation method of the embodiment of the invention with reference to Fig. 3 and Fig. 4, determine the detailed process of first preset frequency according to predetermined policy.Fig. 3 is diagram is determined the process of first preset frequency according to the application operation method of the embodiment of the invention a process flow diagram; And Fig. 4 is diagram is determined another process of first preset frequency according to the application operation method of the embodiment of the invention a process flow diagram.
Particularly, in a preferred embodiment of the invention, described first uses actual two parts, i.e. leader and the funtion part of comprising.When the foundation predetermined policy is determined first preset frequency, at first, with the work at present frequency of processor unit 101) load described leader, described guide portion assigns to determine first preset frequency according to predetermined policy.Described processor unit 101 serves as to start frequency of operation to use to move first with described first preset frequency, in fact, described processor unit 101 serves as to start frequency of operation with described first preset frequency, operates in first funtion part of using of determining that first preset frequency loads afterwards.
Below, specifically describe the processing procedure of described leader.
In a preferred embodiment of the invention, as shown in Figure 3, in step S301, first leader of using that has loaded is revised first predetermined value of register cell 102 according to first predetermined set of using.With reference to as described in Fig. 1, described register cell 102 is used for the supply voltage of storage of processor and the corresponding relation of its frequency of operation as before.In the case, first leader of using is made as the value corresponding with its required frequency of operation with first predetermined value in the register cell 102.In step S302, processor unit 101 reads in first predetermined value that is provided with among the step S301.In step S303, processor unit 101 is made as first predetermined voltage corresponding with first predetermined value that reads with its operating voltage.Because frequency of operation and its operating voltage of processor unit 101 have definite corresponding relation, thereby when loading the funtion part of first application subsequently, serve as to start frequency of operation with first preset frequency corresponding with first predetermined voltage of in step S303, determining.
In another preferred embodiment of the present invention, as shown in Figure 4, in step S401, first leader of using that has loaded is revised second predetermined value of register cell 102 according to first predetermined set of using.With reference to as described in Fig. 1, described register cell 102 is the register cells that are used to be provided with PLL as before.In the case, first leader of using is made as the value corresponding with its required frequency of operation with second predetermined value in the register cell 102.In step S402, processor unit 101 reads in second predetermined value that is provided with among the step S401.In step S403, processor unit 101 is made as the frequency of operation and the ratio of external crystal-controlled oscillation frequency and the corresponding value of second predetermined value that reads in step S402.Thereby when loading the funtion part of first application subsequently, serve as to start frequency of operation with first preset frequency corresponding with second predetermined value of in step S403, determining.
In addition, in a preferred embodiment of the invention, before operation first is used, may there be other application that is in running status in the electronic equipment 100.Therefore, need to consider to satisfy the needs of the application that has been in running status, and do not cause only using the problem that the processor working frequency of determining is adjusted the processing power deficiency of caused processor according to first.In the case, determine that according to predetermined policy first preset frequency specifically also comprises: at first obtain to use corresponding second frequency with described first, the 3rd frequency that obtains current processor unit 101 afterwards (promptly, current running frequency), after this more described second frequency and described the 3rd frequency, and the big frequency among both is defined as described first preset frequency.Particularly, first leader of using that has loaded will obtain described second frequency and described the 3rd frequency compares.When described second frequency is higher than described the 3rd frequency, described leader is with above-mentioned flow process with reference to Fig. 3 or Fig. 4 description, by revising the value of described register cell 102, described second frequency is made as the first startup frequency of operation of using, and loads first funtion part of using subsequently.On the contrary, when described second frequency is equal to or less than described the 3rd frequency, then keep current running frequency, and load first funtion part of using subsequently.Certainly, the invention is not restricted to this, can determine best frequency of operation, realize not causing the not enough of processor processing ability or wasting, save power consumption simultaneously to greatest extent by the frequency needs of more a plurality of operations application.
More than, the flow process of assigning to determine the first startup frequency of operation of using by the guide portion that loads described first application has been described by reference Fig. 3 and 4.Yet, 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 be from the question blank that concerns between its corresponding startup running frequency of respectively using of its storage unit reading pre-stored, and in described question blank, find with described first and use corresponding startup running frequency, use thereby start described first with this startup running frequency.
In addition, in a preferred embodiment of the invention, after operation first is used, described state acquisition unit keep for the collection of the status information of described electronic equipment 100 (such as, system load state and battery status information etc.), be used to judge whether described status information satisfies predetermined condition.When satisfying predetermined condition, obtain the corresponding relation of the frequency of operation of described status information and described processor unit 101, thereby, move described first with the 4th frequency that is different from described first preset frequency and use according to described corresponding relation.For example, the predetermined condition that described status information can be set is a battery electric quantity less than 50%, then when the described status information pilot cell electric weight less than 50% of gathering, obtain the frequency of operation with the corresponding described processor unit 101 of condition that is lower than 50% battery electric quantity, thereby move described application with the frequency of operation of newly obtaining.
As above described according to the electronic equipment of the embodiment of the invention and used operation method referring to figs. 1 through Fig. 4, describedly realized determining at the startup frequency of operation of using, thereby so that dynamically adjusted the power consumption of the frequency of operation reduction electronic equipment of processor according to the actual loading of user's request and application based on predetermined policy with operation method.
Need to prove, in this manual, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Do not having under the situation of more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
At last, need to prove also that above-mentioned a series of processing not only comprise the processing of carrying out by the time sequence with order described here, and comprise parallel or respectively rather than the processing of carrying out in chronological order.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential hardware platform, can certainly all implement by hardware.Based on such understanding, all or part of can the embodying that technical scheme of the present invention contributes to background technology with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
More than the present invention is described in detail, used specific case herein principle of the present invention and embodiment set forth, the explanation of above embodiment just is used for help understanding method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (27)
1. use operation method for one kind, be applied to electronic equipment, described electronic equipment comprises processor and battery, and described method comprises:
Determine that first uses;
Determine first preset frequency according to predetermined policy; And
Described processor serves as to start frequency of operation with described first preset frequency, and operation first is used;
Wherein, described first preset frequency is lower than the maximum operation frequency of described processor.
2. application operation method as claimed in claim 1, wherein determine that according to predetermined policy first preset frequency comprises:
Use definite described first preset frequency according to described first.
3. application operation method as claimed in claim 1, wherein determine that according to predetermined policy first preset frequency comprises:
Gather the battery information of described battery;
Obtain described battery information and frequency of operation corresponding relation; And
Determine described first preset frequency corresponding according to described battery information and described corresponding relation with described battery information.
4. application operation method as claimed in claim 1, wherein said first application comprises leader and funtion part,
Describedly determine that according to predetermined policy first preset frequency comprises: described leader is determined first preset frequency according to predetermined policy;
Described processor serves as to start frequency of operation with described first preset frequency, and operation first is used and comprised: described processor serves as to start frequency of operation with described first preset frequency, moves described first funtion part of using.
5. application operation method as claimed in claim 4, wherein said leader determine that first preset frequency comprises:
Described leader is revised first predetermined value of first register by interface;
Described processor reads described first predetermined value in described first register; And
Described processor is made as operating voltage and the corresponding predetermined voltage of described first predetermined value,
Wherein, described first preset frequency is corresponding to described predetermined voltage.
6. application operation method as claimed in claim 4, wherein said leader determine that first preset frequency comprises:
Described leader is revised second predetermined value of second register by interface;
Described processor reads described second predetermined value in described second register; And
Described processor is made as the frequency of operation and the ratio of external crystal-controlled oscillation frequency and the corresponding value of described second predetermined value.
7. application operation method as claimed in claim 1, wherein determine that according to predetermined policy first preset frequency comprises:
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.
8. application operation method as claimed in claim 2, wherein determine that according to predetermined policy first preset frequency comprises:
Obtain to use corresponding second frequency with described first;
Obtain the 3rd frequency of current processor;
More described second frequency and the 3rd frequency, and the big frequency among both is defined as described first preset frequency.
9. application operation method as claimed in claim 1 also comprises:
Gather the status information of described electronic equipment;
Judge whether described status information satisfies predetermined condition;
When satisfying predetermined condition, obtain the corresponding relation of the frequency of operation of described status information and described processor; And
According to described corresponding relation, move described first with the 4th frequency that is different from described first preset frequency and use.
10. electronic equipment comprises:
Use determining unit, be used for determining that first uses;
The frequency determining unit is used for determining first preset frequency according to predetermined policy; And
Processing unit, being used for described first preset frequency serves as to start frequency of operation, operation first is used;
Wherein, described first preset frequency is lower than the maximum operation frequency of described processing unit.
11. using according to described first, electronic equipment as claimed in claim 10, wherein said frequency determining unit determine described first preset frequency.
12. electronic equipment as claimed in claim 10 also comprises:
The battery information collecting unit is used to gather the battery information of described electronic equipment;
The corresponding relation determining unit is used to obtain described battery information and frequency of operation corresponding relation;
Wherein, described frequency determining unit is determined described first preset frequency corresponding with described battery information according to described battery information and described corresponding relation.
13. electronic equipment as claimed in claim 10, wherein said first application comprises leader and funtion part,
Wherein, described frequency determining unit determines that according to predetermined policy first preset frequency comprises: described frequency determining unit loads described leader, so that determine first preset frequency according to predetermined policy; And
Described processing unit serves as to start frequency of operation with described first preset frequency, and operation first is used and comprised: described processing unit serves as to start frequency of operation with described first preset frequency, moves described first funtion part of using.
14. electronic equipment as claimed in claim 13 also comprises first register cell,
Wherein said frequency determining unit loads described leader, so that determine that according to predetermined policy first preset frequency comprises:
Described leader is revised first predetermined value of described first register cell by interface;
Described frequency determining unit reads described first predetermined value in described first register cell; And
Described frequency determining unit is made as the operating voltage of described processing unit and the corresponding predetermined voltage of described first predetermined value,
Wherein, described first preset frequency is corresponding to described predetermined voltage.
15. electronic equipment as claimed in claim 13 also comprises second register cell,
Wherein said frequency determining unit loads described leader, so that determine that according to predetermined policy first preset frequency comprises:
Described leader is revised first predetermined value of described first register cell by interface;
Described frequency determining unit reads described second predetermined value in described second register cell; And
Described frequency determining unit is made as the frequency of operation of described processing unit and the corresponding value of described second predetermined value with the ratio of external crystal-controlled oscillation frequency.
16. electronic equipment as claimed in claim 10 also comprises input block,
Wherein said frequency determining unit determines that according to predetermined policy first preset frequency comprises:
Receive the instruction of user's input of described electronic equipment by described input block; And
Described frequency determining unit is defined as described first preset frequency with the frequency corresponding with described instruction.
17. using according to described first, electronic equipment as claimed in claim 11, wherein said frequency determining unit determine that described first preset frequency comprises:
Described frequency determining unit obtains to use corresponding second frequency with described first;
Described frequency determining unit obtains the 3rd frequency of current described processing unit;
More described second frequency of described frequency determining unit and the 3rd frequency, and the big frequency among both is defined as described first preset frequency.
18. electronic equipment as claimed in claim 10 also comprises the status information capture unit, is used to gather the status information of described electronic equipment,
Wherein, described frequency determining unit judges whether described status information satisfies predetermined condition;
When satisfying predetermined condition, described frequency determining unit obtains the corresponding relation of the frequency of operation of described status information and described processing unit; And
Described processing unit moves described first with the 4th frequency that is different from described first preset frequency and uses according to described corresponding relation.
19. an electronic equipment comprises:
Processor; And
Battery,
Wherein, described processor determines that first uses, and determines first preset frequency according to predetermined policy, and serves as to start frequency of operation with described first preset frequency, and operation first is used;
Wherein, described first preset frequency is lower than the maximum operation frequency of described processor.
20. electronic equipment as claimed in claim 19, wherein said processor determines that according to predetermined policy first preset frequency comprises:
Described processor is used according to described first and is determined described first preset frequency.
21. electronic equipment as claimed in claim 19, wherein said processor determines that according to predetermined policy first preset frequency comprises:
Gather the battery information of described battery;
Obtain described battery information and frequency of operation corresponding relation; And
Determine described first preset frequency corresponding according to described battery information and described corresponding relation with described battery information.
22. electronic equipment as claimed in claim 19, wherein said first application comprises leader and funtion part,
Described processor determines that according to predetermined policy first preset frequency comprises: load described leader, so that determine first preset frequency according to predetermined policy;
Described processor serves as to start frequency of operation with described first preset frequency, and operation first is used and comprised: described processor serves as to start frequency of operation with described first preset frequency, moves described first funtion part of using.
23. electronic equipment as claimed in claim 22 wherein loads described leader, so that determine that first preset frequency comprises:
Described leader is revised first predetermined value of first register by interface;
Described processor reads described first predetermined value in described first register; And
Described processor is made as operating voltage and the corresponding predetermined voltage of described first predetermined value,
Wherein, described first preset frequency is corresponding to described predetermined voltage.
24. electronic equipment as claimed in claim 22 wherein loads described leader, so that determine that first preset frequency comprises:
Described leader is revised second predetermined value of second register by interface;
Described processor reads described second predetermined value in described second register; And
Described processor is made as the frequency of operation and the ratio of external crystal-controlled oscillation frequency and the corresponding value of described second predetermined value.
25. electronic equipment as claimed in claim 19, described processor determines that according to predetermined policy first preset frequency comprises:
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.
26. electronic equipment as claimed in claim 20, described processor determines that according to predetermined policy first preset frequency comprises:
Described processor obtains to use corresponding second frequency with described first, obtains the 3rd frequency of current processor, more described second frequency and the 3rd frequency, and will be defined as described first preset frequency than frequency greatly among both.
27. electronic equipment as claimed in claim 19,
Wherein, described processor is gathered the status information of described electronic equipment; Judge whether described status information satisfies predetermined condition; When satisfying predetermined condition, obtain the corresponding relation of the frequency of operation of described status information and described processor; And, move described first with the 4th frequency that is different from described first preset frequency and use according to described corresponding relation.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610105700.6A CN105700667B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
CN201210021360.0A CN103226382B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210021360.0A CN103226382B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610105700.6A Division CN105700667B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103226382A true CN103226382A (en) | 2013-07-31 |
CN103226382B CN103226382B (en) | 2016-03-30 |
Family
ID=48836865
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210021360.0A Active CN103226382B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
CN201610105700.6A Active CN105700667B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610105700.6A Active CN105700667B (en) | 2012-01-31 | 2012-01-31 | Application operation method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN103226382B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740020A (en) * | 2016-01-29 | 2016-07-06 | 宇龙计算机通信科技(深圳)有限公司 | Application starting method and starting apparatus, and terminal |
CN106681772A (en) * | 2016-12-30 | 2017-05-17 | 深圳天珑无线科技有限公司 | Acceleration method, device and terminal for starting application |
CN107315635A (en) * | 2016-04-26 | 2017-11-03 | 华为技术有限公司 | The method of adjustment of the stock number of handheld device and the handheld device |
CN107870792A (en) * | 2015-03-12 | 2018-04-03 | 广东欧珀移动通信有限公司 | The startup method and mobile terminal and medium product of a kind of mobile terminal |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107831887B (en) * | 2017-12-21 | 2021-03-23 | 青岛海信移动通信技术股份有限公司 | Application starting method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1604012A (en) * | 2003-10-05 | 2005-04-06 | 宏碁股份有限公司 | Method of url-based power management and associated web browsing device |
CN1622081A (en) * | 2003-11-24 | 2005-06-01 | 顺德市顺达电脑厂有限公司 | Method for reducing cell power consumption of portable digital products |
US7155617B2 (en) * | 2002-08-01 | 2006-12-26 | Texas Instruments Incorporated | Methods and systems for performing dynamic power management via frequency and voltage scaling |
CN101150698A (en) * | 2007-09-04 | 2008-03-26 | 浙江大学 | 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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FI115562B (en) * | 2002-03-27 | 2005-05-31 | Nokia Corp | Method and system for determining power consumption in connection with electronic device and electronic device |
JP2010219591A (en) * | 2009-03-13 | 2010-09-30 | Panasonic Corp | Electronic device |
-
2012
- 2012-01-31 CN CN201210021360.0A patent/CN103226382B/en active Active
- 2012-01-31 CN CN201610105700.6A patent/CN105700667B/en active Active
Patent Citations (5)
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 |
CN1604012A (en) * | 2003-10-05 | 2005-04-06 | 宏碁股份有限公司 | Method of url-based power management and associated web browsing device |
CN1622081A (en) * | 2003-11-24 | 2005-06-01 | 顺德市顺达电脑厂有限公司 | Method for reducing cell power consumption of portable digital products |
CN101150698A (en) * | 2007-09-04 | 2008-03-26 | 浙江大学 | 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 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107870792A (en) * | 2015-03-12 | 2018-04-03 | 广东欧珀移动通信有限公司 | The startup method and mobile terminal and medium product of a kind of mobile terminal |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105700667B (en) | 2018-11-09 |
CN103226382B (en) | 2016-03-30 |
CN105700667A (en) | 2016-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
NL2011348B1 (en) | Dynamic voltage frequency scaling method and apparatus. | |
CN203350757U (en) | Device and system for regulating multimode voltage through feedback | |
US8621246B2 (en) | Power management system and method to provide supply voltage to a load | |
US20140181545A1 (en) | Dynamic Balancing Of Power Across A Plurality Of Processor Domains According To Power Policy Control Bias | |
CN103677210A (en) | Method of performing dynamic voltage and frequency, application processor and mobile device | |
CN103226382B (en) | Application operation method and electronic equipment | |
CN103163940A (en) | Method of clock control of system on chip including functional block, system on chip of the same and semicondutor system including the same | |
JPWO2002021245A1 (en) | Clock control method, device thereof, and medium | |
EP2808757A2 (en) | Method and System for Run-Time Reallocation of Leakage Current and Dynamic Power Supply Current | |
CN104635908A (en) | Method and device for lowering power consumption of mobile terminal | |
CN103037109B (en) | Multicore equipment energy consumption management method and device | |
CN103248763A (en) | Communication method and mobile terminal | |
CN104808767A (en) | Terminal control method | |
CN114144746A (en) | Digitally coordinated dynamically adaptable clock and voltage supply apparatus and method | |
US9252618B2 (en) | Terminals, terminal systems and charging/discharging methods thereof | |
CN114665457A (en) | Apparatus and method for programming power supply sources to facilitate dynamic performance tuning | |
US20120159219A1 (en) | Vr power mode interface | |
CN107924217A (en) | Low Ripple Mode Change Mechanism in Switched Capacitor Voltage Regulators | |
CN105425898A (en) | Low-power embedded system | |
JP2022177797A (en) | Power delivery architecture for high power portable device | |
CN108241425A (en) | Electronic device, electronic system, and control method | |
CN106060905A (en) | Method and apparatus for improving radio frequency power consumption of mobile terminal | |
CN114253902A (en) | Processor peak current control apparatus and method | |
CN102893235B (en) | Signal conditioning package and power consumption supervisory routine | |
CN103677881A (en) | Method for controlling electronic device, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |