CN109101326A - A kind of background process management method and device - Google Patents
A kind of background process management method and device Download PDFInfo
- Publication number
- CN109101326A CN109101326A CN201810572069.XA CN201810572069A CN109101326A CN 109101326 A CN109101326 A CN 109101326A CN 201810572069 A CN201810572069 A CN 201810572069A CN 109101326 A CN109101326 A CN 109101326A
- Authority
- CN
- China
- Prior art keywords
- background process
- electronic equipment
- operation characteristic
- group
- characteristic 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5022—Mechanisms to release resources
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention provides a kind of background process management method and devices, this method comprises: collecting the operation characteristic information of electronic equipment, the corresponding background process disaggregated model of operation characteristic maintenance of information electronic equipment based on collection;The operation characteristic information includes: process switching information, device status information;When determination needs to be managed the background process of electronic equipment, obtain the current operation characteristic information of electronic equipment, according to the current operation characteristic information of electronic equipment and the background process disaggregated model, all background process current to electronic equipment are grouped, and are managed according to pre-set management strategy to the grouping of each background process.The present invention can reduce system resources consumption.
Description
Technical field
The present invention relates to technical field of electronic equipment, in particular to a kind of to carry out background process management in the electronic device
Method and apparatus.
Background technique
Mobile terminal generallys use following way to manage for background process at present: providing process list, system is according to warp
It tests value and provides the white list for allowing running background, user can manually change white list.System sometime, after operation
Platform liquidation procedures clears up the process in addition to white list, free system resources.
Above-mentioned background process manager is that there are the following problems: the white list that system provides cannot meet user's actual use
Demand causes the consumption of system resource.The process that system kills, which is again started up, needs to expend additional resource, and starting speed is slow,
It is more to expend resource.
Summary of the invention
In view of this, system resource can be reduced it is an object of the invention to a kind of background process management method and device
Consumption.
In order to achieve the above object, the present invention provides the following technical scheme that
A kind of background process management method is applied to electronic equipment, this method comprises:
The operation characteristic information for collecting electronic equipment, after the operation characteristic maintenance of information electronic equipment based on collection is corresponding
Platform process disaggregated model;The operation characteristic information includes: process switching information, device status information;
Determine that the current operation characteristic of acquisition electronic equipment is believed when needing to be managed the background process of electronic equipment
Breath, after all current to electronic equipment of the current operation characteristic information of electronic equipment and the background process disaggregated model
Platform process is grouped, and is managed according to pre-set management strategy to the grouping of each background process.
A kind of background process managing device is applied to electronic equipment, which includes: modeling unit, grouped element, management
Unit;
The modeling unit, for collecting the operation characteristic information of electronic equipment, the operation collected based on collector unit is special
Levy the corresponding background process disaggregated model of maintenance of information electronic equipment;The operation characteristic information includes: process switching information, sets
Standby status information;
The grouped element when needing to be managed the background process of electronic equipment for determining, obtains electronic equipment
Current operation characteristic information, according to the current operation characteristic information of the electronic equipment of acquisition and the background process disaggregated model
All background process current to electronic equipment are grouped;
The administrative unit, for being managed according to pre-set management strategy to the grouping of each background process.
As can be seen from the above technical solution, corresponding using the operation characteristic maintenance of information electronic equipment of collection in the present invention
Background process disaggregated model, when needing the background process to electronic equipment to be managed, according to the current fortune of electronic equipment
Row characteristic information and the background process disaggregated model all background process current to electronic equipment are grouped, and according to pre-
The management strategy being first arranged is managed the grouping of each background process.System resource can be effectively reduced using the present invention to disappear
Consumption.
Detailed description of the invention
Fig. 1 is background process management method flow chart of the embodiment of the present invention;
Fig. 2 is that the embodiment of the present invention provides user's operation interface schematic diagram of intervention;
Fig. 3 is the structural schematic diagram of background process managing device of the embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawing and according to embodiment,
Technical solution of the present invention is described in detail.
In the present invention, overall merit is carried out according to user's use habit and device status information etc., it is established that background process
Disaggregated model, the background process that can be activated using the prediction of background process disaggregated model in following a period of time, and according to being opened
Background process is divided into different background process groups with probability, such as freezes group and end group, and to different background process
Group implements different management strategies, such as the background process in end group is killed, and the background process freezed in group is freezed.
It is background process management method flow chart of the embodiment of the present invention referring to Fig. 1, Fig. 1, this method is applied to electronic equipment
(such as mobile terminal, smartwatch), as shown in Figure 1, method includes the following steps:
Step 101, the operation characteristic information for collecting electronic equipment, the operation characteristic maintenance of information electronic equipment based on collection
Corresponding background process disaggregated model;
The operation characteristic information includes: process switching information, device status information;Wherein, process switching information includes:
Current application process (i.e. current foreground process), previous application process (foreground process i.e. before foreground process switching) and its dimension
Hold duration;Device status information includes: wireless communication state, charged state, bluetooth state, temperature etc., wireless communication state packet
Include connection wifi and not connected wifi, charged state include charging and it is uncharged, bluetooth state include bluetooth open and bluetooth close
It closes, temperature, that is, electronic equipment temperature.
It in the embodiment of the present invention, switches in the foreground application process of electronic equipment, for example, user opens or switches to
One new application process causes current foreground application process to be switched to the new application process, at this time can be by obtaining
It takes the operation characteristic information of electronic equipment and stores, to realize the collection of operation characteristic information.
It in practical applications, just can be real by the method for machine learning when operation characteristic information needs enough
The foundation of existing background process disaggregated model, moreover, after establishing background process disaggregated model, it is also necessary to continue to collect electronic equipment
Operation characteristic information, and background process disaggregated model is updated using the operation characteristic information newly collected, after making
Platform process disaggregated model adapts to the use habit variation of user.
For this purpose, in the application the maintenance condition of background process disaggregated model can be preset, when operation characteristic information bar
When number meets background process disaggregated model maintenance condition, it is corresponding that electronic equipment is established based on stored all operation characteristic information
Background process disaggregated model.
In one embodiment of the invention, the maintenance condition of background process disaggregated model has following two:
The first: the corresponding background process disaggregated model of electronic equipment is not present, and the operation characteristic information stored is more than
Default number of branches.This maintenance condition is suitable for establishing background process disaggregated model for the first time.
Second: the corresponding background process disaggregated model of electronic equipment is existing, and the operation characteristic information stored exceeds
The quantity of default number of branches is the integral multiple of preset value M.This maintenance condition is suitable for the update of background process disaggregated model, Mei Dangxin
When the operation characteristic information bar number of collection is more than M, primary update is executed to background process disaggregated model, substantially utilizes original
The operation characteristic information come the operation characteristic information collected and newly collected re-establishes background process by the method for machine learning
Disaggregated model is updated background process disaggregated model using the operation characteristic information newly collected.
For the maintenance condition of second of background process disaggregated model, alternative solution is: when presetting one or more
Between point, the time reach preset time point when, to backstage carry out disaggregated model be updated or rebuild.
It should be noted that when establishing backstage progress disaggregated model, it can be by a part of operation characteristic information of collection
As training sample, another part operation characteristic information is as test sample.
Furthermore it is possible to background process disaggregated model is established according to the operation characteristic information of collection in the electronic device, it can also
To send a server for the operation characteristic information of collection, grasped by the foundation that server executes background process disaggregated model
Make, and when electronic equipment needs to be managed background process, loads the background process disaggregated model from server.Wherein,
In the stronger situation of processing capacity of electronic equipment, such as mobile phone, background process classification can be directly executed in the electronic device
The foundation of model operates, in the case where the processing capacity of electronic equipment is weaker, such as smartwatch, it can be directly by server
Execute the foundation operation of background process disaggregated model.
When step 102, determination need to be managed the background process of electronic equipment, the current operation of electronic equipment is obtained
Characteristic information, it is current to electronic equipment according to the current operation characteristic information of electronic equipment and the background process disaggregated model
All background process are grouped, and are managed according to pre-set management strategy to the grouping of each background process.
In the embodiment of the present invention, when the display screen of electronic equipment closes preset duration, alternatively, electronic equipment is in charging shape
When the display screen of state and electronic equipment closes preset duration, determination needs to be managed the background process of electronic equipment.For example,
When electronic equipment is mobile terminal (such as mobile phone), it can be closed after five minutes in the display screen of mobile phone, it is current mobile phone can be collected
Operation characteristic information, by this operation characteristic information input to background process disaggregated model, in available mobile phone each backstage into
The probability or whether can be activated that journey is activated within following a period of time.It for another example, can when electronic equipment is smartwatch
To be in charged state in smartwatch, and its display screen is closed after five minutes, and the current operation characteristic of smartwatch can be collected
Backstage classification process model in information and load server, by this operation characteristic information input to background process disaggregated model,
The probability or whether can be activated that each background process is activated within following a period of time in available smartwatch.
For this purpose, in this step 102, according to the current operation characteristic information of electronic equipment and the background process disaggregated model
A kind of method that all background process current to electronic equipment are grouped are as follows:
By background process sort program described in the current operation characteristic information input of electronic equipment, it is current to obtain electronic equipment
The probability that is activated within a preset time of each background process;
Based on pre-set N number of parameter probability valuing section, the current all backstages of electronic equipment are carried out according to being activated
Probability graduation into N number of different background process groupings.
Here, an example of N number of probability interval can be with are as follows: [0,40%], (40%, 80%], (80%, 100%].Separately
Outside, if what is obtained is that electronics is set by after background process sort program described in the current operation characteristic information input of electronic equipment
Whether standby current each background process can be activated within a preset time, then the background process that can be activated, and be activated general
Rate is accordingly set as 1 (i.e. 100%), and the background process that will not be activated, the probability being activated accordingly is set as 0.
In one embodiment of the invention, N number of background process grouping includes: resident group, freezes group and end group
In at least two background process grouping;
It correspondingly, specifically can be with to the method that is managed of each background process grouping according to pre-set management strategy
If are as follows: include resident group in background process grouping, background process in resident group is kept to operate normally;If background process point
Include freezing group in group, then freezes all background process freezed in group;If including end group in background process grouping,
All background process in end group are terminated to run;
In another embodiment of the present invention, the N number of background process grouping include: common group, the group that is of little use, pole not
Common group;
It correspondingly, specifically can be with to the method that is managed of each background process grouping according to pre-set management strategy
Are as follows: the resources occupation rate of electronic equipment is obtained, if the resources occupation rate of electronic equipment is less than the first preset value, not by pole
All background process in common group terminate to run, if the resource of electronic equipment is more than the first preset value, will be of little use group
In all background process terminate to run, will be in common group if receiving the instruction of the whole processes of end of user's sending
All background process terminate to run.
In practical implementations, proceeding method is freezed and terminated to different operating system suitable for different, below with Android
(android) it is illustrated for system.
In Android system, for freezing group, using back-stage management scheduler module (such as MARS), background process is identified
(ID) and packet title (packagename) write-in cgroup freezes group, to freeze to apply, to reduce CPU occupancy, specific implementation
Code is as follows:
private boolean sendFreecessSingal(String packageName,int uid){
Boolean isSucceed=false;
IsSucceed=writeDevFile (packageName, uid, dev/freezer/frozen/
cgroup.procs");
return isSucceed;
}
In Android system, for end group, using background process management module (such as MARS), by modifying activity
Manager service calls kill process function therein to kill the background process in end group, to discharge these backstages
The CPU and memory source that process occupies, specific implementation code are as follows:
boolean forceStopPackageForMARsLocked(String killpkgName,String
reason,int userId){
IPackageManager pm=AppGlobals.getPackageManager ();
Int pkgUid=-1;
try{
PkgUid=pm.getPackageUid (killpkgName, userId);
}catch(RemoteException e){
If (pkgUid==-1)
Slog.w(TAG,"Invalid packageName:"+killpkgName);
return false;
}
}
forceStopPackageLocked(killpkgName,UserHandle.getAppId(pkgUid),false,
false,true,false,false,userId,reason);
return true;
}
In practical applications, for the processing of background process, the mode that user can also be supported to intervene, for example, when utilizing
Background process disaggregated model, can output grouping knot on a display screen by after current all background process grouping of electronic equipment
Fruit simultaneously provides user's operation button, and user is provided by clicking operation button and is referred to the management of any background process
Show, management instruction here can be the instruction of end process.Fig. 2 is that the operation interface of offer user's intervention of the embodiment of the present invention is shown
It is intended to, each background process in the display screen of electronic equipment in freezeout group, and is arranged one after each background process
Conclusion button, when the user clicks when this conclusion button, electronic equipment will receive the instruction for terminating the background process, according to this
Instruction kills the background process (to be terminated to run, resource relevant to the background process, such as CPU, memory by this background process
Resource can be released), rather than freezed the background process according to pre-set convention strategy.
For this purpose, in one embodiment of the invention, being grouped according to pre-set management strategy to each background process
Before being managed, further comprise: exporting all background process group results, if receiving user to any background process
The management of any background process in grouping indicates, then is managed according to management instruction to the background process;The management
Instruction includes that end process indicates.
Method shown in FIG. 1 is illustrated below with reference to specific example:
First examples of implementation: implement method of the invention in mobile phone.
S11, mobile phone collect the operation characteristic information of the machine when each foreground process switches, and the operation of collection is special
Reference breath include: current application mark, previous application identities and its use duration, current location, wifi state, charged state,
Electronic equipment temperature.Using the operation characteristic information of collection as training sample, and background process point is constructed using machine learning
Class model.Here it is possible to establish background process disaggregated model using LogicBoost algorithm or big data statistical method.
S12, it charges in mobile phone and closes screen after five minutes, obtain the current operation characteristic information X of the machine, this is run
The background process disaggregated model established in characteristic information X input step S11 exports Y, and what wherein Y was indicated is each backstage in mobile phone
Whether process can be activated within a preset time.
S13, according to the output Y in step S12 by background process graduation to freezing group and end group, after freezing in group
Platform process executes freeze operation, executes end process (killing process) operation to the background process in end group.
Second examples of implementation:
S21, user have used a large amount of app after mobile phone power-on in a period of time.
S22, it is closed after five minutes in mobile phone screen, reads the background process modeling module having had built up, be collected simultaneously this
Characteristic value is inputted background process modeling module by the operation characteristic information of machine, obtains in mobile phone each background process within a preset time
The probability being activated.
S23, the probability being activated within a preset time according to each background process, by background process graduation to following three plans
Slightly group: common group, be of little use group, seldom uses group.
S24, the occupation condition (such as CPU and memory) for judging mobile phone, if the resource occupation of mobile phone is less, Energy Resources Service
In abundant state, then only the background process in " seldom using group " can be killed;If the resource occupation of mobile phone it is more (such as
User opens a certain large-scale mobile phone games), resource is in state in short supply, then at this time can by the backstage in " be of little use group " into
Journey kills, moreover, if can also pop up user interface prompt user is in the case that mobile phone temp is excessively high or resource is still in short supply
It is no to kill all background process, if the instruction that user selects the answer of affirmative to terminate whole processes to triggering one,
Mobile phone will kill all background process in " common group " according to this instruction.
Third examples of implementation:
S31, smartwatch server periodic operation service receive the operation characteristic of one or more smartwatch reported
Information, operation characteristic information sets up unified smartwatch background process disaggregated model based on the received.
S32, smartwatch connect server in the charge state, download background process disaggregated model.
S33, user use smartwatch, successively open mail, schedule, trivial games.
S34, shield after five minutes in smartwatch breath, by the background process of the current operation characteristic information input downloading of the machine
Disaggregated model obtains two process groupings: resident group and end group, wherein schedule closes mail and is divided as background process
To resident group, and trivial games are divided into end group as background process.
S35, the background process in " end group " is killed, to save memory source.
S36, user reopen mail, since mail is in resident group, there is no need to reload, therefore opening speed
Comparatively fast, user experience is promoted.
Background process management method of the embodiment of the present invention is described in detail above, the present invention also provides after one kind
Platform management of process device, is described in detail below in conjunction with Fig. 3.
It is the structural schematic diagram of background process managing device of the embodiment of the present invention referring to Fig. 3, Fig. 3, which is applied to electricity
Sub- equipment, specifically includes: modeling unit 301, grouped element 302, administrative unit 303;Wherein,
Modeling unit 301, for collecting the operation characteristic information of electronic equipment, the operation characteristic maintenance of information based on collection
The corresponding background process disaggregated model of electronic equipment;The operation characteristic information includes: process switching information, equipment state letter
Breath;
Grouped element 302 when needing to be managed the background process of electronic equipment for determining, obtains electronic equipment and works as
Preceding operation characteristic information, according to the current operation characteristic information of the electronic equipment of acquisition and the background process disaggregated model pair
The current all background process of electronic equipment are grouped;
Administrative unit 303, for being managed according to pre-set management strategy to the grouping of each background process.
In the embodiment of the present invention shown in Fig. 3,
The modeling unit 301 collects the operation characteristic information of electronic equipment, the operation characteristic maintenance of information based on collection
The corresponding background process disaggregated model of electronic equipment, comprising:
When the foreground application process of electronic equipment switches, the operation characteristic information of electronic equipment is obtained and stores,
When operation characteristic information bar number meets background process disaggregated model maintenance condition, it is based on stored all operation characteristic information
Establish the corresponding background process disaggregated model of electronic equipment;
Wherein, when the operation characteristic information that the corresponding background process disaggregated model of electronic equipment exists, and stores is more than pre-
If item number, alternatively, electronic equipment corresponding background process disaggregated model in backstage is existing, and the operation characteristic information stored exceeds
When the quantity of default number of branches is the integral multiple of preset value M, determine that operation characteristic information bar number meets background process disaggregated model dimension
Guard strip part.
In the embodiment of the present invention shown in Fig. 3,
The electronic equipment includes mobile terminal, smartwatch;
The grouped element 302 closes preset duration for the display screen when electronic equipment, alternatively, electronic equipment is in
When the display screen of charged state and electronic equipment closes preset duration, determination needs to carry out pipe to the background process of electronic equipment
Reason.
In the embodiment of the present invention shown in Fig. 3,
The grouped element 302, according to the current operation characteristic information of electronic equipment and the background process disaggregated model
When all background process current to electronic equipment are grouped, it is used for:
By background process sort program described in the current operation characteristic information input of electronic equipment, it is current to obtain electronic equipment
The probability that is activated within a preset time of each background process;
Based on pre-set N number of parameter probability valuing section, the current all backstages of electronic equipment are carried out according to being activated
Probability graduation into N number of different background process groupings.
In the embodiment of the present invention shown in Fig. 3,
The N number of background process grouping includes: resident group, freezes at least two background process point in group and end group
Group;
The administrative unit 303 is used when being managed according to pre-set management strategy to the grouping of each background process
In: if in background process grouping including resident group, background process in resident group is kept to operate normally;If background process point
Include freezing group in group, then freezes all background process freezed in group;If including end group in background process grouping,
All background process in end group are terminated to run;
Alternatively,
Group that the N number of background process grouping includes: common group, the group that is of little use, pole are of little use;
The administrative unit is used for when being managed according to pre-set management strategy to the grouping of each background process:
The resources occupation rate for obtaining electronic equipment, if the resources occupation rate of electronic equipment is less than the first preset value, seldom by pole
Terminate to run with all background process in group, if the resource of electronic equipment is more than the first preset value, will be of little use in group
All background process terminate to run, if the instruction of the whole processes of end of user's sending is received, by the institute in common group
There is background process to terminate to run.
In the embodiment of the present invention shown in Fig. 3,
The administrative unit 303, before being managed according to pre-set management strategy to the grouping of each background process,
It is further used for: exports all background process group results, if receives user to any in the grouping of any background process
The management of background process indicates, then is managed according to management instruction to the background process;The management instruction includes terminating
Process instruction.
Can be seen that in the present invention from the above technical solution of the present invention, according to the previous use habit of user (such as foreground into
Journey transfer sequence: previous process, current process) and device status information establish background process disaggregated model, pass through this classification mould
Type predicts the behavior of user, so that background process to be divided into different groups, and implements different management strategies.Its
In, make have higher accuracy rate to the prediction of user behavior by the background process disaggregated model that machine learning method is established;
The background process that may be activated quickly is freezed, on the one hand can reduce CPU when this background process is not activated
It occupies, on the other hand may also speed up starting speed when being activated;The background process that will not be activated quickly is killed
Fall operation, the CPU and memory source of these background process occupancy can be discharged, it is possible to reduce resource occupation and electrical source consumption.It can
See, technical solution of the present invention, not only ensure that the speed using starting, but also release system resource, reduced electrical source consumption, it can
To greatly improve user experience.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.
Claims (12)
1. a kind of background process management method is applied to electronic equipment, which is characterized in that this method comprises:
Collect electronic equipment operation characteristic information, the corresponding backstage of operation characteristic maintenance of information electronic equipment based on collection into
Journey disaggregated model;The operation characteristic information includes: process switching information, device status information;
When determination needs to be managed the background process of electronic equipment, the current operation characteristic information of electronic equipment, root are obtained
According to the current operation characteristic information of electronic equipment and the background process the disaggregated model all backstages current to electronic equipment into
Journey is grouped, and is managed according to pre-set management strategy to the grouping of each background process.
2. the method according to claim 1, wherein
Collect electronic equipment operation characteristic information, the corresponding backstage of operation characteristic maintenance of information electronic equipment based on collection into
Journey disaggregated model includes:
When the foreground application process of electronic equipment switches, the operation characteristic information of electronic equipment is obtained and stores, if
When operation characteristic information bar number meets background process disaggregated model maintenance condition, built based on stored all operation characteristic information
The vertical corresponding background process disaggregated model of electronic equipment;
Wherein, when the corresponding background process disaggregated model of electronic equipment is not present, and the operation characteristic information stored is more than default
Item number;Or electronic equipment corresponding background process disaggregated model in backstage is existing, and the operation characteristic information stored is beyond pre-
If the quantity of item number is the integral multiple of preset value M, determine that operation characteristic information bar number meets the maintenance of background process disaggregated model
Condition.
3. the method according to claim 1, wherein
The electronic equipment includes mobile terminal, smartwatch;
When the display screen of electronic equipment closes preset duration, alternatively, electronic equipment is in the display of charged state and electronic equipment
When screen closes preset duration, determination needs to be managed the background process of electronic equipment.
4. the method according to claim 1, wherein
Own according to the current operation characteristic information of electronic equipment and the background process disaggregated model are current to electronic equipment
The method that background process is grouped are as follows:
By background process sort program described in the current operation characteristic information input of electronic equipment, current every of electronic equipment is obtained
The probability that a background process is activated within a preset time;
Based on pre-set N number of parameter probability valuing section, the current all backstages of electronic equipment are carried out general according to what is be activated
Rate graduation is into N number of different background process groupings.
5. according to the method described in claim 4, it is characterized in that,
The N number of background process grouping includes: resident group, freezes at least two background process grouping in group and end group;
The method being managed is grouped to each background process according to pre-set management strategy are as follows: if background process is grouped
In include resident group, then keep background process in resident group to operate normally;It, will if including freezing group in background process grouping
All background process freezed in group freeze;It, will be after all in end group if including end group in background process grouping
Platform process terminates to run;
Alternatively,
Group that the N number of background process grouping includes: common group, the group that is of little use, pole are of little use;
The method being managed is grouped to each background process according to pre-set management strategy are as follows: obtain the money of electronic equipment
Source occupancy, if the resources occupation rate of electronic equipment is less than the first preset value, all backstages pole being of little use in group
Process terminates to run, if the resource of electronic equipment is more than the first preset value, all background process knots that will be of little use in group
Shu Yunhang, if the instruction of the whole processes of the end for receiving user's sending, all background process in common group are terminated to transport
Row.
6. the method according to claim 1, wherein
Before being managed according to pre-set management strategy to the grouping of each background process, further comprise: output is all
Background process group result, if receiving management instruction of the user to any background process in the grouping of any background process,
Then the background process is managed according to management instruction;The management instruction includes that end process indicates.
7. a kind of background process managing device is applied to electronic equipment, which is characterized in that the device includes: modeling unit, grouping
Unit, administrative unit;
The modeling unit is believed for collecting the operation characteristic information of electronic equipment based on the operation characteristic that collector unit is collected
The corresponding background process disaggregated model of breath maintenance electronic equipment;The operation characteristic information includes: process switching information, equipment shape
State information;
When needing to be managed the background process of electronic equipment for determining, it is current to obtain electronic equipment for the grouped element
Operation characteristic information, according to the current operation characteristic information of the electronic equipment of acquisition and the background process disaggregated model to electricity
The current all background process of sub- equipment are grouped;
The administrative unit, for being managed according to pre-set management strategy to the grouping of each background process.
8. device according to claim 7, which is characterized in that
The modeling unit collects the operation characteristic information of electronic equipment, and the operation characteristic maintenance of information electronics based on collection is set
Standby corresponding background process disaggregated model, comprising:
When the foreground application process of electronic equipment switches, the operation characteristic information of electronic equipment is obtained and stored, fortune is worked as
When row characteristic information item number meets background process disaggregated model maintenance condition, established based on stored all operation characteristic information
The corresponding background process disaggregated model of electronic equipment;
Wherein, when the operation characteristic information that the corresponding background process disaggregated model of electronic equipment exists, and stores is more than default item
Number, alternatively, electronic equipment corresponding background process disaggregated model in backstage is existing, and the operation characteristic information stored is beyond default
When the quantity of item number is the integral multiple of preset value M, determine that operation characteristic information bar number meets background process disaggregated model maintenance item
Part.
9. device according to claim 7, which is characterized in that
The electronic equipment includes mobile terminal, smartwatch;
The grouped element closes preset duration for the display screen when electronic equipment, alternatively, electronic equipment is in charged state
And when the display screen closing preset duration of electronic equipment, determination needs to be managed the background process of electronic equipment.
10. device according to claim 7, which is characterized in that
The grouped element sets electronics according to the current operation characteristic information of electronic equipment and the background process disaggregated model
When standby current all background process are grouped, it is used for:
By background process sort program described in the current operation characteristic information input of electronic equipment, current every of electronic equipment is obtained
The probability that a background process is activated within a preset time;
Based on pre-set N number of parameter probability valuing section, the current all backstages of electronic equipment are carried out general according to what is be activated
Rate graduation is into N number of different background process groupings.
11. device according to claim 10, which is characterized in that
The N number of background process grouping includes: resident group, freezes at least two background process grouping in group and end group;
The administrative unit is used for when being managed according to pre-set management strategy to the grouping of each background process: if
Include resident group in background process grouping, then background process in resident group is kept to operate normally;If wrapped in background process grouping
It includes and freezes group, then freeze all background process freezed in group;If including end group in background process grouping, will terminate
All background process in group terminate to run;
Alternatively,
Group that the N number of background process grouping includes: common group, the group that is of little use, pole are of little use;
The administrative unit is used for when being managed according to pre-set management strategy to the grouping of each background process: being obtained
Pole is of little use group by the resources occupation rate of electronic equipment if the resources occupation rate of electronic equipment is less than the first preset value
In all background process terminate to run, if the resource of electronic equipment is more than the first preset value, the institute that will be of little use in group
There is background process to terminate to run, it, will be after all in common group if receiving the instruction of the whole processes of end of user's sending
Platform process terminates to run.
12. device according to claim 7, which is characterized in that
The administrative unit, before being managed according to pre-set management strategy to the grouping of each background process, further
For: export all background process group results, if receive user to any background process grouping in any backstage into
The management of journey indicates, then is managed according to management instruction to the background process;The management instruction includes that end process refers to
Show.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810572069.XA CN109101326A (en) | 2018-06-06 | 2018-06-06 | A kind of background process management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810572069.XA CN109101326A (en) | 2018-06-06 | 2018-06-06 | A kind of background process management method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109101326A true CN109101326A (en) | 2018-12-28 |
Family
ID=64796623
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810572069.XA Pending CN109101326A (en) | 2018-06-06 | 2018-06-06 | A kind of background process management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109101326A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069328A (en) * | 2019-03-25 | 2019-07-30 | 维沃移动通信有限公司 | Using method for closing and terminal device |
CN110096348A (en) * | 2019-03-29 | 2019-08-06 | 努比亚技术有限公司 | Background application control method, wearable device and computer readable storage medium |
CN110569119A (en) * | 2019-08-30 | 2019-12-13 | 维沃移动通信有限公司 | Background application program management method and terminal |
CN110795323A (en) * | 2019-10-29 | 2020-02-14 | Oppo广东移动通信有限公司 | Load statistical method, device, storage medium and electronic equipment |
CN112256354A (en) * | 2020-11-25 | 2021-01-22 | Oppo(重庆)智能科技有限公司 | Application starting method and device, storage medium and electronic equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9547561B1 (en) * | 2008-12-15 | 2017-01-17 | Open Invention Network Llc | Method and computer readable medium for providing checkpointing to windows application groups |
CN106407010A (en) * | 2016-09-06 | 2017-02-15 | 北京珠穆朗玛移动通信有限公司 | Internal memory management method and mobile terminal |
CN106502371A (en) * | 2016-11-08 | 2017-03-15 | 珠海市魅族科技有限公司 | A kind of electricity-saving control method and device |
CN106843450A (en) * | 2017-01-23 | 2017-06-13 | 努比亚技术有限公司 | The storage processing method and device of a kind of terminal applies |
CN107133094A (en) * | 2017-06-05 | 2017-09-05 | 努比亚技术有限公司 | Application management method, mobile terminal and computer-readable recording medium |
CN107391259A (en) * | 2017-07-25 | 2017-11-24 | 广东欧珀移动通信有限公司 | Method for processing resource and device, computer-readable recording medium, mobile terminal |
CN107729143A (en) * | 2017-09-30 | 2018-02-23 | 广东欧珀移动通信有限公司 | Application control method, apparatus, storage medium and electronic equipment |
CN107741867A (en) * | 2017-09-30 | 2018-02-27 | 广东欧珀移动通信有限公司 | Application management method, device, storage medium and electronic equipment |
CN107885544A (en) * | 2017-10-31 | 2018-04-06 | 广东欧珀移动通信有限公司 | Application program management-control method, device, medium and electronic equipment |
CN107885545A (en) * | 2017-10-31 | 2018-04-06 | 广东欧珀移动通信有限公司 | application management method, device, storage medium and electronic equipment |
-
2018
- 2018-06-06 CN CN201810572069.XA patent/CN109101326A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9547561B1 (en) * | 2008-12-15 | 2017-01-17 | Open Invention Network Llc | Method and computer readable medium for providing checkpointing to windows application groups |
CN106407010A (en) * | 2016-09-06 | 2017-02-15 | 北京珠穆朗玛移动通信有限公司 | Internal memory management method and mobile terminal |
CN106502371A (en) * | 2016-11-08 | 2017-03-15 | 珠海市魅族科技有限公司 | A kind of electricity-saving control method and device |
CN106843450A (en) * | 2017-01-23 | 2017-06-13 | 努比亚技术有限公司 | The storage processing method and device of a kind of terminal applies |
CN107133094A (en) * | 2017-06-05 | 2017-09-05 | 努比亚技术有限公司 | Application management method, mobile terminal and computer-readable recording medium |
CN107391259A (en) * | 2017-07-25 | 2017-11-24 | 广东欧珀移动通信有限公司 | Method for processing resource and device, computer-readable recording medium, mobile terminal |
CN107729143A (en) * | 2017-09-30 | 2018-02-23 | 广东欧珀移动通信有限公司 | Application control method, apparatus, storage medium and electronic equipment |
CN107741867A (en) * | 2017-09-30 | 2018-02-27 | 广东欧珀移动通信有限公司 | Application management method, device, storage medium and electronic equipment |
CN107885544A (en) * | 2017-10-31 | 2018-04-06 | 广东欧珀移动通信有限公司 | Application program management-control method, device, medium and electronic equipment |
CN107885545A (en) * | 2017-10-31 | 2018-04-06 | 广东欧珀移动通信有限公司 | application management method, device, storage medium and electronic equipment |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069328A (en) * | 2019-03-25 | 2019-07-30 | 维沃移动通信有限公司 | Using method for closing and terminal device |
CN110069328B (en) * | 2019-03-25 | 2021-11-09 | 维沃移动通信有限公司 | Application closing method and terminal equipment |
CN110096348A (en) * | 2019-03-29 | 2019-08-06 | 努比亚技术有限公司 | Background application control method, wearable device and computer readable storage medium |
CN110569119A (en) * | 2019-08-30 | 2019-12-13 | 维沃移动通信有限公司 | Background application program management method and terminal |
CN110569119B (en) * | 2019-08-30 | 2021-08-17 | 维沃移动通信有限公司 | Background application program management method and terminal |
CN110795323A (en) * | 2019-10-29 | 2020-02-14 | Oppo广东移动通信有限公司 | Load statistical method, device, storage medium and electronic equipment |
CN112256354A (en) * | 2020-11-25 | 2021-01-22 | Oppo(重庆)智能科技有限公司 | Application starting method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109101326A (en) | A kind of background process management method and device | |
CN101262367A (en) | Collection method and device for performance data | |
CN104267799B (en) | Network server and method and system for processing power consumption of electronic equipment | |
CN103888371B (en) | A kind of method and apparatus of virtual network mapping | |
CN107291549A (en) | A kind of method and device for managing application program | |
CN103581966A (en) | Real-time monitoring optimizing configuration method for smart phone | |
CN103309705B (en) | End application Activiation method and system | |
CN108600034A (en) | Traffic pressure management method, device, equipment, system and storage medium | |
CN106991095A (en) | Machine abnormal processing method, the method for adjustment of learning rate and device | |
CN106597968A (en) | Converter high-speed real-time monitoring system and method based on Redis | |
CN109739632A (en) | One kind freezing mechanism take-effective method, electronic device and computer readable storage medium | |
CN109188924A (en) | The power consumption control method and device of smart home system | |
CN111338247A (en) | Simulation control system and method based on Internet of things | |
CN108781358A (en) | A kind of method and relevant device managing the signing information collection in eUICC | |
CN110322143A (en) | Model entity management method, device, equipment and computer storage medium | |
Zhu | Energy optimization of the configurable service portfolio for IoT systems | |
CN107104956A (en) | A kind of remote sensing distribution method and system based on user's relative importance value | |
CN110113262A (en) | A kind of routing policy determines method, apparatus, SDN controller and heterogeneous network | |
CN110320813A (en) | Intelligent electrical appliance control and device based on Internet of Things operating system | |
Mamatas et al. | Towards an information management overlay for emerging networks | |
CN108874109A (en) | The method for cleaning and device of background application | |
CN111431762B (en) | Wireless network state monitoring and displaying system | |
CN117082008A (en) | Virtual elastic network data transmission scheduling method, computer device and storage medium | |
CN110417656A (en) | A kind of QoS guarantee system and method based on SDN network | |
CN109525443A (en) | Processing method, device and the computer equipment of distributed front-collection communication link |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181228 |
|
RJ01 | Rejection of invention patent application after publication |