CN105867521A - Method and apparatus for adjusting the clock frequency of hardware in a computing device, and user equipment - Google Patents

Method and apparatus for adjusting the clock frequency of hardware in a computing device, and user equipment Download PDF

Info

Publication number
CN105867521A
CN105867521A CN201510363944.XA CN201510363944A CN105867521A CN 105867521 A CN105867521 A CN 105867521A CN 201510363944 A CN201510363944 A CN 201510363944A CN 105867521 A CN105867521 A CN 105867521A
Authority
CN
China
Prior art keywords
frequency
hardware
event
configuration strategy
context
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
CN201510363944.XA
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.)
Marvell International Ltd
Original Assignee
Marvell International 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 Marvell International Ltd filed Critical Marvell International Ltd
Publication of CN105867521A publication Critical patent/CN105867521A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a method for adjusting the clock frequency of hardware in a computing device. The method includes acquiring several events related to the application scene of a user; parsing the events to generate corresponding a plurality of context modes; selecting the frequency setting strategies from a predefined frequency setting strategy set based on the combination of the plurality of context modes; and adjusting the clock frequency of the hardware at least partially based on the selected frequency setting strategy. By means of the scheme, an existing DVFS system can distinguish different user application scene so as to make an optimal frequency adjusting strategy for the hardware to balance the power and the performance request on the computing device.

Description

The method of the clock frequency of the hardware in regulating calculation equipment, device and subscriber equipment
Cross-Reference to Related Applications
This application claims in U.S. Provisional Patent Application No. that on February 10th, 2015 submits to The rights and interests of 62/114,182, the entire disclosure is incorporated in this by quoting.
Technical field
The embodiments of the present invention relate to field of power management, and more particularly, to The method of the clock frequency of the hardware in regulating calculation equipment, device and subscriber equipment.
Background technology
At present, calculating equipment, such as smart mobile phone, panel computer, wearable device etc., many Number uses battery to power.But, the capacity of battery is very limited amount of, therefore sets in calculating It is balanced becoming more and more important to power consumption and performance requirement on Bei.To this end, some meters Calculation equipment uses dynamic voltage frequency regulation (DVFS) mechanism.DVFS mechanism is based on calculating The historical work-load of equipment predicts the performance of calculating equipment needs in future, the property that will be predicted The frequency of needs can be converted into, with this come the hardware in Adjustable calculation equipment, such as CPU, The frequency configuration of DDR etc., and the electricity being supplied to hardware is regulated according to required frequency Pressure.Such as, when the historical work-load of the equipment of calculating is relatively low, by hardware adjustment to relatively low Frequency, and correspondingly reduce the voltage of hardware, thus reach to save the purpose of power consumption.Work as meter When the historical work-load of calculation equipment exceedes predetermined threshold, by hardware adjustment to higher frequency, And correspondingly increase the voltage of hardware, thus meet performance requirement.
But, along with the application scenarios of user becomes to become increasingly complex, existing DVFS mechanism Power and performance requirement cannot be met in some cases well.For example, it is contemplated that following two Exemplary application scene: the scene of game that video playback scene is mutual with needing frequent user.? In video playback scene, user such as carries out video with 30fps frame per second, 1080p resolution and broadcasts Putting operation, the workload of DDR is stable within a period of time the most in this scenario. But, in needing the mutual scene of game of frequent user, frequent user can cause big alternately Frame per second change (e.g., from about 60fps), thus in some time window, produce burst (burst) Workload.Therefore, this scene of game requires that the frequency regulation requirement of DDR is more radical. But, for above two scene, the average work load of DDR is suitable.Therefore, Existing DVFS mechanism will similarly treat both scenes, hence for video playback scene Extra power will be caused to increase, and hydraulic performance decline will be caused for scene of game.
For different user's application scenarios, the frequency of hardware can be entered accordingly, it would be desirable to a kind of The solution of row regulation.
Summary of the invention
Embodiments of the present invention propose a kind of use context pattern (Context Pattern) Information helps existing DVFS system to distinguish the invention structure of different user's application scenarios Think, in order to hardware is made most suitable frequency regulation strategy and carrys out the power on EQUILIBRIUM CALCULATION FOR PROCESS equipment And performance requirement.
First aspect according to embodiment of the present invention, it is provided that a kind of for regulating calculation equipment In the method for clock frequency of hardware.The method includes: obtain the application scenarios phase with user The multiple events closed;Resolve the plurality of event to generate corresponding multiple context mould Formula;Based on the plurality of context pattern, select from predefined frequency configuration strategy set Frequency configuration strategy;And it is based at least partially on selected frequency configuration strategy to regulate State the clock frequency of hardware.
Second aspect according to embodiment of the present invention, it is provided that a kind of for regulating calculation equipment In the device of clock frequency of hardware.This device includes: context producer, is configured to Obtain the multiple events relevant to the application scenarios of user, and the plurality of event is solved Analysis is to generate corresponding multiple context pattern;Watch-dog, is configured to based on the plurality of Hereafter pattern, selects frequency configuration strategy from predefined frequency configuration strategy set;And Actuator, is configured to be based at least partially on selected frequency configuration strategy and regulates described The clock frequency of hardware.
In one embodiment, each frequency configuration plan in described frequency configuration strategy set The set the most at least including the context pattern of requirement and the set of the frequency conversion parameter being associated.
In one embodiment, the set of described frequency conversion parameter at least includes for different hardware Predetermined variable frequency range and raising frequency threshold value.
In one embodiment, described different hardware at least includes: CPU, figure Shape processor and internal memory.
In one embodiment, described event includes at least one in the following: input Event, temperature event and Sensor Events.
In one embodiment, described context pattern includes at least in the following : input mode, the state of temperature of described calculating equipment and sensing data.
The third aspect according to embodiment of the present invention, it is provided that a kind of subscriber equipment, including in Central Processing Unit, graphic process unit, internal memory and the second aspect according to embodiment of the present invention Described device.
Use the technical scheme of each embodiment of the present invention so that present DVFS system More intelligent and sensitive for different user's application scenarios.District is come by context pattern information Divide different application scenarios, thus responded faster and more preferable power consumption.Additionally, due to Having predefined frequency configuration strategy set, user can be for specific intelligent platform to it It is customized.Meanwhile, user can be as desired to add or delete in context producer Assembly, thus realize motility and customizability.Further, the solution of the present invention is prone to make With, user has only to regulating allocation file and just can be tuned in particular computing device.Always It, the solution of the present invention can be improved DVFS system and provide good experience, system Can quickly respond and power can be saved for diversified user's scene.
Accompanying drawing explanation
By combining accompanying drawing, disclosure illustrative embodiments is described in more detail, these public affairs Above-mentioned and other purpose, feature and the advantage opened will be apparent from, wherein, in these public affairs Opening in illustrative embodiments, identical reference number typically represents same parts.
Fig. 1 show according to an embodiment of the invention in regulating calculation equipment The flow chart of the method 100 of the clock frequency of hardware;
Fig. 2 show according to an embodiment of the invention in regulating calculation equipment The schematic block diagram of the device 200 of the clock frequency of hardware;And
Fig. 3 shows the schematic frame being suitable to the mobile terminal for implementing embodiment of the present invention Figure.
Detailed description of the invention
The principle of theme described here is described referring now to some example embodiment.Should Work as understanding, describe these embodiments and be intended merely to enable those skilled in the art the most geographical Solve and then realize theme described here, and limiting theme described here the most by any way Scope.
Term as used herein " calculating equipment " refers to the equipment possessing computing capability, including But it is not limited to: mobile phone, smart mobile phone, personal digital assistant (PDA), flat board calculate Machine, wearable device, internet of things equipment, medical treatment and environmental unit.
Fig. 1 show according to an embodiment of the invention in regulating calculation equipment The flow chart of the method 100 of the clock frequency of hardware.First, in step S110, obtain and use The event that the application scenarios at family is relevant.Application scenarios such as can be with the one or many of the equipment of calculating Plant function to be associated.Such as, video playback scene can be relevant to the function of playing video file Connection, scene of game can be associated with game function, etc..
In one embodiment, described event includes at least one in the following: input Event, temperature event and Sensor Events.
In one embodiment, the application with user is obtained from the device drive layer of operating system The event that scene is relevant.Such as, in the equipment of calculating runs the example of (SuSE) Linux OS, Device drive layer in the kernel spacing of (SuSE) Linux OS includes various device driver, For realizing the read and write access to hardware device, interrupting arranging and by the event of hardware generation Report is to user's space.Thus, it is possible to obtain described from the device drive layer of (SuSE) Linux OS Event.Similarly, Windows Phone (WP) operating system is run at the equipment of calculating In example, described event can be obtained from the device drive layer of WP operating system.Should be appreciated that As known in the art or exploitation in the future any suitable behaviour can be run on the computing device Making system, the scope of the present invention is not limited in this respect.
It follows that in step S120, acquired multiple events are resolved to generate corresponding Multiple context pattern.
In one embodiment, at least one during context pattern includes the following: use Family input pattern, the state of temperature calculating equipment and sensing data.Input mode Include but not limited to: click on, slide and pinch pulling-down and put (pinch zoom).Calculating sets Standby state of temperature includes but not limited to: room temperature, the most overheated and the most overheated.
In one embodiment, according to predefined algorithm, acquired multiple events are carried out Resolve to generate corresponding multiple context pattern.As a example by touch event, it is right to shown below The touch event obtained from touch panel driver carries out resolving to generate corresponding context The pseudo-code of pattern.
It follows that in step S130, based on multiple context pattern, set from predefined frequency Put selection frequency configuration strategy in strategy set.
Table 1 shows an example of frequency configuration strategy set.
Table 1
As shown in table 1, can be with different ranks (level), such as Level#0, Level #1 ... Level#4 identifies the frequency configuration strategy in frequency configuration strategy set.With low level Frequency configuration strategy compare, the regulative mode of high level frequency configuration strategy is the most radical. It means that high level frequency configuration strategy represents with performance for the regulation strategy guided, and Low-level frequency configuration strategy represents with power for the regulation strategy guided.
Each frequency configuration strategy at least includes the set of the context pattern of requirement and is correlated with The set of the frequency conversion parameter of connection.The set of frequency conversion parameter at least includes making a reservation for for different hardware Variable frequency range and raising frequency threshold value.The instruction of raising frequency threshold value reaches when the workload of corresponding hardware Then improve the frequency of corresponding hardware during to this threshold value, otherwise reduce the frequency of corresponding hardware.With As a example by frequency configuration strategy Level#0, the collection of its context pattern required is combined into " serious mistake Heat " and " bright screen ", the set of frequency conversion parameter includes the variable frequency range 156MHz for CPU ~624MHz and raising frequency threshold value 90%, for GPU variable frequency range 156MHz~ 312MHz and raising frequency threshold value 90%, and for DDR variable frequency range 156MHz~ 416MHz and raising frequency threshold value 65%.
With continued reference to Fig. 1, in step S140, it is based at least partially on selected frequency configuration Strategy regulates the clock frequency of hardware.
In one embodiment, selected frequency configuration strategy is applied to existing DVFS system so that existing DVFS system can be based on the workload to the equipment of calculating Calculating and come from both frequency configuration strategies of context pattern and regulate the frequency of hardware Rate.
Fig. 2 show according to an embodiment of the invention in regulating calculation equipment The block diagram of the device 200 of the clock frequency of hardware.As in figure 2 it is shown, device 200 includes up and down Literary composition maker 20 and watch-dog 40.
Context producer 20 is configured to obtain the multiple things relevant to the application scenarios of user Part, and resolve the plurality of event to generate corresponding multiple context pattern.? In one embodiment, context producer 20 is configured to the device drives from operating system Layer 30 obtains the event relevant to the application scenarios of user.
In one embodiment, context producer 20 includes that user's Input context generates Device 210, temperature context producer 220 and sensor context maker 230.
User's Input context maker 210 is configured to obtain from touch panel driver 310 Take incoming event, and it is defeated that acquired incoming event is resolved generate corresponding user Enter pattern.Incoming event instruction user is to input equipment, the input operation of such as touch panel. User's Input context maker 210 can such as utilize above knot according to predefined algorithm Close the pseudo-code described by Fig. 1 and acquired multiple events are resolved to generate the most multiple Context pattern.
Temperature context producer 220 is configured to obtain from temperature sensor driver 320 Temperature event, and resolve to generate corresponding system temperature to acquired temperature event State.System temperature state includes but not limited to: room temperature, the most overheated and the most overheated.
Sensor context maker 230 is configured to obtain from motion sensor driver 330 Take Sensor Events, and resolve acquired Sensor Events to generate corresponding biography Sensor data.Dynamic sensor driver 310 such as includes that acceleration movement sensor drives journey Sequence and/or gyroscope driver.Sensor context maker 230 is such as from acceleration sensing Device driver obtain acceleration transducer event, and acquired event is resolved with Generate the sensing data that instruction user is static or moves.
It is appreciated that touch panel, temperature sensor, motion sensor etc. are generally supported multiple The event of type, user can therefrom be pre-selected one or more interested events.When When selected event occurs, corresponding driver automatically report corresponding context raw Grow up to be a useful person.
Watch-dog 40 is configured to based on the plurality of context pattern, from predefined frequency Provisioning Policy set selects frequency configuration strategy.
In one embodiment, watch-dog 40 includes moderator 410 and lifter (booster) 420。
Moderator 410 receives the whole context pattern generated from context producer 20, And the context pattern received is merged.
Lifter 420 receives the context pattern through merging from moderator 410, and based on warp Merge context pattern (combinations of the most multiple context pattern) and from frequency configuration set of strategies Close and in 50, select frequency configuration strategy.Subsequently, lifter 420 is by selected frequency configuration Strategy is supplied to the DVFS system as frequency regulator so that DVFS system can be based on To the calculating of workload (based on the historical work-load prediction to further workload) and Come from the frequency configuration strategy of user context information to regulate the clock frequency of hardware.
As it has been described above, include for not according to frequency configuration strategy determined by the solution of the present invention Predetermined variable frequency range with hardware.Such as, as shown in table 1, frequency configuration strategy Level#0 Including variable frequency range 156MHz~624MHz for CPU, the variable frequency range for GPU 156MHz~312MHz and variable frequency range 156MHz~416MHz for DDR. But, in existing DVFS system, use independent algorithm to determine for different hardware Variable frequency range.Such as, as in figure 2 it is shown, DVFS system include for multiple hardware virtual File system (SYSFS), such as GPU SYSFS, DDR SYSFS, CPU SYSFS, It can be used to be configured hardware and driver thereof.For GPU, DDR and CPU Variable frequency range used independent respectively by GPU SYSFS, DDR SYSFS, CPU SYSFS Algorithm determine, thus can cause the nonsynchronous problem of frequency shift of different hardware.Utilize The solution of the present invention, by providing for different hardware (such as CPU, GPU and DDR) simultaneously Predetermined variable frequency range, it is possible to solve said frequencies change nonsynchronous problem.
Frequency based on the present invention is described in detail below with reference to two concrete user's scenes Regulation process.Assuming that realize as follows on the mobile terminal of display screen with 720p resolution Two user's scenes.
User's scenario A:
User plays 720p video code flow: DDR bandwidth demand is about 1300MB/s.
Based on existing DVFS algorithm, frequency conversion result be DDR clock frequency be 312MHz, GPU clock frequency is 312MHz.
User's scenario B:
" temple escape " (Temple Run 2) plays: be averagely about DDR bandwidth demand 1000MB/s。
Based on existing DVFS algorithm, frequency conversion result be DDR clock frequency be 312MHz, GPU clock frequency is 416MHz.
Performance/power consumption assessment:
Scenario A is workload stable type (Stable Workload) scene, and scenario B is Workload demblee form (Burst Workload) scene, especially sends out in user's alternative events Time raw, scenario B is bigger to system resource requirements.
Acquiescence DVFS frequency conversion effect:
For DDR bandwidth demand, scenario A/B average bandwidth demand is close, thus based on existing DVFS algorithm, DDR frequency conversion result is had to be 312MHz.
In this case, for scenario A, video, without card, meets performance and power consumption requirements; For scenario B, when user clicks on, game role jumps card, and DDR frequency is bottleneck, Causing instantaneous GPU to process time-out, hydraulic performance decline, GPU is forced raising frequency simultaneously, and power consumption rises.
Based on embodiments of the present invention:
Below for user's scenario B (frequent user alternative events scene), with Temple Run As a example by 2, describe frequency adjustment procedure based on the present invention in detail.
User's Input context maker 210 obtains input thing from touch panel driver 310 Part, and such as utilize and above in association with the pseudo-code described by Fig. 1, acquired event is solved Analysis is to generate corresponding context pattern.
On user's Input context maker 210, temperature context producer 220 and sensor Hereafter maker 230 obtains event from corresponding device driver respectively, and to acquired Event carry out resolving to generate corresponding context pattern.
Subsequently, all of context pattern current to system of the moderator 410 in watch-dog 40 Merge, to judge current system conditions.
When user is without operation, system mode is the most as shown in table 2:
System mode Context pattern
State of temperature Room temperature (temperature < 65 degrees Celsius)
Click event No touch event
Acceleration transducer Static
Lcd screen Bright screen
Table 2
Lifter 420 in watch-dog 40 according to the context pattern shown in table 2, from more than Frequency configuration strategy set 50 shown in table 1 selects corresponding frequency configuration strategy Level #2.Subsequently, selected frequency configuration strategy Level#2 is supplied to existing by lifter 420 DVFS system.DVFS system determines that final frequency configuration strategy is as follows:
CPU variable frequency range is from 156MHz to 1248MHz, and raising frequency threshold value is 90%;
GPU variable frequency range is from 156MHz to 624MHz, and raising frequency threshold value is 90%;
DDR variable frequency range is from 156MHz to 533MHz, and raising frequency threshold value is 65%.
When user carries out slide on the touchscreen, system mode is the most as shown in table 3:
System mode Context pattern
State of temperature The most overheated (master chip > 65 degree Celsius)
Click event Touch slip event
Acceleration transducer Static
Lcd screen Bright screen
Now, the lifter 420 in watch-dog 40 according to the context pattern shown in table 3, Corresponding frequency configuration strategy is selected from the frequency configuration strategy set 50 shown in above table 1 Level#1 and Level#4.Lifter 420 will be according to merging algorithm as follows in this case Generate final strategy.
The amalgamation result of frequency configuration strategy Level#1 with Level#4 is:
CPU variable frequency range is from 416MHz to 832MHz, and raising frequency threshold value is 90%;
GPU variable frequency range is from 312MHz to 416MHz, and raising frequency threshold value is 80%;
DDR variable frequency range is from 312MHz to 416MHz, and raising frequency threshold value is 40%.
Affect as follows finally for scenario A and B:
User's scenario A:
Based on the input parameter after existing DVFS frequency conversion algorithm and adjustment of the present invention (from carrying Rise the frequency configuration strategy of device 420), DVFS frequency conversion result is that DDR clock frequency is 312MHz, GPU clock frequency is 312MHz.
User's scenario B:
Based on the input parameter after existing DVFS frequency conversion algorithm and adjustment of the present invention, DVFS Frequency conversion result be DDR clock frequency be 312/416MHz, GPU clock frequency be 312MHz.
Performance/power consumption assessment:
For scenario A, video, without card, meets performance and power consumption requirements.
For scenario B, when user clicks on, DDR frequency can meet performance requirement with rapid increase, Game role jumps and links up without card, and GPU processes non-over loading simultaneously, stable at 312MHz. Than existing DVFS algorithm, on the premise of meeting performance requirement, energy consumption has no and significantly carries Rise.
Fig. 3 shows the signal being suitable to the mobile terminal 300 for implementing embodiment of the present invention Property block diagram.Mobile terminal 300 can be any equipment with wireless communication ability.As showing Example, mobile terminal 300 can include smart mobile phone, personal digital assistant (PDA), notes This computer, portable subscriber platform (PSS), mobile station (MS) or access terminal (AT) Deng.
As it is shown on figure 3, mobile terminal 300 include operationally with emitter 314 and receptor One or more antennas 312 of 316 communications.Utilizing these equipment, mobile terminal 300 is permissible Perform the cellular communication with one or more base stations.And, mobile terminal 300 can support with Device-to-device (D2D) communication of other mobile terminals one or more.
Mobile terminal 300 also includes at least one processor 320.Should be appreciated that processor 320 Including the circuit required for all functions realizing mobile terminal 300.Such as, processor 320 Can include that digital signal processor device, micro processor device, A/D converter, D/A turn Parallel operation and other support circuit.The control of mobile terminal 300 and signal processing function are according to this A little respective ability distributions of equipment.
Mobile terminal 300 can also include user interface, such as can include ringer 322, Speaker 324, microphone 326, display or view finder 328 and input interface 330, institute Above equipment is had to be both coupled to processor 320.Mobile terminal 300 could be included for catching The camera model 336 of still image and/or dynamic image.
Mobile terminal 300 can also include battery 334, such as vibrating battery group, for behaviour Make the various circuit required for mobile terminal 300 to power, and alternatively provide mechanical vibration to make For detectable output.Mobile terminal 300 can also include storage device.Such as, mobile whole End 300 can include volatile memory 340, it may for example comprise the use in cache area In the interim volatile random access memory (RAM) storing data.Mobile terminal 300 Can also include other can be to embed or moveable nonvolatile memory 342.Non- Volatile memory 342 can the most such as include EEPROM and flash memory etc.. Memorizer can store the Arbitrary Term in multiple information segment and the number of mobile terminal 300 use According to, in order to realize the function of mobile terminal 300.Such as, memorizer can comprise machine and can hold Row instruction, it makes processor 320 realize method described below when executed.
In one embodiment, mobile terminal 300 also includes Subscriber Identity Module (SIM) Card 338 and 339.SIM 338 and 339 is typically the memorizer with built-in processor Equipment.SIM 338 and 339 can such as include subscriber identification module (UIM), general Integrated circuit card (UICC), USIM (USIM) or removable user know Other module (R-UIM) etc..The quantity that it should be known that the SIM shown in Fig. 3 is only Example.Mobile terminal 300 can include the SIM of other quantity, such as, three SIM Card or four SIMs etc..
Should be appreciated that the structured flowchart in Fig. 3 only illustrates for illustration purposes, it is not intended that Limit the scope of theme described here.In some cases, some assembly can be according to specifically Need and increase or reduce.
Moreover, it will be appreciated that the step in method 100 can be by respectively with reference to Fig. 2 and Tu 3 devices 200 and 300 described perform.Therefore, describe above in association with Fig. 1 and Fig. 2 Feature is equally applicable to device 300, and has same effect, and detail repeats no more.
Embodiments of the present invention can be system, method and/or computer program.Calculate Machine program product can include computer-readable recording medium, containing being used for making processor real The computer-readable program instructions of existing various aspects of the invention.
It will be understood that the combination of each frame of flow chart and flow chart center can be by respectively Kind of means are implemented, such as hardware and/or include having the computer-readable program being stored thereon The computer program of one or more computer-readable mediums of instruction.Such as, institute here The one or more processes described can be come by the computer program instructions of computer program Realize.On this point, it is achieved (multiple) computer program of process described herein Can be by mobile terminal, server or one or more memory devices institutes of other calculating equipment Store and performed by the processor in calculating equipment.In some embodiments, including body The computer program instructions of (multiple) computer program of existing process described above is permissible Stored by the memory devices of multiple calculating equipment.As will be appreciated that, arbitrarily this The computer program of sample can be loaded on computer or other programmable device to produce Life device, so that be included on computer or other programmable device the meter of the instruction performed Calculation machine program product is created that the dress for implementing function specified in (multiple) flow chart box Put.It addition, computer program can include can storing on it computer program instructions One or more computer-readable memories (such as, the memorizer 340 or 342 in Fig. 3), So that one or more computer-readable memories may indicate that computer or other is able to programme Equipment (such as, the mobile terminal 300 of Fig. 3) is operated, in a specific way so that succeeding in one's scheme Calculation machine program product includes the manufacture implementing function specified in (multiple) flow chart box. The computer program instructions of one or more computer programs can also be loaded into calculating On machine or other programmable device so that sequence of operations be able to computer or other can compile Be carried out producing computer-implemented process on journey equipment and make computer or other Function specified in (multiple) flow chart box is implemented in the instruction performed on programmable device.
Therefore, the frame support of flow chart is for performing the combination of the means of specified function.Also will It being understood that the combination of one or more flow chart box and flow chart center can be by performing The combination of specific function or the hardware of specific purpose and computer program based on special The computer system of hardware realizes.
Above-mentioned functions can perform in many ways.Such as, any for performing in above-mentioned functions The suitable device of each function can be employed for carrying out embodiments of the present invention.One In a little example embodiment, appropriately configured processor (such as, processor 320) can carry For all or part of key element.In other example embodiment, all or part of key element can be by Computer program configures and operates under control of a computer program product.For performing The computer program of the method for embodiments of the present invention includes such as non-volatile memories The computer-readable recording medium of medium etc, and such as series of computation machine instruction etc The computer readable program code embodied in a computer-readable storage medium.Implement in example In mode, when being performed by processor 320, this computer readable program code is so that fill Put the step in 300 execution method 100 as shown in Figure 1.
Being described above various embodiments of the present invention, described above is exemplary, not Exhaustive, and it is also not necessarily limited to disclosed each embodiment.Without departing from illustrated each reality In the case of executing the scope and spirit of example, permitted for those skilled in the art Many modifications and changes will be apparent from.The selection of term used herein, it is intended to best Explain the principle of each embodiment, actual application or the technological improvement to the technology in market, or Other those of ordinary skill making the art is understood that each embodiment disclosed herein.

Claims (13)

1. a method for the clock frequency of the hardware in regulating calculation equipment, including:
Obtain the multiple events relevant to the application scenarios of user;
Resolve the plurality of event to generate corresponding multiple context pattern;
Based on the plurality of context pattern, select from predefined frequency configuration strategy set Frequency configuration strategy;And
It is based at least partially on selected frequency configuration strategy to regulate the clock of described hardware Frequency.
Method the most according to claim 1, in wherein said frequency configuration strategy set Each frequency configuration strategy at least include the set of context pattern of requirement and be associated The set of frequency conversion parameter.
Method the most according to claim 2, the set of wherein said frequency conversion parameter is at least Including for the predetermined variable frequency range of different hardware and raising frequency threshold value.
Method the most according to claim 3, wherein said different hardware at least includes: CPU, graphic process unit and internal memory.
Method the most according to any one of claim 1 to 4, wherein said event bag Include at least one in the following: incoming event, temperature event and Sensor Events.
Method the most according to any one of claim 1 to 4, wherein said context Pattern includes at least one in the following: input mode, the temperature of described calculating equipment Degree state and sensing data.
7. a device for the clock frequency of the hardware in regulating calculation equipment, including:
Context producer, is configured to obtain the multiple things relevant to the application scenarios of user Part, and resolve the plurality of event to generate corresponding multiple context pattern;
Watch-dog, is configured to, based on the plurality of context pattern, set from predefined frequency Put selection frequency configuration strategy in strategy set;And
Actuator, is configured to be based at least partially on selected frequency configuration strategy and regulates The clock frequency of described hardware.
Device the most according to claim 7, in wherein said frequency configuration strategy set Each frequency configuration strategy at least include the set of context pattern of requirement and be associated The set of frequency conversion parameter.
Device the most according to claim 8, the set of wherein said frequency conversion parameter is at least Including for the predetermined variable frequency range of different hardware and raising frequency threshold value.
Device the most according to claim 9, wherein said different hardware at least includes: CPU, graphic process unit and internal memory.
11. according to the device according to any one of claim 7 to 10, wherein said event Including at least one in the following: incoming event, temperature event and Sensor Events.
12. according to the device according to any one of claim 7 to 10, wherein said up and down Literary composition pattern includes at least one in the following: input mode, described calculating equipment State of temperature and sensing data.
13. 1 kinds of subscriber equipmenies, including: CPU, graphic process unit, internal memory with And according to the device according to any one of claim 7 to 12.
CN201510363944.XA 2015-02-10 2015-06-26 Method and apparatus for adjusting the clock frequency of hardware in a computing device, and user equipment Pending CN105867521A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201562114182P 2015-02-10 2015-02-10
US62/114,182 2015-02-10

Publications (1)

Publication Number Publication Date
CN105867521A true CN105867521A (en) 2016-08-17

Family

ID=56623619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510363944.XA Pending CN105867521A (en) 2015-02-10 2015-06-26 Method and apparatus for adjusting the clock frequency of hardware in a computing device, and user equipment

Country Status (1)

Country Link
CN (1) CN105867521A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062715A (en) * 2018-07-05 2018-12-21 Oppo(重庆)智能科技有限公司 The determination method, apparatus and terminal of memory clock frequency
CN110045951A (en) * 2019-04-22 2019-07-23 国网山西省电力公司电力科学研究院 A kind of developing instrument that neural network hardware low-power consumption customizes
CN110134032A (en) * 2018-02-09 2019-08-16 三星电子株式会社 Mobile device and its control method including context hub

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610872A (en) * 2001-09-25 2005-04-27 英特尔公司 A method and apparatus to provide a user priority mode
CN102799489A (en) * 2012-07-19 2012-11-28 腾讯科技(深圳)有限公司 Method and device for controlling terminal, and terminal
CN102830785A (en) * 2011-06-17 2012-12-19 上海果壳电子有限公司 Quick response system for equipment end input interaction and implementation method thereof
CN103475790A (en) * 2013-09-06 2013-12-25 中国科学院计算技术研究所 Intelligent mobile terminal power consumption management method
CN103678247A (en) * 2012-08-29 2014-03-26 三星电子株式会社 Dynamic voltage frequency scaling method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610872A (en) * 2001-09-25 2005-04-27 英特尔公司 A method and apparatus to provide a user priority mode
CN102830785A (en) * 2011-06-17 2012-12-19 上海果壳电子有限公司 Quick response system for equipment end input interaction and implementation method thereof
CN102799489A (en) * 2012-07-19 2012-11-28 腾讯科技(深圳)有限公司 Method and device for controlling terminal, and terminal
CN103678247A (en) * 2012-08-29 2014-03-26 三星电子株式会社 Dynamic voltage frequency scaling method and apparatus
CN103475790A (en) * 2013-09-06 2013-12-25 中国科学院计算技术研究所 Intelligent mobile terminal power consumption management method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134032A (en) * 2018-02-09 2019-08-16 三星电子株式会社 Mobile device and its control method including context hub
US11971769B2 (en) 2018-02-09 2024-04-30 Samsung Electronics Co., Ltd. Mobile device including context hub and operation method thereof
CN109062715A (en) * 2018-07-05 2018-12-21 Oppo(重庆)智能科技有限公司 The determination method, apparatus and terminal of memory clock frequency
CN110045951A (en) * 2019-04-22 2019-07-23 国网山西省电力公司电力科学研究院 A kind of developing instrument that neural network hardware low-power consumption customizes
CN110045951B (en) * 2019-04-22 2022-04-15 国网山西省电力公司电力科学研究院 Development tool for low-power-consumption customization of neural network hardware

Similar Documents

Publication Publication Date Title
US11626748B2 (en) Electronic device and method for wired and wireless charging in electronic device
US11036689B2 (en) Blockchain-based data processing method and device
CN107566693B (en) Electronic device and image capturing method thereof
CN110308782B (en) Power consumption prediction and control method and device and computer readable storage medium
CN105282430B (en) Electronic device using composition information of photograph and photographing method using the same
CN110083730B (en) Method and apparatus for managing images using voice tags
KR102454196B1 (en) Method for controlling display and electronic device supporting the same
CN104394278B (en) Method, device and mobile terminal for regulating screen brightness
CN104869320A (en) Electronic device and control method of the same
US10853026B2 (en) Method and apparatus for streaming audio by using wireless link
CN109075588B (en) Electronic device and method for charging battery
KR20180011539A (en) Electronic device for processing image
US10771854B2 (en) Video streaming apparatus and method in electronic device
EP3000345A1 (en) Buckle apparatus for wearable device
CN105874776A (en) Image processing apparatus and method
KR20170096736A (en) Image processing Method and electronic device supporting the same
KR102277353B1 (en) Video processing method and electronic device
CN106228511B (en) Electronic device and method for generating image file in electronic device
US20160066358A1 (en) Control method and electronic device processing the same
CN107924225A (en) System and method for dynamically adjusting memory state transition timers
US10909420B2 (en) Method and apparatus for continuously displaying images on basis of similarity of images
CN105867521A (en) Method and apparatus for adjusting the clock frequency of hardware in a computing device, and user equipment
CN104167196A (en) Backlight brightness adjusting method and device and electronic device
CN115016885B (en) Virtual machine garbage recycling operation method and electronic equipment
CN105656113A (en) Method for charging control and electronic device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160817

WD01 Invention patent application deemed withdrawn after publication