CN106200880A - Terminal control method, terminal control mechanism and terminal - Google Patents
Terminal control method, terminal control mechanism and terminal Download PDFInfo
- Publication number
- CN106200880A CN106200880A CN201610599494.9A CN201610599494A CN106200880A CN 106200880 A CN106200880 A CN 106200880A CN 201610599494 A CN201610599494 A CN 201610599494A CN 106200880 A CN106200880 A CN 106200880A
- Authority
- CN
- China
- Prior art keywords
- lock
- terminal
- sleep
- release
- condition
- 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
-
- 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/3206—Monitoring of events, devices or parameters that trigger a change in power modality
-
- 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
-
- 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
Abstract
The present invention proposes a kind of terminal control method, terminal control mechanism and terminal, and wherein, described terminal control method includes: when terminal is in and goes out screen state, it is judged that whether described terminal meets the condition of release lock;If described terminal meets the condition of release lock, it is determined that the target lock not discharged, and close, by discharging described target lock, the process that described target lock is corresponding;If described terminal is unsatisfactory for the condition of release lock, then keep the state of lock not discharged constant.Pass through technical scheme, it is to avoid unnecessary process continues at running background, thus improves the flying power of terminal.
Description
Technical field
The present invention relates to field of terminal technology, in particular to a kind of terminal control method, a kind of terminal control mechanism
With a kind of terminal.
Background technology
At present, terminal is provided with multiple application program, owing to the development level of application program is uneven, causes very
Multiple utility program is installed in terminal arise that the most standby situation, and specifically, application program is after exiting, owing to it is held
Lock do not discharge, to such an extent as to this application program still continues to run with on backstage.Such as, current and uncharged, but USB holds
Lock do not discharge, had a strong impact on the flying power of terminal.
Therefore, how to avoid unnecessary process to continue at running background, thus the flying power that improve terminal becomes
Problem demanding prompt solution.
Summary of the invention
The present invention is based on the problems referred to above, it is proposed that a kind of new technical scheme, it is to avoid unnecessary process continues
At running background, thus improve the flying power of terminal.
In view of this, a first aspect of the present invention proposes a kind of terminal control method, including: when terminal is in the screen shape that goes out
During state, it is judged that whether described terminal meets the condition of release lock;If described terminal meets the condition of release lock, it is determined that do not discharge
Target lock, and close, by discharging described target lock, the process that described target lock is corresponding;If described terminal is unsatisfactory for release
The condition of lock, then keep the state of lock not discharged constant.
In this technical scheme, when terminal meets the condition of release lock, the target lock release that will do not discharge, thus close
Fall the process that target lock is corresponding, it is to avoid unnecessary process continues at running background, thus improves the flying power of terminal,
And then promote the experience of user.
In technique scheme, it is preferable that described condition includes: first is pre-conditioned and/or second pre-conditioned, institute
Stating first pre-conditioned is: the present system time of described terminal is more than or equal to the time of release lock, and described terminal is in
The duration of screen state of going out is more than preset duration;Described second pre-conditioned is: when the process having performed task does not exits,
The lock that the process of the complete task of described execution is held is not released.
In this technical scheme, present system time more than or equal to release lock time time, such as, release lock time
Between be 1:00 in morning, owing to now user is in sleep state, user will not use terminal, then be automatically releasable undelivered
Lock, or when the process having performed task does not exits, this process still holds lock, then and the lock this process held discharges, thus keeps away
Exempt from unnecessary process to continue at running background, and then strengthen the flying power of terminal.
In any of the above-described technical scheme, it is preferable that the described step determining the target lock not discharged, specifically include:
Described condition be described first pre-conditioned in the case of, the lock process having logged out held is locked as described target;?
Described condition be described second pre-conditioned in the case of, the lock process of complete for described execution task held is as described target
Lock.
In this technical scheme, the lock held due to process process when exiting does not discharges, to such an extent as to process is still rear
Platform runs, therefore, when arriving the time of release lock, and the lock release that will do not discharge, thus by the process that has logged out from backstage
Remove.Or process does not exit when task completes, process at running background, is then held by this process still holder lock automatically
Lock release, thus the process being complete task is removed from backstage.
In any of the above-described technical scheme, it is preferable that also comprise determining that the length of one's sleep of user;By the described length of one's sleep
The time locked as described release with the addition result of Preset Time.
In this technical scheme, owing to the use of different user needs difference, some users 10:00 in the afternoon not to use end
Holding and enter sleep state, some users 11:00 in the afternoon does not use terminal to enter sleep state.Therefore, sleeping by user
The dormancy time determines the time of release lock, and such as, the length of one's sleep of user is 11:00 in afternoon, delays half in the length of one's sleep of user
Release lock after hour, 11:30 release lock, thus avoids maloperation the most in the afternoon, and then avoids release lock and just affecting user
Often use.
Certainly, release lock time can be the time pre-set, such as, morning 12:00,3:00 in morning.
In any of the above-described technical scheme, it is preferable that the step of the described length of one's sleep determining user, specifically include: obtain
Take the multiple actual length of one's sleep of described user, when calculating the meansigma methods of the plurality of actual length of one's sleep as described sleep
Between.
In this technical scheme, the time slept due to same user is different, then by calculating multiple realities of user
The meansigma methods of border length of one's sleep, to accurately determine out the length of one's sleep of user.
A second aspect of the present invention proposes a kind of terminal control mechanism, including: judging unit, for going out when terminal is in
During screen state, it is judged that whether described terminal meets the condition of release lock;Control unit, if meeting release lock for described terminal
Condition, it is determined that the target lock not discharged, and close, by discharging described target lock, the process that described target lock is corresponding, if institute
State terminal and be unsatisfactory for the condition of release lock, then keep the state of lock not discharged constant.
In this technical scheme, when terminal meets the condition of release lock, the target lock release that will do not discharge, thus close
Fall the process that target lock is corresponding, it is to avoid unnecessary process continues at running background, thus improves the flying power of terminal,
And then promote the experience of user.
In technique scheme, it is preferable that described condition includes: first is pre-conditioned and/or second pre-conditioned, institute
Stating first pre-conditioned is: the present system time of described terminal is more than or equal to the time of release lock, and described terminal is in
The duration of screen state of going out is more than preset duration;Described second pre-conditioned is: when the process having performed task does not exits,
The lock that the process of the complete task of described execution is held is not released.
In this technical scheme, present system time more than or equal to release lock time time, such as, release lock time
Between be 1:00 in morning, owing to now user is in sleep state, user will not use terminal, then be automatically releasable undelivered
Lock, or when the process having performed task does not exits, this process still holds lock, then and the lock this process held discharges, thus keeps away
Exempt from unnecessary process to continue at running background, and then strengthen the flying power of terminal.
In any of the above-described technical scheme, it is preferable that described control unit comprises determining that subelement, at described bar
Part be described first pre-conditioned in the case of, the lock process having logged out held is locked as described target;Described determine
Subelement is additionally operable to, described condition be described second pre-conditioned in the case of, the process of complete for described execution task is held
Lock lock as described target.
In this technical scheme, the lock held due to process process when exiting does not discharges, to such an extent as to process is still rear
Platform runs, therefore, when arriving the time of release lock, and the lock release that will do not discharge, thus by the process that has logged out from backstage
Remove.Or process does not exit when task completes, process at running background, is then held by this process still holder lock automatically
Lock release, thus the process being complete task is removed from backstage.
In any of the above-described technical scheme, it is preferable that also comprise determining that unit, for determining the length of one's sleep of user, will
The time that the described length of one's sleep locks as described release with the addition result of Preset Time.
In this technical scheme, owing to the use of different user needs difference, some users 10:00 in the afternoon not to use end
Holding and enter sleep state, some users 11:00 in the afternoon does not use terminal to enter sleep state.Therefore, sleeping by user
The dormancy time determines the time of release lock, and such as, the length of one's sleep of user is 11:00 in afternoon, delays half in the length of one's sleep of user
Release lock after hour, 11:30 release lock, thus avoids maloperation the most in the afternoon, and then avoids release lock and just affecting user
Often use.
Certainly, release lock time can be the time pre-set, such as, morning 12:00,3:00 in morning.
In any of the above-described technical scheme, it is preferable that described determine that unit includes: computation subunit, it is used for obtaining described
The multiple actual length of one's sleep of user, calculate the meansigma methods of the plurality of actual length of one's sleep as the described length of one's sleep.
In this technical scheme, the time slept due to same user is different, then by calculating multiple realities of user
The meansigma methods of border length of one's sleep, to accurately determine out the length of one's sleep of user.
A third aspect of the present invention proposes a kind of terminal, including the terminal control according to any one of technique scheme
Device, therefore, this terminal has the technique effect identical with the terminal control mechanism according to any one of technique scheme,
This repeats no more.
Pass through technical scheme, it is to avoid unnecessary process continues at running background, thus improves terminal
Flying power.
Accompanying drawing explanation
Fig. 1 shows the schematic flow sheet of terminal control method according to an embodiment of the invention;
Fig. 2 shows the schematic flow sheet of terminal control method according to another embodiment of the invention;
Fig. 3 shows the schematic flow sheet of terminal control method according to still another embodiment of the invention;
Fig. 4 shows the structural representation of terminal control mechanism according to an embodiment of the invention;
Fig. 5 shows the structural representation of terminal according to an embodiment of the invention.
Detailed description of the invention
In order to the above-mentioned purpose of the present invention, feature and advantage can be more clearly understood that, real with concrete below in conjunction with the accompanying drawings
The present invention is further described in detail by mode of executing.It should be noted that in the case of not conflicting, the enforcement of the application
Feature in example and embodiment can be mutually combined.
Elaborate a lot of detail in the following description so that fully understanding the present invention, but, the present invention also may be used
Implementing to use other to be different from other modes described here, therefore, protection scope of the present invention is not by described below
The restriction of specific embodiment.
Fig. 1 shows the schematic flow sheet of terminal control method according to an embodiment of the invention.
As it is shown in figure 1, terminal control method according to an embodiment of the invention, including:
Step 102, when terminal is in and goes out screen state, it is judged that whether described terminal meets the condition of release lock, if described
Terminal meets the condition of release lock, then enter step 104, if described terminal is unsatisfactory for the condition of release lock, then enter step
106。
Preferably, described condition includes: first is pre-conditioned and/or second pre-conditioned, and described first pre-conditioned is:
The present system time of described terminal is more than or equal to the time of release lock, and described terminal is in the duration of screen state of going out
More than preset duration;Described second pre-conditioned is: when the process having performed task does not exits, entering of the complete task of described execution
The lock of Cheng Chiyou is not released.
When present system time is more than or equal to the time of release lock, such as, the time of release lock is 1:00 in morning, by
Being in sleep state in now user, user will not use terminal, then be automatically releasable undelivered lock, or is performing times
When the process of business does not exits, this process still holds lock, then the lock this process held discharges, thus avoids unnecessary process and continue
Continue at running background, and then strengthen the flying power of terminal.
Preferably, the length of one's sleep of user is also comprised determining that;The addition result of the described length of one's sleep with Preset Time is made
Time for described release lock.
Owing to the use of different user needs difference, some users 10:00 in the afternoon not to use terminal to enter sleep
State, some users 11:00 in the afternoon does not use terminal to enter sleep state.Therefore, by determining release the length of one's sleep of user
The time of lock, such as, the length of one's sleep of user is 11:00 in afternoon, release lock after delaying half an hour length of one's sleep of user, i.e.
11:30 release lock in the afternoon, thus avoid release lock and affect the normal use of user.
Certainly, release lock time can be the time pre-set, such as, morning 12:00,3:00 in morning.
Preferably, the step of the described length of one's sleep determining user, specifically include: obtain the multiple actual of described user and sleep
The dormancy time, calculate the meansigma methods of the plurality of actual length of one's sleep as the described length of one's sleep.
The time slept due to same user is different, then by calculating the average of the multiple actual length of one's sleep of user
Value, to accurately determine out the length of one's sleep of user.
Specifically, in the case of terminal is connected with wearable smart machine, wearable smart machine (such as intelligence hands
Ring) length of one's sleep of user can be detected, therefore, terminal can obtain multiple reality of user from wearable smart machine
The length of one's sleep.
Or, receive the multiple actual length of one's sleep of user's input.Again or, by terminal in a day for the last time go out screen
Time is as the actual length of one's sleep of user.
Step 104, determines the target lock not discharged, and closes described target lock correspondence by discharging described target lock
Process.
Preferably, described determine do not discharge target lock step, specifically include: described condition be described first preset
In the case of condition, the lock process having logged out held is locked as described target;Described condition be described second preset
In the case of condition, the lock that the process of complete for described execution task is held is locked as described target.
The lock held due to process process when exiting does not discharges, to such an extent as to process is still at running background, therefore, arrives
When reaching the time of release lock, the lock release that will do not discharge, thus the process having logged out is removed from backstage.Or process is in office
Not exiting when being engaged in, this process still holder lock discharges at running background, the then lock automatically process held, thus by
The process completing task is removed from backstage.
Step 106, the state of the lock that holding does not discharges is constant.
In technique scheme, when terminal meets the condition of release lock, the target lock release that will do not discharge, thus close
Close the process that target lock is corresponding, it is to avoid unnecessary process continues at running background, thus improves the continuation of the journey energy of terminal
Power, and then promote the experience of user.
Fig. 2 shows the schematic flow sheet of terminal control method according to another embodiment of the invention.
As in figure 2 it is shown, terminal control method according to another embodiment of the invention, including:
Step 202, if go out screen, if terminal is in screen state of going out, then enters step 204, if terminal is not in the screen shape that goes out
State, then reenter step 202 and judge.
Step 204, it may be judged whether meeting Time >=down, Time and represent the present system time of terminal, down represents use
The length of one's sleep at family, if present system time is more than or equal to the length of one's sleep, then enters step 206, otherwise reenter step
202。
Such as, the week, be respectively as follows: the actual length of one's sleep of user down1, down2, down3, down4,
Down5, the average length of one's sleep that can calculate Mon-Fri is
Step 206, obtain and first hold chain table list_wakelock, stores and have logged out in list_wakelock
The lock that process is held, such as, currently without charging, the lock not discharged that USB still holds.
Step 208, if go out screen, if going out screen, entering step 210, if not going out screen, reentering step 208.
Step 210, it may be judged whether meet Time >=down+30, if meeting Time >=down+30, then enters step 212,
If Time is < down+30, then reenter step 208.
Step 212, all locks in chain table are held in release first, thus the lock process having logged out held discharges.
Fig. 3 shows the schematic flow sheet of terminal control method according to still another embodiment of the invention.
As it is shown on figure 3, terminal control method according to still another embodiment of the invention, including:
Step 302, it may be judged whether go out screen, if going out screen, then entering step 304, if not going out screen, then reentering step 302.
Step 304, it may be judged whether meeting Time >=down, Time and represent the present system time of terminal, down represents use
The length of one's sleep at family, if present system time is more than or equal to the length of one's sleep, then enters step 306, otherwise reenter step
302。
Step 306, obtain and first hold chain table list_wakelock, stores and have logged out in list_wakelock
The lock that process is held, such as, currently without charging, USB still holder lock does not discharges.
Step 308, it may be judged whether go out screen, if going out screen, then entering step 310, if not going out screen, then reentering step 308.
Step 310, it may be judged whether meet Time >=down+30, when Time >=down+30, enters step 312,
During Time < down+30, reenter step 308.
Step 312, all locks in chain table are held in release first, thus the lock process having logged out held discharges.
Step 314, it may be judged whether go out screen, if going out screen, then entering step 316, if not going out screen, then reentering step 314.
Step 316, it may be judged whether meet Time > t, t and represent that process completes the time of task, if Time > t, illustrate into
Journey is complete task, then enter step 318.If there is not Time > t, explanation process is also not fully complete task, then reenter
Step 314.
Step 318, the lock in chain table list2_wakelock is held in release second.List2_wakelock stores by
The lock that the process not exited in the task of execution is held, such as, the carrying out downloaded data at running background, downloads money with normal
Material, when downloaded data completes, the process of this downloaded data does not exit and continues to run with on backstage, entering this downloaded data
Journey is added in list2_wakelock, the process in list2_wakelock to be discharged.
Fig. 4 shows the structural representation of terminal control mechanism according to an embodiment of the invention.
As shown in Figure 4, terminal control mechanism 400 according to an embodiment of the invention, including: judging unit 402 He
Control unit 404.
Judging unit 402, for when terminal is in and goes out screen state, it is judged that whether described terminal meets the bar of release lock
Part.
Preferably, described condition includes: first is pre-conditioned and/or second pre-conditioned, and described first pre-conditioned is:
The present system time of described terminal is more than or equal to the time of release lock, and described terminal is in the duration of screen state of going out
More than preset duration;Described second pre-conditioned is: when the process having performed task does not exits, entering of the complete task of described execution
The lock of Cheng Chiyou is not released.
When present system time is more than or equal to the time of release lock, such as, the time of release lock is 1:00 in morning, by
Being in sleep state in now user, user will not use terminal, then be automatically releasable undelivered lock, or is performing times
When the process of business does not exits, this process still holds lock, then the lock this process held discharges, thus avoids unnecessary process and continue
Continue at running background, and then strengthen the flying power of terminal.
Preferably, terminal control mechanism 400 also comprises determining that unit 406, for determining the length of one's sleep of user, by institute
State the time locked as described release the length of one's sleep with the addition result of Preset Time.
Owing to the use of different user needs difference, some users 10:00 in the afternoon not to use terminal to enter sleep
State, some users 11:00 in the afternoon does not use terminal to enter sleep state.Therefore, by determining release the length of one's sleep of user
The time of lock, such as, the length of one's sleep of user is 11:00 in afternoon, release lock after delaying half an hour length of one's sleep of user, i.e.
11:30 release lock in the afternoon, thus avoid release lock and affect the normal use of user.
Certainly, release lock time can be the time pre-set, such as, morning 12:00,3:00 in morning.
Preferably, described determine that unit 406 includes: computation subunit 4062, for obtaining multiple reality of described user
The length of one's sleep, calculate the meansigma methods of the plurality of actual length of one's sleep as the described length of one's sleep.
The time slept due to same user is different, then by calculating the average of the multiple actual length of one's sleep of user
Value, to accurately determine out the length of one's sleep of user.
Specifically, in the case of terminal is connected with wearable smart machine, wearable smart machine (such as intelligence hands
Ring) length of one's sleep of user can be detected, therefore, terminal can obtain multiple reality of user from wearable smart machine
The length of one's sleep.
Or, receive the multiple actual length of one's sleep of user's input.Again or, by terminal in a day for the last time go out screen
Time is as the actual length of one's sleep of user.
Control unit 404, if meeting the condition of release lock for described terminal, it is determined that the target lock not discharged, and leads to
Cross and discharge described target lock and close the process that described target lock is corresponding, if described terminal is unsatisfactory for the condition of release lock, then protect
The state holding the lock not discharged is constant.
Preferably, described control unit 404 comprises determining that subelement 4042, for being described first pre-in described condition
If in the case of condition, the lock process having logged out held is locked as described target;Described determine that subelement 4042 is also used
In, described condition be described second pre-conditioned in the case of, the lock process of complete for described execution task held is as institute
State target lock.
The lock held due to process process when exiting does not discharges, to such an extent as to process is still at running background, therefore, arrives
When reaching the time of release lock, the lock release that will do not discharge, thus the process having logged out is removed from backstage.Or process is in office
Not exiting when being engaged in, this process still holder lock discharges at running background, the then lock automatically process held, thus by
The process completing task is removed from backstage.
In this technical scheme, when terminal meets the condition of release lock, the target lock release that will do not discharge, thus close
Fall the process that target lock is corresponding, it is to avoid unnecessary process continues at running background, thus improves the flying power of terminal,
And then promote the experience of user.
Fig. 5 shows the structural representation of terminal according to an embodiment of the invention.
As it is shown in figure 5, terminal 500 according to an embodiment of the invention, including institute any one of technique scheme
The terminal control mechanism 400 stated, therefore, this terminal 500 has and the terminal control dress according to any one of technique scheme
Put 400 identical technique effects, do not repeat them here.
Technical scheme is described in detail above in association with accompanying drawing, passes through technical scheme, it is to avoid not
Necessary process continues at running background, thus improves the flying power of terminal.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, that is made any repaiies
Change, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (11)
1. a terminal control method, it is characterised in that including:
When terminal is in and goes out screen state, it is judged that whether described terminal meets the condition of release lock;
If described terminal meets the condition of release lock, it is determined that the target lock not discharged, and close by discharging described target lock
Close the process that described target lock is corresponding;
If described terminal is unsatisfactory for the condition of release lock, then keep the state of lock not discharged constant.
Terminal control method the most according to claim 1, it is characterised in that described condition includes: first pre-conditioned and/
Or second is pre-conditioned,
Described first pre-conditioned is: the present system time of described terminal is more than or equal to the time of release lock, and described end
End is in the duration of screen state of going out more than preset duration;
Described second pre-conditioned is: when the process having performed task does not exits, the process of the complete task of described execution is held
Lock is not released.
Terminal control method the most according to claim 2, it is characterised in that the described step determining the target lock not discharged
Suddenly, specifically include:
Described condition be described first pre-conditioned in the case of, the lock process having logged out held is as described target
Lock;
Described condition be described second pre-conditioned in the case of, the lock process of complete for described execution task held is as institute
State target lock.
4. according to the terminal control method described in Claims 2 or 3, it is characterised in that also include:
Determine the length of one's sleep of user;
The time that the described length of one's sleep is locked as described release with the addition result of Preset Time.
Terminal control method the most according to claim 4, it is characterised in that the step of the described length of one's sleep determining user
Suddenly, specifically include:
Obtaining the multiple actual length of one's sleep of described user, the meansigma methods calculating the plurality of actual length of one's sleep is slept as described
The dormancy time.
6. a terminal control mechanism, it is characterised in that including:
Judging unit, for when terminal is in and goes out screen state, it is judged that whether described terminal meets the condition of release lock;
Control unit, if meeting the condition of release lock for described terminal, it is determined that the target lock not discharged, and by release institute
State target lock and close the process that described target lock is corresponding, if described terminal is unsatisfactory for the condition of release lock, then keep not discharging
The state of lock constant.
Terminal control mechanism the most according to claim 6, it is characterised in that described condition includes: first pre-conditioned and/
Or second is pre-conditioned,
Described first pre-conditioned is: the present system time of described terminal is more than or equal to the time of release lock, and described end
End is in the duration of screen state of going out more than preset duration;
Described second pre-conditioned is: when the process having performed task does not exits, the process of the complete task of described execution is held
Lock is not released.
Terminal control mechanism the most according to claim 7, it is characterised in that described control unit includes:
Determine subelement, for described condition be described first pre-conditioned in the case of, the process having logged out is held
Lock lock as described target;
Described determine that subelement is additionally operable to, described condition be described second pre-conditioned in the case of, by complete for described execution
The lock that the process of business is held is locked as described target.
9. according to the terminal control mechanism described in claim 7 or 8, it is characterised in that also include:
Determine unit, for determining the length of one's sleep of user, using the addition result of the described length of one's sleep and Preset Time as institute
State the time of release lock.
Terminal control mechanism the most according to claim 9, it is characterised in that described determine that unit includes:
Computation subunit, for obtaining the multiple actual length of one's sleep of described user, calculates the plurality of actual length of one's sleep
Meansigma methods is as the described length of one's sleep.
11. 1 kinds of terminals, it is characterised in that including: the terminal control mechanism as according to any one of claim 6 to 10.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610599494.9A CN106200880A (en) | 2016-07-27 | 2016-07-27 | Terminal control method, terminal control mechanism and terminal |
PCT/CN2016/097346 WO2018018700A1 (en) | 2016-07-27 | 2016-08-30 | Terminal control method, terminal control device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610599494.9A CN106200880A (en) | 2016-07-27 | 2016-07-27 | Terminal control method, terminal control mechanism and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106200880A true CN106200880A (en) | 2016-12-07 |
Family
ID=57496459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610599494.9A Pending CN106200880A (en) | 2016-07-27 | 2016-07-27 | Terminal control method, terminal control mechanism and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106200880A (en) |
WO (1) | WO2018018700A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860326A (en) * | 2021-02-01 | 2021-05-28 | 读书郎教育科技有限公司 | Power-saving processing method for screen-off standby of android device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110296028A1 (en) * | 2009-02-17 | 2011-12-01 | Panasonic Corporation | Exclusive control method of resource and exclusive controller of resource |
CN105183137A (en) * | 2015-09-09 | 2015-12-23 | 厦门美图移动科技有限公司 | Mobile terminal and wake lock control method and system thereof |
CN105530377A (en) * | 2015-12-14 | 2016-04-27 | 广东欧珀移动通信有限公司 | Method, device and system for processing wake-up lock |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103324519A (en) * | 2013-06-17 | 2013-09-25 | 华为技术有限公司 | Method and device for clearing malicious power consumption applications, and user terminal |
US9229522B1 (en) * | 2013-08-27 | 2016-01-05 | Symantec Corporation | Mobile battery performance by identifying apps that disproportionally run background tasks that prevent mobile devices from sleeping |
CN104156053B (en) * | 2014-07-29 | 2015-12-30 | 努比亚技术有限公司 | A kind of control method of abnormal power consumption, device and mobile terminal |
-
2016
- 2016-07-27 CN CN201610599494.9A patent/CN106200880A/en active Pending
- 2016-08-30 WO PCT/CN2016/097346 patent/WO2018018700A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110296028A1 (en) * | 2009-02-17 | 2011-12-01 | Panasonic Corporation | Exclusive control method of resource and exclusive controller of resource |
CN105183137A (en) * | 2015-09-09 | 2015-12-23 | 厦门美图移动科技有限公司 | Mobile terminal and wake lock control method and system thereof |
CN105530377A (en) * | 2015-12-14 | 2016-04-27 | 广东欧珀移动通信有限公司 | Method, device and system for processing wake-up lock |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860326A (en) * | 2021-02-01 | 2021-05-28 | 读书郎教育科技有限公司 | Power-saving processing method for screen-off standby of android device |
Also Published As
Publication number | Publication date |
---|---|
WO2018018700A1 (en) | 2018-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105094936B (en) | Background application method for cleaning and device applied to mobile terminal | |
CN104765466B (en) | The key control method and device of mobile terminal | |
CN103856620B (en) | Control the method and device of terminal closedown | |
CN104166542A (en) | Method and device for detecting electricity consumption of application | |
CN105072292A (en) | Application control method and terminal | |
CN105334939B (en) | Terminal power consumption control method and device | |
CN104281510A (en) | Method and system for obtaining power consumption degree of application program and energy-saving method and system | |
CN106055074A (en) | Method and device for processing application program | |
CN110297724A (en) | Embedded software house dog design method, device, equipment and storage medium | |
CN103257700B (en) | The power-economizing method of a kind of android system and device | |
CN106959857A (en) | The application control method and apparatus of a kind of electronic equipment | |
CN103034317A (en) | Method and device for handling standby | |
CN106485117A (en) | A kind of intelligent terminal method of controlling operation thereof based on recognition of face and system | |
CN108762897A (en) | Multitask management process and smartwatch | |
CN106775851A (en) | A kind of self-start method and device | |
CN106200880A (en) | Terminal control method, terminal control mechanism and terminal | |
CN107908271A (en) | Prophylactic applications influence the method, apparatus and intelligent terminal of intelligent terminal power consumption | |
CN106453593A (en) | Message pushing method and device | |
CN107704317A (en) | Smart machine and its application management method and the device with store function | |
CN103837835A (en) | Method and device for detecting capacity decreasing degree of mobile device battery | |
CN103457741A (en) | Working method of dynamic token | |
CN103377071B (en) | A kind of batch data delet method and system | |
CN107239345A (en) | Data processing method and device | |
CN106879056A (en) | The electricity saving method and device of a kind of terminal | |
CN109104306A (en) | Process analytic method, device, computer readable storage medium and electronic equipment |
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: 20161207 |
|
RJ01 | Rejection of invention patent application after publication |