CN104503785A - Method and device for optimizing equipment based on network state - Google Patents

Method and device for optimizing equipment based on network state Download PDF

Info

Publication number
CN104503785A
CN104503785A CN201410778227.9A CN201410778227A CN104503785A CN 104503785 A CN104503785 A CN 104503785A CN 201410778227 A CN201410778227 A CN 201410778227A CN 104503785 A CN104503785 A CN 104503785A
Authority
CN
China
Prior art keywords
network connection
equipment
connection mode
network
information
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
CN201410778227.9A
Other languages
Chinese (zh)
Other versions
CN104503785B (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 CN201410778227.9A priority Critical patent/CN104503785B/en
Publication of CN104503785A publication Critical patent/CN104503785A/en
Application granted granted Critical
Publication of CN104503785B publication Critical patent/CN104503785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and a device for optimizing equipment based on a network state. The method comprises the steps of detecting a network connection mode of the equipment, wherein the network connection mode is an Internet surfing mode which is currently used by the equipment; obtaining a first process which is operated in the equipment, wherein the first process is a process for carrying out network connection on the equipment; determining whether a network connection mode of the first process is the same as the network connection mode of the current equipment or not, and executing process cleaning action on the first process if the network connection mode of the first process is not the same as the network connection mode of the current equipment. According to the method disclosed by the invention, the operating speed of the equipment can be increased, and meanwhile, the user experience can be increased.

Description

The equipment optimization method of state Network Based and device
Technical field
The present invention relates to Internet technology, be specifically related to a kind of equipment optimization method and device of state Network Based.
Background technology
At present, conventional internet network access has peer-peer protocol (Point to PointProtocol over Ethernet, be called for short PPPoe) DHCP (Dynamic HostConfiguration Protocol, be called for short DHCP) and static internet protocol (static ip) three kinds of modes.User will surf the Net, and first needs to know that network access that network access i.e. SAP provide is that above in three kinds of modes is a kind of, then arranges the network service on main frame according to different network accesses.Such as, if the words of PPPoe connection type, next step of user is exactly need to fill in correct username and password on the corresponding interface of main frame, if dhcp connection type, with regard to what, all it goes without doing on main frame for user, just directly to surf the Net, if static ip connection type, just need to fill in IP address, mask, the information such as gateway could be surfed the Net.
But, often preserve the process of various network access in equipment, so that user can use arbitrary network access to surf the Net.For this reason, process corresponding to above-mentioned network access takies more system resource, and when optimizing cleaning software in clean up process, directly cannot judge which process user adopts surf the Net, cannot be optimized thus to those processes.
The another kind of prioritization scheme be optimized equipment, such as, the button that user's pointing device possesses clearing function realizes the object of a key cleaning.This manner of cleaning up, can be clean by all process complete liquidations, such as, dials up on the telephone, then the process being used for realizing dialling up on the telephone also cleared up, cause the direct suspension of equipment if equipment adopts, destroy Consumer's Experience.
Summary of the invention
For defect of the prior art, the invention provides a kind of equipment optimization method and device of state Network Based, improve the travelling speed of equipment under the state that the method can ensure user's normal cluster, and improve Consumer's Experience simultaneously.
First aspect, the invention provides a kind of equipment optimization device of state Network Based, comprising:
Detecting unit, for detecting the network connection mode of described equipment, described network connection mode is the network access of the current use of described equipment;
Acquiring unit, for obtaining the first process run in described equipment, described first process is the process that described equipment carries out network connection;
Judging unit, whether the network connection mode for the network connection mode with current device of determining described first process is identical;
Cleaning unit, for when the network connection mode of described first process is not identical with the network connection mode of current device, to described first process executive process cleanup action.
Alternatively, described detecting unit, specifically for
The progress information run in equipment is sent server, judges the network connection mode of the current use of described equipment to make server according to preset strategy;
After described server determines the network connection mode of the current use of described equipment, receive the information of the network connection mode of the current use of described equipment that described server sends, the network connection mode of the current use of equipment.
Alternatively, described network connection mode is: the one in the pattern that dials up on the telephone, Narrowband Integrated Services Digital Network ISDN online pattern, broadband access network pattern, optical fiber online pattern, wireless Internet access pattern.
Alternatively, described acquiring unit, specifically for
By the progress information of operation current in described equipment, described progress information is sent server, to obtain the information of carrying out the process of network connection in described progress information according to preset strategy to make server;
Receive the information of carrying out the process of network connection in the described progress information of described server transmission;
According to the information of carrying out the process of network connection in described progress information, obtain described first process, described first process is the process of carrying out network connection in described equipment.
Alternatively, described cleaning unit, also for
Terminate described first process, and discharge the content that this first process takies, clear up the data cached and/or ephemeral data of described first process.
Second aspect, the present invention also provides a kind of equipment optimization method of connection status Network Based, comprising:
Detect the network connection mode of described equipment, described network connection mode is the network access of the current use of described equipment;
Obtain the first process run in described equipment, described first process is the process that described equipment carries out network connection;
Determine that whether the network connection mode of described first process is identical with the network connection mode of current device, if not identical, then to described first process executive process cleanup action.
Alternatively, detect the network connection mode of described equipment, comprising:
The progress information run in equipment is sent server, judges the network connection mode of the current use of described equipment to make server according to preset strategy;
After described server determines the network connection mode of the current use of described equipment, receive the information of the network connection mode of the current use of described equipment that described server sends, the network connection mode of the current use of equipment.
Alternatively, described network connection mode is: the one in the pattern that dials up on the telephone, Narrowband Integrated Services Digital Network ISDN online pattern, broadband access network pattern, optical fiber online pattern, wireless Internet access pattern.
Alternatively, the first process run in the described equipment of described acquisition, comprising:
By the progress information of operation current in described equipment, described progress information is sent server, to obtain the information of carrying out the process of network connection in described progress information according to preset strategy to make server;
Receive the information of carrying out the process of network connection in the described progress information of described server transmission;
According to the information of carrying out the process of network connection in described progress information, obtain described first process, described first process is the process of carrying out network connection in described equipment.
Alternatively, to described first process executive process cleanup action, comprising:
Terminate described first process, and discharge the content that this first process takies, clear up the data cached and/or ephemeral data of described first process.
As shown from the above technical solution, the equipment optimization method of state Network Based provided by the invention and device, this equipment optimization method is by the network connection mode of checkout equipment, and then in acquisition equipment, carry out the first process of network connection, determine that whether the network connection mode of the first process is identical with the network connection mode of current device, if not identical, to the first process executive process cleanup action, thus, process corresponding for current for equipment other network accesses do not used can be cleared up, under the state that can effectively ensure user's normal cluster thus, the travelling speed of raising equipment, improve Consumer's Experience simultaneously.
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 equipment optimization method of the state Network Based that Figure 1A provides for one embodiment of the invention;
The schematic flow sheet of the equipment optimization method of the state Network Based that Figure 1B provides for one embodiment of the invention;
The schematic diagram of the process list that Fig. 1 C provides for one embodiment of the invention;
The schematic flow sheet of the equipment optimization method of the state Network Based that Fig. 2 provides for another embodiment of the present invention;
The schematic flow sheet of the equipment optimization method of the state Network Based that Fig. 3 provides for another embodiment of the present invention;
The structural representation of the equipment optimization device of the state Network Based that Fig. 4 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 equipment optimization method of the state Network Based that one embodiment of the invention provides, and as shown in Figure 1A, the equipment optimization method of the state Network Based of the present embodiment is as described below.
The network connection mode of S01, checkout equipment, described network connection mode is the network access of the current use of described equipment.
For example, network connection mode can be: the one in the pattern that dials up on the telephone, Narrowband Integrated Services Digital Network ISDN online pattern, broadband access network pattern, optical fiber online pattern, wireless Internet access pattern etc.
In actual applications, local device can according to the network connection mode of the message determination current device of equipment transmission.
Or, during specific implementation, the progress information run can be sent server, judge the network connection mode of the current use of described equipment to make server according to preset strategy in equipment; After described server determines the network connection mode of the current use of described equipment, receive the information of the network connection mode of the current use of described equipment that described server sends, the network connection mode of the current use of equipment.
The server at this place can be Cloud Server.
S02, obtain the first process run in described equipment, described first process is the process that described equipment carries out network connection.
For example, this step realizes by following mode:
By the progress information of operation current in described equipment, described progress information is sent server, to obtain the information of carrying out the process of network connection in described progress information according to preset strategy to make server;
Receive the information of carrying out the process of network connection in the described progress information of described server transmission;
According to the information of carrying out the process of network connection in described progress information, obtain described first process, described first process is the process of carrying out network connection in described equipment.
S03, determine that whether the network connection mode of described first process is identical with the network connection mode of current device, if not identical, then to described first process executive process cleanup action.
Such as, terminate described first process, and discharge the content that this first process takies, clear up the data cached and/or ephemeral data of described first process.
Certainly, if the network connection mode of the first process is identical with the network connection mode of current device, to this first process executive process cleanup action, this first process can not be skipped.
In other embodiments, also can other progress informations in acquisition equipment except the first process, according to other progress informations, the current use scenes of described equipment can be determined;
Obtain the optimisation strategy of mating with current use scenes; Described optimisation strategy is adopted to be optimized the process run in described equipment.
Further, other progress informations can be sent server, to make described server according to the current use scenes of described progress information determination equipment, and the optimisation strategy of mating with this current use scenes; Receive the mark of the current use scenes of the described equipment that described server sends, and the optimisation strategy of mating with this current use scenes;
Wherein, described optimisation strategy is the optimisation strategy that described server is added up according to the use scenes of multiple equipment.
The equipment optimization method of the state Network Based of the present embodiment, by the network connection mode of checkout equipment, and then in acquisition equipment, carry out the first process of network connection, determine that whether the network connection mode of the first process is identical with the network connection mode of current device, if not identical, to the first process executive process cleanup action, thus, process corresponding for current for equipment other network accesses do not used can be cleared up, under the state that can effectively ensure user's normal cluster thus, the travelling speed of raising equipment, improves Consumer's Experience simultaneously.
Figure 1B shows the schematic flow sheet of the equipment optimization method of the state Network Based that one embodiment of the invention provides, and as shown in Figure 1B, the equipment optimization method of the state Network Based of the present embodiment is as described below.
101, the process list in fetch equipment, all processes that in traversal process list, current device runs.
Will be understood that, process refers to the program run in equipment.The schematic diagram of process list as shown in Figure 1 C.
Usually, can by all process lists (namely comprising the list of active schedule and inactive process) using application programming interfaces ActivityManager to obtain equipment.
102, judge whether the process be traversed has and belong to equipment for carrying out the process of network connection, if having, then perform step 103, otherwise, can deterministic process be terminated.
Equipment is belonged to for carrying out the process of network connection if having in the process be traversed in 103 steps 102, then can judge according to local preset strategy all network connection mode corresponding for the process of carrying out network connection of being traversed, described network connection mode is the network access of the current use of described equipment.
For example, the network access of current device can be: the mode that dials up on the telephone using MODEN to dial up on the telephone, use ADSL (Asymmetric DigitalSubscriber Line, asymmetrical digital subscriber) broadband dialing ISDN (Integrated Service Digital Network, Narrowband Integrated Services Digital Network) network access, use netting twine access broadband access network mode, optical fiber network access or use wireless network card access wireless Internet access mode, GPRS network access etc.
Usually, in general windows system, the process dialled up on the telephone can be: svchost.exe.
In actual applications, also determine whether this process is for carrying out the process of network connection in equipment by the program that process is corresponding.
In addition, the local preset strategy in step 103 can be the strategy that user is arranged in advance in a device, also can be the strategy downloaded from high in the clouds in advance.
104, according to the network connection mode of described equipment, the process not belonging to this network connection mode in all processes for carrying out network connection be traversed is determined, to the process executive process cleanup action determined.
For example, executive process cleanup action can be the background service program using stopService to close application corresponding to this process, and calls restartPackage interface by ActivityManager application programming interfaces, thoroughly closes this process.
In actual applications, in step 103, equipment cannot judge all network connection mode corresponding for the process of carrying out network connection be traversed according to local preset strategy, now, the method also can comprise not shown step 103 ':
103 ', the information of all processes for carrying out network connection be traversed being sent Cloud Server, judging the network connection mode of the current use of described equipment to make described Cloud Server according to high in the clouds preset strategy;
After Cloud Server determines the network connection mode of the current use of described equipment, receive the network connection mode of the current use of described equipment that described Cloud Server sends.
It should be noted that in the present embodiment, can execution step 103 ' after, more further perform step 104.
In the present embodiment, if network access is the mode of dialling up on the telephone, now, can without the need to cleaning for the process dialled up on the telephone, the process of other network accesses directly can be cleared up and namely directly be closed, then can carry out suspension process to equipment, realize the optimization (such as to process and/or service closedown, internal memory release, the cleaning system rubbish etc. of other network accesses) to equipment simultaneously.
The equipment optimization method of the state Network Based of the present embodiment, by judging which process belongs to the process for carrying out network connection, and then according to the network access of the current use of those process determination equipment, thus, process corresponding for current for equipment other network accesses do not used can be cleared up, effectively can improve the travelling speed of equipment thus, improve Consumer's Experience simultaneously.
In addition, it should be noted that, first equipment optimization method shown in Figure 1B is the network connection mode according to the current use of process determination equipment, in other embodiments, can also according to other information in equipment as whether broadband interface the network connection mode of information determination equipment such as uses, the present embodiment is only and illustrates, can not limit the determination mode of network connection mode.
In other embodiments, the equipment optimization method that also may occur can comprise following not shown step M01 and M02, M03:
Process list in M01, fetch equipment, obtains the progress information of all processes in this process list.
For example, progress information can comprise program name etc. corresponding to process title, process.
M02, adopt local network access analysis strategy to analyze the progress information of all processes, determine the network access of the current use of this process place equipment.
In a particular application, if when adopting equipment side to adopt local network access analysis strategy cannot analyze all progress informations, the progress information of this all process can be uploaded Cloud Server, to enable Cloud Server, according to the strategy of internal preset, to the progress information of all processes, only this analyzes, to determine the network access of the current use of equipment.
M03, network access according to the current use of equipment, determine in process list for carry out network connection process in do not belong to the process of this network access, to the process executive process cleanup action determined.
The process executive process cleanup action determined be can be and close those processes, and the information such as the internal memory discharged shared by those processes and cpu resource.
Mainly first determine the network access of equipment in the present embodiment, i.e. network connection mode, and then classification process is carried out to the process in equipment, the Web vector graphic of user can be ensured thus, and user's experience can be improved preferably.
Fig. 2 shows the schematic flow sheet of the equipment optimization method of the state Network Based that one embodiment of the invention provides, and as shown in Figure 2, the equipment optimization method of the state Network Based of the present embodiment is as described below.
101, the process list in fetch equipment, all processes that in traversal process list, current device runs.
Will be understood that, process refers to the program run in equipment.
102, judge whether the process be traversed has and belong to equipment for carrying out the process of network connection, if having, then perform step 103, otherwise, perform step 103a.
Equipment is belonged to for carrying out the process of network connection if having in the process be traversed in 103 steps 102, then can judge according to local preset strategy all network connection mode corresponding for the process of carrying out network connection of being traversed, described network connection mode is the network access of the current use of described equipment.
104, according to the network connection mode of described equipment, the process not belonging to this network connection mode in all processes for carrying out network connection be traversed is determined, to the process executive process cleanup action determined.
If do not belong to equipment in the process be traversed in 103a step 102 for carrying out the process of network connection, then for each process be traversed, obtain the resource occupation information of this process, the resource occupation information that the resource occupation Information and Resource of this process distributes this process in strategy rationally is compared, to determine whether to need to be optimized the resource occupation information of this process;
Wherein, described most optimum distribution of resources strategy is in advance from the strategy that Cloud Server obtains.
For example, in the present embodiment, the resource occupation information of process can comprise following one or more: the memory usage, CPU occupation rate, disk I/O information, network throughput etc. of this process.In a particular application, the resource occupation information of process can be the one or more resource occupation information calculated in CPU occupation rate according to this process, the memory usage of process, disk I/O information, network throughput.
In addition, the resource occupation information of this process is optimized, can comprises: the closedown of web page tag process or thread, the closedown, internal memory release, cleaning system rubbish etc. of current operation process and/or service in the closedown of browser plug-in process, system.Or, the resource occupation information of this process is optimized, also can comprises: discharge idle internal memory and cpu resource that this process takies, and clear up the garbage files etc. of the corresponding program of this process.
Usually, in Cloud Server, in most optimum distribution of resources strategy, the resource occupation information of each process is also the one or more resource occupation information calculated in CPU occupation rate according to this process, the memory usage of process, disk I/O information, network throughput.
If the resource occupation information of the process of current judgement is greater than the resource occupation information of this process in most optimum distribution of resources strategy, then can optimize the process of current judgement.Such as, the idle internal memory that process that Installed System Memory cleaning function SetProcessWorkingSetSize clears up each operation takies can be called.Or, also can adopt and call killProcess function and close this process.
Wherein, the prototype of Installed System Memory cleaning function is:
SetProcessWorkingSetSize(
In HANDLE hProcess,
In SIZET dwMinimumWorkingSetSize,
In SIZET dwMaximumWorkingSetSize
)
In most optimum distribution of resources strategy in the present embodiment in Cloud Server, the resource occupation information of each process can be the occupied information meeting this program laws of use obtained by large quantitative statistics.Thus, can monitor local process based on this most optimum distribution of resources strategy, the reasonably optimizing of local process can be realized.
In the present embodiment, the cpu resource occupation rate of a certain process can be regarded as the ratio of the T.T. of this process and the T.T. of all processes in preset time period.
The equipment optimization method of the present embodiment can when all processes belong to the process for carrying out network connection relative to the equipment optimization mode shown in Figure 1A, can analyze the resource occupation information of those processes, to determine whether those processes are the processes needing to terminate, or whether be the process needing to optimize, and then optimization process can be performed to the process needing to optimize.Thus, effectively can improve the travelling speed of equipment, improve Consumer's Experience simultaneously.
Fig. 3 shows the schematic flow sheet of the equipment optimization method of the state Network Based that one embodiment of the invention provides, after the step 104 shown in Figure 1A or Fig. 2, the equipment optimization method of the state Network Based shown in Fig. 3 also can comprise following content, shown in following step 105 to step 108.
105, judge whether the process be traversed belongs to the P2P process of P2P (Peer to Peer, point-to-point) program; If so, step 106 is performed, otherwise, perform step 106a.
For example, the P2P process in equipment can be: the P2P process that XL program is corresponding, and the P2P process that DL program is corresponding or P2P process corresponding to KG program etc., the present embodiment is only and illustrates P2P process, does not limit the type of P2P process.
Current, P2P technology is most popular a kind of data transmission technology on current internet.Completely reciprocity between this technology interior joint, data do not need namely can mutually transmit among the nodes through server.
If the process be traversed in 106 steps 105 belongs to the P2P process of P2P program, then judge whether described P2P process belongs to the current P2P program used of user according to traffic policy;
Wherein, described traffic policy is in advance from the strategy that Cloud Server obtains.
If 107 determine that the part/whole P2P process in described P2P process does not belong to the current P2P program used of user, then to described part/all P2P process executive process cleanup action;
For example, obtain uploading rate and the downloading rate of each P2P process, if the uploading rate of this P2P process is greater than the first predetermined threshold value, and/or the downloading rate of described P2P process is less than the second predetermined threshold value; Then determine that this P2P process does not belong to the current P2P program used of user.
First predetermined threshold value and second predetermined threshold value at this place can be the rate value rule of thumb obtained.
If 108 determine that the part/whole P2P process in P2P process belongs to the current P2P program used of user, then skips this P2P program, namely do not carry out any cleanup action to this process.
If do not belong to the P2P process of P2P program in the process be traversed in 106a step 105, then for each process be traversed, obtain the resource occupation information of this process, the resource occupation information that the resource occupation Information and Resource of this process distributes this process in strategy rationally is compared, to determine whether to need to be optimized the resource occupation information of this process;
Wherein, described most optimum distribution of resources strategy is in advance from the strategy that Cloud Server obtains.
For example, in the present embodiment, the resource occupation information of process can be the one or more resource occupation information calculated in CPU occupation rate according to this process, the memory usage of process, disk I/O information, network throughput.
If after above-mentioned steps 106a, need to be optimized a certain process, then can optimize prompting frame to ejecting in the interface of equipment process, so that the cue button that user optimizes in prompting frame according to process determines whether optimize this process.If be optimized process to a certain process, can be the information such as idle internal memory shared by this process of release and cpu resource.
Further, after the equipment optimization shown in Fig. 3, the wireless optimization method of equipment of the present embodiment also can comprise following not shown step N01 and step N02:
Other process of the process for carrying out network connection, P2P process is not belonged in the process that N01, acquisition are traversed;
N02, for each process in other process described, obtain the resource occupation information of this process, the resource occupation information that the resource occupation Information and Resource of this process distributes this process in strategy rationally is compared, to determine whether to need to be optimized the resource occupation information of this process;
Wherein, described most optimum distribution of resources strategy is in advance from the strategy that Cloud Server obtains.
Usually, if determine that the resource occupation information of the process of current judgement is greater than the resource occupation information of this process in most optimum distribution of resources strategy, then the process of current judgement is optimized.
The equipment optimization method of the situation Network Based in the present embodiment can judge according to the partial strategy preset or from the strategy that Cloud Server is downloaded local process, and monitoring effectively can improve the operating rate of equipment in real time, Consumer's Experience can be improved simultaneously.
In addition, the equipment optimization method of the situation Network Based in the present embodiment can regularly be performed.
In a particular application, after the equipment optimization method that the above-mentioned any embodiment of execution is mentioned, also can monitor this locality further and whether have new process initiation, when monitoring this locality and having new process initiation, can adopt aforesaid method after preset time period, obtain the resource occupation information of this new process, and compare with the resource occupation information of this process in most optimum distribution of resources strategy, to determine that this process is the need of optimization process.
Further, some process operationally must meet certain service condition and just can normally run, if service condition does not meet, even if then this process is in running status and also cannot normally uses, for this process that cannot normally use because service condition does not meet, can be optimized it (such as, closing).Such as, relation of interdependence is there is between some process, as process A must could run by dependent process B, therefore, when the process A of detecting just operationally, can whether run by detection procedure B further, if testing result is no, then can determine that process A service condition does not meet, thus process is optimized to it.
Fig. 4 shows the structural representation of the equipment optimization device of the state Network Based that one embodiment of the invention provides, as shown in Figure 4, the equipment optimization device of the state Network Based in the present embodiment comprises: detecting unit 41, acquiring unit 42, judging unit 43 and cleaning unit 44;
This detecting unit 41 is for the network connection mode of checkout equipment, and described network connection mode is the network access of the current use of described equipment;
Acquiring unit 42 is for obtaining the first process run in described equipment, and described first process is the process that described equipment carries out network connection;
Whether judging unit 43 is identical for the network connection mode of the network connection mode with current device of determining described first process;
Clear up unit 44 for when the network connection mode of described first process is not identical with the network connection mode of current device, to described first process executive process cleanup action.
For example, above-mentioned network connection mode can be: the one in the middle of the pattern that dials up on the telephone, Narrowband Integrated Services Digital Network ISDN online pattern, broadband access network pattern, optical fiber online pattern, wireless Internet access pattern etc.The present embodiment is only network connection mode and illustrates, does not limit it.
In a kind of possible implementation, described detecting unit 41 can be specifically for, the progress information run sent server, judge the network connection mode of the current use of described equipment to make server according to preset strategy in equipment;
After described server determines the network connection mode of the current use of described equipment, receive the information of the network connection mode of the current use of described equipment that described server sends, the network connection mode of the current use of equipment.
In the implementation that another kind is possible, described acquiring unit 42 can be specifically for, by the progress information of operation current in described equipment, described progress information is sent server, to obtain the information of carrying out the process of network connection in described progress information according to preset strategy to make server;
Receive the information of carrying out the process of network connection in the described progress information of described server transmission;
According to the information of carrying out the process of network connection in described progress information, obtain described first process, described first process is the process of carrying out network connection in described equipment.
Alternatively, aforesaid cleaning unit 44 also can be specifically for, terminates described first process, and discharge the content that this first process takies, and clears up the data cached and/or ephemeral data of described first process.
The equipment optimization device of the state Network Based of the present embodiment, by the network connection mode of detecting unit checkout equipment, and then acquiring unit can carry out the first process of network connection in equipment, judging unit can determine that whether the network connection mode of the first process is identical with the network connection mode of current device, clear up unit when judging unit is determined not identical to the first process executive process cleanup action, thus, process corresponding for current for equipment other network accesses do not used can be cleared up, effectively can improve the travelling speed of equipment thus, improve Consumer's Experience simultaneously.
In addition, the equipment optimization device of the present embodiment can perform the flow process in the embodiment of the method shown in aforesaid Figure 1A to Fig. 3, and the present embodiment does not describe in detail at this.
The present invention illustrates for Windows system, does not limit said method in the operating systems such as iOS, Android.

Claims (10)

1. an equipment optimization device for state Network Based, is characterized in that, comprising:
Detecting unit, for the network connection mode of checkout equipment, described network connection mode is the network access of the current use of described equipment;
Acquiring unit, for obtaining the first process run in described equipment, described first process is the process that described equipment carries out network connection;
Judging unit, whether the network connection mode for the network connection mode with current device of determining described first process is identical;
Cleaning unit, for when the network connection mode of described first process is not identical with the network connection mode of current device, to described first process executive process cleanup action.
2. device according to claim 1, is characterized in that, described detecting unit, specifically for
The progress information run in equipment is sent server, judges the network connection mode of the current use of described equipment to make server according to preset strategy;
After described server determines the network connection mode of the current use of described equipment, receive the information of the network connection mode of the current use of described equipment that described server sends, the network connection mode of the current use of equipment.
3. device according to claim 1 and 2, is characterized in that, described network connection mode is: the one in the pattern that dials up on the telephone, Narrowband Integrated Services Digital Network ISDN online pattern, broadband access network pattern, optical fiber online pattern, wireless Internet access pattern.
4. device according to claim 1, is characterized in that, described acquiring unit, specifically for
By the progress information of operation current in described equipment, described progress information is sent server, to obtain the information of carrying out the process of network connection in described progress information according to preset strategy to make server;
Receive the information of carrying out the process of network connection in the described progress information of described server transmission;
According to the information of carrying out the process of network connection in described progress information, obtain described first process, described first process is the process of carrying out network connection in described equipment.
5., according to the arbitrary described device of Claims 1-4, it is characterized in that, described cleaning unit, also for
Terminate described first process, and discharge the content that this first process takies, clear up the data cached and/or ephemeral data of described first process.
6. an equipment optimization method for connection status Network Based, is characterized in that, comprising:
The network connection mode of checkout equipment, described network connection mode is the network access of the current use of described equipment;
Obtain the first process run in described equipment, described first process is the process that described equipment carries out network connection;
Determine that whether the network connection mode of described first process is identical with the network connection mode of current device, if not identical, then to described first process executive process cleanup action.
7. method according to claim 6, is characterized in that, detects the network connection mode of described equipment, comprising:
The progress information run in equipment is sent server, judges the network connection mode of the current use of described equipment to make server according to preset strategy;
After described server determines the network connection mode of the current use of described equipment, receive the information of the network connection mode of the current use of described equipment that described server sends, the network connection mode of the current use of equipment.
8. the method according to claim 6 or 7, is characterized in that, described network connection mode is: the one in the pattern that dials up on the telephone, Narrowband Integrated Services Digital Network ISDN online pattern, broadband access network pattern, optical fiber online pattern, wireless Internet access pattern.
9. method according to claim 6, is characterized in that, the first process run in the described equipment of described acquisition, comprising:
By the progress information of operation current in described equipment, described progress information is sent server, to obtain the information of carrying out the process of network connection in described progress information according to preset strategy to make server;
Receive the information of carrying out the process of network connection in the described progress information of described server transmission;
According to the information of carrying out the process of network connection in described progress information, obtain described first process, described first process is the process of carrying out network connection in described equipment.
10., according to the arbitrary described method of claim 6 to 9, it is characterized in that, to described first process executive process cleanup action, comprising:
Terminate described first process, and discharge the content that this first process takies, clear up the data cached and/or ephemeral data of described first process.
CN201410778227.9A 2014-12-15 2014-12-15 Equipment optimization method and device based on network state Active CN104503785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410778227.9A CN104503785B (en) 2014-12-15 2014-12-15 Equipment optimization method and device based on network state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410778227.9A CN104503785B (en) 2014-12-15 2014-12-15 Equipment optimization method and device based on network state

Publications (2)

Publication Number Publication Date
CN104503785A true CN104503785A (en) 2015-04-08
CN104503785B CN104503785B (en) 2016-09-28

Family

ID=52945186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410778227.9A Active CN104503785B (en) 2014-12-15 2014-12-15 Equipment optimization method and device based on network state

Country Status (1)

Country Link
CN (1) CN104503785B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254305A (en) * 2021-05-08 2021-08-13 山东英信计算机技术有限公司 Method, system, equipment and storage medium for displaying offline state of testing machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008046440A1 (en) * 2006-10-19 2008-04-24 Telefonaktiebolaget Lm Ericsson (Publ) Method and node for providing a resource efficient connection in a communication network
CN102480499A (en) * 2010-11-24 2012-05-30 财团法人资讯工业策进会 Network classification connection system and method thereof
CN103870275A (en) * 2014-03-17 2014-06-18 珠海市君天电子科技有限公司 Information processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008046440A1 (en) * 2006-10-19 2008-04-24 Telefonaktiebolaget Lm Ericsson (Publ) Method and node for providing a resource efficient connection in a communication network
CN102480499A (en) * 2010-11-24 2012-05-30 财团法人资讯工业策进会 Network classification connection system and method thereof
CN103870275A (en) * 2014-03-17 2014-06-18 珠海市君天电子科技有限公司 Information processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254305A (en) * 2021-05-08 2021-08-13 山东英信计算机技术有限公司 Method, system, equipment and storage medium for displaying offline state of testing machine

Also Published As

Publication number Publication date
CN104503785B (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN105704066B (en) Networking control method and device, system, security gateway, mobile terminal
US8102879B2 (en) Application layer metrics monitoring
US8670448B2 (en) Methods, systems, and computer program products for providing traffic control services
US11924058B2 (en) Extensible analytics and recommendation engine for network traffic data
KR100658566B1 (en) Multi-system terminal and apparatus and method for providing service adaptation thereof
CN104038929A (en) Network access anomaly identification method and network access anomaly identification device
CN107071698A (en) Data bandwidth management system and method
CN104461742B (en) Calculate equipment optimization method and device
KR20090054528A (en) Method of managing quarlity of service for users and system for performing the same
CN103533060B (en) Processing method and device of local proxy
CN104503841A (en) Process clearing method and process clearing device
CN107172015A (en) Live video method for pushing and device
CN101409654B (en) Method for processing SNMP information in network management system
US8139606B2 (en) Methods and systems for providing switched broadband
CN109669785A (en) Page sharing method, device, server and the storage medium of terminal applies
CN104503785A (en) Method and device for optimizing equipment based on network state
CN111427704B (en) Remote monitoring method, device, equipment and storage medium for configuration instruction
CN110166518B (en) Session information transmission method, device, storage medium and electronic device
CN108476427A (en) Data network management
CN110247832A (en) A kind of upper network control method, device, storage medium and gateway
CN105827695B (en) Bandwidth resource sharing method and device
CN115996188A (en) Service scheduling method, device, equipment and computer readable storage medium
CN106357798A (en) Method for storing and acquiring media files in Portal page, cloud controller and terminal
Briscoe Internet: Fairer is faster
CN102307108A (en) Network service provider multiple exit connection system and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
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: 20220719

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.