CN105468466A - Processor operating frequency processing method, apparatus and system - Google Patents

Processor operating frequency processing method, apparatus and system Download PDF

Info

Publication number
CN105468466A
CN105468466A CN201410466162.4A CN201410466162A CN105468466A CN 105468466 A CN105468466 A CN 105468466A CN 201410466162 A CN201410466162 A CN 201410466162A CN 105468466 A CN105468466 A CN 105468466A
Authority
CN
China
Prior art keywords
terminal
application program
identification information
frequency
current operation
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
Application number
CN201410466162.4A
Other languages
Chinese (zh)
Other versions
CN105468466B (en
Inventor
吴景
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410466162.4A priority Critical patent/CN105468466B/en
Publication of CN105468466A publication Critical patent/CN105468466A/en
Application granted granted Critical
Publication of CN105468466B publication Critical patent/CN105468466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The present invention discloses a processor operating frequency processing method, apparatus and system. The method comprises: detecting whether running applications displayed on a terminal screen exist on a terminal; if the running applications displayed on the terminal screen exist on the terminal, acquiring first identification information used for identifying the currently running applications on the terminal and second identification information used for identifying a type of the terminal, wherein the currently running applications comprise an application running on the background of the terminal and an application running on the foreground of the terminal; acquiring attribute information matched with the first identification information and the second identification information, wherein the attribute information is used for indicating a target operating frequency of a processor of the terminal; and modifying a present operating frequency of the processor into the target operating frequency. According to the processor operating frequency processing method, apparatus and system disclosed by the present invention, a problem of high power consumption of a smart terminal in the prior art is solved and an effect of reducing power consumption when guaranteeing a processing speed of the terminal is achieved.

Description

The disposal route of processor running frequency, device and system
Technical field
The present invention relates to processor control field, in particular to a kind of disposal route of processor running frequency, device and system.
Background technology
In prior art, in mobile terminal, intelligent terminal account for very large share, but on intelligent terminal, have a lot of Resident Process to rest in internal memory, as mobile phone, and the input method, alarm clock, mobile phone safe software etc. of smart mobile phone.Except the process that these reside permanently, smart mobile phone is in order to meet the visual demand of user to amusement, video and interaction, by can giant-screen be designed, and, no matter tackle in the prior art and all can adopt identical mobile phone running frequency in which type of application and portable telephone mode of operation, intelligent terminal power consumption will be caused so very large.
In order to tackle a large amount of power consumption, in prior art, be proposed portable power source, but mobile terminal there is a very large feature to be portable, always carrying portable power source when using mobile terminal, very inconvenient; Also proposed a conception of species in prior art is exactly the capacity increasing battery of mobile phone, but jumbo battery can increase the heavy burden of mobile phone, and in addition, jumbo battery has the danger of blast, and security is very poor.
For the problem that above-mentioned intelligent terminal power consumption is large, at present effective solution is not yet proposed.
Summary of the invention
Embodiments provide a kind of disposal route of processor running frequency, device and system, at least to solve the large problem of intelligent terminal power consumption.
According to an aspect of the embodiment of the present invention, provide a kind of disposal route of processor running frequency, the method comprises: the application program whether sense terminals existing display operation on a terminal screen; If terminal exists the application program of display operation on a terminal screen, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, wherein, the application program of current operation comprises the application program of the application program at the running background of terminal and the front stage operation in terminal; Obtain the attribute information with the first identification information and the second identification information match, wherein, attribute information is used to indicate the target operating frequency of the processor of terminal; The current operation frequency of processor is revised as target operating frequency.
According to the another aspect of the embodiment of the present invention, additionally provide a kind for the treatment of apparatus of processor running frequency, this device comprises: detection module, whether there is the application program of display operation on a terminal screen in sense terminals; First acquisition module, if there is the application program of display operation on a terminal screen in terminal, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, wherein, the application program of current operation comprises the application program of the application program at the running background of terminal and the front stage operation in terminal; Second acquisition module, for obtaining the attribute information with the first identification information and the second identification information match, wherein, attribute information is used to indicate the target operating frequency of the processor of terminal; Modified module, for being revised as target operating frequency by the current operation frequency of processor.
According to an aspect of the embodiment of the present invention, provide a kind of disposal system of processor running frequency, this system comprises: terminal, the application program of current operation whether is there is in sense terminals, if terminal exists the application program of current operation, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, and the first identification information and the second identification information are sent to service end; Service end, be connected with terminal, for after receiving the first identification information and the second identification information, obtain the attribute information with the first identification information and the second identification information match, wherein, attribute information is used to indicate the target operating frequency of the processor of terminal, and attribute information is sent to terminal; Terminal is also for being revised as target operating frequency by the current operation frequency of processor, and wherein, the application program of current operation comprises the application program of the application program at the running background of terminal and the front stage operation in terminal.
Adopt the embodiment of the present invention, terminal exists the application program of display operation on a terminal screen, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, then obtain the target operating frequency of the first identification information and the second identification information match, and the running frequency of the processor of terminal is revised as target operating frequency.Pass through above-described embodiment, can under terminal be in different application states, obtain different target operating frequency, and the running frequency of the processor of terminal is adjusted according to target operating frequency, thus different CPU running frequencies is used for different application scenarioss, can not need to use lower CPU running frequency in very high-frequency application scenarios at some, the power consumption in terminal operating can be reduced while the processing speed ensureing terminal, solve the problem that in prior art, intelligent terminal power consumption is large, achieve while the processing speed ensureing terminal, reduce the effect of power consumption.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the environment schematic of the disposal route of processor running frequency according to the embodiment of the present invention;
Fig. 2 is the process flow diagram of the disposal route of processor running frequency according to the embodiment of the present invention;
Fig. 3 is the process flow diagram of the disposal route of a kind of optional processor running frequency according to the embodiment of the present invention;
Fig. 4 is the schematic diagram of the treating apparatus of processor running frequency according to the embodiment of the present invention; And
Fig. 5 is the structured flowchart of a kind of terminal according to the embodiment of the present invention.
Embodiment
First, the part noun occurred in the process be described the embodiment of the present invention or term are applicable to description below:
Android: be a kind ofly mainly used in mobile device based on the freedom of Linux and the operating system of open source code, as smart mobile phone and panel computer, is led and exploitation by Google company and open mobile phone alliance.
ROM: cell phone system firmware, firmware refers to the software of solidification, and English is firmware, and it is the flashROM certain system program is written in specific hardware system.Mobile phone firmware is equivalent to the system of mobile phone, refreshes firmware and is just equivalent to brush system.The firmware that different mobile phones is corresponding different, fully should understand advantage shortcoming and the compatibility of current firmware and institute's brush firmware, and carry out sufficient preparation before brush firmware.All kinds of mobile device, as Andorid mobile phone, WindowsMobile mobile phone, the ios of iPhone, BlackBerry has oneself system firmware, and user, can the firmware of self-changeable or define equipment after unlocking mobile phone, so there has been the saying of " brush machine "." brush machine " is write new ROM to equipment, namely new firmware in fact.ROM in the configuration of ROM (bag) smart mobile phone refers to the hard disk that EEProm (electricity erasing can write ROM (read-only memory)) is similar to computing machine, can deposit how many things and just see his capacity in mobile phone.The end, wraps+upgrades bag and is referred to as a ROM bag.Generally be divided into two large classes, a kind of is the master ROM coming from mobile-phone manufacturers official, and feature is stable, functionally has nothing in common with each other with manufacturer's customization; Another kind is the primary ROM that the exploitation fan source code that utilizes official to issue independently compiles, and feature adjusts according to user's real needs, makes ROM more meet the use habit of different regions user.
Cpu frequency: cpu frequency is exactly the clock frequency of CPU, the abbreviation of the frequency (the synchronizing pulse number occurred in 1 second) of work when being briefly CPU computing.Unit is Hz.It determines the travelling speed of computing machine, and along with the development of computing machine, dominant frequency has developed into current GHZ (1GHZ=10^3MHZ=10^6KHZ=10^9HZ) by past MHZ.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiment 1
According to the embodiment of the present invention, provide a kind of embodiment of disposal route of processor running frequency, it should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the process flow diagram of accompanying drawing, and, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
Alternatively, in the present embodiment, during the disposal route of above-mentioned processor running frequency can be applied in the hardware environment that terminal 101 as shown in Figure 1 forms or is applied to system that terminal 101 and server 102 form.Above-mentioned terminal 101 can be connected by network and server 102.
Above-mentioned network includes but not limited to: wide area network, Metropolitan Area Network (MAN) or LAN (Local Area Network).In embodiments of the present invention, above-mentioned terminal can be in mobile terminal, PC, and particularly, terminal can be smart mobile phone, panel computer, PDA etc.
According to the embodiment of the present invention, provide a kind of disposal route of processor running frequency, as shown in Figure 2, the method comprises the steps:
Step S202: the application program whether sense terminals existing display operation on a terminal screen.
Step S204: if terminal exists the application program of display operation on a terminal screen, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, wherein, the application program of current operation comprises the application program of the application program at the running background of terminal and the front stage operation in terminal.
Step S206: obtain the attribute information with the first identification information and the second identification information match, wherein, attribute information is used to indicate the target operating frequency of the processor of terminal.
Step S208: the current operation frequency of processor is revised as target operating frequency.
Adopt the embodiment of the present invention, terminal exists the application program of display operation on a terminal screen, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, then obtain the target operating frequency of the first identification information and the second identification information match, and the running frequency of the processor of terminal is revised as target operating frequency.Pass through above-described embodiment, can under terminal be in different application states, obtain different target operating frequency, and the running frequency of the processor of terminal is adjusted according to target operating frequency, thus different CPU running frequencies is used for different application scenarioss, can not need to use lower CPU running frequency in very high-frequency application scenarios at some, the power consumption in terminal operating can be reduced while the processing speed ensureing terminal, solve the problem that in prior art, intelligent terminal power consumption is large, achieve while the processing speed ensureing terminal, reduce the effect of power consumption.
State on the invention in embodiment, second identification information determination target operating frequency of the first identification information by the application program of operation current on marking terminal and the model for marking terminal, the target operating frequency obtained can be made to have better adaptability to terminal, thus can the processing speed of terminal be ensured well and save electricity.
Disposal route in the above-mentioned enforcement of the present invention can be applied in terminal, can also be applied in the environment of terminal and service end.
Step S208 embodiment illustrated in fig. 2 can realize by the following method: configuration file target operating frequency being write the running frequency of the processor of terminal.
Particularly, the frequency of operation (running frequency namely in above-described embodiment) of CPU is revised by corresponding configuration file under the system/sys/devices/system/cpu/cpu0/cpufreq/ path of amendment terminal." cpuinfo_min_freq file is minimum cpu frequency; " cpuinfo_max_freq " file is maximum cpu frequency; " " file is the current operation frequency of the CPU of cpufreq module (i.e. cpu frequency module) buffer memory to scaling_cur_freq, and " cpuinfo_cur_freq " file is current cpu frequency.In the above-described embodiments, target operating frequency can be write " cpuinfo_cur_freq ", revise cpu frequency.
In the above embodiment of the present invention, after whether sense terminals exists the application program of display operation on a terminal screen, disposal route can also comprise the steps:
Step S210: if terminal does not exist the application program of display operation on a terminal screen, then the preset operating frequency that the processor of reading terminals is corresponding, using preset operating frequency as target operating frequency.
The application program whether above-mentioned sense terminals existing current operation is and judges whether this terminal is in holding state.Also namely, judge whether terminal is in holding state, if this terminal is in holding state, then directly read the standby running frequency (preset operating frequency namely in above-described embodiment) of the processor of this terminal; If this terminal is not in holding state, then read the first identification information and the second identification information.
Wherein, the first identification information can be title or the mark of the application program of current operation.As, the application program of current operation is QQ, then the first identification information got can be: QQ.
Be applied in for above-mentioned disposal route in the environment of terminal and service end below, introduce the present invention in detail, as shown in Figure 3, this embodiment can realize as follows.
Step S302: the current application scenarios of terminal to report user is to service end.
In this step, whether sense terminals can there is the application program of display operation on a terminal screen in terminal; If terminal does not exist the application program of display operation on a terminal screen, then determine that the current use scenes of user is standby scene; If terminal exists the application program of display operation on a terminal screen, then obtain the first identification information of the application program of current operation on marking terminal, from tables of data, then read application scenarios corresponding to this first identification information.
In this embodiment, the second identification information being used for the model of marking terminal is reported to service end together with the first identification information.
Wherein, the application program of current operation can be included in the application program of the application program of the running background of terminal and the front stage operation in terminal.The application program of current operation can be multiple, then can obtain one or more application scenarios.
Such as, the first identification information is QQ or micro-letter, then the application scenarios got is instant messaging scene; If the first identification information is QQ and micro-letter, then the application scenarios read from tables of data also can be instant messaging scene; If the first identification information is fighting landlord and QQ, then the application scenarios read from tables of data can be scene of game and instant messaging scene.
Step S304: service end issues the cpu frequency mated with current application scenarios.
From the cpu frequency (target operating frequency namely above-described embodiment) of the suitable power saving that the application scenarios that server side searches is above-mentioned mates, this cpu frequency can draw through a large amount of test, such as: family ideal case, issues minimum cpu frequency; When user plays games, issue maximum cpu frequency.
Step S306: terminal adjusts the running frequency of processor after receiving the cpu frequency that service end issues.
Particularly, the frequency of operation (running frequency namely in above-described embodiment) of CPU is revised by corresponding configuration file under the system/sys/devices/system/cpu/cpu0/cpufreq/ path of amendment terminal.
Such as, the standby scene of user, ROM reports backstage, and user is in standby scene, and it is under the standby scene of user that backstage stores data, and suitable cpu frequency is 200MHZ, and backstage just issues after 200MHZ receives to ROM, ROM, and system current C PU is adjusted to 200MHZ.
Pass through the embodiment of the present invention, use scenes current for user is reported background server by ROM, service end judges the use scenes (namely above-mentioned application scenarios) that user is current, suitable cpu frequency is issued to the ROM of terminal by service end, the cpu frequency adjustment CPU frequency of operation that ROM issues according to service end, arrives the object of intelligent power saving.
In the above embodiment of the present invention, obtain and can comprise with the attribute information of the first identification information and the second identification information match: in sense terminals, whether the quantity of the application program of current operation is one; When the quantity of the application program of current operation is one, read the program running frequency matched with the first identification information and the second identification information, using program running frequency as target operating frequency; When the quantity of the application program of current operation is not one, read the program running frequency with the first identification information and the second identification information match respectively, using program running frequency maximum in multiple program running frequencies of obtaining as target operating frequency.
When the application program of above-mentioned current operation is one, then can determine an application scenarios, as scene of game, instant messaging scene, scene etc. of taking pictures; If when the application program of above-mentioned current operation is multiple, then one or more application scenarios can be determined.
Such as, the first identification information is QQ or micro-letter, then the application scenarios got is instant messaging scene; If the first identification information is QQ and micro-letter, then the application scenarios read from tables of data also can be instant messaging scene; If the first identification information is fighting landlord and QQ, then the application scenarios read from tables of data can be scene of game and instant messaging scene.
When the application program of a current operation, can obtain the application program of current operation with this and the program running frequency of the second identification information match, be target operating frequency by this program running frequency; If the application program of current operation is multiple, then obtain and the application program of each current operation and the program running frequency of the second identification information match respectively, using that frequency maximum in multiple program running frequencies of getting as target operating frequency.
Such as, the application program of current operation is QQ, then the application scenarios determined is instant messaging scene, and the target operating frequency of coupling can be 350MHZ; The application program of current operation is QQ and camera, then the application scenarios determined is instant messaging scene and takes pictures scene, and the program running frequency of coupling is respectively 350MHZ and 800MHZ, then using 800MHZ as target operating frequency.
According to the abovementioned embodiments of the present invention, read and can comprise with the program running frequency of the first identification information and the second identification information match: read the running frequency set matched with the first identification information and the predeterminated frequency scope matched with the second identification information, wherein, running frequency set comprises one or more predeterminated frequency value; Extract from running frequency set and meet the predeterminated frequency value of predeterminated frequency scope, using predeterminated frequency value minimum in the predeterminated frequency value extracted as program running frequency.
Particularly, before reading the running frequency set matched with the first identification information, disposal route can also comprise: read the predeterminated frequency scope with the second identification information match; Multiple test frequency is extracted from predeterminated frequency scope; Obtain the process that takies number when each application program that terminal is installed operates in each test frequency and power consumption; Be weighted obtain weighting parameters to taking process number and power consumption; Based on the test frequency generating run frequency sets that the weighting parameters of the top n that sorts in the multiple weighting parameters calculated is corresponding, wherein, N>0, N are natural number.
The embodiment of the present invention is introduced in detail below in conjunction with table 1.As shown in table 1, each application program can a corresponding application scenarios, the corresponding one or more program running frequency (being a program running frequency in table 1) of each application scenarios.
Table 1
As shown in table 1, under each user's scene that service end stores, (these data can draw through a large amount of test the CPU frequency of operation of suitable power saving, because the CPU model of each mobile phone is inconsistent, these data may and be not suitable for all mobile phones), particularly
1) the standby scene of user, ROM reports backstage, and user is in standby scene, it is under the standby scene of user that backstage stores data, and suitable cpu frequency is 200MHZ, and backstage just issues 200MHZ to ROM, after ROM receives, system current C PU is adjusted to 200MHZ.
2) user's scene of playing games, ROM reports backstage, and user is in the scene of playing games, it is under user's scene of game that backstage stores data, and suitable cpu frequency is 1600MHZ, and backstage just issues 1600MHZ to ROM, after ROM receives, system current C PU is adjusted to 1600MHZ.
3) user's scene of taking pictures, ROM reports backstage, and user is in the scene of taking pictures, storage data in backstage are taken pictures for user under scene, and suitable cpu frequency is 800MHZ, and backstage just issues 800MHZ to ROM, after ROM receives, system current C PU is adjusted to 800MHZ
In an optional embodiment of the present invention, the application program whether sense terminals existing current operation can comprise: the operation information for application program obtaining terminal, wherein, operation information can comprise application program that startup terminal is installed and/or close the application program that a terminal is installed; After receiving operation information, whether sense terminals exists the application program of current operation.
Particularly, can the operation information for application program of real-time monitoring terminal, the application program of a terminal being installed as started and/or close the application program that a terminal is installed, can know that the application program of current operation in terminal there occurs change (or increase or reduce or change) by this operation information, can need according to terminal the disposal route starting adjust operation frequency by these operation informations.
In another optional embodiment of the present invention, the application program whether sense terminals existing current operation can comprise: the regulation time section obtaining the processor running frequency of the adjustment terminal pre-set; In regulation time section, generate a trigger pip every Preset Time; After receiving trigger pip, whether sense terminals exists the application program of current operation.
User can arrange regulation time section by terminal, and as working time 8:00-12:00 does not adjust the running frequency of CPU, non-working time 18:00-22:00 starts the disposal route of adjustment CPU running frequency.Adjusting the running frequency of CPU of time segment, can save electric energy further.
Further, a trigger pip can be generated in regulation time section every Preset Time (as 1 minute); Also can obtain operation information in regulation time section, generate trigger pip by operation information, whether sense terminals exists the application program of current operation.
By above-described embodiment, can user need in start treatment method, save electric energy further.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that can add required general hardware platform by software according to the method for above-described embodiment and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, or the network equipment etc.) perform the method for each embodiment of the present invention.
Embodiment 2
According to the embodiment of the present invention, additionally provide a kind for the treatment of apparatus for implementing above-mentioned processor running frequency, as shown in Figure 4, this device can comprise: detection module 10, first acquisition module 30, second acquisition module 50 and modified module 70.
Wherein, whether detection module 10 exists the application program of display operation on a terminal screen in sense terminals; If there is the application program of display operation on a terminal screen in the first acquisition module 30 in terminal, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, wherein, the application program of current operation comprises the application program of the application program at the running background of terminal and the front stage operation in terminal; Second acquisition module 50 is for obtaining the attribute information with the first identification information and the second identification information match, wherein, the modified module 70 of the processor of terminal for the modified module by processor, for the current operation frequency of processor is revised as target operating frequency.
Adopt the embodiment of the present invention, terminal exists the application program of display operation on a terminal screen, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, then obtain the target operating frequency of the first identification information and the second identification information match, and the running frequency of the processor of terminal is revised as target operating frequency.Pass through above-described embodiment, can under terminal be in different application states, obtain different target operating frequency, and the running frequency of the processor of terminal is adjusted according to target operating frequency, thus different CPU running frequencies is used for different application scenarioss, can not need to use lower CPU running frequency in very high-frequency application scenarios at some, the power consumption in terminal operating can be reduced while the processing speed ensureing terminal, solve the problem that in prior art, intelligent terminal power consumption is large, achieve while the processing speed ensureing terminal, reduce the effect of power consumption.
State on the invention in embodiment, second identification information determination target operating frequency of the first identification information by the application program of operation current on marking terminal and the model for marking terminal, the target operating frequency obtained can be made to have better adaptability to terminal, thus can the processing speed of terminal be ensured well and save electricity.
Treating apparatus in the above-mentioned enforcement of the present invention can be applied in terminal, can also be applied in the environment of terminal and service end.
Above-mentioned modified module can realize by the following method: configuration file target operating frequency being write the running frequency of the processor of terminal.
Particularly, the frequency of operation (running frequency namely in above-described embodiment) of CPU is revised by corresponding configuration file under the system/sys/devices/system/cpu/cpu0/cpufreq/ path of amendment terminal." cpuinfo_min_freq file is minimum cpu frequency; " cpuinfo_max_freq " file is maximum cpu frequency; " " file is the current operation frequency of the CPU of cpufreq module (i.e. cpu frequency module) buffer memory to scaling_cur_freq, and " cpuinfo_cur_freq " file is current cpu frequency.In the above-described embodiments, target operating frequency can be write " cpuinfo_cur_freq ", revise cpu frequency.
In the above embodiment of the present invention, treating apparatus can also comprise: the first read module, after the application program that whether there is display operation on a terminal screen in sense terminals, if terminal does not exist the application program of display operation on a terminal screen, then the preset operating frequency that the processor of reading terminals is corresponding; First determination module, for by target operating frequency.Target operating frequency.
The application program whether above-mentioned sense terminals existing current operation is and judges whether this terminal is in holding state.Also namely, judge whether terminal is in holding state, if this terminal is in holding state, then directly read the standby running frequency (preset operating frequency namely in above-described embodiment) of the processor of this terminal; If this terminal is not in holding state, then read the first identification information and the second identification information.
Wherein, the first identification information can be title or the mark of the application program of current operation.As, the application program of current operation is QQ, then the first identification information got can be: QQ.
In the above-described embodiments, whether sense terminals can there is the application program of display operation on a terminal screen in terminal; If terminal does not exist the application program of display operation on a terminal screen, then determine that the current use scenes of user is standby scene; If terminal exists the application program of display operation on a terminal screen, then obtain the first identification information of the application program of current operation on marking terminal, from tables of data, then read application scenarios corresponding to this first identification information.
In this embodiment, the second identification information being used for the model of marking terminal is reported to service end together with the first identification information.
Wherein, the application program of current operation can be included in the application program of the application program of the running background of terminal and the front stage operation in terminal.The application program of current operation can be multiple, then can obtain one or more application scenarios.
Such as, the first identification information is QQ or micro-letter, then the application scenarios got is instant messaging scene; If the first identification information is QQ and micro-letter, then the application scenarios read from tables of data also can be instant messaging scene; If the first identification information is fighting landlord and QQ, then the application scenarios read from tables of data can be scene of game and instant messaging scene.
After receiving the first identification information and the second identification information, service end determines the application scenarios that user is current, and issue the cpu frequency mated with current application scenarios, then terminal adjusts the running frequency of processor after receiving the cpu frequency that service end issues.
Particularly, the frequency of operation (running frequency namely in above-described embodiment) of CPU is revised by corresponding configuration file under the system/sys/devices/system/cpu/cpu0/cpufreq/ path of amendment terminal.
Pass through the embodiment of the present invention, use scenes current for user is reported background server by ROM, service end judges the use scenes (namely above-mentioned application scenarios) that user is current, suitable cpu frequency is issued to the ROM of terminal by service end, the cpu frequency adjustment CPU frequency of operation that ROM issues according to service end, arrives the object of intelligent power saving.
In the above embodiment of the present invention, the second acquisition module can comprise: the first detection sub-module, and in sense terminals, whether the quantity of the application program of current operation is one; First obtains submodule, the quantity for the application program in current operation is one, reads the program running frequency matched with the first identification information and the second identification information, using program running frequency as target operating frequency; First when to obtain submodule be not also one for the quantity of the application program in current operation, read the program running frequency with the first identification information and the second identification information match respectively, using program running frequency maximum in multiple program running frequencies of obtaining as target operating frequency.
When the application program of above-mentioned current operation is one, then can determine an application scenarios, as scene of game, instant messaging scene, scene etc. of taking pictures; If when the application program of above-mentioned current operation is multiple, then one or more application scenarios can be determined.
Such as, the first identification information is QQ or micro-letter, then the application scenarios got is instant messaging scene; If the first identification information is QQ and micro-letter, then the application scenarios read from tables of data also can be instant messaging scene; If the first identification information is fighting landlord and QQ, then the application scenarios read from tables of data can be scene of game and instant messaging scene.
When the application program of a current operation, can obtain the application program of current operation with this and the program running frequency of the second identification information match, be target operating frequency by this program running frequency; If the application program of current operation is multiple, then obtain and the application program of each current operation and the program running frequency of the second identification information match respectively, using that frequency maximum in multiple program running frequencies of getting as target operating frequency.
According to the abovementioned embodiments of the present invention, first obtains submodule can comprise: the first reading submodule, for reading the running frequency set matched with the first identification information and the predeterminated frequency scope matched with the second identification information, wherein, running frequency set comprises one or more predeterminated frequency value; First extracts submodule, meets the predeterminated frequency value of predeterminated frequency scope for extracting from running frequency set, using predeterminated frequency value minimum in the predeterminated frequency value extracted as program running frequency.
Particularly, treating apparatus can also comprise: the second read module, for reading the predeterminated frequency scope with the second identification information match; First extraction module, for extracting multiple test frequency from predeterminated frequency scope; 3rd acquisition module, for obtaining the process that takies number when each application program that terminal is installed operates in each test frequency and power consumption; Computing module, for being weighted obtaining weighting parameters to taking process number and power consumption; Set generation module, for the test frequency generating run frequency sets that the weighting parameters based on the top n that sorts in the multiple weighting parameters calculated is corresponding, wherein, N>0, N are natural number.
In the above-described embodiments, CPU usage when each application program that terminal is installed operates in each test frequency and EMS memory occupation amount can also be obtained.Then to CPU usage, EMS memory occupation amount, take process number and power consumption and be weighted and obtain weighting parameters.
As shown in table 1, each application program can a corresponding application scenarios, the corresponding one or more program running frequency (being a program running frequency in table 1) of each application scenarios.
In an embodiment of the invention, detection module can comprise: the 3rd obtains submodule, for obtaining the operation information of the application program of terminal, wherein, operation information comprises application program that startup terminal is installed and/or closes the application program that a terminal is installed; , for after receiving operation information, whether sense terminals there is the application program of current operation in the second detection sub-module.
Particularly, can the operation information for application program of real-time monitoring terminal, the application program of a terminal being installed as started and/or close the application program that a terminal is installed, can know that the application program of current operation in terminal there occurs change (or increase or reduce or change) by this operation information, can need according to terminal the disposal route starting adjust operation frequency by these operation informations.
In another embodiment, detection module can comprise: the 4th obtains submodule, for obtaining the regulation time section of the processor running frequency of the adjustment terminal pre-set; Signal generation module, in regulation time section, generates a trigger pip every Preset Time; , for after receiving trigger pip, whether sense terminals there is the application program of current operation in the 3rd detection sub-module.
User can arrange regulation time section by terminal, and as working time 8:00-12:00 does not adjust the running frequency of CPU, non-working time 18:00-22:00 starts the disposal route of adjustment CPU running frequency.Adjusting the running frequency of CPU of time segment, can save electric energy further.
Further, a trigger pip can be generated in regulation time section every Preset Time (as 1 minute); Also can obtain operation information in regulation time section, generate trigger pip by operation information, whether sense terminals exists the application program of current operation.
By above-described embodiment, can user need in start treatment method, save electric energy further.
The modules provided in the present embodiment is identical with the using method that the corresponding step of embodiment of the method provides, application scenarios also can be identical.It is noted, of course, that the scheme that above-mentioned module relates to can be not limited to content in above-described embodiment one and scene, and above-mentioned module may operate in terminal or mobile terminal, can pass through software or hardware implementing.
Embodiment 3
Embodiments of the invention additionally provide a kind of disposal system of processor running frequency.Alternatively, in the present embodiment, said system can perform the disposal route of processor running frequency, and this system can be arranged in the network shown in Fig. 1.
Can be shown in Figure 1, this system can comprise: terminal 101, the application program of current operation whether is there is in sense terminals, if terminal exists the application program of current operation, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, and the first identification information and the second identification information are sent to service end; Service end 102, be connected with terminal, for after receiving the first identification information and the second identification information, obtain the attribute information with the first identification information and the second identification information match, wherein, attribute information is used to indicate the target operating frequency of the processor of terminal, and attribute information is sent to terminal; Terminal is also for being revised as target operating frequency by the current operation frequency of processor, and wherein, the application program of current operation comprises the application program of the application program at the running background of terminal and the front stage operation in terminal.
Adopt the embodiment of the present invention, terminal exists the application program of display operation on a terminal screen, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, then obtain the target operating frequency of the first identification information and the second identification information match, and the running frequency of the processor of terminal is revised as target operating frequency.Pass through above-described embodiment, can under terminal be in different application states, obtain different target operating frequency, and the running frequency of the processor of terminal is adjusted according to target operating frequency, thus different CPU running frequencies is used for different application scenarioss, can not need to use lower CPU running frequency in very high-frequency application scenarios at some, the power consumption in terminal operating can be reduced while the processing speed ensureing terminal, solve the problem that in prior art, intelligent terminal power consumption is large, achieve while the processing speed ensureing terminal, reduce the effect of power consumption.
State on the invention in embodiment, second identification information determination target operating frequency of the first identification information by the application program of operation current on marking terminal and the model for marking terminal, the target operating frequency obtained can be made to have better adaptability to terminal, thus can the processing speed of terminal be ensured well and save electricity.
Disposal route in the above-mentioned enforcement of the present invention can be applied in terminal, can also be applied in the environment of terminal and service end.
Amendment running frequency in above-described embodiment can realize as follows: configuration file target operating frequency being write the running frequency of the processor of terminal.
Particularly, the frequency of operation (running frequency namely in above-described embodiment) of CPU is revised by corresponding configuration file under the system/sys/devices/system/cpu/cpu0/cpufreq/ path of amendment terminal." cpuinfo_min_freq file is minimum cpu frequency; " cpuinfo_max_freq " file is maximum cpu frequency; " " file is the current operation frequency of the CPU of cpufreq module (i.e. cpu frequency module) buffer memory to scaling_cur_freq, and " cpuinfo_cur_freq " file is current cpu frequency.In the above-described embodiments, target operating frequency can be write " cpuinfo_cur_freq ", revise cpu frequency.
In the above embodiment of the present invention, after whether terminal exists the application program of display operation on a terminal screen in sense terminals, if also there is not the application program of display operation on a terminal screen in terminal, then determine that terminal is in holding state, first identification information of this holding state can be sent to service end, from the preset operating frequency that the processor of service end reading terminals is corresponding, using preset operating frequency as target operating frequency.
The application program whether above-mentioned sense terminals existing current operation is and judges whether this terminal is in holding state.Also namely, judge whether terminal is in holding state, if this terminal is in holding state, then directly read the standby running frequency (preset operating frequency namely in above-described embodiment) of the processor of this terminal; If this terminal is not in holding state, then read the first identification information and the second identification information.
Wherein, the first identification information can be title or the mark of the application program of current operation.As, the application program of current operation is QQ, then the first identification information got can be: QQ.
Introduce above-described embodiment in detail below, after start treatment method, the current application scenarios of this terminal to report user is to service end.
In this embodiment, whether sense terminals can there is the application program of display operation on a terminal screen in terminal; If terminal does not exist the application program of display operation on a terminal screen, then determine that the current use scenes of user is standby scene; If terminal exists the application program of display operation on a terminal screen, then obtain the first identification information of the application program of current operation on marking terminal, from tables of data, then read application scenarios corresponding to this first identification information.
In this embodiment, the second identification information being used for the model of marking terminal is reported to service end together with the first identification information.
Wherein, the application program of current operation can be included in the application program of the application program of the running background of terminal and the front stage operation in terminal.The application program of current operation can be multiple, then can obtain one or more application scenarios.
Such as, the first identification information is QQ or micro-letter, then the application scenarios got is instant messaging scene; If the first identification information is QQ and micro-letter, then the application scenarios read from tables of data also can be instant messaging scene; If the first identification information is fighting landlord and QQ, then the application scenarios read from tables of data can be scene of game and instant messaging scene.
After server determination application scenarios, service end issues the cpu frequency mated with current application scenarios.
Particularly, from the cpu frequency (target operating frequency namely above-described embodiment) of the suitable power saving that the application scenarios that server side searches is above-mentioned mates, this cpu frequency can draw through a large amount of test, such as: family ideal case, issues minimum cpu frequency; When user plays games, issue maximum cpu frequency.
After receiving the cpu frequency that service end issues, the running frequency of processor is adjusted in terminal.
Particularly, the frequency of operation (running frequency namely in above-described embodiment) of CPU is revised by corresponding configuration file under the system/sys/devices/system/cpu/cpu0/cpufreq/ path of amendment terminal.
Alternatively, the concrete example in the present embodiment can with reference to the example described in above-described embodiment, and the present embodiment does not repeat them here.
Embodiment 4
Embodiments of the invention additionally provide a kind of terminal or server.Alternatively, in the present embodiment, above-mentioned terminal can perform the disposal route of processor running frequency, and the treating apparatus of the processor running frequency in above-described embodiment can be arranged on this terminal or server.
Fig. 5 is the structured flowchart of a kind of terminal according to the embodiment of the present invention.As shown in Figure 5, this terminal can comprise: one or more (only illustrating one in figure) processor 201, storer 203 and transmitting device 205, as shown in Figure 5, this terminal can also comprise input-output device 207 and antenna 209.
Wherein, storer 203 can be used for storing software program and module, programmed instruction/module as corresponding in the disposal route of the processor running frequency in the embodiment of the present invention, device and system, processor 201 is by running the software program and module that are stored in storage 203, thus perform the application of various function and data processing, namely realize the disposal route of above-mentioned processor running frequency.Storer 203 can comprise high speed random access memory, can also comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, storer 203 can comprise the storer relative to the long-range setting of processor 201 further, and these remote memories can be connected to terminal by network.The example of above-mentioned network includes but not limited to internet, intranet, LAN (Local Area Network), mobile radio communication and combination thereof.
Above-mentioned transmitting device 205, for via a network reception or transmission data, can also transmit for the treatment of the data between device and storer.Above-mentioned network instantiation can include spider lines and wireless network.In an example, transmitting device 205 comprises a network adapter (NetworkInterfaceController, NIC), and it to be connected with router by netting twine and other network equipments thus can to carry out communication with internet or LAN (Local Area Network).In an example, transmitting device 205 is radio frequency (RadioFrequency, RF) module, and it is for wirelessly carrying out communication with internet.
Wherein, particularly, storer 203 is for storing application program.
Processor 201 can call the application program of storer 203 storage by transmitting device 205, to perform following step: the application program whether sense terminals existing display operation on a terminal screen; If terminal exists the application program of display operation on a terminal screen, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, wherein, the application program of current operation comprises the application program of the application program at the running background of terminal and the front stage operation in terminal; Obtain the attribute information with the first identification information and the second identification information match, wherein, attribute information is used to indicate the target operating frequency of the processor of terminal; The current operation frequency of processor is revised as target operating frequency.
Adopt the embodiment of the present invention, terminal exists the application program of display operation on a terminal screen, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, then obtain the target operating frequency of the first identification information and the second identification information match, and the running frequency of the processor of terminal is revised as target operating frequency.Pass through above-described embodiment, can under terminal be in different application states, obtain different target operating frequency, and the running frequency of the processor of terminal is adjusted according to target operating frequency, thus different CPU running frequencies is used for different application scenarioss, can not need to use lower CPU running frequency in very high-frequency application scenarios at some, the power consumption in terminal operating can be reduced while the processing speed ensureing terminal, solve the problem that in prior art, intelligent terminal power consumption is large, achieve while the processing speed ensureing terminal, reduce the effect of power consumption.
State on the invention in embodiment, second identification information determination target operating frequency of the first identification information by the application program of operation current on marking terminal and the model for marking terminal, the target operating frequency obtained can be made to have better adaptability to terminal, thus can the processing speed of terminal be ensured well and save electricity.
Disposal route in the above-mentioned enforcement of the present invention can be applied in terminal, can also be applied in the environment of terminal and service end.
Alternatively, the concrete example in the present embodiment can with reference to the example described in above-described embodiment, and the present embodiment does not repeat them here.
Need to further illustrate, deposit the register in the internal memory and system processor that region is system.
One of ordinary skill in the art will appreciate that, structure shown in Fig. 5 is only signal, terminal can be the terminal devices such as smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, applause computer and mobile internet device (MobileInternetDevices, MID), PAD.Fig. 5 its restriction is not caused to the structure of above-mentioned electronic installation.Such as, terminal 200 also can comprise than assembly (as network interface, display device etc.) more or less shown in Fig. 5, or has the configuration different from shown in Fig. 5.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can carry out the device-dependent hardware of command terminal by program to have come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, ROM (read-only memory) (Read-OnlyMemory, ROM), random access device (RandomAccessMemory, RAM), disk or CD etc.
Alternatively, the concrete example in the present embodiment can with reference to the example described in above-described embodiment, and the present embodiment does not repeat them here.
Embodiment 5
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium stores the program code of the disposal route for performing processor running frequency.
Alternatively, in the present embodiment, above-mentioned storage medium can be positioned in the terminal shown in embodiment.
Alternatively, in the present embodiment, above-mentioned storage medium can be arranged at least one network equipment of multiple network equipments of network.
Alternatively, in the present embodiment, storage medium is set to store the program code for performing following steps:
Step S1: the application program whether sense terminals existing display operation on a terminal screen.
Step S2: if terminal exists the application program of display operation on a terminal screen, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, wherein, the application program of current operation comprises the application program of the application program at the running background of terminal and the front stage operation in terminal.
Step S3: obtain the attribute information with the first identification information and the second identification information match, wherein, attribute information is used to indicate the target operating frequency of the processor of terminal.
Step S4: the current operation frequency of processor is revised as target operating frequency.
Adopt the embodiment of the present invention, terminal exists the application program of display operation on a terminal screen, then obtain first identification information of application program of current operation on marking terminal and the second identification information of the model for marking terminal, then obtain the target operating frequency of the first identification information and the second identification information match, and the running frequency of the processor of terminal is revised as target operating frequency.Pass through above-described embodiment, can under terminal be in different application states, obtain different target operating frequency, and the running frequency of the processor of terminal is adjusted according to target operating frequency, thus different CPU running frequencies is used for different application scenarioss, can not need to use lower CPU running frequency in very high-frequency application scenarios at some, the power consumption in terminal operating can be reduced while the processing speed ensureing terminal, solve the problem that in prior art, intelligent terminal power consumption is large, achieve while the processing speed ensureing terminal, reduce the effect of power consumption.
State on the invention in embodiment, second identification information determination target operating frequency of the first identification information by the application program of operation current on marking terminal and the model for marking terminal, the target operating frequency obtained can be made to have better adaptability to terminal, thus can the processing speed of terminal be ensured well and save electricity.
Disposal route in the above-mentioned enforcement of the present invention can be applied in terminal, can also be applied in the environment of terminal and service end.
Alternatively, in the present embodiment, above-mentioned storage medium can include but not limited to: USB flash disk, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
Alternatively, the concrete example in the present embodiment can with reference to the example described in above-described embodiment, and the present embodiment does not repeat them here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
If the integrated unit in above-described embodiment using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in the storage medium that above computer can read.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in storage medium, comprises all or part of step of some instructions in order to make one or more computer equipment (can be personal computer, server or the network equipment etc.) perform each embodiment method of the present invention.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed client, the mode by other realizes.Wherein, device embodiment described above is only schematic, the division of such as unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
Below be only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (15)

1. a disposal route for processor running frequency, is characterized in that, comprising:
Whether sense terminals exists the application program of display operation on a terminal screen;
If described terminal exists the application program of display operation on a terminal screen, then obtain the first identification information of the application program of current operation on marking terminal and the second identification information for the model that identifies described terminal, wherein, the application program of described current operation comprises the application program in the application program of the running background of described terminal and the front stage operation in described terminal;
Obtain the attribute information with described first identification information and described second identification information match, wherein, described attribute information is used to indicate the target operating frequency of the processor of described terminal;
The current operation frequency of described processor is revised as described target operating frequency.
2. disposal route according to claim 1, is characterized in that, after whether sense terminals exists the application program of display operation on a terminal screen, described disposal route also comprises:
If described terminal does not exist the application program of display operation on a terminal screen, then read the preset operating frequency that the processor of described terminal is corresponding;
Using described preset operating frequency as described target operating frequency.
3. disposal route according to claim 1, is characterized in that, obtains and comprises with the attribute information of described first identification information and described second identification information match:
Whether the quantity detecting the application program of current operation in described terminal is one;
When the quantity of the application program of described current operation is one, read the program running frequency matched with described first identification information and described second identification information, using described program running frequency as described target operating frequency;
When the quantity of the application program of described current operation is not one, read the program running frequency with described first identification information and described second identification information match respectively, using program running frequency maximum in the multiple described program running frequency that obtains as described target operating frequency.
4. disposal route according to claim 3, is characterized in that, reads and comprises with the program running frequency of described first identification information and described second identification information match:
Read the running frequency set matched with described first identification information and the predeterminated frequency scope matched with described second identification information, wherein, described running frequency set comprises one or more predeterminated frequency value;
Extract from described running frequency set and meet the described predeterminated frequency value of described predeterminated frequency scope, using predeterminated frequency value minimum in the described predeterminated frequency value extracted as described program running frequency.
5. disposal route according to claim 4, is characterized in that, before reading the running frequency set matched with described first identification information, described disposal route also comprises:
Read the predeterminated frequency scope with described second identification information match;
Multiple test frequency is extracted from described predeterminated frequency scope;
Obtain the process that takies number when each application program that described terminal is installed operates in test frequency described in each and power consumption;
Described process number and the described power consumption of taking is weighted and obtains weighting parameters;
The described test frequency corresponding based on the weighting parameters of the top n that sorts in the multiple described weighting parameters calculated generates described running frequency set, and wherein, N>0, N are natural number.
6. disposal route as claimed in any of claims 1 to 5, is characterized in that, the application program whether sense terminals existing current operation comprises:
Obtain the operation information for application program of described terminal, wherein, described operation information comprises application program that startup described terminal is installed and/or closes the application program that a described terminal is installed;
After receiving described operation information, whether sense terminals exists the application program of current operation.
7. disposal route as claimed in any of claims 1 to 5, is characterized in that, the application program whether sense terminals existing current operation comprises:
Obtain the regulation time section of the processor running frequency of the described terminal of adjustment pre-set;
In described regulation time section, generate a trigger pip every Preset Time;
After receiving described trigger pip, whether sense terminals exists the application program of current operation.
8. a treating apparatus for processor running frequency, is characterized in that, comprising:
Whether detection module, exist the application program of display operation on a terminal screen in sense terminals;
First acquisition module, if there is the application program of display operation on a terminal screen in described terminal, then obtain the first identification information of the application program of current operation on marking terminal and the second identification information for the model that identifies described terminal, wherein, the application program of described current operation comprises the application program in the application program of the running background of described terminal and the front stage operation in described terminal;
Second acquisition module, for obtaining the attribute information with described first identification information and described second identification information match, wherein, described attribute information is used to indicate the target operating frequency of the processor of described terminal;
Modified module, for being revised as described target operating frequency by the current operation frequency of described processor.
9. treating apparatus according to claim 8, is characterized in that, described treating apparatus also comprises:
First read module, after the application program that whether there is display operation on a terminal screen in sense terminals, if described terminal does not exist the application program of display operation on a terminal screen, then read the preset operating frequency that the processor of described terminal is corresponding;
First determination module, for using described preset operating frequency as described target operating frequency.
10. treating apparatus according to claim 8, is characterized in that, described second acquisition module comprises:
First detection sub-module, for detecting whether the quantity of the application program of current operation in described terminal is one;
First obtains submodule, quantity for the application program in described current operation is one, read the program running frequency matched with described first identification information and described second identification information, using described program running frequency as described target operating frequency;
Described first when to obtain submodule be not also one for the quantity of the application program in described current operation, read the program running frequency with described first identification information and described second identification information match respectively, using program running frequency maximum in the multiple described program running frequency that obtains as described target operating frequency.
11. treating apparatus according to claim 10, is characterized in that, described first obtains submodule comprises:
First reading submodule, for reading the running frequency set matched with described first identification information and the predeterminated frequency scope matched with described second identification information, wherein, described running frequency set comprises one or more predeterminated frequency value;
First extracts submodule, meets the described predeterminated frequency value of described predeterminated frequency scope for extracting from described running frequency set, using predeterminated frequency value minimum in the described predeterminated frequency value extracted as described program running frequency.
12. treating apparatus according to claim 11, is characterized in that, described treating apparatus also comprises:
Second read module, for reading the predeterminated frequency scope with described second identification information match;
First extraction module, for extracting multiple test frequency from described predeterminated frequency scope;
3rd acquisition module, for obtaining the process that takies number when each application program that described terminal is installed operates in test frequency described in each and power consumption;
Computing module, for being weighted obtaining weighting parameters to described process number and the described power consumption of taking;
Set generation module, the described test frequency corresponding for the weighting parameters based on the top n that sorts in the multiple described weighting parameters calculated generates described running frequency set, and wherein, N>0, N are natural number.
Treating apparatus in 13. according to Claim 8 to 12 described in any one, is characterized in that, described detection module comprises:
3rd obtains submodule, and for obtaining the operation information of the application program of described terminal, wherein, described operation information comprises application program that startup described terminal is installed and/or closes the application program that a described terminal is installed;
, for after receiving described operation information, whether sense terminals there is the application program of current operation in the second detection sub-module.
Treating apparatus in 14. according to Claim 8 to 12 described in any one, is characterized in that, described detection module comprises:
4th obtains submodule, for obtaining the regulation time section of the processor running frequency of the described terminal of the adjustment pre-set;
Signal generation module, in described regulation time section, generates a trigger pip every Preset Time;
, for after receiving described trigger pip, whether sense terminals there is the application program of current operation in the 3rd detection sub-module.
The disposal system of 15. 1 kinds of processor running frequencies, is characterized in that, comprising:
Terminal, for detecting the application program whether described terminal existing current operation, if described terminal exists the application program of described current operation, then obtain the first identification information of the application program of described current operation on marking terminal and the second identification information for the model that identifies described terminal, and described first identification information and described second identification information are sent to service end;
Described service end, be connected with described terminal, for after receiving described first identification information and described second identification information, obtain the attribute information with described first identification information and described second identification information match, wherein, described attribute information is used to indicate the target operating frequency of the processor of described terminal, and described attribute information is sent to described terminal;
Described terminal also for the current operation frequency of described processor is revised as described target operating frequency,
Wherein, the application program of described current operation comprises the application program in the application program of the running background of described terminal and the front stage operation in described terminal.
CN201410466162.4A 2014-09-12 2014-09-12 Processing method, the device and system of processor running frequency Active CN105468466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410466162.4A CN105468466B (en) 2014-09-12 2014-09-12 Processing method, the device and system of processor running frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410466162.4A CN105468466B (en) 2014-09-12 2014-09-12 Processing method, the device and system of processor running frequency

Publications (2)

Publication Number Publication Date
CN105468466A true CN105468466A (en) 2016-04-06
CN105468466B CN105468466B (en) 2019-09-20

Family

ID=55606201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410466162.4A Active CN105468466B (en) 2014-09-12 2014-09-12 Processing method, the device and system of processor running frequency

Country Status (1)

Country Link
CN (1) CN105468466B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020893A (en) * 2016-05-26 2016-10-12 北京小米移动软件有限公司 Application installation method and device
CN106210895A (en) * 2016-07-08 2016-12-07 乐视控股(北京)有限公司 Processor frequencies control method, device and terminal
CN106775866A (en) * 2016-12-14 2017-05-31 奇酷互联网络科技(深圳)有限公司 Mobile terminal and mobile terminal performance adjusting method and device
CN106951320A (en) * 2017-01-23 2017-07-14 斑马信息科技有限公司 The system and method for the cpu frequency of the car machine of dynamic regulation internet automobile
CN108494866A (en) * 2018-03-30 2018-09-04 北京小米移动软件有限公司 Information processing method and server, terminal device
CN108961724A (en) * 2018-10-15 2018-12-07 上海新蔺智能科技有限公司 A kind of data processing equipment and system
CN109426558A (en) * 2017-08-21 2019-03-05 深圳市中兴微电子技术有限公司 A kind of parameter adjusting method, terminal and storage medium
CN111221855A (en) * 2020-01-08 2020-06-02 中国建设银行股份有限公司 Data processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246340A (en) * 2012-02-06 2013-08-14 索尼公司 Device and method for dynamically adjusting frequency of central processing unit
US20130212417A1 (en) * 2008-02-11 2013-08-15 Nvidia Corporation Power management with dynamic frequency adjustments
CN103500003A (en) * 2013-09-30 2014-01-08 北京奇虎科技有限公司 Method and device for regulating CPU frequency of portable terminal
KR101427526B1 (en) * 2013-05-31 2014-08-07 고려대학교 산학협력단 Method for managing power in mobile terminal
CN104007806A (en) * 2014-06-20 2014-08-27 中科创达软件股份有限公司 Method and device for controlling CPU frequency in Android system and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130212417A1 (en) * 2008-02-11 2013-08-15 Nvidia Corporation Power management with dynamic frequency adjustments
CN103246340A (en) * 2012-02-06 2013-08-14 索尼公司 Device and method for dynamically adjusting frequency of central processing unit
KR101427526B1 (en) * 2013-05-31 2014-08-07 고려대학교 산학협력단 Method for managing power in mobile terminal
CN103500003A (en) * 2013-09-30 2014-01-08 北京奇虎科技有限公司 Method and device for regulating CPU frequency of portable terminal
CN104007806A (en) * 2014-06-20 2014-08-27 中科创达软件股份有限公司 Method and device for controlling CPU frequency in Android system and equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020893A (en) * 2016-05-26 2016-10-12 北京小米移动软件有限公司 Application installation method and device
CN106020893B (en) * 2016-05-26 2019-03-15 北京小米移动软件有限公司 Using the method and device of installation
CN106210895A (en) * 2016-07-08 2016-12-07 乐视控股(北京)有限公司 Processor frequencies control method, device and terminal
CN106775866A (en) * 2016-12-14 2017-05-31 奇酷互联网络科技(深圳)有限公司 Mobile terminal and mobile terminal performance adjusting method and device
CN106951320A (en) * 2017-01-23 2017-07-14 斑马信息科技有限公司 The system and method for the cpu frequency of the car machine of dynamic regulation internet automobile
CN106951320B (en) * 2017-01-23 2022-03-08 斑马信息科技有限公司 System and method for dynamically adjusting CPU frequency of vehicle machine of internet vehicle
CN109426558A (en) * 2017-08-21 2019-03-05 深圳市中兴微电子技术有限公司 A kind of parameter adjusting method, terminal and storage medium
CN108494866A (en) * 2018-03-30 2018-09-04 北京小米移动软件有限公司 Information processing method and server, terminal device
CN108961724A (en) * 2018-10-15 2018-12-07 上海新蔺智能科技有限公司 A kind of data processing equipment and system
CN111221855A (en) * 2020-01-08 2020-06-02 中国建设银行股份有限公司 Data processing method and device
CN111221855B (en) * 2020-01-08 2023-08-22 中国建设银行股份有限公司 Data processing method and device

Also Published As

Publication number Publication date
CN105468466B (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN105468466A (en) Processor operating frequency processing method, apparatus and system
CN104243650B (en) Subscriber identification module card hot plug detection method and device applied to mobile terminal
CN104506397B (en) The method and system of smart machine access to LAN
CN105357403B (en) Method for switching network, device and communication terminal in a kind of communication terminal
CN105657656B (en) A kind of transmission power adjustment method and user equipment
CN106686048A (en) Data transmission method and wearable equipment
CN105404578B (en) Method and apparatus for showing the occupied memory of application program
CN109644465A (en) A kind of resource allocation method and device, computer storage medium
CN105406894A (en) Carrier aggregation mode setting method for communication terminal and communication terminal
CN112367203A (en) Network distribution method and device, smart television and computer readable storage medium
CN103678125A (en) Method and system for debugging codes
CN108093177A (en) Image acquiring method, device, storage medium and electronic equipment
CN112612526B (en) Application program control method, device, terminal equipment and storage medium
CN105740662B (en) A kind of information processing method and electronic equipment
CN105049374A (en) Method and device for scheduling download task, and mobile terminal
CN109379749B (en) Router control method, system, equipment and router
CN106445516A (en) External wireless network card drive loading method and device
CN107018557A (en) A kind of terminal control method and terminal
CN104170321B (en) The network equipment finds that method, the network equipment and the network equipment find system
CN109116969A (en) The power-economizing method and Related product of elevator card terminal
CN109039777A (en) A kind of wifi equipment and its match network method
CN106371555A (en) Method and equipment for inputting information on wearable equipment
CN106127037A (en) Method, device and the terminal processed is freezed in a kind of application
CN108924411B (en) Photographing control method and device
CN105721218A (en) Medical guiding system embedded firmware upgrade system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant