The content of the invention
It is an object of the invention to provide a kind of acquisition methods of the target resource parameter of intelligent terminal application and system, realize
Generate different target resource parameters to carry out optimised power consumption according to the use habit of each user, realize more preferable effect of optimization.
The technical scheme that the present invention is provided is as follows:
A kind of acquisition methods of the target resource parameter of intelligent terminal application, including step:S100 controls intelligence to be measured is eventually
The current application to be measured at end brings into operation according to current resource parameters;The resource that S200 obtains the current application to be measured averagely makes
With rate;Whether S300 judges the resource average service rate in the range of default utilization rate;If so, performing step S500;If it is not,
Perform step S400;S400 adjustresources parameters, and control the current application to be measured to be opened again according to resource parameters after adjustment
Begin operation, and return to step S200;It is target resource parameter that S500, which obtains the current resource parameters,.
Further, the step S100 includes step:The type information of the S110 detections current application to be measured, judges
Whether the current application to be measured is in resource control table;If so, performing step S120;If it is not, performing step S140;S120 is obtained
The corresponding specified resource parameters of application type information of the current application to be measured;The S130 controls current application to be measured according to
The specified resource parameters bring into operation;The S140 controls current application to be measured brings into operation according to default resource parameters;Its
In, the resource control table includes presetting application list to be measured, specified resource parameters corresponding with presetting application to be measured and preset
Resource parameters;It is described to preset the application type information that application list to be measured presets application to be measured including each;The specified resource
Parameter includes any one or more in the specified resource parameters of CPU, the specified resource parameters of GPU, the specified resource parameters of bandwidth.
Further, the step S100 includes step:The application that S111 gathers the intelligent terminal to be measured is used
Information, the application use information includes application type information, using frequency of use information;S112 uses letter according to the application
Breath, judges whether the frequency of use of current application reaches default frequency of use;If so, performing step S113;S113 judges described
Current application is in the resource control table.
Further, the step S200 includes step:S310 is counted when being brought into operation from the current application to be measured
When, length stops timing after reaching default operation duration when running;S320 is recorded in the current application running to be measured
Real time resources utilization rate, computing obtains resource average service rate;S330 judges whether the resource average service rate makes default
In the range of rate;If so, performing step S400;If it is not, performing step S300.
Further, the step S400 includes step:S410 is big when the current application resource average service rate to be measured
When the default utilization rate scope, resource parameters are raised, resource parameters after the adjustment are obtained;And/or, and/or, S420 works as
When the current application resource average service rate to be measured is less than the default utilization rate scope, resource parameters are lowered, obtain described
Resource parameters after adjustment;The S430 controls current application to be measured brings into operation according to resource parameters after the adjustment, and returns
The step S200.
Further, step is included after the step S500:Type informations and institute of the S600 according to current application to be measured
State target resource parameter and update resource control table;S700 sends after the renewal resource control table to the intelligent terminal to be measured.
The present invention also provides a kind of acquisition system of the target resource parameter of intelligent terminal application, including:Control terminal, treat
Intelligent terminal is surveyed, the control terminal is communicated to connect with the intelligent terminal to be measured;The control terminal includes:Control module,
It is connected with the current application communication to be measured of the intelligent terminal to be measured;Control the current application root to be measured of the intelligent terminal to be measured
Brought into operation according to current resource parameters;First acquisition module, is connected with the current application communication to be measured of the intelligent terminal to be measured;
After the control module control current application operation to be measured, the resource average service rate of the current application to be measured is obtained;
First judge module, is communicated to connect with first acquisition module;Judge that the resource that first acquisition module is obtained is put down
Whether equal utilization rate is in the range of default utilization rate;Acquisition module, respectively with first judge module and the control module
Communication connection;When first judge module judges that the resource average service rate is in the range of default utilization rate, institute is obtained
It is target resource parameter to state the current resource parameters in control module;Adjusting module, respectively with first judge module
With control module communication connection;When first judge module judges the resource average service rate not in default utilization rate
In the range of when, adjustresources parameter is adjusted rear resource parameters, and sends after the adjustment resource parameters to the control mould
Block;The control module, receives resource parameters after the adjustment that the adjusting module is sent, and controls the current application to be measured
Restart operation according to resource parameters after the adjustment, and described after adjustment work as is obtained by first acquisition module again
The resource average service rate of preceding application to be measured, then judged by the judge module.
Further, the control module includes:Detection sub-module, the detection sub-module and the intelligent terminal to be measured
Current application communication to be measured connection;The type information of the detection current application to be measured, judges that the current application to be measured is
It is no in resource control table;Acquisition submodule, obtains the corresponding specified resource of application type information of the current application to be measured
Parameter;First control submodule, is communicated to connect with the detection sub-module and the acquisition submodule respectively;When detection
Module detection judge it is described it is current it is to be measured apply in described preset in application list to be measured, control the currently application root to be measured
The specified resource parameters obtained according to the acquisition submodule bring into operation;Second control submodule, with the detection submodule
Block is communicated to connect;When detection sub-module detection judges that the current application to be measured is not preset in application list to be measured described
When, control the current application to be measured to be brought into operation according to default resource parameters;Wherein, the resource control table includes default treat
Survey application list, with presetting the corresponding specified resource parameters of application to be measured and default resource parameters;It is described to preset application name to be measured
Single application type information that application to be measured is preset including each;The specified resource parameters include the specified resource parameters of CPU, GPU
Any one or more in the specified resource parameters of specified resource parameters, bandwidth.
Further, the detection sub-module also includes:Collecting unit, is communicated to connect with the intelligent terminal to be measured;Adopt
Collect the application use information of the intelligent terminal to be measured, the application use information includes application type information, using making
With frequency information, using use time information;Judging unit, is communicated to connect with the collecting unit;According to the collecting unit
The application use information of collection, judges whether the frequency of use of current application reaches default frequency of use;Generation unit, with
The judging unit communication connection;When the judging unit judges that the frequency of use of current application reaches default frequency of use,
The current application is judged to preset application to be measured, and application list to be measured is preset in generation;Wherein, it is described to preset application list to be measured
The application type information of application to be measured is preset including each.
Further, the adjusting module includes:First adjustment submodule, is communicated to connect with first judge module;
When first judge module judges that the current application resource average service rate to be measured is more than the default utilization rate scope,
Resource parameters are raised, resource parameters after the adjustment are obtained, and send after the adjustment resource parameters to the control module;The
Two adjustment submodules, are communicated to connect with first judge module;When first judge module judge it is described it is current it is to be measured should
When being less than the default utilization rate scope with resource average service rate, resource parameters are lowered, resource parameters after the adjustment are obtained,
And resource parameters are sent after the adjustment to the control module.
The acquisition methods and system for the target resource parameter that a kind of intelligent terminal provided by the present invention is applied, being capable of band
Carry out following at least one beneficial effect:
1st, the present invention can judge that adjustment carries out the simulation test in resource parameters repeatedly by control terminals such as servers
And analysis, the different target resource parameter of checking generation is repeatedly detected, so that later stage intelligent terminal can be according to obtained target
Resource parameters are run so that intelligent terminal realizes more preferable effect of optimization, lift the usage experience of user.
2nd, the present invention can be according to the use habit of each user, and the intelligent terminal that can be used for each user preference is answered
With and frequency of use, so as to targetedly be tested according to frequency of use size come selected section intelligent terminal application,
Meet the personal optimization demand of user.
3rd, the present invention generates resource control table, is sent to mobile phone by the control terminal such as server simulation test and analysis
Deng intelligent terminal, it can so avoid the intelligent terminals such as mobile phone from downloading optimization system application, frequent updating can also be avoided to optimize
System application, saves the internal memory of intelligent terminal.
4th, the present invention is by being repeatedly detected whether checking resource average service rate reaches default utilization rate, to obtain target money
Source parameter, so that the intelligent terminal for controlling intelligent terminal so, can not only make using being run according to target resource parameter
Obtaining intelligent terminal application can normally be run with target resource parameter, additionally it is possible to avoid intelligent terminal application basis as before
The problem of self-heating that the operation of maximum resource parameter is caused is hot, is more avoided that the excessive caused battery of intelligent terminal heating continues
The problem of ETS estimated time of sailing reduction and shorter battery life, the usage experience of user is greatly improved, reduce economic loss.
5th, the present invention is by being repeatedly detected whether checking resource average service rate reaches default utilization rate, to obtain target money
Source parameter, so that the intelligent terminal for controlling intelligent terminal can not only solve intelligence using being run according to target resource parameter
During terminal use, the problems such as slack-off operation, operation interim card are gradually occurred due to resource parameters reduction, moreover it is possible to for intelligence eventually
End speed-raising, reaches the effect of the performance of Intelligent Optimal terminal.
6th, the present invention sends the resource control table obtained and preserved to intelligent terminal, the application that can be commonly used for user
Run according to target resource parameter, reach the purpose of the application of fixed point oriented control intelligent terminal, meet intelligent terminal
Using can normally run, the performance of intelligent terminal is improved, and without frequently adjusting, reduce the work(of intelligent terminal
Consumption, increases cruising time, user experience is lifted on the whole.
Embodiment
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, control is illustrated below
The embodiment of the present invention.It should be evident that drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing, and obtain other embodiments.
To make only to schematically show part related to the present invention in simplified form, each figure, they are not represented
Its as product practical structures.In addition, so that simplified form is readily appreciated, there is identical structure or function in some figures
Part, only symbolically depicts one of those, or has only marked one of those.Herein, " one " is not only represented
" only this ", can also represent the situation of " more than one ".
With reference to shown in Fig. 1, the present invention provides one of a kind of acquisition methods of the target resource parameter of intelligent terminal application
Embodiment, including:
S100 controls the current application to be measured of intelligent terminal to be measured to be brought into operation according to current resource parameters;
S200 obtains the resource average service rate of the current application to be measured;
Whether S300 judges the resource average service rate in the range of default utilization rate;If so, performing step S500;If
It is no, perform step S400;
S400 adjustresources parameters, and control the current application to be measured to restart fortune according to resource parameters after adjustment
OK, and return to step S200;
It is target resource parameter that S500, which obtains the current resource parameters,.
Specifically, in the present embodiment, the intelligent terminal in full text of the present invention includes but is not limited to computer, learning machine, hand
It is mechanical, electrical to regard the intelligent terminals such as box.Obtained by the way that step S200 is adjusted and be back in step S400 according to current resource parameters
Postrun resource average service rate is carried out, then is judged again by step S300, can so be controlled by server etc.
Terminal processed judges that adjustment carries out any one or more in cpu resource parameter, GPU resource parameter and bandwidth resources parameter repeatedly
The simulation test of combination and analysis, are repeatedly detected the different target resource parameter of checking generation, so that later stage intelligent terminal can
Target resource parameter according to obtaining is run so that intelligent terminal realizes more preferable effect of optimization, lifts the use body of user
Test.
With reference to shown in Fig. 2, the present invention provides a kind of the another of acquisition methods of the target resource parameter of intelligent terminal application
Individual embodiment, including:
Whether the type information of the S110 detections current application to be measured, judge the current application to be measured in resources control
In table;If so, performing step S120;
S120 obtains the corresponding specified resource parameters of application type information of the current application to be measured;
The S130 controls current application to be measured brings into operation according to the specified resource parameters;
S200 obtains the resource average service rate of the current application to be measured;
Whether S300 judges the resource average service rate in the range of default utilization rate;If so, performing step S500;If
It is no, perform step S400;
S400 adjustresources parameters, and control the current application to be measured to restart fortune according to resource parameters after adjustment
OK, and return to step S200;
It is target resource parameter that S500, which obtains the current resource parameters,.
Specifically, in the embodiment of the present invention, the application type information of current current application to be measured is judged by detecting is
No is in resource control table, in order to detect two kinds of information, and one is that current application to be measured is probably user's later stage
The application of download, two be that current application to be measured is probably the application that user's intelligent terminal has been present, but the application be by with
The old version application of family intelligent terminal obtains latest edition application after being updated.By detecting answering for current application to be measured
When with model being in resource control table, can obtain corresponding with type information specified resource parameters (i.e. this it is current it is to be measured should
The resource parameters needed during with normal operation) so that control the current application to be measured to be run with specified resource parameters, so that
The resource average service rate arrived calculated after operation a period of time is judged whether in default utilization rate, if it does, that
The specified resource parameters are exactly the target resource parameter of user optimization, later stage user can according to this specified resource parameters come
Optimize the intelligent terminal of oneself, allow intelligent terminal performance boost, also allow user's routine use to have more preferable usage experience.This
Invention can judge that adjustment carries out cpu resource parameter, GPU resource parameter and bandwidth resources repeatedly by control terminals such as servers
The simulation test of any one or more combination in parameter and analysis, are repeatedly detected the different target resource ginseng of checking generation
Number, so that later stage intelligent terminal can be run according to obtained target resource parameter so that intelligent terminal is realized more preferably excellent
Change effect.The present invention sends the resource control table obtained and preserved to intelligent terminal, can be directed to the application that commonly use of user according to
Target resource parameter is run, and is reached the purpose of the application of fixed point oriented control intelligent terminal, is met the application of intelligent terminal
It can normally run, improve the performance of intelligent terminal, and without frequently adjusting, reduce the power consumption of intelligent terminal, increase
Plus cruising time, user experience is lifted on the whole.
With reference to shown in Fig. 3, the present invention provides a kind of the another of acquisition methods of the target resource parameter of intelligent terminal application
Individual embodiment, including:
S111 gathers the application use information of the intelligent terminal to be measured, and the application use information includes applied
Number information, using frequency of use information;
S112 judges whether the frequency of use of the current application to be measured reaches default make according to the application use information
Use frequency;If so, performing step S113;
S113 judges described current to be measured apply in the resource control table;
S120 obtains the corresponding specified resource parameters of application type information of the current application to be measured;
The S130 controls current application to be measured brings into operation according to the specified resource parameters;
S310 carries out timing when being brought into operation from the current application to be measured, and length is reached after default operation duration when running
Stop timing;
S320 records the real time resources utilization rate in the current application running to be measured, and computing, which obtains resource, averagely to be made
With rate;
Whether S330 judges the resource average service rate in the range of default utilization rate;If so, performing step S400;If
It is no, perform step S300;
S410 raises resource when the current application resource average service rate to be measured is more than the default utilization rate scope
Parameter, obtains resource parameters after the adjustment;And/or,
S420 lowers resource when the current application resource average service rate to be measured is less than the default utilization rate scope
Parameter, obtains resource parameters after the adjustment;
The S430 controls current application to be measured brings into operation according to resource parameters after the adjustment, and returns to the step
S200。
Specifically, in the present embodiment, the unified run time of the present invention causes test analysis more accurate accurate.Pass through collection
The application use information of user's intelligent terminal, when the frequency of use of an application such as application that wechat, day cat etc. user commonly use
When reaching default frequency of use, then decide that this application belongs in resource control table, judge whether it is in money
Purpose in the control table of source is in order to avoid the application that user is not frequently used is carried out simulation test by the control terminals such as server
And analysis, so that the target component for the application being not frequently used, can so waste the test analysis time, only user is commonly used
Application carry out simulation test and analysis, so can for different user different use habits acquisition target resource parameter come
Carry out the system power dissipation optimization of intelligent terminal, because existing prioritization scheme is optimized by optimization system software, optimization
Scheme can not vary with each individual, i.e., user need optimization when, optimization system be close running background application, cleaning system production
Raw rubbish etc. is to immobilize to carry out whole optimizations, and according to the use habit of user, user's frequency of use is reached pre-
If the application of frequency of use is targetedly optimized, the usage experience of user, present invention control intelligent terminal can be lifted
Application by corresponding resource parameters run, reached fixed point oriented control application purpose, meet intelligent terminal normal operation fortune
Capable resource parameters demand, enhances the reaction speed of intelligent terminal, improves the performance of intelligent terminal, and it is without frequently
Regulation, reduces intelligent terminal power consumption, adds cruising time, Consumer's Experience is improved on the whole.Certainly, it is each to be measured to answer
Application scenarios are different, and application scenarios include background application scene (as application is in background operation state), foreground
Application scenarios (as application is in front stage operation state), if user reaches default frequency of use using the frequency of the application,
So judge whether the application for being in background operation state switches to front stage operation state in preset duration, if it is, that
Intelligent terminal is run still according to original resource parameters, is adjusted without frequently resource parameters, to a certain degree
Upper saving power consumption.
For example, when user's first is using mobile phone Tengxun video software viewing video, if user's first receives 30s durations temporarily
Wechat voice messaging, then during user's first answer voice information, Tengxun's video software can be entered background operation state by mobile phone,
User's first is heard out after the voice messaging of the 30s durations, enters back into the broadcast interface of Tengxun's video software, in whole process, intelligence
Tengxun's video software of energy terminal is run according further to original resource parameters, is adjusted without frequently resource parameters,
Save power consumption.The present invention can judge that adjustment carries out the simulation test in resource parameters repeatedly by control terminals such as servers
And analysis, the different target resource parameter of checking generation is repeatedly detected, so that later stage intelligent terminal can be according to obtained target
Resource parameters are run so that intelligent terminal realizes more preferable effect of optimization, lift the usage experience of user.Can be according to each
The use habit of user, the intelligent terminal application that can be used for each user preference and frequency of use, so that targetedly
Ground is tested according to frequency of use size come selected section intelligent terminal application, meets the personal optimization demand of user.Pass through
The control terminal such as server simulation test and analysis, generate resource control table, are sent to the intelligent terminals such as mobile phone, can so keep away
Exempt from the intelligent terminals such as mobile phone and download the optimization system application such as 360 safe house keepers, Tengxun house keeper, frequent updating 360 can also be avoided
Safe house keeper, Tengxun house keeper etc. optimize system application, save the internal memory of intelligent terminal.
In the present invention, during a kind of in one CPU of control terminal test analysis, GPU, bandwidth resources parameter, it is assumed that survey
Examination analysis is cpu resource parameter, if current application cpu resource average service rate to be measured is more than default CPU usage scope
When, cpu resource parameter is raised, rear cpu resource parameter is adjusted, if current application cpu resource average service rate to be measured is small
When default CPU usage scope, cpu resource parameter is lowered, rear cpu resource parameter is adjusted, sentenced until after adjustment test
Break and just obtain target resource parameter after meeting default CPU usage scope.If tested in CPU, GPU, bandwidth resources parameter
At any two kinds, it is assumed that test analysis is cpu resource parameter and GPU resource parameter, if current application cpu resource to be measured is put down
Equal utilization rate is more than default CPU usage scope, and GPU resource average service rate is in default GPU utilization rate scopes, then only need
Cpu resource parameter is raised, with regard to rear cpu resource parameter can be adjusted, until judging that meeting default CPU uses after adjustment test
After rate scope, it becomes possible to default cpu resource parameter will be met after adjustment and current GPU resource parameter is used as target resource parameter.
By that analogy, when testing a resource parameters, judge whether the resource utilization of the resource parameters meets its corresponding default money
Source utilization rate, if according to circumstances adjusting a resource parameters size;When testing two resource parameters, each resource parameters is judged
Resource utilization whether correspond with its corresponding default resource utilization, when a resource parameters meet the requirements, according to feelings
Condition adjusts another resource parameters size etc., no longer illustrates one by one herein.
The present invention is by being repeatedly detected whether checking resource average service rate reaches default utilization rate, to obtain target resource
Parameter, so that the intelligent terminal for controlling intelligent terminal so, is not only enabled to using being run according to target resource parameter
Intelligent terminal application can normally be run with target resource parameter, additionally it is possible to avoid intelligent terminal application as before according to most
The problem of self-heating that the operation of large resource parameter is caused is hot, is more avoided that the excessive caused battery durable of intelligent terminal heating
The problem of time reduction and shorter battery life, the usage experience of user is greatly improved, reduce economic loss.And it can solve
Certainly during intelligent terminal use, the problems such as slack-off operation, operation interim card are gradually occurred due to resource parameters reduction, moreover it is possible to be
Intelligent terminal raises speed, and reaches the effect of the performance of Intelligent Optimal terminal.
With reference to shown in Fig. 4, the present invention provides a kind of the another of acquisition methods of the target resource parameter of intelligent terminal application
Individual embodiment, including:
Whether the type information of the S110 detections current application to be measured, judge the current application to be measured in resources control
In table;If it is not, performing step S140;
The S140 controls current application to be measured brings into operation according to default resource parameters;
Whether S200 judges the resource average service rate in the range of default utilization rate;If so, performing step S400;If
It is no, perform step S300;
S300 adjustresources parameters, and control the current application to be measured to restart fortune according to resource parameters after adjustment
OK, and return to step S200;
It is target resource parameter that S400, which obtains the current resource parameters,;
S500 updates resource control table according to the type information and the target resource parameter of current application to be measured;
S600 sends after the renewal resource control table to the intelligent terminal to be measured.
Specifically, the embodiment of the present invention additionally provides another situation, the application of current application to be measured is exactly detected
When model is not belonging in resource control table, i.e., the application model of current application to be measured is the two kinds of models referred in above-described embodiment
During information (one is the application downloaded in user's later stage, and two be that user updates the more recent application model that old version is obtained), it can control
The current application to be measured of system brings into operation according to default resource parameters, and obtains target resource parameter.
For example due to the demand looked for a job when user's second closes on graduation, intelligence connection recruitment is downloaded for the first time on IPAD flat boards
Recruit software, then intelligence connection recruitment software I mono- default resource parameters of PAD can be given according to control terminal, this is preset
Resource parameters can be that control terminal obtains other such as 58 same cities of analysis, the specified money of the carefree recruitment software of future from network
Source parameter carries out one estimation resource parameters of calculating acquisition as default resource parameters and is supplied to IPAD, and then IPAD is according to this
Default resource parameters are run, then are calculated and obtained resource average service rate so as to judge the resource average service rate whether pre-
If in the range of utilization rate, so that the different target resource parameter of checking generation is repeatedly detected, so that later stage intelligent terminal being capable of root
Run according to obtained target resource parameter so that intelligent terminal realizes more preferable effect of optimization, lift the usage experience of user.
Further for example, user third chats commonly using mobile phone microblogging with friend, carried out using microblogging version after a period of time
Update, then control terminal can obtain the specified resource parameters of version before analysis microblogging from local side or network, will
The specified resource parameters of version are supplied to mobile phone as default resource parameters before being somebody's turn to do, and then mobile phone is according to this default resource parameters
Run, then calculate and obtain resource average service rate so as to judging the resource average service rate whether in default utilization rate scope
It is interior, so that the different target resource parameter of checking generation is repeatedly detected, so that later stage intelligent terminal can be according to obtained target
Resource parameters are run so that intelligent terminal realizes more preferable effect of optimization, lift the usage experience of user.
The application of the present embodiment, the application that can download user for the first time or renewal carries out analysis and obtains target resource ginseng
Number so that optimization is more comprehensive.By being repeatedly detected whether checking resource average service rate reaches default utilization rate, to obtain mesh
Resource parameters are marked, so that the intelligent terminal for controlling intelligent terminal can not only be solved using being run according to target resource parameter
During intelligent terminal use, the problems such as slack-off operation, operation interim card are gradually occurred due to resource parameters reduction, moreover it is possible to be intelligence
Energy terminal speed-raising, reaches the effect of the performance of Intelligent Optimal terminal.
With reference to shown in Fig. 5, the present invention provides a kind of the another of acquisition methods of the target resource parameter of intelligent terminal application
Individual embodiment, including:
S111 gathers the application use information of the intelligent terminal to be measured, and the application use information includes applied
Number information, using frequency of use information;
S112 judges whether the frequency of use of the current application to be measured reaches default make according to the application use information
Use frequency;If it is not, performing step S114;
S113 judges the current application to be measured not in the resource control table;
S120 obtains the corresponding specified resource parameters of application type information of the current application to be measured;
The S130 controls current application to be measured brings into operation according to the specified resource parameters;
S310 carries out timing when being brought into operation from the current application to be measured, and length is reached after default operation duration when running
Stop timing;
S320 records the real time resources utilization rate in the current application running to be measured, and computing, which obtains resource, averagely to be made
With rate;
Whether S330 judges the resource average service rate in the range of default utilization rate;If so, performing step S400;If
It is no, perform step S300;
S410 raises resource when the current application resource average service rate to be measured is more than the default utilization rate scope
Parameter, obtains resource parameters after the adjustment;And/or,
S420 lowers resource when the current application resource average service rate to be measured is less than the default utilization rate scope
Parameter, obtains resource parameters after the adjustment;
The S430 controls current application to be measured brings into operation according to resource parameters after the adjustment, and returns to the step
S200。
Specifically, in the embodiment of the present invention, the frequency of use of application to be measured can according to use time and access times come
Calculated, the present invention can judge that adjustment carries out cpu resource parameter, GPU resource ginseng repeatedly by control terminals such as servers
The simulation test of any one or more combination in number and bandwidth resources parameter and analysis, are repeatedly detected checking generation different
Target resource parameter, so that later stage intelligent terminal can be run according to obtained target resource parameter so that intelligent terminal
Realize more preferably optimization effect.The present invention sends the resource control table obtained and preserved to intelligent terminal, can be conventional for user
Application run according to target resource parameter, reach fixed point oriented control intelligent terminal application purpose, meet intelligence
The application of terminal can normally be run, and improve the performance of intelligent terminal, and without frequently adjusting, reduce intelligent terminal
Power consumption, increase cruising time, user experience is lifted on the whole.What deserves to be explained is, may only have in step S300
A kind of selection for adjusting scene, it is also possible to have the selection of two kinds of adjustment scenes, step S310 and S320 are relations arranged side by side, and
It is not relation sequentially.
With reference to shown in Fig. 6, the present invention provides a kind of acquisition system 1000 of the target resource parameter of intelligent terminal application
One embodiment, including:Control terminal 1100, intelligent terminal to be measured 1200, the control terminal 1100 and the intelligence to be measured
Terminal 1200 is communicated to connect;The intelligent terminal to be measured it is built-in it is different it is to be measured apply 1210, it is to be measured to apply 1210, it is to be measured should
With 1210, application n to be measured,
The control terminal 1000 includes:Control module 1110, with the intelligent terminal 1200 to be measured it is current it is to be measured should
With communication connection;The current application to be measured of the intelligent terminal to be measured 1200 is controlled to be brought into operation according to current resource parameters;The
One acquisition module 1120, is connected with the current application communication to be measured of the intelligent terminal 1200 to be measured;The control module 1110
After the control current application operation to be measured, the resource average service rate of the current application to be measured is obtained;First judge module
1130, communicated to connect with first acquisition module 1120;Judge that the resource that first acquisition module 1120 is obtained is put down
Whether equal utilization rate is in the range of default utilization rate;Acquisition module 1140, respectively with first judge module 1130 and described
Control module 1110 is communicated to connect;When first judge module 1130 judges the resource average service rate in default utilization rate
In the range of when, it is target resource parameter to obtain the current resource parameters in the control module 1110;Adjusting module 1150,
Communicated to connect respectively with first judge module 1130 and the control module 1110;When first judge module 1130 is sentenced
When the resource average service rate of breaking is not in the range of default utilization rate, adjustresources parameter is adjusted rear resource parameters, and
Resource parameters are sent after the adjustment to the control module 1110;The control module 1110, receives the adjusting module
Resource parameters after 1150 adjustment sent, control the current application to be measured to be opened again according to resource parameters after the adjustment
Begin operation, and the currently resource of application to be measured after adjustment obtained by first acquisition module 1120 again averagely to use
Rate, then judged by the judge module.
In the embodiment of the present invention, application to be measured is at least one, can repeatedly be sentenced by the control terminals such as server 1000
The application to be measured of disconnected adjustment intelligent terminal to be measured carries out the simulation test in resource parameters and analysis, is repeatedly detected checking generation not
Same target resource parameter, so that later stage intelligent terminal can be run according to obtained target resource parameter so that intelligence
Terminal realizes more preferable effect of optimization, lifts the usage experience of user.
It is preferred that, the control module includes:Detection sub-module, the detection sub-module and the intelligent terminal to be measured
Current application communication connection to be measured;Whether the type information of the detection current application to be measured, judge the current application to be measured
In resource control table;Acquisition submodule, obtains the corresponding specified resource ginseng of application type information of the current application to be measured
Number;First control submodule, is communicated to connect with the detection sub-module and the acquisition submodule respectively;When the detection submodule
Block detection judge it is described it is current it is to be measured apply in described preset in application list to be measured, control the currently application to be measured according to
The specified resource parameters that the acquisition submodule is obtained bring into operation;Second control submodule, with the detection sub-module
Communication connection;When detection sub-module detection judges that the current application to be measured is not preset in application list to be measured described
When, control the current application to be measured to be brought into operation according to default resource parameters;
Wherein, the resource control table includes presetting application list to be measured, specified resource corresponding with presetting application to be measured
Parameter and default resource parameters;It is described to preset the application type information that application list to be measured presets application to be measured including each;Institute
Specified resource parameters are stated including any one in the specified resource parameters of CPU, the specified resource parameters of GPU, the specified resource parameters of bandwidth
Plant or a variety of.
The detection sub-module also includes:Collecting unit, is communicated to connect with the intelligent terminal to be measured;Gather described to be measured
The application use information of intelligent terminal, the application use information include application type information, using frequency of use information,
Using use time information;Judging unit, is communicated to connect with the collecting unit;Should according to collecting unit collection
With use information, judge whether the frequency of use of current application reaches default frequency of use;Generation unit, with the judging unit
Communication connection;When the judging unit judges that the frequency of use of current application reaches default frequency of use, judge described current
Using to preset application to be measured, application list to be measured is preset in generation;Wherein, the default application list to be measured is default including each
The application type information of application to be measured.
The adjusting module includes:First adjustment submodule, is communicated to connect with first judge module;When described first
When judge module judges that the current application resource average service rate to be measured is more than the default utilization rate scope, up-regulation resource ginseng
Number, obtains resource parameters after the adjustment, and sends after the adjustment resource parameters to the control module;Second adjustment submodule
Block, is communicated to connect with first judge module;When first judge module judges that the current application resource to be measured is averaged
When utilization rate is less than the default utilization rate scope, resource parameters are lowered, resource parameters after the adjustment are obtained, and send described
Resource parameters are to the control module after adjustment.
Specifically, in the embodiment of the present invention, the application type information of current current application to be measured is judged by detecting is
No is in resource control table, in order to detect two kinds of information, and one is that current application to be measured is probably user's later stage
The application of download, two be that current application to be measured is probably the application that user's intelligent terminal has been present, but the application be by with
The old version application of family intelligent terminal obtains latest edition application after being updated.By detecting answering for current application to be measured
When with model being in resource control table, can obtain corresponding with type information specified resource parameters (i.e. this it is current it is to be measured should
The resource parameters needed during with normal operation) so that control the current application to be measured to be run with specified resource parameters, so that
The resource average service rate arrived calculated after operation a period of time is judged whether in default utilization rate, if it does, that
The specified resource parameters are exactly the target resource parameter of user optimization, later stage user can according to this specified resource parameters come
Optimize the intelligent terminal of oneself, allow intelligent terminal performance boost, also allow user's routine use to have more preferable usage experience.Inspection
When the application model for measuring current application to be measured is not belonging in resource control table, i.e., the application model of current application to be measured is above-mentioned
(one is the application downloaded in user's later stage to the two kinds of type informations referred in embodiment, and two be that user's renewal old version is obtained
More recent application model) when, current application to be measured can be controlled to be brought into operation according to default resource parameters, and obtain target resource ginseng
Number.
The present invention can judge that adjustment carries out cpu resource parameter, GPU resource parameter repeatedly by control terminals such as servers
Simulation test and analysis with any one or more combination in bandwidth resources parameter, are repeatedly detected the different mesh of checking generation
Resource parameters are marked, so that later stage intelligent terminal can be run according to obtained target resource parameter so that intelligent terminal is real
Now more preferably optimization is imitated.The present invention sends the resource control table obtained and preserved to intelligent terminal, can be commonly used for user
Run using according to target resource parameter, reach the purpose of the application of fixed point oriented control intelligent terminal, meet intelligence eventually
The application at end can normally be run, and improve the performance of intelligent terminal, and without frequently adjusting, reduce intelligent terminal
Power consumption, increases cruising time, user experience is lifted on the whole.
With reference to shown in Fig. 7, the present invention provides one of a kind of acquisition methods of the target resource parameter of intelligent terminal application
Example, including
S1, mobile phone terminal preserves default policy file.
S2, mobile phone terminal adjusts power consumption using strategy file.
Use habit data are sent to server by S3, mobile phone terminal monitoring user's APP use habits.
S4, server is tested according to use habit data.
S5, server analysis produces new strategy file.
S6, sends new strategy file to mobile phone terminal.
Specifically, when mobile phone dispatches from the factory, acquiescence preserves in a strategy file, strategy file which APP saved in system
Higher CPU, GPU frequency is needed to run, which APP, which only needs to relatively low CPU, GPU frequency, can just run.In mobile phone terminal
Each APP use time, frequency of use, each APP page point in use in increase detection user mobile phone in system
The function of record etc. is hit, and the information detected is sent to server end.The user that server end receives mobile phone terminal transmission makes
With APP use information, different CPU, GPU frequencies are set on mobile phone, according to the use habit of user, carrying out simulation makes
With the average service rate according to CPU, GPU under different frequency obtains suitable CPU, GPU frequency.CPU, GPU frequency are for example set
For 800M hertz, 800M hertz when, CPU average service rates are that 95%, GPU average service rates are 50%, then can now change CPU
For 1500M hertz, GPU is 600M hertz, tests again, is considered suitable when CPU, GPU average service rate are 80% or so
CPU, GPU frequency.Multiple APP test result is saved as to new subscriber policy file, and sends back mobile phone terminal.Mobile phone terminal
The strategy file that server is newly sent is received, and power consumption strategies are performed according to new strategy file.Mobile phone terminal, which returns to inspect periodically, works as
When user is changed using APP custom, S2 to S6 steps are re-executed, strategy file is updated and sends to mobile phone terminal progress
Preserve.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-OnlyMemory, ROM) or random access memory
(RandomAccessMemory, RAM) etc..
It should be noted that above-described embodiment can independent assortment as needed.Described above is only the preferred of the present invention
Embodiment, it is noted that for those skilled in the art, is not departing from the premise of the principle of the invention
Under, some improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.