CN107861602A - Terminal cpu performance control method, terminal and computer-readable recording medium - Google Patents
Terminal cpu performance control method, terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107861602A CN107861602A CN201710981047.4A CN201710981047A CN107861602A CN 107861602 A CN107861602 A CN 107861602A CN 201710981047 A CN201710981047 A CN 201710981047A CN 107861602 A CN107861602 A CN 107861602A
- Authority
- CN
- China
- Prior art keywords
- power consumption
- journey
- terminal
- continuation
- cpu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3243—Power saving in microcontroller unit
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a kind of terminal cpu performance control method,Terminal and computer-readable recording medium,This method normal power consumption according to caused by determining terminal operational objective application under CPU normal modes using power consumption mapping relations,Determine that terminal operational objective under CPU continuation of the journey patterns applies required continuation of the journey power consumption,Normal power consumption and continuation of the journey power consumption are contrasted and the cpu performance of SS later is controlled according to comparing result,Solve directly reduces cpu performance in the prior art causes interim card,Power consumption is added while increasing system response time,The problem of causing power consumption continuation of the journey poor,The invention also discloses a kind of terminal and computer-readable recording medium,By implementing such scheme,Determine that operational objective applies the relative cpu performance control strategy for saving power consumption based on normal power consumption and continuation of the journey power consumption,So for existing scheme,Improve the time of power consumption continuation of the journey,User can be made to obtain more preferable operating experience,Lift the satisfaction of user.
Description
Technical field
The present invention relates to field of terminal technology, more specifically to a kind of terminal cpu performance control method, terminal and
Computer-readable recording medium.
Background technology
With the development of terminal technology, the popularity rate more and more higher of the terminal such as smart mobile phone, tablet personal computer, the application of terminal
Scene is also seen everywhere, and power consumption continuation of the journey of the people to terminal requires also more and more higher.In the prior art, in order to improve the work(of terminal
Endurance is consumed, extends the cruising time of terminal, so when terminal residual electricity is less than a certain thresholding, can directly reduce CPU
Performance, to reduce power consumption of the terminal in follow-up time.Really, under many circumstances, reducing really can be with after cpu performance
Terminal power consumption is reduced, extends terminal cruising time.But terminal is when running application after in other cases, reducing cpu performance
It is possible that interim card, interim card can not only increase system response time, the problem of causing system low-response;And interim card can also increase
Add terminal power consumption.Meanwhile in the case where system response is slack-off, user has some setbacks because of operation may a certain needs of adopting consecutive click chemical reaction
The application used further increases terminal power consumption so as to trigger maloperation.Therefore, in some cases, terminal cpu performance is reduced
Not only being unable to reach reduces the purpose of power consumption of terminal, or even also terminal endurance can be caused further to deteriorate, and causes user's body
Test the problem of bad.
The content of the invention
The technical problem to be solved in the present invention is:In the prior art, to save energy, directly terminal is controlled to enter CPU
Continuation of the journey pattern, causing terminal, spent electricity ratio terminal runs the application under CPU normal modes when running certain applications
Spent electricity is more, is unable to reach and saves power consumption purpose.For the technical problem, there is provided a kind of terminal cpu performance control
Method, terminal and computer-readable recording medium.
In order to solve the above technical problems, the present invention provides a kind of terminal cpu performance control method, the terminal cpu performance
Control method includes:
The normal work(according to caused by determining terminal operational objective application under CPU normal modes using power consumption mapping relations
Consumption, the application power consumption mapping relations include each intended application and corresponding normal power consumption;
Determine that the terminal runs the continuation of the journey power consumption needed for the intended application under CPU continuation of the journey patterns;
The normal power consumption and the continuation of the journey power consumption are contrasted and the SS later is controlled according to comparing result
Cpu performance.
Optionally, it is described to control the cpu performance of the SS later to include according to comparing result:
When the normal power consumption is less than or equal to the continuation of the journey power consumption, performance control corresponding to the CPU normal modes is selected
It is target capabilities control strategy to make strategy, and cpu performance is controlled based on the target capabilities control strategy;
When the normal power consumption is more than the continuation of the journey power consumption, selection characterizes performance than the CPU normal modes performance
Low Properties Control strategy is target capabilities control strategy, and cpu performance is controlled based on the target capabilities control strategy.
Optionally, it is target that the selection, which characterizes the performance Properties Control strategy lower than the CPU normal modes performance,
Properties Control strategy includes:
When the normal power consumption and the difference of the continuation of the journey power consumption are less than or equal to default power consumption threshold value, the CPU is selected
Properties Control strategy corresponding to continuation of the journey pattern is target capabilities control strategy;
Or,
When the normal power consumption and the difference of the continuation of the journey power consumption are more than the power consumption threshold value, selection characterizes performance ratio
The low Properties Control strategy of the CPU continuations of the journey mode performance is target capabilities control strategy.
Optionally, it is described to control the cpu performance of the SS later also to include afterwards according to comparing result:
The intended application and the target capabilities control selected for the intended application are established in application strategy mapping table
Make the corresponding relation of strategy, during for subsequently starting the intended application according to corresponding to the application strategy maps table search mesh
Mark Properties Control strategy.
Optionally, it is described to determine that the terminal runs the continuation of the journey power consumption needed for the intended application under CPU continuation of the journey patterns
Including:
During the terminal is in CPU continuation of the journey patterns, after running the default continuation of the journey length of testing speech of the intended application, it is based on
The first power consumption caused by intended application described in the terminal operating determines in the continuation of the journey length of testing speech and continuation of the journey length of testing speech
The continuation of the journey power consumption.
Optionally, it is described based on target described in the terminal operating in the continuation of the journey length of testing speech and continuation of the journey length of testing speech
Determine that the continuation of the journey power consumption includes using caused first power consumption:
The first power consumption caused by intended application described in the terminal operating in the continuation of the journey length of testing speech is determined, based on described
Length of testing speech and first power consumption of continuing a journey determine the continuous of under CPU continuations of the journey pattern intended application described in the terminal operating
Navigate power consumption wear rate;
Determine that startup is followed by every time for the average operating time after each startup of the intended application and the intended application
Receive the average operation number of user operation instruction;
The institute under the CPU continuations of the journey pattern is determined based on the average operation number and default continuation of the journey operating delay time
The continuation of the journey total delay time of intended application described in terminal operating is stated, the continuation of the journey operating delay time is in CPU continuation of the journey moulds
Receive the response time after user operation instruction under formula described in the terminal operating during intended application every time;
The end under the CPU continuations of the journey pattern is determined based on the average operating time and the continuation of the journey total delay time
Run the continuation of the journey total run time needed for the intended application in end;
The continuation of the journey power consumption is determined based on the continuation of the journey power consumption wear rate and the continuation of the journey total run time.
Optionally, it is described to determine that terminal operational objective under CPU normal modes applies institute according to using power consumption mapping relations
Also include before caused normal power consumption:
It is secondary in the default interface number of hops judged in duration and/or input function calling based on respectively being applied in the terminal
Number determines the control application list of the terminal;
When a certain application is run, it is using intended application present in list in the control to determine the application.
Optionally, it is described based on respectively being applied in the terminal in the default interface number of hops judged in duration and/or defeated
Enter number of calls and determine that the control application list of the terminal includes:
Monitor and respectively applied in the terminal during operation in the default interface number of hops judged in duration, the interface is jumped
Turn application addition control of the number more than or equal to default interface number of hops threshold value and apply list;
Or,
Monitor each apply in the terminal and judge input function call number in duration default during operation, by the input
List is applied in the application addition control that number of calls is more than or equal to default input function call number threshold value;
Or,
Monitor and respectively applied in the terminal in the default interface number of hops and input function call number judged in duration,
When a certain application meets at least one in following condition, it is added into control and applies list:
The interface number of hops of the application is more than or equal to default interface number of hops threshold value;
The input function call number of the application is more than or equal to default input function call number threshold value.
Further, present invention also offers a kind of terminal, the terminal to include processor, memory and communication bus;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform one or more program stored in memory, to realize such as above-mentioned any terminal
The step of cpu performance control method.
Further, present invention also offers a kind of computer-readable recording medium, the computer-readable recording medium
In be stored with one or more program, one or more of programs can be by one or more computing device, with reality
Now such as the step of above-mentioned any terminal cpu performance control method.
Beneficial effect
The present invention provides a kind of terminal cpu performance control method, terminal and computer-readable recording medium, and terminal can root
The normal power consumption caused by operational objective application under CPU normal performance modes is determined according to application power consumption mapping relations, wherein, should
Include each intended application and corresponding normal power consumption with power consumption mapping relations, and determine that terminal is run under CPU low performance patterns
Continuation of the journey power consumption needed for intended application, normal power consumption and continuation of the journey power consumption are contrasted and SS later is controlled according to comparing result
Cpu performance.Enter CPU continuation of the journey moulds compared to when terminal power is less than low battery threshold value, being not added with distinguishing directly control terminal
Formula, causing terminal, spent electricity ratio terminal runs this under CPU normal performance modes and applies institute when running certain applications
The electricity of consuming is more, and then causes power consumption of terminal reducing effect and the bad existing scheme of Consumer's Experience, and the present invention provides
" personalization " demand that can be run according to intended application under CPU normal modes and CPU continuation of the journey patterns of scheme, determine phase
Cpu performance adjustable strategies to saving power consumption, avoid that while blindly reducing cpu performance power consumption of terminal situation can not be reduced, enter
And the electricity that intended application operation expends really is saved, power consumption of terminal is reduced, extends terminal cruising time, lifts the satisfaction of user
Degree.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the hardware architecture diagram for realizing each optional mobile terminal of embodiment one of the present invention.
Fig. 2 is the basic procedure schematic diagram of terminal cpu performance control method in first embodiment of the invention;
Fig. 3 is the Part I schematic flow sheet of terminal cpu performance control method in first embodiment of the invention;
Fig. 4 is the Part II schematic flow sheet of terminal cpu performance control method in first embodiment of the invention;
Fig. 5 is the Part III schematic flow sheet of terminal cpu performance control method in first embodiment of the invention;
Fig. 6 is the refined flow chart of terminal cpu performance control method in second embodiment of the invention;
Fig. 7 is the part schematic flow sheet of terminal cpu performance control method in second embodiment of the invention;
Fig. 8 is the structural representation of terminal in third embodiment of the invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move
Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can
Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically
Limit.
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage
Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the inventive method is proposed, it is hard with reference to mobile terminal
Part structure and a kind of terminal cpu performance control method provided by the invention illustrate:
Memory 109 can be soft with the application power consumption mapping relations on memory mobile terminal 100, the application of mobile terminal 100
Part, memory mobile terminal 100 can receive the instruction for the calling input function that user issues, processing by user input unit 107
Device 110 can count the default interface number of hops and/or input function call number judged in duration, and be judged based on default
Interface number of hops and/or input function call number in duration determine that list is applied in control, when a certain application is run, place
Reason device 110 can it is determined that the application be present in control apply list in intended application after, call memory 109 storage
Using power consumption mapping relations, and according to produced by application power consumption mapping relations inquiry intended application is run under CPU normal modes
Normal power consumption, processor 110 can also determine that terminal operational objective under CPU continuation of the journey patterns applies required continuation of the journey power consumption,
And contrasted normal power consumption and continuation of the journey power consumption, the cpu performance of SS later is controlled according to comparing result.
First embodiment
Terminal directly reduces cpu performance to lift continuation of the journey in order to solve in the prior art, therefore causes certain applications to exist
Interim card occurs during operation, so as to cause power consumption of terminal increase, terminal to be continued a journey the problem of poor, the present embodiment provides a kind of terminal CPU
Properties Control method, specifically it may refer to shown in Fig. 2, Fig. 2 is the basic flow of terminal cpu performance control method in the present embodiment
Cheng Tu, the terminal cpu performance control method include:
S201:According to caused by determining terminal operational objective application under CPU normal modes using power consumption mapping relations
Normal power consumption, wherein including each intended application and corresponding normal power consumption using power consumption mapping relations.
Here, corresponding illustrated with power consumption preset relation.In the present embodiment, each mesh is included using power consumption mapping relations
The title of application and its corresponding normal power consumption are marked, wherein normal power consumption corresponding to intended application can be true in the following manner
It is fixed:
The terminal operating target should after statistics is preset the number of starts of intended application in timing statisticses section and started every time
With the operation power consumption consumed, determine that intended application is each according to the operation power consumption after the number of starts of statistics and each startup
The average power consumption consumed after startup, using average power consumption as normal power consumption, or, residue is transported after removing the outlier counted on
The average value of row power consumption is as normal power consumption, it is necessary to which explanation, outlier can be maximum and/or minimum value.For example,
In preset time period, it is assumed that the number of starts of intended application is 5, and operation power consumption is respectively P1, P2, P3, P4 and P5, wherein, it is false
If outlier is P2 and P4, can also remove P2 and P4 using P1, P2, P3, P4 and P5 average value as normal power consumption, by P1,
P3 and P5 average value is as normal power consumption;Or terminal operating after counting the number of starts of intended application and starting every time
The operation power consumption that the intended application is consumed, when the number of starts reaches default number of starts threshold value, by each startup of statistics
The average value of the operation power consumption consumed afterwards is as normal power consumption, or, removes and residue is run into power consumption after the outlier counted on
Average value as normal power consumption, for example, it is assumed that number of starts threshold value is 4 times, the intended application is consumed after starting every time
Average power consumption is respectively P6, P7, P8 and P9, wherein, P6 is outlier, can be using P6, P7, P8 and P9 average value as normal work(
Consumption, can also remove P6 and P9, using P7, P8 and P9 average value as normal power consumption.
It is shown in Figure 3 in the present embodiment, determining terminal in CPU normal modes according to using power consumption mapping relations
It can also comprise the following steps before normal power consumption caused by lower operational objective application:
S301:Called based on respectively being applied in terminal in the default interface number of hops judged in duration and/or input function
Number determines the control application list of terminal.
Wherein, interface number of hops can be by counting Android Android framework campaign management services devices
ActivityManagerServices acquisition activities activity number determines that input function call number can pass through
Input method framework call number is counted to determine.
Here, to based on respectively being applied in terminal in the default interface number of hops judged in duration and/or input function tune
The control application list for determining the terminal with number illustrates:Terminal can only monitor each apply and judge default in duration
Interface number of hops, will determine that interface number of hops in duration is more than or equal to the application of default interface number of hops threshold value and added
Enter application control list;Terminal can also only monitor it is each apply in the default input function call number judged in duration, will sentence
The application that input function call number in disconnected duration is more than or equal to default input function call number threshold value adds application control
List;Terminal can also monitor each apply in the default interface number of hops judged in duration and input function calling time simultaneously
Number, will determine that in the interface number of hops in duration and default interface number of hops threshold value it is at least one meet preparatory condition should
With addition application control list.
In certain embodiments, can be according to the control for respectively applying the number of run in preset time to determine terminal in terminal
Using list, by preset time number of run be more than or equal to the application of default number of run threshold value and add control application name
List, such as preset time may be set to 1 day, and default number of run threshold value may be set to 3 times, number of run in 1 day is more than etc.
Control, which is added, in the applications of 3 times applies list.
In certain embodiments, can according to the number of run respectively applied in terminal in preset time and it is default judge when
Interface number of hops in length determines the control application list of terminal, will be more than or equal to default fortune by number of run in preset time
The application that row frequency threshold value and the default interface number of hops judged in duration are more than or equal to default interface number of hops threshold value adds
Enter control and apply list;Also can judge according to the number of run respectively applied in terminal in preset time and default in duration
Input function call number determines the control application list of the terminal, will in preset time number of run be more than or equal to it is default
Number of run threshold value and the default input function call number judged in duration, which are more than or equal to, presets input function call number threshold
The application of value adds control and applies list;Controlled it is understood that Terminal Design personnel rule of thumb can add some applications
System applies list, and conventional chat application and payment application such as are added into control applies list.
S302:When a certain application is run, it is to be answered in the control using target present in list to determine the application
With.
It is understood that the application or intended application in the present embodiment, which can be installed in terminal any, applies journey
Sequence, if the application or intended application can be that the instruction issued according to user is downloaded from network and obtained, such as " Alipay ",
" wechat ", " QQ " etc., certainly, the application or intended application can also be just mounted in the terminal before dispatching from the factory in the terminal
, such as " alarm clock ", " calculator ", " calendar " etc..
S202:Determine that terminal operational objective under CPU continuation of the journey patterns applies required continuation of the journey power consumption.
It should be appreciated that in the present embodiment, the cpu performance under CPU continuation of the journey patterns is than the CPU under CPU normal mode
Can be low.
In the present embodiment, continuation of the journey power consumption is that terminal operational objective under CPU continuation of the journey patterns applies required power consumption.
In the present embodiment, operational objective can be with using required continuation of the journey power consumption under CPU continuation of the journey patterns for above-mentioned determination terminal
It is before terminal enters CPU continuation of the journey patterns, is disappeared after starting intended application every time under CPU continuation of the journey patterns according to conventional terminal
The average power consumption of consumption determine terminal under CPU continuation of the journey patterns operational objective using required continuation of the journey power consumption or, in terminal
During CPU continuation of the journey patterns, determining that terminal operational objective under CPU continuation of the journey patterns applies required continuation of the journey power consumption.
During terminal is in CPU continuation of the journey patterns, determine that terminal operational objective under CPU continuation of the journey patterns continues using required
Boat power consumption includes:
During terminal is in CPU continuation of the journey patterns, the run time after monitoring objective application startup, reach at runtime
After default continuation of the journey length of testing speech, based on caused by terminal operating intended application in continuation of the journey length of testing speech and continuation of the journey length of testing speech
First power consumption determines continuation of the journey power consumption, and continuation of the journey length of testing speech can rule of thumb be set by Terminal Design personnel.
In certain embodiments, terminal operating intended application in based on continuation of the journey length of testing speech and continuation of the journey length of testing speech
Before caused first power consumption determines continuation of the journey power consumption, following steps can also be run:Continued a journey according to intended application in length of testing speech
Interface number of hops and/or input function call number determine the control application list of terminal, it is determined that intended application is control
After system applies the application in list, operation is based on terminal operating intended application in continuation of the journey length of testing speech and continuation of the journey length of testing speech
Caused first power consumption determines continuation of the journey power consumption and subsequent step.
Wherein, it is above-mentioned based on caused by the terminal operating intended application in continuation of the journey length of testing speech and continuation of the journey length of testing speech the
One power consumption determines that continuation of the journey power consumption includes:
The continuation of the journey of the terminal operating intended application under CPU continuation of the journey patterns is determined based on continuation of the journey length of testing speech and the first power consumption
Power consumption wear rate, continuation of the journey power consumption wear rate=the first power consumption/continuation of the journey length of testing speech;After determining that the intended application starts every time
Average operating time and the intended application start every time after receive the average operation number of user operation instruction, based on average
Number of operations and default continuation of the journey operating delay time determine that the continuation of the journey of the terminal operating intended application is total under CPU continuation of the journey patterns
Time delay, continuation of the journey total delay time=average operation number * continuation of the journey operating delay times, wherein, continue a journey the operating delay time
For the response time after receiving user operation instruction every time during the terminal operating intended application under CPU continuation of the journey patterns;Base
The continuation of the journey under CPU continuation of the journey patterns needed for the terminal operating intended application is determined in average operating time and continuation of the journey total delay time
Total run time, total run time=average operating time+continuation of the journey total delay time of continuing a journey;Continuation of the journey power consumption consumption speed can be based on
Rate and continuation of the journey total run time determine continuation of the journey power consumption, continuation of the journey power consumption=continuation of the journey power consumption wear rate * continuation of the journey total run times, also may be used
After a numerical value is determined based on continuation of the journey power consumption wear rate and continuation of the journey total run time, based on this numerical value and to preset continuation of the journey
Correction factor determines power consumption of continuing a journey, continuation of the journey power consumption=continuation of the journey power consumption wear rate * continuation of the journey total run time * continuation of the journey amendments system
Number, continuation of the journey correction factor can rule of thumb be set by Terminal Design personnel, such as continuation of the journey correction factor can be arranged into 120%.
Wherein average operating time and average operation number can be it is determined that determine during normal power consumption, here, pair determining
Average operating time, normal power consumption and average operation number process are described in detail:It can count in default timing statisticses section
The number of starts of intended application, the operation that the intended application is consumed in the run time and run time after startup every time
Power consumption and receive user operation instruction number, or statistics intended application the number of starts, every time start after run time,
And the operation power consumption and the number of reception user operation instruction that the intended application is consumed in run time, in the number of starts
After reaching default number of starts threshold value, institute after each startup of intended application is determined according to the number of starts of statistics and operation power consumption
The average power consumption of consumption, using average power consumption as normal power consumption, using the average value of the run time counted on as average operation
Time, using the average value of the number of the reception user operation instruction counted on as average operation number, or, remove what is counted on
After outlier, it should be appreciated that outlier includes run time, operation power consumption in the run time and receives user's operation
The number of instruction, using the remaining average value for running power consumption as normal power consumption, using the average value of remaining runtime as average
Run time, using the average value of the remaining number for receiving user operation instruction as average operation number.For example, in default statistics
In period, it is assumed that intended application starts 3 times, and time for running is t1 after starting for the first time, and the operation power consumption in t1 is p1,
The number that user operation instruction is received in t1 be n1, and the time run after second of startup is t2, and the operation power consumption in t2 is p2,
The number that user operation instruction is received in t2 be n2, and the time run after third time startup is t3, and the operation power consumption in t3 is p3,
The number that user operation instruction is received in t3 is n3, wherein, the numerical value of third time statistics is outlier, then can be by t1, t2, t3
Average value as average operating time, using p1, p2, p3 average value as normal power consumption, n1, n2, n3 average value are made
For average operation number;Outlier can also be removed, using t1, t2 average value as average operating time, by being averaged for p1, p2
Value is used as normal power consumption, using n1, n2 average value as average operation number.
For ease of understanding, answered for above-mentioned based on terminal operating target in continuation of the journey length of testing speech and continuation of the journey length of testing speech
The process for determining continuation of the journey power consumption with caused first power consumption is illustrated:
Assuming that continuation of the journey length of testing speech is T1, in T1 under CPU continuation of the journey patterns the caused by the terminal operating intended application
One power consumption is P10, and the average operating time after the intended application starts every time is followed by for T2 and each start of the intended application
The average operation times N of user operation instruction is received, the continuation of the journey operating delay time is T3, then the terminal operating under CPU continuation of the journey patterns
The continuation of the journey power consumption wear rate P11=P10/T1 of the intended application, the terminal operating intended application is continuous under CPU continuation of the journey patterns
Navigate total delay time T4=T3*N, the continuation of the journey total run time T=under CPU continuation of the journey patterns needed for the terminal operating intended application
T4+T2, continuation of the journey power consumption P can be:P=P11*T;Continuation of the journey power consumption P can also be:If continuation of the journey correction factor is A, P=P11*T*
A。
S203:Normal power consumption and continuation of the journey power consumption are contrasted and the cpu performance of SS later is controlled according to comparing result.
It is above-mentioned to control the cpu performance of SS later to include according to comparing result in the present embodiment:
When normal power consumption is less than or equal to continuation of the journey power consumption, it is target to select Properties Control strategy corresponding to CPU normal modes
Properties Control strategy, and cpu performance is controlled based on the target capabilities control strategy;
When normal power consumption is more than continuation of the journey power consumption, selection characterizes the performance Properties Control lower than CPU normal mode performances
Strategy is target capabilities control strategy, and cpu performance is controlled based on the target capabilities control strategy, it should be understood that
It is, after being controlled based on the target capabilities control strategy to cpu performance, CPU of the current cpu performance than CPU normal mode
Can be low.
Shown in Figure 4 in the present embodiment, above-mentioned selection characterizes the performance performance lower than CPU normal mode performances
Control strategy is target capabilities control strategy, and cpu performance is controlled and can be included based on the target capabilities control strategy
Following steps:
S401:Judge whether normal power consumption and the difference for power consumption of continuing a journey are less than or equal to default power consumption threshold value.
If so, turn S402, if it is not, turning S403.
S402:It is target capabilities control strategy to select Properties Control strategy corresponding to CPU continuation of the journey patterns, and is based on the target
Properties Control strategy is controlled to cpu performance.
S403:Selection characterizes the performance Properties Control strategy lower than CPU continuation of the journey mode performances and controls plan for target capabilities
Slightly, and cpu performance is controlled based on the target capabilities control strategy.
It is shown in Figure 5, it can also comprise the following steps after S403 is implemented in the present embodiment:
S501:Determine that terminal is transported under the control of the characterized performance Properties Control strategy lower than CPU continuation of the journey mode performances
The second power consumption needed for row intended application.
In the present embodiment, control of the terminal in the characterized performance Properties Control strategy lower than CPU continuation of the journey mode performances is determined
Operational objective can be using the process of the second required power consumption under system:It is in terminal and characterizes performance than CPU continuation of the journey patterns
Under the control of the low Properties Control strategy of performance, after running the intended application default second testing time, when determining the second test
3rd power consumption caused by the interior terminal operating intended application, determined for the second operating delay time, wherein, during the second operating delay
Between by sign performance continue a journey than CPU the low Properties Control strategy of mode performance control under the terminal operating intended application when
The response time after user operation instruction is received every time, and the 3rd power consumption can be:Second power consumption=(the 3rd power consumption/the second
Testing time) * (operating delay time of average operating time+the second * average operations number), the 3rd power consumption can also be:It is determined that
Second correction factor, the second power consumption=(the 3rd power consumption/second testing time) * is (during the operating delay of average operating time+the second
Between * average operations number) the * the second correction factor, the second correction factor can rule of thumb set by Terminal Design personnel.
S502:Judge whether continuation of the journey power consumption is less than or equal to the second power consumption.
If so, turn S503, if it is not, turning S504.
S503:It is target capabilities control strategy to select Properties Control strategy corresponding to CPU continuation of the journey patterns, and is based on the target
Properties Control strategy is controlled to cpu performance.
S504:The characterized performance Properties Control strategy lower than CPU continuation of the journey mode performances is continuing with to carry out cpu performance
Control.
In the present embodiment, it can also include after the cpu performance of SS later is controlled according to comparing result:
Intended application and the target capabilities control strategy selected for the intended application are established in application strategy mapping table
Corresponding relation, during for subsequently starting the intended application according to corresponding to the application strategy maps table search target capabilities
Control strategy.For example, according to comparing result, the target capabilities control strategy of " wechat " is:Performance control corresponding to CPU normal modes
Properties Control strategy corresponding to " wechat " and CPU normal modes, then be added in application strategy mapping table, under by system strategy
During secondary startup " wechat ", application strategy mapping table can be searched, according to the result of lookup, based on performance corresponding to CPU normal modes
Control strategy is controlled to the cpu performance of terminal.
The terminal cpu performance control method that the present embodiment provides, by determining terminal operational objective under CPU normal modes
Using caused normal power consumption, determine that terminal operational objective under CPU continuation of the journey patterns applies required continuation of the journey power consumption, by described in
Normal power consumption and the continuation of the journey power consumption are contrasted, and the cpu performance of SS later is controlled according to comparing result, therefore, at this
In invention, the cpu performance of SS later can be controlled based on normal power consumption and the comparing result of continuation of the journey power consumption, select operation mesh
The relative cpu performance for saving power consumption of mark application, being directly entered CPU continuations of the journey pattern without judgement compared to existing terminal causes portion
Divide and apply in power dissipation ratio caused by CPU continuation of the journey mode operations for CPU normal modes consume this more scheme of power consumption, this
The scheme that embodiment provides can need according to " personalization " that intended application is run under CPU normal modes and CPU continuation of the journey patterns
Ask to select the relative cpu performance adjustable strategies for saving power consumption, and then lift the time of power consumption of terminal continuation of the journey and expiring for user
Meaning degree.
Second embodiment
In order to be better understood from the present invention, the present embodiment illustrates with reference to more specifical example, refers to Fig. 6 institutes
Show, the refined flow chart for the terminal cpu performance control method that Fig. 6 provides for second embodiment of the invention, the terminal cpu performance control
Method processed includes:
S601:Based on respectively being applied in terminal in the default interface number of hops and input function call number judged in duration
Determine the control application list of terminal.
In the present embodiment, after each application startup, monitoring is each apply the default interface number of hops judged in duration with
Input function call number, judge default in duration, if the interface number of hops of a certain application is more than or equal to default interface and jumped
Turn frequency threshold value or input function call number is more than or equal to input function call number threshold value, then the application is added into control should
With list, it is necessary to explanation, if it is default judge that duration reaches before, interface number of hops or the input function calling of the application
Number has equalized to its corresponding frequency threshold value, then is equal in interface number of hops or input function call number secondary corresponding to it
Stop the monitoring to the application during number threshold value immediately, and the application is added into control and applies list.
S602:When a certain application is run, it is using intended application present in list in control to determine the application.
In the present embodiment, after a certain application startup, search control and apply list, if this is applied in controlling using list
In the presence of, then turn S603, if control apply list in there is no the application, turn S601.
S603:According to caused by determining terminal operational objective application under CPU normal modes using power consumption mapping relations
Normal power consumption, wherein including each intended application and corresponding normal power consumption using power consumption mapping relations.
Determine that the process of normal power consumption corresponding to intended application in power consumption mapping relations refers to first embodiment, herein not
Repeat again.
S604:Determine that terminal operational objective under CPU continuation of the journey patterns applies required continuation of the journey power consumption.
In the present embodiment, determine that terminal operational objective under CPU continuation of the journey patterns is using required continuation of the journey power consumption process:
During terminal is in CPU continuation of the journey patterns, it is determined that in continuation of the journey length of testing speech caused by the terminal operating intended application
First power consumption, determine that the average operating time after each startup of the intended application, the intended application receive user after starting every time
The average operation number of operational order and determination operating delay time, continue a journey power consumption=(the first power consumption/continuation of the journey length of testing speech) *
(average operating time+average operation number * operating delay times).
For ease of understanding, illustrated here with an example, it is assumed that intended application is wechat, is continued in terminal in CPU
During model plane formula, start operation continuation of the journey testing time 3S after wechat, it is 0.144mA to run wechat to consume the first power consumption in 3S,
Average operating time after wechat starts every time is 600s, and average operation number is 50 times, and the continuation of the journey operating delay time is 0.5S,
Then continue a journey power consumption=(0.144/3) * (600+0.5*50)=30mA.
In other embodiments, correction factor is may also set up, continuation of the journey power consumption=(the first power consumption/continuation of the journey length of testing speech) * is (flat
Equal run time+average operation number * operating delay times) * correction factors.
S605:Judge whether normal power consumption is less than or equal to continuation of the journey power consumption.
If so, turn S606, if it is not, turning S607.
In the present embodiment, it is assumed that intended application is wechat, and the average operating time after wechat starts every time is 600s, is disappeared
Consumption normal power consumption is 30mA, and average operation number is 50 times, and continue a journey testing time 3S, and wechat is run in 3S and consumes the first power consumption
For 0.144mA, the continuation of the journey operating delay time is 0.5S, then power consumption of continuing a journey (refers to the calculating side introduced under S604 by 30mA
Method), normal power consumption is equal to continuation of the journey power consumption, turns S606.
S606:It is target capabilities control strategy to select Properties Control strategy corresponding to CPU normal modes, and is based on the target
Properties Control strategy is controlled to cpu performance.
In certain embodiments, after based on Properties Control strategy is controlled to cpu performance corresponding to CPU normal modes,
In intended application end of run, cpu performance can be controlled based on Properties Control strategy corresponding to CPU continuation of the journey patterns.
S607:Selection characterizes the performance Properties Control strategy lower than CPU normal mode performances and controls plan for target capabilities
Slightly, and cpu performance is controlled based on the target capabilities control strategy.
Shown in Figure 7, it is Objective that selection, which characterizes the performance Properties Control strategy lower than CPU normal mode performances,
Energy control strategy, and cpu performance is controlled based on the target capabilities control strategy and may include steps of:
S701:Judge whether normal power consumption and the difference for power consumption of continuing a journey are less than or equal to default power consumption threshold value.
If so, turn S702, if it is not, turning S703.
It is understood that default power consumption threshold value can rule of thumb be set by Terminal Design personnel, can also be according to just
Normal power consumption determines, such as using the 20% of normal power consumption as power consumption threshold value.
Assuming that normal power consumption is 40mA, using the 30% of normal power consumption as power consumption threshold value, i.e. power consumption threshold value is 12mA, continuation of the journey
Power consumption is 35mA, then normal power consumption and the difference of continuation of the journey power consumption are 5mA, less than power consumption threshold value, turn S702.
S702:It is target capabilities control strategy to select Properties Control strategy corresponding to CPU continuation of the journey patterns, and is based on this target
Performance strategy is controlled to cpu performance.
S703:Selection characterizes the performance Properties Control strategy lower than CPU continuation of the journey mode performances and controls plan for target capabilities
Slightly, and cpu performance is controlled based on this target capabilities strategy.
S704:Determine that terminal operational objective under the control of this target capabilities control strategy applies the second required power consumption.
The determination method of second power consumption refers to first embodiment, and here is omitted.
S705:Judge whether continuation of the journey power consumption is less than or equal to the second power consumption.
If so, turn S702, if it is not, turning S706.
S706:Current goal Properties Control strategy is continuing with to be controlled terminal cpu performance.
S608:Intended application is established in application strategy mapping table and controls plan with the target capabilities selected for intended application
Corresponding relation slightly, so that the target capabilities according to corresponding to application strategy maps table search control plan during follow-up startup intended application
Slightly.
The present embodiment also provides a kind of computer-readable recording medium, be stored with computer-readable recording medium one or
The multiple programs of person, one or more program can be by one or more computing devices, to realize such as above-mentioned any terminal CPU
The step of Properties Control method.
The terminal cpu performance control method and computer-readable recording medium that the present embodiment provides, by based on terminal
In respectively apply the control application name that terminal is determined in the default interface number of hops judged in duration and input function call number
It is single, it is determined that application is after the control exists using intended application present in list, according to applying power consumption mapping relations
Terminal normal power consumption caused by operational objective application under CPU normal modes is determined, it is then determined that terminal is in CPU continuation of the journey patterns
Lower operational objective applies required continuation of the journey power consumption, and normal power consumption and continuation of the journey power consumption are contrasted, and is controlled according to comparing result
The cpu performance of SS later, therefore, the method provided by the present embodiment, judge after applying as intended application, in intended application
The cpu performance of SS later can be determined according to normal power consumption and the continuation of the journey power consumption of prediction after startup, to select operational objective
Using the cpu performance control strategy for more saving power consumption relatively, cause part compared to CPU continuations of the journey pattern is directly entered without judgement
Apply under CPU continuation of the journey patterns electricity ratio spent by operation run under CPU normal modes spent by electricity more this is existing
For scheme, the electricity that operational objective application expends is saved, terminal cruising time is improved, improves the satisfaction of Consumer's Experience
Degree.
3rd embodiment
The present embodiment provides a kind of terminal, shown in Figure 8, and the terminal that the present embodiment provides includes processor 801, deposited
Reservoir 802 and communication bus 803.
Wherein, the communication bus 803 in the present embodiment is used to realize that the connection between processor 801 and memory 802 is led to
Letter, processor 801 is then used to perform one or more program stored in memory 802, to realize following steps:
The normal work(according to caused by determining terminal operational objective application under CPU normal modes using power consumption mapping relations
Consumption, wherein, include each intended application and corresponding normal power consumption using power consumption mapping relations;
Determine that terminal runs the continuation of the journey power consumption needed for the intended application under CPU continuation of the journey patterns;
Normal power consumption and continuation of the journey power consumption are contrasted and the cpu performance of SS later is controlled according to comparing result.
Determine that the process of normal power consumption corresponding to intended application in power consumption mapping relations refers to first embodiment, herein not
Repeat again.
In the present embodiment, terminal operational objective application under CPU normal modes is being determined according to using power consumption mapping relations
Before caused normal power consumption, processor 801 can perform one or more program stored in memory, realize following
Step:
It is true in the default interface number of hops judged in duration and/or input function call number based on respectively being applied in terminal
Determine the control application list of terminal;
When a certain application is run, it is using intended application present in list in the control to determine the application.
Wherein, based on respectively being applied in terminal in the default interface number of hops judged in duration and/or input function calling
Number determines that the control of terminal refers to first embodiment using the process of list, and here is omitted.
It should be appreciated that in the present embodiment, the cpu performance under CPU continuation of the journey patterns is than the CPU under CPU normal mode
Can be low.
In the present embodiment, operational objective can be with using required continuation of the journey power consumption under CPU continuation of the journey patterns for above-mentioned determination terminal
It is before terminal enters CPU continuation of the journey patterns, determines that terminal operational objective under CPU continuation of the journey patterns applies required continuation of the journey work(
Consumption or, during terminal be in CPU continuation of the journey patterns, determine terminal under CPU continuation of the journey patterns operational objective apply needed for
Continuation of the journey power consumption, herein, determine that terminal operational objective under CPU continuation of the journey patterns please be participated in using the process of required continuation of the journey power consumption
First embodiment, here is omitted.
In the present embodiment, the process of the above-mentioned cpu performance for controlling SS later according to comparing result is:It is small in normal power consumption
When equal to continuation of the journey power consumption, it is target capabilities control strategy to select Properties Control strategy corresponding to CPU normal modes, and is based on being somebody's turn to do
Target capabilities control strategy is controlled to cpu performance;When normal power consumption is more than continuation of the journey power consumption, processor 801 can perform
One or more program stored in memory, realizes following steps:
Judge whether normal power consumption and the difference for power consumption of continuing a journey are less than or equal to default power consumption threshold value, if so, selection CPU continuations of the journey
Properties Control strategy corresponding to pattern is target capabilities control strategy, and cpu performance is controlled based on this target capabilities strategy
System;If it is not, it is target capabilities control strategy that selection, which characterizes the performance Properties Control strategy lower than CPU continuation of the journey mode performances, and
Cpu performance is controlled based on this target capabilities strategy.
In certain embodiments, it is mesh to characterize the performance Properties Control strategy lower than CPU continuation of the journey mode performances in selection
Properties Control strategy is marked, and after being controlled based on this target capabilities strategy to cpu performance, processor 801 can be performed and deposited
One or more program stored in reservoir, realizes following steps:
Determine that terminal operational objective under the control of this target capabilities control strategy applies the second required power consumption, the second work(
The determination process of consumption refers to first embodiment, and here is omitted;Judge whether continuation of the journey power consumption is less than or equal to the second power consumption, if
It is, using Properties Control policy control cpu performance corresponding to CPU continuation of the journey patterns, if it is not, being continuing with current goal Properties Control
Strategy is controlled to terminal cpu performance.
In the present embodiment, after the cpu performance of SS later is controlled according to comparing result, processor 801 can perform
One or more program stored in memory, realizes following steps:
The intended application and the target capabilities control selected for the intended application are established in application strategy mapping table
Make the corresponding relation of strategy, during for subsequently starting the intended application according to corresponding to the application strategy maps table search mesh
Mark Properties Control strategy.
The terminal that the present embodiment provides, by determining that terminal is transported under CPU normal modes according to using power consumption mapping relations
Normal power consumption caused by row intended application, determine that terminal runs the continuation of the journey work(needed for the intended application under CPU continuation of the journey patterns
Consumption, normal power consumption and continuation of the journey power consumption are contrasted and the cpu performance of SS later is controlled according to comparing result, therefore, at this
In invention, operational objective can be selected based on normal power consumption and continuation of the journey power consumption and apply the relative cpu performance for saving power consumption, compared to
The existing CPU continuations of the journey pattern that is directly entered causes certain applications to run institute's power consumption ratio under CPU continuation of the journey patterns in CPU normal modes
For running this more scheme of institute's power consumption, the terminal that the present embodiment provides advantageously saves power consumption relatively in selection
Cpu performance, the continuation of the journey duration of terminal is lifted, improve the satisfaction of Consumer's Experience.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of terminal cpu performance control method, it is characterised in that the terminal cpu performance control method includes:
The normal power consumption according to caused by determining terminal operational objective application under CPU normal modes using power consumption mapping relations,
The application power consumption mapping relations include each intended application and corresponding normal power consumption;
Determine that the terminal runs the continuation of the journey power consumption needed for the intended application under CPU continuation of the journey patterns;
The normal power consumption and the continuation of the journey power consumption are contrasted and the CPU of the SS later is controlled according to comparing result
Energy.
2. terminal cpu performance control method as claimed in claim 1, it is characterised in that described that institute is controlled according to comparing result
Stating the cpu performance of SS later includes:
When the normal power consumption is less than or equal to the continuation of the journey power consumption, Properties Control plan corresponding to the CPU normal modes is selected
Slightly target capabilities control strategy, cpu performance is controlled based on the target capabilities control strategy;
When the normal power consumption is more than the continuation of the journey power consumption, it is lower than the CPU normal modes performance that selection characterizes performance
Properties Control strategy is target capabilities control strategy, and cpu performance is controlled based on the target capabilities control strategy.
3. terminal cpu performance control method as claimed in claim 2, it is characterised in that the selection characterizes performance and compares institute
State the low Properties Control strategy of CPU normal mode performances includes for target capabilities control strategy:
When the normal power consumption and the difference of the continuation of the journey power consumption are less than or equal to default power consumption threshold value, the CPU is selected to continue a journey
Properties Control strategy corresponding to pattern is target capabilities control strategy;
Or,
When the normal power consumption and the difference of the continuation of the journey power consumption are more than the power consumption threshold value, selection is characterized described in performance ratio
The low Properties Control strategy of CPU continuation of the journey mode performances is target capabilities control strategy.
4. terminal cpu performance control method as claimed in claim 2, it is characterised in that described that institute is controlled according to comparing result
State the cpu performance of SS later also includes afterwards:
The intended application is established in application strategy mapping table and controls plan with the target capabilities selected for the intended application
Corresponding relation slightly, during for subsequently starting the intended application according to corresponding to the application strategy maps table search Objective
Can control strategy.
5. terminal cpu performance control method as claimed in claim 2, it is characterised in that described to determine that the terminal continues in CPU
The continuation of the journey power consumption needed for the intended application is run under model plane formula to be included:
During the terminal is in CPU continuation of the journey patterns, after running the default continuation of the journey length of testing speech of the intended application, based on described
Described in the first power consumption caused by intended application described in the terminal operating determines in continuation of the journey length of testing speech and continuation of the journey length of testing speech
Continuation of the journey power consumption.
6. terminal cpu performance control method as claimed in claim 5, it is characterised in that it is described based on it is described continuation of the journey test when
The first power consumption caused by intended application described in the terminal operating determines the continuation of the journey power consumption bag in long and continuation of the journey length of testing speech
Include:
The first power consumption caused by intended application described in the terminal operating in the continuation of the journey length of testing speech is determined, based on the continuation of the journey
Length of testing speech and first power consumption determine the continuation of the journey work(of the intended application described in the terminal operating under the CPU continuations of the journey pattern
Consume wear rate;
Use is received after determining the average operating time after each startup of the intended application and each startup of the intended application
The average operation number of family operational order;
The end under the CPU continuations of the journey pattern is determined based on the average operation number and default continuation of the journey operating delay time
The continuation of the journey total delay time of the intended application is run at end, and the continuation of the journey operating delay time is under the CPU continuations of the journey pattern
Receive the response time after user operation instruction described in the terminal operating during intended application every time;
The terminal fortune under the CPU continuations of the journey pattern is determined based on the average operating time and the continuation of the journey total delay time
Continuation of the journey total run time needed for the row intended application;
The continuation of the journey power consumption is determined based on the continuation of the journey power consumption wear rate and the continuation of the journey total run time.
7. the terminal cpu performance control method as any one of claim 1-6, it is characterised in that described according to application
Power consumption mapping relations determine that terminal also includes under CPU normal modes before normal power consumption caused by operational objective application:
It is true in the default interface number of hops judged in duration and/or input function call number based on respectively being applied in the terminal
The control application list of the fixed terminal;
When a certain application is run, it is using intended application present in list in the control to determine the application.
8. cpu performance control method as claimed in claim 7, it is characterised in that described to be based on respectively applying in the terminal
Default the interface number of hops judged in duration and/or input function call number determine the control application list bag of the terminal
Include:
Monitor and respectively applied in the terminal during operation in the default interface number of hops judged in duration, the interface is redirected secondary
List is applied in the application addition control that number is more than or equal to default interface number of hops threshold value;
Or,
Monitor each apply in the terminal and judge input function call number in duration default during operation, by the input function
List is applied in the application addition control that call number is more than or equal to default input function call number threshold value;
Or,
Monitor and respectively applied in the terminal in the default interface number of hops and input function call number judged in duration, when certain
When one application meets at least one in following condition, it is added into control and applies list:
The interface number of hops of the application is more than or equal to default interface number of hops threshold value;
The input function call number of the application is more than or equal to default input function call number threshold value.
9. a kind of terminal, it is characterised in that the terminal includes processor, memory and communication bus;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform one or more program stored in memory, to realize as appointed in claim 1 to 8
The step of terminal cpu performance control method described in one.
A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be by one or more computing devices, to realize such as claim 1 to 8
Any one of terminal cpu performance control method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710981047.4A CN107861602B (en) | 2017-10-20 | 2017-10-20 | Terminal CPU performance control method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710981047.4A CN107861602B (en) | 2017-10-20 | 2017-10-20 | Terminal CPU performance control method, terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107861602A true CN107861602A (en) | 2018-03-30 |
CN107861602B CN107861602B (en) | 2021-03-30 |
Family
ID=61696679
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710981047.4A Active CN107861602B (en) | 2017-10-20 | 2017-10-20 | Terminal CPU performance control method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107861602B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108736082A (en) * | 2018-05-22 | 2018-11-02 | 海能达通信股份有限公司 | Improve method, apparatus, equipment and the storage medium of end cell cruising ability |
WO2021022926A1 (en) * | 2019-08-06 | 2021-02-11 | 中兴通讯股份有限公司 | Network-based control method for power consumption of applications, terminal and storage medium |
CN113268131A (en) * | 2020-02-14 | 2021-08-17 | 北京小米移动软件有限公司 | Method, apparatus and medium for predicting endurance information |
CN113840512A (en) * | 2021-08-06 | 2021-12-24 | 锐捷网络股份有限公司 | Temperature adjusting method and device, electronic equipment and storage medium |
CN114118863A (en) * | 2021-12-07 | 2022-03-01 | 特斯联科技集团有限公司 | Building renewable carbon neutralization energy system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103324270A (en) * | 2013-06-25 | 2013-09-25 | 东莞宇龙通信科技有限公司 | Mobile terminal and method for adjusting CPU (Central Processing Unit) frequency thereof |
CN103455127A (en) * | 2012-05-29 | 2013-12-18 | 国基电子(上海)有限公司 | Power supply monitoring device, electronic device and power supply monitoring method thereof |
CN104035543A (en) * | 2014-06-23 | 2014-09-10 | 华为技术有限公司 | Power saving management method and device for intelligent terminal |
CN104516470A (en) * | 2013-09-26 | 2015-04-15 | 鸿富锦精密工业(深圳)有限公司 | Server power dissipation control method and system |
CN105159816A (en) * | 2015-08-04 | 2015-12-16 | 广东欧珀移动通信有限公司 | Method for reducing power consumption of device, mobile terminal and system |
CN105676997A (en) * | 2016-01-05 | 2016-06-15 | 京东方科技集团股份有限公司 | Mobile terminal management method and system and mobile terminal |
US20160266638A1 (en) * | 2015-03-10 | 2016-09-15 | Kabushiki Kaisha Toshiba | Memory system, method of controlling memory system having volatile memory and nonvolatile memory, and controller |
CN106527659A (en) * | 2016-10-24 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Terminal control method, terminal control device and terminal |
-
2017
- 2017-10-20 CN CN201710981047.4A patent/CN107861602B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103455127A (en) * | 2012-05-29 | 2013-12-18 | 国基电子(上海)有限公司 | Power supply monitoring device, electronic device and power supply monitoring method thereof |
CN103324270A (en) * | 2013-06-25 | 2013-09-25 | 东莞宇龙通信科技有限公司 | Mobile terminal and method for adjusting CPU (Central Processing Unit) frequency thereof |
CN104516470A (en) * | 2013-09-26 | 2015-04-15 | 鸿富锦精密工业(深圳)有限公司 | Server power dissipation control method and system |
CN104035543A (en) * | 2014-06-23 | 2014-09-10 | 华为技术有限公司 | Power saving management method and device for intelligent terminal |
US20160266638A1 (en) * | 2015-03-10 | 2016-09-15 | Kabushiki Kaisha Toshiba | Memory system, method of controlling memory system having volatile memory and nonvolatile memory, and controller |
CN105159816A (en) * | 2015-08-04 | 2015-12-16 | 广东欧珀移动通信有限公司 | Method for reducing power consumption of device, mobile terminal and system |
CN105676997A (en) * | 2016-01-05 | 2016-06-15 | 京东方科技集团股份有限公司 | Mobile terminal management method and system and mobile terminal |
CN106527659A (en) * | 2016-10-24 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Terminal control method, terminal control device and terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108736082A (en) * | 2018-05-22 | 2018-11-02 | 海能达通信股份有限公司 | Improve method, apparatus, equipment and the storage medium of end cell cruising ability |
WO2021022926A1 (en) * | 2019-08-06 | 2021-02-11 | 中兴通讯股份有限公司 | Network-based control method for power consumption of applications, terminal and storage medium |
US11943127B2 (en) | 2019-08-06 | 2024-03-26 | Zte Corporation | Network-based control method for power consumption of applications, terminal and storage medium |
CN113268131A (en) * | 2020-02-14 | 2021-08-17 | 北京小米移动软件有限公司 | Method, apparatus and medium for predicting endurance information |
CN113268131B (en) * | 2020-02-14 | 2024-01-09 | 北京小米移动软件有限公司 | Method, device and medium for predicting endurance information |
CN113840512A (en) * | 2021-08-06 | 2021-12-24 | 锐捷网络股份有限公司 | Temperature adjusting method and device, electronic equipment and storage medium |
CN113840512B (en) * | 2021-08-06 | 2023-10-20 | 锐捷网络股份有限公司 | Temperature adjusting method and device, electronic equipment and storage medium |
CN114118863A (en) * | 2021-12-07 | 2022-03-01 | 特斯联科技集团有限公司 | Building renewable carbon neutralization energy system |
Also Published As
Publication number | Publication date |
---|---|
CN107861602B (en) | 2021-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107861602A (en) | Terminal cpu performance control method, terminal and computer-readable recording medium | |
US20170315602A1 (en) | Intelligent management for an electronic device | |
CN106786962B (en) | Charging control method and device and terminal | |
CN106055079B (en) | The management method and device of a kind of central processing unit | |
CN106293901B (en) | Process management method and device for terminal application | |
CN110879680B (en) | Icon management method and electronic equipment | |
CN108628430A (en) | A kind of game electricity-saving control method, terminal and computer readable storage medium | |
CN109144580A (en) | A kind of application progress control method, double screen terminal and computer readable storage medium | |
CN107291495A (en) | A kind of shared resource loading method, terminal and computer-readable recording medium | |
CN107797643A (en) | Reduce method, terminal and the computer-readable recording medium of terminal operating power consumption | |
US20040163003A1 (en) | Power management of computer peripheral devices which determines non-usage of a device through usage detection of other devices | |
KR101870391B1 (en) | Intelligent terminal and method for displaying input operation interface thereof | |
CN111443803A (en) | Mode switching method, device, storage medium and mobile terminal | |
CN108322595A (en) | A kind of control method, terminal and computer readable storage medium | |
CN111596793B (en) | Anti-misoperation method and system, storage medium and terminal equipment | |
CN115985323B (en) | Voice wakeup method and device, electronic equipment and readable storage medium | |
CN111309487A (en) | Memory cleaning method and device, storage medium and mobile terminal | |
CN108804223A (en) | Memory Optimize Method, mobile terminal and computer readable storage medium | |
CN111416909B (en) | Volume self-adaptive adjusting method, system, storage medium and mobile terminal | |
CN110471622B (en) | SD card data writing method and device, storage medium and terminal | |
CN110191503B (en) | Audio playing method, system, storage medium and mobile terminal | |
CN113220106A (en) | Power saving control method and power saving control device | |
CN111026259A (en) | Control method and device of mobile terminal and storage medium | |
CN111273774A (en) | Terminal device display screen control method and system, storage medium and terminal device | |
CN111132282A (en) | Application processor awakening method and device applied to mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |