CN105700667B - Application operation method and electronic equipment - Google Patents

Application operation method and electronic equipment Download PDF

Info

Publication number
CN105700667B
CN105700667B CN201610105700.6A CN201610105700A CN105700667B CN 105700667 B CN105700667 B CN 105700667B CN 201610105700 A CN201610105700 A CN 201610105700A CN 105700667 B CN105700667 B CN 105700667B
Authority
CN
China
Prior art keywords
frequency
application
processor
preset frequency
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.)
Active
Application number
CN201610105700.6A
Other languages
Chinese (zh)
Other versions
CN105700667A (en
Inventor
谢巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610105700.6A priority Critical patent/CN105700667B/en
Publication of CN105700667A publication Critical patent/CN105700667A/en
Application granted granted Critical
Publication of CN105700667B publication Critical patent/CN105700667B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/324Power 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 a kind of application operation methods, are applied to electronic equipment, the electronic equipment includes processor and battery.The method includes:Determine the first application;The first preset frequency is determined according to predetermined policy;And the processor is to start working frequency with first preset frequency, the first application of operation;Wherein, first preset frequency is less than the maximum operation frequency of the processor.

Description

Application operation method and electronic equipment
This divisional application be the applying date be on January 31st, 2012, application No. is 201210021360.0, it is entitled The divisional application of " application operation method and electronic equipment ".
Technical field
The present invention relates to the fields of electronic equipment, and more particularly to a kind of electronic equipment and applied to the electronic equipment Application operation method.
Background technology
In recent years, with the continuous development of electronic technology, used in the electronic equipment of such as mobile phone and computer Processor (such as central processing unit CPU) running frequency it is higher and higher, to provide the calculating and processing that constantly enhance Ability.However, the raising of the running frequency with processor, the power consumption of processor is consequently increased, and leads to such as mobile phone It shortens with the battery life of the electronic equipment of computer, to limit the portability and practicability of electronic equipment.
Currently, in order to reduce the power consumption of processor, commonly used approach is to make processor that frequency reducing be supported to use.It is existing Drop processor frequency method is typically according to the type of application come frequency reducing.For example, by taking the processor of smart mobile phone as an example, such as running When talk application, processor starts application operation with lower frequency, and in application game application, processor is opened with upper frequency Dynamic application operation.However, such drop processor frequency method do not consider apply actual load needs, such as 3D play with Common 2D game, processor all starts application operation with high-frequency, and actually common 2D game is not needed to high frequency Rate starts operation.In addition, user also can not as needed active accommodation processor for specific application startup running frequency.Cause This, it is desirable to provide a kind of application operation method applied to electronic equipment, enabling determined for application based on predetermined policy Startup working frequency, so as to according to the actual loading of user demand and application come dynamically adjust the working frequency of processor to Reduce the power consumption of electronic equipment.
Invention content
According to embodiments of the present invention, a kind of application operation method is provided, electronic equipment, the electronic equipment packet are applied to Processor and battery are included, the method includes:Determine the first application;The first preset frequency is determined according to predetermined policy;And institute It is to start working frequency that processor, which is stated, with first preset frequency, the first application of operation;Wherein, first preset frequency is low In the maximum operation frequency of the processor.
In addition, application operation method according to the ... of the embodiment of the present invention, wherein determining the first preset frequency according to predetermined policy Including:First preset frequency is determined according to first application.
In addition, application operation method according to the ... of the embodiment of the present invention, wherein determining the first preset frequency according to predetermined policy Including:Acquire the battery information of the battery;Obtain the battery information and working frequency correspondence;And according to the electricity Pond information and the correspondence determine first preset frequency corresponding with the battery information.
In addition, application operation method according to the ... of the embodiment of the present invention, wherein first application includes leader and work( Energy part, it is described to determine that the first preset frequency includes according to predetermined policy:The leader determines first according to predetermined policy Preset frequency;The processor is to start working frequency with first preset frequency, and the first application of operation includes:The processing Device is to start working frequency with first preset frequency, the funtion part of operation first application.
In addition, application operation method according to the ... of the embodiment of the present invention, wherein the leader determines the first preset frequency Including:The leader changes the first predetermined value of the first register by interface;The processor reads described first and posts The first predetermined value in storage;And operating voltage is set as corresponding with the first predetermined value predetermined by the processor Voltage, wherein first preset frequency corresponds to the predetermined voltage.
In addition, application operation method according to the ... of the embodiment of the present invention, wherein the leader determines the first preset frequency Including:The leader changes the second predetermined value of the second register by interface;The processor reads described second and posts The second predetermined value in storage;And the processor by the ratio of working frequency and external crystal-controlled oscillation frequency be set as with it is described The corresponding value of second predetermined value.
In addition, application operation method according to the ... of the embodiment of the present invention, wherein determining the first preset frequency according to predetermined policy Including:Receive the instruction input by user of the electronic equipment;And frequency corresponding with described instruction is determined as described One preset frequency.
In addition, application operation method according to the ... of the embodiment of the present invention, wherein determining the first preset frequency according to predetermined policy Including:It obtains and applies corresponding second frequency with described first;Obtain the third frequency of current processor;Compare second frequency Rate and third frequency, and the larger frequency in the two is determined as first preset frequency.
In addition, application operation method according to the ... of the embodiment of the present invention, further includes:Acquire the state letter of the electronic equipment Breath;Judge whether the status information meets predetermined condition;When a predetermined condition is satisfied, the status information and the place are obtained Manage the correspondence of the working frequency of device;And according to the correspondence, with the 4th different from first preset frequency Frequency operation first application.
According to another embodiment of the present invention, a kind of electronic equipment is provided, including:Using determination unit, for determining First application;Frequency determinative elements, for determining the first preset frequency according to predetermined policy;And processing unit, for institute It is to start working frequency to state the first preset frequency, the first application of operation;Wherein, first preset frequency is single less than the processing The maximum operation frequency of member.
In addition, electronic equipment according to the ... of the embodiment of the present invention, wherein the frequency determinative elements are according to first application Determine first preset frequency.
In addition, electronic equipment according to the ... of the embodiment of the present invention, further includes:Battery information collecting unit, it is described for acquiring The battery information of electronic equipment;Correspondence determination unit, for obtaining the battery information and working frequency correspondence;Its In, the frequency determinative elements determine corresponding with the battery information described according to the battery information and the correspondence First preset frequency.
In addition, electronic equipment according to the ... of the embodiment of the present invention, wherein first application includes leader and function part Point, wherein the frequency determinative elements determine that the first preset frequency includes according to predetermined policy:The frequency determinative elements load The leader, to determine the first preset frequency according to predetermined policy;And the processing unit is predetermined with described first Frequency is to start working frequency, and the first application of operation includes:The processing unit is to start work with first preset frequency Frequency, the funtion part of operation first application.
In addition, electronic equipment according to the ... of the embodiment of the present invention, further includes the first register cell, wherein the frequency determines Unit loads the leader, to determine that the first preset frequency includes according to predetermined policy:The leader is by connecing Mouth changes the first predetermined value of first register cell;The frequency determinative elements are read in first register cell The first predetermined value;And the operating voltage of the processing unit is set as with described first in advance by the frequency determinative elements The corresponding predetermined voltage of definite value, wherein first preset frequency corresponds to the predetermined voltage.
In addition, electronic equipment according to the ... of the embodiment of the present invention, further includes the second register cell, wherein the frequency determines Unit loads the leader, to determine that the first preset frequency includes according to predetermined policy:The leader is by connecing Mouth changes the first predetermined value of first register cell;The frequency determinative elements are read in second register cell The second predetermined value;And the frequency determinative elements are by the working frequency of the processing unit and external crystal-controlled oscillation frequency Ratio is set as value corresponding with the second predetermined value.
In addition, electronic equipment according to the ... of the embodiment of the present invention, further includes input unit, wherein the frequency determinative elements according to Determine that the first preset frequency includes according to predetermined policy:The finger input by user of the electronic equipment is received by the input unit It enables;And frequency corresponding with described instruction is determined as first preset frequency by the frequency determinative elements.
In addition, electronic equipment according to the ... of the embodiment of the present invention, wherein the frequency determinative elements are according to first application Determine that first preset frequency includes:The frequency determinative elements are obtained applies corresponding second frequency with described first;Institute State the third frequency that frequency determinative elements obtain presently described processing unit;The frequency determinative elements second frequency With third frequency, and the larger frequency in the two is determined as first preset frequency.
In addition, electronic equipment according to the ... of the embodiment of the present invention, further includes status information capture unit, for acquiring the electricity The status information of sub- equipment, wherein the frequency determinative elements judge whether the status information meets predetermined condition;Work as satisfaction When predetermined condition, the frequency determinative elements obtain the status information and the corresponding of the working frequency of the processing unit is closed System;And the processing unit is according to the correspondence, to run institute different from the 4th frequency of first preset frequency State the first application.
According to still another embodiment of the invention, a kind of electronic equipment is provided, including:Processor;And battery, wherein The processor determines the first application, determines the first preset frequency according to predetermined policy, and be with first preset frequency Start working frequency, the first application of operation;Wherein, first preset frequency is less than the maximum operation frequency of the processor.
In addition, electronic equipment according to the ... of the embodiment of the present invention, wherein the processor determines that first is pre- according to predetermined policy Determining frequency includes:The processor determines first preset frequency according to first application.
In addition, electronic equipment according to the ... of the embodiment of the present invention, wherein the processor determines that first is pre- according to predetermined policy Determining frequency includes:Acquire the battery information of the battery;Obtain the battery information and working frequency correspondence;And foundation The battery information and the correspondence determine first preset frequency corresponding with the battery information.
In addition, electronic equipment according to the ... of the embodiment of the present invention, wherein first application includes leader and function part Point, the processor determines that the first preset frequency includes according to predetermined policy:The leader is loaded, so as to according to predetermined plan Slightly determine the first preset frequency;The processor is to start working frequency with first preset frequency, operation the first application packet It includes:The processor is to start working frequency with first preset frequency, the funtion part of operation first application.
In addition, electronic equipment according to the ... of the embodiment of the present invention, wherein the leader is loaded, to determine that first is predetermined Frequency includes:The leader changes the first predetermined value of the first register by interface;The processor reads described the The first predetermined value in one register;And operating voltage is set as corresponding with the first predetermined value by the processor Predetermined voltage, wherein first preset frequency corresponds to the predetermined voltage.
In addition, electronic equipment according to the ... of the embodiment of the present invention, wherein the leader is loaded, to determine that first is predetermined Frequency includes:The leader changes the second predetermined value of the second register by interface;The processor reads described the The second predetermined value in two registers;And the processor by the ratio of working frequency and external crystal-controlled oscillation frequency be set as with The corresponding value of the second predetermined value.
In addition, electronic equipment according to the ... of the embodiment of the present invention, the processor determines the first predetermined frequency according to predetermined policy Rate includes:The processor receives the instruction input by user of the electronic equipment;And it will frequency corresponding with described instruction It is determined as first preset frequency.
In addition, electronic equipment according to the ... of the embodiment of the present invention, the processor determines the first predetermined frequency according to predetermined policy Rate includes:The processor is obtained applies corresponding second frequency with described first, obtains the third frequency of current processor, than The second frequency and third frequency, and the larger frequency in the two is determined as first preset frequency.
In addition, electronic equipment according to the ... of the embodiment of the present invention, wherein the processor acquires the state of the electronic equipment Information;Judge whether the status information meets predetermined condition;When a predetermined condition is satisfied, the status information and described is obtained The correspondence of the working frequency of processor;And according to the correspondence, with different from first preset frequency Four frequencies operation, first application.
Application operation method according to the ... of the embodiment of the present invention and electronic equipment are realized to be directed to based on predetermined policy determination and be answered Startup working frequency, so as to according to the actual loading of user demand and application come dynamically adjust the working frequency of processor from And reduce the power consumption of electronic equipment.
It is to be understood that foregoing general description and following detailed description are both illustrative, and it is intended to In the further explanation for providing claimed technology.
Description of the drawings
Fig. 1 is the block diagram for the main configuration for illustrating electronic equipment according to the ... of the embodiment of the present invention;
Fig. 2 is the flow chart for illustrating application operation method according to the ... of the embodiment of the present invention;
Fig. 3 is the flow for the process that diagram application operation method according to the ... of the embodiment of the present invention determines the first preset frequency Figure;And
Fig. 4 is the stream for another process that diagram application operation method according to the ... of the embodiment of the present invention determines the first preset frequency Cheng Tu.
Specific implementation mode
Hereinafter, by preferred embodiments of the present invention will be described in detail with reference to the annexed drawings.
First, electronic equipment according to the ... of the embodiment of the present invention will be described referring to Fig.1.The electronic equipment is preferably e.g. Smart mobile phone, personal digital assistant, palm PC etc..It should be noted that those skilled in the art it is easily understood that Fig. 1 only shows the component being closely related with technical solution of the present invention, and other components (such as, display unit, input list is not shown Member etc.), and its specific descriptions will be omitted herein.
As shown in Figure 1, electronic equipment 100 according to the ... of the embodiment of the present invention includes mainly processor unit 101, register list Member 102 and power supply unit 103.Specifically, the processor unit 101 runs the operating system of electronic equipment 100 (such asDeng) and various applications.The register cell 102 is set for storing Set the relevant information needed for the working frequency of the processor unit 101.
In a preferred embodiment of the invention, the processor unit 101 is the processor under ARM system framework, It more pursues the saving for power consumption than the processor of general X86 systems.Certainly, the invention is not limited thereto, but can apply Processor under various system architectures.It can be controlled by controlling the height to the supply voltage of the processor unit 101 Make its working frequency.It therefore, can be electric by configuring the power supply of the processor cores of PMU (Power Management Unit, Fig. 1 are not shown) It presses corresponding working frequency is arranged.Since the technique of processor chips production is different, the voltage that can be received is different and right The frequency answered is also different.The register cell 102 is used to store the supply voltage pass corresponding with its working frequency of processor System.For example, in a preferred embodiment of the invention, it is assumed that 1.2V supply voltages correspond to the processor work frequency of 1200MHz Rate, then can be arranged about 12 grades of supply voltage and processor working frequency respective value table, and be stored in corresponding Register cell 102.In the case, the storage content of the register cell 102 is as shown in table 1 below:
Table 1
Since processor supply voltage cannot be too low, otherwise processor is unable to steady operation, therefore can be steady in processor Under the premise of fixed work, its working frequency is determined.Its work is determined by determining the corresponding frequency values of different voltages, therefore in application When loading, corresponding voltage value can be directly set, corresponding working frequency is made up to.In addition, in the another of the present invention In preferred embodiment, a force bit can also be increased in register cell 102, when the force bit is effective, even if limitation work When making load reduction, as long as the application is also being run, it is maintained for stable working frequency.If the force bit is set as invalid, It can so be adjusted into Mobile state within the scope of upper operational frequency limit according to the actual loading of application.Such as by the way that register is arranged Unit 102 (for example, OUTPWR registers of PMU) obtains different voltage, and register cell 102 can be 5 bits, wherein A high position is force bit, and latter four are different output voltage values.As forced to be set as 1000MHz, then the register can be arranged It is 11101.
It in another preferred embodiment of the invention, can be by the way that PLL (phaselocked loop) be arranged to control the processor The ratio of the working frequency and external crystal-controlled oscillation frequency of unit 101, is arranged the working frequency of the processor unit 101.It is excellent at this It selects in embodiment, the register cell 102 is the register cell for PLL to be arranged.The register cell 102 can wrap Include lower column register:PLLCON, PLLCFG, PLLSTAT and PLLFEED.Wherein, PLLCON registers include enabled connection PLL Position, namely for control PLL whether be attached.This connection needs sending (the feeding of correct information to PLLFEED Sequence) when just come into force, even if otherwise by enable bit set, PLL will not be connected in circuit.Therefore, PLLCON is necessary It is just set before PLL starts connection, no it will cause the unpredictable mistakes of system.PLLCFG registers are used for being arranged again Frequency coefficient M and frequency division coefficient N.The two values determine frequency multiplication and the frequency of frequency dividing.Processor unit 101 can be set to outside The Clock Multiplier Factor M of crystal oscillator frequency, if external crystal-controlled oscillation frequency is 30MHZ, then it is 10,20,30,40 that Clock Multiplier Factor M, which can be arranged, Deng making the frequency of processor unit 101 respectively reach 300MHZ, 600MHZ, 900MHZ, 1200MHZ.PLLSTAT registers are used In storing and read the value of PLLCON, PLLCFG, but must be sent in the feed sequence of PLLFEED, PLLCON, PLLCFG Correct value can be just read after coming into force.PLLFEED registers are used to be written to feeding sequence with the continuous VPB bus cycles Row.After correct sequence is written into PLLFEED, PLLCON, PLLCFG just come into force, to which PLL circuit could correctly connect It is connected in circuit.
The foregoing describe specific come two kinds of given processor task frequency by changing the value of the register cell 102 Embodiment.In a preferred embodiment of the invention, the developer of application in the development process of the application described A leader is pre-set in, the leader is used for described in API (application programming interfaces) modifications by standard Register cell 102, so as to the working frequency of given processor unit 101.
Said supply unit 103 is used to power for the electronic equipment 100.In a preferred embodiment of the invention, The power supply 102 can be battery.
In another preferred embodiment of the invention, the electronic equipment 100 further includes state acquisition unit, for adopting The status information (such as, system load state and battery status information etc.) for collecting the electronic equipment 100, to be transported in application The working frequency of the processor unit 101 is set dynamically after row according to the status information of the electronic equipment 100.
Next, by the application operation method for electronic equipment 100 with reference to Fig. 2 descriptions according to the embodiment of the present invention.
Fig. 2 is the flow chart for illustrating application operation method according to the ... of the embodiment of the present invention.
Application operation method according to the ... of the embodiment of the present invention includes:
In step s 201,101 determination of processing unit of the electronic equipment 100 the first application to be run.For example, In a preferred embodiment of the present invention, the user of the electronic equipment 100 provides fortune by input unit (not shown in figure 1) When the instruction of row application, the electronic equipment 100 determines the first application corresponding with the user instruction.In addition, in this hair In another bright preferred embodiment, the processing unit 101 of the electronic equipment 100 detects whether to meet applications trigger condition, (such as, judge whether to meet according to system time noisy if the judgement of the processing unit 101 meets a certain applications trigger condition The trigger condition of clock application), then the processing unit 101 determines application conduct corresponding with the applications trigger condition met First application.
In step S202, the first preset frequency is determined according to predetermined policy.
Specifically, in a preferred embodiment of the invention, according to predetermined policy determine the first preset frequency include according to According to identified first application in step s 201, its corresponding first preset frequency is determined.However, the present invention is unlimited In this embodiment.
In another preferred embodiment of the invention, determine that the first preset frequency includes by described according to predetermined policy State acquisition unit acquires the battery information of said supply unit 103 (such as battery), to obtain the battery information and place The correspondence for managing the working frequency of device unit 101, to according to the battery information and correspondence determination with it is described Corresponding first preset frequency of battery information.
In addition, in another preferred embodiment of the present invention, first preset frequency can also be specified by user. That is, the electronic equipment 100 receives instruction input by user, and will be with institute after determining first application It states the corresponding frequency of instruction and is determined as first preset frequency.Specifically, first application determined in step s 201 A processing unit working frequency setting interface can be provided to the user, boundary can be arranged by operating the working frequency in user Face conveniently sets up the working frequency of processor unit 101.In addition, user can also input work by different triggering modes Working frequency setting instruction.For example, if the icon of user click the first application to be started, by the processing of the first application of operation The working frequency of device unit 101 is set as low frequency, on the contrary, if user double-clicks the icon of the first application to be started, it will fortune The working frequency for the processor unit 101 that row first is applied is set as high-frequency.It similarly, can be on the electronic equipment 100 Different function key is set, when user presses the first function key to start first in application, by the processor list of the first application of operation The working frequency of member 101 is set as low frequency, when user presses the second function key to start first in application, will the second application of operation The working frequency of processor unit 101 be set as high-frequency.
In step S203, the processor unit 101 is made with first preset frequency determined in step S202 To start working frequency, operation first application.It should be noted that first preset frequency is equal to or less than the processing The maximum operation frequency of device unit 101.That is, realizing the startup work frequency determined based on predetermined policy for application Rate, under the premise of meeting the actual needs of application operation, to start application with the low startup working frequency of optimization to drop The power consumption of low electronic equipment.
Hereinafter, by further being specifically described in the application operation method of the embodiment of the present invention with reference to Fig. 3 and Fig. 4, foundation Predetermined policy determines the detailed process of the first preset frequency.Fig. 3 is that diagram application operation method according to the ... of the embodiment of the present invention is true The flow chart of the process of fixed first preset frequency;And Fig. 4 is that diagram application operation method according to the ... of the embodiment of the present invention determines The flow chart of another process of first preset frequency.
Specifically, in a preferred embodiment of the invention, it includes two parts that first application is practical, that is, is guided Part and funtion part.When determining the first preset frequency according to predetermined policy, first, with the current work of processor unit 101 Working frequency) the load leader, the leader determines the first preset frequency according to predetermined policy.The processor Unit 101 with first preset frequency be start working frequency to run the first application, in fact, the processor unit 101 with first preset frequency be start working frequency, operate in determine the first preset frequency after load first application Funtion part.
In the following, specifically describing the processing procedure of the leader.
In a preferred embodiment of the invention, as shown in figure 3, in step S301, loaded first application Leader according to first application predetermined set change register cell 102 first predetermined value.The institute referring to Fig.1 as before It states, the register cell 102 is used to store the correspondence of the supply voltage and its working frequency of processor.In this situation Under, first predetermined value in register cell 102 is set as value corresponding with its required working frequency by the leader of the first application. In step s 302, processor unit 101 reads the first predetermined value being arranged in step S301.In step S303, processing Its operating voltage is set as the first predetermined voltage corresponding with the first predetermined value read by device unit 101.Due to processor unit 101 working frequency has determining correspondence with its operating voltage, in the funtion part of the first application of subsequent load When, it is to start working frequency with the first preset frequency corresponding with the first predetermined voltage determined in step S303.
In another preferred embodiment of the invention, as shown in figure 4, in step S401, what is loaded first answers Leader changes the second predetermined value of register cell 102 according to the predetermined set of the first application.As before referring to Fig.1 Described, the register cell 102 is the register cell for PLL to be arranged.In the case, the leader of the first application Second predetermined value in register cell 102 is set as value corresponding with its required working frequency.In step S402, processor list Member 101 reads the second predetermined value being arranged in step S401.In step S403, processor unit 101 by working frequency with The ratio of external crystal-controlled oscillation frequency is set as value corresponding with the second predetermined value read in step S402.To in subsequent load the It is to start work with the first preset frequency corresponding with the second predetermined value determined in step S403 when the funtion part of one application Working frequency.
In addition, in a preferred embodiment of the invention, it, may in electronic equipment 100 before the first application of operation Have existed other application in operating status.The needs that therefore, it is necessary to consider to meet application in operating status, Without causing to be adjusted the processing capacity of caused processor not according only to the determining processor working frequency of the first application The problem of foot.In the case, determine that the first preset frequency further includes specifically according to predetermined policy:It obtains and described first first Using corresponding second frequency, the third frequency (that is, current operation frequency) of current processor unit 101 is obtained later, hereafter Compare the second frequency and the third frequency, and the larger frequency in the two is determined as first preset frequency. Specifically, the leader of the first application loaded will obtain the second frequency and the third frequency is compared. When the second frequency is higher than the third frequency, the leader is led to the above-mentioned flow described with reference to Fig. 3 or Fig. 4 The value for changing the register cell 102 is crossed, the second frequency is set as to the startup working frequency of the first application, and then The funtion part of the first application of load.On the contrary, when the second frequency is equal to or less than the third frequency, then keep current Running frequency, and then load first application funtion part.Certainly, the invention is not limited thereto, can be by comparing more The frequency needs of a operation application, determine best working frequency, realize deficiency or the waste for not leading to processor processing capacity, Power consumption is saved to the maximum extent simultaneously.
More than, it is described by referring to Fig. 3 and 4 and determines the first application by loading the leader of first application Startup working frequency flow.However, the invention is not limited thereto.In a preferred embodiment of the invention, determining After stating the first application, the operating system of the electronic equipment 100 can read pre-stored each application from its storage unit The inquiry table of relationship between its corresponding startup running frequency, and found and first application pair in the inquiry table The startup running frequency answered, to start first application with the startup running frequency.
In addition, in a preferred embodiment of the invention, after the first application of operation, the state acquisition unit is protected The acquisition (such as, system load state and battery status information etc.) of the status information for the electronic equipment 100 is held, is used In judging whether the status information meets predetermined condition.When a predetermined condition is satisfied, the status information and the place are obtained The correspondence of the working frequency of device unit 101 is managed, thus according to the correspondence, to be different from first preset frequency The 4th frequency operation it is described first application.For example, the predetermined condition that the status information can be arranged is that battery capacity is insufficient 50%, then when the status information indicating battery electric quantity of acquisition is less than 50%, obtain the item with the battery capacity less than 50% The working frequency of the corresponding processor unit of part 101, to run the application with the working frequency newly obtained.
Electronic equipment according to the ... of the embodiment of the present invention and application operation method, the use are described above with reference to Fig. 1 to Fig. 4 Operation method is realized determines startup working frequency for application based on predetermined policy, so as to according to user demand and application Actual loading dynamically adjusts the working frequency of processor to reduce the power consumption of electronic equipment.
It should be noted that in the present specification, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that There is also other identical elements in the process, method, article or apparatus that includes the element.
Finally, it is to be noted that, it is above-mentioned it is a series of processing include not only with sequence described here in temporal sequence The processing of execution, and include the processing executed parallel or respectively rather than in chronological order.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required hardware platform to realize, naturally it is also possible to all be implemented by hardware.Based on this understanding, Technical scheme of the present invention can be expressed in the form of software products in whole or in part to what background technology contributed, The computer software product can be stored in a storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are making It obtains a computer equipment (can be personal computer, server or the network equipment etc.) and executes each embodiment of the present invention Or the method described in certain parts of embodiment.
The present invention is described in detail above, specific case used herein is to the principle of the present invention and embodiment party Formula is expounded, and the explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention;Meanwhile it is right In those of ordinary skill in the art, according to the thought of the present invention, change is had in specific embodiments and applications Place, in conclusion the content of the present specification should not be construed as limiting the invention.

Claims (24)

1. a kind of application operation method is applied to electronic equipment, the electronic equipment includes processor and battery, the method packet It includes:
Determine the first application;
The first preset frequency is determined according to predetermined policy;And
The processor is to start working frequency with first preset frequency, the first application of operation;
Wherein, first preset frequency is less than the maximum operation frequency of the processor,
Wherein, the method further includes:
Acquire the status information of the electronic equipment;
Judge whether the status information meets predetermined condition;
When a predetermined condition is satisfied, the correspondence of the status information and the working frequency of the processor is obtained;And
According to the correspondence, with different from the 4th frequency of first preset frequency operation first application.
2. application operation method as described in claim 1, wherein determining that the first preset frequency includes according to predetermined policy:
First preset frequency is determined according to first application.
3. application operation method as described in claim 1, wherein determining that the first preset frequency includes according to predetermined policy:
Acquire the battery information of the battery;
Obtain the battery information and working frequency correspondence;And
First preset frequency corresponding with the battery information is determined according to the battery information and the correspondence.
4. application operation method as described in claim 1, wherein first application includes leader and funtion part,
It is described to determine that the first preset frequency includes according to predetermined policy:The leader determines that first is predetermined according to predetermined policy Frequency;
The processor is to start working frequency with first preset frequency, and the first application of operation includes:The processor with First preset frequency is to start working frequency, the funtion part of operation first application.
5. application operation method as claimed in claim 4, wherein the leader determines that the first preset frequency includes:
The leader changes the first predetermined value of the first register by interface;
The processor reads the first predetermined value in first register;And
Operating voltage is set as predetermined voltage corresponding with the first predetermined value by the processor,
Wherein, first preset frequency corresponds to the predetermined voltage.
6. application operation method as claimed in claim 4, wherein the leader determines that the first preset frequency includes:
The leader changes the second predetermined value of the second register by interface;
The processor reads the second predetermined value in second register;And
The ratio of working frequency and external crystal-controlled oscillation frequency is set as value corresponding with the second predetermined value by the processor.
7. application operation method as claimed in claim 2, wherein determining that the first preset frequency includes according to predetermined policy:
It obtains and applies corresponding second frequency with described first;
Obtain the third frequency of current processor;
Compare the second frequency and third frequency, and the larger frequency in the two is determined as first preset frequency.
8. application operation method as described in claim 1, wherein determining that the first preset frequency includes according to predetermined policy:
Receive the instruction input by user of the electronic equipment;And
Frequency corresponding with described instruction is determined as first preset frequency.
9. a kind of electronic equipment, including:
Using determination unit, for determining the first application;
Frequency determinative elements, for determining the first preset frequency according to predetermined policy;
Processing unit, for being to start working frequency with first preset frequency, the first application of operation;And
Status information capture unit, the status information for acquiring the electronic equipment;
Wherein, first preset frequency is less than the maximum operation frequency of the processing unit,
Wherein, the frequency determinative elements judge whether the status information meets predetermined condition;
When a predetermined condition is satisfied, the frequency determinative elements obtain the working frequency of the status information and the processing unit Correspondence;And
The processing unit is according to the correspondence, with different from the 4th frequency of first preset frequency operation described the One application.
10. electronic equipment as claimed in claim 9, wherein the frequency determinative elements are applied according to described first described in determination First preset frequency.
11. electronic equipment as claimed in claim 9, further includes:
Battery information collecting unit, the battery information for acquiring the electronic equipment;
Correspondence determination unit, for obtaining the battery information and working frequency correspondence;
Wherein, the frequency determinative elements determine corresponding with the battery information according to the battery information and the correspondence First preset frequency.
12. electronic equipment as claimed in claim 9, wherein first application includes leader and funtion part,
Wherein, the frequency determinative elements determine that the first preset frequency includes according to predetermined policy:The frequency determinative elements add The leader is carried, to determine the first preset frequency according to predetermined policy;And the processing unit is pre- with described first It is to start working frequency to determine frequency, and the first application of operation includes:The processing unit is to start work with first preset frequency Working frequency, the funtion part of operation first application.
13. electronic equipment as claimed in claim 12 further includes the first register cell,
The wherein described frequency determinative elements load the leader, to determine the first preset frequency packet according to predetermined policy It includes:
The leader changes the first predetermined value of first register cell by interface;
The frequency determinative elements read the first predetermined value in first register cell;And
The operating voltage of the processing unit is set as predetermined electricity corresponding with the first predetermined value by the frequency determinative elements Pressure,
Wherein, first preset frequency corresponds to the predetermined voltage.
14. electronic equipment as claimed in claim 12 further includes the second register cell,
The wherein described frequency determinative elements load the leader, to determine the first preset frequency packet according to predetermined policy It includes:
The leader changes the second predetermined value of second register cell by interface;
The frequency determinative elements read the second predetermined value in second register cell;And
The ratio of the working frequency of the processing unit and external crystal-controlled oscillation frequency is set as and described by the frequency determinative elements The corresponding value of two predetermined values.
15. electronic equipment as claimed in claim 10, wherein the frequency determinative elements determine institute according to first application Stating the first preset frequency includes:
The frequency determinative elements are obtained applies corresponding second frequency with described first;
The frequency determinative elements obtain the third frequency of presently described processing unit;
The frequency determinative elements second frequency and third frequency, and the larger frequency in the two is determined as institute State the first preset frequency.
16. electronic equipment as claimed in claim 9 further includes input unit,
The wherein described frequency determinative elements determine that the first preset frequency includes according to predetermined policy:
The instruction input by user of the electronic equipment is received by the input unit;And
Frequency corresponding with described instruction is determined as first preset frequency by the frequency determinative elements.
17. a kind of electronic equipment, including:
Processor;And
Battery,
Wherein, the processor determines the first application, determines the first preset frequency according to predetermined policy, and pre- with described first It is to start working frequency to determine frequency, the first application of operation;
Wherein, first preset frequency is less than the maximum operation frequency of the processor,
Wherein, the processor acquires the status information of the electronic equipment;Judge whether the status information meets predetermined item Part;When a predetermined condition is satisfied, the correspondence of the status information and the working frequency of the processor is obtained;And foundation The correspondence, with different from the 4th frequency of first preset frequency operation first application.
18. electronic equipment as claimed in claim 17, wherein the processor determines the first preset frequency according to predetermined policy Including:
The processor determines first preset frequency according to first application.
19. electronic equipment as claimed in claim 17, wherein the processor determines the first preset frequency according to predetermined policy Including:
Acquire the battery information of the battery;
Obtain the battery information and working frequency correspondence;And
First preset frequency corresponding with the battery information is determined according to the battery information and the correspondence.
20. electronic equipment as claimed in claim 17, wherein first application includes leader and funtion part,
The processor determines that the first preset frequency includes according to predetermined policy:The leader is loaded, so as to according to predetermined Strategy determines the first preset frequency;
The processor is to start working frequency with first preset frequency, and the first application of operation includes:The processor with First preset frequency is to start working frequency, the funtion part of operation first application.
21. electronic equipment as claimed in claim 20, wherein the leader is loaded, to determine the first preset frequency packet It includes:
The leader changes the first predetermined value of the first register by interface;
The processor reads the first predetermined value in first register;And
Operating voltage is set as predetermined voltage corresponding with the first predetermined value by the processor,
Wherein, first preset frequency corresponds to the predetermined voltage.
22. electronic equipment as claimed in claim 20, wherein the leader is loaded, to determine the first preset frequency packet It includes:
The leader changes the second predetermined value of the second register by interface;
The processor reads the second predetermined value in second register;And
The ratio of working frequency and external crystal-controlled oscillation frequency is set as value corresponding with the second predetermined value by the processor.
23. electronic equipment as claimed in claim 18, the processor determines that the first preset frequency includes according to predetermined policy:
The processor is obtained applies corresponding second frequency with described first, obtains the third frequency of current processor, compares The second frequency and third frequency, and the larger frequency in the two is determined as first preset frequency.
24. electronic equipment as claimed in claim 17,
Wherein, the processor determines that the first preset frequency includes according to predetermined policy:
The processor receives the instruction input by user of the electronic equipment;And
Frequency corresponding with described instruction is determined as first preset frequency.
CN201610105700.6A 2012-01-31 2012-01-31 Application operation method and electronic equipment Active CN105700667B (en)

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
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

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 CN105700667A (en) 2016-06-22
CN105700667B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750519B (en) * 2015-03-12 2018-01-23 广东欧珀移动通信有限公司 The startup method and mobile terminal of a kind of mobile terminal
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
CN107831887B (en) * 2017-12-21 2021-03-23 青岛海信移动通信技术股份有限公司 Application starting method and device

Citations (2)

* Cited by examiner, † Cited by third party
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
JP2010219591A (en) * 2009-03-13 2010-09-30 Panasonic Corp Electronic device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
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
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
JP2010219591A (en) * 2009-03-13 2010-09-30 Panasonic Corp Electronic device

Also Published As

Publication number Publication date
CN103226382A (en) 2013-07-31
CN105700667A (en) 2016-06-22
CN103226382B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN103890694B (en) System and method of the task based access control emergency to manage clock rate
CN102651785B (en) Remote wakeup of application processor of mobile device
CN104798004B (en) Controlled and biased according to power-balance, balanced across the dynamic power of multiple domain processors
US9015512B2 (en) Accessory and host battery synchronization
CN102789304B (en) Power management method and related device
CN105700667B (en) Application operation method and electronic equipment
CN104011626B (en) By the system for being used for high energy efficiency and energy-conservation, the method and apparatus that configure power-management parameter during runtime
CN104615415B (en) A kind of information processing method and electronic equipment
US10064141B2 (en) Core frequency/count decision-based thermal mitigation optimization for a multi-core integrated circuit
EP2629173A2 (en) Method and system for powering usb device
CN110109527A (en) Dynamic electric voltage nargin is restored
US9477293B2 (en) Embedded controller for power-saving and method thereof
CN110381130A (en) The long connection method of keep-alive, device, communication terminal and storage medium
CN110716631A (en) Power supply management method, device, equipment and readable storage medium
US8645740B2 (en) Methods and systems to dynamically manage performance states in a data processing system
CN104204988B (en) The processor sleep state of activity display
JP2022036904A (en) Core voltage selection device and method with good energy efficiency
CN107924217A (en) Low ripple patterns of change mechanism in switched capacitor voltage adjuster
CN102156535A (en) Energy-saving processing method and energy-saving processing device for hardware
US20110320835A1 (en) System and method for dynamically managing power in an electronic device
CN104076892B (en) Power supply management method and power supply management system
US20150301582A1 (en) Energy Efficient Mobile Device
CN106814840A (en) Low power state for processor keeps pattern
CN103677881A (en) Method for controlling electronic device, and electronic device
CN103377015B (en) Electronic equipment and its information processing method

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