CN104461742B - Calculate equipment optimization method and device - Google Patents
Calculate equipment optimization method and device Download PDFInfo
- Publication number
- CN104461742B CN104461742B CN201410779334.3A CN201410779334A CN104461742B CN 104461742 B CN104461742 B CN 104461742B CN 201410779334 A CN201410779334 A CN 201410779334A CN 104461742 B CN104461742 B CN 104461742B
- Authority
- CN
- China
- Prior art keywords
- equipment
- optimisation strategy
- optimization
- processes
- resource utilization
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 429
- 238000005457 optimization Methods 0.000 title claims abstract description 118
- 230000008569 process Effects 0.000 claims abstract description 396
- 238000013386 optimize process Methods 0.000 claims abstract description 24
- 238000012806 monitoring device Methods 0.000 claims abstract description 8
- 230000015654 memory Effects 0.000 claims description 46
- 230000002159 abnormal effect Effects 0.000 claims description 16
- 235000013399 edible fruits Nutrition 0.000 claims description 8
- 230000007613 environmental effect Effects 0.000 claims description 7
- 238000012544 monitoring process Methods 0.000 claims description 6
- 238000004148 unit process Methods 0.000 claims description 3
- 230000008859 change Effects 0.000 description 3
- 238000004140 cleaning Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 239000000725 suspension Substances 0.000 description 3
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000009931 harmful effect Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
Abstract
The invention discloses a kind of calculating equipment optimization method and device, wherein, method includes: the resource utilization of all processes in monitoring device;When resource utilization in all processes exceedes the first optimization grade point in process optimisation strategy, use the first optimisation strategy in described process optimisation strategy that described equipment is optimized process;Judge whether the resource utilization of all processes in the equipment after optimization process is more than the predetermined optimal value in process optimisation strategy, if greater than described predetermined optimal value, then use the second optimisation strategy in described process optimisation strategy that described equipment is optimized process.Said method can improve the speed of service of calculating equipment, promotes Consumer's Experience simultaneously.
Description
Technical field
The present invention relates to Internet technology, be specifically related to a kind of calculating equipment optimization method and dress
Put.
Background technology
Currently, the application program (the most substantial amounts of free application program) of magnanimity carries to user
Having carried out more selection, user can select installation on electronic equipment/calculating equipment many
Individual application program, to meet oneself demand (such as, web page browsing, audio frequency at different aspect
With video playback, reading, the networking telephone, navigator fix, game etc.).Current most of electricity
In the operating system of subset, after user selects to exit application program, this application program is not
Can completely close, but continue to run with on the backstage of operating system, or in system start-up be or
Person starts and automatically at running background in the case of other, in order to user selects to run this application program
Time can quickly open it, or continue to network data when running background, connect in real time
Receive Email, news, Weather information, the social content such as software and chat software message.
Thus, the program of running background makes the speed of service of operating system slack-off, makes system grasp
Make to become the most smooth, and substantial amounts of application program operationally can produce substantial amounts of garbage files,
Occupying system resources, causes Consumer's Experience extreme difference.
In consideration of it, prior art goes out the software being now able to that electronic equipment carries out " a key cleaning ",
User clicks on this " a key cleaning " button, can terminate current electronic device partial user and not make
Background program, but the equipment after latter end background program can not meet user
Use demand, the resource utilization of this equipment is the highest, and now, this software is the most no longer
Clear up further, thus, it is impossible to meet the use demand of user, and equipment cannot be ensured
Normal use.
Summary of the invention
For defect of the prior art, the invention provides a kind of calculate equipment optimization method and
Device, the method can improve the speed of service of terminal, and improve Consumer's Experience simultaneously.
First aspect, the present invention provides a kind of and calculates equipment optimization device, including:
Monitoring unit, the resource utilization of all processes in monitoring device;
Optimize processing unit, exceed process optimisation strategy for the resource utilization in all processes
In first optimization grade point time, use the first optimisation strategy pair in described process optimisation strategy
Described equipment is optimized process;
Judging unit, the resource of all processes in equipment after judging optimization process uses
Whether rate is more than the predetermined optimal value in process optimisation strategy;
Described optimization processing unit, in the equipment after the optimization being additionally operable in judging unit process
The resource utilization of all processes more than described predetermined optimal value, then use described process optimization
The second optimisation strategy in strategy is optimized process to described equipment.
Alternatively, described optimization processing unit, it is additionally operable to
In the equipment that described judging unit judges after using the second optimisation strategy optimization to process
When the resource utilization of all processes is more than predetermined optimal value, continue to use described process to optimize plan
M optimisation strategy in slightly is optimized process to described device process;
Until optimization process after described equipment in the resource utilization of all processes be less than
Predetermined optimal value in process optimisation strategy;
Wherein, described M is the natural number more than 2.
Alternatively, described process optimisation strategy be in advance from server download with equipment be
The strategy that system environmental information is corresponding;
In described process optimisation strategy divide have more than one optimize grade point, and with this optimization
The optimisation strategy that grade point is corresponding;
The optimisation strategy that each optimization grade point is corresponding is that described server uses letter according to user
The optimisation strategy of breath statistics;
Predetermined optimal value in described process optimisation strategy is that user is according to more than one optimization
The optimal value that grade point determines.
Alternatively, described optimization processing unit, specifically for
Judging unit judge before, search in described equipment run be not belonging to user use
Background process, terminates the background process searched, and discharges these background process correspondence programs and take
Internal memory, and clear up the junk data of these background process correspondence programs.
Alternatively, described optimization processing unit, it is additionally operable to
After judging unit judges, by the resource utilization of process each in equipment according to size
It is ranked up, it is judged that whether the process coming top N belongs to the process that user is currently in use, as
Fruit is not belonging to, then terminate the process of top N, and discharge that these process correspondence programs take interior
Deposit, and clear up the junk data of these process correspondence programs;
Or,
Determine and equipment belongs to the process that user is currently in use, terminate described equipment to be not belonging to use
The process that family is currently in use, and discharge the internal memory that these process correspondence programs take, and clear up this
The junk data of a little process correspondence programs;
Or,
Judge whether the process that in current device, user is currently in use is in normal operating condition, as
Fruit is in abnormal operational conditions, then terminate to be in described equipment entering of abnormal operational conditions
Journey, and discharge the internal memory that these process correspondence programs take, and clear up these process correspondence programs
Junk data;
Or,
Terminate all of process in described equipment, and discharge that these process correspondence programs take interior
Deposit, and clear up the junk data of these process correspondence programs;
Wherein, N is the natural number more than or equal to 1.
Alternatively, described optimization processing unit, specifically for
Search the process of process to be optimized, on the interface of equipment eject prompt window, described in carry
Show that window includes: the program that the process of process to be optimized is corresponding;
Terminate the process of process to be optimized that user selects, and discharge these process correspondence programs and account for
Internal memory, and clear up the junk data of these process correspondence programs;
Wherein, the process of described process to be optimized includes following one or more:
Process that user is currently in use, it is in the process of abnormal operational conditions, background process,
The top n process that resource utilization is high;
Wherein, N is the natural number more than or equal to 1.
Alternatively, the resource utilization of each process calculates according to following one or more information
Obtain:
The memory usage of this process, central processor CPU occupancy, disk input and output IO
Information, network throughput;
The resource utilization of described process is that the resource utilization weighting according to each process processes
Obtain.
Alternatively, described judging unit, it is additionally operable to
The resource utilization of all processes in equipment after optimization processes is less than or equal to process
After predetermined optimal value in optimisation strategy, terminate to optimize.
Second aspect, the present invention also provides for a kind of calculating equipment optimization method, including:
The resource utilization of all processes in monitoring device;
Resource utilization in all processes exceedes the first optimization grade in process optimisation strategy
During value, use the first optimisation strategy in described process optimisation strategy that described equipment is optimized
Process;
Judge optimization process after equipment in the resource utilization of all processes whether be more than into
Predetermined optimal value in journey optimisation strategy, if greater than described predetermined optimal value, then uses described
The second optimisation strategy in process optimisation strategy is optimized process to described equipment.
Alternatively, described method also includes:
Judgement uses the resource of all processes in the equipment after the second optimisation strategy optimization process
Whether utilization rate is more than described predetermined optimal value, if it does, continue to use described process optimization
Described device process optimization is processed by the M optimisation strategy in strategy
Until optimization process after described equipment in the resource utilization of all processes be less than
Predetermined optimal value in process optimisation strategy;
Wherein, described M is the natural number more than 2.
Alternatively, described process optimisation strategy be in advance from server download with equipment be
The strategy that system environmental information is corresponding;
In described process optimisation strategy divide have more than one optimize grade point, and with this optimization
The optimisation strategy that grade point is corresponding;
The optimisation strategy that each optimization grade point is corresponding is that described server uses letter according to user
The optimisation strategy of breath statistics;
Predetermined optimal value in described process optimisation strategy is that user is according to more than one optimization
The optimal value that grade point determines.
Alternatively, use the first optimisation strategy in described process optimisation strategy that described equipment is entered
Row optimization processes, including:
Searching the background process that user uses that is not belonging to run in described equipment, end is searched
Background process, and discharge the internal memory that these background process correspondence programs take, and after clearing up these
The junk data of platform process correspondence program.
Alternatively, use the M optimisation strategy in described process optimisation strategy that described equipment is entered
Row optimization processes, including:
The resource utilization of process each in equipment is ranked up according to size, it is judged that before coming
Whether the process of N position belongs to the process that user is currently in use, if be not belonging to, then terminates front N
The process of position, and discharge the internal memory that these process correspondence programs take, and clear up these processes pair
Answer the junk data of program;
Or,
Determine and equipment belongs to the process that user is currently in use, terminate described equipment to be not belonging to use
The process that family is currently in use, and discharge the internal memory that these process correspondence programs take, and clear up this
The junk data of a little process correspondence programs;
Or,
Judge whether the process that in current device, user is currently in use is in normal operating condition, as
Fruit is in abnormal operational conditions, then terminate to be in described equipment entering of abnormal operational conditions
Journey, and discharge the internal memory that these process correspondence programs take, and clear up these process correspondence programs
Junk data;
Or,
Terminate all of process in described equipment, and discharge that these process correspondence programs take interior
Deposit, and clear up the junk data of these process correspondence programs;
Wherein, N is the natural number more than or equal to 1.
Alternatively, use the M optimisation strategy in described process optimisation strategy that described equipment is entered
Row optimization processes, including:
Search the process of process to be optimized, on the interface of equipment eject prompt window, described in carry
Show that window includes: the program that the process of process to be optimized is corresponding;
Terminate the process of process to be optimized that user selects, and discharge these process correspondence programs and account for
Internal memory, and clear up the junk data of these process correspondence programs;
Wherein, the process of described process to be optimized includes following one or more:
Process that user is currently in use, it is in the process of abnormal operational conditions, background process,
The top n process that resource utilization is high;
Wherein, N is the natural number more than or equal to 1.
Alternatively, the resource utilization of each process calculates according to following one or more information
Obtain:
The memory usage of this process, central processor CPU occupancy, disk input and output IO
Information, network throughput;
The resource utilization of described process is that the resource utilization weighting according to each process processes
Obtain.
Alternatively, described method also includes:
If optimization process after equipment in the resource utilization of all processes be less than or equal to into
Predetermined optimal value in journey optimisation strategy, then terminate to optimize.
As shown from the above technical solution, the calculating equipment optimization method and device that the present invention provides,
This optimization method, by the resource utilization of all processes in real-time monitoring equipment, uses in resource
When rate is more than the first optimization grade point, use the first optimisation strategy that equipment is optimized, if
Also cannot meet user's use demand to equipment after optimization, then carry out suboptimization again, so that excellent
In equipment after change, the resource utilization of all processes meets the predetermined optimal value of user, thus,
The speed of service of equipment can be effectively improved, promote Consumer's Experience.
Accompanying drawing explanation
The flow process signal of the equipment optimization method that calculates that Figure 1A provides for one embodiment of the invention
Figure;
The schematic diagram of the prompt window that Figure 1B provides for one embodiment of the invention;
The schematic diagram of process list in the equipment that Fig. 1 C provides for one embodiment of the invention;
The flow process signal of the equipment optimization method that calculates that Fig. 2 provides for another embodiment of the present invention
Figure;
The structural representation calculating equipment optimization device that Fig. 3 provides for one embodiment of the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings, the detailed description of the invention of invention is further described.Hereinafter implement
Example is only used for clearly illustrating technical scheme, and can not limit this with this
Bright protection domain.
Figure 1A shows that the flow process calculating equipment optimization method that one embodiment of the invention provides is shown
Being intended to, as shown in Figure 1A, the calculating equipment optimization method of the present embodiment is as described below.
101, the resource utilization of all processes in monitoring device.
For example, the resource utilization of described process is the resource utilization according to each process
Weighting processes and obtains.
In the present embodiment, the resource utilization of each process is according to following one or more information
It is calculated: the memory usage of this process, central processing unit (Central Processing Unit,
It is called for short CPU) occupancy, disk input and output (IO) information, network throughput etc..
It will be appreciated that the process in equipment refers to the program being currently running in equipment.Such as Fig. 1 C
The schematic diagram of shown process list.In actual applications, can connect by using application program
All process lists in mouthful Activity Manager acquisition equipment (i.e. include active schedule and non-
The list of active schedule), and obtain the resource use that in this process list, each process is current
Rate, this process identification (PID).Thus, can the resource utilization of all processes in acquisition equipment.
102, the first optimization during the resource utilization in all processes exceedes process optimisation strategy
During grade point, use the first optimisation strategy in described process optimisation strategy that described equipment is carried out
Optimization processes.
It can be latter end process that optimization in the present embodiment processes, and discharges shared by this process
Internal memory, and the data cached or junk data etc. that this process is corresponding.
For example, under the process optimisation strategy in the present embodiment can be in advance from Cloud Server
Strategy corresponding to the system environmental information with equipment carried;
In described process optimisation strategy divide have more than one optimize grade point, and with this optimization
The optimisation strategy that grade point is corresponding;The optimisation strategy that each optimization grade point is corresponding is described cloud clothes
Business device uses the optimisation strategy of Information Statistics according to user;
Predetermined optimal value in described process optimisation strategy is that user is according to more than one optimization
The optimal value that grade point determines.
In actual applications, this predetermined optimal value can be the second optimization grade point, or can be
Three optimize grade point, or, it is that the first optimization grade point and second optimizes between grade point
Optimal values etc., the present embodiment is not limited thereof, by way of example only.
It addition, the system environmental information of equipment can be the hardware loop of this equipment reality in the present embodiment
Border (such as CPU information, memory information and hard disk information) and the version of software environment such as operating system
Software information that this information, operating system carry and registry information or interface function information
Deng.
103, judge optimization process after equipment in the resource utilization of all processes the biggest
Predetermined optimal value in process optimisation strategy.
It will be appreciated that optimization process after equipment in the resource utilization of all processes less than former
The resource utilization of all processes in equipment in step 101.
For example, optimization in a step 102 processes and can be off browser process, browses
Device plug-in unit process and browser extension process etc., then all processes in the equipment after optimization processes
Resource utilization does not the most include that above-mentioned browser process, browser plug-in process and browser expands
The resource utilization of exhibition process.
104, if greater than described predetermined optimal value, and less than the first optimization grade point, then adopt
By the second optimisation strategy in described process optimisation strategy, described equipment is optimized process.
Further, after using the second optimisation strategy optimization to process, also can determine whether in equipment
Whether the resource utilization of current all processes is more than predetermined optimal value;
That is, it is judged that use the money of all processes in the equipment after the second optimisation strategy optimization process
Whether source utilization rate is more than described predetermined optimal value, if it does, continue to use described process excellent
Described device process optimization is processed by the M optimisation strategy changed in strategy, until after optimization processes
Described equipment in the resource utilization of all processes less than or equal in process optimisation strategy
Predetermined optimal value;
Wherein, described M is the natural number more than 2.
Certainly, if the resource utilization of all processes in the equipment after optimization process is less than
Predetermined optimal value in process optimisation strategy, then terminate to optimize.
It will be appreciated that optimization in a step 102 processes can include discharging Installed System Memory, clearly
Reason system rubbish etc..
In a particular application, cleaning Installed System Memory is mainly by the program that will be currently running
Importing to realize in virtual memory from physical memory, concrete importing process can be by adjusting
The interface function provided by windows system realizes, by the program that will be currently running from thing
Reason internal memory imports to virtual memory, can reduce memory usage with release physical memory space.
Further, it is automatically switched off reactionless program: when detecting that program card after death will be closed automatically
Close, thus improve system stability.Close the service that the system resources such as some committed memories are too much
(such as, windowsupdate upgrade service), the feature of such service is, accounts for during operation
The most with internal memory, and after closing, the computer of user also will not be produced harmful effect.
Remove dll file useless in internal memory: by the rubbish dll file remained in system or other
Temporary file remove, improve system performance.
In a kind of specific example, using in described process optimisation strategy in step 102
First optimisation strategy is optimized process to described equipment, it may include:
Searching the background process that user uses that is not belonging to run in described equipment, end is searched
Background process, and discharge the internal memory that these background process correspondence programs take, and after clearing up these
The junk data of platform process correspondence program.
In another kind of concrete implementation mode, if above-mentioned Figure 1A needing perform step
103, now, the second optimisation strategy pair in the described process optimisation strategy of employing in step 103
Described equipment is optimized process, may particularly include:
The resource utilization of process each in equipment is ranked up according to size, it is judged that before coming
Whether the process of N position belongs to the process that user is currently in use, if be not belonging to, then terminates front N
The process of position, and discharge the internal memory that these process correspondence programs take, and clear up these processes pair
Answer the junk data of program;
Above-mentioned M optimisation strategy can be the 3rd optimisation strategy or other optimisation strategy or above-mentioned
The second optimisation strategy etc., the present embodiment is not limited thereof.
In the third concrete implementation mode, if using in described process optimisation strategy
M optimisation strategy/the second optimisation strategy is optimized process to described equipment, may particularly include:
Determine and equipment belongs to the process that user is currently in use, terminate described equipment to be not belonging to use
The process that family is currently in use, and discharge the internal memory that these process correspondence programs take, and clear up this
The junk data of a little process correspondence programs.
Above-mentioned M optimisation strategy can be the 3rd optimisation strategy or the 3rd optimisation strategy etc., this reality
Execute example to be not limited thereof.
In the 4th kind of concrete implementation mode, if using in described process optimisation strategy
Two optimisation strategy/the M optimisation strategy are optimized process to described equipment, may particularly include:
Judge whether the process that in current device, user is currently in use is in normal operating condition, as
Fruit is in abnormal operational conditions, then terminate to be in described equipment entering of abnormal operational conditions
Journey, and discharge the internal memory that these process correspondence programs take, and clear up these process correspondence programs
Junk data.
Certainly, if after performing the 3rd optimisation strategy, in equipment, the resource of all processes makes
Also it is not up to predetermined optimal value by rate, now, all of process in described equipment can be terminated, and
Discharge the internal memory that these process correspondence programs take, and clear up the rubbish of these process correspondence programs
Data.
Such as, when current suspension ball is red, this equipment can be carried out " key accelerates ",
" key accelerates " at this can be to use the first above-mentioned optimisation strategy that equipment is optimized place
Reason;
If after " key accelerates ", the color of suspension ball or redness, the most again carry out " one
Key accelerates ", " key accelerates " now can be to use the second above-mentioned optimisation strategy to equipment
It is optimized process;Now checking whether the color of suspension ball turns green, if turing green, then can recognize
For meeting the demand of user after equipment optimization, otherwise, " key accelerates " can again be carried out.
By upper, the calculating equipment optimization method of the present embodiment, by all in real-time monitoring equipment
The resource utilization of process, when resource utilization is more than the first optimization grade point, uses first
Equipment is optimized by optimisation strategy, if also cannot meet user's use to equipment after You Huaing
Demand, then carry out suboptimization again, so that the resource utilization of all processes in the equipment after You Huaing
Meet the predetermined optimal value of user, thus, the speed of service of equipment can be effectively improved, promote and use
Family is experienced.
Fig. 2 shows that the flow process calculating equipment optimization method that one embodiment of the invention provides is illustrated
Figure, as in figure 2 it is shown, the calculating equipment optimization method of the present embodiment is as described below.
201, the resource utilization of all processes in monitoring device.
For example, the resource utilization of described process is the resource utilization according to each process
Weighting processes and obtains.
In the present embodiment, the resource utilization of each process is according to following one or more information
Being calculated: the memory usage of this process, central processor CPU occupancy, disk inputs
Output IO information, network throughput etc..
202, judge in current device, whether the resource utilization of all processes exceedes process optimization
The first optimization grade point in strategy.
203, the first optimization during the resource utilization in all processes exceedes process optimisation strategy
During grade point, search the process of process to be optimized, the interface of equipment shown prompt window,
Described prompt window includes: program that the process of process to be optimized is corresponding and the choosing whether optimized
?.
In actual applications, if the resource utilization of all processes is not less than entering in current device
The first optimization grade point in journey optimisation strategy, is not optimized process to this equipment.
If 204 users select according to the above-mentioned option whether optimized, then can terminate to use
The process of the process to be optimized that family selects, and discharge the internal memory that these process correspondence programs take,
And clear up the junk data of these process correspondence programs.
For example, the process of described process to be optimized includes following one or more:
Process that user is currently in use, it is in the process of abnormal operational conditions, background process,
The top n process that resource utilization is high;
205, judge optimization process after equipment in the resource utilization of all processes the biggest
Predetermined optimal value in process optimisation strategy.
If less than equal to described predetermined optimal value, then can terminate Optimizing Flow.
If greater than described predetermined optimal value, and less than the first optimization grade point, can perform aforementioned
Step 203, such as, can search the process of process to be optimized, ejects and carry on the interface of equipment
Showing window (as shown in Figure 1B), described prompt window includes: the process of process to be optimized is corresponding
Program, and the information such as resource utilization corresponding to this process.
Correspondingly, if user selects according to above-mentioned prompt window, then can terminate user's choosing
The process of the process to be optimized selected, and discharge the internal memory that these process correspondence programs take, and clearly
Manage the junk data of these process correspondence programs.
The calculating equipment optimization method of the present embodiment, by repeatedly Optimizing Flow, can make in equipment
The resources occupation rate of all processes reaches predetermined optimal value, thus, can be effectively improved the fortune of equipment
Line speed, promotes Consumer's Experience.
Further, it is possible to the resource utilization etc. representing all processes to be optimized to user is believed
Breath, user can carry out free system resources by these processes carry out corresponding optimization process,
To accelerate the speed of service of equipment.
Fig. 3 shows the structural representation calculating equipment optimization device that one embodiment of the invention provides
Figure, as it is shown on figure 3, the calculating equipment optimization device of the present embodiment includes: monitoring unit 31,
Optimize processing unit 32, judging unit 33;
Wherein, the resource utilization of the monitoring unit 31 all processes in monitoring device;
Optimize processing unit 32 and optimize plan for exceeding process in the resource utilization of all processes
When in slightly first optimizes grade point, use the first optimisation strategy in described process optimisation strategy
Described equipment is optimized process;
The resource of all processes in the judging unit 33 equipment after judging optimization process makes
By rate whether more than the predetermined optimal value in process optimisation strategy;
Setting after the optimization process that described optimization processing unit 32 is additionally operable in judging unit 33
The resource utilization of all processes in Bei is more than described predetermined optimal value, then use described process
The second optimisation strategy in optimisation strategy is optimized process to described equipment.
Alternatively, described optimization processing unit 32 is additionally operable to, and judges to adopt at described judging unit 33
The resource utilization of all processes in equipment after processing with the second optimisation strategy optimization is more than
During predetermined optimal value, continue to use the M optimisation strategy in described process optimisation strategy to described
Device process is optimized process;Until optimization process after described equipment in all processes
Resource utilization is less than or equal to the predetermined optimal value in process optimisation strategy;
Wherein, described M is the natural number more than 2.
Certainly, it is judged that unit 33 is additionally operable to, all processes in the equipment after optimization processes
After resource utilization is less than or equal to the predetermined optimal value in process optimisation strategy, terminate to optimize.
Process optimisation strategy in the present embodiment can be in advance from server download and equipment
Strategy corresponding to system environmental information;
In described process optimisation strategy divide have more than one optimize grade point, and with this optimization
The optimisation strategy that grade point is corresponding;
The optimisation strategy that each optimization grade point is corresponding is that described server uses letter according to user
The optimisation strategy of breath statistics;
Predetermined optimal value in described process optimisation strategy is that user is according to more than one optimization
The optimal value that grade point determines.
In the present embodiment, the resource utilization of each process is according to following one or more information
Being calculated: the memory usage of this process, central processor CPU occupancy, disk inputs
Output IO information, network throughput;
The resource utilization of described process is that the resource utilization weighting according to each process processes
Obtain.
For example, aforesaid optimization processing unit 32 can be specifically for, at judging unit 33
Before judgement, search the background process that user uses that is not belonging to run in described equipment, end
The background process searched, and discharge the internal memory that these background process correspondence programs take, and clear up
The junk data of these background process correspondence programs.
Further, optimize processing unit 32 and be additionally operable to, after judging unit 33 judges, will
In equipment, the resource utilization of each process is ranked up according to size, it is judged that come top N
Whether process belongs to the process that user is currently in use, if be not belonging to, then terminates entering of top N
Journey, and discharge the internal memory that these process correspondence programs take, and clear up these process correspondence programs
Junk data;
Or,
Determine and equipment belongs to the process that user is currently in use, terminate described equipment to be not belonging to use
The process that family is currently in use, and discharge the internal memory that these process correspondence programs take, and clear up this
The junk data of a little process correspondence programs.
Or,
Judge whether the process that in current device, user is currently in use is in normal operating condition, as
Fruit is in abnormal operational conditions, then terminate to be in described equipment entering of abnormal operational conditions
Journey, and discharge the internal memory that these process correspondence programs take, and clear up these process correspondence programs
Junk data;
Or,
Terminate all of process in described equipment, and discharge that these process correspondence programs take interior
Deposit, and clear up the junk data of these process correspondence programs;
Wherein, N is the natural number more than or equal to 1.
In alternatively possible implementation, described optimization processing unit 32 is specifically for sentencing
Before or after disconnected unit, search the process of process to be optimized, the interface of equipment is ejected and carries
Show that window, described prompt window include: program that the process of process to be optimized is corresponding and the most excellent
The option changed;
Terminate the process of process to be optimized that user selects, and discharge these process correspondence programs and account for
Internal memory, and clear up the junk data of these process correspondence programs;
Wherein, the process of described process to be optimized includes following one or more:
Process that user is currently in use, it is in the process of abnormal operational conditions, background process,
The top n process that resource utilization is high;
Wherein, N is the natural number more than or equal to 1.
Additionally, the calculating equipment optimization device of the present embodiment can perform aforesaid Fig. 1 to Fig. 2 institute
Flow process in the embodiment of the method shown, the present embodiment is not described in detail at this.
The equipment optimization device that calculates in the present embodiment can the resource of process in many suboptimization equipment
Utilization rate, and then the operating rate of calculating equipment can be effectively improved, Consumer's Experience can be improved simultaneously.
The present invention illustrates as a example by Windows system, do not limit said method for iOS,
In the operating systems such as Android.
In the description of the present invention, illustrate a large amount of detail.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of not having these details.At some examples
In, it is not shown specifically known method, structure and technology, in order to not fuzzy to this specification
Understanding.
Similarly, it will be appreciated that disclose to simplify the present invention and help to understand each invented party
One or more in face, above in the description of the exemplary embodiment of the present invention, this
Each bright feature is grouped together in single embodiment, figure or descriptions thereof sometimes.
But, should the method for the disclosure not explained the most required for protection in reflecting an intention that
Application claims feature more more than the feature being expressly recited in each claim.More true
Say with cutting, as the following claims reflect as, inventive aspect is less than above
All features of disclosed single embodiment.Therefore, it then follows the claim of detailed description of the invention
Book is thus expressly incorporated in this detailed description of the invention, and the most each claim itself is as this
The independent embodiment of invention.
It will be understood by those skilled in the art that and the module in the equipment in embodiment can be carried out
Adaptively change and they are provided in different one or more of this embodiment and set
In Bei.Can the module in embodiment or unit or assembly be combined into a module or unit or
Assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except
At least some in such feature and/or process or unit is mutually exclusive part, permissible
Use any combination to public in this specification (including adjoint claim, summary and accompanying drawing)
All features of opening and the disclosedest any method or all processes of equipment or unit
It is combined.Unless expressly stated otherwise, this specification (includes adjoint claim, plucks
Want and accompanying drawing) disclosed in each feature can be by providing identical, equivalent or the replacing of similar purpose
Replace for feature.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein
Including some feature included in other embodiments rather than further feature, but different enforcement
The combination of the feature of example means to be within the scope of the present invention and formed different enforcement
Example.Such as, in the following claims, embodiment required for protection one of arbitrarily
Can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or with at one or many
The software module run on individual processor realizes, or realizes with combinations thereof.This area
It will be appreciated by the skilled person that microprocessor or digital signal processor can be used in practice
(DSP) some in the equipment of a kind of browser terminal according to embodiments of the present invention are realized
Or all some or all functions of parts.The present invention is also implemented as performing this
Part or all equipment of the method described by or device program (such as, calculate
Machine program and computer program).The program of such present invention of realization can be stored in meter
On calculation machine computer-readable recording medium, or can be to have the form of one or more signal.Such letter
Number can download from internet website and to obtain, or provide on carrier signal, or to appoint
What his form provides.
The present invention will be described rather than enters the present invention to it should be noted above-described embodiment
Row limits, and those skilled in the art are without departing from the scope of the appended claims
Alternative embodiment can be designed.In the claims, any ginseng between bracket should not will be located in
Examine symbol construction and become limitations on claims.Word " comprises " not exclude the presence of and is not listed in right
Element in requirement or step.Word "a" or "an" before being positioned at element does not excludes the presence of
Multiple such elements.The present invention can by means of include some different elements hardware and
Realize by means of properly programmed computer.If listing the unit claim of equipment for drying
In, several in these devices can be specifically to be embodied by same hardware branch.Word
First, second and third use do not indicate that any order.Can be by these word explanations
For title.
It is last it is noted that various embodiments above is only in order to illustrate technical scheme,
It is not intended to limit;Although the present invention being described in detail with reference to foregoing embodiments,
It will be understood by those within the art that: it still can be to described in foregoing embodiments
Technical scheme modify, or the most some or all of technical characteristic carried out equivalent replace
Change;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the present invention each
The scope of embodiment technical scheme, it all should be contained in the claim of the present invention and description
In the middle of scope.
Claims (10)
1. one kind calculates equipment optimization device, it is characterised in that including:
Monitoring unit, the resource utilization of all processes in monitoring device;Wherein, enter
Journey refers to the program being currently running in equipment;
Optimize processing unit, exceed process optimisation strategy for the resource utilization in all processes
In first optimization grade point time, use the first optimisation strategy pair in described process optimisation strategy
Described equipment is optimized process;
Judging unit, the resource of all processes in equipment after judging optimization process uses
Whether rate is more than the predetermined optimal value in process optimisation strategy;
Described optimization processing unit, in the equipment after the optimization being additionally operable in judging unit process
The resource utilization of all processes more than described predetermined optimal value, then use described process optimization
The second optimisation strategy in strategy is optimized process to described equipment.
Device the most according to claim 1, it is characterised in that described optimization processing unit,
It is additionally operable to
In the equipment that described judging unit judges after using the second optimisation strategy optimization to process
When the resource utilization of all processes is more than predetermined optimal value, continue to use described process to optimize plan
M optimisation strategy in slightly is optimized process to described device process;
Until optimization process after described equipment in the resource utilization of all processes be less than
Predetermined optimal value in process optimisation strategy;
Wherein, described M is the natural number more than 2.
Device the most according to claim 1, it is characterised in that described process optimisation strategy
For the strategy that the system environmental information with equipment downloaded from server in advance is corresponding;
In described process optimisation strategy divide have more than one optimize grade point, and with this optimization
The optimisation strategy that grade point is corresponding;
The optimisation strategy that each optimization grade point is corresponding is that described server uses letter according to user
The optimisation strategy of breath statistics;
Predetermined optimal value in described process optimisation strategy is that user is according to more than one optimization
The optimal value that grade point determines.
4. according to the arbitrary described device of claims 1 to 3, it is characterised in that described optimization
Processing unit, specifically for
Judging unit judge before, search in described equipment run be not belonging to user use
Background process, terminates the background process searched, and discharges these background process correspondence programs and take
Internal memory, and clear up the junk data of these background process correspondence programs.
Device the most according to claim 2, it is characterised in that described optimization processing unit,
It is additionally operable to
After judging unit judges, by the resource utilization of process each in equipment according to size
It is ranked up, it is judged that whether the process coming top N belongs to the process that user is currently in use, as
Fruit is not belonging to, then terminate the process of top N, and discharge that these process correspondence programs take interior
Deposit, and clear up the junk data of these process correspondence programs;
Or,
Determine and equipment belongs to the process that user is currently in use, terminate described equipment to be not belonging to use
The process that family is currently in use, and discharge the internal memory that these process correspondence programs take, and clear up this
The junk data of a little process correspondence programs;
Or,
Judge whether the process that in current device, user is currently in use is in normal operating condition, as
Fruit is in abnormal operational conditions, then terminate to be in described equipment entering of abnormal operational conditions
Journey, and discharge the internal memory that these process correspondence programs take, and clear up these process correspondence programs
Junk data;
Or,
Terminate all of process in described equipment, and discharge that these process correspondence programs take interior
Deposit, and clear up the junk data of these process correspondence programs;
Wherein, N is the natural number more than or equal to 1.
6. one kind calculates equipment optimization method, it is characterised in that including:
The resource utilization of all processes in monitoring device;Wherein, during process refers to equipment just
In the program run;
Resource utilization in all processes exceedes the first optimization grade in process optimisation strategy
During value, use the first optimisation strategy in described process optimisation strategy that described equipment is optimized
Process;
Judge optimization process after equipment in the resource utilization of all processes whether be more than into
Predetermined optimal value in journey optimisation strategy, if greater than described predetermined optimal value, then uses described
The second optimisation strategy in process optimisation strategy is optimized process to described equipment.
Method the most according to claim 6, it is characterised in that described method also includes:
Judgement uses the resource of all processes in the equipment after the second optimisation strategy optimization process
Whether utilization rate is more than described predetermined optimal value, if it does, continue to use described process optimization
Described device process optimization is processed by the M optimisation strategy in strategy;
Until optimization process after described equipment in the resource utilization of all processes be less than
Predetermined optimal value in process optimisation strategy;
Wherein, described M is the natural number more than 2.
Method the most according to claim 6, it is characterised in that described process optimisation strategy
For the strategy that the system environmental information with equipment downloaded from server in advance is corresponding;
In described process optimisation strategy divide have more than one optimize grade point, and with this optimization
The optimisation strategy that grade point is corresponding;
The optimisation strategy that each optimization grade point is corresponding is that described server uses letter according to user
The optimisation strategy of breath statistics;
Predetermined optimal value in described process optimisation strategy is that user is according to more than one optimization
The optimal value that grade point determines.
9. according to the arbitrary described method of claim 6 to 8, it is characterised in that use described
The first optimisation strategy in process optimisation strategy is optimized process to described equipment, including:
Searching the background process that user uses that is not belonging to run in described equipment, end is searched
Background process, and discharge the internal memory that these background process correspondence programs take, and after clearing up these
The junk data of platform process correspondence program.
Method the most according to claim 7, it is characterised in that use described process excellent
The M optimisation strategy changed in strategy is optimized process to described equipment, including:
The resource utilization of process each in equipment is ranked up according to size, it is judged that before coming
Whether the process of N position belongs to the process that user is currently in use, if be not belonging to, then terminates front N
The process of position, and discharge the internal memory that these process correspondence programs take, and clear up these processes pair
Answer the junk data of program;
Or,
Determine and equipment belongs to the process that user is currently in use, terminate described equipment to be not belonging to use
The process that family is currently in use, and discharge the internal memory that these process correspondence programs take, and clear up this
The junk data of a little process correspondence programs;
Or,
Judge whether the process that in current device, user is currently in use is in normal operating condition, as
Fruit is in abnormal operational conditions, then terminate to be in described equipment entering of abnormal operational conditions
Journey, and discharge the internal memory that these process correspondence programs take, and clear up these process correspondence programs
Junk data;
Or,
Terminate all of process in described equipment, and discharge that these process correspondence programs take interior
Deposit, and clear up the junk data of these process correspondence programs;
Wherein, N is the natural number more than or equal to 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410779334.3A CN104461742B (en) | 2014-12-15 | 2014-12-15 | Calculate equipment optimization method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410779334.3A CN104461742B (en) | 2014-12-15 | 2014-12-15 | Calculate equipment optimization method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104461742A CN104461742A (en) | 2015-03-25 |
CN104461742B true CN104461742B (en) | 2016-10-12 |
Family
ID=52907840
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410779334.3A Active CN104461742B (en) | 2014-12-15 | 2014-12-15 | Calculate equipment optimization method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104461742B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104850595B (en) * | 2015-04-27 | 2018-07-27 | 小米科技有限责任公司 | Optimize the method and apparatus of webpage opening time |
CN105148516A (en) * | 2015-06-25 | 2015-12-16 | 四川天上友嘉网络科技有限公司 | Online game accelerating method |
CN105117321B (en) * | 2015-06-30 | 2018-07-31 | 浪潮(北京)电子信息产业有限公司 | A kind of process management method and management of process terminal |
CN106326137B (en) * | 2015-07-02 | 2020-09-22 | 腾讯科技(深圳)有限公司 | Memory optimization method and device and user equipment |
CN107783835A (en) * | 2016-08-31 | 2018-03-09 | 中国电信股份有限公司 | System optimization method and device |
CN107436812B (en) * | 2017-07-28 | 2019-08-20 | 北京深思数盾科技股份有限公司 | A kind of method and device of linux system performance optimization |
CN107479953B (en) * | 2017-07-31 | 2020-08-25 | Oppo广东移动通信有限公司 | Process management method, device, storage medium and electronic equipment |
CN107861812B (en) * | 2017-10-30 | 2022-01-11 | 北京博瑞彤芸科技股份有限公司 | Memory cleaning method |
CN109343902B (en) * | 2018-09-26 | 2021-08-03 | Oppo广东移动通信有限公司 | Audio processing assembly operation method and device, terminal and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2755133A1 (en) * | 2013-01-10 | 2014-07-16 | Fujitsu Limited | Application execution controller and application execution method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070300239A1 (en) * | 2006-06-23 | 2007-12-27 | International Business Machines Corporation | Dynamic application instance placement in data center environments |
CN102736953B (en) * | 2011-04-08 | 2015-06-17 | 腾讯科技(深圳)有限公司 | System resource allocation method and equipment |
CN102306095B (en) * | 2011-07-21 | 2017-04-05 | 宇龙计算机通信科技(深圳)有限公司 | Application management method and terminal |
CN102831045B (en) * | 2012-06-21 | 2015-04-08 | 北京奇虎科技有限公司 | Method and device for detecting starting items in terminal equipment |
CN103164268B (en) * | 2013-04-02 | 2016-04-20 | 北京奇虎科技有限公司 | System optimization method and device |
CN103645955A (en) * | 2013-12-16 | 2014-03-19 | 百度在线网络技术(北京)有限公司 | Running management method and device for application program |
-
2014
- 2014-12-15 CN CN201410779334.3A patent/CN104461742B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2755133A1 (en) * | 2013-01-10 | 2014-07-16 | Fujitsu Limited | Application execution controller and application execution method |
Also Published As
Publication number | Publication date |
---|---|
CN104461742A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104461742B (en) | Calculate equipment optimization method and device | |
CN103164268B (en) | System optimization method and device | |
CN103955405B (en) | A kind of application management method and its device | |
CN105023165A (en) | Method, device and system for controlling release tasks in social networking platform | |
CN103167180A (en) | System and method for controlling surfing internet through mobile phone | |
CN103390194A (en) | Method, device and system for predicating user intention and recommending suggestion | |
CN104503841A (en) | Process clearing method and process clearing device | |
CN105243559A (en) | Customer distribution method and device | |
CN107147724A (en) | A kind of information push method, server and computer-readable recording medium | |
CN104601659A (en) | Application recommendation method and system | |
CN104503831B (en) | Equipment optimization method and device | |
CN102004994B (en) | Online product recommendation and selection method, device and system | |
CN106547615A (en) | A kind of management method and management module of background application | |
CN106055358A (en) | Game mode setting method and device | |
CN102377588A (en) | Network transmission control method and system | |
CN103873273A (en) | Method and device for limiting web applications | |
CN110430590A (en) | Network is sliced matching process and device | |
CN105302566A (en) | Process optimizing method and system | |
CN105893152A (en) | Memory management method and device and mobile terminal | |
CN105354293A (en) | Assisted implementation method and apparatus for pushing playing object in mobile terminal | |
CN105739955A (en) | Method and device of clearing application programs of terminal | |
CN103634470A (en) | Human-computer interaction prediction method based on terminal mobile data access network Qos | |
CN103023757B (en) | Message display device and methods of exhibiting | |
CN106792616A (en) | Mobile terminal user's surfing flow analysis method and system | |
CN104951551A (en) | Data classifying method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220721 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |