CN1622044A - Method of adjusting processor frequency for portable digital devices - Google Patents

Method of adjusting processor frequency for portable digital devices Download PDF

Info

Publication number
CN1622044A
CN1622044A CN 200310112257 CN200310112257A CN1622044A CN 1622044 A CN1622044 A CN 1622044A CN 200310112257 CN200310112257 CN 200310112257 CN 200310112257 A CN200310112257 A CN 200310112257A CN 1622044 A CN1622044 A CN 1622044A
Authority
CN
China
Prior art keywords
frequency
utilization rate
processor
operation value
portable digital
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200310112257
Other languages
Chinese (zh)
Inventor
郭幸评
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitac Computer Shunde Ltd
Mitac International Corp
Original Assignee
Mitac Computer Shunde Ltd
Mitac International Corp
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 Mitac Computer Shunde Ltd, Mitac International Corp filed Critical Mitac Computer Shunde Ltd
Priority to CN 200310112257 priority Critical patent/CN1622044A/en
Publication of CN1622044A publication Critical patent/CN1622044A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present invention is one method of regulating the frequency of processor in portable digital device. Inside the portable digital device, one detection mechanism and one regulating mechanism are set. During the operation of the portable digital device, the detection mechanism is used to detect the processing frequency of CPU, and the regulating mechanism is informed to regulating the work frequency of the CPU based on the load of the CPU.

Description

The method of adjustment of the processor frequencies of portable digital device
Technical field
The present invention is a kind of method of adjustment of processor frequencies, particularly a kind of method of adjustment that is applied to central processor (CPU) among the portable digital device.
Background technology
Early stage people are as if the trival matters that will write down in daily life and the work, just have only by pen and help memory with paper, because the progress of science and technology, people are for the ease of the trival matters in memory daily life and the work, design has the portable digital device, handle huge information, management work and life with the assistance modern, and the expansion of portable digital device in recent years is rapid especially, with personal digital assistant (Personal Digital Assistant; PDA) development is a tangible example.
With the PDA(Personal Digital Assistant) is example, its function can be said so all-embracing, comprising having: (EXPENSE) and Email (EMAIL) are calculated in calendar (DATE BOOK), telephone directory (ADDRESS BOOK), pending management (TO DO LIST), notepad (MEMOPAD), compute machine (CALCULATOR), spending, also comprise electronic game etc. even ... function, because function is numerous and have portability, also day by day popularize.
Though PDA(Personal Digital Assistant) has function so easily, but general on the market PDA(Personal Digital Assistant) at present, it all is the frequency of operation of selecting central processing unit (CPU) with the user voluntarily, and be fixed in the running of this frequency, this mode then can't be adjusted the frequency of operation of central processing unit (CPU) with the height of the load of PDA(Personal Digital Assistant), make PDA(Personal Digital Assistant) generation load overweight easily, working reaction is shortcoming slowly, or the frequency of operation of central processing unit (CPU) forms unnecessary electrical source consumption far above the load of PDA(Personal Digital Assistant).
Summary of the invention
Because learning the portable digital device, above-mentioned problem can just influence the usefulness of the consumption and the work of its power supply because of work load, therefore how according to the operating load of portable digital device, the frequency of operation of the adjustment central processing unit (CPU) of maneuverability is the technical task of a worth discussion in fact.
The present invention proposes a kind of method of adjustment of processor frequencies of portable digital device, one detecting mechanism and one mainly is set in the portable digital device adjusts mechanism, when portable digital is installed on work, use detecting mechanism to detect the processing frequency of central processing unit (CPU), and according to the load of central processing unit (CPU) work, notify the mechanism of adjustment to adjust the frequency of operation of central processing unit (CPU), its purpose is to look the work load of portable digital device, the frequency of operation of the adjustment central processing unit (CPU) of maneuverability, so can avoid the load of portable digital device overweight and to form working reaction slow, can reduce unnecessary electrical source consumption simultaneously.
Description of drawings
Be described in further detail below in conjunction with most preferred embodiment and accompanying drawing method of adjustment the processor frequencies of the present invention's portable digital device:
Fig. 1 is method of adjustment steps flow chart (1) figure of the processor frequencies of portable digital device of the present invention;
Fig. 2 is method of adjustment steps flow chart (2) figure of the processor frequencies of portable digital device of the present invention; And
Fig. 3 is method of adjustment steps flow chart (3) figure of the processor frequencies of portable digital device of the present invention.
Embodiment
The present invention is a kind of method of adjustment of processor frequencies of portable digital device, please refer to " Fig. 1 ", is method of adjustment steps flow chart (1) figure of the processor frequencies of personal digital assistant of the present invention.
Be provided with a plurality of frequency of operation values and a plurality of utilization rate in the present invention's the method for adjustment, and the utilization rate of this processor includes: short-term utilization rate and long-term utilization rate, at first set with regard to above-mentioned each frequency of operation value and utilization rate, in order to follow-up explanation:
Title Setting value Title Setting value
The first frequency of operation value ??100% Recent utilization rate 5 seconds
The second frequency of operation value ??85% Utilization rate at a specified future date 30 seconds
The 3rd frequency of operation value ??70% First utilization rate ??75%
The 4th frequency of operation value ??55% Second utilization rate ??50%
At first computation processor is in a recent time utilization rate (step 100), this step is the utilization rate of calculating this 5 seconds inner treaters, computation processor is in a time utilization rate (step 110) at a specified future date then, this step is then for calculating the utilization rate of this 30 seconds inner treaters, calculate the present frequency ratio (step 120) of portable digital device at last, wherein frequency ratio is the ratio of present frequency of processor and highest frequency, after finishing aforementioned calculation, the program (being that steps A is to step B) that then enters detecting and adjust, wherein steps A comprises frequency ratio and the frequency of operation value is compared and the utilization rate and the utilization rate of processor are compared to step B, result according to above-mentioned comparison adjusts processor frequencies simultaneously, after finishing adjustment, then make the mechanism of adjustment in a Preset Time, be in the state (step 130) of awaiting orders, and when Preset Time finishes, get back to step 100 and continue to carry out.
Next do further detailed description with regard to steps A to the flow process of step B, please refer to " Fig. 2 ", be method of adjustment steps flow chart (2) figure of the processor frequencies of portable digital device of the present invention.
After finishing calculating, judge at first whether this frequency ratio equals the first frequency of operation value (step 200), be whether frequency ratio equals 100%, if whether identical then judgement time utilization rate at a specified future date is less than second utilization rate (step 210), if utilization rate is less than 50% in 30 seconds, then the frequency of operation with processor downgrades the second frequency of operation value (step 220), the frequency of operation of processor was then reduced to 85% and was reduced loss this moment, if the frequency ratio of step 200 is not to equal 100%, judge then whether this frequency ratio equals the second frequency of operation value (step 230), if frequency ratio equals 85%, judge that then whether recent time utilization rate is greater than first utilization rate (step 240), if utilization rate is greater than 75% in 5 seconds, then the frequency of operation with processor increases to the first frequency of operation value (step 250), the frequency of operation of processor then rose to 100% and bore bigger workload this moment, if utilization rate is not greater than 75% in 5 seconds, judge that then whether time utilization rate at a specified future date is less than second utilization rate (step 260), if utilization rate is less than 50% in 30 seconds, then the frequency of operation with processor downgrades the 3rd frequency of operation value (step 270), and the frequency of operation of processor was then reduced to 70% and reduced loss this moment.
Please refer to " Fig. 3 " at last, be method of adjustment steps flow chart (3) figure of the processor frequencies of portable digital device of the present invention.
If frequency ratio also is not equal to 85%, judge then whether this frequency ratio equals the 3rd frequency of operation value (step 300), if frequency ratio also is not equal to 70%, judge that whether recent time utilization rate is greater than first utilization rate (step 310), if utilization rate is greater than 75% in 5 seconds, the frequency of operation of processor is increased to the 3rd frequency of operation value (step 320), the frequency of operation of processor then rose to 70% and bore bigger workload this moment, if utilization rate is not greater than 75% in 5 seconds, then getting back to step 130 continues to carry out, if step 300 medium frequency ratio equals 70%, judge that then whether recent time utilization rate is greater than first utilization rate (step 330), if utilization rate is greater than 75% in 5 seconds, then the frequency of operation with processor increases to the second frequency of operation value (step 340), the frequency of operation of processor then rose to 85% and bore bigger workload this moment, if utilization rate is not greater than 75% in 5 seconds, judge that then whether time utilization rate at a specified future date is greater than second utilization rate (step 350), if utilization rate is less than 50% in 30 seconds, then the frequency of operation with processor downgrades the 4th frequency of operation value (step 360), the frequency of operation of processor was then reduced to 55% and was reduced loss this moment, if if utilization rate is not less than 50% in 30 seconds, then gets back to step 130 and continue to carry out.
The above person only is the present invention's preferred embodiment wherein, is not to be used for limiting practical range of the present invention; Be all, be all rights protection scope of the present invention and contain according to equalization variation and modification that the present invention did.

Claims (8)

1. the method for adjustment of the processor frequencies of a portable digital device is characterized in that this method includes:
A plurality of frequency of operation values and a plurality of utilization rate are set in this portable digital device;
Calculate the utilization rate of this processor;
Calculate this processor one frequency ratio;
This frequency ratio and this frequency of operation value are compared;
The utilization rate of this processor is compared with these a plurality of utilization rates; And
Result according to the above-mentioned steps comparison adjusts this processor frequencies, and presents an armed state after adjustment is finished.
2. the method for adjustment of the processor frequencies of portable digital device according to claim 1 is characterized in that the utilization rate of calculating this processor also comprises the following step:
Calculate one of this processor short-term utilization rate; And
Calculate the long-term utilization rate of one of this processor.
3. the method for adjustment of the processor frequencies of portable digital device according to claim 1 is characterized in that: this frequency ratio is the ratio of this processor one present frequency and a highest frequency more.
4. the method for adjustment of the processor frequencies of portable digital device according to claim 1 is characterized in that this frequency ratio and this frequency of operation value are compared, and also comprises the following step:
This frequency ratio and one first frequency of operation value are compared; And
During less than one second utilization rate, this processor frequencies is downgraded one second frequency of operation value in this long-term utilization rate.
5. as the method for adjustment of the processor frequencies of portable digital device as described in the claim 4, it is characterized in that: this frequency ratio and this first frequency of operation value are compared,, also comprised the following step if this frequency ratio is different from this first frequency of operation value:
This frequency ratio and this second frequency of operation value are compared;
, this processor frequencies is increased to this first frequency of operation value during in this short-term utilization rate greater than one first utilization rate; And
During less than this second utilization rate, this processor frequencies is downgraded one the 3rd frequency of operation value in this long-term utilization rate.
6. as the method for adjustment of the processor frequencies of portable digital device as described in the claim 5, it is characterized in that: this frequency ratio and this second frequency of operation value are compared,, also comprised the following step if this frequency ratio is different from this second frequency of operation value:
This frequency ratio and the 3rd frequency of operation value are compared;
, this processor frequencies is increased to this second frequency of operation value during in this short-term utilization rate greater than this first utilization rate; And
During less than this second utilization rate, this processor frequencies is downgraded one the 4th frequency of operation value in this long-term utilization rate.
7. as the method for adjustment of the processor frequencies of portable digital device as described in the claim 6, it is characterized in that: this frequency ratio and the 3rd frequency of operation value are compared, if this frequency ratio is different from the 3rd frequency of operation value, also include in this short-term utilization rate and during greater than this first utilization rate, this processor frequencies is increased to the step of the 3rd frequency of operation value.
8. as the method for adjustment of the processor frequencies of portable digital device as described in the claim 2, it is characterized in that: this recent utilization rate is set to 5 seconds, and should long term utilization rate be set to 30 seconds.
CN 200310112257 2003-11-24 2003-11-24 Method of adjusting processor frequency for portable digital devices Pending CN1622044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200310112257 CN1622044A (en) 2003-11-24 2003-11-24 Method of adjusting processor frequency for portable digital devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200310112257 CN1622044A (en) 2003-11-24 2003-11-24 Method of adjusting processor frequency for portable digital devices

Publications (1)

Publication Number Publication Date
CN1622044A true CN1622044A (en) 2005-06-01

Family

ID=34759668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200310112257 Pending CN1622044A (en) 2003-11-24 2003-11-24 Method of adjusting processor frequency for portable digital devices

Country Status (1)

Country Link
CN (1) CN1622044A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100371859C (en) * 2005-06-23 2008-02-27 英特维数位科技股份有限公司 Method for regulating processor working frequency during video data playing
CN100412755C (en) * 2005-09-02 2008-08-20 鸿富锦精密工业(深圳)有限公司 In-time adjusting circuit for central processor frequency
CN104424031A (en) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 Working frequency control method and device for processor
CN105740075A (en) * 2016-01-27 2016-07-06 浪潮(北京)电子信息产业有限公司 CPU (Central Processing Unit) scheduling method and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100371859C (en) * 2005-06-23 2008-02-27 英特维数位科技股份有限公司 Method for regulating processor working frequency during video data playing
CN100412755C (en) * 2005-09-02 2008-08-20 鸿富锦精密工业(深圳)有限公司 In-time adjusting circuit for central processor frequency
US7552353B2 (en) 2005-09-02 2009-06-23 Hon Hai Precision Industry Co., Ltd. Controlling circuit for automatically adjusting clock frequency of a central processing unit
CN104424031A (en) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 Working frequency control method and device for processor
CN104424031B (en) * 2013-08-23 2021-01-26 中兴通讯股份有限公司 Method and device for controlling working frequency of processor
CN105740075A (en) * 2016-01-27 2016-07-06 浪潮(北京)电子信息产业有限公司 CPU (Central Processing Unit) scheduling method and system
CN105740075B (en) * 2016-01-27 2020-03-31 浪潮(北京)电子信息产业有限公司 CPU scheduling method and system

Similar Documents

Publication Publication Date Title
CN100549908C (en) Operating point management system and method in the multicore architecture
US7565562B2 (en) Context based power management
US20120284543A1 (en) User input triggered device power management
US7143071B2 (en) Method for changing CPU frequency under control of neural network
WO2013090187A1 (en) A method, apparatus, and system for energy efficiency and energy conservation including dynamic control of energy consumption in power domains
WO2005116866A1 (en) Method and system for word sequence processing
US7296169B2 (en) Method for adjusting a front-side bus frequency based on a processor usage rate stored in a translation table and generating the translation table if it does not exist
CN1678971A (en) Method and apparatus for adaptive power consumption
CN107533354A (en) The performance state of the processing engine of control processor
CN101699368A (en) Method and device for adaptive dynamic frequency or voltage adjustment of CPU
US20130047017A1 (en) Power management system and method
CN108153222A (en) A kind of energy control method and device
CN110554755A (en) Method and system for adjusting core voltage values of a portable computing device and enhancing frequency performance of individual subcomponents
US8522058B2 (en) Computer system with power source control and power source control method
US9323498B2 (en) Multiplier circuit with dynamic energy consumption adjustment
CN1622044A (en) Method of adjusting processor frequency for portable digital devices
KR20120106089A (en) Method for reducing power consumption of system software using query scheduling of application and apparatus for reducing power consumption using said method
CA2337287A1 (en) Computer power management in a dataprocessing system based on required battery life
US20100242040A1 (en) System and method of task assignment distributed processing system
US6966007B2 (en) Performance control method for a computer
CN113639470B (en) Water quantity control method and device for water heater, water heater and storage medium
JP2005504387A (en) Method and apparatus for pre-synchronization for high power-low power dual mode devices
JP5549616B2 (en) Device type determination device, device type determination program, and power management system
CN116011655A (en) Load ultra-short-term prediction method and system based on two-stage intelligent feature engineering
US11836507B2 (en) Prioritizing the pre-loading of applications with a constrained memory budget using contextual information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication