CN107894902A - Apparatus control method and device - Google Patents

Apparatus control method and device Download PDF

Info

Publication number
CN107894902A
CN107894902A CN201610875979.6A CN201610875979A CN107894902A CN 107894902 A CN107894902 A CN 107894902A CN 201610875979 A CN201610875979 A CN 201610875979A CN 107894902 A CN107894902 A CN 107894902A
Authority
CN
China
Prior art keywords
program
programming
type
lock
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610875979.6A
Other languages
Chinese (zh)
Other versions
CN107894902B (en
Inventor
刘山荣
纪传舜
杨晓星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610875979.6A priority Critical patent/CN107894902B/en
Publication of CN107894902A publication Critical patent/CN107894902A/en
Application granted granted Critical
Publication of CN107894902B publication Critical patent/CN107894902B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure is directed to a kind of apparatus control method and device.Methods described includes:It is determined that need program out of service when screen is closed and exceedes preset time threshold;Perform the operation of described program out of service.Disclosed technique scheme can be by determining the needs out of service program out of service when screen is closed and exceedes preset time threshold, and then reduce the application when screen is closed and exceedes preset time threshold and wake up the quantity for the program locked and hold the time, it is possible thereby to substantially reduce equipment power dissipation when screen is closed, extension device cruising time.

Description

Apparatus control method and device
Technical field
This disclosure relates to electronic technology field, more particularly to a kind of apparatus control method and device.
Background technology
With the fast development of Internet technology, user often installs in mobile device, such as smart mobile phone, tablet personal computer Various applications (Application, APP) are to realize various application functions, accompanying problem is that even if user's pass hull closure Screen, any operation is not performed to equipment, the electricity of mobile device is as there is APP to need PUSH message and apply waking up Lock, and then cause system to be unable to dormancy, electric quantity consumption quickly, can also substantially reduce the cruising time of equipment.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure provides a kind of apparatus control method and device, used To extend the cruising time of mobile device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of apparatus control method, including:
It is determined that need program out of service when screen is closed and exceedes preset time threshold;
Perform the operation of described program out of service.
In one embodiment, it is determined that needing program out of service when screen is closed and exceedes preset time threshold, including:
By polling routine blacklist, it is determined that need type 1 programming out of service, the type 1 programming be with Application wakes up the program of the first authority of lock, and described program blacklist is used for the identification information for recording the type 1 programming;With And
It is determined that needing type 2 programming out of service, the type 2 programming is the second authority that lock is waken up with application Program.
In one embodiment, method also includes:
Blacklist renewal request message is sent to server, the request message includes out of service the of the needs The identification information of two class methods;
Receive the program that the blacklist renewal request message that the server is sent according to all devices received determines Blacklist;
The program blacklist being locally stored based on the described program blacklist renewal received.
In one embodiment, method also includes:
Generation wakes up lock application hint message, and the lock application hint message that wakes up includes described needing out of service the The identification information of two class methods;
User is received according to the feedback information for waking up and locking application hint message and inputting;
According to the feedback information, described program blacklist is updated.
In one embodiment, it is determined that needing type 2 programming out of service, including:
Obtain the wake-up lock application quantity of type 2 programming in the preset time threshold from screen closing;
Determine whether the application quantity is more than predetermined number;
If the application quantity is more than predetermined number, based on wake-up lock application number corresponding to each described program Amount, by sequence of each the described program according to the progress of application quantity from big to small;
The program of the most preceding predetermined number of ranking is defined as needing type 2 programming out of service.
In one embodiment, method also includes:
It is determined that type 2 programming out of service is needed, including:
The wake-up for obtaining type 2 programming in the preset time threshold from screen closing locks having time;
Hold whether the time is more than preset time it is determined that described;
Hold the time if described and be more than preset time, based on waking up locking sometimes corresponding to each described program Between, each described program is subjected to sequence from big to small according to the time is held;
The program of the most preceding predetermined number of ranking is defined as needing type 2 programming out of service.
In one embodiment, method also includes:
Determine the identification information of the program of the non-core layer of application wake-up lock in the preset time threshold;
Determine whether the program that application wakes up the non-core layer of lock is the by polling routine white list and program blacklist One class method or type 3 programming, described program white list are used for the identification information for recording type 3 programming, the 3rd class Program is the program for the 3rd authority that lock is waken up with application;
If the program for the non-core layer that the application wakes up lock is not type 3 programming and the type 1 programming, really It is type 2 programming to determine the program that the application wakes up lock, is needed based on the type 2 programming execution determination out of service Type 2 programming operation.
In one embodiment, method also includes:
When screen is closed, the timer of a preset time threshold length is set;
By determining whether time-out determines whether the time for closing screen exceedes preset time threshold to the timer.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of plant control unit, it may include:
Program determining module, being configured to determine that when screen is closed and exceedes preset time threshold needs journey out of service Sequence;
Module out of service, it is configured as performing the behaviour for the described program that described program determining module out of service determines Make.
In one embodiment, program determining module includes:
Submodule is inquired about, is configured as by polling routine blacklist, it is determined that needing type 1 programming out of service, institute The program that type 1 programming is the first authority that lock is waken up with application is stated, described program blacklist is used to record the first kind The identification information of program;And
First determination sub-module, being configured to determine that needs type 2 programming out of service, and the type 2 programming is The program of the second authority of lock is waken up with application.
In one embodiment, device also includes:
Sending module, it is configured as sending blacklist renewal request message to server, the request message includes institute Stating needs the identification information of type 2 programming out of service;
First receiving module, it is configured as receiving blacklist that the server is sent according to all devices received more The program blacklist that new request message determines;
First update module, the described program blacklist for being configured as receiving based on first receiving module update this The program blacklist of ground storage.
In one embodiment, device also includes:
Reminding module, is configurable to generate wake-up lock application hint message, and the lock application hint message that wakes up includes institute Stating needs the identification information of type 2 programming out of service;
Second receiving module, it is configured as receiving the wake-up lock Application Hints that user generates according to the reminding module The feedback information of information input;
Second update module, the feedback information received according to second receiving module is configured as, updates institute State program blacklist.
In one embodiment, the first determination sub-module includes:
First acquisition submodule, it is configured as obtaining type 2 programming in the preset time threshold from screen closing Wake up lock application quantity;
Second determination sub-module, it is configured to determine that whether the application quantity that first acquisition submodule obtains is big In predetermined number;
First sorting sub-module, it is configured as when the application quantity is more than predetermined number, based on each described journey Sequence is corresponding to wake up lock application quantity, by sequence of each the described program according to the progress of application quantity from big to small;
3rd determination sub-module, it is configured as most preceding default of the ranking after first sorting sub-module is sorted The program of number is defined as needing type 2 programming out of service, and first determination sub-module is based on the type 2 programming Perform the operation for determining to need type 2 programming out of service.
In one embodiment, the first determination sub-module includes:
Second acquisition submodule, it is configured as obtaining type 2 programming in the preset time threshold from screen closing Wake up locking having time;
4th determination sub-module, be configured to determine that second acquisition submodule obtains whether described to hold the time big In preset time;
Second sorting sub-module, be configured as it is described hold the time and be more than preset time when, based on each described journey Locking having time is waken up corresponding to sequence, each described program is subjected to sequence from big to small according to the time is held;
5th determination sub-module, it is configured as the most preceding predetermined number of the ranking after second sorting sub-module is sorted Program be defined as needing type 2 programming out of service.
In one embodiment, device also includes:
Program identification determining module, it is configured to determine that the non-core layer of application wake-up lock in the preset time threshold The identification information of program;
Enquiry module, it is configured as determining that application wakes up the non-core of lock by polling routine white list and program blacklist Whether the program of layer is type 1 programming or type 3 programming, and described program white list is used for the mark for recording type 3 programming Information, the type 3 programming are the program for the 3rd authority that lock is waken up with application;
First determining module, it is configured as determining that the application wakes up the program of the non-core layer of lock in the enquiry module When not being type 3 programming and the type 1 programming, determine that the program that the application wakes up lock is type 2 programming.
In one embodiment, device also includes:
Setup module, it is configured as when screen is closed, the timer of a preset time threshold length is set;
Second determining module, it is configured as by determining whether time-out determines the timer of the setup module setting Whether the time for closing screen exceedes preset time threshold.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of plant control unit, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
It is determined that need program out of service when screen is closed and exceedes preset time threshold;
Perform the operation of described program out of service.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By determining to need program out of service to reduce in screen when screen is closed and exceedes preset time threshold Close application when exceeding preset time threshold to wake up the quantity for the program locked and hold the time, it is possible thereby to substantially reduce screen pass Equipment power dissipation when closing, extension device cruising time.
Also, by polling routine blacklist, it is determined that need type 1 programming out of service, type 1 programming be with Application wakes up the program of the first authority of lock, wherein the first authority is the authority that can not apply for waking up lock when screen is closed, can To realize that limiting some unnecessary program applications wakes up lock, and then extend cruising time.
By needing type 2 programming out of service to server push, server combination all devices needs can be allowed Type 2 programming out of service determines program blacklist, and the application with reference to multiple equipment wakes up the number of lock and holds wake-up lock Time determined by program blacklist referential it is stronger.
By by each program application wake up lock number and hold wake up lock time be pushed to user, can by with Family determines which program program blacklist includes, and improves the experience of user.
By when the application quantity of type 2 programming exceedes predetermined number, by each program in type 2 programming according to Lock application quantity is waken up to be ranked up, and the program of the most preceding predetermined number out of service that sorts, it is possible to reduce wake up lock Apply for quantity, reduce equipment power dissipation when screen is closed, extension device cruising time.
By type 2 programming wake-up lock having time exceed preset time when, by each journey in type 2 programming Sequence is ranked up according to locking having time is waken up, and the program of the most preceding predetermined number out of service that sorts, and can be shortened and be called out Wake up and lock having time, reduce equipment power dissipation when screen is closed, extension device cruising time.
By polling routine white list and program blacklist can determine application wake up lock non-core layer program whether For type 2 programming, it is possible thereby to realize the operation for determining to need type 2 programming out of service, and then realize by the The application that two class methods wake up lock is limited to reduce equipment power dissipation when screen is closed.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and for explaining principle of the invention together with specification.
Fig. 1 is the flow chart of the apparatus control method according to an exemplary embodiment.
Fig. 2A is the method for the type 2 programming out of service of the determination needs according to an exemplary embodiment one Flow chart one.
Fig. 2 B are the methods of the type 2 programming out of service of the determination needs according to an exemplary embodiment two Flowchart 2.
Fig. 3 be determination program according to an exemplary embodiment three whether be type 2 programming flow chart.
Fig. 4 A are the flow charts one of the method for the more new procedures blacklist according to an exemplary embodiment four.
Fig. 4 B are the schematic diagrames of the method for the more new procedures blacklist according to an exemplary embodiment four.
Fig. 5 is the flowchart 2 of the method for the more new procedures blacklist according to an exemplary embodiment five.
Fig. 6 is a kind of block diagram of plant control unit according to an exemplary embodiment.
Fig. 7 is the block diagram of another plant control unit according to an exemplary embodiment.
Fig. 8 is the block diagram of another plant control unit according to an exemplary embodiment.
Fig. 9 is a kind of block diagram suitable for plant control unit according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is the flow chart of the apparatus control method according to an exemplary embodiment;The apparatus control method can be with Apply in mobile device, on smart mobile phone, tablet personal computer, as shown in figure 1, the apparatus control method comprises the following steps 101- 102:
In a step 101, it is determined that needing program out of service when screen is closed and exceedes preset time threshold.
In one embodiment, it is necessary to which program out of service includes all type 1 programmings, and the class of part second Sequence.
In one embodiment, type 1 programming is the program for the first authority that lock is waken up with application, and the first authority is not The authority that application wakes up lock is allowed to, type 1 programming can be obtained by polling routine blacklist, and program blacklist is used to remember Record the identification information of type 1 programming.
In one embodiment, type 2 programming be with application wake up lock the second authority program, the second authority be The authority that application wakes up lock and is not allowed to application to wake up lock in other cases can be allowed under certain situation, for example, It is fewer in the type 2 programming of equipment running background, therefore the wake-up of type 2 programming is locked in the case of applying for that quantity is fewer It is allowed to application and wakes up lock, and the type 2 programming in equipment running background is relatively more, the wake-up lock application number of type 2 programming Amount is relatively more and this program application wake up the quantity of lock it is relatively more in the case of be not allowed to application to wake up lock.
In one embodiment, it is determined that needing the method for type 2 programming out of service to may refer to shown in Fig. 2A and Fig. 2 B Embodiment, it is not described in detail first here.
In one embodiment, can by when screen is closed set a preset time threshold length timer, such as Fruit timer expiry, then it can determine that the time for closing screen exceedes preset time threshold.
In one embodiment, preset time threshold can be one 30 seconds, the time interval of 1 minute etc., preset time Threshold value can be by default.
In one embodiment, screen can be closed by the physical button triggering of shutdown by user;In another embodiment, also Screen can be closed automatically when being not received by the operation of user for a long time.
In a step 102, the operation of program out of service is performed.
In the present embodiment, by determining to need program out of service can be with when screen is closed and exceedes preset time threshold Reduce the application when screen is closed and exceedes preset time threshold to wake up the quantity for the program locked and hold the time, it is possible thereby to significantly Reduce equipment power dissipation when screen is closed, extension device cruising time.
In one embodiment, it is determined that needing program out of service when screen is closed and exceedes preset time threshold, including:
By polling routine blacklist, it is determined that needing type 1 programming out of service, type 1 programming is with application The program of the first authority of lock is waken up, program blacklist is used for the identification information for recording type 1 programming;And
It is determined that needing type 2 programming out of service, type 2 programming is the journey for the second authority that lock is waken up with application Sequence.
In one embodiment, method also includes:
Blacklist renewal request message is sent to server, request message includes needs type 2 programming out of service Identification information;
The black name of program that the blacklist renewal request message that the reception server is sent according to all devices received determines It is single;
The program blacklist being locally stored based on the program blacklist renewal received.
In one embodiment, method also includes:
Generation wakes up lock application hint message, and waking up lock application hint message includes needing type 2 programming out of service Identification information;
Receive the feedback information that user inputs according to lock application hint message is waken up;
According to feedback information, more new procedures blacklist.
In one embodiment, it is determined that needing type 2 programming out of service, including:
Obtain the wake-up lock application quantity of type 2 programming in the preset time threshold from screen closing;
It is determined that whether application quantity is more than predetermined number;
, will be each based on lock application quantity is waken up corresponding to each program if application quantity is more than predetermined number Individual program carries out sequence from big to small according to application quantity;
The program of the most preceding predetermined number of ranking is defined as needing type 2 programming out of service.
In one embodiment, method also includes:
It is determined that type 2 programming out of service is needed, including:
The wake-up for obtaining type 2 programming in the preset time threshold from screen closing locks having time;
It is determined that holding whether the time is more than preset time;
, will be each based on locking having time is waken up corresponding to each program if holding the time is more than preset time Individual program carries out sequence from big to small according to the time is held;
The program of the most preceding predetermined number of ranking is defined as needing type 2 programming out of service.
In one embodiment, method also includes:
Determine the identification information of the program of the non-core layer of application wake-up lock in preset time threshold;
Determine whether the program that application wakes up the non-core layer of lock is the by polling routine white list and program blacklist One class method or type 3 programming, program white list are used for the identification information for recording type 3 programming, and type 3 programming is tool There is the program that application wakes up the 3rd authority of lock;
If the program that application wakes up the non-core layer of lock is not type 3 programming and type 1 programming, it is determined that application is called out The program locked of waking up is type 2 programming, and the operation for determining to need type 2 programming out of service is performed based on type 2 programming.
In one embodiment, method also includes:
When screen is closed, the timer of a preset time threshold length is set;
By determining whether the time that time-out determines to close screen exceedes preset time threshold to timer.
It is specific how to be applied by pre-set programs to extend mobile device cruising time waking up lock and being defined, please With reference to subsequent embodiment.
So far, the above method that the embodiment of the present disclosure provides, it is possible to reduce hold quantity and the time for the program for waking up lock, Substantially reduce equipment power dissipation, extension device cruising time.
Fig. 2A is the method for the type 2 programming out of service of the determination needs according to an exemplary embodiment one Flow chart one, Fig. 2 B are the methods of the type 2 programming out of service of the determination needs according to an exemplary embodiment two Flowchart 2;The present embodiment utilizes the above method that the embodiment of the present disclosure provides, respectively with how by waking up lock application quantity Have time to determine to need illustrative exemplified by the type 2 programming that runs with locking is waken up, be root as shown in Figure 2 A The flow for locking the type 2 programming that application quantity determination needs are run according to waking up, comprises the following steps:
In step 201, application is locked in the wake-up for obtaining type 2 programming in the preset time threshold from screen closing Quantity.
In one embodiment, statistics can be performed by power management services module or battery electric quantity statistical module and wakes up lock The operation of application information.
In one embodiment, apply for waking up the information of lock, it may include application quantity, each time for holding wake-up lock (can Obtained by waking up lock application time and release time), for example, type 2 programming application wakes up lock in preset time threshold It is 15 times to apply for quantity.
In one embodiment, it can determine whether the program that application wakes up lock is type 2 programming by Fig. 3 embodiments, here It is not described in detail first.
In step 202, it is determined that whether application quantity is more than predetermined number, if application quantity is more than predetermined number, Step 204 is performed, if application quantity is not more than predetermined number, performs step 203.
In one embodiment, predetermined number can be one 5,10 etc. numerical value, can closed by system according to equipment Power consumption during screen is set with waking up the relation of lock application quantity.
In step 203, it is determined that program in type 2 programming not out of service, flow terminate.
In step 204, based on lock application quantity is waken up corresponding to each program, by each program according to application number Amount carries out sequence from big to small.
In one embodiment, in the preset time threshold from being recorded in by power management services module when screen is closed Each type 2 programming application wakes up the information of lock, including application quantity, each time for holding wake-up lock (can pass through wake-up Lock application time and release time obtain), for example, wechat application program applies waking up lock 3 times in preset time threshold, microblogging Application program applies waking up in preset time threshold locks 3 times, and Tengxun's application program applies waking up lock 5 in preset time threshold Secondary, orchard application program applies waking up lock 1 time in preset time threshold everyday, and Jingdone district store application program is in preset time threshold Application wakes up lock 2 times in value, and the total wake-up times of type 2 programming are 14 times.
In one embodiment, according to being ranked up from big to small, can by apply quantity it is most come before, with above-mentioned Citing is illustrated, and is ordered as:Tengxun, wechat, microblogging, everyday Jingdone district store, orchard.Wherein if application quantity is identical, then It can be ranked up with reference to the time is held, such as wechat and microblogging are all to have applied three times, then can determine that wechat and microblogging are held Wake up lock time, by hold the time length application program come before.
In step 205, the program of the most preceding predetermined number of ranking is defined as needing type 2 programming out of service.
In one embodiment, predetermined number can be a definite value, by default, for example, 3;In another embodiment In, predetermined number can be determined by total application quantity of type 2 programming and the difference of predetermined number, such as type 2 programming Total application quantity is 14, and predetermined number is 6, then applies for that quantity exceeds 8, then can program in the top out of service, The application quantity of program out of service and can not be less than 8.
As shown in Figure 2 B, it is to be locked to have time to the flow for determining the type 2 programming that needs are run according to wake-up, including Following steps:
In step 211, the wake-up locking for obtaining type 2 programming in the preset time threshold from screen closing has Time.
In one embodiment, in the preset time threshold from being recorded in by power management services module when screen is closed Each type 2 programming application wakes up the information of lock, including application quantity, each time for holding wake-up lock (can pass through wake-up Lock the application time and release time obtain), for example, in preset time threshold type 2 programming application wake up lock hold the time For 600 seconds.
In one embodiment, it can determine whether the program that application wakes up lock is type 2 programming by Fig. 3 embodiments, here It is not described in detail first.
In the step 212, it is determined that holding whether the time is more than preset time, if wake up locking having time more than presetting Between, then step 214 is performed, if waking up locking having time is not more than preset time, performs step 213.
In one embodiment, preset time can be one 5 minutes, the numerical value of 10 minutes etc..
In step 213, it is determined that program in type 2 programming not out of service, flow terminate.
In step 214, based on waking up locking having time corresponding to each program, during by each program according to holding Between carry out sequence from big to small.
In one embodiment, in the preset time threshold from being recorded in by power management services module when screen is closed Each type 2 programming application wake up lock information, including application quantity, hold wake up lock time (can by wake up lock Shen Please be waken up time and release time lock each time holds the time), for example, wechat application program is in preset time threshold Hold wake-up lock 120 seconds.
In one embodiment, according to being ranked up from big to small, can by hold the time it is most long come before, if held Having time is identical, then can combine application quantity be ranked up, hold the time it is identical when, by apply quantity more than come before Face.
In step 215, the program of the most preceding predetermined number of ranking is defined as needing type 2 programming out of service.
In one embodiment, predetermined number can be a definite value, by default, for example, 3;In another embodiment In, predetermined number can be determined by the wake-up locking having time of type 2 programming and the difference of preset time, such as the second class The wake-up locking having time of sequence is 240 seconds, and preset time is 120 seconds, then holds the time more than 120 seconds, then can be out of service Program in the top, the time of holding of program out of service can not be less than 120 seconds.
In one embodiment, can also consider it is each into application quantity and hold the time and be ranked up, such as root A fraction is calculated according to the application quantity of program, one fraction of time calculating is held according to program, two fractional weights, which are added, to be made Score is locked for the wake-up of this program, the high sequence of score is above;In one embodiment, apply for quantity score and hold the time The weight coefficient of score can be by system sets itself.Such as:Wechat application quantity 5 times, always holds the time 30 seconds;Microblogging application Quantity 3 times, always holds the time 50 seconds, and total application quantity of type 2 programming is 15 times, always holds the time for 120 seconds, then wechat Apply for 5/15*100=33 points of quantity score, wechat holds time score 30/120*100=25 point, microblogging application quantity score 3/15*100=20 points, microblogging holds time score 50/120*100=41.7 point, if applying for quantity score and holding the time The weight coefficient of score is all 0.5, then the wake-up lock of wechat is scored at 29 points, and the wake-up lock of microblogging is scored at 30.85 points, then micro- Rich sequence is above.
, will be every in type 2 programming by when the application quantity of type 2 programming exceedes predetermined number in the present embodiment One program is ranked up according to lock application quantity is waken up, and the program of the most preceding predetermined number out of service that sorts;In addition, Can also be by the way that when the wake-up of type 2 programming locks having time and exceedes preset time, each program in type 2 programming be pressed It is ranked up according to locking having time is waken up, and the program of the most preceding predetermined number out of service that sorts, wake-up lock can be shortened Hold the time, reduce equipment power dissipation when screen is closed, extension device cruising time.
Fig. 3 be determination program according to an exemplary embodiment three whether be type 2 programming flow chart;This reality The above method that example utilizes the embodiment of the present disclosure to provide is applied, how to determine that program carries out exemplary theory exemplified by being type 2 programming It is bright, as shown in figure 3, comprising the following steps:
In step 301, the identification information of the program of the non-core layer of application wake-up lock in preset time threshold is determined.
In one embodiment, the identification information of program can be program name, such as wechat, microblogging etc.;In another implementation In example, the identification information of program can also be the information that other can be identified for that program.
In step 302, determine that application wakes up the non-core layer of lock by polling routine white list and program blacklist Whether program is type 1 programming or type 3 programming, and program white list is used for the identification information for recording type 3 programming.
In one embodiment, close screen time exceed preset time threshold when, power management services module according to Program white list perform determine application wake up lock program whether be type 3 programming operation, type 3 programming be with application The program of the 3rd authority of lock is waken up, the 3rd authority refers to that the authority for waking up lock, the 3rd class can be applied under any circumstance Program can be important program, such as:Mobile phone house keeper etc..
In one embodiment, close screen time exceed preset time threshold when, power management services module according to Program blacklist perform determine application wake up lock program whether be type 1 programming operation, type 1 programming be with application The program of the first authority of lock is waken up, the first authority refers to all apply for wake-up lock in any case when screen is closed Authority, type 1 programming can be rogue program or can relatively frequently hold when screen is closed wake up lock program.
In one embodiment, type 2 programming is the journey in addition to type 3 programming and type 1 programming of non-core layer Sequence.
In one embodiment, program blacklist can be updated by way of Fig. 4 A and Fig. 5, be not described in detail first here. In one embodiment, program white list can also be updated using the scheme similar with Fig. 4 A and Fig. 5 scheme, here first not It is described in detail.
In step 303, if the program that application wakes up the non-core layer of lock is not type 3 programming and type 1 programming, Then determine that the program that application wakes up lock is type 2 programming, performed based on type 2 programming and determine to need the second class out of service The operation of program.
In the present embodiment, it can determine that application wakes up the non-core layer of lock by polling routine white list and program blacklist Program whether be type 2 programming, it is possible thereby to realize the operation for determining to need type 2 programming out of service, Jin Ershi Now equipment power dissipation when screen is closed is reduced by type 2 programming wake up the application limitation of lock.
Fig. 4 A are the flow charts one of the method for the more new procedures blacklist according to an exemplary embodiment four, and Fig. 4 B are The schematic diagram of the method for more new procedures blacklist according to an exemplary embodiment four;The present embodiment is implemented using the disclosure The above method that example provides, it is illustrative by taking how more new procedures white list as an example, as shown in Figure 4 A, including following step Suddenly:
In step 401, generation wake-up lock application hint message, it is out of service that wake-up lock application hint message includes needs Type 2 programming identification information.
In one embodiment, the needs counted after the closing of every secondary screen type 2 programming out of service can be added to and stopped Only operation program list, and when lighting screen, generation wakes up lock application hint message, wakes up in lock application hint message and carries There is the identification information of program list out of service, can also carry each application program or service routine application wakes up time of lock Number and the time for holding wake-up lock.For example, in informing sending out notice message, notify that each application program is called out in one day Wake up the number locked and the time for holding wake-up lock, such as the informing message shown in display Fig. 4 B, which show each application Program or service routine application wake up the number of lock and hold the time for waking up lock, and can also provide corresponding program and close The power consumption information closed in the period of screen.
In one embodiment, the information of similar " being added to blacklist " can also be shown in Fig. 4 B, in one embodiment, " being added to blacklist " is used to represent not allowing program to apply waking up lock after screen is closed.
In one embodiment, can also count in preset time period the needs determined when closing screen every time it is out of service the The identification information of two class methods, and identification information is added to program list out of service, then it is periodically generated wake-up lock application Prompt message, wake up the identification information that program list out of service is carried in lock application hint message.
In step 402, the feedback information that user inputs according to lock application hint message is waken up is received.
In one embodiment, user can lock application hint message input feedback information according to waking up, for example, in wechat journey Clicked in the wake-up lock information entry of sequence, select to be arranged to refuse an application by wechat program to wake up the program of lock or added Into program blacklist, corresponding feedback information can be inputted according to the operation of user.
In step 403, according to feedback information, more new procedures blacklist.
In one embodiment, wechat program, " is added to by the feedback information that can be inputted according to user for example, if receiving In program blacklist " feedback information, then can by wechat program be added to program blacklist in, namely allow wechat program closing Application wakes up lock after closing screen.
In one embodiment, for program white list, prompt message can be also periodically generated, prompts user interior for a period of time every Individual program application wakes up the information of lock, so as to according to the feedback information of user more new procedures white list.
In the present embodiment, use is pushed to by the time that each program application is waken up to the number of lock and hold wake-up lock Family, it can determine which program program blacklist includes by user, improve the experience of user.
Fig. 5 is the flowchart 2 of the method for the more new procedures white list according to an exemplary embodiment five;This implementation The above method that example is provided using the embodiment of the present disclosure, it is illustrative by taking how more new procedures white list as an example, such as Fig. 5 It is shown, comprise the following steps:
In step 501, blacklist renewal request message is sent to server, it is out of service that request message includes needs Type 2 programming identification information.
In one embodiment, the needs counted after the closing of every secondary screen type 2 programming out of service can be added to and stopped Only operation program list, and blacklist renewal request message is generated when lighting screen, carried in blacklist renewal request message There is the identification information of program list out of service, can also carry each application program or service routine application wakes up time of lock Number and the time for holding wake-up lock.
In one embodiment, can also count in preset time period the needs determined when closing screen every time it is out of service the The identification information of two class methods, and identification information is added to program list out of service, then it is periodically generated blacklist renewal Request message, blacklist update the identification information that program list out of service is carried in request message.
In step 502, it is true that the blacklist that the reception server is sent according to all devices received updates request message Fixed program blacklist.
In one embodiment, server can determine most according to the blacklist renewal request message received in preset time period Nearly each equipment needs type 2 programming out of service when closing screen, and then determines that being completely unsuitable for application wakes up lock Program, add it in program blacklist.
In one embodiment, because the program run in each mobile device is not fully identical, therefore can be according to every The program run in mobile device corresponding to the blacklist renewal request message determination that one mobile device is sent, then to movement Program blacklist corresponding to equipment return, such as:If do not include in the blacklist renewal request message that mobile device A is sent It " bucket fish " live program, then can determine to be likely to be fitted without " bucket fish " live program in mobile device A, therefore take beyond the clouds The program blacklist that the blacklist renewal request message that business device is sent according to all mobile devices is determined includes " bucket fish " " bucket fish " live program during live program, can not also be included in the program blacklist for return to mobile device A;Another In embodiment, even if determining to be likely to be fitted without " bucket fish " live program in mobile device A, if beyond the clouds server according to The program blacklist that the wake-up lock application instruction message that all mobile devices are sent is determined includes " bucket fish " live program, " bucket fish " live program can also be included in the program blacklist for returning to mobile device A.
In step 503, the program blacklist being locally stored based on the program blacklist renewal received.
In one embodiment, if the program blacklist received includes the program being fitted without in this mobile device When, corresponding program in the program blacklist received can be deleted, the program blacklist being locally stored is updated with this.
In the present embodiment, by needing type 2 programming out of service to server push, server can be allowed to combine All devices need type 2 programming out of service to determine program blacklist, and the number of lock is waken up with reference to the application of multiple equipment With hold wake up lock time determined by program blacklist referential it is stronger.
Fig. 6 is a kind of block diagram of plant control unit according to an exemplary embodiment, as shown in fig. 6, equipment control Device processed includes:
Program determining module 610, be configured to determine that screen close exceed preset time threshold when need it is out of service Program;
Module 620 out of service, it is configured as performing the operation for the program that program determining module out of service determines.
Fig. 7 is the block diagram of another plant control unit according to an exemplary embodiment, as shown in fig. 7, upper On the basis of stating embodiment illustrated in fig. 6, in one embodiment, program determining module 610 includes:
Submodule 611 is inquired about, is configured as by polling routine blacklist, it is determined that needing the first class out of service Sequence, type 1 programming are the program for the first authority that lock is waken up with application, and program blacklist is used to record type 1 programming Identification information;And
First determination sub-module 612, being configured to determine that needs type 2 programming out of service, and type 2 programming is tool There is the program that application wakes up the second authority of lock.
In one embodiment, device also includes:
Sending module 630, it is configured as sending blacklist renewal request message to server, request message includes needs The identification information of type 2 programming out of service;
First receiving module 640, it is configured as blacklist that the reception server is sent according to all devices that receive more The program blacklist that new request message determines;
First update module 650, the program blacklist for being configured as receiving based on the first receiving module 640 update local The program blacklist of storage.
In one embodiment, device also includes:
Reminding module 660, wake-up lock application hint message is configurable to generate, waking up lock application hint message includes needing The identification information of type 2 programming out of service;
Second receiving module 670, it is configured as receiving the wake-up lock Application Hints letter that user generates according to reminding module 660 Cease the feedback information of input;
Second update module 680, it is configured as the feedback information received according to the second receiving module 670, more new procedures Blacklist.
In one embodiment, the first determination sub-module 612 includes:
First acquisition submodule 6121, it is configured as obtaining the second class in the preset time threshold from screen closing The wake-up lock application quantity of sequence;
Second determination sub-module 6122, it is configured to determine that whether the application quantity that the first acquisition submodule 6121 obtains is big In predetermined number;
First sorting sub-module 6123, it is configured as determining that application quantity is more than present count in the second determination sub-module 6122 During amount, based on lock application quantity is waken up corresponding to each program, each program is carried out from big to small according to application quantity Sequence;
3rd determination sub-module 6124, it is configured as most preceding default of the ranking after the first sorting sub-module 6123 is sorted The program of number is defined as needing type 2 programming out of service, and the first determination sub-module performs determination based on type 2 programming Need the operation of type 2 programming out of service.
In one embodiment, the first determination sub-module 612 includes:
Second acquisition submodule 6125, it is configured as obtaining the second class in the preset time threshold from screen closing The wake-up locking having time of sequence;
4th determination sub-module 6126, be configured to determine that the second acquisition submodule 6125 obtains whether hold the time big In preset time;
Second sorting sub-module 6127, is configured as holding the time in the 4th determination sub-module 6126 and is more than preset time When, based on locking having time is waken up corresponding to each program, each program is carried out from big to small according to the time is held Sequence;
5th determination sub-module 6128, it is configured as most preceding default of the ranking after the second sorting sub-module 6127 is sorted The program of number is defined as needing type 2 programming out of service.
Fig. 8 is the block diagram of another plant control unit according to an exemplary embodiment, as shown in figure 8, upper On the basis of stating Fig. 6 and/or 7 illustrated embodiments, in one embodiment, device also includes:
Program identification determining module 690, it is configured to determine that the non-core layer of application wake-up lock in preset time threshold The identification information of program;
Enquiry module 700, it is configured as determining that application wakes up the non-of lock by polling routine white list and program blacklist Whether the program of inner nuclear layer is type 1 programming or type 3 programming, and program white list is used for the mark for recording type 3 programming Information, type 3 programming are the program for the 3rd authority that lock is waken up with application;
First determining module 710, it is configured as determining that application wakes up the program of the non-core layer of lock not in enquiry module 700 When being type 3 programming and type 1 programming, it is determined that the program that application wakes up lock is type 2 programming.
In one embodiment, device also includes:
Setup module 720, it is configured as when screen is closed, the timer of a preset time threshold length is set;
Second determining module 730, it is configured as by determining that the whether overtime determination of timer that setup module 720 is set is closed Whether the time for closing screen exceedes preset time threshold.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 9 is a kind of block diagram suitable for plant control unit according to an exemplary embodiment.For example, device 900 can be smart mobile phone, tablet personal computer etc..
Reference picture 9, device 900 can include following one or more assemblies:Processing component 902, memory 904, power supply Component 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of input/output (I/O), sensor cluster 914, and Communication component 916.
The integrated operation of the usual control device 900 of processing component 902, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Treatment element 902 can refer to including one or more processors 920 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 902 can include one or more modules, just Interaction between processing component 902 and other assemblies.For example, processing component 902 can include multi-media module, it is more to facilitate Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in equipment 900.These data are shown Example includes the instruction of any application program or method for being operated on device 900, contact data, telephone book data, disappears Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 906 provides electric power for the various assemblies of device 900.Electric power assembly 906 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 900.
Multimedia groupware 908 is included in the screen of one output interface of offer between device 900 and user.In some realities Apply in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch-screen, to receive the input signal from user.Touch panel include one or more touch sensors with Gesture on sensing touch, slip and touch panel.Touch sensor can the not only border of sensing touch or sliding action, and And also detection and the duration and pressure touched or slide is related.In certain embodiments, multimedia groupware 908 includes One front camera and/or rear camera.It is preceding during such as screening-mode or video mode when equipment 900 is in operator scheme The multi-medium data of outside can be received by putting camera and/or rear camera.Each front camera and rear camera can To be a fixed optical lens system or there is focusing and optical zoom capabilities.
Audio-frequency assembly 910 is configured as output and/or input audio signal.For example, audio-frequency assembly 910 includes a Mike Wind (MIC), when device 900 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 904 or via communication set Part 916 is sent.In certain embodiments, audio-frequency assembly 910 also includes a loudspeaker, for exports audio signal.
I/O interfaces 912 provide interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented Estimate.For example, sensor cluster 914 can detect opening/closed mode of equipment 900, the relative positioning of component, such as component For the display and keypad of device 900, sensor cluster 914 can be with the position of 900 1 components of detection means 900 or device Put change, the existence or non-existence that user contacts with device 900, the orientation of device 900 or acceleration/deceleration and the temperature of device 900 Change.Sensor cluster 914 can include proximity transducer, be configured in no any physical contact near detection The presence of object.Sensor cluster 914 can also include optical sensor, such as CMOS or ccd image sensor, for should in imaging With middle use.In certain embodiments, the sensor cluster 914 can also include acceleration transducer, gyro sensor, magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, communication component 916 also includes near-field communication (NFC) module, to promote junction service.For example, Radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth can be based in NFC module (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 904 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 920 of device 900.For example, Non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light Data storage device etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (17)

1. a kind of apparatus control method, it is characterised in that methods described includes:
It is determined that need program out of service when screen is closed and exceedes preset time threshold;
Perform the operation of described program out of service.
2. according to the method for claim 1, it is characterised in that described to determine when screen is closed and exceedes preset time threshold Program out of service is needed, including:
By polling routine blacklist, it is determined that needing type 1 programming out of service, the type 1 programming is with application The program of the first authority of lock is waken up, described program blacklist is used for the identification information for recording the type 1 programming;And
It is determined that needing type 2 programming out of service, the type 2 programming is the journey for the second authority that lock is waken up with application Sequence.
3. according to the method for claim 2, it is characterised in that methods described also includes:
Blacklist renewal request message is sent to server, the request message includes the needs the second class out of service The identification information of program;
Receive the black name of program that the blacklist renewal request message that the server is sent according to all devices received determines It is single;
The program blacklist being locally stored based on the described program blacklist renewal received.
4. according to the method for claim 2, it is characterised in that methods described also includes:
Generation wake-up lock application hint message, the lock application hint message that wakes up include the needs the second class out of service The identification information of program;
User is received according to the feedback information for waking up and locking application hint message and inputting;
According to the feedback information, described program blacklist is updated.
5. according to the method for claim 2, it is characterised in that described to determine to need type 2 programming out of service, bag Include:
Obtain the wake-up lock application quantity of type 2 programming in the preset time threshold from screen closing;
Determine whether the application quantity is more than predetermined number;
, will based on lock application quantity is waken up corresponding to each described program if the application quantity is more than predetermined number Each described program carries out sequence from big to small according to application quantity;
The program of the most preceding predetermined number of ranking is defined as needing type 2 programming out of service.
6. according to the method for claim 2, it is characterised in that described to determine to need type 2 programming out of service, bag Include:
The wake-up for obtaining type 2 programming in the preset time threshold from screen closing locks having time;
Hold whether the time is more than preset time it is determined that described;
Hold the time if described and be more than preset time, will based on locking having time is waken up corresponding to each described program Each described program carries out sequence from big to small according to the time is held;
The program of the most preceding predetermined number of ranking is defined as needing type 2 programming out of service.
7. according to the method for claim 2, it is characterised in that methods described also includes:
Determine the identification information of the program of the non-core layer of application wake-up lock in the preset time threshold;
Determine whether the program that application wakes up the non-core layer of lock is the first kind by polling routine white list and program blacklist Program or type 3 programming, described program white list are used for the identification information for recording type 3 programming, the type 3 programming To wake up the program of the 3rd authority of lock with application;
If the program for the non-core layer that the application wakes up lock is not type 3 programming and the type 1 programming, it is determined that institute It is type 2 programming to state application and wake up the program of lock, is performed based on the type 2 programming and described determines needs out of service the The operation of two class methods.
8. according to the method for claim 1, it is characterised in that methods described also includes:
When screen is closed, the timer of a preset time threshold length is set;
By determining whether time-out determines whether the time for closing screen exceedes preset time threshold to the timer.
9. a kind of plant control unit, it is characterised in that described device includes:
Program determining module, being configured to determine that when screen is closed and exceedes preset time threshold needs program out of service;
Module out of service, it is configured as performing the operation for the described program that described program determining module out of service determines.
10. device according to claim 9, it is characterised in that described program determining module includes:
Submodule is inquired about, is configured as by polling routine blacklist, it is determined that need type 1 programming out of service, described the One class method is the program for the first authority that lock is waken up with application, and described program blacklist is used to record the type 1 programming Identification information;And
First determination sub-module, being configured to determine that needs type 2 programming out of service, the type 2 programming be with Application wakes up the program of the second authority of lock.
11. device according to claim 10, it is characterised in that described device also includes:
Sending module, it is configured as sending blacklist renewal request message to server, the request message includes the need Want the identification information of type 2 programming out of service;
First receiving module, being configured as receiving blacklist renewal that the server is sent according to all devices received please The program blacklist for asking message to determine;
First update module, the described program blacklist renewal for being configured as being received based on first receiving module are locally deposited The program blacklist of storage.
12. device according to claim 10, it is characterised in that described device also includes:
Reminding module, is configurable to generate wake-up lock application hint message, and the lock application hint message that wakes up includes the need Want the identification information of type 2 programming out of service;
Second receiving module, it is configured as receiving the wake-up lock application hint message that user generates according to the reminding module The feedback information of input;
Second update module, the feedback information received according to second receiving module is configured as, updates the journey Sequence blacklist.
13. device according to claim 10, it is characterised in that first determination sub-module includes:
First acquisition submodule, it is configured as obtaining the wake-up of type 2 programming in the preset time threshold from screen closing Lock application quantity;
Second determination sub-module, is configured to determine that whether the application quantity that first acquisition submodule obtains is more than in advance If quantity;
First sorting sub-module, it is configured as when the application quantity is more than predetermined number, based on each described program pair The wake-up lock application quantity answered, by sequence of each the described program according to the progress of application quantity from big to small;
3rd determination sub-module, it is configured as the most preceding predetermined number of the ranking after first sorting sub-module is sorted Program be defined as needing type 2 programming out of service, first determination sub-module is performed based on the type 2 programming The operation for determining to need type 2 programming out of service.
14. device according to claim 10, it is characterised in that first determination sub-module includes:
Second acquisition submodule, it is configured as obtaining the wake-up of type 2 programming in the preset time threshold from screen closing Lock having time;
4th determination sub-module, it is configured to determine that the described of the second acquisition submodule acquisition holds whether the time is more than in advance If the time;
Second sorting sub-module, be configured as it is described hold the time and be more than preset time when, based on each described program pair The wake-up locking having time answered, sequence from big to small is carried out by each described program according to the time is held;
5th determination sub-module, it is configured as the journey of the most preceding predetermined number of the ranking after second sorting sub-module is sorted Sequence is defined as needing type 2 programming out of service.
15. device according to claim 10, it is characterised in that described device also includes:
Program identification determining module, it is configured to determine that the program of the non-core layer of application wake-up lock in the preset time threshold Identification information;
Enquiry module, it is configured as determining that application wakes up the non-core layer of lock by polling routine white list and program blacklist Whether program is type 1 programming or type 3 programming, and described program white list is used for the mark letter for recording type 3 programming Breath, the type 3 programming are the program for the 3rd authority that lock is waken up with application;
First determining module, it is configured as determining that the program that the application wakes up the non-core layer locked is not in the enquiry module When type 3 programming and the type 1 programming, determine that the program that the application wakes up lock is type 2 programming.
16. device according to claim 9, it is characterised in that described device also includes:
Setup module, it is configured as when screen is closed, the timer of a preset time threshold length is set;
Second determining module, it is configured as by described in the whether overtime determination of the timer for determining the setup module setting Whether the time for closing screen exceedes preset time threshold.
17. a kind of plant control unit, it is characterised in that described device includes:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
It is determined that need program out of service when screen is closed and exceedes preset time threshold;
Perform the operation of described program out of service.
CN201610875979.6A 2016-09-30 2016-09-30 Equipment control method and device Active CN107894902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610875979.6A CN107894902B (en) 2016-09-30 2016-09-30 Equipment control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610875979.6A CN107894902B (en) 2016-09-30 2016-09-30 Equipment control method and device

Publications (2)

Publication Number Publication Date
CN107894902A true CN107894902A (en) 2018-04-10
CN107894902B CN107894902B (en) 2021-01-01

Family

ID=61802433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610875979.6A Active CN107894902B (en) 2016-09-30 2016-09-30 Equipment control method and device

Country Status (1)

Country Link
CN (1) CN107894902B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099757A (en) * 2020-09-21 2020-12-18 珠海格力电器股份有限公司 Application keep-alive method and device

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313427A (en) * 2013-05-08 2013-09-18 广东欧珀移动通信有限公司 Method and device for starting data network of mobile terminal and mobile terminal
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN104156053A (en) * 2014-07-29 2014-11-19 深圳市中兴移动通信有限公司 Abnormal power consumption control method, abnormal power consumption control device and mobile terminal
CN104221445A (en) * 2013-11-15 2014-12-17 华为终端有限公司 Method for waking up terminal system and terminal
CN104298584A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Method and device for acquiring application program with abnormal power consumption and mobile terminal
CN104298335A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Application program process cleaning method and device of mobile terminal and mobile terminal
US20150346799A1 (en) * 2013-12-28 2015-12-03 Intel Corporation Techniques for increasing energy efficiency of sensor controllers
US20150355953A1 (en) * 2013-05-22 2015-12-10 International Business Machines Corporation Low Overhead Contention-Based Switching Between Ticket Lock And Queued Lock
CN105183137A (en) * 2015-09-09 2015-12-23 厦门美图移动科技有限公司 Mobile terminal and wake lock control method and system thereof
CN105260291A (en) * 2015-09-29 2016-01-20 小米科技有限责任公司 System log capture method and apparatus
CN105306743A (en) * 2015-09-30 2016-02-03 小米科技有限责任公司 Screen control method and device
WO2016033252A2 (en) * 2014-08-26 2016-03-03 Cellepathy Ltd. Transportation-related mobile device context inferences
CN105807894A (en) * 2016-03-22 2016-07-27 北京小米移动软件有限公司 Processing method and device of lock holding of application
CN105867578A (en) * 2015-12-07 2016-08-17 乐视移动智能信息技术(北京)有限公司 Monitoring method and apparatus of power-consuming application, and user terminal
CN105867581A (en) * 2015-12-16 2016-08-17 乐视移动智能信息技术(北京)有限公司 Power optimization method and device and mobile terminal

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313427A (en) * 2013-05-08 2013-09-18 广东欧珀移动通信有限公司 Method and device for starting data network of mobile terminal and mobile terminal
US20150355953A1 (en) * 2013-05-22 2015-12-10 International Business Machines Corporation Low Overhead Contention-Based Switching Between Ticket Lock And Queued Lock
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN104298584A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Method and device for acquiring application program with abnormal power consumption and mobile terminal
CN104298335A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Application program process cleaning method and device of mobile terminal and mobile terminal
CN104221445A (en) * 2013-11-15 2014-12-17 华为终端有限公司 Method for waking up terminal system and terminal
US20150346799A1 (en) * 2013-12-28 2015-12-03 Intel Corporation Techniques for increasing energy efficiency of sensor controllers
CN104156053A (en) * 2014-07-29 2014-11-19 深圳市中兴移动通信有限公司 Abnormal power consumption control method, abnormal power consumption control device and mobile terminal
WO2016033252A2 (en) * 2014-08-26 2016-03-03 Cellepathy Ltd. Transportation-related mobile device context inferences
CN105183137A (en) * 2015-09-09 2015-12-23 厦门美图移动科技有限公司 Mobile terminal and wake lock control method and system thereof
CN105260291A (en) * 2015-09-29 2016-01-20 小米科技有限责任公司 System log capture method and apparatus
CN105306743A (en) * 2015-09-30 2016-02-03 小米科技有限责任公司 Screen control method and device
CN105867578A (en) * 2015-12-07 2016-08-17 乐视移动智能信息技术(北京)有限公司 Monitoring method and apparatus of power-consuming application, and user terminal
CN105867581A (en) * 2015-12-16 2016-08-17 乐视移动智能信息技术(北京)有限公司 Power optimization method and device and mobile terminal
CN105807894A (en) * 2016-03-22 2016-07-27 北京小米移动软件有限公司 Processing method and device of lock holding of application

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099757A (en) * 2020-09-21 2020-12-18 珠海格力电器股份有限公司 Application keep-alive method and device

Also Published As

Publication number Publication date
CN107894902B (en) 2021-01-01

Similar Documents

Publication Publication Date Title
US11014742B2 (en) Method and device for collecting garbage
US9691256B2 (en) Method and device for presenting prompt information that recommends removing contents from garbage container
CN104378441B (en) schedule creation method and device
CN104125335B (en) Right management method, apparatus and system
CN104219388B (en) Sound control method and device
CN104298547B (en) terminal setting method and device
CN104035979B (en) The method and relevant apparatus of object recommendation
CN107666540B (en) Terminal control method, device and storage medium
CN105512545B (en) Access rights management method and device
US20150199616A1 (en) Methods and systems for managing and automating user customization of a device based on observed user behavior
CN105093980B (en) Control the method and device of smart machine start and stop
CN109983458B (en) Recommendation method and terminal
CN104184887A (en) Message prompting method and device and terminal equipment
CN106055458A (en) Charging reminding method, device and mobile device
CN104156848A (en) Schedule management method and schedule management device
CN106776068A (en) Display methods, device and equipment that candidate applies
CN107885307A (en) Apparatus control method and device
CN107094094A (en) Networking methods, device and the terminal of application program
CN107945552A (en) Become method, apparatus and the storage medium that the lamp time is prompted to signal lamp
CN104536753B (en) Backlog labeling method and device
CN106953991A (en) Display mode switching method and device
US20160379172A1 (en) Method and device for creating event reminder
CN107885308A (en) Electricity saving method and device
CN105867592A (en) Method and device for managing electric quantity consumption
CN106775234A (en) Application management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant