CN104461742A - Method and device for optimizing computing equipment - Google Patents

Method and device for optimizing computing equipment Download PDF

Info

Publication number
CN104461742A
CN104461742A CN201410779334.3A CN201410779334A CN104461742A CN 104461742 A CN104461742 A CN 104461742A CN 201410779334 A CN201410779334 A CN 201410779334A CN 104461742 A CN104461742 A CN 104461742A
Authority
CN
China
Prior art keywords
optimisation strategy
processes
equipment
optimization
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.)
Granted
Application number
CN201410779334.3A
Other languages
Chinese (zh)
Other versions
CN104461742B (en
Inventor
杨继鑫
李良
潘全新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410779334.3A priority Critical patent/CN104461742B/en
Publication of CN104461742A publication Critical patent/CN104461742A/en
Application granted granted Critical
Publication of CN104461742B publication Critical patent/CN104461742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and a device for optimizing computing equipment. The method comprises the following steps of monitoring resource usage rate of all processes in the equipment; optimizing the equipment by using a first optimizing strategy in all process optimizing strategies when the resource usage rate of all the processes exceeds a first optimizing grade value in the process optimizing strategies; judging whether the resource usage rate of all the processes in the optimized equipment is greater than a preset optimizing value in the process optimizing strategies or not; and optimizing the equipment by using a second optimizing strategy in the process optimizing strategies if the resource usage rate of all the processes in the optimized equipment is greater than the preset optimizing value in the process optimizing strategies. By the method, the running speed of the computing equipment can be increased, and the user experience is improved.

Description

Computing equipment optimization method and device
Technical field
The present invention relates to Internet technology, be specifically related to a kind of computing equipment optimization method and device.
Background technology
Current, the application program (particularly a large amount of free application programs) of magnanimity brings more selection to user, user generally can select to install multiple application program on electronic equipment/computing equipment, to meet oneself demand (such as, web page browsing, Voice & Video broadcasting, reading, the networking telephone, navigator fix, game etc.) at different aspect.In the operating system of current most of electronic equipment, after user selects to exit application program, this application program can't be closed completely, but continue on the backstage of operating system to run, or start in system and be or automatically start in other situation and at running background, so that user can open it when selecting to run this application program fast, or continue receiving network data when running background, the contents such as real-time reception Email, news, Weather information, social software and chat software message.
Thus, the program of running background makes the travelling speed of operating system slack-off, make Dynamic System become not smooth, and a large amount of application programs operationally can produce a large amount of garbage files, occupying system resources, causes Consumer's Experience extreme difference.
Given this, there is the software that can carry out " a key cleaning " to electronic equipment in prior art, user clicks this " a key cleaning " button, the background program that current electronic device partial user does not use can be terminated, but the equipment after latter end background program can not meet the user demand of user, the resource utilization of this equipment is still very high, now, this software is also cleared up no longer further, thus, the user demand of user cannot be met, and the normal use of equipment cannot be ensured.
Summary of the invention
For defect of the prior art, the invention provides a kind of computing equipment optimization method and device, the method can improve the travelling speed of terminal, and improves Consumer's Experience simultaneously.
First aspect, the invention provides a kind of computing equipment optimization device, comprising:
Monitoring unit, for the resource utilization of all processes in watch-dog;
Optimization process unit, during for exceeding the first optimization grade point in process optimisation strategy in the resource utilization of all processes, adopts the first optimisation strategy in described process optimisation strategy to be optimized process to described equipment;
Judging unit, for judging whether the resource utilization of all processes in the equipment after optimization process is greater than the predetermined optimal value in process optimisation strategy;
Described optimization process unit, the resource utilization also for all processes in the equipment after the optimization process in judging unit is greater than described predetermined optimal value, then adopt the second optimisation strategy in described process optimisation strategy to be optimized process to described equipment.
Alternatively, described optimization process unit, also for
When the resource utilization of all processes in the equipment after described judging unit judges the optimization process of employing second optimisation strategy is greater than predetermined optimal value, continue to adopt the M optimisation strategy in described process optimisation strategy to be optimized process to described device process;
Until the resource utilization of all processes in described equipment after optimization process is less than or equal to the predetermined optimal value in process optimisation strategy;
Wherein, described M be greater than 2 natural number.
Alternatively, described process optimisation strategy is the strategy corresponding with system environmental information that is equipment that be that download from server in advance;
Dividing in described process optimisation strategy has more than one to optimize grade point, and the optimisation strategy corresponding with this optimization grade point;
Each optimisation strategy optimizing grade point corresponding is that described server uses the optimisation strategy of Information Statistics according to user;
Predetermined optimal value in described process optimisation strategy is the optimal value that user determines according to more than one optimization grade point.
Alternatively, described optimization process unit, specifically for
Before judging unit judges, search in described equipment run do not belong to the background process that user uses, terminate the background process searched, and discharge the internal memory that the corresponding programs of these background process take, and clear up the junk data of the corresponding programs of these background process.
Alternatively, described optimization process unit, also for
After judging unit judges, the resource utilization of each process in equipment is sorted according to size, judge the process whether process coming top N belongs to user and using, if do not belonged to, then terminate the process of top N, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Determine to belong in equipment the process that user is using, terminate not belong in described equipment the process that user is using, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Judge whether the process that in current device, user is using is in normal operating condition, if be in abnormal operational conditions, then terminate the process being in abnormal operational conditions in described equipment, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Terminate processes all in described equipment, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Wherein, N be more than or equal to 1 natural number.
Alternatively, described optimization process unit, specifically for
Search the process of process to be optimized, prompt window is ejected at the interface of equipment, described prompt window comprises: the program that the process of process to be optimized is corresponding;
The process of process to be optimized that end user is selected, and the internal memory discharging that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Wherein, the process of described process to be optimized comprises following one or more:
The process that user is using, be in the process of abnormal operational conditions, the top n process that background process, resource utilization are high;
Wherein, N be more than or equal to 1 natural number.
Alternatively, the resource utilization of each process calculates according to following one or more information:
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 obtain according to the resource utilization weighting process of each process.
Alternatively, described judging unit, also for
After the resource utilization of all processes in the equipment after optimization process is less than or equal to the predetermined optimal value in process optimisation strategy, terminate to optimize.
Second aspect, the present invention also provides a kind of computing equipment optimization method, comprising:
The resource utilization of all processes in watch-dog;
When exceeding the first optimization grade point in process optimisation strategy in the resource utilization of all processes, the first optimisation strategy in described process optimisation strategy is adopted to be optimized process to described equipment;
Judge whether the resource utilization of all processes in the equipment after optimization process is greater than the predetermined optimal value in process optimisation strategy, if be greater than described predetermined optimal value, then the second optimisation strategy in described process optimisation strategy is adopted to be optimized process to described equipment.
Alternatively, described method also comprises:
Judge whether the resource utilization of all processes in the equipment after the optimization process of employing second optimisation strategy is greater than described predetermined optimal value, if be greater than, the M optimisation strategy in the described process optimisation strategy of continuation employing is to described device process optimization process
Until the resource utilization of all processes in described equipment after optimization process is less than or equal to the predetermined optimal value in process optimisation strategy;
Wherein, described M be greater than 2 natural number.
Alternatively, described process optimisation strategy is the strategy corresponding with system environmental information that is equipment that be that download from server in advance;
Dividing in described process optimisation strategy has more than one to optimize grade point, and the optimisation strategy corresponding with this optimization grade point;
Each optimisation strategy optimizing grade point corresponding is that described server uses the optimisation strategy of Information Statistics according to user;
Predetermined optimal value in described process optimisation strategy is the optimal value that user determines according to more than one optimization grade point.
Alternatively, adopt the first optimisation strategy in described process optimisation strategy to be optimized process to described equipment, comprising:
Search in described equipment run do not belong to the background process that user uses, terminate the background process searched, and discharge the internal memory that the corresponding programs of these background process take, and clear up the junk data of the corresponding programs of these background process.
Alternatively, adopt the M optimisation strategy in described process optimisation strategy to be optimized process to described equipment, comprising:
The resource utilization of each process in equipment is sorted according to size, judge the process whether process coming top N belongs to user and using, if do not belonged to, then terminate the process of top N, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Determine to belong in equipment the process that user is using, terminate not belong in described equipment the process that user is using, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Judge whether the process that in current device, user is using is in normal operating condition, if be in abnormal operational conditions, then terminate the process being in abnormal operational conditions in described equipment, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Terminate processes all in described equipment, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Wherein, N be more than or equal to 1 natural number.
Alternatively, adopt the M optimisation strategy in described process optimisation strategy to be optimized process to described equipment, comprising:
Search the process of process to be optimized, prompt window is ejected at the interface of equipment, described prompt window comprises: the program that the process of process to be optimized is corresponding;
The process of process to be optimized that end user is selected, and the internal memory discharging that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Wherein, the process of described process to be optimized comprises following one or more:
The process that user is using, be in the process of abnormal operational conditions, the top n process that background process, resource utilization are high;
Wherein, N be more than or equal to 1 natural number.
Alternatively, the resource utilization of each process calculates according to following one or more information:
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 obtain according to the resource utilization weighting process of each process.
Alternatively, described method also comprises:
If the resource utilization of all processes in the equipment after optimization process is less than or equal to the predetermined optimal value in process optimisation strategy, then terminate to optimize.
As shown from the above technical solution, computing equipment optimization method provided by the invention and device, this optimization method is by the resource utilization of all processes in real-time monitoring equipment, when resource utilization is more than the first optimization grade point, the first optimisation strategy is adopted to be optimized equipment, if the user demand of user to equipment also cannot be met after optimizing, then carry out suboptimization again, with the predetermined optimal value making the resource utilization of all processes in the equipment after optimization meet user, thus, effectively can improve the travelling speed of equipment, promote Consumer's Experience.
In instructions of the present invention, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, to disclose and to help to understand in each inventive aspect one or more to simplify the present invention, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should not explained the following intention in reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
It will be understood by those skilled in the art that adaptively to change the module in the equipment in embodiment and they are arranged and be in one or more equipment that this embodiment is different.Module in embodiment or unit or assembly can 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, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the equipment of a kind of browser terminal of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme, it all should be encompassed in the middle of the scope of claim of the present invention and instructions.
Accompanying drawing explanation
The schematic flow sheet of the computing equipment optimization method that Figure 1A provides for one embodiment of the invention;
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 schematic flow sheet of the computing equipment optimization method that Fig. 2 provides for another embodiment of the present invention;
The structural representation of the computing equipment optimization device that Fig. 3 provides for one embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of invention is further described.Following examples only for technical scheme of the present invention is clearly described, and can not limit the scope of the invention with this.
Figure 1A shows the schematic flow sheet of the computing equipment optimization method that one embodiment of the invention provides, and as shown in Figure 1A, the computing equipment optimization method of the present embodiment is as described below.
The resource utilization of all processes 101, in watch-dog.
For example, the resource utilization of described process is obtain according to the resource utilization weighting process of each process.
In the present embodiment, the resource utilization of each process calculates according to following one or more information: the memory usage of this process, central processing unit (Central Processing Unit, be called for short CPU) occupancy, disk input and output (IO) information, network throughput etc.
Will be understood that, the process in equipment refers to the program run in equipment.The schematic diagram of process list as shown in Figure 1 C.In actual applications, can by using all process lists (namely comprising the list of active schedule and inactive process) in application programming interfaces Activity Manager acquisition equipment, and obtain resource utilization that in this process list, each process is current, this process identification (PID).Thus, can the resource utilization of all processes in acquisition equipment.
When 102, exceeding the first optimization grade point in process optimisation strategy in the resource utilization of all processes, the first optimisation strategy in described process optimisation strategy is adopted to be optimized process to described equipment.
Optimization process in the present embodiment can be latter end process, and discharges the internal memory shared by this process, and the data cached or junk data etc. that this process is corresponding.
For example, the process optimisation strategy in the present embodiment can be the strategy corresponding with system environmental information that is equipment that be that download from Cloud Server in advance;
Dividing in described process optimisation strategy has more than one to optimize grade point, and the optimisation strategy corresponding with this optimization grade point; Each optimisation strategy optimizing grade point corresponding is that described Cloud Server uses the optimisation strategy of Information Statistics according to user;
Predetermined optimal value in described process optimisation strategy is the optimal value that user determines according to more than one optimization grade point.
In actual applications, this predetermined optimal value can be the second optimization grade point, or can be the 3rd optimization grade point, or be the optimal value etc. that the first optimization grade point and second optimizes between grade point, the present embodiment does not limit it, is only and illustrates.
In addition, in the present embodiment, the system environmental information of equipment can be the software information and registry information or interface function information etc. that the hardware environment (as CPU information, memory information and hard disk information) of this equipment reality and software environment carry as the version information of operating system, operating system.
103, judge whether the resource utilization of all processes in the equipment after optimization process is greater than the predetermined optimal value in process optimisation strategy.
Will be understood that, in the equipment after optimization process, the resource utilization of all processes is less than the resource utilization of all processes in equipment in former step 101.
For example, optimization process in a step 102 can be closes browser process, browser plug-in process and browser extension process etc., then in the equipment after optimization process, the resource utilization of all processes does not then comprise the resource utilization of above-mentioned browser process, browser plug-in process and browser extension process.
If 104 are greater than described predetermined optimal value, and be less than the first optimization grade point, then adopt the second optimisation strategy in described process optimisation strategy to be optimized process to described equipment.
Further, after the optimization process of employing second optimisation strategy, whether the resource utilization of all processes that also can be current in judgment device is greater than predetermined optimal value;
Namely, judge whether the resource utilization of all processes in the equipment after the optimization process of employing second optimisation strategy is greater than described predetermined optimal value, if be greater than, continue to adopt M optimisation strategy in described process optimisation strategy to described device process optimization process, until the resource utilization of all processes in described equipment after optimization process is less than or equal to the predetermined optimal value in process optimisation strategy;
Wherein, described M be greater than 2 natural number.
Certainly, if the resource utilization of all processes in the equipment after optimization process is less than or equal to the predetermined optimal value in process optimisation strategy, then terminate to optimize.
Will be understood that, optimization process in a step 102 can comprise delivery system internal memory, cleaning system rubbish etc.
In a particular application, cleaning Installed System Memory mainly realizes in virtual memory by the current program run to be imported to from physical memory, concrete importing process realizes by the interface function calling windows system and provide, by the program run is imported to virtual memory from physical memory, can release physical storage space, reduce memory usage.
Further, automatically close reactionless program: when detecting that program card after death will be closed automatically, thus improve system stability.Close the service (such as, windowsupdate upgrade service) that the system resources such as some committed memories are too much, the feature of such service is, during operation, committed memory is very many, and also can not produce harmful effect to the computer of user after closing.
Remove dll file useless in internal memory: the rubbish dll file remained in system or other temporary file are removed, improve the performance of system.
In a kind of concrete example, the first optimisation strategy in the described process of the employing in step 102 optimisation strategy is optimized process to described equipment, can comprise:
Search in described equipment run do not belong to the background process that user uses, terminate the background process searched, and discharge the internal memory that the corresponding programs of these background process take, and clear up the junk data of the corresponding programs of these background process.
In the implementation that another kind is concrete, if need in above-mentioned Figure 1A to perform step 103, now, the second optimisation strategy in the described process of the employing in step 103 optimisation strategy is optimized process to described equipment, can specifically comprise:
The resource utilization of each process in equipment is sorted according to size, judge the process whether process coming top N belongs to user and using, if do not belonged to, then terminate the process of top N, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Above-mentioned M optimisation strategy can be the 3rd optimisation strategy or other optimisation strategy or above-mentioned the second optimisation strategy etc., and the present embodiment does not limit it.
In the implementation that the third is concrete, if adopt M optimisation strategy/the second optimisation strategy in described process optimisation strategy to be optimized process to described equipment, can specifically comprise:
Determine to belong in equipment the process that user is using, terminate not belong in described equipment the process that user is using, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes.
Above-mentioned M optimisation strategy can be the 3rd optimisation strategy or the 3rd optimisation strategy etc., and the present embodiment does not limit it.
In the 4th kind of concrete implementation, if adopt the second optimisation strategy/the M optimisation strategy in described process optimisation strategy to be optimized process to described equipment, can specifically comprise:
Judge whether the process that in current device, user is using is in normal operating condition, if be in abnormal operational conditions, then terminate the process being in abnormal operational conditions in described equipment, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes.
Certainly, if after execution the 3rd optimisation strategy, in equipment, the resource utilization of all processes does not also reach predetermined optimal value, now, processes all in described equipment can be terminated, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes.
Such as, when current suspension ball is red, can carry out this equipment " key accelerates ", " key accelerates " at this place can be and adopt the first above-mentioned optimisation strategy to be optimized process to equipment;
If after " key accelerates ", the color of suspension ball or redness, then carry out " key accelerates " again, and " key accelerates " now can be and adopt the second above-mentioned optimisation strategy to be optimized process to equipment; Now check whether the color of suspension ball turns green, if turn green, then can think the demand meeting user after equipment optimization, otherwise, can again carry out " key accelerates ".
By upper, the computing equipment optimization method of the present embodiment, by the resource utilization of processes all in real-time monitoring equipment, when resource utilization is more than the first optimization grade point, the first optimisation strategy is adopted to be optimized equipment, if the user demand of user to equipment also cannot be met after optimizing, then carry out suboptimization again, with the predetermined optimal value making the resource utilization of all processes in the equipment after optimization meet user, thus, effectively can improve the travelling speed of equipment, promote Consumer's Experience.
Fig. 2 shows the schematic flow sheet of the computing equipment optimization method that one embodiment of the invention provides, and as shown in Figure 2, the computing equipment optimization method of the present embodiment is as described below.
The resource utilization of all processes 201, in watch-dog.
For example, the resource utilization of described process is obtain according to the resource utilization weighting process of each process.
In the present embodiment, the resource utilization of each process calculates according to following one or more information: the memory usage of this process, central processor CPU occupancy, disk input and output IO information, network throughput etc.
202, judge whether the resource utilization of all processes in current device exceedes first in process optimisation strategy and optimize grade point.
When 203, exceeding the first optimization grade point in process optimisation strategy in the resource utilization of all processes, search the process of process to be optimized, prompt window is shown at the interface of equipment, and described prompt window comprises: the program that the process of process to be optimized is corresponding and the option whether optimized.
In actual applications, if the resource utilization of all processes does not exceed the first optimization grade point in process optimisation strategy in current device, then process is not optimized to this equipment.
If 204 users select according to the above-mentioned option whether optimized, then can the process of process to be optimized selected of end user, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes.
For example, the process of described process to be optimized comprises following one or more:
The process that user is using, be in the process of abnormal operational conditions, the top n process that background process, resource utilization are high;
205, judge whether the resource utilization of all processes in the equipment after optimization process is greater than the predetermined optimal value in process optimisation strategy.
If be less than or equal to described predetermined optimal value, then Optimizing Flow can be terminated.
If be greater than described predetermined optimal value, and be less than the first optimization grade point, abovementioned steps 203 can be performed, such as, the process of process to be optimized can be searched, the interface of equipment is ejected prompt window (as shown in Figure 1B), and described prompt window comprises: the program that the process of process to be optimized is corresponding, and the information such as resource utilization corresponding to this process.
Correspondingly, if user selects according to above-mentioned prompt window, then can the process of process to be optimized selected of end user, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes.
The computing equipment optimization method of the present embodiment, by repeatedly Optimizing Flow, can make the resources occupation rate of all processes in equipment reach predetermined optimal value, thus, effectively can improve the travelling speed of equipment, promotes Consumer's Experience.
Further, can represent the information such as the resource utilization of all processes to be optimized to user, user, by carrying out corresponding optimization process to these processes, carrys out free system resources, to accelerate the travelling speed of equipment.
Fig. 3 shows the structural representation of the computing equipment optimization device that one embodiment of the invention provides, and as shown in Figure 3, the computing equipment optimization device of the present embodiment comprises: monitoring unit 31, optimization process unit 32, judging unit 33;
Wherein, monitoring unit 31 is for the resource utilization of all processes in watch-dog;
When optimization process unit 32 optimizes grade point for exceeding first in process optimisation strategy in the resource utilization of all processes, the first optimisation strategy in described process optimisation strategy is adopted to be optimized process to described equipment;
Judging unit 33 is for judging whether the resource utilization of all processes in the equipment after optimization process is greater than the predetermined optimal value in process optimisation strategy;
Described optimization process unit 32 is also greater than described predetermined optimal value for the resource utilization of all processes in the equipment after the optimization process in judging unit 33, then adopt the second optimisation strategy in described process optimisation strategy to be optimized process to described equipment.
Alternatively, described optimization process unit 32 also for, when the resource utilization of all processes in the equipment after described judging unit 33 judges the optimization process of employing second optimisation strategy is greater than predetermined optimal value, continue to adopt the M optimisation strategy in described process optimisation strategy to be optimized process to described device process; Until the resource utilization of all processes in described equipment after optimization process is less than or equal to the predetermined optimal value in process optimisation strategy;
Wherein, described M be greater than 2 natural number.
Certainly, judging unit 33 terminates to optimize after being also less than or equal to the predetermined optimal value in process optimisation strategy for the resource utilization of, all processes in the equipment after optimization process.
Process optimisation strategy in the present embodiment can be the strategy corresponding with system environmental information that is equipment that be that download from server in advance;
Dividing in described process optimisation strategy has more than one to optimize grade point, and the optimisation strategy corresponding with this optimization grade point;
Each optimisation strategy optimizing grade point corresponding is that described server uses the optimisation strategy of Information Statistics according to user;
Predetermined optimal value in described process optimisation strategy is the optimal value that user determines according to more than one optimization grade point.
In the present embodiment, the resource utilization of each process calculates according to following one or more information: 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 obtain according to the resource utilization weighting process of each process.
For example, aforesaid optimization process unit 32 can be specifically for, before judging unit 33 judges, search in described equipment the background process not belonging to user's use run, terminate the background process searched, and discharge the internal memory that the corresponding programs of these background process take, and clear up the junk data of the corresponding programs of these background process.
Further, optimization process unit 32 also for, after judging unit 33 judges, the resource utilization of each process in equipment is sorted according to size, judge the process whether process coming top N belongs to user and using if do not belonged to, then to terminate the process of top N, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Determine to belong in equipment the process that user is using, terminate not belong in described equipment the process that user is using, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes.
Or,
Judge whether the process that in current device, user is using is in normal operating condition, if be in abnormal operational conditions, then terminate the process being in abnormal operational conditions in described equipment, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Terminate processes all in described equipment, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Wherein, N be more than or equal to 1 natural number.
In the implementation that another kind is possible, described optimization process unit 32 is specifically for before or after judging unit, search the process of process to be optimized, prompt window is ejected at the interface of equipment, and described prompt window comprises: the program that the process of process to be optimized is corresponding and the option whether optimized;
The process of process to be optimized that end user is selected, and the internal memory discharging that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Wherein, the process of described process to be optimized comprises following one or more:
The process that user is using, be in the process of abnormal operational conditions, the top n process that background process, resource utilization are high;
Wherein, N be more than or equal to 1 natural number.
In addition, the computing equipment optimization device of the present embodiment can perform the flow process in the embodiment of the method shown in aforesaid Fig. 1 to Fig. 2, and the present embodiment does not describe in detail at this.
Computing equipment optimization device in the present embodiment can the repeatedly resource utilization of process in optimized device, and then effectively can improve the operating rate of computing equipment, can improve Consumer's Experience simultaneously.
The present invention illustrates for Windows system, does not limit said method in the operating systems such as iOS, Android.

Claims (10)

1. a computing equipment optimization device, is characterized in that, comprising:
Monitoring unit, for the resource utilization of all processes in watch-dog;
Optimization process unit, during for exceeding the first optimization grade point in process optimisation strategy in the resource utilization of all processes, adopts the first optimisation strategy in described process optimisation strategy to be optimized process to described equipment;
Judging unit, for judging whether the resource utilization of all processes in the equipment after optimization process is greater than the predetermined optimal value in process optimisation strategy;
Described optimization process unit, the resource utilization also for all processes in the equipment after the optimization process in judging unit is greater than described predetermined optimal value, then adopt the second optimisation strategy in described process optimisation strategy to be optimized process to described equipment.
2. device according to claim 1, is characterized in that, described optimization process unit, also for
When the resource utilization of all processes in the equipment after described judging unit judges the optimization process of employing second optimisation strategy is greater than predetermined optimal value, continue to adopt the M optimisation strategy in described process optimisation strategy to be optimized process to described device process;
Until the resource utilization of all processes in described equipment after optimization process is less than or equal to the predetermined optimal value in process optimisation strategy;
Wherein, described M be greater than 2 natural number.
3. device according to claim 1, is characterized in that, described process optimisation strategy is the strategy corresponding with system environmental information that is equipment that be that download from server in advance;
Dividing in described process optimisation strategy has more than one to optimize grade point, and the optimisation strategy corresponding with this optimization grade point;
Each optimisation strategy optimizing grade point corresponding is that described server uses the optimisation strategy of Information Statistics according to user;
Predetermined optimal value in described process optimisation strategy is the optimal value that user determines according to more than one optimization grade point.
4., according to the arbitrary described device of claims 1 to 3, it is characterized in that, described optimization process unit, specifically for
Before judging unit judges, search in described equipment run do not belong to the background process that user uses, terminate the background process searched, and discharge the internal memory that the corresponding programs of these background process take, and clear up the junk data of the corresponding programs of these background process.
5. device according to claim 2, is characterized in that, described optimization process unit, also for
After judging unit judges, the resource utilization of each process in equipment is sorted according to size, judge the process whether process coming top N belongs to user and using, if do not belonged to, then terminate the process of top N, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Determine to belong in equipment the process that user is using, terminate not belong in described equipment the process that user is using, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Judge whether the process that in current device, user is using is in normal operating condition, if be in abnormal operational conditions, then terminate the process being in abnormal operational conditions in described equipment, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Terminate processes all in described equipment, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Wherein, N be more than or equal to 1 natural number.
6. a computing equipment optimization method, is characterized in that, comprising:
The resource utilization of all processes in watch-dog;
When exceeding the first optimization grade point in process optimisation strategy in the resource utilization of all processes, the first optimisation strategy in described process optimisation strategy is adopted to be optimized process to described equipment;
Judge whether the resource utilization of all processes in the equipment after optimization process is greater than the predetermined optimal value in process optimisation strategy, if be greater than described predetermined optimal value, then the second optimisation strategy in described process optimisation strategy is adopted to be optimized process to described equipment.
7. method according to claim 6, is characterized in that, described method also comprises:
Judge whether the resource utilization of all processes in the equipment after the optimization process of employing second optimisation strategy is greater than described predetermined optimal value, if be greater than, the M optimisation strategy in the described process optimisation strategy of continuation employing is to described device process optimization process;
Until the resource utilization of all processes in described equipment after optimization process is less than or equal to the predetermined optimal value in process optimisation strategy;
Wherein, described M be greater than 2 natural number.
8. method according to claim 6, is characterized in that, described process optimisation strategy is the strategy corresponding with system environmental information that is equipment that be that download from server in advance;
Dividing in described process optimisation strategy has more than one to optimize grade point, and the optimisation strategy corresponding with this optimization grade point;
Each optimisation strategy optimizing grade point corresponding is that described server uses the optimisation strategy of Information Statistics according to user;
Predetermined optimal value in described process optimisation strategy is the optimal value that user determines according to more than one optimization grade point.
9., according to the arbitrary described method of claim 6 to 8, it is characterized in that, adopt the first optimisation strategy in described process optimisation strategy to be optimized process to described equipment, comprising:
Search in described equipment run do not belong to the background process that user uses, terminate the background process searched, and discharge the internal memory that the corresponding programs of these background process take, and clear up the junk data of the corresponding programs of these background process.
10. method according to claim 7, is characterized in that, adopts the M optimisation strategy in described process optimisation strategy to be optimized process to described equipment, comprising:
The resource utilization of each process in equipment is sorted according to size, judge the process whether process coming top N belongs to user and using, if do not belonged to, then terminate the process of top N, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Determine to belong in equipment the process that user is using, terminate not belong in described equipment the process that user is using, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Judge whether the process that in current device, user is using is in normal operating condition, if be in abnormal operational conditions, then terminate the process being in abnormal operational conditions in described equipment, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Or,
Terminate processes all in described equipment, and discharge the internal memory that the corresponding programs of these processes take, and clear up the junk data of the corresponding programs of these processes;
Wherein, N be more than or equal to 1 natural number.
CN201410779334.3A 2014-12-15 2014-12-15 Calculate equipment optimization method and device Active CN104461742B (en)

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 true CN104461742A (en) 2015-03-25
CN104461742B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850595A (en) * 2015-04-27 2015-08-19 小米科技有限责任公司 Method and device for optimizing webpage opening time
CN105117321A (en) * 2015-06-30 2015-12-02 浪潮(北京)电子信息产业有限公司 Process management method and process management terminal
CN105148516A (en) * 2015-06-25 2015-12-16 四川天上友嘉网络科技有限公司 Online game accelerating method
CN106326137A (en) * 2015-07-02 2017-01-11 腾讯科技(深圳)有限公司 Memory optimization method and apparatus, and user equipment
CN107436812A (en) * 2017-07-28 2017-12-05 北京深思数盾科技股份有限公司 A kind of method and device of linux system performance optimization
CN107479953A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 process management method, device, storage medium and electronic equipment
CN107783835A (en) * 2016-08-31 2018-03-09 中国电信股份有限公司 System optimization method and device
CN107861812A (en) * 2017-10-30 2018-03-30 江西博瑞彤芸科技有限公司 A kind of internal memory method for cleaning
CN109343902A (en) * 2018-09-26 2019-02-15 Oppo广东移动通信有限公司 Operation method, device, terminal and the storage medium of audio processing components

Citations (7)

* Cited by examiner, † Cited by third party
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
CN102306095A (en) * 2011-07-21 2012-01-04 宇龙计算机通信科技(深圳)有限公司 Application management method and terminal
CN102736953A (en) * 2011-04-08 2012-10-17 腾讯科技(深圳)有限公司 System resource allocation method and equipment
CN102831045A (en) * 2012-06-21 2012-12-19 北京奇虎科技有限公司 Method and device for detecting starting items in terminal equipment
CN103164268A (en) * 2013-04-02 2013-06-19 北京奇虎科技有限公司 System optimization method and system optimization device
CN103645955A (en) * 2013-12-16 2014-03-19 百度在线网络技术(北京)有限公司 Running management method and device for application program
EP2755133A1 (en) * 2013-01-10 2014-07-16 Fujitsu Limited Application execution controller and application execution method

Patent Citations (7)

* Cited by examiner, † Cited by third party
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
CN102736953A (en) * 2011-04-08 2012-10-17 腾讯科技(深圳)有限公司 System resource allocation method and equipment
CN102306095A (en) * 2011-07-21 2012-01-04 宇龙计算机通信科技(深圳)有限公司 Application management method and terminal
CN102831045A (en) * 2012-06-21 2012-12-19 北京奇虎科技有限公司 Method and device for detecting starting items in terminal equipment
EP2755133A1 (en) * 2013-01-10 2014-07-16 Fujitsu Limited Application execution controller and application execution method
CN103164268A (en) * 2013-04-02 2013-06-19 北京奇虎科技有限公司 System optimization method and system optimization device
CN103645955A (en) * 2013-12-16 2014-03-19 百度在线网络技术(北京)有限公司 Running management method and device for application program

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850595A (en) * 2015-04-27 2015-08-19 小米科技有限责任公司 Method and device for optimizing webpage opening time
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
CN105117321A (en) * 2015-06-30 2015-12-02 浪潮(北京)电子信息产业有限公司 Process management method and process management terminal
CN106326137A (en) * 2015-07-02 2017-01-11 腾讯科技(深圳)有限公司 Memory optimization method and apparatus, and user equipment
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
CN107436812A (en) * 2017-07-28 2017-12-05 北京深思数盾科技股份有限公司 A kind of method and device of linux system performance optimization
CN107479953A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 process management method, device, storage medium and electronic equipment
CN107861812A (en) * 2017-10-30 2018-03-30 江西博瑞彤芸科技有限公司 A kind of internal memory method for cleaning
CN107861812B (en) * 2017-10-30 2022-01-11 北京博瑞彤芸科技股份有限公司 Memory cleaning method
CN109343902A (en) * 2018-09-26 2019-02-15 Oppo广东移动通信有限公司 Operation method, device, terminal and the storage medium of audio processing components
CN109343902B (en) * 2018-09-26 2021-08-03 Oppo广东移动通信有限公司 Audio processing assembly operation method and device, terminal and storage medium

Also Published As

Publication number Publication date
CN104461742B (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN104461742A (en) Method and device for optimizing computing equipment
CN103164268B (en) System optimization method and device
CN104503841A (en) Process clearing method and process clearing device
CN108495195B (en) Network live broadcast ranking list generation method, device, equipment and storage medium
CN104503887A (en) Method and device for showing state of computing equipment
US9164748B2 (en) Information backup method and apparatus
CN104503840A (en) Method and device for optimizing terminal resources
US20170323025A1 (en) Browser acceleration method and browser device having accelerator
CN106484858A (en) Hot Contents method for pushing and device
CN104486138A (en) Flow monitoring method and device and monitoring server
CN106897141A (en) The processing method and processing device of information
CN103501340A (en) Message push method, message push device and client
CN111131368A (en) Message pushing method and device
CN103034498A (en) Method and system for collating application programs
CN107147724A (en) A kind of information push method, server and computer-readable recording medium
CN104935655A (en) Data presentation method and device
CN104461546A (en) Application based computing device optimizing method and device
CN104536792A (en) Method and device for eliminating application program residual files
CN108829510B (en) Thread binding processing method and device
CN104503831A (en) Equipment optimization method and device
CN103701876A (en) Method and device based on shared network resources
CN104462542A (en) Application software icon classification method and system based on Android
CN106844026A (en) A kind of method and system for clearing up terminal device process
CN106569913A (en) Method and device for backing up data by terminal
CN106033322A (en) Method and device for data storage

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.