CN103955264B - Dynamically regulate the method and system of processor working frequency - Google Patents

Dynamically regulate the method and system of processor working frequency Download PDF

Info

Publication number
CN103955264B
CN103955264B CN201410205993.6A CN201410205993A CN103955264B CN 103955264 B CN103955264 B CN 103955264B CN 201410205993 A CN201410205993 A CN 201410205993A CN 103955264 B CN103955264 B CN 103955264B
Authority
CN
China
Prior art keywords
operating frequency
load factor
scheduled time
intervalometer
frequency
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
CN201410205993.6A
Other languages
Chinese (zh)
Other versions
CN103955264A (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.)
Xinle Visual Intelligent Electronic Technology Tianjin Co ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201410205993.6A priority Critical patent/CN103955264B/en
Publication of CN103955264A publication Critical patent/CN103955264A/en
Application granted granted Critical
Publication of CN103955264B publication Critical patent/CN103955264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measuring Frequencies, Analyzing Spectra (AREA)
  • Power Sources (AREA)

Abstract

This application discloses the method and system of a kind of dynamic regulation processor working frequency, this system includes monitoring modular, adjustment module and intervalometer.By operating frequency and the load factor of monitoring modular measurement processor, adjustment module further according to load factor judge operating frequency the need of regulation, if so, adjustment module is heightened with estimated rate or turns down operating frequency, starts intervalometer timing simultaneously.After the scheduled time, by the operating frequency of monitoring modular measurement processor again and judge whether to need to regulate operating frequency by adjustment module, and perform to regulate program accordingly, until the operating frequency of processor matches with load factor.The application regulates operating frequency by the way of estimated rate, in addition to can promoting the regulations speed of operating frequency, it is also possible to quickly by processor regulation to the running status optimized.

Description

Dynamically regulate the method and system of processor working frequency
Technical field
The application relates to electronic technology field, be specifically related to a kind of method regulating processor working frequency and System.
Background technology
Along with the fast development of intelligent terminal (such as, smart mobile phone, tablet PC etc.) and universal, more Carry out the most users by using intelligent terminal to carry out web page browsing, document process, reading electronic book, glad The various operations such as reward video/audio, greatly facilitate user.
In actual applications, the different processors required for application program, such as central processing unit The speed of service (or operating frequency) of (Central Processing Unit, CPU) or microprocessor etc. is different. Such as, the processor speed of service required for general file editor is relatively low, but, when carrying out figure During as big data quantity transfers such as data process or network browsings, processor must be at higher velocities Operation could meet program requirements.Owing to processor is under the different speeds of service, its power consumption, heating with And the noise difference of accessory is bigger.For energy-conservation, reduction caloric value and the service behaviour of raising processor, Accordingly, it would be desirable to according to actual application demand, the operating frequency of corresponding regulation processor.
The regulative mode of the current operating frequency for processor, is that the utilization rate according to processor is (the most negative Load rate) it is adjusted, if processor utilization rate is relatively low, some frequency is lowered at interval the most at a fixed time Rate, lowers 10Mhz (megahertz) the most every time, by this progressively lower by the way of, until be adjusted to one Individual more satisfactory state;Otherwise, if the utilization rate of processor is higher, the most at a fixed time on interval Adjust a dot frequency, raise 10Mhz the most every time, until being adjusted to perfect condition.Due to such regulation Mode is relatively slow, and the time-consuming cycle is longer, and causes extra power wastage, and causes processor to exist Corresponding operating frequency cannot be quickly provided along with the change of utilization rate in short time, so that processor Overall efficiency reduce.Such as, if the current operating frequency of processor is 400Mhz, intelligent terminal Upper large-scale application program, such as Games Software or mapping software etc. of unlatching suddenly, it is actually needed Processor provides the operating frequency of 1000Mhz smooth to run, that be accomplished by waiting one longer Time regulates, and causes application program and occurs that the frequency of card is the highest within the time period, causes user Experience sense is poor.
Summary of the invention
Technical problems to be solved in this application are to provide a kind of dynamic regulation processor working frequency Method and system, by the operating frequency of processor and the detection of load factor and comparison result, significantly heighten Or reduction operating frequency, until being matched with present load rate, and then the regulations speed of lifting operating frequency, And significantly shorten regulating time, allow processor produced total energy consumption during the regulation of operating frequency Reduce, thus solve processor run high capacity rate application program time, it is impossible at short notice with The increase of load factor, be transformed into high workload frequency from low operating frequency, cause the execution of application program The problem of Cheng Fasheng card.
In order to solve the problems referred to above, this application discloses the side of a kind of dynamic regulation processor working frequency Method, including: operating frequency and load factor, operating frequency and load factor that measurement processor is current are positive Close;Judge whether operating frequency mates according to load factor;If so, maintenance work frequency is constant;And, If it is not, execution following steps: regulation operating frequency is to the first operating frequency, and starts intervalometer and start Timing;After intervalometer reached for first scheduled time, detect and judge the load factor after first scheduled time Relative first operating frequency is the most too high;If so, the first operating frequency is heightened to the second operating frequency, And start intervalometer and start timing, wherein the second operating frequency equal to or more than with first scheduled time after The corresponding operating frequency of load factor;After intervalometer reached for second scheduled time, detect and judge second Load factor after the scheduled time is the most too low relative to the second operating frequency;If so, by the second operating frequency Halve to the 3rd operating frequency, and start intervalometer and start timing;And it is pre-to reach the 3rd at intervalometer After fixing time, whether the load factor after the 3rd scheduled time of detection is matched with the 3rd operating frequency;If so, Maintain the 3rd operating frequency, and timeing closing device.
The application also discloses the system of a kind of dynamic regulation processor working frequency, it is adaptable to have process The electronic installation of device, this system includes monitoring modular, adjustment module and intervalometer.Monitoring modular couples In processor, for operating frequency and the load factor of measurement processor.Adjustment module is respectively coupled to process Device and monitoring modular, according to load factor, adjustment module judges whether operating frequency mates, and according to judgement Result correspondence regulation operating frequency, until operating frequency is matched with load factor, wherein, if load factor is relative Operating frequency is too low, and operating frequency is halved by adjustment module, if load factor versus operating frequency is too high, adjusts Operating frequency is heightened at least 50% by joint module.Intervalometer is coupled to processor and adjustment module, intervalometer Whether regulate operating frequency according to adjustment module and start or close.
Compared with prior art, the application can obtain and include techniques below effect:
The method and system of the dynamically regulation processor working frequency of the application can Appropriate application processor Resource, thus reduce overall energy consumption, when the load factor versus operating frequency of processor is too high, significantly That spends draws high operating frequency, it is ensured that various application programs can smooth run, and in load factor relative to work When working frequency is relatively low, operating frequency is halved regulation, be then repeated and heighten and turn down work frequency The operation of rate, until operating frequency is matched with current load factor.By this regulative mode except permissible Quickly outside regulation operating frequency, moreover it is possible to make the utilization rate of processor meet the demand of different application, keep away Exempt to produce when application program performs the phenomenon of card, enhance Consumer's Experience.Additionally, due to governing speed Lifting, allow what the operating frequency of processor can be real-time to be adapted to different application, so that processing Device produced total energy consumption during regulation reduces.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes of the application Point, the schematic description and description of the application is used for explaining the application, is not intended that the application's Improper restriction.In the accompanying drawings:
Fig. 1 is the floor map of the application device embodiment.
Fig. 2 is the flow chart of the application first method embodiment.
Fig. 3 is the flow chart of the application second method embodiment.
Fig. 4 is the flow chart of the application third method embodiment.
Detailed description of the invention
Presently filed embodiment is described in detail, thereby to the application below in conjunction with drawings and Examples How application technology means solve technical problem and reach the process that realizes of technology effect and can fully understand And implement according to this.
As employed some vocabulary in the middle of description and claim to censure specific components.This area skill Art personnel are it is to be appreciated that hardware manufacturer may call same assembly with different nouns.This explanation In the way of book and claim not difference by title is used as distinguishing assembly, but with assembly in function On difference be used as distinguish criterion." bag as mentioned by the middle of description in the whole text and claim Contain " it is an open language, therefore " comprise but be not limited to " should be construed to." substantially " refer to receive Range of error in, those skilled in the art can solve described technical problem in the range of certain error, Basically reach described technique effect.Additionally, " coupling " or " electric connection " word comprise at this any directly And indirectly electric property coupling means.Therefore, if a first device is coupled to one second device described in literary composition, Then represent described first device and can directly be electrically coupled to described second device, or by other device or coupling Take over intersegmental ground connection and be electrically coupled to described second device.Description subsequent descriptions is to implement the application relatively Good embodiment, for the purpose of right described description is the rule so that the application to be described, is not limited to Scope of the present application.The protection domain of the application is when being as the criterion depending on the defined person of claims.
Also, it should be noted term " includes ", " comprising " or its other variant any are intended to non- Comprising of exclusiveness, so that include the process of a series of key element, method, commodity or system not only Including those key elements, but also include other key element being not expressly set out, or also include for this The key element that process, method, commodity or system are intrinsic.In the case of there is no more restriction, by language The key element that sentence " including ... " limits, it is not excluded that including the process of described key element, method, business Product or system there is also other identical element.
The application scenarios of the application
When processor is according to the load factor required for the Application Type opened in system, corresponding regulation work The scheme of the application it is applicable to during working frequency.
Embodiment describes
As it is shown in figure 1, the system dynamically regulating processor working frequency disclosed by the embodiment of the present application 10 are applicable to have in the electronic installation 20 of processor 210, such as on mobile phone, tablet PC or table Type computer etc..This system 10 includes monitoring modular 110, adjustment module 120 and intervalometer 130, Being respectively coupled to processor 210, wherein monitoring modular 110 is for the operating frequency of measurement processor 210 And load factor;Adjustment module 120 is respectively coupled to monitoring modular 110 and intervalometer 130, is used for judging Whether operating frequency mates, and corresponding regulation operating frequency, makes operating frequency be matched with load factor;Fixed Time device 130 then whether be conditioned according to operating frequency and start or close, and control monitoring modular 110 The detection time.Additionally, be also configured with memorizer in above-mentioned system 10, memorizer can be to set Put at one of intrasystem separate unit or the composition assembly belonging to adjustment module 120, and in storage In device, storage has the operating frequency of processor 210 and the matching relationship of load factor, namely processor 210 Under the use state of different loads rate, the preferred operating frequency that can use, thus having concurrently efficiently Can be with energy-conservation mode.Wherein, the matching relationship of operating frequency and load factor can be but not It is confined to: the load factor of operating frequency correspondence less than 10% of 37.5%, the operating frequency of 62.5% are corresponding The load factor of 10-40%, the load factor of operating frequency correspondence 41-60% of 75%, the operating frequency of 87.5% The load factor of corresponding 61-80% and the load factor etc. of operating frequency correspondence 81-100% of 100%.
Therefore, when the load factor measured by monitoring modular 110 be 61-80%, operating frequency be 75% time, Adjustment module 120 is according to the comparison of synopsis, it is judged that load factor is too high relative to operating frequency and needs to adjust Joint;Similarly, when the load factor measured by monitoring modular 110 be 61-80%, operating frequency be 87.5% Time, adjustment module 120 is according to the comparison of synopsis, it is judged that load factor is too low relative to operating frequency and needs Regulate, thus according to the method dynamically regulating processor working frequency disclosed by the application, will process The operating frequency of device 210 quickly regulates to the state matched with load factor, avoids application program long Time occurs that Caton phenomenon or energy consumption cross the generation of the problems such as height.
With some embodiments, the realization of the application method is described further below.As in figure 2 it is shown, be The flow chart of the application first method embodiment, comprises the following steps:
Step S100, operating frequency that measurement processor is current and load factor;
According to load factor, step S110, judges whether operating frequency mates, if so, maintenance work frequency Constant;And
If it is not, execution following steps:
Step S120, regulation operating frequency is to the first operating frequency, and starts intervalometer and start timing;
Step S130, after intervalometer reached for first scheduled time, detects and judged for first scheduled time After load factor the most too high relative to the first operating frequency;
Step S140, if so, heightens the first operating frequency to the second operating frequency, and startup is fixed Time device start timing;
Step S150, after intervalometer reached for second scheduled time, detects and judged for second scheduled time After load factor the most too low relative to the second operating frequency;
Step S160, if so, halves the second operating frequency to the 3rd operating frequency, and startup is fixed Time device start timing;And
Step S170, after intervalometer reached for the 3rd scheduled time, detects and judged for the 3rd scheduled time After load factor whether be matched with the 3rd operating frequency;
Step S171, if so, maintains the 3rd operating frequency, and timeing closing device.
Refer to Fig. 1 and Fig. 2, the dynamically regulation processor work disclosed by the application first method embodiment The method of working frequency comprises the following steps: first, current by monitoring module 110 measurement processor 210 Operating frequency and load factor (step S100), wherein the operating frequency of processor 210 and load factor are in just Relevant, say, that operating frequency can raise along with the rising of load factor, and along with load factor Decline and reduce.It is said that in general, paint when processor 210 performs word processing, network browsing or other 2D During the application program of the low-load rates such as figure, it is only necessary to run with relatively low operating frequency and can meet use Demand.On the contrary, when processor 210 performs 3D drawing, video code conversion, decompression or Games Software During the application program of contour load factor, then operating frequency must be greatly improved and could meet under high load condition Use demand.Therefore, between operating frequency and the load factor of processor 210, there is corresponding relation, It is to say, according to load factor or the difference of load factor scope, processor 210 can be respectively with corresponding work Working frequency operates, thus provides suitable operating frequency under different load factors, makes processor Overall energy consumption during 210 operation reduces.
Then, after obtaining the current operating frequency of processor 210 and load factor, monitoring modular 110 will Testing result is sent to adjustment module 120, and passes through the operating frequency that adjustment module 120 comparison is current Whether be adapted to current load factor, then according to load factor judge operating frequency the need of regulation, its In, if current operating frequency meets the use demand of load factor, adjustment module 120 i.e. judges work frequency Rate is adapted to load factor and is adjusted without to operating frequency, namely maintains current operating frequency Constant;If on the contrary, adjustment module 120 judges that operating frequency needs regulation, i.e. representing that load factor is relative Too high or too low in operating frequency, thus perform to regulate the step (step S110) of operating frequency.
Wherein, for the regulative mode of operating frequency, it is that the height according to load factor is corresponding by operating frequency Regulate to the first operating frequency, that is, in the case of load factor versus operating frequency is too high, represents and work as Before operating frequency cannot meet use demand, can cause application program produce Caton phenomenon, therefore, must Operating frequency need to be heightened to the first operating frequency, such as, operating frequency be heightened at least 50% as One operating frequency, to guarantee fluency when application program runs;Or relatively work frequently in load factor In the case of rate is too low, the operating frequency representing current exceedes use demand, causes the energy that processor produces Source is not efficiently used and causes loss, therefore, by operating frequency being turned down (such as by work frequency Rate halves) to the mode of the first operating frequency to reduce energy consumption.Further, in adjustment module 120 to work After frequency is adjusted, starts intervalometer 130 simultaneously and calculate first scheduled time (step S120), such as 10ms (microsecond), the scheduled time of 15ms or 20ms, allow monitoring modular 110 for processor 210 Operating frequency obtains buffering with the detection process of load factor, and allows the operating frequency after regulating reach stable After, then detect, to guarantee the accuracy of testing result.
Then, after first scheduled time, by the load factor of monitoring modular 110 measurement processor 210 The most too high relative to the first operating frequency (step S130), if so, represents that previous adjustment module 120 is right Regulation in operating frequency also cannot meet demand, or within first scheduled time, processor 210 Load factor raise along with the running status of application program, now, adjustment module 120 by first work Frequency is heightened to the second operating frequency, wherein the second operating frequency equal to or more than with first scheduled time after The corresponding operating frequency of load factor, namely the first operating frequency is heightened and at least conforms to present load The corresponding operating frequency of rate, such as, significantly heighten 50% as the second operating frequency using the first operating frequency, Or the maximum operating frequency directly heightened to processor 120, and using maximum operating frequency as Two operating frequencies, then start intervalometer 130 and calculate second scheduled time (step S140).Second makes a reservation for Time equal to or more than first scheduled time, be in the present embodiment with second scheduled time be first make a reservation for As an example, such as second scheduled time was the twice of first scheduled time to the multiple of time, the most just Being when first scheduled time was 20ms, second scheduled time was arranged to 40ms, allowed processor at this First run a period of time with the second operating frequency in buffer time, whether detect this operating frequency the most again Meet use demand.
Afterwards, after terminating when the timing of second scheduled time, processed by monitoring modular 110 detection again The load factor of device 210, and judge (the step the most too low relative to the second operating frequency of load factor now Rapid S150), if so, represent that operating frequency, in previous regulating step, is adjusted by adjustment module 120 The highest and exceed use demand, then, in order to reduce the energy consumption of processor 210, pass through in this step Second operating frequency is halved to the 3rd operating frequency by adjustment module 120, such as, if the second operating frequency For 1GHz (gigahertz (GHZ)), then halved as 500MHz (megahertz) as the 3rd operating frequency, and started Intervalometer 130 calculated for the 3rd scheduled time (step S160).Owing to the operating frequency of processor 210 is logical Overregulate module 120 to be adjusted, therefore at warp in the way of increasing at least 50% every time or reducing 50% After regulation several times, the operating frequency of processor 210 the most quite approaches corresponding with present load rate Optimization frequency, and the load factor of processor 210 is probably and changes at any time, is then prolonged the detection time Long determine whether the 3rd operating frequency meets use demand, therefore, the 3rd scheduled time can be but also It is not limited to the multiple of second scheduled time, such as using the twice (i.e. 80ms) of second scheduled time as Three scheduled times (step S160).
Similarly, after the 3rd scheduled time, after detecting for the 3rd scheduled time by monitoring modular 110 Whether load factor is matched with the 3rd operating frequency (step S170);If so, the work of processor 210 is represented In frequency has been adjusted to meet the frequency range of present load rate or frequency values, therefore maintain the 3rd work Working frequency is constant, and timeing closing device 130 (step S171);Otherwise, if it is not, represent the 3rd work Frequency exceedes use demand, easily causes processor 210 and produces unnecessary energy consumption;Or it is pre-the 3rd In fixing time, along with the change of load factor, cause the 3rd operating frequency cannot meet use demand and need It is adjusted, now, in above-mentioned step, it is also possible to include repeating above-mentioned measurement processor 210 operating frequencies and the step (step S172) of load factor, and judge and regulation work according to load factor The steps such as frequency, regulate the work of processor 210 repeatedly by being significantly increased or reducing every time by the way of 50% Working frequency, until the operating frequency of processor 210 is matched with load factor.
The method dynamically regulating processor working frequency disclosed by the application, in the load factor phase of processor For operating frequency too high or too low time, by operating frequency is significantly heightened or is turned down the side of 50% every time Formula, can be with the range of accommodation of rapid drop operating frequency, it is thus possible to operating frequency is quickly adjusted to symbol Before being fated, the optimum of load factor or optimum range, not only shorten the regulating time of operating frequency, moreover it is possible to Allow processor run with corresponding energy consumption according to the height of load factor, thus reduce the entirety of processor Energy consumption, and make the overall efficiency of processor obtain lifting.
As it is shown on figure 3, be the flow chart of the application second method embodiment.Disclosed by the application second Embodiment of the method and first method embodiment are for substantially phase on the regulative mode of the operating frequency of processor With, difference between the two is, after intervalometer reached for first scheduled time, detects and judges that first is pre- In the operation that load factor after fixing time is the most too high relative to the first operating frequency (step S230), if first Load factor after the scheduled time is the most too high relative to the first operating frequency, then carry out following operation:
Step S240, it is judged that the load factor after first scheduled time is the most too low relative to the first operating frequency;
Step S250, if it is not, maintain the first operating frequency constant;And
If so, following steps are performed:
Step S260, halves the first operating frequency to the 4th operating frequency, and starts intervalometer and open Beginning timing;
Step S270, after intervalometer reached for second scheduled time, detects and judged for second scheduled time After load factor the most too low relative to the 4th operating frequency;
Step S280, if so, halves the 4th operating frequency to the 5th operating frequency, and startup is fixed Time device start timing;And
Step S290, after intervalometer reached for the 3rd scheduled time, detects and judged for the 3rd scheduled time After load factor whether be matched with the 5th operating frequency;
Step S291, if so, maintains the 5th operating frequency, and timeing closing device.
Refer to Fig. 1 and Fig. 3, in the second method embodiment disclosed by the application, when processor 210 Job step rate be adjusted to the first operating frequency, and after first scheduled time, monitoring modular 110 first to detect the load factor after first scheduled time the most too high relative to the first operating frequency, if so, holds Row the first operating frequency is heightened to the second operating frequency, and starts intervalometer and calculated for second scheduled time Step and as described in the first embodiment corresponding steps.If it is not, then determine whether the first pre-timing Load factor after between the most too low relative to the first operating frequency (step S240), if it is not, represent the first work Frequency is applicable to load factor now, therefore maintains same frequency not to be adjusted (step S250);Instead It, if so, represent that the first operating frequency can not only meet the use demand of present load rate, super Go out use demand, therefore, in order to reduce the energy consumption of processor 210, further by the first work frequency Rate halves to the 4th operating frequency (step S260), and starts intervalometer and calculated for second scheduled time.So After, after second scheduled time, detect the load factor after second scheduled time relative to the 4th operating frequency The most too low (step S270), if so, represents that the 4th operating frequency is the highest, therefore works the 4th Frequency halving is to the 5th operating frequency, and starts intervalometer the 3rd scheduled time (step S280) of calculating. Then, similarly, after the 3rd scheduled time, after detecting for the 3rd scheduled time by monitoring modular 110 Load factor whether be matched with the 5th operating frequency step (S290), and perform maintenance according to testing result 5th operating frequency, and the operation (step S291) of timeing closing device;Or, repeat above-mentioned Measurement processor 210 operating frequency judges and regulation operating frequency etc. with load factor and according to load factor Etc. step, till the operating frequency of processor 210 is matched with load factor (step S292).
As shown in Figure 4, for the flow chart of the application third method embodiment.Disclosed by the application the 3rd Embodiment of the method is with the difference of first method embodiment, after second scheduled time, if second makes a reservation for Whether the testing result of the load factor after the time the most too low relative to the second operating frequency (step S350) Fixed, then the following operation of execution:
Step S360, it is judged that the load factor after second scheduled time is the most too high relative to the second operating frequency;
Step S370, if it is not, maintain the second operating frequency constant;And
If so, following steps are performed:
Step S380, heightens the second operating frequency to the 6th operating frequency, and starts intervalometer and open Beginning timing;
Step S390, after intervalometer reached for the 3rd scheduled time, detects and judged for the 3rd scheduled time After load factor whether be matched with the 6th operating frequency;
Step S391, if so, maintains the 6th operating frequency, and closes described intervalometer.
Refer to Fig. 1 and Fig. 4, the third method embodiment disclosed by the application is according to load factor equally With the comparison result of operating frequency, in the way of at least heightening 50% or turning down 50%, work frequency by second Rate regulation is to equaling to or more than and the corresponding operating frequency of load factor after described second scheduled time, to make It is the 6th operating frequency, and by this regulative mode repeatedly halved and double, allows operating frequency exist After regulation several times, just can approach frequency values or the frequency range being adapted to present load rate.Additionally, If it is understood that during the regulation that the second operating frequency is the most previously, being raised processor 210 maximum operating frequency time, then in above-mentioned steps S380, owing to reaching processor 210 institute The maximum being provided that, therefore directly using the maximum operating frequency of processor 210 as the 6th work frequency Rate, allow processor operating frequency in this case, the use demand of application program can be met as far as possible, with Reduce fluency when application program is run by Caton phenomenon to interfere.
What deserves to be explained is, in the additive method embodiment of the application, it is also possible to be by above-mentioned first party Method embodiment, second method embodiment and third method embodiment are combined, and strengthen adjustment module For operating frequency judgement with regulation program, thus allow processor operating frequency can more accurately by It is adjusted to meet frequency values or the frequency range of respective load rate.
Additionally, for embodiments herein, owing to said method embodiment part is to the application's The effect that in system, each assembly is played has been described in detail, here to the system related in embodiment Expansion with method corresponding part describes omits, and repeats no more.Can for the description of particular content in system The content of reference method embodiment, the most specifically limits.
Described above illustrate and describes some preferred embodiments of the application, but as previously mentioned, it should reason Solve the application and be not limited to form disclosed herein, be not to be taken as the eliminating to other embodiments, And can be used for various other combination, amendment and environment, and can in invention contemplated scope described herein, It is modified by above-mentioned teaching or the technology of association area or knowledge.And those skilled in the art are carried out changes Move and change is without departing from spirit and scope, the most all should be in the protection of the application claims In the range of.

Claims (10)

1. the method for a dynamic regulation processor working frequency, it is characterised in that including:
Operating frequency that measurement processor is current and load factor, described operating frequency and described load factor are in just Relevant;
Judge whether described operating frequency mates according to described load factor;
If so, maintain described operating frequency constant;And
If it is not, execution following steps:
Regulate described operating frequency to the first operating frequency, and start intervalometer and start timing;
After described intervalometer reached for first scheduled time, after detecting and judging described first scheduled time The most described first operating frequency of load factor is the most too high;
If so, described first operating frequency is heightened to the second operating frequency, and start intervalometer and start Timing, wherein said second operating frequency equal to or more than with described first scheduled time after load factor phase The operating frequency answered;
After described intervalometer reached for second scheduled time, after detecting and judging described second scheduled time Load factor is the most too low relative to described second operating frequency;
If so, described second operating frequency is halved to the 3rd operating frequency, and start intervalometer and start Timing;And
After described intervalometer reached for the 3rd scheduled time, after detecting and judging described 3rd scheduled time Whether load factor is matched with described 3rd operating frequency;
If so, maintain described 3rd operating frequency, and close described intervalometer.
2. the method dynamically regulating processor working frequency as claimed in claim 1, it is characterised in that Described second operating frequency is the maximum operating frequency of described processor.
3. the method dynamically regulating processor working frequency as claimed in claim 1, it is characterised in that Described first operating frequency is heightened the operation to described second operating frequency, is by described first work frequency Rate heightens 50% as described second operating frequency.
4. the method dynamically regulating processor working frequency as claimed in claim 1, it is characterised in that Described second scheduled time and the multiple that described 3rd scheduled time is described first scheduled time.
5. the method dynamically regulating processor working frequency as claimed in claim 1, it is characterised in that The described operating frequency of described regulation is to the first operating frequency, and starts described intervalometer and start the behaviour of timing Make, be embodied in:
Judge that described load factor is the most too high or too low relative to described operating frequency;
If too high, described operating frequency is heightened at least 50% as described first operating frequency;And
If too low, described operating frequency is halved, as described first operating frequency.
6. the method dynamically regulating processor working frequency as claimed in claim 1, it is characterised in that After described intervalometer reaches described first scheduled time, after detecting and judging described first scheduled time In the operation that the most described first operating frequency of load factor is the most too high, if after described first scheduled time The most described first operating frequency of load factor is the most too high, then carry out following operation:
Judge that the most described first operating frequency of the load factor after described first scheduled time is the most too low;
If it is not, maintain described first operating frequency constant;And
If so, following steps are performed:
Described first operating frequency is halved to the 4th operating frequency, and starts intervalometer and start timing;
After described intervalometer reaches described second scheduled time, detect and judge described second scheduled time After load factor the most too low relative to described 4th operating frequency;
If so, described 4th operating frequency is halved to the 5th operating frequency, and start intervalometer and start Timing;And
After described intervalometer reaches described 3rd scheduled time, detect and judge described 3rd scheduled time After load factor whether be matched with described 5th operating frequency;
If so, maintain described 5th operating frequency, and close described intervalometer.
7. the method dynamically regulating processor working frequency as claimed in claim 1, it is characterised in that After described intervalometer reaches described second scheduled time, after detecting and judging described second scheduled time In the operation that load factor is the most too low relative to described second operating frequency, if after described second scheduled time The most described second operating frequency of load factor the most too low, then carry out following operation:
Judge that the most described second operating frequency of the load factor after described second scheduled time is the most too high;
If it is not, maintain described second operating frequency constant;And
If so, following steps are performed:
Described second operating frequency is heightened to the 6th operating frequency, and starts intervalometer and start timing, Wherein said 6th operating frequency equals to or more than and the corresponding work of load factor after described second scheduled time Working frequency;
After described intervalometer reaches described 3rd scheduled time, detect and judge described 3rd scheduled time After load factor whether be matched with described 6th operating frequency;
If so, maintain described 6th operating frequency, and close described intervalometer.
8. the method dynamically regulating processor working frequency as claimed in claim 7, it is characterised in that Described second operating frequency is being heightened to the operation of six operating frequencies, if described second operating frequency is The maximum operating frequency of described processor, then using the maximum operating frequency of described processor as the described 6th Operating frequency.
9. the method dynamically regulating processor working frequency as claimed in claim 7, it is characterised in that Described second operating frequency is heightened the operation to described 6th operating frequency, is by described second work frequency Rate heightens 50% as described 6th operating frequency.
10. the system of a dynamic regulation processor working frequency, it is adaptable to there is the electronics dress of processor Put, it is characterised in that the system of described dynamic regulation processor working frequency includes monitoring modular, regulation Module and intervalometer, described monitoring modular is coupled to described processor, and described adjustment module is respectively coupled to In described processor and described monitoring modular, described intervalometer is coupled to described processor and described regulation mould Block;
Wherein, described monitoring modular is for detecting the current operating frequency of described processor and load factor, institute State operating frequency and described load factor is proportionate;
According to described load factor, described adjustment module is for judging whether described operating frequency mates, if so, Maintain described operating frequency constant, if it is not, regulate described operating frequency to the first operating frequency, and open Dynamic intervalometer starts timing;
After described intervalometer reached for first scheduled time, described detection module is additionally operable to detection and judges institute State the most described first operating frequency of the load factor after first scheduled time the most too high;
The most described adjustment module is additionally operable to heighten to the second operating frequency described first operating frequency, And starting intervalometer and start timing, wherein said second operating frequency is first pre-equal to or more than with described The corresponding operating frequency of load factor after fixing time;
After described intervalometer reached for second scheduled time, described detection module is additionally operable to detection and judges institute State the load factor after second scheduled time the most too low relative to described second operating frequency;
The most described adjustment module is additionally operable to halve to the 3rd operating frequency described second operating frequency, And start described intervalometer and start timing;
After described intervalometer reached for the 3rd scheduled time, described detection module is additionally operable to detection and judges institute State whether the load factor after the 3rd scheduled time is matched with described 3rd operating frequency;
If so, maintain described 3rd operating frequency, and close described intervalometer.
CN201410205993.6A 2014-05-15 2014-05-15 Dynamically regulate the method and system of processor working frequency Active CN103955264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410205993.6A CN103955264B (en) 2014-05-15 2014-05-15 Dynamically regulate the method and system of processor working frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410205993.6A CN103955264B (en) 2014-05-15 2014-05-15 Dynamically regulate the method and system of processor working frequency

Publications (2)

Publication Number Publication Date
CN103955264A CN103955264A (en) 2014-07-30
CN103955264B true CN103955264B (en) 2016-10-12

Family

ID=51332549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410205993.6A Active CN103955264B (en) 2014-05-15 2014-05-15 Dynamically regulate the method and system of processor working frequency

Country Status (1)

Country Link
CN (1) CN103955264B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809090B (en) * 2015-04-21 2018-01-26 广东欧珀移动通信有限公司 A kind of method and apparatus for lifting mobile device data transmission speed
CN105068639B (en) * 2015-07-29 2018-06-19 Tcl移动通信科技(宁波)有限公司 A kind of method and system of dynamic control processor frequencies
CN106814839B (en) * 2015-12-01 2020-12-25 展讯通信(上海)有限公司 Method for automatically adjusting working frequency and terminal equipment
CN105677482B (en) * 2015-12-31 2020-12-18 联想(北京)有限公司 Frequency adjusting method and electronic equipment
WO2018083865A1 (en) * 2016-11-02 2018-05-11 シャープ株式会社 Information processing device, information processing device control method, control program, and recording medium
CN107436839B (en) * 2017-07-17 2020-07-17 Oppo广东移动通信有限公司 Process load acquisition method, electronic terminal and computer readable storage medium
CN109286447B (en) * 2017-07-21 2021-12-28 中兴通讯股份有限公司 Method and device for solving frequency interference and computer equipment
CN107608797B (en) * 2017-09-30 2021-03-02 Oppo广东移动通信有限公司 File processing method and device, storage medium and electronic equipment
CN108549575B (en) * 2018-04-19 2020-01-14 Oppo广东移动通信有限公司 Processing method and device for quitting split screen, storage medium and electronic equipment
CN108984469A (en) * 2018-06-06 2018-12-11 北京嘉楠捷思信息技术有限公司 Chip frequency modulation method and device of computing equipment, computing force board, computing equipment and storage medium
CN112015259B (en) * 2019-05-29 2022-06-21 芯原微电子(上海)股份有限公司 Method and system for controlling peak power consumption
CN110275510B (en) * 2019-06-14 2021-12-07 百度在线网络技术(北京)有限公司 Processing frequency adjusting method and device of vehicle control model and electronic equipment
CN110515736B (en) * 2019-08-29 2023-01-13 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for limiting background object
CN110825199A (en) * 2019-11-04 2020-02-21 联想(北京)有限公司 Information processing method and device, electronic device and medium
CN112882819B (en) * 2019-11-29 2022-03-08 上海商汤智能科技有限公司 Method and device for setting chip working frequency
CN112532533A (en) * 2020-10-30 2021-03-19 东风汽车集团有限公司 Method for quantifying network load rate before architecture design, electronic equipment and storage medium
CN114625526A (en) * 2020-12-14 2022-06-14 Oppo广东移动通信有限公司 Electronic equipment, video recording control method and device thereof, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576768A (en) * 2009-06-15 2009-11-11 北京中星微电子有限公司 Method and device for switching device frequency
CN102314213A (en) * 2010-07-09 2012-01-11 精英电脑股份有限公司 Computer system capable of adjusting operating frequency dynamically
CN102385435A (en) * 2010-08-27 2012-03-21 宏达国际电子股份有限公司 Electronic device having operation mode dynamic adjusting mechanism and method of the same
CN102890549A (en) * 2011-07-18 2013-01-23 纬创资通股份有限公司 Overheat protection method for computer system and related device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020104032A1 (en) * 2001-01-30 2002-08-01 Mazin Khurshid Method for reducing power consumption using variable frequency clocks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576768A (en) * 2009-06-15 2009-11-11 北京中星微电子有限公司 Method and device for switching device frequency
CN102314213A (en) * 2010-07-09 2012-01-11 精英电脑股份有限公司 Computer system capable of adjusting operating frequency dynamically
CN102385435A (en) * 2010-08-27 2012-03-21 宏达国际电子股份有限公司 Electronic device having operation mode dynamic adjusting mechanism and method of the same
CN102890549A (en) * 2011-07-18 2013-01-23 纬创资通股份有限公司 Overheat protection method for computer system and related device

Also Published As

Publication number Publication date
CN103955264A (en) 2014-07-30

Similar Documents

Publication Publication Date Title
CN103955264B (en) Dynamically regulate the method and system of processor working frequency
US8994447B2 (en) Voltage regulation method and corresponding HPM, chip, and chip system
Lin et al. An Ultra-Low Power Asynchronous-Logic In-Situ Self-Adaptive $ V_ {\rm DD} $ System for Wireless Sensor Networks
CN103941788B (en) Chip adaptive voltage adjustor and method
US20080136397A1 (en) Operating integrated circuit logic blocks at independent voltages with single voltage supply
CN102314213A (en) Computer system capable of adjusting operating frequency dynamically
US10409936B2 (en) Method and apparatus for modelling power consumption of integrated circuit
CN105786402A (en) Method and apparatus for dynamic adjustment of speed of memory device
Paterna et al. Modeling and mitigation of extra-SoC thermal coupling effects and heat transfer variations in mobile devices
CN112713650B (en) Electric power monitoring data processing system
CN109428727A (en) The power-economizing method of power supply unit and Power over Ethernet
CN103677199B (en) The method of information processing and the first electronic equipment
US8464199B1 (en) Circuit design using design variable function slope sensitivity
Kawaguchi et al. Adaptive power efficiency control by computer power consumption prediction using performance counters
CN107104478A (en) A kind of information processing method and electronic equipment
US10481661B2 (en) Power supply interface light load signal
CN104699214B (en) Dynamic voltage frequency adjusting apparatus and method
CN114065676A (en) Standard cell library forming method and related device
CN201887663U (en) Low-power-consumption-application-oriented dynamic voltage regulation system
CN105022469A (en) Portable electronic device and core swapping method thereof
CN116643506B (en) Energy consumption equipment adjusting method, device, controller and system of intelligent energy system
CN103605539B (en) single-chip microcomputer system clock frequency control method and system
CN101394127B (en) Voltage adjustment module design system and method
Beldachi et al. Run‐time power and performance scaling in 28 nm FPGAs
CN105094295B (en) A kind of information processing method and electronic equipment

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
PP01 Preservation of patent right

Effective date of registration: 20170721

Granted publication date: 20161012

PP01 Preservation of patent right
PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20200721

Granted publication date: 20161012

CP03 Change of name, title or address

Address after: 300453 Tianjin Binhai New Area, Tianjin Eco-city, No. 126 Animation and Animation Center Road, Area B1, Second Floor 201-427

Patentee after: Xinle Visual Intelligent Electronic Technology (Tianjin) Co.,Ltd.

Address before: 300467 Tianjin Binhai New Area, ecological city, animation Middle Road, building, No. two, B1 District, 201-427

Patentee before: LE SHI ZHI XIN ELECTRONIC TECHNOLOGY (TIANJIN) Ltd.

Address after: Room 301-1, Room 301-3, Area B2, Animation Building, No. 126 Animation Road, Zhongxin Eco-city, Tianjin Binhai New Area, Tianjin

Patentee after: LE SHI ZHI XIN ELECTRONIC TECHNOLOGY (TIANJIN) Ltd.

Address before: 300453 Tianjin Binhai New Area, Tianjin Eco-city, No. 126 Animation and Animation Center Road, Area B1, Second Floor 201-427

Patentee before: Xinle Visual Intelligent Electronic Technology (Tianjin) Co.,Ltd.

CP03 Change of name, title or address
PP01 Preservation of patent right

Effective date of registration: 20210201

Granted publication date: 20161012

PP01 Preservation of patent right
PD01 Discharge of preservation of patent

Date of cancellation: 20240201

Granted publication date: 20161012

PD01 Discharge of preservation of patent
PP01 Preservation of patent right

Effective date of registration: 20240201

Granted publication date: 20161012

PP01 Preservation of patent right