CN1614530A - Method and apparatus for adjusting CPU working frequency automatically - Google Patents
Method and apparatus for adjusting CPU working frequency automatically Download PDFInfo
- Publication number
- CN1614530A CN1614530A CN 200310103446 CN200310103446A CN1614530A CN 1614530 A CN1614530 A CN 1614530A CN 200310103446 CN200310103446 CN 200310103446 CN 200310103446 A CN200310103446 A CN 200310103446A CN 1614530 A CN1614530 A CN 1614530A
- Authority
- CN
- China
- Prior art keywords
- frequency
- sensor
- automatic adjustment
- cpu
- trigger condition
- 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
Landscapes
- Feedback Control In General (AREA)
Abstract
A device consists of a host transducer, a setting device, a storage, a comparation unit and frequency regulation unit. A method for regulating CPU operation frequency automatically includes starting up a host transducer, setting trigger condition for frequency regulation, monitoring the transducer and detecting its state, comparing trigger condition to transducer state and regulating operation frequency in real time according to the compared result.
Description
Technical field
The present invention relates to a kind of method of adjusting frequency automatically and device, particularly a kind of automatic adjusting method and device that is applied to the computer CPU frequency of operation.
Background technology
Present personal computer system, the frequency of operation of its CPU mostly is invariable, and is how high no matter the temperature of main frame has, or what variation takes place electric current and voltage, regardless of the operating load of load module, the processing frequency of CPU can not change along with the variation of ruuning situation yet.
So, stability that as if can the safeguard work frequency apparently, but actually not so.Because during computer run, it is a dynamic system, the program that it is inner performed, change in voltage or temperature variation all can be along with system operation times, the consumption situation of the size of load module and resource and constantly changing, as it is long to meet working time, perhaps the program load is excessive causes situations such as resource consumption is excessive, the internal system temperature can raise, at this moment just the frequency of operation of system need be reduced, load with mitigation system, or meet when causing the excessive situation of voltage under some situation, need equally to reduce frequency of operation to adapt to the variation of situation, again or when the increase of executive routine, can accelerate the frequency of operation of CPU in good time, after these cause specifics disappear, then need again frequency of operation is recovered normal, to be fit to the demand of normal operating conditions.
Yet present personal computer system owing to lack the automatic regulatory function of this frequency, therefore can not initiatively adjust its frequency of operation along with the variation of running environment, and this can cause the incompatibility user of system demand on the contrary, or general performance is not fully up to expectations.At this moment, this Automatic Frequency that can be applied to the personal computer system is adjusted function becomes the problem that industry is paid close attention to gradually then.
Summary of the invention
Technical matters to be solved by this invention provides a kind of method and device of automatic adjustment CPU frequency of operation, solve present personal computer system, owing to lack the automatic regulatory function of cpu frequency, therefore can not initiatively adjust the problem of its frequency of operation along with the variation of running environment.
For achieving the above object, the invention provides a kind of method of automatic adjustment CPU frequency of operation, its characteristics are, comprise the following steps:
The method of above-mentioned automatic adjustment CPU frequency of operation, its characteristics are that this sensor is the sensor of voltage, electric current, temperature or load.
The method of above-mentioned automatic adjustment CPU frequency of operation, its characteristics are that this sensor is two groups or two groups of above combinations.
The method of above-mentioned automatic adjustment CPU frequency of operation, its characteristics are that this trigger condition comprises the single condition of single-sensor and the combination condition of a plurality of sensors.
The method of above-mentioned automatic adjustment CPU frequency of operation, its characteristics are that this sets the condition that triggers, for preestablishing before dispatching from the factory and being stored in this computer system.
The method of above-mentioned automatic adjustment CPU frequency of operation, its characteristics are that this sets the condition that triggers, and are set at any time and are stored in this computer system by the user during for start.
The method of above-mentioned automatic adjustment CPU frequency of operation, its characteristics are that the frequency of operation of this adjustment CPU is the adjustment of raising frequency or frequency reducing.
In order better to realize above-mentioned purpose, the present invention also provides a kind of device of automatic adjustment CPU frequency of operation, and its characteristics are, comprising:
Sensor, in order to detection host work state, and the output detected value;
One setup unit is in order to the trigger condition of setpoint frequency adjustment;
One storage element is in order to store the trigger condition of setting by this setup unit;
One comparing unit is in order to the relatively detected value of this sensor institute output and the trigger condition of storage element; And
One frequency adjustment unit is in order to adjust the frequency of operation of CPU according to the comparative result of comparing unit.
The device of above-mentioned automatic adjustment CPU frequency of operation, its characteristics are that this sensor is the sensor of voltage, electric current, temperature or load.
The device of above-mentioned automatic adjustment CPU frequency of operation, its characteristics are that this sensor is two groups or two groups of above combinations.
Technique effect of the present invention is:
The method and the device of automatic adjustment CPU T working frequency of the present invention, detect the variation of host work state in real time by sensor, when this variation reaches default adjustment trigger point, the present invention adjusts the frequency of operation of CPU automatically, CPU is promoted or reduce its frequency of operation, at any time the running environment that changes with in good time reaction, and then make CPU reach better treatment effect, solved in present personal computer system, owing to lack the automatic regulatory function of cpu frequency, therefore can not initiatively adjust the problem of its frequency of operation along with the variation of running environment.
Further describe specific embodiments of the invention below in conjunction with accompanying drawing.
Description of drawings
Fig. 1 is the method flow diagram of automatic adjustment frequency of operation of the present invention; And
Fig. 2 is the device architecture figure of automatic adjustment frequency of operation of the present invention.
Wherein, drawing reference numeral is described as follows:
101 start at least one group of host sensor
The trigger condition that 102 setpoint frequencies are adjusted
103 monitor this sensor in real time and detect its state value
104 relatively this trigger condition and sensor states values in real time
105 adjust frequency of operation in real time according to comparative result
201 sensors
202 setup units
203 storage elements
204 comparing units
205 frequency adjustment units
Embodiment
Consult Fig. 1, be the method flow diagram of automatic adjustment CPU frequency of operation of the present invention, at first the trigger condition (step 102) of start sensor (step 101) setpoint frequency adjustment; Monitor this sensor in real time and detect its state value (step 103); Relatively this trigger condition and sensor states value (step 104) in real time; Adjust the frequency of operation (step 105) of CPU in real time according to comparative result.
Wherein, this sensor can be voltage, electric current, temperature or load cell, or their combination, and this sensor all has its monitoring module separately, in order to real-time monitoring host computer system, and its detected value of output.
Trigger condition can be set according to the single condition of single-sensor, also can set according to the combination condition of a plurality of sensors.
Can be to preestablish before computing machine dispatches from the factory and be stored in this computer system the opportunity of setting trigger condition, also can be when the user starts shooting, and according to circumstances set and be stored in this computer system at any time by the user.
Whether the condition that system sets according to the user is differentiated should adjust the frequency of CPU this moment, the frequency of its CPU can be carried out two-way adjustment, i.e. raising frequency or frequency reducing, certainly, when if working environment changes the trigger condition of no show sensor, then keep the frequency of operation of former CPU.
Consult Fig. 2, be the device architecture figure of automatic adjustment CPU frequency of operation of the present invention, comprise at least one group sensor 201, one setup units 202, one storage elements 203, one comparing units 204, one frequency adjustment units 205.
Wherein, sensor 201 is in order to detection host work state, and its detected value of output; The trigger condition that setup unit 202 is adjusted in order to setpoint frequency; Storage element 203 is in order to store the trigger condition of setting by this setup unit; Comparing unit 204 in order to will by this sensor to the host work state compare with the trigger condition that is stored in storage element; Frequency adjustment unit 205 is in order to adjust the frequency of operation of main frame according to the comparative result of comparing unit.
Be provided with at least one group sensor 201 in the main frame, wherein this sensor can be a voltage sensor, or current sensor, or temperature sensor, or load cell, also can be the combination of these different sensors.Above-mentioned sensor 201 is the key points that are arranged at host computer system, also can multiple sensor be set in the many places key point, so that the variation of Ling Min detection main frame running environment more.These sensors all cooperate monitoring module separately, carry with the weight of the voltage on the real-time monitoring host computer, electric current, temperature or program, and the real-time then reacting condition with these states is given system.
The user can when start by the sensor in setup unit 202 initialization systems, and can be, and the trigger condition of setting is stored in the storage element 203 according to the combination of the multiple trigger condition of different requirements set.In use subsequently, system can pass through comparing unit 204, and according to the system status information that condition makes up and sensor 201 is collected that the user sets, the frequency of differentiating CPU this moment should be promoted or descend.
Under any operating system, when main frame need be handled a heavily loaded program, or main frame need handle the time marquis of a program for a long time, and system can be automatically according to demand, adjust the frequency of CPU, reply just often when system, when perhaps routine processes finished, the frequency of CPU just can be aligned by system, with normal frequency of operation work, whole handoff procedure needn't rely on software processes fully, the main frame of also need not resetting, and handoff procedure can not influence the program of handling.
The present invention also can be used alone as temperature monitor and use, and when the main frame temperature was too high, system can adjust frequency automatically, and the main frame temperature is descended, and when the main frame temperature is lower than when setting temperature, system can be with higher frequency work.Reaction time of the present invention is fast, and does not have compatibility issue, and under any operating system, when modification or setting sensor, the main frame of must not resetting just can be finished and set action, therefore can reach usefulness the most stable and maximum.
The above is preferred embodiment of the present invention only, is not to be used for limiting practical range of the present invention; Be that all equalizations of doing according to content of the present invention change and modification, all contained by scope of the present invention.
Claims (10)
1, a kind of method of automatic adjustment CPU frequency of operation is characterized in that, comprises the following steps:
Step 101 starts at least one group of sensor;
Step 102, the trigger condition that setpoint frequency is adjusted;
Step 103 is monitored this sensor in real time and is detected its state value;
Step 104, relatively this trigger condition and sensor states value in real time;
Step 105 is adjusted the frequency of operation of CPU in real time according to comparative result.
2, the method for automatic adjustment CPU frequency of operation according to claim 1 is characterized in that, this sensor is the sensor of voltage, electric current, temperature or load.
3, the method for automatic adjustment CPU frequency of operation according to claim 2 is characterized in that, this sensor is two groups or two groups of above combinations.
4, the method for automatic adjustment CPU frequency of operation according to claim 1 is characterized in that, this trigger condition comprises the single condition of single-sensor and the combination condition of a plurality of sensors.
5, the method for automatic adjustment CPU frequency of operation according to claim 1 is characterized in that, this sets the condition that triggers, for preestablishing before dispatching from the factory and being stored in this computer system.
6, the method for automatic adjustment CPU frequency of operation according to claim 1 is characterized in that, this sets the condition that triggers, and is set at any time and is stored in this computer system by the user during for start.
7, the method for automatic adjustment CPU frequency of operation according to claim 1 is characterized in that, the frequency of operation of this adjustment CPU is the adjustment of raising frequency or frequency reducing.
8, a kind of device of automatic adjustment CPU frequency of operation is characterized in that, comprising:
Sensor, in order to detection host work state, and the output detected value;
One setup unit is in order to the trigger condition of setpoint frequency adjustment;
One storage element is in order to store the trigger condition of setting by this setup unit;
One comparing unit is in order to the relatively detected value of this sensor institute output and the trigger condition of storage element; And
One frequency adjustment unit is in order to adjust the frequency of operation of CPU according to the comparative result of comparing unit.
9, the device of automatic adjustment CPU frequency of operation according to claim 8 is characterized in that, this sensor is the sensor of voltage, electric current, temperature or load.
10, the device of automatic adjustment CPU frequency of operation according to claim 9 is characterized in that, this sensor is two groups or two groups of above combinations.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200310103446 CN1287251C (en) | 2003-11-03 | 2003-11-03 | Method and apparatus for adjusting CPU working frequency automatically |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200310103446 CN1287251C (en) | 2003-11-03 | 2003-11-03 | Method and apparatus for adjusting CPU working frequency automatically |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1614530A true CN1614530A (en) | 2005-05-11 |
CN1287251C CN1287251C (en) | 2006-11-29 |
Family
ID=34756671
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200310103446 Expired - Fee Related CN1287251C (en) | 2003-11-03 | 2003-11-03 | Method and apparatus for adjusting CPU working frequency automatically |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1287251C (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100412755C (en) * | 2005-09-02 | 2008-08-20 | 鸿富锦精密工业(深圳)有限公司 | In-time adjusting circuit for central processor frequency |
CN100485633C (en) * | 2006-03-23 | 2009-05-06 | 鸿富锦精密工业(深圳)有限公司 | CPU frequency regulation circuit |
CN102866941A (en) * | 2011-07-04 | 2013-01-09 | 技嘉科技股份有限公司 | Control method for computer device and control system thereof |
CN102981439A (en) * | 2011-09-07 | 2013-03-20 | 技嘉科技股份有限公司 | Monitoring method of electronic component working frequency and monitoring device and electronic device thereof |
CN105260286A (en) * | 2015-10-29 | 2016-01-20 | 浪潮电子信息产业股份有限公司 | Method for monitoring CPU working state in real time |
CN105739668A (en) * | 2016-01-20 | 2016-07-06 | 合肥联宝信息技术有限公司 | Power management method and power management system of notebook computers |
CN106708232A (en) * | 2017-02-28 | 2017-05-24 | 联想(北京)有限公司 | Electronic device and control method |
CN106773864A (en) * | 2017-01-03 | 2017-05-31 | 惠州Tcl移动通信有限公司 | One kind controls master controller working frequency method and system based on charging current |
CN106951320A (en) * | 2017-01-23 | 2017-07-14 | 斑马信息科技有限公司 | The system and method for the cpu frequency of the car machine of dynamic regulation internet automobile |
CN107133106A (en) * | 2017-05-25 | 2017-09-05 | 深信服科技股份有限公司 | A kind of NUMA system optimization method and device |
-
2003
- 2003-11-03 CN CN 200310103446 patent/CN1287251C/en not_active Expired - Fee Related
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN100485633C (en) * | 2006-03-23 | 2009-05-06 | 鸿富锦精密工业(深圳)有限公司 | CPU frequency regulation circuit |
US7543162B2 (en) | 2006-03-23 | 2009-06-02 | Hon Hai Precision Industry Co., Ltd. | CPU frequency regulating circuit |
CN102866941B (en) * | 2011-07-04 | 2018-03-30 | 技嘉科技股份有限公司 | The control method and its control system of computer apparatus |
CN102866941A (en) * | 2011-07-04 | 2013-01-09 | 技嘉科技股份有限公司 | Control method for computer device and control system thereof |
CN102981439A (en) * | 2011-09-07 | 2013-03-20 | 技嘉科技股份有限公司 | Monitoring method of electronic component working frequency and monitoring device and electronic device thereof |
CN105260286A (en) * | 2015-10-29 | 2016-01-20 | 浪潮电子信息产业股份有限公司 | Method for monitoring CPU working state in real time |
CN105739668A (en) * | 2016-01-20 | 2016-07-06 | 合肥联宝信息技术有限公司 | Power management method and power management system of notebook computers |
CN106773864A (en) * | 2017-01-03 | 2017-05-31 | 惠州Tcl移动通信有限公司 | One kind controls master controller working frequency method and system based on charging current |
CN106773864B (en) * | 2017-01-03 | 2020-10-27 | 惠州Tcl移动通信有限公司 | Method and system for controlling working frequency of main controller based on charging current |
CN106951320A (en) * | 2017-01-23 | 2017-07-14 | 斑马信息科技有限公司 | The system and method for the cpu frequency of the car machine of dynamic regulation internet automobile |
CN106951320B (en) * | 2017-01-23 | 2022-03-08 | 斑马信息科技有限公司 | System and method for dynamically adjusting CPU frequency of vehicle machine of internet vehicle |
CN106708232A (en) * | 2017-02-28 | 2017-05-24 | 联想(北京)有限公司 | Electronic device and control method |
CN106708232B (en) * | 2017-02-28 | 2019-09-24 | 联想(北京)有限公司 | A kind of electronic equipment and control method |
CN107133106A (en) * | 2017-05-25 | 2017-09-05 | 深信服科技股份有限公司 | A kind of NUMA system optimization method and device |
Also Published As
Publication number | Publication date |
---|---|
CN1287251C (en) | 2006-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1287251C (en) | Method and apparatus for adjusting CPU working frequency automatically | |
JP4205103B2 (en) | Information system, load control method, load control program, and recording medium | |
CN1254086C (en) | Image processor, image processing method and processing program | |
CN101063887A (en) | Method for controlling rotate speed of computer cooling fan and system thereof | |
CN106155931B (en) | Method and device for limiting speed of disk reading | |
CN1818822A (en) | Buffer field overflow attack detection | |
CN1360241A (en) | Bus clock controlling device and method for portable computer | |
CN1643900A (en) | Electronic device and power source control method | |
CN1747647A (en) | Self-adaptive light-source illuminating system and method for paster | |
CN1834843A (en) | Method and system for managing the voltage on the DC bus of a speed controller for an AC motor | |
CN1254087C (en) | Image processor, image processing method and processing program | |
CN101031023A (en) | Method and system for processing image | |
CN1477512A (en) | Embedded sorftware task endless loop monitoring method | |
CN1908844A (en) | Method and device for system efficiency adjustment | |
CN1716157A (en) | Switching type power supply system and its method for automatic regulating circuit work frequency | |
US10396697B2 (en) | Motor operating systems and methods thereof | |
CN1838522A (en) | Motor operation state controlling method | |
CN1956438A (en) | Automatic switching method of message process mode | |
CN1645327A (en) | Module life period managing method | |
CN1279446C (en) | Balancing method for computer pressure test | |
CN1699758A (en) | Method and system for intelligent fan speed control | |
CN112701963A (en) | Motor control method and device of ball mill | |
CN1722603A (en) | Method and apparatus for controlling electrical machinery soft-start and soft-stop | |
CN100335796C (en) | Intelligent spare fan control system | |
CN2814880Y (en) | Adaptive light source illuminating system for pastering machine |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20061129 Termination date: 20201103 |
|
CF01 | Termination of patent right due to non-payment of annual fee |