CN107885307A - Apparatus control method and device - Google Patents

Apparatus control method and device Download PDF

Info

Publication number
CN107885307A
CN107885307A CN201610875467.XA CN201610875467A CN107885307A CN 107885307 A CN107885307 A CN 107885307A CN 201610875467 A CN201610875467 A CN 201610875467A CN 107885307 A CN107885307 A CN 107885307A
Authority
CN
China
Prior art keywords
application
program
lock
programming
wake
Prior art date
Application number
CN201610875467.XA
Other languages
Chinese (zh)
Other versions
CN107885307B (en
Inventor
刘山荣
冯超
夏翔
Original Assignee
北京小米移动软件有限公司
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 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to CN201610875467.XA priority Critical patent/CN107885307B/en
Publication of CN107885307A publication Critical patent/CN107885307A/en
Application granted granted Critical
Publication of CN107885307B publication Critical patent/CN107885307B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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 power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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 power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling

Abstract

The disclosure is directed to a kind of apparatus control method and device.Methods described includes:It is determined that application wakes up the application statistical information of type 1 programming of lock and whether meets preparatory condition in preset time threshold from screen closing;If the application statistical information meets preparatory condition, the operation of the program of predetermined number in type 1 programming out of service is performed.Disclosed technique scheme can substantially reduce equipment power dissipation, extension device cruising time to hold the quantity and the time that wake up the program locked it is possible thereby to reduce.

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 from screen closing preset time threshold in application wake up lock type 1 programming application count letter Whether breath meets preparatory condition;

If the application statistical information meets preparatory condition, predetermined number in type 1 programming out of service is performed The operation of program.

In one embodiment, it is determined that from screen closing preset time threshold in application wake up lock type 1 programming Application statistical information whether meet preparatory condition, including:

Obtain the wake-up lock application quantity of type 1 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, it is determined that the application statistical information of the type 1 programming meets pre- If condition;

If the application quantity is not more than predetermined number, it is determined that the application statistical information of the type 1 programming is discontented with Sufficient preparatory condition.

In one embodiment, the operation of the program of predetermined number in type 1 programming out of service is performed, including:

Determine to wake up lock application quantity in the type 1 programming corresponding to each program;

Based on lock application quantity is waken up corresponding to each described program, each described program is entered according to application quantity The sequence of row from big to small;

The program of the most preceding predetermined number of ranking out of service.

In one embodiment, it is determined that from screen closing preset time threshold in application wake up lock type 1 programming Application statistical information whether meet preparatory condition, including:

The wake-up for obtaining type 1 programming in the preset time threshold from screen closing locks having time;

Determine that described wake up locks whether having time is more than preset time;

If the locking having time that wakes up is more than preset time, it is determined that the application statistical information of the type 1 programming Meet preparatory condition;

If the locking having time that wakes up is not more than preset time, it is determined that the application statistics letter of the type 1 programming Breath is unsatisfactory for preparatory condition.

In one embodiment, the operation of the program of predetermined number in type 1 programming out of service is performed, including:

Determine to wake up locking having time in the type 1 programming corresponding to each program;

Based on locking having time is waken up corresponding to each described program, each described program is had according to locking is waken up Time carries out sequence from big to small;

The program of the most preceding predetermined number of ranking 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 type 2 programming by polling routine white list, it is described Program white list is used to record the default identification information of the second class;

If the program that the application wakes up lock is not type 2 programming, it is determined that the application wakes up the non-core layer of lock Program be type 1 programming.

In one embodiment, method also includes:

Each program application in the first preset time period is counted to wake up the number of lock and hold the time for waking up lock;

Generation wakes up lock application hint message, and the wake-up lock application hint message includes each described program application and called out Wake up the number locked and the time for holding wake-up lock;

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 white list is updated.

In one embodiment, method also includes:

Each program application in the second preset time period is counted to wake up the number of lock and hold the time for waking up lock;

Sent to server and wake up lock application instruction message, it is described wake up lock application instruction message carry it is described each Program application wakes up the number of lock and holds the time for waking up lock;

The wake-up lock that the server is sent according to all devices received in second preset time period is received to answer The program white list determined with instruction message;

The program white list being locally stored based on the described program white list updating received.

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, Application in the preset time threshold determined from screen closing is performed based on the preset time threshold and wakes up the of lock Whether the application statistical information of one class method meets the operation of preparatory condition.

According to the second aspect of the embodiment of the present disclosure, there is provided a kind of plant control unit, it may include:

First determining module, it is configured to determine that in the preset time threshold from screen closing that application wakes up the of lock Whether the application statistical information of one class method meets preparatory condition;

Module out of service, it is configured as determining that the application statistical information meets default bar in first determining module During part, the operation of the program of predetermined number in type 1 programming out of service is performed.

In one embodiment, the first determining module includes:

First acquisition submodule, it is configured as obtaining type 1 programming in the preset time threshold from screen closing Wake up lock application quantity;

First determination sub-module, it is configured to determine that whether the application quantity that first acquisition submodule determines is big In predetermined number;

Second determination sub-module, it is configured as determining that the application quantity is more than present count in first determination sub-module During amount, determine that the application statistical information of the type 1 programming meets preparatory condition;

3rd determination sub-module, it is configured as determining the application quantity no more than default in first determination sub-module During quantity, determine that the application statistical information of the type 1 programming is unsatisfactory for preparatory condition.

In one embodiment, module out of service includes:

Second acquisition submodule, it is configured to determine that in the type 1 programming and lock application is waken up corresponding to each program Quantity;

First sorting sub-module, it is configured as corresponding based on each program described in second acquisition submodule determination Wake-up lock application quantity, each described program is subjected to sequence from big to small according to application quantity;

First stops submodule, is configured as the program of the most preceding predetermined number of ranking out of service.

In one embodiment, the first determining module includes:

3rd acquisition submodule, it is configured as obtaining type 1 programming in the preset time threshold from screen closing Wake up locking having time;

4th determination sub-module, it is configured to determine that the wake-up locking having time that the 3rd acquisition submodule obtains Whether preset time is more than;

5th determination sub-module, it is configured as determining that the locking having time that wakes up is more than in the 4th determination sub-module During preset time, determine that the application statistical information of the type 1 programming meets preparatory condition;

6th determination sub-module, it is configured as determining that the wake-up locking having time is little in the 4th determination sub-module When preset time, determine that the application statistical information of the type 1 programming is unsatisfactory for preparatory condition.

In one embodiment, module out of service includes:

4th acquisition submodule, it is configured to determine that in the type 1 programming that waking up locking corresponding to each program has Time;

Second sorting sub-module, it is configured as corresponding based on each program described in the 4th acquisition submodule acquisition Wake-up locking having time, each described program is subjected to sequence from big to small according to locking having time is waken up;

Second stops submodule, is configured as the program of the most preceding predetermined number of ranking 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 described program is identified described in determining module determination by polling routine white list Whether the program that application wakes up the non-core layer of lock is type 2 programming, and it is default that described program white list is used for the second class of record Identification information;

Second 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 2 programming, determine that the program that the application wakes up lock is type 1 programming.

In one embodiment, device also includes:

First statistical module, be configured as count the first preset time period in each program application wake up lock number and Hold the time for waking up lock;

Reminding module, is configurable to generate wake-up lock application hint message, and the lock application hint message that wakes up includes institute Each the described program application for stating the first statistical module counts wakes up the number of lock and holds the time for waking up lock;

First 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;

First update module, the feedback information received according to first receiving module is configured as, updates institute State program white list.

In one embodiment, device also includes:

Second statistical module, be configured as count the second preset time period in each program application wake up lock number and Hold the time for waking up lock;

Sending module, it is configured as sending to server waking up and locks application instruction message, the lock that wakes up disappears using instruction Breath carries each described program application that second statistical module counts obtain and wakes up the number of lock and hold wake-up lock Time;

Second receiving module, it is configured as receiving the server according to the institute received in second preset time period The program white list that the wake-up lock application instruction message for having equipment to send determines;

Second update module, it is configured as the described program white list updating sheet received based on second receiving module The program white list of ground storage.

In one embodiment, device also includes:

Time block, it is configured as when screen is closed, the timer of a preset time threshold length is set;

3rd determining module, it is configured as by determining whether time-out determines the timer of the time block setting Whether the time for closing screen exceedes preset time threshold, and described determine from screen is performed based on the preset time threshold Whether the application statistical information of the type 1 programming of application wake-up lock meets preparatory condition in preset time threshold from during closing Operation.

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 from screen closing preset time threshold in application wake up lock type 1 programming application count letter Whether breath meets preparatory condition;

If the application statistical information meets preparatory condition, predetermined number in type 1 programming out of service is performed The operation of program.

The technical scheme provided by this disclosed embodiment can include the following benefits:

Statistics application wakes up the application statistics letter of the type 1 programming of lock in preset time threshold from when screen is closed Breath, such as apply for quantity and the time of holding of wake-up lock, and the application statistical information satisfaction for the type 1 programming locked is waken up in application During preparatory condition, such as type 1 programming application wakes up the application quantity of lock when exceeding predetermined number, and out of service wake up locks Shen Please a fairly large number of program, it is possible thereby to reduce the type 1 programming application of screen down periods wake up lock application quantity and hold Having time, substantially reduce equipment power dissipation when screen is closed, extension device cruising time.

Also, by when the application quantity of type 1 programming exceedes predetermined number, by each journey in type 1 programming Sequence 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, it is possible to reduce is called out The application quantity of awake lock, reduce equipment power dissipation when screen is closed, extension device cruising time.

By type 1 programming wake-up lock having time exceed preset time when, by each journey in type 1 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.

It can determine whether the program that application wakes up the non-core layer of lock is type 2 programming by polling routine white list, If not type 2 programming, then explanation is type 1 programming, and wherein type 2 programming is to be allowed to during equipment closes screen Application wakes up the program of lock, it is possible thereby to realize that the application limitation by type 1 programming wake up lock is closed to reduce screen Equipment power dissipation when closing.

Pushed away by the time that each program application in the first preset time period is waken up to the number of lock and hold wake-up lock User is given, can determine which program program white list includes by user, improve the experience of user.

The time locked is waken up by the way that each program application in the second preset time period to be waken up to the number of lock and is held Server is pushed to, the program application that server can be allowed to be incorporated in all devices received in the second preset time period is called out Wake up the number locked and the time for holding wake-up lock, and program white list is determined based on these data, with reference to the Shen of multiple equipment The referential that please be waken up the number of lock and hold program white list determined by the time that wake-up is locked is stronger.

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 flow chart one of the apparatus control method according to an exemplary embodiment one.

Fig. 2 B are the flowchart 2s of the apparatus control method according to an exemplary embodiment two.

Fig. 3 be determination program according to an exemplary embodiment three whether be type 1 programming flow chart.

Fig. 4 A are the flow charts one of the method for the more new procedures white list according to an exemplary embodiment four.

Fig. 4 B are the schematic diagrames of the method for the more new procedures white list according to an exemplary embodiment four.

Fig. 5 is the flowchart 2 of the method for the more new procedures white list 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 from screen closing preset time threshold in application wake up lock type 1 programming Application statistical information whether meet preparatory condition.

In one embodiment, type 1 programming is the program in addition to type 2 programming of non-core layer, such as wechat, micro- It is rich;In another embodiment, type 2 programming is that equipment allows the application when screen is closed to wake up the program locked, and can be added to In program white list, such as:Mobile phone house keeper etc..

In one embodiment, it can be to wake up lock application quantity, hold time etc. to apply for statistical information.

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, when screen is closed, statistics can be performed by power management services module and wakes up lock letter of application The operation of breath.

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, if application statistical information meets preparatory condition, perform pre- in type 1 programming out of service If the operation of the program of number.

In one embodiment, perform the program of predetermined number in type 1 programming out of service operation can be found in Fig. 2A and Fig. 2 B embodiments, it is not described in detail first here.

In the present embodiment, when screen is closed from preset time threshold in statistics application wake up the type 1 programming of lock Apply for statistical information, such as apply for quantity and wake up the time of holding of lock, and the application system for the type 1 programming locked is waken up in application Meter information is when meeting preparatory condition, such as when type 1 programming application wakes up the application quantity of lock and exceedes predetermined number, stops transporting Row wakes up lock and applies for a fairly large number of program, it is possible thereby to reduce the Shen that lock is waken up in the type 1 programming application of screen down periods Quantity and the time please be held, substantially reduce equipment power dissipation when screen is closed, extension device cruising time.

In one embodiment, it is determined that from screen closing preset time threshold in application wake up lock type 1 programming Application statistical information whether meet preparatory condition, including:

Obtain the wake-up lock application quantity of type 1 programming in the preset time threshold from screen closing;

It is determined that whether application quantity is more than predetermined number;

If application quantity is more than predetermined number, it is determined that the application statistical information of type 1 programming meets preparatory condition;

If application quantity is not more than predetermined number, it is determined that the application statistical information of type 1 programming is unsatisfactory for default bar Part.

In one embodiment, the operation of the program of predetermined number in type 1 programming out of service is performed, including:

Determine to wake up lock application quantity in type 1 programming corresponding to each program;

Based on corresponding to each program wake up lock application quantity, by each program according to application quantity carry out from greatly to Small sequence;

The program of the most preceding predetermined number of ranking out of service.

In one embodiment, it is determined that from screen closing preset time threshold in application wake up lock type 1 programming Application statistical information whether meet preparatory condition, including:

The wake-up for obtaining type 1 programming in the preset time threshold from screen closing locks having time;

It is determined that waking up whether locking having time is more than preset time;

If waking up locking having time is more than preset time, it is determined that the application statistical information of type 1 programming meets default Condition;

If waking up locking having time is not more than preset time, it is determined that the application statistical information of type 1 programming is unsatisfactory for Preparatory condition.

In one embodiment, the operation of the program of predetermined number in type 1 programming out of service is performed, including:

Determine to wake up locking having time in type 1 programming corresponding to each program;

Based on locking having time is waken up corresponding to each program, each program is carried out according to locking having time is waken up Sequence from big to small;

The program of the most preceding predetermined number of ranking 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 type 2 programming by polling routine white list, program White list is used to record the default identification information of the second class;

If the program that application wakes up lock is not type 2 programming, it is determined that the program of non-core layer that application wakes up lock is Type 1 programming.

In one embodiment, method also includes:

Each program application in the first preset time period is counted to wake up the number of lock and hold the time for waking up lock;

Generation wakes up lock application hint message, and waking up lock application hint message includes time that each program application wakes up lock Number and the time for holding wake-up lock;

Receive the feedback information that user inputs according to lock application hint message is waken up;

According to feedback information, more new procedures white list.

In one embodiment, method also includes:

Each program application in the second preset time period is counted to wake up the number of lock and hold the time for waking up lock;

Sent to server and wake up lock application instruction message, waken up lock application instruction message and carry each program application Wake up the number of lock and hold the time for waking up lock;

The wake-up that the reception server is sent according to all devices received in the second preset time period is locked to disappear using instruction Cease the program white list determined;

The program white list being locally stored based on the program white list updating received.

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, based on default Time threshold performs the application system that application in the preset time threshold determined from screen closing wakes up the type 1 programming of lock Whether meter information meets the operation of preparatory condition.

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 flow chart one of the apparatus control method according to an exemplary embodiment one, and Fig. 2 B are shown according to one The flowchart 2 of apparatus control method shown in example property embodiment two;The present embodiment utilizes the above-mentioned side that the embodiment of the present disclosure provides Method, lock the Shen for having time to that lock is waken up when control device closes screen respectively how to lock application quantity by wake-up and wake up It is customary exemplary illustration that come in, is the flow locked application quantity realization according to waking up and wake up lock application control as shown in Figure 2 A, Comprise the following steps:

In step 201, application is locked in the wake-up for obtaining type 1 programming in the preset time threshold from screen closing Quantity.

In one embodiment, in the preset time threshold from being recorded in by power management services module when screen is closed Each type 1 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, type 1 programming application wakes up the application quantity of lock in preset time threshold For 15 times.

In one embodiment, it can determine whether the program that application wakes up lock is type 1 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.

In step 203, determine that the application statistical information of type 1 programming is unsatisfactory for preparatory condition, flow terminates.

In step 204, determine that the application statistical information of type 1 programming meets preparatory condition, perform step 205.

In step 205, determine to wake up lock application quantity in type 1 programming corresponding to each program.

In one embodiment, in the preset time threshold from being recorded in by power management services module when screen is closed Each type 1 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 1 programming are 14 times.

In step 206, 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, according to being ranked up from big to small, can by apply quantity it is most come before, with step Citing in 205 is illustrated, and is ordered as:Tengxun, wechat, microblogging, everyday Jingdone district store, orchard.Wherein if application quantity It is identical, then it can combine and hold the time and be ranked up, such as wechat and microblogging are all to have applied three times, then can determine that wechat and micro- It is rich to hold the time for waking up lock, the application program for holding time length is come before.

In step 207, the program of the most preceding predetermined number of ranking 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 1 programming and the difference of predetermined number, such as type 1 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 according to the flow for waking up locking having time realization wake-up lock application control, comprises the following steps:

In step 211, the wake-up locking for obtaining type 1 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 1 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 1 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 1 programming by Fig. 3 embodiments, here It is not described in detail first.

In the step 212, it is determined that waking up whether locking having time is more than preset time, it is more than if waking up locking having time Preset time, then step 214 is performed, if waking up locking having time is not more than preset time, perform step 213.

In one embodiment, preset time can be one 5 minutes, the numerical value of 10 minutes etc..

In step 213, determine that the application statistical information of type 1 programming is unsatisfactory for preparatory condition, flow terminates.

In step 214, determine that the application statistical information of type 1 programming meets preparatory condition, perform step 215.

In step 215, determine to wake up locking having time in type 1 programming corresponding to each program.

In one embodiment, in the preset time threshold from being recorded in by power management services module when screen is closed Each type 1 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 the step 216, based on locking having time is waken up corresponding to each program, each program is locked according to wake-up Hold the sequence of time progress from big to small.

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 217, the program of the most preceding predetermined number of ranking 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 1 programming and the difference of preset time, such as the first 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 1 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 1 programming by when the application quantity of type 1 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 1 programming locks having time and exceedes preset time, each program in type 1 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 1 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 1 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 whether the program that application wakes up the non-core layer of lock is the by polling routine white list Two class methods, program white list are used to record the default identification information of the second class.

In one embodiment, program white list can be set by power management services module, and close screen when Between when exceeding preset time threshold, power management services module performs according to program white list determines that the program that application wakes up lock is The no operation for pre-set programs.

In one embodiment, program white list can be updated by way of Fig. 4 A and Fig. 5, be not described in detail first here.

In step 303, if the program that application wakes up the non-core layer of lock is not type 2 programming, it is determined that application is called out The program locked of waking up is type 1 programming.

Fig. 4 A are the flow charts one of the method for the more new procedures white list according to an exemplary embodiment four, and Fig. 4 B are The schematic diagram of the method for more new procedures white list 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, each program application in the first preset time period is counted to wake up the number of lock and hold wake-up The time of lock.

In one embodiment, the time point of a new application program can be every time installed with user, pacified every time Fill in the first preset time period that time point of a new application program starts (for example, in one week), mobile device is closed Screen exceed preset time threshold after each program application wake up lock number and hold wake up lock time counted.

In another embodiment, each first preset time period can also be counted during user uses mobile device Each interior program application wakes up the number of lock and holds the time for waking up lock.

In step 402, generation wakes up lock application hint message, and waking up lock application hint message includes each program Shen It please wake up the number of lock and hold the time for waking up lock.

In one embodiment, when user opens screen, it can be pushed to user and wake up lock application hint message, for example, Informing sending out notice message, notify in one day each application program wake up the number of lock and holding wake up lock when Between, such as the informing message shown in display Fig. 4 B, which show each application program or service routine application to wake up lock Number and hold the time for waking up lock, and power consumption letter of the corresponding program within the period for closing screen can also be provided Breath.

In one embodiment, the letter of similar " being added to white list " or " being added to blacklist " can also be shown in Fig. 4 B Breath, in one embodiment, " being added to blacklist " are used to represent not allowing program to apply waking up lock after screen is closed.

In step 403, 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 white list, corresponding feedback information can be inputted according to the operation of user.

In step 404, according to feedback information, more new procedures white list.

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 white list " feedback information, then can by wechat program be added to program white list in, namely allow wechat program closing Application wakes up lock after closing screen.

In the present embodiment, by the way that each program application in the first preset time period to be waken up to the number of lock and holds wake-up The time of lock is pushed to user, can determine which program program white list 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, each program application in the second preset time period is counted to wake up the number of lock and hold wake-up The time of lock.

In one embodiment, the time point of a new application program can be every time installed with user, pacified every time Fill in the second preset time period that time point of a new application program starts (for example, in one week), mobile device is closed Screen exceed preset time threshold after each program application wake up lock number and hold wake up lock time counted.

In another embodiment, each second preset time period can also be counted during user uses mobile device Each interior program application wakes up the number of lock and holds the time for waking up lock.

In step 502, sent to server and wake up lock application instruction message, waken up lock application instruction message and carry often One program application wakes up the number of lock and holds the time for waking up lock.

In step 503, the wake-up that the reception server is sent according to all devices received in the second preset time period The program white list that lock application instruction message determines.

In one embodiment, server can be true according to the wake-up lock application instruction message received in the second preset time period Fixed every kind of program is applied waking up the number of lock recently and holds the time for waking up lock, and then determines the journey for being adapted to application to wake up lock Sequence, for example, application wake up lock number and hold wake up lock time be not too many program.

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 wake-up lock application instruction message determination of one mobile device transmission, then to movement Program white list corresponding to equipment return, such as:If do not include in the wake-up lock application instruction message that mobile device A is sent The application of " fish of struggling against " live program wakes up the information of lock, then can determine to be likely to be fitted without " bucket fish " directly in mobile device A Broadcast program, therefore the program that the wake-up lock application instruction message that server is sent according to all mobile devices beyond the clouds is determined When white list includes " bucket fish " live program, " bucket can not also be included in the program white list for returning to mobile device A The live program of fish ";In another embodiment, even if determining to be likely to be fitted without " bucket fish " live program in mobile device A, such as In the program white list that the fruit wake-up lock application instruction message that server is sent according to all mobile devices beyond the clouds is determined Including " bucket fish " live program, " bucket fish " live program can also be included in the program white list for returning to mobile device A.

In step 504, the program white list being locally stored based on the program white list updating received.

In one embodiment, if the program white list received includes the program being fitted without in this mobile device When, corresponding program in the program white list received can be deleted, the program white list being locally stored is updated with this.

In the present embodiment, called out by the way that each program application in the second preset time period to be waken up to the number of lock and is held The time of awake lock is pushed to server, and server can be allowed to be incorporated in all devices received in the second preset time period Program application wakes up the number of lock and holds the time for waking up lock, and determines program white list based on these data, with reference to more The referential that the application of individual equipment wakes up program white list determined by the number of lock and the time for holding wake-up lock 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:

First determining module 610, it is configured to determine that in the preset time threshold from screen closing that application wakes up lock The application statistical information of type 1 programming whether meet preparatory condition;

Module 620 out of service, it is configured as determining that application statistical information meets preparatory condition in the first determining module 610 When, perform the operation of the program of predetermined number in type 1 programming out of service.

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, the first determining module 610 includes:

First acquisition submodule 611, it is configured as obtaining the first class in the preset time threshold from screen closing The wake-up lock application quantity of sequence;

First determination sub-module 612, is configured to determine that whether the application quantity that the first acquisition submodule 611 determines is more than Predetermined number;

Second determination sub-module 613, it is configured as determining that application quantity is more than predetermined number in the first determination sub-module 612 When, determine that the application statistical information of type 1 programming meets preparatory condition;

3rd determination sub-module 614, it is configured as determining that application quantity is not more than present count in the first determination sub-module 612 During amount, determine that the application statistical information of type 1 programming is unsatisfactory for preparatory condition.

In one embodiment, module 620 out of service includes:

Second acquisition submodule 621, it is configured to determine that in type 1 programming and lock application is waken up corresponding to each program Quantity;

First sorting sub-module 622, it is configured as corresponding to each program based on the determination of the second acquisition submodule 621 Lock application quantity is waken up, by sequence of each program according to the progress of application quantity from big to small;

First stops submodule 623, is configured as the program of the most preceding predetermined number of ranking out of service.

In one embodiment, the first determining module 610 includes:

3rd acquisition submodule 615, it is configured as obtaining the first class in the preset time threshold from screen closing The wake-up locking having time of sequence;

4th determination sub-module 616, it is configured to determine that the wake-up locking having time that the 3rd acquisition submodule 615 obtains is It is no to be more than preset time;

5th determination sub-module 617, it is configured as determining that waking up locking having time is more than in advance in the 4th determination sub-module 616 If during the time, determine that the application statistical information of type 1 programming meets preparatory condition;

6th determination sub-module 618, it is configured as determining that waking up locking having time is not more than in the 4th determination sub-module 616 During preset time, determine that the application statistical information of type 1 programming is unsatisfactory for preparatory condition.

In one embodiment, module 620 out of service includes:

4th acquisition submodule 624, it is configured to determine that in type 1 programming that waking up locking corresponding to each program has Time;

Second sorting sub-module 625, it is configured as corresponding to each program based on the acquisition of the 4th acquisition submodule 624 Locking having time is waken up, by sequence of each program according to the progress of wake-up locking having time from big to small;

Second stops submodule 626, is configured as the program of the most preceding predetermined number of ranking 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 630, 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 640, it is configured as determining the Shen of the determination of program identification determining module 630 by polling routine white list Whether the program that please wake up the non-core layer of lock is type 2 programming, and program white list is used to record the default mark letter of the second class Breath;

Second determining module 650, it is configured as determining that application wakes up the program of the non-core layer of lock not in enquiry module 640 When being type 2 programming, it is determined that the program that application wakes up lock is type 1 programming.

In one embodiment, device also includes:

First statistical module 660, it is configured as counting time that each program application in the first preset time period wakes up lock Number and the time for holding wake-up lock;

Reminding module 670, wake-up lock application hint message is configurable to generate, waking up lock application hint message includes first Each program application that statistical module 660 counts wakes up the number of lock and holds the time for waking up lock;

First receiving module 680, it is configured as receiving the wake-up lock Application Hints letter that user generates according to reminding module 670 Cease the feedback information of input;

First update module 690, it is configured as the feedback information received according to the first receiving module 690, more new procedures White list.

In one embodiment, device also includes:

Second statistical module 700, it is configured as counting time that each program application in the second preset time period wakes up lock Number and the time for holding wake-up lock;

Sending module 710, it is configured as sending to server waking up and locks application instruction message, wake up lock using instruction message Each program application that the second statistical module 700 statistics obtains is carried to wake up the number of lock and hold the time for waking up lock;

Second receiving module 720, it is configured as the reception server and all is set according to what is received in the second preset time period The program white list that the wake-up lock application instruction message that preparation is sent determines;

Second update module 730, it is configured as the program white list updating local received based on the second receiving module 720 The program white list of storage.

In one embodiment, device also includes:

Time block 740, it is configured as when screen is closed, the timer of a preset time threshold length is set;

3rd determining module 750, it is configured as by determining that the whether overtime determination of timer that time block is set is closed Whether the time of screen exceedes preset time threshold, based on preset time threshold perform determine from screen closing it is default when Between in threshold value the application statistical information for the type 1 programming that application wakes up lock whether meet the operation of preparatory condition.

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 described device 900 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 908 includes a front camera and/or rear camera.When equipment 900 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have 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, and the relative positioning of component, for example, it is described Component is the display and keypad of device 900, and sensor cluster 914 can be with 900 1 components of detection means 900 or device Position change, the existence or non-existence that user contacts with device 900, the orientation of device 900 or acceleration/deceleration and device 900 Temperature change.Sensor cluster 914 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 914 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 914 can also include acceleration transducer, gyro sensors Device, 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, the communication component 916 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (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, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices 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 (19)

1. a kind of apparatus control method, it is characterised in that methods described includes:
It is determined that the application statistical information of type 1 programming that application wakes up lock in preset time threshold from screen closing is It is no to meet preparatory condition;
If the application statistical information meets preparatory condition, the program of predetermined number in type 1 programming out of service is performed Operation.
2. according to the method for claim 1, it is characterised in that the preset time threshold determined from screen closing Whether the application statistical information for the type 1 programming that interior application wakes up lock meets preparatory condition, including:
Obtain the wake-up lock application quantity of type 1 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, it is determined that the application statistical information of the type 1 programming meets default bar Part;
If the application quantity is not more than predetermined number, it is determined that the application statistical information of the type 1 programming is unsatisfactory for pre- If condition.
3. according to the method for claim 1, it is characterised in that described to perform predetermined number in type 1 programming out of service Program operation, including:
Determine to wake up lock application quantity in the type 1 programming corresponding to each program;
Based on waking up lock application quantity corresponding to each described program, will each described program according to application quantity carry out from Small sequence is arrived greatly;
The program of the most preceding predetermined number of ranking out of service.
4. according to the method for claim 1, it is characterised in that the preset time threshold determined from screen closing Whether the application statistical information for the type 1 programming that interior application wakes up lock meets preparatory condition, including:
The wake-up for obtaining type 1 programming in the preset time threshold from screen closing locks having time;
Determine that described wake up locks whether having time is more than preset time;
If the locking having time that wakes up is more than preset time, it is determined that the application statistical information of the type 1 programming meets Preparatory condition;
If the locking having time that wakes up is not more than preset time, it is determined that the application statistical information of the type 1 programming is not Meet preparatory condition.
5. according to the method for claim 1, it is characterised in that described to perform predetermined number in type 1 programming out of service Program operation, including:
Determine to wake up locking having time in the type 1 programming corresponding to each program;
Based on locking having time is waken up corresponding to each described program, each described program is locked into having time according to wake-up Carry out sequence from big to small;
The program of the most preceding predetermined number of ranking out of service.
6. according to the method for claim 1, 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 type 2 programming by polling routine white list, described program White list is used to record the default identification information of the second class;
If the program for the non-core layer that the application wakes up lock is not type 2 programming, it is determined that the application wakes up the journey of lock Sequence is type 1 programming.
7. according to the method for claim 6, it is characterised in that methods described also includes:
Each program application in the first preset time period is counted to wake up the number of lock and hold the time for waking up lock;
Generation, which wakes up, locks application hint message, and the lock application hint message that wakes up includes each program application wake-up lock Number and hold wake up lock time;
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 white list is updated.
8. according to the method for claim 6, it is characterised in that methods described also includes:
Each program application in the second preset time period is counted to wake up the number of lock and hold the time for waking up lock;
Sent to server and wake up lock application instruction message, the lock application instruction message that wakes up carries each described program Application wakes up the number of lock and holds the time for waking up lock;
The wake-up lock application that the server is sent according to all devices received in second preset time period is received to refer to Show the program white list that message determines;
The program white list being locally stored based on the described program white list updating received.
9. 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 that whether time-out determines whether the time for closing screen exceedes preset time threshold to the timer, is based on The preset time threshold performs the first kind that application in the preset time threshold determined from screen closing wakes up lock Whether the application statistical information of program meets the operation of preparatory condition.
10. a kind of plant control unit, it is characterised in that described device includes:
First determining module, it is configured to determine that in the preset time threshold from screen closing that application wakes up the first kind locked Whether the application statistical information of program meets preparatory condition;
Module out of service, it is configured as determining that the application statistical information meets preparatory condition in first determining module When, perform the operation of the program of predetermined number in type 1 programming out of service.
11. device according to claim 10, it is characterised in that first determining module includes:
First acquisition submodule, it is configured as obtaining the wake-up of type 1 programming in the preset time threshold from screen closing Lock application quantity;
First determination sub-module, is configured to determine that whether the application quantity that first acquisition submodule determines is more than in advance If quantity;
Second determination sub-module, it is configured as determining that the application quantity is more than predetermined number in first determination sub-module When, determine that the application statistical information of the type 1 programming meets preparatory condition;
3rd determination sub-module, it is configured as determining that the application quantity is not more than predetermined number in first determination sub-module When, determine that the application statistical information of the type 1 programming is unsatisfactory for preparatory condition.
12. device according to claim 10, it is characterised in that the module out of service includes:
Second acquisition submodule, it is configured to determine that in the type 1 programming corresponding to each program and wakes up lock application number Amount;
First sorting sub-module, be configured as based on second acquisition submodule determine described in call out corresponding to each program Lock of waking up applies for quantity, by sequence of each the described program according to the progress of application quantity from big to small;
First stops submodule, is configured as the program of the most preceding predetermined number of ranking out of service.
13. device according to claim 10, it is characterised in that first determining module includes:
3rd acquisition submodule, it is configured as obtaining the wake-up of type 1 programming in the preset time threshold from screen closing Lock having time;
4th determination sub-module, is configured to determine that whether the wake-up that the 3rd acquisition submodule obtains locks having time More than preset time;
5th determination sub-module, it is configured as determining the locking having time that wakes up more than default in the 4th determination sub-module During the time, determine that the application statistical information of the type 1 programming meets preparatory condition;
6th determination sub-module, it is configured as determining the locking having time that wakes up no more than pre- in the 4th determination sub-module If during the time, determine that the application statistical information of the type 1 programming is unsatisfactory for preparatory condition.
14. device according to claim 10, it is characterised in that the module out of service includes:
4th acquisition submodule, it is configured to determine that in the type 1 programming and wakes up locking sometimes corresponding to each program Between;
Second sorting sub-module, be configured as based on the 4th acquisition submodule obtain described in call out corresponding to each program Wake up and lock having time, by sequence of each the described program according to the progress of wake-up locking having time from big to small;
Second stops submodule, is configured as the program of the most preceding predetermined number of ranking 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 described program identifies the application that determining module determines by polling routine white list Whether the program for waking up the non-core layer of lock is type 2 programming, and described program white list is used to record the default mark of the second class Information;
Second 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 During type 2 programming, determine that the program that the application wakes up lock is type 1 programming.
16. device according to claim 15, it is characterised in that described device also includes:
First statistical module, it is configured as counting each program application in the first preset time period and wakes up the number of lock and hold Wake up the time of lock;
Reminding module, is configurable to generate wake-up lock application hint message, and the lock application hint message that wakes up includes described the Each described program application of one statistical module counts wakes up the number of lock and holds the time for waking up lock;
First 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;
First update module, the feedback information received according to first receiving module is configured as, updates the journey Sequence white list.
17. device according to claim 16, it is characterised in that described device also includes:
Second statistical module, it is configured as counting each program application in the second preset time period and wakes up the number of lock and hold Wake up the time of lock;
Sending module, it is configured as sending to server waking up and locks application instruction message, the lock that wakes up is taken using instruction message With second statistical module counts obtain described in each program application wake up lock number and hold wake up lock when Between;
Second receiving module, it is configured as receiving the server and all is set according to what is received in second preset time period The program white list that the wake-up lock application instruction message that preparation is sent determines;
Second update module, it is configured as locally depositing based on the described program white list updating that second receiving module receives The program white list of storage.
18. device according to claim 10, it is characterised in that described device also includes:
Time block, it is configured as when screen is closed, the timer of a preset time threshold length is set;
3rd determining module, it is configured as by described in the whether overtime determination of the timer for determining the time block setting Whether the time for closing screen exceedes preset time threshold, and described determine from screen closing is performed based on the preset time threshold When from preset time threshold in the application statistical information of the application type 1 programming that wakes up lock whether meet the behaviour of preparatory condition Make.
19. 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 the application statistical information of type 1 programming that application wakes up lock in preset time threshold from screen closing is It is no to meet preparatory condition;
If the application statistical information meets preparatory condition, the program of predetermined number in type 1 programming out of service is performed Operation.
CN201610875467.XA 2016-09-30 2016-09-30 Equipment control method and device CN107885307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610875467.XA CN107885307B (en) 2016-09-30 2016-09-30 Equipment control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610875467.XA CN107885307B (en) 2016-09-30 2016-09-30 Equipment control method and device

Publications (2)

Publication Number Publication Date
CN107885307A true CN107885307A (en) 2018-04-06
CN107885307B CN107885307B (en) 2020-09-18

Family

ID=61770151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610875467.XA CN107885307B (en) 2016-09-30 2016-09-30 Equipment control method and device

Country Status (1)

Country Link
CN (1) CN107885307B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413726A (en) * 2018-12-24 2019-03-01 维沃移动通信有限公司 Power consumption control method and mobile terminal
CN111045507A (en) * 2019-11-27 2020-04-21 RealMe重庆移动通信有限公司 List management and control method, device, mobile terminal and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140089933A1 (en) * 2012-09-24 2014-03-27 Qualcomm Innovation Center, Inc. Systems and methods to coordinate resource usage in tightly sandboxed environments
CN104038635A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Mobile terminal and prompting method of abnormal standby thereof
CN104156053A (en) * 2014-07-29 2014-11-19 深圳市中兴移动通信有限公司 Abnormal power consumption control method, abnormal power consumption control device and mobile terminal
CN104182330A (en) * 2014-08-27 2014-12-03 北京金山安全软件有限公司 Terminal and application recommendation method and device
CN104346563A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN105100504A (en) * 2014-05-22 2015-11-25 北京奇虎科技有限公司 Equipment application electric-power consumption management method and equipment application electric-power consumption management device
CN105260291A (en) * 2015-09-29 2016-01-20 小米科技有限责任公司 System log capture method and apparatus
CN105867581A (en) * 2015-12-16 2016-08-17 乐视移动智能信息技术(北京)有限公司 Power optimization method and device and mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140089933A1 (en) * 2012-09-24 2014-03-27 Qualcomm Innovation Center, Inc. Systems and methods to coordinate resource usage in tightly sandboxed environments
CN104346563A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN105100504A (en) * 2014-05-22 2015-11-25 北京奇虎科技有限公司 Equipment application electric-power consumption management method and equipment application electric-power consumption management device
CN104038635A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Mobile terminal and prompting method of abnormal standby thereof
CN104156053A (en) * 2014-07-29 2014-11-19 深圳市中兴移动通信有限公司 Abnormal power consumption control method, abnormal power consumption control device and mobile terminal
CN104182330A (en) * 2014-08-27 2014-12-03 北京金山安全软件有限公司 Terminal and application recommendation method and device
CN105260291A (en) * 2015-09-29 2016-01-20 小米科技有限责任公司 System log capture method and apparatus
CN105867581A (en) * 2015-12-16 2016-08-17 乐视移动智能信息技术(北京)有限公司 Power optimization method and device and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413726A (en) * 2018-12-24 2019-03-01 维沃移动通信有限公司 Power consumption control method and mobile terminal
CN111045507A (en) * 2019-11-27 2020-04-21 RealMe重庆移动通信有限公司 List management and control method, device, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN107885307B (en) 2020-09-18

Similar Documents

Publication Publication Date Title
CN105099877B (en) Instant communication message treating method and apparatus
CN106020784B (en) Application message display method and device and terminal
CN105279957B (en) Message prompt method and device
EP2930704B1 (en) Method and device for remote intelligent control
KR20160030462A (en) Method for adding application badge and device thereof
CN104125335B (en) Right management method, apparatus and system
CN104267977B (en) application program operation method and device
EP3012766A1 (en) Method and apparatus for processing terminal anomaly
CN105488112B (en) Information-pushing method and device
CN104079962B (en) A kind of method and device for pushing recommendation information
RU2649294C2 (en) Template construction method and apparatus and information recognition method and apparatus
CN105045467B (en) The display methods and device at task manager interface
CN104808501B (en) Intelligent scene delet method and device
EP3109185B1 (en) Method and device for prompting change of garbage bag
CN104239094B (en) Control method, device and the terminal device of background application
CN103885588B (en) Automatic switching method and device
CN104539009B (en) charging management method and device
CN104486451B (en) Application program recommends method and device
CN104301528B (en) The method and device of display information
CN105373227A (en) Method and device for intelligently closing electronic device
CN107919123A (en) More voice assistant control method, device and computer-readable recording medium
CN104219388B (en) Sound control method and device
CN104735548B (en) Incidence prompt method and device
WO2017113660A1 (en) Application program management method and device
WO2016165327A1 (en) Alarm clock-based reminding method and apparatus

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