CN106951318A - The management method and electronic equipment of a kind of electronic equipment background process - Google Patents
The management method and electronic equipment of a kind of electronic equipment background process Download PDFInfo
- Publication number
- CN106951318A CN106951318A CN201710183198.5A CN201710183198A CN106951318A CN 106951318 A CN106951318 A CN 106951318A CN 201710183198 A CN201710183198 A CN 201710183198A CN 106951318 A CN106951318 A CN 106951318A
- Authority
- CN
- China
- Prior art keywords
- monitored
- component
- electronic equipment
- progress information
- monitoring
- 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
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
-
- 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The management method and electronic equipment of disclosure a kind of electronic equipment background process, methods described are treated monitoring process and are monitored, and obtain the monitoring information of the process to be monitored;According to the monitoring information, the importance of process to be monitored is analyzed;According to the importance analysis result of process to be monitored, to the process to be monitored, carry out corresponding process cleaning processing or continue to retain the process to be monitored.It can be seen that, utilize application scheme, the importance according to process to be monitored can be achieved, corresponding management is carried out to the process to be monitored, specifically, such as when the significance level of process to be monitored is relatively low, disposed, so as to apply application scheme, the relatively low process of some importance on equipment backstage can be effectively disposed, and then can lifting means performance, reduction equipment power dissipation.
Description
Technical field
The invention belongs to the management of the monitoring of process, administrative skill field, more particularly to a kind of electronic equipment background process
Method and electronic equipment.
Background technology
The terminal devices such as current android mobile phones, often in the case of user is unwitting, self-starting and run on backstage
The relatively low application process of some unnecessary for user, significance levels, is to collect user behavior in equipment such as manufacturer
The related application pre-set when dispatching from the factory, the process run, or some that binding is installed during for being applied needed for user installation
Useless application, the process run etc..
The startup optimization of such process will not produce greater significance to user, and can increase facility load, cause equipment to go out
Existing poor performance, the problems such as operation is blunt, power consumption is high.
The content of the invention
In view of this, set it is an object of the invention to provide the management method of a kind of electronic equipment background process and electronics
It is standby, it is intended to by the way that equipment background process is monitored and managed, come lifting means performance, reduction equipment power dissipation.
Therefore, the present invention is disclosed directly below technical scheme:
The management method of a kind of electronic equipment background process, including:
The progress information of process to be monitored is obtained, the progress information at least includes the process mark of the process to be monitored
Know;
According to the process identification (PID) of the process to be monitored, the process to be monitored is monitored, obtains described to be monitored
The monitoring information of process;
According to the monitoring information, the importance of the process to be monitored is analyzed, analysis result is obtained;
According to the analysis result, corresponding process cleaning is carried out to the process to be monitored and handles or continues to retain described
Process to be monitored.
The above method, it is preferred that the progress information of the acquisition process to be monitored, including:
Monitor the startup event of the electronic apparatus application component;
When monitoring the startup event of the electronic apparatus application component, the corresponding process letter of started component is obtained
Breath, the progress information at least includes the corresponding process identification (PID) of the component;
According to the corresponding process identification (PID) of the component, in judging whether the corresponding process of the component is electronic equipment internal memory
The process newly started, obtains the first judged result;
If first judged result represents that the corresponding process of the component is the process newly started in electronic equipment internal memory,
Then the corresponding process of the component is process to be monitored, and the corresponding progress information of the component is believed for the process of process to be monitored
Breath.
The above method, it is preferred that the progress information of the acquisition process to be monitored, including:
Monitor the startup event of the electronic apparatus application component;
When monitoring the startup event of the electronic apparatus application component, the corresponding process letter of started component is obtained
Breath, the progress information at least includes the corresponding process identification (PID) of the component;
According to the corresponding process identification (PID) of the component, in judging whether the corresponding process of the component is electronic equipment internal memory
The process newly started, and be the process except the corresponding process of application included in predetermined white list, obtain the second judgement
As a result;
If second judged result represents that the corresponding process of the component is the process newly started in electronic equipment internal memory,
And be the process except the corresponding process of application included in predetermined white list, then the corresponding process of the component is to wait to supervise
Control process, the corresponding progress information of the component is the progress information of process to be monitored.
The above method, it is preferred that the process identification (PID) according to the process to be monitored, is carried out to the process to be monitored
Monitoring, obtains the monitoring information of the process to be monitored, including:
According to the process identification (PID) of the process to be monitored, the operating system of electronic equipment is monitored to the process to be monitored
Process priority and process context switch the modification situation of numerical value;
When monitoring the modification event to process priority and process context the switching numerical value of the process to be monitored,
The process priority of the process to be monitored and process context switching numerical value before and after record modification;Until record number of times reach it is pre-
Untill when determining number of times.
The above method, it is preferred that described according to the monitoring information, analyzes the importance of the process to be monitored, including:
According to the record data of the pre-determined number, the process priority and process context of the process to be monitored are analyzed
Switch the situation of change of numerical value;
Process priority and process context based on the process to be monitored switch the situation of change of numerical value, and analysis is described
The importance of process to be monitored.
The above method, it is preferred that process priority and process context the switching number based on the process to be monitored
The situation of change of value, analyzes the importance of the process to be monitored, including:
If the process priority of the process to be monitored is cut in change low tendency, and the process context of the process to be monitored
The frequencies go lower that numerical value changes is changed, then the importance of the process to be monitored is relatively low;Otherwise, the weight of the process to be monitored
The property wanted is higher.
The above method, it is preferred that described according to analysis result, is carried out at corresponding process cleaning to the process to be monitored
Reason continues to retain the process to be monitored, including:
If the analysis result represents that the importance of the process to be monitored is relatively low, institute is removed from electronic equipment internal memory
State process to be monitored;
If the analysis result represents that the importance of the process to be monitored is higher, continue to protect in electronic equipment internal memory
Stay the process to be monitored.
The above method, it is preferred that the process to be monitored is removed in the internal memory from electronic equipment, including:
Using corresponding process cleanout tool, the process to be monitored is removed from electronic equipment internal memory.
A kind of electronic equipment, including:
Acquiring unit, the progress information for obtaining process to be monitored, the progress information at least includes described to be monitored
The process identification (PID) of process;
Monitoring unit, for the process identification (PID) according to the process to be monitored, is monitored to the process to be monitored, obtains
To the monitoring information of the process to be monitored;
Analytic unit, for according to the monitoring information, analyzing the importance of the process to be monitored, obtains analysis knot
Really;
Processing unit, for according to the analysis result, carrying out corresponding process cleaning to the process to be monitored and handling
Or continue to retain the process to be monitored.
Above-mentioned electronic equipment, it is preferred that the acquiring unit, obtains the progress information of process to be monitored, further comprises:
Monitor the startup event of the electronic apparatus application component;When the startup for monitoring the electronic apparatus application component
During event, the started corresponding progress information of component is obtained, the progress information at least includes the corresponding process of the component
Mark;Whether according to the corresponding process identification (PID) of the component, it is new in electronic equipment internal memory to judge the corresponding process of the component
The process of startup, obtains the first judged result;If first judged result represents that the corresponding process of the component is that electronics is set
The process newly started in standby internal memory, then the corresponding process of the component is process to be monitored, the corresponding progress information of the component
For the progress information of process to be monitored.
Above-mentioned electronic equipment, it is preferred that the acquiring unit, obtains the progress information of process to be monitored, further comprises:
Monitor the startup event of the electronic apparatus application component;When the startup for monitoring the electronic apparatus application component
During event, the started corresponding progress information of component is obtained, the progress information at least includes the corresponding process of the component
Mark;Whether according to the corresponding process identification (PID) of the component, it is new in electronic equipment internal memory to judge the corresponding process of the component
The process of startup, and be the process except the corresponding process of application included in predetermined white list, obtain the second judgement knot
Really;If second judged result represents that the corresponding process of the component is the process newly started in electronic equipment internal memory, and is
The process except the corresponding process of application included in predetermined white list, then the corresponding process of the component for it is to be monitored enter
Journey, the corresponding progress information of the component is the progress information of process to be monitored.
Above-mentioned electronic equipment, it is preferred that the monitoring unit, according to the process identification (PID) of the process to be monitored, to described
Process to be monitored is monitored, and is further comprised:
According to the process identification (PID) of the process to be monitored, the operating system of electronic equipment is monitored to the process to be monitored
Process priority and process context switch the modification situation of numerical value;When monitoring the process priority to the process to be monitored
And process context switch numerical value modification event when, the process priority and process of the process to be monitored before and after record modification
Context switches numerical value;Untill recording when number of times reaches pre-determined number.
Above-mentioned electronic equipment, it is preferred that the analytic unit, according to the monitoring information, analyzes the process to be monitored
Importance, further comprise:
According to the record data of the pre-determined number, the process priority and process context of the process to be monitored are analyzed
Switch the situation of change of numerical value;
Process priority and process context based on the process to be monitored switch the situation of change of numerical value, and analysis is described
The importance of process to be monitored.
Above-mentioned electronic equipment, it is preferred that the analytic unit, process priority and process based on the process to be monitored
Context switches the situation of change of numerical value, analyzes the importance of the process to be monitored, further comprises:
If the process priority of the process to be monitored is cut in change low tendency, and the process context of the process to be monitored
The frequencies go lower that numerical value changes is changed, then the importance of the process to be monitored is relatively low;Otherwise, the weight of the process to be monitored
The property wanted is higher.
Above-mentioned electronic equipment, it is preferred that the processing unit, according to analysis result, phase is carried out to the process to be monitored
The process cleaning processing or continuation answered retain the process to be monitored, further comprise:
If the analysis result represents that the importance of the process to be monitored is relatively low, institute is removed from electronic equipment internal memory
State process to be monitored;If the analysis result represents that the importance of the process to be monitored is higher, continue in electronic equipment
Deposit the middle reservation process to be monitored.
The processing unit, the process to be monitored is removed from electronic equipment internal memory, is further comprised:
Using corresponding process cleanout tool, the process to be monitored is removed from electronic equipment internal memory.
The management method of the electronic equipment background process provided from above scheme, the application, treats monitoring process and enters
Row monitoring, obtains the monitoring information of the process to be monitored;According to the monitoring information, the importance of process to be monitored is analyzed;
According to the importance analysis result of process to be monitored, to the process to be monitored, carry out corresponding process cleaning processing or continue
Retain the process to be monitored.It can be seen that, using application scheme, the importance according to process to be monitored can be achieved, is treated to described
Monitoring process carries out corresponding management, specifically, such as when the significance level of process to be monitored is relatively low, is disposed, from
And application scheme is applied, it can effectively dispose the relatively low process of some importance on equipment backstage, and then lifting means
, equipment power dissipation can be reduced.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is the flow chart of the management method embodiment one of the application a kind of electronic equipment background process;
Fig. 2 is the flow chart of the management method embodiment two of the application a kind of electronic equipment background process;
Fig. 3 is the flow chart of the management method embodiment three of the application a kind of electronic equipment background process;
Fig. 4 is the flow chart of the management method example IV of the application a kind of electronic equipment background process;
Fig. 5 is the flow chart of the management method embodiment five of the application a kind of electronic equipment background process;
Fig. 6 is that the software architecture for carrying out process monitoring and management using application scheme that the embodiment of the present application five is provided is shown
It is intended to;
Fig. 7 is the structural representation of the application a kind of electronic equipment embodiment six.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Embodiment one
The embodiment of the present application one provides the management method of a kind of electronic equipment background process, and this method can be applied to electronics and set
Standby, the electronic equipment can be, but not limited to, the various terminal equipments such as smart mobile phone, panel computer, it is intended to by equipment
Background process is monitored and managed, and comes lifting means performance, reduction equipment power dissipation.A kind of electronic equipment with reference to shown in Fig. 1
The flow chart of the management method embodiment one of background process, methods described may comprise steps of:
Step 101, the progress information for obtaining process to be monitored, the progress information at least include the process to be monitored
Process identification (PID).
The process to be monitored, can be that electronic equipment backstage has been turned on whole processes in process, or or
According to certain strategy, the Partial Process that the need chosen in the process being had been turned on from electronic equipment backstage are monitored.
The progress information for the process to be monitored that this step is obtained, should at least include the process identification (PID) of process to be monitored, with side
Continue after an action of the bowels according to the process identification (PID), apply corresponding monitoring to the process to be monitored and manage.
Step 102, the process identification (PID) according to the process to be monitored, are monitored to the process to be monitored, obtain institute
State the monitoring information of process to be monitored.
After the process identification (PID) of process to be monitored is obtained, according to the process identification (PID), the process process to be monitored is supervised
Control, so as to obtain corresponding monitoring information.In general, the monitoring information can include the Startup time of process to be monitored
Relevant information, and/or some running status relevant informations in the process of running etc..The Startup time correlation letter of process to be monitored
Breath, for example, can specifically include the information such as the process priority and process context switching numerical value of process to be monitored.
Step 103, according to the monitoring information, analyze the importance of the process to be monitored, obtain analysis result.
It is monitored, is obtained after corresponding monitoring information treating monitoring process, can the monitoring based on process to be monitored
The importance of process to be monitored described in information analysis, so as to obtain that the whether important analysis result of process to be monitored can be characterized.
Step 104, according to the analysis result, corresponding process cleaning is carried out to the process to be monitored and handles or continues
Retain the process to be monitored.
Finally, corresponding management can be performed to the process to be monitored and operated according to the analysis result.Specifically,
If the analysis result represents that the importance of process to be monitored is higher, continue to treat described in reservation in the internal memory of electronic equipment
Monitoring process, to keep its normal operation in internal memory;, whereas if the analysis result represents the important of process to be monitored
Property is relatively low, then the process to be monitored is disposed from the internal memory of electronic equipment, make it that electronic equipment is important by disposing
Property relatively low background process, come lifting means performance, reduction equipment power dissipation.
Wherein, using corresponding process cleanout tool, the process to be monitored is removed from electronic equipment internal memory.Example
Property, for the electronic equipment of android system, it can specifically use android system instrument or linux managements of process
Instrument etc., the process relatively low to importance in electronic equipment internal memory is purged.
The management method of the electronic equipment background process provided from above scheme, the application, treats monitoring process and enters
Row monitoring, obtains the monitoring information of the process to be monitored;According to the monitoring information, the importance of process to be monitored is analyzed;
According to the importance analysis result of process to be monitored, to the process to be monitored, carry out corresponding process cleaning processing or continue
Retain the process to be monitored.It can be seen that, using application scheme, the importance according to process to be monitored can be achieved, is treated to described
Monitoring process carries out corresponding management, specifically, such as when the significance level of process to be monitored is relatively low, is disposed, from
And application scheme is applied, it can effectively dispose the relatively low process of some importance on equipment backstage, and then lifting means
, equipment power dissipation can be reduced.
Embodiment two
In the present embodiment two, the stream of the management method embodiment two of a kind of electronic equipment background process with reference to shown in Fig. 2
The progress information of process to be monitored is obtained in Cheng Tu, the step 101, can specifically be realized by following processing procedure:
The startup event of step 1011, the monitoring electronic apparatus application component.
In the present embodiment, specifically aim at and electronic equipment backstage is had been turned on to whole processes in process as to be monitored
Process is managed, based on this, needs in real time, dynamically to know the startup situation of electronic equipment background process, and then set for electronics
The process newly started in standby internal memory applies monitoring.
Because an application may accordingly include one or more assemblies, and the startup of component can be accordingly resulted in applying
Process initiation is carried out on equipment backstage, in consideration of it, the present embodiment is supervised by the startup event to electronic apparatus application component
Control, to know the startup situation of electronic equipment background process.
Step 1012, when monitoring the startup event of the electronic apparatus application component, obtain started component pair
The progress information answered, the progress information at least includes the corresponding process identification (PID) of the component.
When monitoring the startup event of electronic apparatus application component, it can know that electronic equipment backstage is accordingly entered
Cheng Qidong events, so that this step obtains the started corresponding progress information of component, the progress information at least includes described group
The process identification (PID) of process corresponding to part.
Step 1013, according to the corresponding process identification (PID) of the component, whether judge the corresponding process of the component is electronics
The process newly started in device memory, obtains the first judged result.
In practical application, the process newly started in the process that electronic equipment backstage is started, not necessarily device memory,
For example, in the case where restarting process, process is not still eliminated in device memory, so that the process in this case started is not
Belong to the process newly started in device memory.Based on this, this step judges described group according to the corresponding process identification (PID) of the component
Whether the corresponding process of part is the process newly started in electronic equipment internal memory, obtains the first judged result.
Wherein, if the corresponding process of the pre-existing process identification (PID) before this in electronic equipment internal memory, then it represents that
The corresponding process of the component is not the process newly started in electronic equipment internal memory;Conversely, then the corresponding process of the component is
The process newly started in electronic equipment internal memory.
If step 1014, first judged result represent that the corresponding process of the component is newly opened in electronic equipment internal memory
Dynamic process, then the corresponding process of the component is process to be monitored, and the corresponding progress information of the component is process to be monitored
Progress information.
It is entering of newly starting in electronic equipment internal memory if first judged result represents the corresponding process of the component
Journey, then the present embodiment using the corresponding process of the component as process to be monitored, correspondingly, the corresponding progress information of the component
The progress information of process as to be monitored.
If conversely, first judged result represents the corresponding process of the component, newly being opened in electronic equipment internal memory
Dynamic process, because based on this embodiment scheme, when process newly starts, equipment can apply to the process of each new startup and monitor,
In consideration of it, for not being the process (process such as restarted) newly started, because equipment has been applied with prison in its new startup to it
Control and management processing, so that in order to avoid reprocessing, without being handled again as process to be monitored.
The present embodiment is managed by the way that electronic equipment backstage to be had been turned on to whole processes in process as process to be monitored
Reason, can be achieved to have been turned on electronic equipment backstage the relatively low process process of each importance in process and removes, so as to effective
Lifting means performance, reduction equipment power dissipation.
Embodiment three
In the present embodiment three, the stream of the management method embodiment three of a kind of electronic equipment background process with reference to shown in Fig. 3
The progress information of process to be monitored is obtained in Cheng Tu, the step 101, can specifically be realized by following processing procedure:
The startup event of step 1015, the monitoring electronic apparatus application component.
In the present embodiment, it is intended to realize according to certain strategy, portion is selected in the process being had been turned on from electronic equipment backstage
Point process is managed as process to be monitored.
Wherein, the determination of process to be monitored, equally needs first in real time, dynamically to know the startup of electronic equipment background process
Situation.
Because an application may accordingly include one or more assemblies, and the startup of component can correspondingly set in applying
Standby backstage carries out process initiation, in consideration of it, the present embodiment by the startup event to electronic apparatus application component be monitored come
Know the startup situation of electronic equipment background process.
Step 1016, when monitoring the startup event of the electronic apparatus application component, obtain started component pair
The progress information answered, the progress information at least includes the corresponding process identification (PID) of the component.
When monitoring the startup event of electronic apparatus application component, it can know that electronic equipment backstage is accordingly entered
Cheng Qidong events, so that this step obtains the started corresponding progress information of component, the progress information at least includes described group
The process identification (PID) of process corresponding to part.
Step 1017, according to the corresponding process identification (PID) of the component, whether judge the corresponding process of the component is electronics
The process newly started in device memory, and be the process except the corresponding process of application included in predetermined white list, obtain
To the second judged result.
Partial Process is selected in the present embodiment concrete foundation white list strategy, each process that slave unit backstage has been turned on
It is used as process to be monitored.
Wherein, record has the application message (such as Apply Names) that at least one is applied in white list, and presets white
Each in list is using corresponding process without monitoring, it is however generally that, the application recorded in the white list can be based on
The application that the corresponding input of user/system of application or equipment determined by setting operation is given tacit consent to, or can also
Both combinations, can include for example, specifically, in the white list usage frequency that user sets it is higher, to user
Say the higher one or more applications of importance, and/or some more important applications for setting of system default etc..
Based on this, this step can be first depending on the corresponding process identification (PID) of the component, judge the corresponding process of the component
Whether it is the process newly started in electronic equipment internal memory, wherein, if pre-existing described before this in electronic equipment internal memory
The corresponding process of process identification (PID), then it represents that the corresponding process of the component is not the process newly started in electronic equipment internal memory;Instead
It, then the corresponding process of the component is the process newly started in electronic equipment internal memory.
If it is judged that the corresponding process of the component is the process newly started in device memory, then need to determine whether institute
State the corresponding process of component, if for the process except the corresponding process of application included in predetermined white list, obtain the
Two judged results.
If step 1018, second judged result represent that the corresponding process of the component is newly opened in electronic equipment internal memory
Dynamic process, and be the process except the corresponding process of application included in predetermined white list, then the component is corresponding
Process is process to be monitored, and the corresponding progress information of the component is the progress information of process to be monitored.
If second judged result, it is entering of newly starting in electronic equipment internal memory to represent the corresponding process of the component
Journey, and be the process except the corresponding process of application included in predetermined white list, then by the corresponding process of the component
As process to be monitored, and then, the corresponding progress information of the component is the progress information of process to be monitored.Conversely, then not
Will the corresponding process of the component handled as process to be monitored.
The present embodiment is entered by according to white list strategy, selecting part in each process that slave unit backstage has been turned on
Journey, is managed as process to be monitored, may be such that ensure white list using corresponding process can normally run it is same
When, additionally it is possible to the relatively low process of each importance in the non-white list application process being had been turned on to electronic equipment backstage carries out clear
Remove, effectively improve equipment performance, reduce equipment power dissipation.
Example IV
In the present embodiment four, the stream of the management method example IV of a kind of electronic equipment background process with reference to shown in Fig. 4
In Cheng Tu, the step 102, according to the process identification (PID) of the process to be monitored, the process to be monitored is monitored, obtained
The monitoring information of the process to be monitored, can be realized by following processing procedure:
Step 1021, the process identification (PID) according to the process to be monitored, the operating system of monitoring electronic equipment are treated to described
The process priority and process context of monitoring process switch the modification situation of numerical value.
The present embodiment, specifically switches the process priority of process to be monitored and process context the change information of numerical value,
As the monitoring information of process to be monitored, so that cause subsequently can be according to the process priority and process context of process to be monitored
Switch the change information of numerical value, analyzed the importance for the treatment of monitoring process.
Based on this, in order to obtain the monitoring information, process identification (PID) that need to be according to the process to be monitored, to monitor electronics
The operating system of equipment switches the modification situation of numerical value to the process priority and process context of the process to be monitored.
Step 1022, repairing for numerical value is switched to the process priority and process context of the process to be monitored when monitoring
When changing event, the process priority of the process to be monitored and process context switching numerical value before and after record modification;Until record
Untill when number of times reaches pre-determined number.
During monitoring, when the system that detects switches to the process priority and process context of the process to be monitored
During the modification event of numerical value, the process priority of the process to be monitored and process context switching numerical value before and after record modification,
In order to avoid the contingency due to single record data, caused by process importance analysis result to be monitored accuracy it is relatively low
In this problem, the present embodiment, the specific detection repeatedly modification event, and correspondingly, for the multiple modification event, entering
The record of the multiple monitoring data of row, make it that providing enough data for follow-up importance analysis processing supports.
Embodiment five
On the basis of example IV, the management method embodiment of a kind of electronic equipment background process with reference to shown in Fig. 5
In five flow chart, the step 103, according to the monitoring information, the importance of the process to be monitored is analyzed, can be passed through
Following processing procedure is realized:
Step 1031, the record data according to the pre-determined number, analyze the process to be monitored process priority and
Process context switches the situation of change of numerical value.
Wherein, the process priority change of the process to be monitored can according to the record data of the pre-determined number, be analyzed
Trend, and the process context of the analysis process to be monitored switch change frequency of numerical value etc..
As specifically, the process priority for analyzing the process to be monitored is to show change low tendency, uprise trend, still
Substantially it is unchanged, and the change frequency of the analysis process context switching numerical value is rise or reduction etc..
Step 1032, the process priority based on the process to be monitored and process context switch the change feelings of numerical value
Condition, analyzes the importance of the process to be monitored.
If according to the record data of the pre-determined number, the process priority for analyzing the process to be monitored becomes in step-down
Gesture, and the frequencies go lower that changes of process context switching numerical value of the process to be monitored, then illustrate it is described it is to be monitored enter
Journey is increasingly not used, and the importance for further relating to the process to be monitored is relatively low;Otherwise, then it is assumed that the process to be monitored
Importance it is higher.
Subsequently, however, it is determined that the importance for going out process to be monitored is relatively low, then can be based on application scheme, by it is described it is to be monitored enter
Journey is removed from electronic equipment internal memory, so as to effective lifting means performance, reduction equipment power dissipation.
Next, the present embodiment provides a concrete application example of application scheme.Fig. 6 is carried by taking Android device as an example
The software architecture using application scheme progress process monitoring and management is supplied.
Wherein, as shown in fig. 6, the system of equipment includes X Android application:App A ... App X, for institute
State each background process that may start during multiple applications operation, can be monitored by the AMS message shown in Fig. 6 module 601,
Linux processes monitor multiple work(such as module 602, process stopping/process cleaning modul 603, and monitoring process processing module 604
Energy module, realization is monitored and managed to each described background process.
Wherein, AMS message monitors module 601, for registering AMS (Activity Management Service, activity
Status management service), and on the basis of registration AMS services, the message that listening components start, obtains component and process is related
Information, application ID, process ID as corresponding to obtaining the component being currently up etc.;
Linux processes monitor module 602, and effect is, according to the progress information such as process ID obtained, to carry out securing component correspondence
Process associated monitoring data, such as obtain the delta data that process priority and process context switch numerical value;Wherein, enter
Journey priority and process context switching numerical value are provided by system;
Process stopping/process cleaning modul 603, for utilizing android system instrument or linux management of process works
Tool, is purged to the process in device memory;
Monitoring process processing module 604, it is real-time by above corresponding module for the main control module of each module more than
Monitor whether current android system has component startup, the Startup time of each process of simultaneous real-time monitoring Linux system is related
Information or running status, and it is responsible for addition/removal process to be monitored, the operation opportunity of clean up process and logic judgment;
Process monitoring list in Fig. 6, the progress information for storing all processes to be monitored;Process data record row
Table, the monitoring information for recording process to be monitored, such as each process to be monitored, the process priority of physical record n times
And the change information of process context switching numerical value etc., wherein, each process to be monitored, all can in the process monitoring list
One process data record list of correspondence.
Embodiment six
The embodiment of the present application six provide a kind of electronic equipment, the electronic equipment can be, but not limited to, smart mobile phone,
The various terminal equipments such as panel computer, it is intended to by the way that equipment background process is monitored and managed, come lifting means performance, drop
Low equipment power dissipation.The structural representation of a kind of electronic equipment embodiment six with reference to shown in Fig. 7, the electronic equipment can be wrapped
Include:
Acquiring unit 701, the progress information for obtaining process to be monitored, the progress information at least is waited to supervise including described
The process identification (PID) of control process.
The process to be monitored, can be that electronic equipment backstage has been turned on whole processes in process, or or
According to certain strategy, the Partial Process that the need chosen in the process being had been turned on from electronic equipment backstage are monitored.
The progress information for the process to be monitored that this unit is obtained, should at least include the process identification (PID) of process to be monitored, with side
Continue after an action of the bowels according to the process identification (PID), apply corresponding monitoring to the process to be monitored and manage.
Monitoring unit 702, for the process identification (PID) according to the process to be monitored, is supervised to the process to be monitored
Control, obtains the monitoring information of the process to be monitored.
After the process identification (PID) of process to be monitored is obtained, according to the process identification (PID), the process process to be monitored is supervised
Control, so as to obtain corresponding monitoring information.In general, the monitoring information can include the Startup time of process to be monitored
Relevant information, and/or some running status relevant informations in the process of running etc..The Startup time correlation letter of process to be monitored
Breath, for example, can specifically include the information such as the process priority and process context switching numerical value of process to be monitored.
Analytic unit 703, for according to the monitoring information, analyzing the importance of the process to be monitored, being analyzed
As a result.
It is monitored, is obtained after corresponding monitoring information treating monitoring process, can the monitoring based on process to be monitored
The importance of process to be monitored described in information analysis, so as to obtain that the whether important analysis result of process to be monitored can be characterized.
Processing unit 704, for according to the analysis result, being carried out to the process to be monitored at corresponding process cleaning
Reason continues to retain the process to be monitored.
Finally, corresponding management can be performed to the process to be monitored and operated according to the analysis result.Specifically,
If the analysis result represents that the importance of process to be monitored is higher, continue to treat described in reservation in the internal memory of electronic equipment
Monitoring process, to keep its normal operation in internal memory;, whereas if the analysis result represents the important of process to be monitored
Property is relatively low, then the process to be monitored is disposed from the internal memory of electronic equipment, make it that electronic equipment is important by disposing
Property relatively low background process, come lifting means performance, reduction equipment power dissipation.
Wherein, using corresponding process cleanout tool, the process to be monitored is removed from electronic equipment internal memory.Example
Property, for the electronic equipment of android system, it can specifically use android system instrument or linux managements of process
Instrument etc., the process relatively low to importance in electronic equipment internal memory is purged.
From above scheme, the electronic equipment that the application is provided is treated monitoring process and is monitored, and obtains described waiting to supervise
The monitoring information of control process;According to the monitoring information, the importance of process to be monitored is analyzed;According to the important of process to be monitored
Property analysis result, to the process to be monitored, carry out corresponding process cleaning processing or continue to retain the process to be monitored.Can
See, using application scheme, the importance according to process to be monitored can be achieved, corresponding management is carried out to the process to be monitored,
Specifically, for example disposed when the significance level of process to be monitored is relatively low, so as to using application scheme, can have
Effect disposes the relatively low process of some importance on equipment backstage, and then can lifting means performance, reduction equipment power dissipation.
Embodiment seven
In the present embodiment seven, the acquiring unit is further used for:
Monitor the startup event of the electronic apparatus application component;When the startup for monitoring the electronic apparatus application component
During event, the started corresponding progress information of component is obtained, the progress information at least includes the corresponding process of the component
Mark;Whether according to the corresponding process identification (PID) of the component, it is new in electronic equipment internal memory to judge the corresponding process of the component
The process of startup, obtains the first judged result;If first judged result represents that the corresponding process of the component is that electronics is set
The process newly started in standby internal memory, then the corresponding process of the component is process to be monitored, the corresponding progress information of the component
For the progress information of process to be monitored.
In the present embodiment, specifically aim at and electronic equipment backstage is had been turned on to whole processes in process as to be monitored
Process is managed, based on this, needs in real time, dynamically to know the startup situation of electronic equipment background process, and then set for electronics
The process newly started in standby internal memory applies monitoring.
Because an application may accordingly include one or more assemblies, and the startup of component can be accordingly resulted in applying
Process initiation is carried out on equipment backstage, in consideration of it, the present embodiment is supervised by the startup event to electronic apparatus application component
Control, to know the startup situation of electronic equipment background process.
When monitoring the startup event of electronic apparatus application component, it can know that electronic equipment backstage is accordingly entered
Cheng Qidong events, so that the present embodiment obtains the started corresponding progress information of component, the progress information at least includes described
The process identification (PID) of process corresponding to component.
In practical application, the process newly started in the process that electronic equipment backstage is started, not necessarily device memory,
For example, in the case where restarting process, process is not still eliminated in device memory, so that the process in this case started is not
Belong to the process newly started in device memory.Based on this, the present embodiment judges described according to the corresponding process identification (PID) of the component
Whether the corresponding process of component is the process newly started in electronic equipment internal memory, obtains the first judged result.
Wherein, if the corresponding process of the pre-existing process identification (PID) before this in electronic equipment internal memory, then it represents that
The corresponding process of the component is not the process newly started in electronic equipment internal memory;Conversely, then the corresponding process of the component is
The process newly started in electronic equipment internal memory.
It is entering of newly starting in electronic equipment internal memory if first judged result represents the corresponding process of the component
Journey, then the present embodiment using the corresponding process of the component as process to be monitored, correspondingly, the corresponding progress information of the component
The progress information of process as to be monitored.
If conversely, first judged result represents the corresponding process of the component, newly being opened in electronic equipment internal memory
Dynamic process, because based on this embodiment scheme, when process newly starts, equipment can apply to the process of each new startup and monitor,
In consideration of it, for not being the process (process such as restarted) newly started, because equipment has been applied with prison in its new startup to it
Control and management processing, so that in order to avoid reprocessing, without being handled again as process to be monitored.
The present embodiment is managed by the way that electronic equipment backstage to be had been turned on to whole processes in process as process to be monitored
Reason, can be achieved to have been turned on electronic equipment backstage the relatively low process process of each importance in process and removes, so as to effective
Lifting means performance, reduction equipment power dissipation.
Embodiment eight
In the present embodiment eight, the acquiring unit is further used for:
Monitor the startup event of the electronic apparatus application component;When the startup for monitoring the electronic apparatus application component
During event, the started corresponding progress information of component is obtained, the progress information at least includes the corresponding process of the component
Mark;Whether according to the corresponding process identification (PID) of the component, it is new in electronic equipment internal memory to judge the corresponding process of the component
The process of startup, and be the process except the corresponding process of application included in predetermined white list, obtain the second judgement knot
Really;If second judged result represents that the corresponding process of the component is the process newly started in electronic equipment internal memory, and is
The process except the corresponding process of application included in predetermined white list, then the corresponding process of the component for it is to be monitored enter
Journey, the corresponding progress information of the component is the progress information of process to be monitored.
In the present embodiment, it is intended to realize according to certain strategy, portion is selected in the process being had been turned on from electronic equipment backstage
Point process is managed as process to be monitored.
Wherein, the determination of process to be monitored, equally needs first in real time, dynamically to know the startup of electronic equipment background process
Situation.
Because an application may accordingly include one or more assemblies, and the startup of component can correspondingly set in applying
Standby backstage carries out process initiation, in consideration of it, the present embodiment by the startup event to electronic apparatus application component be monitored come
Know the startup situation of electronic equipment background process.
When monitoring the startup event of electronic apparatus application component, it can know that electronic equipment backstage is accordingly entered
Cheng Qidong events, so that the present embodiment obtains the started corresponding progress information of component, the progress information at least includes described
The process identification (PID) of process corresponding to component.
Partial Process is selected in the present embodiment concrete foundation white list strategy, each process that slave unit backstage has been turned on
It is used as process to be monitored.
Wherein, record has the application message (such as Apply Names) that at least one is applied in white list, and presets white
Each in list is using corresponding process without monitoring, it is however generally that, the application recorded in the white list can be based on
The application that the corresponding input of user/system of application or equipment determined by setting operation is given tacit consent to, or can also
Both combinations, can include for example, specifically, in the white list usage frequency that user sets it is higher, to user
Say the higher one or more applications of importance, and/or some more important applications for setting of system default etc..
Based on this, the present embodiment can be first depending on the corresponding process identification (PID) of the component, judge the component it is corresponding enter
Whether journey is the process newly started in electronic equipment internal memory, wherein, if pre-existing institute before this in electronic equipment internal memory
State the corresponding process of process identification (PID), then it represents that the corresponding process of the component is not the process newly started in electronic equipment internal memory;
Conversely, then the corresponding process of the component is the process newly started in electronic equipment internal memory.
If it is judged that the corresponding process of the component is the process newly started in device memory, then need to determine whether institute
State the corresponding process of component, if for the process except the corresponding process of application included in predetermined white list, obtain the
Two judged results.
If second judged result, it is entering of newly starting in electronic equipment internal memory to represent the corresponding process of the component
Journey, and be the process except the corresponding process of application included in predetermined white list, then by the corresponding process of the component
As process to be monitored, and then, the corresponding progress information of the component is the progress information of process to be monitored.Conversely, then not
Will the corresponding process of the component handled as process to be monitored.
The present embodiment is entered by according to white list strategy, selecting part in each process that slave unit backstage has been turned on
Journey, is managed as process to be monitored, may be such that ensure white list using corresponding process can normally run it is same
When, additionally it is possible to the relatively low process of each importance in the non-white list application process being had been turned on to electronic equipment backstage carries out clear
Remove, effectively improve equipment performance, reduce equipment power dissipation.
Embodiment nine
In the present embodiment nine, the monitoring unit is further used for:
According to the process identification (PID) of the process to be monitored, the operating system of electronic equipment is monitored to the process to be monitored
Process priority and process context switch the modification situation of numerical value;When monitoring the process priority to the process to be monitored
And process context switch numerical value modification event when, the process priority and process of the process to be monitored before and after record modification
Context switches numerical value;Untill recording when number of times reaches pre-determined number.
The present embodiment, specifically switches the process priority of process to be monitored and process context the change information of numerical value,
As the monitoring information of process to be monitored, so that cause subsequently can be according to the process priority and process context of process to be monitored
Switch the change information of numerical value, analyzed the importance for the treatment of monitoring process.
Based on this, in order to obtain the monitoring information, process identification (PID) that need to be according to the process to be monitored, to monitor electronics
The operating system of equipment switches the modification situation of numerical value to the process priority and process context of the process to be monitored.
During monitoring, when the system that detects switches to the process priority and process context of the process to be monitored
During the modification event of numerical value, the process priority of the process to be monitored and process context switching numerical value before and after record modification,
In order to avoid the contingency due to single record data, caused by process importance analysis result to be monitored accuracy it is relatively low
In this problem, the present embodiment, the specific detection repeatedly modification event, and correspondingly, for the multiple modification event, entering
The record of the multiple monitoring data of row, make it that providing enough data for follow-up importance analysis processing supports.
Embodiment ten
On the basis of above example nine, in the present embodiment, the analytic unit is further used for:
According to the record data of the pre-determined number, the process priority and process context of the process to be monitored are analyzed
Switch the situation of change of numerical value;Process priority and process context based on the process to be monitored switch the change feelings of numerical value
Condition, analyzes the importance of the process to be monitored.
Wherein, the process priority change of the process to be monitored can according to the record data of the pre-determined number, be analyzed
Trend, and the process context of the analysis process to be monitored switch change frequency of numerical value etc..
As specifically, the process priority for analyzing the process to be monitored is to show change low tendency, uprise trend, still
Substantially it is unchanged, and the change frequency of the analysis process context switching numerical value is rise or reduction etc..
If according to the record data of the pre-determined number, the process priority for analyzing the process to be monitored becomes in step-down
Gesture, and the frequencies go lower that changes of process context switching numerical value of the process to be monitored, then illustrate it is described it is to be monitored enter
Journey is increasingly not used, and the importance for further relating to the process to be monitored is relatively low;Otherwise, then it is assumed that the process to be monitored
Importance it is higher.
Subsequently, however, it is determined that the importance for going out process to be monitored is relatively low, then can be based on application scheme, by it is described it is to be monitored enter
Journey is removed from electronic equipment internal memory, so as to effective lifting means performance, reduction equipment power dissipation.
Next, the present embodiment provides a concrete application example of application scheme.Fig. 6 is carried by taking Android device as an example
The software architecture using application scheme progress process monitoring and management is supplied.
Wherein, as shown in fig. 6, the system of equipment includes X Android application:App A ... App X, for institute
State each background process that may start during multiple applications operation, can be monitored by the AMS message shown in Fig. 6 module 601,
Linux processes monitor multiple work(such as module 602, process stopping/process cleaning modul 603, and monitoring process processing module 604
Energy module, realization is monitored and managed to each described background process.
Wherein, AMS message monitors module 601, for registering AMS (Activity Management Service, activity
Status management service), and on the basis of registration AMS services, the message that listening components start, obtains component and process is related
Information, application ID, process ID as corresponding to obtaining the component being currently up etc.;
Linux processes monitor module 602, and effect is, according to the progress information such as process ID obtained, to carry out securing component correspondence
Process associated monitoring data, such as obtain the delta data that process priority and process context switch numerical value;Wherein, enter
Journey priority and process context switching numerical value are provided by system;
Process stopping/process cleaning modul 603, for utilizing android system instrument or linux management of process works
Tool, is purged to the process in device memory;
Monitoring process processing module 604, it is real-time by above corresponding module for the main control module of each module more than
Monitor whether current android system has component startup, the Startup time of each process of simultaneous real-time monitoring Linux system is related
Information or running status, and it is responsible for addition/removal process to be monitored, the operation opportunity of clean up process and logic judgment;
Process monitoring list in Fig. 6, the progress information for storing all processes to be monitored;Process data record row
Table, the monitoring information for recording process to be monitored, such as each process to be monitored, the process priority of physical record n times
And the change information of process context switching numerical value etc., wherein, each process to be monitored, all can in the process monitoring list
One process data record list of correspondence.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation be all between difference with other embodiment, each embodiment identical similar part mutually referring to.
For convenience of description, describe to be divided into various modules when system above or device with function or unit is described respectively.
Certainly, the function of each unit can be realized in same or multiple softwares and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can
Realized by the mode of software plus required general hardware platform.Understood based on such, the technical scheme essence of the application
On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product
It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause a computer equipment
(can be personal computer, server, or network equipment etc.) performs some of each embodiment of the application or embodiment
Method described in part.
Finally, in addition it is also necessary to explanation, herein, the relational terms of such as first, second, third and fourth or the like
It is used merely to make a distinction an entity or operation with another entity or operation, and not necessarily requires or imply these
There is any this actual relation or order between entity or operation.Moreover, term " comprising ", "comprising" or its is any
Other variants are intended to including for nonexcludability, so that process, method, article or equipment including a series of key elements
Not only include those key elements, but also other key elements including being not expressly set out, or also include being this process, side
Method, article or the intrinsic key element of equipment.In the absence of more restrictions, limited by sentence "including a ..."
Key element, it is not excluded that also there is other identical element in the process including the key element, method, article or equipment.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (12)
1. the management method of a kind of electronic equipment background process, it is characterised in that including:
The progress information of process to be monitored is obtained, the progress information at least includes the process identification (PID) of the process to be monitored;
According to the process identification (PID) of the process to be monitored, the process to be monitored is monitored, the process to be monitored is obtained
Monitoring information;
According to the monitoring information, the importance of the process to be monitored is analyzed, analysis result is obtained;
According to the analysis result, corresponding process cleaning is carried out to the process to be monitored and handles or continues to wait to supervise described in reservation
Control process.
2. according to the method described in claim 1, it is characterised in that the progress information for obtaining process to be monitored, including:
Monitor the startup event of the electronic apparatus application component;
When monitoring the startup event of the electronic apparatus application component, the started corresponding progress information of component is obtained,
The progress information at least includes the corresponding process identification (PID) of the component;
Whether according to the corresponding process identification (PID) of the component, it is newly to open in electronic equipment internal memory to judge the corresponding process of the component
Dynamic process, obtains the first judged result;
If first judged result represents that the corresponding process of the component is the process newly started in electronic equipment internal memory, institute
The corresponding process of component is stated for process to be monitored, the corresponding progress information of the component is the progress information of process to be monitored.
3. according to the method described in claim 1, it is characterised in that the progress information for obtaining process to be monitored, including:
Monitor the startup event of the electronic apparatus application component;
When monitoring the startup event of the electronic apparatus application component, the started corresponding progress information of component is obtained,
The progress information at least includes the corresponding process identification (PID) of the component;
Whether according to the corresponding process identification (PID) of the component, it is newly to open in electronic equipment internal memory to judge the corresponding process of the component
Dynamic process, and be the process except the corresponding process of application included in predetermined white list, obtain the second judged result;
If second judged result represents that the corresponding process of the component is the process newly started in electronic equipment internal memory, and is
The process except the corresponding process of application included in predetermined white list, then the corresponding process of the component for it is to be monitored enter
Journey, the corresponding progress information of the component is the progress information of process to be monitored.
4. it is according to the method described in claim 1, it is characterised in that the process identification (PID) according to the process to be monitored, right
The process to be monitored is monitored, and obtains the monitoring information of the process to be monitored, including:
According to the process identification (PID) of the process to be monitored, process of the operating system to the process to be monitored of electronic equipment is monitored
Priority and process context switch the modification situation of numerical value;
When monitoring the modification event to process priority and process context the switching numerical value of the process to be monitored, record
The process priority of the process to be monitored and process context switching numerical value before and after modification;Until record number of times reaches predetermined time
Untill during number.
5. method according to claim 4, it is characterised in that described according to the monitoring information, is analyzed described to be monitored
The importance of process, including:
According to the record data of the pre-determined number, process priority and the process context switching of the process to be monitored are analyzed
The situation of change of numerical value;
Process priority based on the process to be monitored and process context switch the situation of change of numerical value, wait to supervise described in analysis
The importance of control process.
6. method according to claim 5, it is characterised in that the process priority based on the process to be monitored and
Process context switches the situation of change of numerical value, analyzes the importance of the process to be monitored, including:
If the process priority of the process to be monitored is in change low tendency, and the process context of the process to be monitored switches number
The frequencies go lower that value changes, then the importance of the process to be monitored is relatively low;Otherwise, the importance of the process to be monitored
It is higher.
7. according to the method described in claim 1, it is characterised in that described according to analysis result, the process to be monitored is entered
The corresponding process cleaning processing of row continues to retain the process to be monitored, including:
If the analysis result represents that the importance of the process to be monitored is relatively low, treated from electronic equipment internal memory described in removing
Monitoring process;
If the analysis result represents that the importance of the process to be monitored is higher, continue to retain institute in electronic equipment internal memory
State process to be monitored.
8. method according to claim 7, it is characterised in that removed in the internal memory from electronic equipment it is described it is to be monitored enter
Journey, including:
Using corresponding process cleanout tool, the process to be monitored is removed from electronic equipment internal memory.
9. a kind of electronic equipment, it is characterised in that including:
Acquiring unit, the progress information for obtaining process to be monitored, the progress information at least includes the process to be monitored
Process identification (PID);
Monitoring unit, for the process identification (PID) according to the process to be monitored, is monitored to the process to be monitored, obtains institute
State the monitoring information of process to be monitored;
Analytic unit, for according to the monitoring information, analyzing the importance of the process to be monitored, obtaining analysis result;
Processing unit, for according to the analysis result, the process to be monitored is carried out corresponding process cleaning processing or after
The process to be monitored is stayed in continuation of insurance.
10. electronic equipment according to claim 9, it is characterised in that the acquiring unit, obtains entering for process to be monitored
Journey information, further comprises:
Monitor the startup event of the electronic apparatus application component;When the startup event for monitoring the electronic apparatus application component
When, the started corresponding progress information of component is obtained, the progress information at least includes the corresponding process identification (PID) of the component;
Whether according to the corresponding process identification (PID) of the component, it is newly to start in electronic equipment internal memory to judge the corresponding process of the component
Process, obtains the first judged result;If first judged result represents that the corresponding process of the component is electronic equipment internal memory
In the process that newly starts, then the corresponding process of the component is process to be monitored, and the corresponding progress information of the component is waits to supervise
The progress information of control process.
11. electronic equipment according to claim 9, it is characterised in that the acquiring unit, obtains entering for process to be monitored
Journey information, further comprises:
Monitor the startup event of the electronic apparatus application component;When the startup event for monitoring the electronic apparatus application component
When, the started corresponding progress information of component is obtained, the progress information at least includes the corresponding process identification (PID) of the component;
Whether according to the corresponding process identification (PID) of the component, it is newly to start in electronic equipment internal memory to judge the corresponding process of the component
Process, and be the process except the corresponding process of application included in predetermined white list, obtain the second judged result;If institute
State the second judged result and represent that the corresponding process of the component is the process newly started in electronic equipment internal memory, and to be predetermined white
The process except the corresponding process of application included in list, then the corresponding process of the component is process to be monitored, described
The corresponding progress information of component is the progress information of process to be monitored.
12. electronic equipment according to claim 9, it is characterised in that the monitoring unit, according to the process to be monitored
Process identification (PID), the process to be monitored is monitored, further comprised:
According to the process identification (PID) of the process to be monitored, process of the operating system to the process to be monitored of electronic equipment is monitored
Priority and process context switch the modification situation of numerical value;When monitoring to the process priority of the process to be monitored and enter
When journey context switches the modification event of numerical value, before and after record modification above and below the process priority and process of the process to be monitored
Text switching numerical value;Untill recording when number of times reaches pre-determined number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710183198.5A CN106951318A (en) | 2017-03-24 | 2017-03-24 | The management method and electronic equipment of a kind of electronic equipment background process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710183198.5A CN106951318A (en) | 2017-03-24 | 2017-03-24 | The management method and electronic equipment of a kind of electronic equipment background process |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106951318A true CN106951318A (en) | 2017-07-14 |
Family
ID=59473042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710183198.5A Pending CN106951318A (en) | 2017-03-24 | 2017-03-24 | The management method and electronic equipment of a kind of electronic equipment background process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106951318A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107402808A (en) * | 2017-07-31 | 2017-11-28 | 广东欧珀移动通信有限公司 | process management method, device, storage medium and electronic equipment |
CN107479954A (en) * | 2017-07-31 | 2017-12-15 | 广东欧珀移动通信有限公司 | process management method, device, storage medium and electronic equipment |
CN108829499A (en) * | 2018-04-29 | 2018-11-16 | 郑州易通众联电子科技有限公司 | The management method and managing device of electronic equipment |
WO2019061407A1 (en) * | 2017-09-30 | 2019-04-04 | 华为技术有限公司 | Method and device for handling timeout of system service |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103970596A (en) * | 2014-03-17 | 2014-08-06 | 珠海市君天电子科技有限公司 | Process management method and terminal |
CN104199669A (en) * | 2014-09-12 | 2014-12-10 | 北京奇虎科技有限公司 | Method and device for managing application program processes |
CN106250223A (en) * | 2016-07-28 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | A kind of background process management method and terminal unit |
-
2017
- 2017-03-24 CN CN201710183198.5A patent/CN106951318A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103970596A (en) * | 2014-03-17 | 2014-08-06 | 珠海市君天电子科技有限公司 | Process management method and terminal |
CN104199669A (en) * | 2014-09-12 | 2014-12-10 | 北京奇虎科技有限公司 | Method and device for managing application program processes |
CN106250223A (en) * | 2016-07-28 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | A kind of background process management method and terminal unit |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107402808A (en) * | 2017-07-31 | 2017-11-28 | 广东欧珀移动通信有限公司 | process management method, device, storage medium and electronic equipment |
CN107479954A (en) * | 2017-07-31 | 2017-12-15 | 广东欧珀移动通信有限公司 | process management method, device, storage medium and electronic equipment |
CN107479954B (en) * | 2017-07-31 | 2019-10-29 | Oppo广东移动通信有限公司 | Process management method, device, storage medium and electronic equipment |
CN107402808B (en) * | 2017-07-31 | 2020-03-27 | Oppo广东移动通信有限公司 | Process management method, device, storage medium and electronic equipment |
US11157315B2 (en) | 2017-07-31 | 2021-10-26 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for process management and electronic device |
WO2019061407A1 (en) * | 2017-09-30 | 2019-04-04 | 华为技术有限公司 | Method and device for handling timeout of system service |
US11693701B2 (en) | 2017-09-30 | 2023-07-04 | Huawei Technologies Co., Ltd. | System service timeout processing method, and apparatus |
CN108829499A (en) * | 2018-04-29 | 2018-11-16 | 郑州易通众联电子科技有限公司 | The management method and managing device of electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106951318A (en) | The management method and electronic equipment of a kind of electronic equipment background process | |
CN103164229A (en) | Method and device for clearing progresses of mobile terminal | |
CN103430151A (en) | Method and apparatus for configuring resource | |
CN102495761A (en) | Method and device for closing applications | |
CN107526641A (en) | A kind of method and device for reclaiming internal memory | |
CN104462940A (en) | Monitoring method and device for computer USB interface | |
CN104572394A (en) | Process monitoring method and device | |
CN109409087A (en) | It is anti-to propose power detection method and equipment | |
CN111159031A (en) | Method for applying mobile terminal automation test, computer device and computer readable storage medium | |
CN104699529B (en) | A kind of information acquisition method and device | |
CN103617065A (en) | System and method for forced uninstallation of system software of mobile terminal | |
CN104375896A (en) | Information processing method and electronic equipment | |
CN102129475B (en) | A kind of conflict avoiding method and system of resolution system resource-constrained | |
CN111949396B (en) | Network equipment monitoring method and system and computer readable storage medium thereof | |
CN103093529A (en) | Method for dynamically refreshing data | |
CN117221085A (en) | Network fault early warning method and device, electronic equipment and storage medium | |
CN104216780A (en) | Control method and control device for application program association operation | |
CN106855824B (en) | Task stopping method and device and electronic equipment | |
CN107766232A (en) | A kind of plug-in management method and device | |
CN103095786A (en) | Online business request identification method and system and server and online sever cluster | |
CN113065055A (en) | News information capturing method and device, electronic equipment and storage medium | |
CN101330596B (en) | System and method for monitoring video | |
JPH06110529A (en) | Operation information managing device for numerical controller | |
CN113836025B (en) | Page testing method and device, storage medium and electronic equipment | |
CN107231263A (en) | A kind of failure monitoring method and supervising device |
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 |