CN106125899A - Method and device for stopping process and mobile terminal - Google Patents
Method and device for stopping process and mobile terminal Download PDFInfo
- Publication number
- CN106125899A CN106125899A CN201610515508.4A CN201610515508A CN106125899A CN 106125899 A CN106125899 A CN 106125899A CN 201610515508 A CN201610515508 A CN 201610515508A CN 106125899 A CN106125899 A CN 106125899A
- Authority
- CN
- China
- Prior art keywords
- application program
- screen locking
- time
- mobile terminal
- duration
- 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
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
-
- 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/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
- G06F9/4893—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues taking into account power or heat criteria
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a method, a device and a mobile terminal for stopping a process, wherein the method comprises the following steps: determining the screen locking duration of the mobile terminal in the screen locking state, and determining the processing time according to the screen locking duration; acquiring currently running process information and the networking condition of an application program corresponding to the process in the mobile terminal; and if the networking condition indicates that the application program is not networked, acquiring the running information of the application program after the processing time reaches the current time, and stopping the process according to the process information and the running information of the application program. The method for stopping the process can stop the process with low user perception degree without influencing the use continuity of the user, so that the electric energy of the mobile terminal is saved, and the endurance time of the mobile terminal is further prolonged.
Description
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of stop the method for process, device and mobile terminal.
Background technology
Along with mobile terminal development, mobile terminal can be installed various application program to meet the different merit of user
Can demand.Along with the increasing of application program in mobile terminal, the flying power of mobile terminal also becomes the weight affecting Consumer's Experience
Want one.In mobile terminal install numerous application programs not only when properly functioning consume electric energy, more often screen locking it
After be still active in backstage and consume a large amount of electric energy, cause mobile terminal to be substantially reduced cruising time.
To this end, can use the method for black and white lists that the application program of running background is filtered, stop need not retain
Background application process or service, to save electric energy.But, the application program being stopped process in reality can be constant
Drawn live or self-starting, therefore can not effectively reach power saving, improve mobile terminal flying power purpose.
Summary of the invention
It is contemplated that one of technical problem solved the most to a certain extent in correlation technique.To this end, the present invention
Purpose on the one hand is to propose a kind of method stopping process, it is possible to saves the electric energy of mobile terminal, and then promotes mobile whole
The cruising time of end.
The purpose of a second aspect of the present invention is to propose a kind of device stopping process.
The purpose of a second aspect of the present invention is to propose a kind of mobile terminal.
For reaching above-mentioned purpose, embodiment proposes a kind of method stopping process according to a first aspect of the present invention, including:
Determine the screen locking duration of the mobile terminal being in screen lock state, and when determining that this processes according to described screen locking duration
Between;
Obtain in described mobile terminal, the networking feelings of the application program that the current progress information run is corresponding with described process
Condition;
If described networking situation shows described application program failed cluster, and, after reaching this process time, obtain described
The operation information of application program, and according to described progress information and the operation information of described application program, stop described process.
The method of stopping process according to embodiments of the present invention, may also include following additional technical feature:
It is in one embodiment of the invention, described according to described progress information with the operation information of described application program,
Stop described process, including:
According to described progress information and/or the operation information of described application program, it is judged that whether described process meets is preset
Filtercondition;
If described process meets default filtercondition, then enter according to the operation information stopping of described application program
Journey.
In one embodiment of the invention, described process meets default filtercondition and includes:
Progress information meets fisrt feature set.
In one embodiment of the invention, described process meets default filtercondition and also includes:
Progress information meets second feature set, and there is not informing message;
Or, progress information meets third feature set, and there is informing message, and described informing message is not in notice
In hurdle white list.
In one embodiment of the invention, this process time of described arrival, including:
If described screen locking duration is less than predetermined threshold value, then after the first preset duration, arrive this with screen locking initial time
The secondary process time;
If described screen locking duration is more than or equal to described predetermined threshold value, the most directly determine this process time of arrival, or
Person, arrives this process time with processing the time last time after the second preset duration.
In one embodiment of the invention, if described screen locking duration is less than described predetermined threshold value, arrives this and process
During the time, the described operation information according to described application program stops described process, including:
If described application program is producing operation information with screen locking initial time after the first preset duration, then judge
Described application program whether in application program blacklist, if, then stop described process.
In one embodiment of the invention, if described screen locking duration is more than or equal to predetermined threshold value, arrive at this
During the reason time, the described operation information according to described application program stops described process, including:
If described application program is producing operation information, then with screen locking initial time after described second preset duration
Judge described application program whether in the first white list of application program, if it was not then stop described process.
In one embodiment of the invention, described method also includes:
Judge that processed number of times is whether less than preset times, in order to less than time, determine this process time and follow-up
Step;
If described processed number of times is more than or equal to preset times, then terminate flow process.
In one embodiment of the invention, before stopping described process, also include:
Judge that application program corresponding to described process is whether in the second white list of application program;
If application program corresponding to described process be not in described second white list, then stop described process.
In one embodiment of the invention, also include:
If the network data transmission amount that described application program is in Preset Time is less than preset value, it is determined that described application
Program failed cluster.
The embodiment of a second aspect of the present invention provides a kind of device stopping process, including:
Determine module, for determining the screen locking duration of the mobile terminal being in screen lock state, and according to described screen locking duration
Determine this process time;
Acquisition module, is used for obtaining in described mobile terminal, and what the current progress information run was corresponding with described process should
With the networking situation of program;
Control module, for showing described application program failed cluster at described networking situation, and, reach this process time
Time, obtain the operation information of described application program, and according to described progress information and the operation information of described application program, stop
Described process.
The device of stopping process according to embodiments of the present invention, may also include following additional technical feature:
In one embodiment of the invention, described control module is used for:
According to described progress information and/or the operation information of described application program, it is judged that whether described process meets is preset
Filtercondition;
If described process meets default filtercondition, then enter according to the operation information stopping of described application program
Journey.
In one embodiment of the invention, described process meets default filtercondition and includes:
Progress information meets fisrt feature set.
In one embodiment of the invention, described process meets default filtercondition and also includes:
Progress information meets second feature set, and there is not informing message;
Or, progress information meets third feature set, and there is informing message, and described informing message is not in notice
In hurdle white list.
In one embodiment of the invention, this process time of described arrival, including:
If described screen locking duration is less than predetermined threshold value, then after the first preset duration, arrive this with screen locking initial time
The secondary process time;
If described screen locking duration is more than or equal to described predetermined threshold value, the most directly determine this process time of arrival, or
Person, arrives this process time with processing the time last time after the second preset duration.
In one embodiment of the invention, described control module is used for:
At described screen locking duration less than described predetermined threshold value, when arriving this process time, if described application program exists
After the first preset duration, produce operation information with screen locking initial time, then judge that whether described application program is at application program
In blacklist, if, then stop described process.
In one embodiment of the invention, described control module is used for:
At described screen locking duration more than or equal to predetermined threshold value, when arriving this process time, if described application program
After described second preset duration, producing operation information with screen locking initial time, then judging whether described application program is answering
With in the first white list of program, if it was not then stop described process.
In one embodiment of the invention, described device also includes:
First judge module, is used for judging that whether processed number of times is less than preset times, in order to less than time, determine this
Process time and subsequent step thereof;
Described control module is for when described processed number of times is more than or equal to preset times, terminating flow process.
In one embodiment of the invention, also include:
Second judge module, for stopping before described process, it is judged that whether application program corresponding to described process exists
In second white list of application program;
Described control module, for when described process is not in described second white list, stops described process.
In one embodiment of the invention, described acquisition module is used for:
When described application program network data transmission amount in Preset Time is less than preset value, determine described application journey
Sequence failed cluster.
The embodiment of a third aspect of the present invention provides a kind of mobile terminal, including: housing, processor, memorizer, electricity
Road plate and power circuit, wherein, described circuit board is placed in the interior volume that described housing surrounds, described processor and described deposit
Reservoir is arranged on described circuit board;Described power circuit, powers for each circuit or the device for described mobile terminal;Institute
State memorizer for storing executable program code;Described processor is by reading the executable program of storage in described memorizer
Code runs the program corresponding with described executable program code, for:
Determine the screen locking duration of the mobile terminal being in screen lock state, and when determining that this processes according to described screen locking duration
Between;
Obtain in described mobile terminal, the networking feelings of the application program that the current progress information run is corresponding with described process
Condition;
If described networking situation shows described application program failed cluster, and, after reaching this process time, obtain described
The operation information of application program, and according to described progress information and the operation information of described application program, stop described process.
The method of stopping process, device and the mobile terminal of the embodiment of the present invention, it may be determined that the screen locking duration of mobile terminal,
And determine this process time according to screen locking duration, the current progress information run and corresponding application journey in obtaining mobile terminal
The networking situation of sequence, if application program failed cluster, and after reaching this process time, according to progress information and the fortune of application program
Row information stops process, it is possible to from process priority, networking situation, and the system level such as screen locking time is to active during screen locking
Program process be managed, do not affect user use successional while, stop the low process of user perceptibility, with
Save the electric energy of mobile terminal, and then promote the cruising time of mobile terminal.
Accompanying drawing explanation
Above-mentioned and/or the additional aspect of the present invention and advantage are from combining the accompanying drawings below description to embodiment and will become
Substantially with easy to understand, wherein:
Fig. 1 is the flow chart of the method for the stopping process according to one embodiment of the invention;
Fig. 2 is the flow chart of the method for the stopping process according to another embodiment of the present invention;
Fig. 3 is the flow chart of the method for the stopping process according to another embodiment of the present invention;
Fig. 4 is the flow chart of the method for the stopping process according to another embodiment of the present invention;
Fig. 5 is the flow chart of the method for the stopping process according to another embodiment of the present invention;
Fig. 6 is the flow chart of the method for the stopping process according to another embodiment of the present invention;
Fig. 7 is the flow chart of the method for the stopping process according to another embodiment of the present invention;
Fig. 8 is the structural representation of the device that the process according to one embodiment of the invention stops;
Fig. 9 is the structural representation of the device that the process according to another embodiment of the present invention stops;
Figure 10 is the structural representation of the device that the process according to another embodiment of the present invention stops;
Figure 11 is the structural representation of the mobile terminal according to one embodiment of the invention.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most from start to finish
Same or similar label represents same or similar element or has the element of same or like function.Below with reference to attached
The embodiment that figure describes is exemplary, it is intended to is used for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the method for stopping process, device and mobile terminal according to embodiments of the present invention described.
Fig. 1 is the flow chart of the method for the stopping process according to one embodiment of the invention.
As it is shown in figure 1, the method for stopping process according to embodiments of the present invention, comprise the following steps.
S101, determines the screen locking duration of the mobile terminal being in screen lock state, and determines this according to described screen locking duration
The process time.
Wherein, the lasting length after a length of mobile terminal enters screen lock state during the screen locking of mobile terminal.This processes the time
For carrying out stopping the time of process operation.
In one embodiment of the invention, when mobile terminal initially enters screen lock state, timing can be started, locked
Screen duration.
In embodiments of the invention, due to being continuously increased along with screen locking duration, each application program and process thereof to
The perceptibility at family is more and more lower.When mobile terminal has just enter into screen locking, user is to use state just, including various application journeys
The perception of sequence exists compares deep impression, and unlocks the possibility being again introduced into operating system in user's existence in short-term, therefore, for
It is user-friendly to, can be within the short time after screen locking (screen locking duration is less than predetermined threshold value), by only stopping bag strategy first
Clean out those user perceptibilities than relatively low background application (as do not deposit with user alternately or exist the most mutual should
By program), and retain the background application that perceptibility is higher, when preventing user from quickly unlocking entrance operating system, originally make
Application program be stopped and interrupt user use seriality.And along with the growth of screen locking duration, user is to using before
The perceptibility of state and the more deep process of perceptibility impression is gradually lowered, and therefore, when screen locking duration is longer, can pass through the degree of depth
Stop bag strategy this part background process is cleared up, it is achieved the degree of depth cleaning of process.
Therefore, in an embodiment of the present invention, different strategies can be formulated to stop background process according to screen locking duration.From
And, when described screen locking duration is less than predetermined threshold value, retain the Partial Process that user perceptibility is higher, be more than at screen locking duration
Or during equal to predetermined threshold value, then this Partial Process is carried out degree of depth cleaning.
Accordingly, stopping strategy for different processes, the process time that process stops is the most different, therefore, and can be according to lock
Screen duration determines this process time.Specifically, if described screen locking duration is less than predetermined threshold value, then with screen locking initial time phase
This process time is arrived after the first preset duration;If described screen locking duration is more than or equal to predetermined threshold value, then the most really
Surely this process time is arrived, or, after the second preset duration, arrive this process time with processing the time last time.Its
In, if this is processed as first treated, the most directly determine arrival this process time, otherwise, with processed the time last time apart
This process time is arrived after second preset duration.Wherein, predetermined threshold value can be that system default sets or is set by the user, example
As, predetermined threshold value can be 30 minutes.
In one embodiment of the invention, the first preset duration can be two minutes, and the second preset duration can be 30
Minute.It should be noted that the length of the first preset duration section and the second preset duration section is set to also dependent on actual demand
Other length, this is not limited by the present invention.
It is to say, if screen locking duration is less than predetermined threshold value, then the process time that executive process processes is for rise with screen locking
Time beginning at a distance of two minutes time.If screen locking duration is more than or equal to predetermined threshold value, then the process time that executive process processes
For with time after 30 minutes processed last time or current time time.
For example, if 10:00 is screen locking initial time, then within the 10:00-10:30 time period, the process time can be
Time between time after 10:02, i.e. 10:02-10:30.After 10:30, can perform once to locate every half an hour
Reason, processes time and apart at least 30 minutes last process time, if the last process time is 11:00, then the most every time
This process time is the time after 11:30.If not carrying out process at 10:30, then this word process time can be to work as
The front time.
In embodiments of the invention, if screen locking is discontented with two minutes, the process in mobile terminal is not processed, reserves
First preset duration, in order to what application program or process can process self leaves over work.
S102, obtains in described mobile terminal, the application program that currently information of the process of operation is corresponding with described process
Networking situation.
In one embodiment of the invention, the information of process can include precedence information and the status information of process.
Wherein, precedence information can be the precedence information that operating system is course allocation of mobile terminal.Process
Precedence information be operating system according to the CPU duration of process, occupation condition, active state etc. for process arrange preferential
Level.Such as, precedence information can be that (i.e. oom_adj, Out Of Memory_adj, system is for during low memory pair for ADJ
Weights are preferentially discharged when process discharges) value, the least priority of ADJ value is the lowest, and the process representing corresponding is the most important, does not more allow
Easily it is released, otherwise is the most easily released.
State of a process information, represents the state of interprocess communication, represents the communications status between process and public service,
For example, state of a process information can be determined by the process state process status value in ADJ.Work as process
During state=3, show to there is interprocess communication.
For example, if described screen locking duration is less than predetermined threshold value, and described ADJ value is 2, it is determined that described process and
User exists alternately, such as, have informing, suspended window, widget (desktop plug-ins) etc..If described screen locking duration more than or etc.
In predetermined threshold value, and described ADJ value is 2 or 7, it is determined that described process and user exist alternately.If described ADJ value be non-2,
Non-5, non-8 and non-be more than or equal to 9, and the state value (process state) of described ADJ value is 3, it is determined that process and user
Do not exist mutual, but there is interprocess communication, although the most described process does not exist with user alternately, but this process and public service
Or there is the state of communication in other processes.If described ADJ value is 5,8 or is more than or equal to 9, it is determined that described process makes
Use CPU.Wherein, the when that ADJ value being 5, expression process is likely not to have the states such as above-mentioned informing, suspended window, widget still
Also using CPU, and when ADJ value is lower, when for example, 8 or 9, representing that process exists more weak, such as, intermittent use CPU
Deng.
In embodiments of the invention, the networking situation of application program can be according to application program network number in Preset Time
Determine according to transmission quantity.Wherein, network data transmission can include uploading and downloading.If described application program is in Preset Time
Network data transmission amount less than preset value, then can determine that described application program failed cluster.Such as, if in 3 seconds network number
According to transmission quantity less than 10KB, then can determine that application program failed cluster.
S103, if described networking situation shows described application program failed cluster, and, after reaching this process time, obtain
Take the operation information of described application program, and according to described progress information and the operation information of described application program, stop described
Process.
Wherein, the operation information of application program may include but be not limited to operation time and the interaction mode of user, in screen locking
Before and screen locking after active state etc..
In one embodiment of the invention, as in figure 2 it is shown, described according to described progress information and described application program
Operation information, stops described process, it may include step S201-S202.
S201, according to described progress information and/or the operation information of described application program, it is judged that whether described process meets
The filtercondition preset.
In one embodiment of the invention, filtercondition can include that progress information meets fisrt feature set.
Wherein, progress information meet fisrt feature set refer to the precedence information of process show process use CPU.Lift
For example, when the precedence information of process is ADJ value, if the ADJ value of process is 5,8 or is more than or equal to 9, then can determine that this
Process is using CPU.
In another embodiment of the present invention, filtercondition may also include that progress information meets second feature set, and
There is not informing message;Or, progress information meets third feature set, and there is informing message, and described informing disappears
Breath is not in informing white list.
Wherein, progress information meets second feature set and refers to that the precedence information of process shows that process and user exist friendship
Mutually.For example, when the precedence information of process is ADJ value, if the ADJ value of process is 2, then can determine that described process with
User exists alternately.
In an embodiment of the present invention, screen locking duration is less than default threshold more than or equal to predetermined threshold value relative to screen locking duration
During value, more process can be cleared up.Therefore, screen locking duration can be tighter more than or equal to second feature set during predetermined threshold value
Lattice.For example, if screen locking duration is less than predetermined threshold value, it is only that 2 situations are defined as process and deposit with user by the ADJ value of process
Alternately.If screen locking duration is more than or equal to predetermined threshold value, then the situation that the ADJ value of process is 2 or 7 is all defined as process
Exist alternately with user.Thus, when screen locking duration is longer, can stop at further and not consider under screen lock state in short-term to stop
ADJ value is the process of 7, it is achieved the degree of depth cleaning of process.
Progress information meets third feature set and refers to that state of a process information shows that process and user do not exist alternately, but
There is interprocess communication.For example, when the precedence information of process is ADJ value, if described ADJ value is non-2, non-5, non-8
And non-be more than or equal to 9, and the state value of described ADJ value is 3, then can determine that process and user do not exist alternately, but exist into
Communicate between journey.
Wherein, informing white list can be previously according to the informing of known application program corresponding to process needing and stopping
Message is set.Also in follow-up actual application, informing white list can be updated.
S202, if described process meets default filtercondition, then stops according to the operation information of described application program
Described process.
S203, if described process is unsatisfactory for the filtercondition preset, then ignores this and processes.
In an embodiment of the present invention, if described networking situation shows described application program failed cluster, and, reach this
After the process time, if judging that process meets above-mentioned default filtercondition according to progress information, then can be corresponding according to process
The operation information of application program stops described process.
In an embodiment of the present invention, in order on the premise of not affecting the seriality that user uses, can be according to lock
Screen duration takes different strategies to stop background process.In different strategies, according to the operation of application program corresponding to process
The strategy that information stops described process is the most different.
Specifically, below by Fig. 3 and embodiment illustrated in fig. 4, the proceeding method stopping first to stop in bag strategy is said
Bright.
In one embodiment of the invention, if screen locking duration is less than predetermined threshold value, can be by step as shown in Figure 3
S301-S307 stops process.
S301, determines the screen locking duration of the mobile terminal being in screen lock state.
S302, if screen locking duration is less than predetermined threshold value, it is determined that with screen locking initial time at a distance of the first preset duration
After, reach this process time.
S303, obtains in described mobile terminal, the application program that currently information of the process of operation is corresponding with described process
Networking situation.
S304, if described networking situation shows described application program failed cluster, and after reaching this process time, it is judged that
Whether described application program is producing operation information with screen locking initial time after the first preset duration.
S305, if it is, judge that described application program is whether in application program blacklist.
Otherwise, S307 is performed.
Wherein, application program blacklist is the application package name list that the default process needing to stop is corresponding.Can be by
User sets, or according to widely applying routine data statistics to obtain.
S306, if, then stop described process.
Otherwise, S307 is performed.
S307, ignores this process stopping process.
If it is to say, the network data transmission amount that described application program is in Preset Time is less than preset value, and worked as
The front time with screen locking initial time after the first preset duration, can determine whether when presetting at a distance of first with screen locking initial time
Whether this process is being run in time after length, and application program corresponding to this process is in above-mentioned blacklist, then can stop this
Process.Otherwise ignore this to process.
For example, if 10:00 is screen locking initial time, the first preset duration is 2 minutes, at 10:02-10:
The process run between 30, if application program failed cluster corresponding to process and belong in application program blacklist, then can reach
After this process time, this process is stopped.
Thus, when the screen locking time is shorter, only certain customers' perceptibility is cleared up than relatively low process, and retain use
The process that family perceptibility is high, and be not that all background process are all stopped, thus do not affect user and use seriality.
Further, in order to avoid process corresponding for the application program in application program white list being stopped by mistake, can stop
Only judge before process that application program corresponding to process is whether in the second default white list.Wherein, the second white list is system
The list of application program, thus can avoid that system process is done stopping by mistake and process, affect Consumer's Experience.To this end, the present invention's
In another embodiment, when screen locking duration is less than predetermined threshold value, stop also by step S401-S408 as shown in Figure 4
Process.
Wherein, S401-S405 is identical with the S301-S305 in embodiment illustrated in fig. 3.
S406, if described application program is in application program blacklist, then determines whether corresponding the answering of described process
By program whether in the second white list of application program.
Otherwise, S408 is performed.
S407, if application program corresponding to described process be not in described second white list, then stops described process.
Otherwise, S408 is performed.
S408, ignores this process stopping process.
Thus, can avoid that system process is done stopping by mistake and process, affect Consumer's Experience.
Below, the proceeding method stopping stopping in bag strategy to the degree of depth by Fig. 5, Fig. 6 and embodiment illustrated in fig. 7 is said
Bright.
In one embodiment of the invention, if screen locking duration is more than or equal to predetermined threshold value, can be by as shown in Figure 5
Step S501-S507 stop process.
S501, determines the screen locking duration of the mobile terminal being in screen lock state.
S502, if screen locking duration is more than or equal to predetermined threshold value, then can determine that current time arrives this process time,
Or, determine and arrive this process time after processing time the second preset duration apart last time.
S503, obtains in described mobile terminal, the application program that currently information of the process of operation is corresponding with described process
Networking situation.
S504, if described networking situation shows described application program failed cluster, and after reaching this process time, it is judged that
Whether described application program is producing operation information with screen locking initial time after described second preset duration.
S505, if it is, judge that described application program is whether in the first white list of application program.
Otherwise, S507 is performed.
Wherein, the first white list is the application package name list that the default process that need not stop is corresponding.Can by with
Family sets, or according to widely applying routine data statistics to obtain.
S506, if it was not then stop described process.
Otherwise, S507 is performed.
S507, ignores this process stopping process.
If it is to say, the network data transmission amount that described application program is in Preset Time is less than preset value, and reached
After this process time, can determine whether whether existing with this process in screen locking initial time time after the second preset duration
Run, and application program corresponding to this process be not in above-mentioned first white list, then can stop this process.Otherwise ignore at this
Reason.
For example, if 10:00 is screen locking initial time, the second preset duration is 30 minutes, for after 10:30
The process run, if application program failed cluster corresponding to process and be not belonging to the first white list of application program, then could be
After reaching this process time, this process is stopped.
Thus, when the screen locking time is longer, to process the most cleaned in stopping bag strategy first or follow-up open voluntarily
Dynamic process is cleared up, it is possible to along with the increase of screen locking duration, carry out degree of depth cleaning further, it is possible to do not affecting user
The while of using successional, effectively reduce electric quantity consumption, and then promote mobile terminal cruising time.
Owing to the process of some application programs is after being stopped, can be again started up voluntarily.Therefore, at embodiments of the invention
In, when screen locking duration is more than the second preset duration, bag strategy can be stopped, with answering that stopping is restarted voluntarily by repeating the degree of depth
By the process of program.The degree of depth stops the repetition period of bag strategy can restart week according to the largely known application program restarted voluntarily
Phase is set.Such as, can set and perform degree of depth every half an hour and stop bag strategy.
Additionally, due to the strategy of restarting voluntarily of most of application programs is no longer to restart after restarting repeatedly, therefore, can be
The degree of depth stops after bag strategy repeats certain number of times, stopping the degree of depth and stopping bag strategy.Specifically, can be by step as shown in Figure 6
S601-S609 stops process.
S601, it is judged that whether processed number of times is less than preset times.
If processed number of times is more than or equal to preset times, then terminate flow process.
S602, if processed number of times is less than preset times, it is determined that during the screen locking of the mobile terminal being in screen lock state
Long.
Step S603-S608 and step S502-S507 in embodiment illustrated in fig. 5.
It is thus possible to effectively the process for the application program restarted voluntarily carries out stopping process, save mobile whole further
End electricity.
Further, in order to avoid process corresponding for the application program in application program white list being stopped by mistake, can stop
Only judge before process that application program corresponding to process is whether in the second default white list.Wherein, the second white list is system
The list of application program, thus can avoid that system process is done stopping by mistake and process, affect Consumer's Experience.To this end, the present invention's
In another embodiment, when screen locking duration is more than or equal to predetermined threshold value, also by step S701-as shown in Figure 7
S708 stops process.
Wherein, S701-S705 is identical with the S501-S505 in embodiment illustrated in fig. 5.
S706, if described application program is not in the first white list of application program, then judges process described further
Whether corresponding application program is in the second white list of application program.
Otherwise, S708 is performed.
S707, if application program corresponding to described process be not in described second white list, then stops described process.
Otherwise, S708 is performed.
S708, ignores this process stopping process.
Thus, can avoid that system process is done stopping by mistake and process, affect Consumer's Experience.
In an embodiment of the present invention, the first white list of application program, the second white and black list are storable in this
Ground or high in the clouds, can be arranged by system default, it is possible to is set by user or third party.
In embodiments of the invention, if screen locking duration is less than the first preset duration, then to the process in mobile terminal all
Do not process, reserve the first preset duration, in order to what application program or process can process self leaves over work.
The method of the stopping process of the embodiment of the present invention, it may be determined that the screen locking duration of mobile terminal, and according to screen locking duration
Determine this process time, the current progress information run and the networking situation of corresponding application program in obtaining mobile terminal,
If application program failed cluster, and after reaching this process time, according to the operation information of progress information and application program stop into
Journey, it is possible to from process priority, networking situation, and application program active during screen locking enters by the system level such as screen locking time
Journey is managed, do not affect user use successional while, stop the low process of user perceptibility, to save mobile terminal
Electric energy, and then promote mobile terminal cruising time.
It should be noted that for above-mentioned list as process Rule of judgment progress information (such as ADJ is 2,5,8,
Or ADJ is non-2 more than 9 or ADJ, non-5, non-8, non-is more than 9 but process state value is 3) outside other progress informations pair
The program process answered, it may be determined that for system service and process, disregard.
In order to realize above-described embodiment, the present invention also proposes a kind of device stopping process.
Fig. 8 is the structural representation of the device of the stopping process according to one embodiment of the invention.
As shown in Figure 8, the device of stopping process according to embodiments of the present invention, comprise determining that module 10, acquisition module 20
With control module 30.
Determine module 10 for determining the screen locking duration of the mobile terminal being in screen lock state, and according to described screen locking duration
Determine this process time.
In one embodiment of the invention, determine that module 10, when mobile terminal initially enters screen lock state, can start
Timing, obtains screen locking duration.
In embodiments of the invention, due to being continuously increased along with screen locking duration, each application program and process thereof to
The perceptibility at family is more and more lower.When mobile terminal has just enter into screen locking, user is to use state just, including various application journeys
The perception of sequence exists compares deep impression, and unlocks the possibility being again introduced into operating system in user's existence in short-term, therefore, for
It is user-friendly to, can be within the short time after screen locking (screen locking duration is less than predetermined threshold value), by only stopping bag strategy first
Clean out those user perceptibilities than relatively low background application (as do not deposit with user alternately or exist the most mutual should
By program), and retain the background application that perceptibility is higher, when preventing user from quickly unlocking entrance operating system, originally make
Application program be stopped and interrupt user use seriality.And along with the growth of screen locking duration, user is to using before
The perceptibility of state and the more deep process of perceptibility impression is gradually lowered, and therefore, when screen locking duration is longer, can pass through the degree of depth
Stop bag strategy this part background process is cleared up, it is achieved the degree of depth cleaning of process.
Therefore, in an embodiment of the present invention, different strategies can be formulated to stop background process according to screen locking duration.From
And, when described screen locking duration is less than predetermined threshold value, retain the Partial Process that user perceptibility is higher, be more than at screen locking duration
Or during equal to predetermined threshold value, then this Partial Process is carried out degree of depth cleaning.
Accordingly, stopping strategy for different processes, the process time that process stops is the most different, therefore, and can be according to lock
Screen duration determines this process time.Specifically, if described screen locking duration is less than predetermined threshold value, then with screen locking initial time phase
This process time is arrived after the first preset duration;If described screen locking duration is more than or equal to predetermined threshold value, then the most really
Surely this process time is arrived, or, after the second preset duration, arrive this process time with processing the time last time.Its
In, if this is processed as first treated, the most directly determine arrival this process time, otherwise, with processed the time last time apart
This process time is arrived after second preset duration.Wherein, predetermined threshold value can be that system default sets or is set by the user, example
As, predetermined threshold value can be 30 minutes.
In one embodiment of the invention, the first preset duration can be two minutes, and the second preset duration can be 30
Minute.It should be noted that the length of the first preset duration section and the second preset duration section is set to also dependent on actual demand
Other length, this is not limited by the present invention.
In embodiments of the invention, if screen locking is discontented with two minutes, the process in mobile terminal is not processed, reserves
First preset duration, in order to what application program or process can process self leaves over work.
Acquisition module 20 is used for obtaining in described mobile terminal, and what the current progress information run was corresponding with described process should
With the networking situation of program.
In one embodiment of the invention, the information of process can include precedence information and the status information of process.
Wherein, precedence information can be the precedence information that operating system is course allocation of mobile terminal.Process
Precedence information be operating system according to the CPU duration of process, occupation condition, active state etc. for process arrange preferential
Level.Such as, precedence information can be that (i.e. oom_adj, Out Of Memory_adj, system is for during low memory pair for ADJ
Weights are preferentially discharged when process discharges) value, the least priority of ADJ value is the lowest, and the process representing corresponding is the most important, does not more allow
Easily it is released, otherwise is the most easily released.
State of a process information, represents the state of interprocess communication, represents the communications status between process and public service,
For example, state of a process information can be determined by the process state process status value in ADJ.Work as process
During state=3, show to there is interprocess communication.
For example, if described screen locking duration is less than predetermined threshold value, and described ADJ value is 2, it is determined that described process and
User exists alternately, such as, have informing, suspended window, widget (desktop plug-ins) etc..If described screen locking duration more than or etc.
In predetermined threshold value, and described ADJ value is 2 or 7, it is determined that described process and user exist alternately.If described ADJ value be non-2,
Non-5, non-8 and non-be more than or equal to 9, and the state value (process state) of described ADJ value is 3, it is determined that process and user
Do not exist mutual, but there is interprocess communication, although the most described process does not exist with user alternately, but this process and public service
Or there is the state of communication in other processes.If described ADJ value is 5,8 or is more than or equal to 9, it is determined that described process is using
CPU.Wherein, the when that ADJ value being 5, but expression process is likely not to have the states such as above-mentioned informing, suspended window, widget goes back
Using CPU, and when ADJ value is lower, when for example, 8 or 9, representing that process exists more weak, such as, intermittent use CPU etc..
In embodiments of the invention, the networking situation of application program can be according to application program network number in Preset Time
Determine according to transmission quantity.Wherein, network data transmission can include uploading and downloading.If described application program is in Preset Time
Network data transmission amount less than preset value, then acquisition module 20 can determine that described application program failed cluster.Such as, if 3
In second, network volume of transmitted data is less than 10KB, then can determine that application program failed cluster.
Control module 30 is used for showing described application program failed cluster at described networking situation, and, when reaching this process
Between time, obtain the operation information of described application program, and according to described progress information and the operation information of described application program, stop
Only described process.
In one embodiment of the invention, control module 30 can be used for: according to described progress information and/or described application
The operation information of program, it is judged that whether described process meets the filtercondition preset;If described process meets default filtration
Condition, then stop described process according to the operation information of described application program.
In one embodiment of the invention, filtercondition can include that progress information meets fisrt feature set.
Wherein, progress information meet fisrt feature set refer to the precedence information of process show process use CPU.Lift
For example, when the precedence information of process is ADJ value, if the ADJ value of process is 5,8 or is more than or equal to 9, then can determine that this
Process is using CPU.
In another embodiment of the present invention, filtercondition may also include that progress information meets second feature set, and
There is not informing message;Or, progress information meets third feature set, and there is informing message, and described informing disappears
Breath is not in informing white list.
Wherein, progress information meets second feature set and refers to that the precedence information of process shows that process and user exist friendship
Mutually.For example, when the precedence information of process is ADJ value, if the ADJ value of process is 2, then can determine that described process with
User exists alternately.
In an embodiment of the present invention, screen locking duration is less than default threshold more than or equal to predetermined threshold value relative to screen locking duration
During value, more process can be cleared up.Therefore, screen locking duration can be tighter more than or equal to second feature set during predetermined threshold value
Lattice.For example, if screen locking duration is less than predetermined threshold value, it is only that 2 situations are defined as process and deposit with user by the ADJ value of process
Alternately.If screen locking duration is more than or equal to predetermined threshold value, then the situation that the ADJ value of process is 2 or 7 is all defined as process
Exist alternately with user.Thus, when screen locking duration is longer, can stop at further and not consider under screen lock state in short-term to stop
ADJ value is the process of 7, it is achieved the degree of depth cleaning of process.
Progress information meets third feature set and refers to that state of a process information shows that process and user do not exist alternately, but
There is interprocess communication.For example, when the precedence information of process is ADJ value, if described ADJ value is non-2, non-5, non-8
And non-be more than or equal to 9, and the state value of described ADJ value is 3, then can determine that process and user do not exist alternately, but exist into
Communicate between journey.
Wherein, informing white list can be previously according to the informing of known application program corresponding to process needing and stopping
Message is set.Also in follow-up actual application, informing white list can be updated.
In one embodiment of the invention, this process time of described arrival, including: if described screen locking duration is less than
Predetermined threshold value, then arrive this process time with screen locking initial time after the first preset duration;If described screen locking duration
More than or equal to described predetermined threshold value, the most directly determine this process time of arrival, or, with processed last time at a distance of second time
This process time is arrived after preset duration.
In an embodiment of the present invention, in order on the premise of not affecting the seriality that user uses, control module
30 can take different strategies to stop background process according to screen locking duration.In different strategies, according to the application that process is corresponding
The strategy that the operation information of program stops described process is the most different.
Specifically, in one embodiment of the invention, control module 30 can be used for: at described screen locking duration less than described
Predetermined threshold value, arrive this when processing the time, if described application program with screen locking initial time at a distance of the first preset duration
Rear generation operation information, then judge described application program whether in application program blacklist, if, then stop described in entering
Journey.
In one embodiment of the invention, control module 30 can be used for: at described screen locking duration more than or equal to presetting
Threshold value, arrive this when processing the time, if described application program with screen locking initial time at a distance of described second preset duration
Rear generation operation information, then judge described application program whether in the first white list of application program, if it was not then stop
Described process.
Owing to the process of some application programs is after being stopped, can be again started up voluntarily.Therefore, at embodiments of the invention
In, when screen locking duration is more than the second preset duration, bag strategy can be stopped, with answering that stopping is restarted voluntarily by repeating the degree of depth
By the process of program.The degree of depth stops the repetition period of bag strategy can restart week according to the largely known application program restarted voluntarily
Phase is set.Such as, can set and perform degree of depth every half an hour and stop bag strategy.
Additionally, due to the strategy of restarting voluntarily of most of application programs is no longer to restart after restarting repeatedly, therefore, can be
The degree of depth stops after bag strategy repeats certain number of times, stopping the degree of depth and stopping bag strategy.Fig. 9 is according to another embodiment of the present invention
The structural representation of the device of stopping process.As it is shown in figure 9, may also include that the first judgement on the basis of embodiment illustrated in fig. 8
Module 40.
Wherein, the first judge module 40 is used for judging that whether processed number of times is less than preset times, in order to less than time, really
Fixed this processes time and subsequent step thereof.
Control module 30 is for when described processed number of times is more than or equal to preset times, terminating flow process.
It is thus possible to effectively the process for the application program restarted voluntarily carries out stopping process, save mobile whole further
End electricity.
Further, in order to avoid process corresponding for the application program in application program white list being stopped by mistake, can stop
Only judge before process that application program corresponding to process is whether in the second default white list.Wherein, the second white list is system
The list of application program, thus can avoid that system process is done stopping by mistake and process, affect Consumer's Experience.Figure 10 is according to the present invention
The structural representation of the device of the stopping process of another embodiment.As shown in Figure 10, on the basis of embodiment illustrated in fig. 8 also
Comprise the steps that the second judge module 50.
Second judge module 50 is for before stopping described process, it is judged that whether application program corresponding to described process exists
In second white list of application program.
Control module 30, for when described process is not in described second white list, stops described process.
Thus, can avoid that system process is done stopping by mistake and process, affect Consumer's Experience.
The device of the stopping process of the embodiment of the present invention, it may be determined that the screen locking duration of mobile terminal, and according to screen locking duration
Determine this process time, the current progress information run and the networking situation of corresponding application program in obtaining mobile terminal,
If application program failed cluster, and after reaching this process time, according to the operation information of progress information and application program stop into
Journey, it is possible to from process priority, networking situation, and application program active during screen locking enters by the system level such as screen locking time
Journey is managed, do not affect user use successional while, stop the low process of user perceptibility, to save mobile terminal
Electric energy, and then promote mobile terminal cruising time.
The present invention also proposes a kind of mobile terminal.
Mobile terminal according to embodiments of the present invention, including: housing, processor, memorizer, circuit board and power circuit,
Wherein, described circuit board is placed in the interior volume that described housing surrounds, described processor and described memorizer and is arranged on described
On circuit board;Described power circuit, powers for each circuit or the device for described mobile terminal;Described memorizer is used for depositing
Storage executable program code;Described processor runs and institute by reading the executable program code of storage in described memorizer
State the program that executable program code is corresponding, for: determine the screen locking duration of the mobile terminal being in screen lock state, and according to
Described screen locking duration determines this process time;Obtain in described mobile terminal, the current progress information run and described process
The networking situation of corresponding application program;If described networking situation shows described application program failed cluster, and, reach at this
After the reason time, obtain the operation information of described application program, and believe according to the operation of described progress information and described application program
Breath, stops described process.
Closer, the processor in the mobile terminal of the embodiment of the present invention, can be further used for performing figure of the present invention
The method that the process of 1-Fig. 7 any embodiment stops.
Mobile terminal according to embodiments of the present invention, it may be determined that the screen locking duration of mobile terminal, and true according to screen locking duration
Fixed this processes the time, the current progress information run and the networking situation of corresponding application program in obtaining mobile terminal, as
Really application program failed cluster, and after reaching this process time, stop process according to the operation information of progress information and application program,
Can be from process priority, networking situation, and the system level such as screen locking time is to program process active during screen locking
Be managed, do not affect user use successional while, stop the low process of user perceptibility, to save mobile terminal
Electric energy, and then promote the cruising time of mobile terminal.
Figure 11 is the block diagram according to a kind of mobile terminal apparatus 800 shown in an exemplary embodiment.Such as, device 800
Can be mobile phone, digital broadcast terminal, messaging devices, game console, tablet device, armarium, body-building sets
Standby, personal digital assistant etc..
With reference to Fig. 8, device 800 can include following one or more assembly: processes assembly 802, memorizer 804, electric power
Assembly 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and
Communications component 816.
Process assembly 802 and generally control the integrated operation of device 800, such as with display, call, data communication, phase
The operation that machine operation and record operation are associated.Process assembly 802 and can include that one or more processor 820 performs to refer to
Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 802 can include one or more module, just
Mutual in process between assembly 802 and other assemblies.Such as, process assembly 802 and can include multi-media module, many to facilitate
Media component 808 and process between assembly 802 mutual.
Memorizer 804 is configured to store various types of data to support the operation at device 800.Showing of these data
Example includes any application program for operation on device 800 or the instruction of method, contact data, telephone book data, disappears
Breath, picture, video etc..Memorizer 804 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile
Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash
Device, disk or CD.
The various assemblies that electric power assembly 806 is device 800 provide electric power.Electric power assembly 806 can include power management system
System, one or more power supplys, and other generate, manage and distribute, with for device 800, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 808 is included between described device 800 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensing
Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sense touch or sliding action
Border, but also detect the persistent period relevant to described touch or slide and pressure.In certain embodiments, many matchmakers
Body assembly 808 includes a front-facing camera and/or post-positioned pick-up head.When equipment 800 is in operator scheme, such as screening-mode or
During video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and
Post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to output and/or input audio signal.Such as, audio-frequency assembly 810 includes a Mike
Wind (MIC), when device 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is joined
It is set to receive external audio signal.The audio signal received can be further stored at memorizer 804 or via communication set
Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a speaker, is used for exporting audio signal.
I/O interface 812 provides interface for processing between assembly 802 and peripheral interface module, above-mentioned peripheral interface module can
To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock
Set button.
Sensor cluster 814 includes one or more sensor, for providing the state of various aspects to comment for device 800
Estimate.Such as, what sensor cluster 814 can detect equipment 800 opens/closed mode, the relative localization of assembly, such as described
Assembly is display and the keypad of device 800, and sensor cluster 814 can also detect device 800 or 800 1 assemblies of device
Position change, the presence or absence that user contacts with device 800, device 800 orientation or acceleration/deceleration and device 800
Variations in temperature.Sensor cluster 814 can include proximity transducer, is configured to when not having any physical contact detect
The existence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, is used for becoming
Use as in application.In certain embodiments, this sensor cluster 814 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to facilitate the communication of wired or wireless mode between device 800 and other equipment.Device
800 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.An exemplary enforcement
In example, communications component 816 receives the broadcast singal from external broadcasting management system or broadcast related information via broadcast channel.
In one exemplary embodiment, described communications component 816 also includes near-field communication (NFC) module, to promote junction service.Example
As, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology,
Bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), numeral letter
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components realize, be used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided
As included the memorizer 804 of instruction, above-mentioned instruction can have been performed said method by the processor 820 of device 800.Such as,
Described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the present invention
Its embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modification, purposes or
Person's adaptations is followed the general principle of the present invention and includes the undocumented common knowledge in the art of the disclosure
Or conventional techniques means.Description and embodiments is considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and
And various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (10)
1. the method stopping process, it is characterised in that including:
Determine the screen locking duration of the mobile terminal being in screen lock state, and determine this process time according to described screen locking duration;
Obtain in described mobile terminal, the networking situation of the application program that the current progress information run is corresponding with described process;
If described networking situation shows described application program failed cluster, and, after reaching this process time, obtain described application
The operation information of program, and according to described progress information and the operation information of described application program, stop described process.
Method the most according to claim 1, it is characterised in that described according to described progress information and described application program
Operation information, stops described process, including:
According to described progress information and/or the operation information of described application program, it is judged that whether described process meets the mistake preset
Filter condition;
If described process meets default filtercondition, then stop described process according to the operation information of described application program.
Method the most according to claim 2, it is characterised in that described process meets default filtercondition and includes:
Progress information meets fisrt feature set.
Method the most according to claim 2, it is characterised in that described process meets default filtercondition and also includes:
Progress information meets second feature set, and there is not informing message;
Or, progress information meets third feature set, and there is informing message, and described informing message is not white at informing
In list.
5. according to the method described in any one of claim 2-4, it is characterised in that this process time of described arrival, including:
If described screen locking duration is less than predetermined threshold value, then arrive at this after the first preset duration with screen locking initial time
The reason time;
If described screen locking duration is more than or equal to described predetermined threshold value, the most directly determine this process time of arrival, or, with
Processed last time arrives this process time after the second preset duration time.
6. method as claimed in claim 5, it is characterised in that if described screen locking duration is less than described predetermined threshold value, arrive
When this processes the time, the described operation information according to described application program stops described process, including:
If described application program is producing operation information with screen locking initial time after the first preset duration, then judge described
Application program whether in application program blacklist, if, then stop described process.
7. method as claimed in claim 5, it is characterised in that if described screen locking duration is more than or equal to predetermined threshold value, arrive
When reaching this process time, the described operation information according to described application program stops described process, including:
If described application program is producing operation information with screen locking initial time after described second preset duration, then judge
Whether described application program is in the first white list of application program, if it was not then stop described process.
Method the most according to claim 7, it is characterised in that described method also includes:
Judge that processed number of times is whether less than preset times, in order to less than time, determine this process time and subsequent step thereof;
If described processed number of times is more than or equal to preset times, then terminate flow process.
9. the device stopping process, it is characterised in that including:
Determine module, for determining the screen locking duration of the mobile terminal being in screen lock state, and determine according to described screen locking duration
This processes the time;
Acquisition module, is used for obtaining in described mobile terminal, the application journey that the current progress information run is corresponding with described process
The networking situation of sequence;
Control module, for showing described application program failed cluster at described networking situation, and, when reaching this process time,
Obtain the operation information of described application program, and according to described progress information and the operation information of described application program, stop institute
State process.
10. a mobile terminal, it is characterised in that including: housing, processor, memorizer, circuit board and power circuit, wherein,
Described circuit board is placed in the interior volume that described housing surrounds, described processor and described memorizer and is arranged on described electricity
On the plate of road;
Described power circuit, powers for each circuit or the device for described mobile terminal;
Described memorizer is used for storing executable program code;
Described processor runs and described executable program by reading the executable program code of storage in described memorizer
The program that code is corresponding, for:
Determine the screen locking duration of the mobile terminal being in screen lock state, and determine this process time according to described screen locking duration;
Obtain in described mobile terminal, the networking situation of the application program that the current progress information run is corresponding with described process;
If described networking situation shows described application program failed cluster, and, after reaching this process time, obtain described application
The operation information of program, and according to described progress information and the operation information of described application program, stop described process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610515508.4A CN106125899A (en) | 2016-07-01 | 2016-07-01 | Method and device for stopping process and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610515508.4A CN106125899A (en) | 2016-07-01 | 2016-07-01 | Method and device for stopping process and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106125899A true CN106125899A (en) | 2016-11-16 |
Family
ID=57469073
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610515508.4A Pending CN106125899A (en) | 2016-07-01 | 2016-07-01 | Method and device for stopping process and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106125899A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107329559A (en) * | 2017-06-30 | 2017-11-07 | 宇龙计算机通信科技(深圳)有限公司 | A kind of application control method, device, terminal and storage medium |
CN107402791A (en) * | 2017-07-31 | 2017-11-28 | 广东欧珀移动通信有限公司 | Applied program processing method, device, storage medium and terminal |
CN107436659A (en) * | 2017-06-27 | 2017-12-05 | 广东欧珀移动通信有限公司 | Mobile terminal and its management method, computer-readable recording medium |
CN107450711A (en) * | 2017-07-31 | 2017-12-08 | 广东欧珀移动通信有限公司 | Applied program processing method, device, storage medium and terminal |
CN112269663A (en) * | 2020-11-16 | 2021-01-26 | 深圳创维-Rgb电子有限公司 | Android system resource management method and device, terminal device and readable storage medium |
CN112416380A (en) * | 2019-08-21 | 2021-02-26 | 成都鼎桥通信技术有限公司 | Method and device for preventing killing and preventing freezing by applying |
CN112506628A (en) * | 2020-11-24 | 2021-03-16 | 北京达佳互联信息技术有限公司 | Agent program management method, agent program management device, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902011A (en) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | Electronic device controlling method and electronic device |
CN104298335A (en) * | 2013-07-19 | 2015-01-21 | 贝壳网际(北京)安全技术有限公司 | Application program process cleaning method and device of mobile terminal and mobile terminal |
US20150277533A1 (en) * | 2012-11-16 | 2015-10-01 | Samsung Electronics Co., Ltd. | Monitoring and managing processor activity in power save mode of portable electronic device |
-
2016
- 2016-07-01 CN CN201610515508.4A patent/CN106125899A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150277533A1 (en) * | 2012-11-16 | 2015-10-01 | Samsung Electronics Co., Ltd. | Monitoring and managing processor activity in power save mode of portable electronic device |
CN103902011A (en) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | Electronic device controlling method and electronic device |
CN104298335A (en) * | 2013-07-19 | 2015-01-21 | 贝壳网际(北京)安全技术有限公司 | Application program process cleaning method and device of mobile terminal and mobile terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107436659A (en) * | 2017-06-27 | 2017-12-05 | 广东欧珀移动通信有限公司 | Mobile terminal and its management method, computer-readable recording medium |
CN107329559A (en) * | 2017-06-30 | 2017-11-07 | 宇龙计算机通信科技(深圳)有限公司 | A kind of application control method, device, terminal and storage medium |
CN107402791A (en) * | 2017-07-31 | 2017-11-28 | 广东欧珀移动通信有限公司 | Applied program processing method, device, storage medium and terminal |
CN107450711A (en) * | 2017-07-31 | 2017-12-08 | 广东欧珀移动通信有限公司 | Applied program processing method, device, storage medium and terminal |
CN112416380A (en) * | 2019-08-21 | 2021-02-26 | 成都鼎桥通信技术有限公司 | Method and device for preventing killing and preventing freezing by applying |
CN112416380B (en) * | 2019-08-21 | 2024-03-29 | 成都鼎桥通信技术有限公司 | Method and device for killing and freezing prevention by application |
CN112269663A (en) * | 2020-11-16 | 2021-01-26 | 深圳创维-Rgb电子有限公司 | Android system resource management method and device, terminal device and readable storage medium |
CN112506628A (en) * | 2020-11-24 | 2021-03-16 | 北京达佳互联信息技术有限公司 | Agent program management method, agent program management device, computer equipment and storage medium |
CN112506628B (en) * | 2020-11-24 | 2024-03-19 | 北京达佳互联信息技术有限公司 | Agent program management method, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106125899A (en) | Method and device for stopping process and mobile terminal | |
CN106375604B (en) | The method and apparatus of controlling terminal electricity | |
CN104239094B (en) | Control method, device and the terminal device of background application | |
US10409684B2 (en) | Method, device and storage medium for cleaning memory | |
CN104298547B (en) | terminal setting method and device | |
EP3133874B1 (en) | Method and apparatus for starting energy saving mode | |
CN106201686A (en) | Management method, device and the terminal of application | |
CN105653323A (en) | Application program management method and device | |
CN107506019A (en) | Management method and device, terminal, the storage medium of application program | |
CN107666540B (en) | Terminal control method, device and storage medium | |
CN105224349A (en) | The deletion reminding method of application program and device | |
US10352287B2 (en) | Controlling engine of vehicle | |
CN104703255B (en) | Method of adjustment in net and device, electronic equipment | |
CN108171165A (en) | Fingerprint identification method, device and computer readable storage medium | |
CN106095220A (en) | Notification message reminding method and device | |
CN103905442B (en) | Awakening method and device in a kind of data syn-chronization | |
CN108781377B (en) | Timer control method and device, electronic equipment and computer readable storage medium | |
RU2648264C2 (en) | Method and device (variants) for processing communication messages | |
CN104360875B (en) | Privacy mode starts method and apparatus | |
CN105607979B (en) | Networking control method and device | |
CN108012027B (en) | Method and device for managing application program | |
CN106021130A (en) | Memory processing method and device | |
CN105868624A (en) | Application program authority management method and device | |
CN107885308A (en) | Electricity saving method and device | |
CN106506329A (en) | Delete the method and device of end-user listening data information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161116 |
|
RJ01 | Rejection of invention patent application after publication |