CN106249844A - Processor working frequency and/or the work method of adjustment of check figure, device and terminal - Google Patents

Processor working frequency and/or the work method of adjustment of check figure, device and terminal Download PDF

Info

Publication number
CN106249844A
CN106249844A CN201610614688.1A CN201610614688A CN106249844A CN 106249844 A CN106249844 A CN 106249844A CN 201610614688 A CN201610614688 A CN 201610614688A CN 106249844 A CN106249844 A CN 106249844A
Authority
CN
China
Prior art keywords
operating frequency
frequency
processor
work check
application
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
CN201610614688.1A
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610614688.1A priority Critical patent/CN106249844A/en
Priority to PCT/CN2016/107949 priority patent/WO2018018820A1/en
Publication of CN106249844A publication Critical patent/CN106249844A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3243Power saving in microcontroller unit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a kind of processor working frequency and/or the work method of adjustment of check figure, device and terminal, wherein, the operating frequency of processor and/or the method for adjustment of work check figure include: whether possess the configuration parameter of specified application in detection configuration file;Detect do not possess configuration parameter time, determine processor when specified application is run operating frequency and/or work check figure;Generating configuration parameter according to default adjustable strategies and operating frequency and/or work check figure, and configuration parameter is write configuration file, wherein, configuration parameter is for adjusting operating frequency when specified application is run and/or work check figure.Pass through technical solution of the present invention, it is achieved that operating frequency when specified application is run and/or the restriction of work check figure, it is not necessary to user is manually arranged, and facilitates the operation of user, extends the stand-by time of terminal, improves the experience of user.

Description

Processor working frequency and/or the work method of adjustment of check figure, device and terminal
Technical field
The present invention relates to field of terminal technology, in particular to operating frequency and/or the work check figure of a kind of processor Method of adjustment, the operating frequency of a kind of processor and/or the adjusting apparatus of work check figure and a kind of terminal.
Background technology
In the related, in Android system, by running application program limit CPU and/or the work of GPU Working frequency and work check figure, to reach to extend the purpose of stand-by time.
For the application program of prepackage, part manufacturer terminal write needs limit frequency and/or limit core in configuration file in advance The bag name of application program, CPU and/or GPU allow the highest frequency that takies and maximum check figure, thus reach power saving purpose, but Be the third party application of user installation under normal circumstances not in configuration file list, if to realize this third party should With limit frequency and/or the limit core of program, need user manually to arrange, operate more complicated, have impact on the experience of user.
Therefore, how to design a kind of new Adjusted Option, to be automatically obtained processor when third party application runs Limit frequency and/or limit core become technical problem urgently to be resolved hurrily.
Summary of the invention
The present invention is based at least one above-mentioned technical problem, it is proposed that a kind of new Adjusted Option, is joined by detection Put the configuration parameter whether possessing specified application in file, with when can't detect configuration parameter, according to specifying application journey During sort run processor operating frequency and/or work check figure and default adjustable strategies generate configuration parameter, and will configuration In parameter read-in configuration file, it is achieved that operating frequency when specified application is run and/or the restriction of work check figure, no Need user manually to arrange, facilitate the operation of user, extend the stand-by time of terminal, improve the experience of user.
In view of this, the present invention proposes operating frequency and/or the method for adjustment of work check figure, the bag of a kind of processor Include: whether detection configuration file possesses the configuration parameter of specified application;Detect do not possess configuration parameter time, determine Specified application run time processor operating frequency and/or work check figure;According to default adjustable strategies and work frequency Rate and/or work check figure generate configuration parameter, and configuration parameter is write configuration file, and wherein, configuration parameter refers to for adjustment Determine operating frequency when application program runs and/or work check figure.
In this technical scheme, by whether detection configuration file possesses the configuration parameter of specified application, with When can't detect configuration parameter, the operating frequency of processor and/or work check figure and pre-when running according to specified application If adjustable strategies generate configuration parameter, and configuration parameter is write in configuration file, it is achieved that specified application is run Time operating frequency and/or work check figure restriction, it is not necessary to user is manually arranged, and facilitates the operation of user, extends end The stand-by time of end, improves the experience of user.
Specifically, processor includes CPU (Central Processing Unit, central processing unit) and GPU (Graphics Processing Unit, graphic process unit), operating frequency, i.e. clock frequency, determine the operation speed of terminal Degree, and the operating frequency of processor is directly proportional to power consumption, operating frequency is the highest, and power consumption is the highest, and stand-by time is the shortest, for Prolongation stand-by time, do not affect application program properly functioning on the premise of, the process used time this application program is run Operating frequency and/or the work check figure of device carry out certain restriction, to reach the purpose of power saving.
Configuration file be software system be the set that user loads setting required for applied environment and file, by joining Put file to edit and revise, it is possible to the operating frequency of the processor used when application program is run by realization and/or work The restriction of check figure, simple to operate, it is easy to implement.
In addition, it is necessary to explanation, the configuration parameter whether possessing specified application in detection configuration file can be Perform when specified application is installed, determine that the operating frequency of processor when specified application is run and/or work check figure can To perform when specified application is run first.
In technique scheme, it is preferable that configuration parameter includes: the installation kit name of application program, application program runs Time the upper operational frequency limit of processor and/or application program work check figure upper limit of processor when running.
In this technical scheme, the work frequency of processor during by the installation kit name of application program, application program are run The work check figure upper limit write configuration file of processor when the rate upper limit and/or application program run, it is achieved that in operating frequency Limit and/or the setting of the work check figure upper limit, write simple, will not increase processor and run burden, it is easy to implement.
Specifically, configuration parameter is write configuration file, specifically can include herein below:
<PROFILE Label=" application name " Release=" Yes ">
<APPLICATION Label=" the bag name of application program "/>
<PROPERTY Label=" cpu_freq_max " Value=" 960M ">
</PROFILE>
The acquisition process of the work check figure upper limit is similar to therewith.
In any of the above-described technical scheme, it is preferable that according to default adjustable strategies and operating frequency and work check figure Generate configuration parameter, and configuration parameter is write configuration file, specifically include following steps: determine presetting of specified application Run the real time operation frequency in the time period;Determine that specified application is within the default operation time period according to real time operation frequency Average operating frequency, and average operating frequency is defined as upper operational frequency limit;Upper operational frequency limit is write with installation kit name Enter configuration file.
In this technical scheme, presetting and run the time period, in this is preset and runs the time period, records application program was run The operating frequency of the working condition of processor, i.e. processor in journey, according to the work frequency of the default processor run in the time period Rate determines that this presets the average operating frequency run in the time period, and with installation kit name etc., average operating frequency value is write configuration File, is saving while electricity, it is ensured that application program properly functioning.
It addition, for the work check figure of processor, it is also possible to the default average operation check figure run in the time period is determined For work the check figure upper limit, concrete, when average operation check figure value is non-integer, carry out four houses five according to practical situations Enter.
In any of the above-described technical scheme, it is preferable that according to default adjustable strategies and operating frequency and work check figure Generate configuration parameter, and configuration parameter is write configuration file, specifically include following steps: when determining the operation of application program Between;Determine the operating frequency that running frequency is the highest in the operation time, and operating frequency the highest for running frequency is defined as work Upper frequency limit;Upper operational frequency limit is write configuration file with installation kit name.
In this technical scheme, by certain the operation time for program, monitoring the ruuning situation of application program, Operating frequency the highest for running frequency is defined as upper operational frequency limit, and writes configuration file, and be averaged operating frequency phase Ratio, the operating frequency the highest based on running frequency is run, and makes in application program running more steady.
Work check figure for processor, it is also possible to work check figure the highest for running frequency is defined as on work check figure Limit.
Furthermore it is also possible to by application program lowest operating frequency time properly functioning is defined as upper operational frequency limit, To realize the purpose of further power saving.
In any of the above-described technical scheme, it is preferable that also comprise determining that the application type of specified application;According to Application type determines with specified application with the application program of type;Operating frequency according to specified application and/or work Make check figure and generate the configuration parameter of the application program with type.
In this technical scheme, for the application program of same type, according to operating frequency and/or the work of specified application Make check figure, generate the configuration parameter of the application program with type, and write in configuration file, it is achieved that the work to application program The batch operation that frequency and/or work check figure limit, has further facilitated the process of user, has improved the experience of user.
Alternatively, it is also possible to according to the corresponding relation of the application program prestored Yu Application Type, determine application program Type, according to type and the corresponding relation of the operating frequency of processor of the application program prestored, determines and such application program The operating frequency of corresponding processor, and it is defined as upper operational frequency limit.
It should be noted that application type can include but not limited to that audio frequency plays type, video playback type, e-book Type and social networking application type etc..
According to a second aspect of the present invention, it is also proposed that the operating frequency of a kind of processor and/or the adjustment dress of work check figure Put, including: detector unit, for detecting the configuration parameter whether possessing specified application in configuration file;Determine unit, use In detect do not possess configuration parameter time, determine processor when specified application is run operating frequency and/or work core Number;Signal generating unit, for generating configuration parameter according to the adjustable strategies preset and operating frequency and/or work check figure, and will Configuration parameter write configuration file, wherein, configuration parameter is for adjusting operating frequency when specified application is run and/or work Make check figure.
In this technical scheme, by whether detection configuration file possesses the configuration parameter of specified application, with When can't detect configuration parameter, the operating frequency of processor and/or work check figure and pre-when running according to specified application If adjustable strategies generate configuration parameter, and configuration parameter is write in configuration file, it is achieved that specified application is run Time operating frequency and/or work check figure restriction, it is not necessary to user is manually arranged, and facilitates the operation of user, extends end The stand-by time of end, improves the experience of user.
Specifically, processor includes CPU (Central Processing Unit, central processing unit) and GPU (Graphics Processing Unit, graphic process unit), operating frequency, i.e. clock frequency, determine the operation speed of terminal Degree, and the operating frequency of processor is directly proportional to power consumption, operating frequency is the highest, and power consumption is the highest, and stand-by time is the shortest, for Prolongation stand-by time, do not affect application program properly functioning on the premise of, the process used time this application program is run Operating frequency and/or the work check figure of device carry out certain restriction, to reach the purpose of power saving.
Configuration file be software system be the set that user loads setting required for applied environment and file, by joining Put file to edit and revise, it is possible to the operating frequency of the processor used when application program is run by realization and/or work The restriction of check figure, simple to operate, it is easy to implement.
In addition, it is necessary to explanation, the configuration parameter whether possessing specified application in detection configuration file can be Perform when specified application is installed, determine that the operating frequency of processor when specified application is run and/or work check figure can To perform when specified application is run first.
In technique scheme, it is preferable that configuration parameter includes: the installation kit name of application program, application program runs Time the upper operational frequency limit of processor and/or application program work check figure upper limit of processor when running.
In this technical scheme, the work frequency of processor during by the installation kit name of application program, application program are run The work check figure upper limit write configuration file of processor when the rate upper limit and/or application program run, it is achieved that in operating frequency Limit and/or the setting of the work check figure upper limit, write simple, will not increase processor and run burden, it is easy to implement.
Specifically, configuration parameter is write configuration file, specifically can include herein below:
<PROFILE Label=" application name " Release=" Yes ">
<APPLICATION Label=" the bag name of application program "/>
<PROPERTY Label=" cpu_freq_max " Value=" 960M ">
</PROFILE>
The acquisition process of the work check figure upper limit is similar to therewith.
In any of the above-described technical scheme, it is preferable that determine that unit is additionally operable to: determine the default fortune of specified application Real time operation frequency in the row time period;Determine that unit is additionally operable to: determine that specified application is in advance according to real time operation frequency If the average operating frequency run in the time period, and average operating frequency is defined as upper operational frequency limit;The work of processor The adjusting apparatus of frequency and/or work check figure also includes: writing unit, for being joined with the write of installation kit name by upper operational frequency limit Put file.
In this technical scheme, presetting and run the time period, in this is preset and runs the time period, records application program was run The operating frequency of the working condition of processor, i.e. processor in journey, according to the work frequency of the default processor run in the time period Rate determines that this presets the average operating frequency run in the time period, and with installation kit name etc., average operating frequency value is write configuration File, is saving while electricity, it is ensured that application program properly functioning.
It addition, for the work check figure of processor, it is also possible to the default average operation check figure run in the time period is determined For work the check figure upper limit, concrete, when average operation check figure value is non-integer, carry out four houses five according to practical situations Enter.
In any of the above-described technical scheme, it is preferable that determine that unit is additionally operable to: determine the operation time of application program; Determine that unit is additionally operable to: determine the operating frequency that running frequency is the highest in the operation time, and by work frequency the highest for running frequency Rate is defined as upper operational frequency limit;Writing unit is additionally operable to: with installation kit name, upper operational frequency limit is write configuration file.
In this technical scheme, by certain the operation time for program, monitoring the ruuning situation of application program, Operating frequency the highest for running frequency is defined as upper operational frequency limit, and writes configuration file, and be averaged operating frequency phase Ratio, the operating frequency the highest based on running frequency is run, and makes in application program running more steady.
Work check figure for processor, it is also possible to work check figure the highest for running frequency is defined as on work check figure Limit.
Furthermore it is also possible to by application program lowest operating frequency time properly functioning is defined as upper operational frequency limit, To realize the purpose of further power saving.
In any of the above-described technical scheme, it is preferable that determine that unit is additionally operable to: determine the application class of specified application Type;Determine that unit is additionally operable to: determine with specified application with the application program of type according to application type;Signal generating unit is also used In: according to operating frequency and/or the check figure generation configuration parameter with the application program of type that works of specified application.
In this technical scheme, for the application program of same type, according to operating frequency and/or the work of specified application Make check figure, generate the configuration parameter of the application program with type, and write in configuration file, it is achieved that the work to application program The batch operation that frequency and/or work check figure limit, has further facilitated the process of user, has improved the experience of user.
Alternatively, it is also possible to according to the corresponding relation of the application program prestored Yu Application Type, determine application program Type, according to type and the corresponding relation of the operating frequency of processor of the application program prestored, determines and such application program The operating frequency of corresponding processor, and it is defined as upper operational frequency limit.
It should be noted that application type can include but not limited to that audio frequency plays type, video playback type, e-book Type and social networking application type etc..
According to a third aspect of the present invention, it is also proposed that a kind of terminal, including the process described in any of the above-described technical scheme The operating frequency of device and/or the adjusting apparatus of work check figure, therefore, this terminal includes the place described in any of the above-described technical scheme The operating frequency of reason device and/or the technique effect of the adjusting apparatus of work check figure, do not repeat them here.
By above technical scheme, by whether detection configuration file possesses the configuration parameter of specified application, with When can't detect configuration parameter, when running according to specified application processor operating frequency and/or work check figure and The adjustable strategies preset generates configuration parameter, and is write by configuration parameter in configuration file, it is achieved that transport specified application Operating frequency during row and/or the restriction of work check figure, it is not necessary to user is manually arranged, and facilitates the operation of user, extends The stand-by time of terminal, improves the experience of user.
Accompanying drawing explanation
Fig. 1 shows operating frequency and/or the adjustment of work check figure of processor according to an embodiment of the invention The schematic flow diagram of method;
Fig. 2 shows operating frequency and/or the adjusting apparatus of work check figure of processor according to an embodiment of the invention Schematic block diagram;
Fig. 3 shows the schematic block diagram of terminal according to an embodiment of the invention;
Fig. 4 shows operating frequency and/or the tune of work check figure of processor according to another embodiment of the invention The schematic flow diagram of adjusting method;
Fig. 5 shows the graph of a relation of working time according to an embodiment of the invention and operating frequency.
Detailed description of the invention
In order to be more clearly understood that the above-mentioned purpose of the present invention, feature and advantage, real with concrete below in conjunction with the accompanying drawings The present invention is further described in detail by mode of executing.It should be noted that in the case of not conflicting, the enforcement of the application Feature in example and embodiment can be mutually combined.
Elaborate a lot of detail in the following description so that fully understanding the present invention, but, the present invention also may be used Implementing to use third party to be different from third party's mode described here, therefore, protection scope of the present invention is not by following The restriction of disclosed specific embodiment.
Fig. 1 shows operating frequency and/or the adjustment of work check figure of processor according to an embodiment of the invention The schematic flow diagram of method.
As it is shown in figure 1, the operating frequency of processor according to an embodiment of the invention and/or the adjustment of work check figure Method, including: step 102, whether detection configuration file possesses the configuration parameter of specified application;Step 104, in detection To when not possessing configuration parameter, determine operating frequency and/or the work check figure of processor when specified application is run;Step 106, generate configuration parameter according to default adjustable strategies and operating frequency and/or work check figure, and configuration parameter is write Configuration file, wherein, configuration parameter is for adjusting operating frequency when specified application is run and/or work check figure.
In this technical scheme, by whether detection configuration file possesses the configuration parameter of specified application, with When can't detect configuration parameter, the operating frequency of processor and/or work check figure and pre-when running according to specified application If adjustable strategies generate configuration parameter, and configuration parameter is write in configuration file, it is achieved that specified application is run Time operating frequency and/or work check figure restriction, it is not necessary to user is manually arranged, and facilitates the operation of user, extends end The stand-by time of end, improves the experience of user.
Specifically, processor includes CPU (Central Processing Unit, central processing unit) and GPU (Graphics Processing Unit, graphic process unit), operating frequency, i.e. clock frequency, determine the operation speed of terminal Degree, and the operating frequency of processor is directly proportional to power consumption, operating frequency is the highest, and power consumption is the highest, and stand-by time is the shortest, for Prolongation stand-by time, do not affect application program properly functioning on the premise of, the process used time this application program is run Operating frequency and/or the work check figure of device carry out certain restriction, to reach the purpose of power saving.
Configuration file be software system be the set that user loads setting required for applied environment and file, by joining Put file to edit and revise, it is possible to the operating frequency of the processor used when application program is run by realization and/or work The restriction of check figure, simple to operate, it is easy to implement.
In addition, it is necessary to explanation, the configuration parameter whether possessing specified application in detection configuration file can be Perform when specified application is installed, determine that the operating frequency of processor when specified application is run and/or work check figure can To perform when specified application is run first.
In technique scheme, it is preferable that configuration parameter includes: the installation kit name of application program, application program runs Time the upper operational frequency limit of processor and/or application program work check figure upper limit of processor when running.
In this technical scheme, the work frequency of processor during by the installation kit name of application program, application program are run The work check figure upper limit write configuration file of processor when the rate upper limit and/or application program run, it is achieved that in operating frequency Limit and/or the setting of the work check figure upper limit, write simple, will not increase processor and run burden, it is easy to implement.
Specifically, configuration parameter is write configuration file, specifically can include herein below:
<PROFILE Label=" application name " Release=" Yes ">
<APPLICATION Label=" the bag name of application program "/>
<PROPERTY Label=" cpu_freq_max " Value=" 960M ">
</PROFILE>
The acquisition process of the work check figure upper limit is similar to therewith.
In any of the above-described technical scheme, it is preferable that according to default adjustable strategies and operating frequency and work check figure Generate configuration parameter, and configuration parameter is write configuration file, specifically include following steps: determine presetting of specified application Run the real time operation frequency in the time period;Determine that specified application is within the default operation time period according to real time operation frequency Average operating frequency, and average operating frequency is defined as upper operational frequency limit;Upper operational frequency limit is write with installation kit name Enter configuration file.
In this technical scheme, presetting and run the time period, in this is preset and runs the time period, records application program was run The operating frequency of the working condition of processor, i.e. processor in journey, according to the work frequency of the default processor run in the time period Rate determines that this presets the average operating frequency run in the time period, and with installation kit name etc., average operating frequency value is write configuration File, is saving while electricity, it is ensured that application program properly functioning.
It addition, for the work check figure of processor, it is also possible to the default average operation check figure run in the time period is determined For work the check figure upper limit, concrete, when average operation check figure value is non-integer, carry out four houses five according to practical situations Enter.
In any of the above-described technical scheme, it is preferable that according to default adjustable strategies and operating frequency and work check figure Generate configuration parameter, and configuration parameter is write configuration file, specifically include following steps: when determining the operation of application program Between;Determine the operating frequency that running frequency is the highest in the operation time, and operating frequency the highest for running frequency is defined as work Upper frequency limit;Upper operational frequency limit is write configuration file with installation kit name.
In this technical scheme, by certain the operation time for program, monitoring the ruuning situation of application program, Operating frequency the highest for running frequency is defined as upper operational frequency limit, and writes configuration file, and be averaged operating frequency phase Ratio, the operating frequency the highest based on running frequency is run, and makes in application program running more steady.
Work check figure for processor, it is also possible to work check figure the highest for running frequency is defined as on work check figure Limit.
Furthermore it is also possible to by application program lowest operating frequency time properly functioning is defined as upper operational frequency limit, To realize the purpose of further power saving.
In any of the above-described technical scheme, it is preferable that also comprise determining that the application type of specified application;According to Application type determines with specified application with the application program of type;Operating frequency according to specified application and/or work Make check figure and generate the configuration parameter of the application program with type.
In this technical scheme, for the application program of same type, according to operating frequency and/or the work of specified application Make check figure, generate the configuration parameter of the application program with type, and write in configuration file, it is achieved that the work to application program The batch operation that frequency and/or work check figure limit, has further facilitated the process of user, has improved the experience of user.
Alternatively, it is also possible to according to the corresponding relation of the application program prestored Yu Application Type, determine application program Type, according to type and the corresponding relation of the operating frequency of processor of the application program prestored, determines and such application program The operating frequency of corresponding processor, and it is defined as upper operational frequency limit.
It should be noted that application type can include but not limited to that audio frequency plays type, video playback type, e-book Type and social networking application type etc..
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage Medium include read only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, disk memory, magnetic tape storage or can For carrying or store any other medium computer-readable of data.
Fig. 2 shows operating frequency and/or the adjusting apparatus of work check figure of processor according to an embodiment of the invention Schematic block diagram.
As in figure 2 it is shown, according to an embodiment of the invention processor operating frequency and/or work check figure adjusting apparatus 200, including: detector unit 202, for detecting the configuration parameter whether possessing specified application in configuration file;Determine list Unit 204, for detect do not possess configuration parameter time, determine when specified application is run the operating frequency of processor with/ Or work check figure;Signal generating unit 206, for generating join according to the adjustable strategies preset and operating frequency and/or work check figure Putting parameter, and configuration parameter is write configuration file, wherein, configuration parameter is for adjusting work when specified application is run Frequency and/or work check figure.
In this technical scheme, by whether detection configuration file possesses the configuration parameter of specified application, with When can't detect configuration parameter, the operating frequency of processor and/or work check figure and pre-when running according to specified application If adjustable strategies generate configuration parameter, and configuration parameter is write in configuration file, it is achieved that specified application is run Time operating frequency and/or work check figure restriction, it is not necessary to user is manually arranged, and facilitates the operation of user, extends end The stand-by time of end, improves the experience of user.
Specifically, processor includes CPU (Central Processing Unit, central processing unit) and GPU (Graphics Processing Unit, graphic process unit), operating frequency, i.e. clock frequency, determine the operation speed of terminal Degree, and the operating frequency of processor is directly proportional to power consumption, operating frequency is the highest, and power consumption is the highest, and stand-by time is the shortest, for Prolongation stand-by time, do not affect application program properly functioning on the premise of, the process used time this application program is run Operating frequency and/or the work check figure of device carry out certain restriction, to reach the purpose of power saving.
Configuration file be software system be the set that user loads setting required for applied environment and file, by joining Put file to edit and revise, it is possible to the operating frequency of the processor used when application program is run by realization and/or work The restriction of check figure, simple to operate, it is easy to implement.
In addition, it is necessary to explanation, the configuration parameter whether possessing specified application in detection configuration file can be Perform when specified application is installed, determine that the operating frequency of processor when specified application is run and/or work check figure can To perform when specified application is run first.
In technique scheme, it is preferable that configuration parameter includes: the installation kit name of application program, application program runs Time the upper operational frequency limit of processor and/or application program work check figure upper limit of processor when running.
In this technical scheme, the work frequency of processor during by the installation kit name of application program, application program are run The work check figure upper limit write configuration file of processor when the rate upper limit and/or application program run, it is achieved that in operating frequency Limit and/or the setting of the work check figure upper limit, write simple, will not increase processor and run burden, it is easy to implement.
Specifically, configuration parameter is write configuration file, specifically can include herein below:
<PROFILE Label=" application name " Release=" Yes ">
<APPLICATION Label=" the bag name of application program "/>
<PROPERTY Label=" cpu_freq_max " Value=" 960M ">
</PROFILE>
The acquisition process of the work check figure upper limit is similar to therewith.
In any of the above-described technical scheme, it is preferable that determine that unit 204 is additionally operable to: determine the pre-of specified application If the real time operation frequency run in the time period;Determine that unit 204 is additionally operable to: determine appointment application journey according to real time operation frequency Sequence is at the default average operating frequency run in the time period, and average operating frequency is defined as upper operational frequency limit;Processor Operating frequency and/or the adjusting apparatus 200 of work check figure also include: writing unit 208, for by upper operational frequency limit and peace Dress bag name write configuration file.
In this technical scheme, presetting and run the time period, in this is preset and runs the time period, records application program was run The operating frequency of the working condition of processor, i.e. processor in journey, according to the work frequency of the default processor run in the time period Rate determines that this presets the average operating frequency run in the time period, and with installation kit name etc., average operating frequency value is write configuration File, is saving while electricity, it is ensured that application program properly functioning.
It addition, for the work check figure of processor, it is also possible to the default average operation check figure run in the time period is determined For work the check figure upper limit, concrete, when average operation check figure value is non-integer, carry out four houses five according to practical situations Enter.
In any of the above-described technical scheme, it is preferable that determine that unit 204 is additionally operable to: when determining the operation of application program Between;Determine that unit 204 is additionally operable to: determine the operating frequency that running frequency is the highest in the operation time, and running frequency is the highest Operating frequency is defined as upper operational frequency limit;Writing unit 208 is additionally operable to: by upper operational frequency limit and the write configuration of installation kit name File.
In this technical scheme, by certain the operation time for program, monitoring the ruuning situation of application program, Operating frequency the highest for running frequency is defined as upper operational frequency limit, and writes configuration file, and be averaged operating frequency phase Ratio, the operating frequency the highest based on running frequency is run, and makes in application program running more steady.
Work check figure for processor, it is also possible to work check figure the highest for running frequency is defined as on work check figure Limit.
Furthermore it is also possible to by application program lowest operating frequency time properly functioning is defined as upper operational frequency limit, To realize the purpose of further power saving.
In any of the above-described technical scheme, it is preferable that determine that unit 204 is additionally operable to: determine answering of specified application Use type;Determine that unit 204 is additionally operable to: determine with specified application with the application program of type according to application type;Generate Unit 206 is additionally operable to: operating frequency and/or work check figure according to specified application generate joining of the application program with type Put parameter.
In this technical scheme, for the application program of same type, according to operating frequency and/or the work of specified application Make check figure, generate the configuration parameter of the application program with type, and write in configuration file, it is achieved that the work to application program The batch operation that frequency and/or work check figure limit, has further facilitated the process of user, has improved the experience of user.
Alternatively, it is also possible to according to the corresponding relation of the application program prestored Yu Application Type, determine application program Type, according to type and the corresponding relation of the operating frequency of processor of the application program prestored, determines and such application program The operating frequency of corresponding processor, and it is defined as upper operational frequency limit.
It should be noted that application type can include but not limited to that audio frequency plays type, video playback type, e-book Type and social networking application type etc..
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
Fig. 3 shows the schematic block diagram of terminal according to an embodiment of the invention.
As it is shown on figure 3, terminal 300 according to an embodiment of the invention, including the described place of any of the above-described technical scheme The operating frequency of reason device and/or the adjusting apparatus 200 of work check figure, therefore, this terminal includes any of the above-described technical scheme institute The operating frequency of the processor stated and/or the technique effect of the adjusting apparatus 200 of work check figure, do not repeat them here.
Fig. 4 shows operating frequency and/or the tune of work check figure of processor according to another embodiment of the invention The schematic flow diagram of adjusting method.
Step 402, installs third-party application;
Step 404, it is judged that whether third-party application is in configuration file, when judged result is "Yes", enters step 410, when judged result is "No", enter step 406;
Step 406, runs third-party application first, obtains operating frequency and the work check figure of CPU, GPU;
Step 408, by application name, the restriction parameter read-in configuration file of CUP and GUP;
Step 410, runs this third-party application.
In this technical scheme, when first third-party application being installed, check that whether this application is at limit frequency limit core configuration file List in, if not existing, then when using application first, the operating frequency of monitoring CPU, GPU and work check figure, and according to one Determine policy calculation and obtain the restriction parameter of CPU, GPU, i.e. upper operational frequency limit and the work check figure upper limit, it is achieved that to specifying application Operating frequency when program is run and/or the restriction of work check figure, it is not necessary to user is manually arranged, and facilitates the operation of user, Extend the stand-by time of terminal, improve the experience of user.
Fig. 5 shows the graph of a relation of working time according to an embodiment of the invention and operating frequency.
As it is shown in figure 5, during specified application runs 70s, in the range of 900MHz to 1150MHz, monitor CPU Operating frequency, by detection find the CPU most of the time operate in 1000MHz, the only small part time operates in 1100MHz, is therefore defined as the frequent upper limit of work by 1000MHz, and i.e. during the operation of this application program, the operating frequency of CUP does not surpasses Crossing 1000MHz, the operation making application program while power saving is more steady.
Technical scheme is described in detail, it is contemplated that how should third party in correlation technique above in association with accompanying drawing Being automatically obtained limit frequency and/or the technical problem of limit core of processor by program when running, the present invention proposes a kind of new adjustment Scheme, by whether detection configuration file possesses the configuration parameter of specified application, with when can't detect configuration parameter, When running according to specified application processor operating frequency and/or work check figure and default adjustable strategies generate configuration Parameter, and configuration parameter is write in configuration file, it is achieved that operating frequency when specified application is run and/or work The restriction of check figure, it is not necessary to user is manually arranged, facilitates the operation of user, extends the stand-by time of terminal, improves use The experience at family.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, that is made any repaiies Change, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (11)

1. a processor operating frequency and/or work check figure method of adjustment, it is characterised in that including:
Whether detection configuration file possesses the configuration parameter of specified application;
Detect do not possess described configuration parameter time, determine the operating frequency of processor when described specified application is run And/or work check figure;
Described configuration parameter is generated according to default adjustable strategies and described operating frequency and/or work check figure, and by described Configuration parameter writes described configuration file,
Wherein, described configuration parameter is for adjusting operating frequency when described specified application is run and/or work check figure.
The operating frequency of processor the most according to claim 1 and/or the method for adjustment of work check figure, it is characterised in that Described configuration parameter includes:
The installation kit name of described application program, the upper operational frequency limit of described processor and/or institute when described application program runs State the work check figure upper limit of described processor when application program runs.
The operating frequency of processor the most according to claim 2 and/or the method for adjustment of work check figure, it is characterised in that The adjustable strategies that described basis is preset and described operating frequency and work check figure generate described configuration parameter, and by described configuration ginseng Number write configuration files, specifically include following steps:
Real time operation frequency in the default operation time period determining described specified application;
Determine that described specified application is at the described default average operation run in the time period according to described real time operation frequency Frequency, and described average operating frequency is defined as described upper operational frequency limit;
Described upper operational frequency limit is write described configuration file with described installation kit name.
The operating frequency of processor the most according to claim 2 and/or the method for adjustment of work check figure, it is characterised in that The adjustable strategies that described basis is preset and described operating frequency and work check figure generate described configuration parameter, and by described configuration ginseng Number write configuration files, specifically include following steps:
Determine the operation time of described application program;
Determine the operating frequency that running frequency is the highest in the described operation time, and by true for operating frequency the highest for described running frequency It is set to described upper operational frequency limit;
Described upper operational frequency limit is write described configuration file with described installation kit name.
The operating frequency of processor the most according to any one of claim 1 to 4 and/or the method for adjustment of work check figure, It is characterized in that, also include:
Determine the application type of described specified application;
Determine with described specified application with the application program of type according to described application type;
Operating frequency according to described specified application and/or the configuration of the application program of the work check figure described same type of generation Parameter.
6. a processor operating frequency and/or work check figure adjusting apparatus, it is characterised in that including:
Detector unit, for detecting the configuration parameter whether possessing specified application in configuration file;
Determine unit, for detect do not possess described configuration parameter time, determine when described specified application is run process The operating frequency of device and/or work check figure;
Signal generating unit, for generating described configuration according to the adjustable strategies preset and described operating frequency and/or work check figure Parameter, and described configuration parameter is write described configuration file,
Wherein, described configuration parameter is for adjusting operating frequency when described specified application is run and/or work check figure.
The operating frequency of processor the most according to claim 6 and/or the adjusting apparatus of work check figure, it is characterised in that Described configuration parameter includes:
The installation kit name of described application program, the upper operational frequency limit of described processor and/or institute when described application program runs State the work check figure upper limit of described processor when application program runs.
The operating frequency of processor the most according to claim 7 and/or the adjusting apparatus of work check figure, it is characterised in that
Described determine that unit is additionally operable to: the real time operation frequency in the default operation time period determining described specified application;
Described determine that unit is additionally operable to: determine that described specified application is in described default operation according to described real time operation frequency Average operating frequency in time period, and described average operating frequency is defined as described upper operational frequency limit;
The operating frequency of described processor and/or the adjusting apparatus of work check figure also include:
Writing unit, for writing described configuration file by described upper operational frequency limit with described installation kit name.
The operating frequency of processor the most according to claim 7 and/or the adjusting apparatus of work check figure, it is characterised in that
Described determine that unit is additionally operable to: determine the operation time of described application program;
Described determine that unit is additionally operable to: determine the operating frequency that running frequency is the highest in the described operation time, and by described operation The operating frequency that frequency is the highest is defined as described upper operational frequency limit;
Said write unit is additionally operable to: with described installation kit name, described upper operational frequency limit is write described configuration file.
10. according to operating frequency and/or the adjusting apparatus of work check figure of the processor according to any one of claim 6 to 9, It is characterized in that,
Described determine that unit is additionally operable to: determine the application type of described specified application;
Described determine that unit is additionally operable to: determine with described specified application with the application journey of type according to described application type Sequence;
Described signal generating unit is additionally operable to: operating frequency and/or work check figure according to described specified application generate described same The configuration parameter of the application program of type.
11. 1 kinds of terminals, it is characterised in that including: the operating frequency of the processor as according to any one of claim 6 to 10 And/or the adjusting apparatus of work check figure.
CN201610614688.1A 2016-07-29 2016-07-29 Processor working frequency and/or the work method of adjustment of check figure, device and terminal Pending CN106249844A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610614688.1A CN106249844A (en) 2016-07-29 2016-07-29 Processor working frequency and/or the work method of adjustment of check figure, device and terminal
PCT/CN2016/107949 WO2018018820A1 (en) 2016-07-29 2016-11-30 Method, device and terminal for adjusting processor operation frequency and/or operation core number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610614688.1A CN106249844A (en) 2016-07-29 2016-07-29 Processor working frequency and/or the work method of adjustment of check figure, device and terminal

Publications (1)

Publication Number Publication Date
CN106249844A true CN106249844A (en) 2016-12-21

Family

ID=57606010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610614688.1A Pending CN106249844A (en) 2016-07-29 2016-07-29 Processor working frequency and/or the work method of adjustment of check figure, device and terminal

Country Status (2)

Country Link
CN (1) CN106249844A (en)
WO (1) WO2018018820A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102707A (en) * 2017-04-19 2017-08-29 青岛海信移动通信技术股份有限公司 Temprature control method and mobile terminal
CN107391254A (en) * 2017-06-14 2017-11-24 深圳天珑无线科技有限公司 Intelligent terminal and its resource allocation method, computer-readable recording medium
WO2018191847A1 (en) * 2017-04-17 2018-10-25 深圳市柔宇科技有限公司 Head-mountable display device and method for power conditioning sensor thereof
CN109889896A (en) * 2019-03-27 2019-06-14 努比亚技术有限公司 Method, mobile terminal and the storage medium of dynamic regulation CPU running frequency

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11036209B2 (en) * 2019-09-24 2021-06-15 Rockwell Automation Technologies, Inc. Peer-level control of industrial automation system components

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104690A (en) * 2009-12-22 2011-06-22 康佳集团股份有限公司 Method and device for saving electric energy as well as mobile terminal
CN104794005A (en) * 2015-03-23 2015-07-22 北京畅游天下网络技术有限公司 Method and device for optimizing CPU running frequencies

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102810066A (en) * 2011-06-03 2012-12-05 北京千橡网景科技发展有限公司 Terminal adapting method and terminal and server based on terminal characteristic configuration program
CN104424031B (en) * 2013-08-23 2021-01-26 中兴通讯股份有限公司 Method and device for controlling working frequency of processor
CN105302270A (en) * 2014-06-27 2016-02-03 宇龙计算机通信科技(深圳)有限公司 Terminal endurance optimization method and apparatus and terminal
CN105334939B (en) * 2014-06-30 2019-03-01 北京安兔兔科技有限公司 Terminal power consumption control method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104690A (en) * 2009-12-22 2011-06-22 康佳集团股份有限公司 Method and device for saving electric energy as well as mobile terminal
CN104794005A (en) * 2015-03-23 2015-07-22 北京畅游天下网络技术有限公司 Method and device for optimizing CPU running frequencies

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018191847A1 (en) * 2017-04-17 2018-10-25 深圳市柔宇科技有限公司 Head-mountable display device and method for power conditioning sensor thereof
CN107102707A (en) * 2017-04-19 2017-08-29 青岛海信移动通信技术股份有限公司 Temprature control method and mobile terminal
CN107102707B (en) * 2017-04-19 2020-09-29 青岛海信移动通信技术股份有限公司 Temperature control method and mobile terminal
CN107391254A (en) * 2017-06-14 2017-11-24 深圳天珑无线科技有限公司 Intelligent terminal and its resource allocation method, computer-readable recording medium
CN109889896A (en) * 2019-03-27 2019-06-14 努比亚技术有限公司 Method, mobile terminal and the storage medium of dynamic regulation CPU running frequency

Also Published As

Publication number Publication date
WO2018018820A1 (en) 2018-02-01

Similar Documents

Publication Publication Date Title
CN106249844A (en) Processor working frequency and/or the work method of adjustment of check figure, device and terminal
US10002006B2 (en) System and method for configuring plural software profiles
KR20090012215A (en) Brownout detector system and method
US7382655B2 (en) Access time adjusting circuit and method for non-volatile memory
US9116193B2 (en) Electronic device and method for detecting current leakage of electronic components in the electronic device
US8238710B2 (en) Reproduction control of reproduction apparatus base on remaining power of battery
US10383372B2 (en) Controlling method for electronic cigarette with multiple output modes and electronic cigarette
CN105335068A (en) Application deleting method and terminal equipment
CN103941871A (en) Method and equipment for controlling hardware operating state of intelligent terminal
CN110457907A (en) A kind of firmware program detecting method and device
WO2017049893A1 (en) Application program testing method, testing apparatus, and mobile terminal
WO2018036238A1 (en) Control circuit, method, and computer storage medium
CN106357887A (en) Icon view method, equipment and mobile terminal
CN109639238A (en) A kind of method, apparatus, equipment and the storage medium of no source crystal oscillator driving regulation
US20050060659A1 (en) System, method and software for communicating the effects of user preference settings in an information handling system
KR20140097611A (en) Adaptive thermal throttling with user configuration capability
KR20070070253A (en) A method and device for controlling a noise producing component
CN107450854A (en) The determination method and system of maximum thread under a kind of expected rate
US20170329287A1 (en) System and program
US10365698B2 (en) Temperature based frequency throttling
CN104077210B (en) The localization method and system of a kind of client collapse
CN109787682B (en) Automatic debugging method and device for optical module and computer readable medium
CN111045885A (en) Database log file processing method and device and computer equipment
US20050066206A1 (en) Storage device configuration
WO2018157785A1 (en) Apparatus and method for reducing energy consumption of hardware based on application state

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161221

RJ01 Rejection of invention patent application after publication