CN105487855B - A kind of application wakes up the method and terminal of terminal - Google Patents
A kind of application wakes up the method and terminal of terminal Download PDFInfo
- Publication number
- CN105487855B CN105487855B CN201510819300.7A CN201510819300A CN105487855B CN 105487855 B CN105487855 B CN 105487855B CN 201510819300 A CN201510819300 A CN 201510819300A CN 105487855 B CN105487855 B CN 105487855B
- Authority
- CN
- China
- Prior art keywords
- application
- time
- terminal
- wake
- strategy
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention provides methods and terminal that a kind of application wakes up terminal, the wake-up strategy of the corresponding classification of multiple applications setting for that will classify, both make using will not frequent unordered wake-up terminal, reduce the power consumption of terminal, also ensure efficiently accomplishing for application function.The method of the embodiment of the present invention comprises determining that the multiple applications executed in the terminal;Determine classification belonging to each application in multiple applications;Determine wake-up strategy corresponding with classification belonging to each application, wherein the corresponding strategy that wakes up of classification belonging to each application refers to the strategy for waking up terminal;According to the corresponding wake-up strategy of classification belonging to each application, each application is handled.
Description
Technical field
The present invention relates to methods and terminal that field of terminal technology more particularly to a kind of application wake up terminal.
Background technique
With the development of electronic product, the developer of numerous third-party application manufacturers and independent third-party application is developed
It is largely used to the application of mobile terminal.These applications can not timing wake-up terminal system, execution connection wireless network and access
The tasks such as server, the frequent unordered wake-up terminal system of different application can greatly increase the stand-by power consumption of terminal.
Existing alignment awakening technology is to be called out according to fixed alignment all frequently unordered applications for waking up terminal system
Time interval of waking up is the period, periodically wakes up terminal system together, has executed terminal system suspend mode after respective task.
But when the setting of alignment wakeup time interval is too short, will cause power consumption of terminal increase, stand-by time is reduced;When
When the setting of alignment wakeup time interval is too long, not can guarantee certain applications of the task is completed in time.
Summary of the invention
The embodiment of the invention provides methods and terminal that a kind of application wakes up terminal, for setting multiple applications of classification
The wake-up strategy for setting corresponding classification, both make using will not frequent unordered wake-up terminal, reduce the power consumption of terminal, also ensure
Application function efficiently accomplishes.
In view of this, first aspect present invention provides a kind of method that application wakes up terminal, comprising:
Determine the multiple applications executed in the terminal;
Determine classification belonging to each application in the multiple application;
Determine wake-up strategy corresponding with classification belonging to each application, wherein class belonging to each application
Not corresponding wake-up strategy refers to the strategy for waking up the terminal;
According to the corresponding wake-up strategy of classification belonging to each application, each application is handled.
It is described according to each application in first aspect present invention first embodiment in conjunction with first aspect present invention
The corresponding wake-up strategy of affiliated classification, handles each application, comprising:
Obtain the wakeup time of each application;
Determining the first wakeup time for being less than preset time interval with the difference of current awake time;
In the second wakeup time, wakes up the first application corresponding with the current awake time and waken up with described first
Time corresponding second application.
It is described in first aspect present invention second embodiment in conjunction with first aspect present invention first embodiment
Two wakeup times wake up corresponding with the current awake time first and apply and corresponding with first wakeup time the
Two applications, comprising:
The current awake time that described first applies is changed to second wakeup time;
The first wakeup time that described second applies is changed to second wakeup time.
In conjunction with first aspect present invention first embodiment, in first aspect present invention third embodiment, described second
Wakeup time is the current awake time or first wakeup time.
Implement in conjunction with first aspect present invention first embodiment, first aspect second embodiment or first aspect third
Mode, in the 4th embodiment of first aspect present invention, the method also includes:
Detect the working condition of the terminal, wherein the working condition includes busy and idle time;
According to the working condition, the time interval is preset, wherein preset in working condition by busy
Time interval to be less than in working condition be the pre-set time interval of idle.
In conjunction with first aspect present invention, first aspect first embodiment, first aspect second embodiment, first aspect
The 4th embodiment of third embodiment or first aspect, in the 5th embodiment of first aspect present invention, the method is also wrapped
It includes:
According to the function or wakeup frequency of application each in the multiple application, classify to each application.
Second aspect of the present invention provides a kind of terminal, comprising:
First determining module, for determining the multiple applications executed in the terminal;
Second determining module, for determining classification belonging to each application in the multiple application;
Third determining module, for determining wake-up strategy corresponding with classification belonging to each application, wherein described
The corresponding wake-up strategy of classification belonging to each application refers to the strategy for waking up the terminal;
Execution module, for tactful according to the corresponding wake-up of classification belonging to each application, to each application
It is handled.
In conjunction with second aspect of the present invention, in second aspect of the present invention first embodiment, the execution module includes:
Acquiring unit, for obtaining the wakeup time of each application;
Determination unit, when being less than the first wake-up of preset time interval for the determining difference with the current awake time
Between;
Execution unit, in the second wakeup time, wake up corresponding with the current awake time first apply and
The second application corresponding with first wakeup time.
In conjunction with second aspect of the present invention first embodiment, in second aspect of the present invention second embodiment,
The execution unit, when specifically for the current awake time that described first applies being changed to the described second wake-up
Between;
And the first wakeup time that described second applies is changed to second wakeup time.
In conjunction with second aspect of the present invention first embodiment, in second aspect of the present invention third embodiment, described second
Wakeup time is the current awake time or first wakeup time.
Implement in conjunction with second aspect of the present invention first embodiment, second aspect second embodiment or second aspect third
Mode, in the 4th embodiment of second aspect of the present invention, the terminal further include:
Detection module, for detecting the working condition of the terminal, wherein the working condition includes busy and idle time;
Setup module, the working condition for being detected according to the detection module, presets the time interval,
In, it is less than in working condition between the idle pre-set time in working condition by the pre-set time interval of busy
Every.
In conjunction with second aspect of the present invention, second aspect first embodiment, second aspect second embodiment, second aspect
The 4th embodiment of third embodiment or second aspect, in the 5th embodiment of second aspect of the present invention, the terminal is also wrapped
It includes:
Categorization module, for the function or wakeup frequency according to application each in the multiple application, to described each
Using classifying.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
Determine multiple applications for executing in the terminal, and determine classification belonging to each application in multiple applications, determine with
The corresponding wake-up strategy of classification belonging to each application, wherein the corresponding wake-up strategy of classification belonging to each application, which refers to, calls out
The strategy for terminal of waking up is handled each application, multiple applications according to the corresponding wake-up strategy of classification belonging to each application
In some applications classification it is identical when, so that it may using identical wake-ups strategy, compared with prior art, both to apply will not
Frequently unordered wake-up terminal, reduces the power consumption of terminal, also ensures efficiently accomplishing for application function.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to institute in embodiment and description of the prior art
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow diagram for the embodiment of the method that a kind of application provided by the invention wakes up terminal;
Fig. 2 is a kind of structural schematic diagram of terminal one embodiment provided by the invention;
Fig. 3 is a kind of structural schematic diagram of another embodiment of terminal provided by the invention.
Specific embodiment
The embodiment of the invention provides methods and terminal that a kind of application wakes up terminal, for setting multiple applications of classification
The wake-up strategy for setting corresponding classification, both make using will not frequent unordered wake-up terminal, reduce the power consumption of terminal, also ensure
Application function efficiently accomplishes.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
Below by specific embodiment, it is described in detail respectively.
Referring to Fig. 1, the embodiment of the present invention provides a kind of method that application wakes up terminal, comprising:
101, the multiple applications executed in the terminal are determined;
In this implementation, user installs a variety of applications in the terminal, and determining in terminal, there is execution to wake up the more of terminal function
A application, multiple applications herein can be two applications or more than two applications.
102, classification belonging to each application in multiple applications is determined;
In the present embodiment, each application in multiple applications can be determined according to functional characteristic of application etc. belonging to classification,
Such as alarm clock class, instant message class and push class.
103, wake-up strategy corresponding with classification belonging to each application is determined;
In the present embodiment, wake-up strategy corresponding with classification belonging to each application, classification belonging to each application are determined
The corresponding strategy that wakes up refers to the strategy for waking up terminal, and waking up strategy is that basis pre-establishes.
104, according to the corresponding wake-up strategy of classification belonging to each application, each application is handled.
In the present embodiment, according to the corresponding wake-up strategy of classification belonging to determining each application, each application is carried out
The setting of strategy is waken up, so that each application is according to the wake-up strategy execution terminal arousal function set.
In the embodiment of the present invention, the multiple applications executed in the terminal are determined, and determine each using institute in multiple applications
The classification of category determines wake-up strategy corresponding with classification belonging to each application, wherein classification belonging to each application is corresponding
Wake up strategy and refer to the strategy for waking up terminal, it is tactful according to corresponding wake-ups of classification belonging to each application, to it is each apply into
Row is handled, and each application wakes up terminal according to wake-up strategy corresponding with the category according to classification in multiple applications,
Therefore, when the classification that some in multiple applications are applied is identical, so that it may using identical wake-up strategy, compared with prior art,
Both make using will not frequent unordered wake-up terminal, reduce the power consumption of terminal, also ensure efficiently accomplishing for application function.
Optionally, in some embodiments of the present invention, according to the corresponding wake-up strategy of classification belonging to each application, to every
A application is handled, comprising:
Obtain the wakeup time of each application;
Determining the first wakeup time for being less than preset time interval with the difference of current awake time;
In the second wakeup time, wakes up corresponding with the current awake time first and apply and corresponding with the first wakeup time
Second application.
In the embodiment of the present invention, each application is handled according to the corresponding wake-up strategy of classification belonging to each application
The refinement of step, so that scheme is more specific.
Optionally, in some embodiments of the present invention, in the second wakeup time, corresponding with the current awake time the is waken up
One application and the second application corresponding with the first wakeup time, comprising:
The current awake time of first application is changed to the second wakeup time;
First wakeup time of the second application is changed to the second wakeup time.
In the embodiment of the present invention, in the second wakeup time, wake up corresponding with the current awake time first apply and with
The refinement of corresponding second applying step of first wakeup time, so that scheme is more careful.
Optionally, in some embodiments of the present invention, the second wakeup time is current awake time or the first wakeup time.
Optionally, in some embodiments of the present invention, further includes:
Detect the working condition of terminal, wherein working condition includes busy and idle time;
According to working condition, time interval is preset, wherein in working condition between the busy pre-set time
It is the pre-set time interval of idle every being less than in working condition.
In the embodiment of the present invention, strategy is waken up in conjunction with the working condition setting of terminal, so that scheme is more diversified.
Optionally, in some embodiments of the present invention, further includes:
According to the function or wakeup frequency of application each in multiple applications, classify to each application.
In the embodiment of the present invention, the classification method of application is illustrated, so that scheme more has implementation.
For ease of understanding, below with a practical application scene in the embodiment of the present invention using wake up terminal method into
Row detailed description:
Terminal, which takes the mobile phone as an example, to be illustrated.
User installs multiple applications in mobile phone, there is fixed point alarm clock, 360 mobile phone cleanings, wechat, QQ, public comment and hundred
Spend news client.
It determines to have in mobile phone and executes above-mentioned 6 applications for waking up cell-phone function, and classify to this 6 applications, it can
With according to the function of application carry out classification or wakeup frequency classify.
By taking the wakeup frequency of application is classified as an example: the wakeup frequency of statistics application such as counts the wake-up of application
Number, when waking up 10 times, then according to the time difference of each wake-up, calculates wakeup frequency.Such as frequency > 1 minute, frequency > 2 minute,
Frequency > 3 minute, frequency > 5 minute.Preferably, for popular application, the application is divided by the way of preset list
Then class carries out aligned configuration, for the application other than preset list, the wakeup frequency applied according to this is classified, so
After carry out automatic aligning.
By taking the function of application is classified as an example: fixed point alarm clock is alarm clock class, and the cleaning of 360 mobile phones is timing function class, micro-
Letter and QQ are instant message class, and public comment and Baidu's news client are push class.It is noisy that fixed point is obtained according to operation and statistics
The wakeup time of clock is daily 8 points;The cleaning of 360 mobile phones is respectively 8 points, 12 points, 14 points, 18 points, 20 points 5 times a day;Wechat
To wake up per hour 8 times, respectively the 1st minute, the 6th minute, the 12nd minute, the 18th minute, the 25th minute, the 33rd minute,
40 minutes and the 50th minute;QQ is to wake up per hour 7 times, respectively the 2nd minute, the 7th minute, the 20th minute, the 25th minute, the
35 minutes, the 40th minute and the 56th minute;Public comment is daily 12 points, 18 points;Sina News client is daily 7 points, 11
Point 30 minutes, 18 points.
Determine the corresponding wake-up strategy of 6 application generics:
Fixed point alarm clock is alarm clock class, and corresponding wake-up strategy is constant for the former wakeup time of holding.
The cleaning of 360 mobile phones is timing function class, when corresponding wake-up strategy is that triggering times were not higher than 4 times in single day, is kept
Former wakeup time is constant, when single day triggering times are not higher than 5 times, will be separated by two nearest wakeup times and merge, such as 12 points and
14 points are merged at 12 points.
Wechat and QQ are instant message class, right forward using alignment strategy forward for this alignment for having required precision
Neat policing rule is as follows:
Most fast heartbeat and alignment error are once illustrated first, heartbeat, that is, network Heartbeat, for application wake up terminal into
The movement of row network connection.
Most fast heartbeat: certainly will accelerate heartbeat by being aligned strategy forward, so to set pulse rate cannot be unconfined big,
It is set as 3 minutes or more.
Alignment error: alignment error should be on the basis of the repetition wakeup time of the shortest time counted at present, principle
On should not be greater than 3 minutes, i.e., on the basis of waking up 20 times per hour.
Alignment error is divided into forward error and backward error, forward error can more greatly, for example for instant message class,
Forward error can be 1 to 2 minute, and backward error can will be 10 to 30 seconds with respect to dot, for recycling the application waken up,
Major part is to wake up mobile phone and do the movement such as network Heartbeat, if will cause and go offline using being aligned backward, and use is right forward
Together, will not have a negative impact, it is assumed that in mobile phone existing two wakeup time Alarm be respectively Alarm1:12:30 and
Alarm2:12:40, alignment error should not be greater than 3 minutes in principle, if a new wakeup time Alarm3 is arranged:
The lead time of 12:35, two nearest Alarm1 and Alarm2 of inquiry system are all larger than 3 minutes, are greater than alignment error, so
It can not be aligned, at this moment can only create a new Alarm3;If a new Alarm4:12:38, and the difference of Alarm2 is arranged
Away from less than 3 minutes, therefore merging Alarm2 and Aarlm4 is same wake-up, is waken up in 12:38, without in Alarm2:12:40
It wakes up.
According to alignment strategy forward above, obtain wakeup time of the wechat between 0 point to 1 point be respectively " 00:01,00:
06,00:12,00:18,00:25,00:33,00:40,00:50 ", obtaining wakeup time of the QQ between 0 point to 1 point is respectively
" 00:02,00:07,00:20,00:25,00:35,00:40,00:56 ", when 0: 1, the current awake time be " 00:
01 ", and it is less than the wakeup time " 00:02 " that preset 3 minute time difference is QQ with the current awake time, by the wakeup time of QQ
" 00:02 " is changed to " 00:01 ", after being handled according to above step wakeup time later, per hour in wake-up when
Between be the 1st minute, the 6th minute, the 12nd minute, the 18th minute, the 25th minute, the 33rd minute, the 40th minute and the 50th minute, with
12 wakeup times are compared in total for two applications originally, are called out using two a total of 8 of applications after alignment strategy forward
It wakes up the time, reduces the number of mobile phone wake-up.
It should be noted that wechat and this instant message class of QQ are applied while using alignment strategy forward, also
The working condition that mobile phone can be integrated carries out wakeup time setting, and the working condition of mobile phone can be divided into busy and spare time according to the time
When, such as daily 8 points to 20 points are busy, 20 points to second day 8 points are idle, when busy, are aligned strategy forward and adopt
It was aligned with 3 minutes, when idle, alignment strategy was then aligned using 5 minutes forward, because user makes when idle
It is significantly reduced with the time of mobile phone, and mobile phone is waken up using the frequency not needed then as busy, it can be into one
Step reduces the power consumption of mobile phone.
Public comment and Sina News client are push class, and the application for pushing class does not influence the network connection of mobile phone completely
Etc. functions, then wakeup time setting can be carried out according to above-mentioned working condition by waking up strategy, for example busy wakeup time is constant,
And the wakeup time of idle is postponed till into busy, therefore, 12 points of public comment and 18 points of wakeup time is constant, and Sina is new
7 points of wakeup time for hearing client postpones till at 8 points, and the wakeup time of 11 points of 30 minutes and 18 points is constant.
After waking up the setting that strategy carries out wakeup time according to above 6 applications are corresponding, these applications are according to setting
Wakeup time mobile phone is waken up.
It should be noted that the classification of application can also have other types, such as mailbox class, game class and weather prompting
Class etc. can carry out corresponding wake-up strategy setting for the application of these types, and waking up strategy not only includes this reality
The alignment forward applied in example is tactful and according to the strategy that the working condition of mobile phone is configured, can be with the wake-up plan of other modes
Slightly, it is not specifically limited.
The method that the application being described above in the embodiment of the present invention wakes up terminal, is described below in the embodiment of the present invention
Terminal, referring to Fig. 2, one embodiment in the embodiment of the present invention includes:
First determining module 201, for determining the multiple applications executed in the terminal;
Second determining module 202, for determining in the determining multiple applications of the first determining module 201 belonging to each application
Classification;
Third determining module 203, it is corresponding for classification belonging to the determining each application determined with the second determining module 202
Wake-up strategy, wherein classification belonging to each application it is corresponding wake up strategy refers to wake up terminal strategy;
Execution module 204, for according to the corresponding wake-up of classification belonging to the determining each application of third determining module 203
Strategy handles each application.
In the embodiment of the present invention, the first determining module 201 determines the multiple applications executed in the terminal, the second determining module
202 determine classification belonging to each application in multiple applications, the determination of third determining module 203 and classification pair belonging to each application
The wake-up strategy answered, wherein the corresponding strategy that wakes up of classification belonging to each application refers to the strategy for waking up terminal, execution module
204, according to the corresponding wake-up strategy of classification belonging to each application, are handled each application, each application in multiple applications
All terminal is waken up according to wake-up strategy corresponding with the category according to classification, therefore, what some in multiple applications were applied
When classification is identical, so that it may which, using identical wake-up strategy, compared with prior art, both to apply frequently unordered will not call out
Awake terminal, reduces the power consumption of terminal, also ensures efficiently accomplishing for application function.
Optionally, as shown in figure 3, in some embodiments of the present invention, execution module 204 includes:
Acquiring unit 2041, specifically for obtaining the wakeup time of each application;
Determination unit 2042 is less than the first of preset time interval specifically for the determining difference with the current awake time
Wakeup time;
Execution unit 2043 is specifically used for waking up the first application corresponding with the current awake time in the second wakeup time
And the second application corresponding with the first wakeup time.
Optionally, as shown in figure 3, in some embodiments of the present invention,
Execution unit 2043, specifically for the current awake time of the first application is changed to the second wakeup time;
Execution unit 2043, specifically for the first wakeup time of the second application is changed to the second wakeup time.
Optionally, in some embodiments of the present invention, the second wakeup time is current awake time or the first wakeup time.
Optionally, as shown in figure 3, in some embodiments of the present invention, terminal further include:
Detection module 301, for detecting the working condition of terminal, wherein working condition includes busy and idle time;
Setup module 302 is also used to the working condition detected according to detection module, presets time interval, wherein
Being less than by the pre-set time interval of busy in working condition in working condition is the pre-set time interval of idle.
Optionally, as shown in figure 3, in some embodiments of the present invention, terminal further include:
Categorization module 303, for the function or wakeup frequency according to application each in multiple applications, to it is each apply into
Row classification.
For ease of understanding, below with a concrete application scene to the friendship between each module of terminal in the embodiment of the present invention
Mutually it is described in detail:
User installs multiple applications in mobile phone, there is fixed point alarm clock, 360 mobile phone cleanings, wechat, QQ, public comment and hundred
Spend news client.
First determining module 201, which determines, has above-mentioned 6 applications for executing arousal function, and categorization module 303 answers this 6
With classifying, classification can be carried out according to the function of application or wakeup frequency is classified.
Categorization module 303 is by taking the wakeup frequency of application is classified as an example: the wake-up frequency of 303 statistics application of categorization module
Rate such as counts the wake-up of application, when waking up 10 times, then according to the time difference of each wake-up, calculates wakeup frequency.Such as
Frequency > 1 minute, frequency > 2 minute, frequency > 3 minute, frequency > 5 minute.Preferably, for popular application, using preset name
Single mode classifies to the application, then carries out aligned configuration, for the application other than preset list, according to this application
Wakeup frequency classify, then carry out automatic aligning.
Categorization module 303 is by taking the function of application is classified as an example: fixed point alarm clock is alarm clock class, and the cleaning of 360 mobile phones is fixed
Shi Gongneng class, wechat and QQ are instant message class, and public comment and Baidu's news client are push class.According to operation and statistics
The wakeup time for obtaining fixed point alarm clock is daily 8 points;The cleaning of 360 mobile phones is respectively 8 points, 12 points, 14 points, 18 5 times a day
Point, 20 points;Wechat be per hour wake up 8 times, respectively the 1st minute, the 6th minute, the 12nd minute, the 18th minute, the 25th minute,
33rd minute, the 40th minute and the 50th minute;QQ be per hour wake up 7 times, respectively the 2nd minute, the 7th minute, the 20th minute,
25th minute, the 35th minute, the 40th minute and the 56th minute;Public comment is daily 12 points, 18 points;Sina News client is
Daily 7 points, 11 points 30 minutes, 18 points.
After second determining module 202 determines the applicating category that categorization module 303 has been classified, third determining module 203 determines 6
The corresponding wake-up strategy of a application generic:
Fixed point alarm clock is alarm clock class, and corresponding wake-up strategy is constant for the former wakeup time of holding.
The cleaning of 360 mobile phones is timing function class, when corresponding wake-up strategy is that triggering times were not higher than 4 times in single day, is kept
Former wakeup time is constant, and when triggering times are not higher than 5 times within single day, execution module 204 is closed two nearest wakeup times are separated by
And such as 12 points and 14 points are merged at 12 points.
Wechat and QQ are instant message class, right forward using alignment strategy forward for this alignment for having required precision
Neat policing rule is as follows:
Most fast heartbeat and alignment error are once illustrated first, heartbeat, that is, network Heartbeat, for application wake up terminal into
The movement of row network connection.
Most fast heartbeat: certainly will accelerate heartbeat by being aligned strategy forward, so to set pulse rate cannot be unconfined big,
It is set as 3 minutes or more.
Alignment error: alignment error should be on the basis of the repetition wakeup time of the shortest time counted at present, principle
On should not be greater than 3 minutes, i.e., on the basis of waking up 20 times per hour.
Alignment error is divided into forward error and backward error, forward error can more greatly, for example for instant message class,
Forward error can be 1 to 2 minute, and backward error can will be 10 to 30 seconds with respect to dot, for recycling the application waken up,
Major part is to wake up mobile phone and do the movement such as network Heartbeat, if will cause and go offline using being aligned backward, and use is right forward
Together, will not have a negative impact, it is assumed that in systems existing two wakeup time Alarm be respectively Alarm1:12:30 and
Alarm2:12:40 should not be greater than 3 minutes on the error principle of alignment, if a new wakeup time is arranged
The lead time of Alarm3:12:35, two nearest Alarm1 and Alarm2 of inquiry system are all larger than 3 minutes, are greater than alignment and are missed
At this moment difference can only create a new Alarm3 so can not be aligned, if a new Alarm4:12:38 is set, and
The gap of Alarm2 less than 3 minutes, therefore merge Alarm2 and Aarlm4 be same wake-up, 12:38 wake up, without
Alarm2:12:40 wakes up.
According to alignment strategy, acquiring unit 2041 obtain wakeup time difference of the wechat between 0 point to 1 point forward above
For " 00:01,00:06,00:12,00:18,00:25,00:33,00:40,00:50 ", acquiring unit 2041 obtains QQ at 0 point extremely
Wakeup time between 1 point is respectively " 00:02,00:07,00:20,00:25,00:35,00:40,00:56 ", 0 point 1 minute
When, determination unit 2042 determine the current awake time be " 00:01 ", and with the current awake time be less than preset 3 minutes when
The wakeup time " 00:02 " of QQ is changed to " 00:01 " by the wakeup time " 00:02 " that difference is QQ, execution unit 2043, according to
After above step handles wakeup time later, per hour in wakeup time be the 1st minute, the 6th minute, the 12nd point
Clock, the 18th minute, the 25th minute, the 33rd minute, the 40th minute and the 50th minute, with original two applications, 12 wake-ups in total
Time is compared, and applies a total of 8 wakeup times using two after alignment strategy forward, reduces the number of mobile phone wake-up
?.
It should be noted that wechat and this instant message class of QQ are applied while using alignment strategy forward, also
Can integrate mobile phone working condition carry out wakeup time setting, by the working condition of mobile phone can be divided into according to the time busy and
Idle, such as daily 8 points to 20 points are busy, 20 points to second day 8 points are idle, and detection module 301 detects that mobile phone is in
When busy, the working condition for the mobile phone that setup module 302 is detected according to detection module 301 is busy, right using 3 minutes
Together, detection module 301 detects the hand that mobile phone is in when idle, and setup module 302 is detected according to detection module 301
The working condition of machine is idle, is aligned using 5 minutes, because user is significantly reduced using the time of mobile phone when idle,
And mobile phone is waken up using the frequency not needed then as busy, the power consumption of mobile phone can be further reduced.
Public comment and Sina News client are push class, and the application for pushing class does not influence the network connection of mobile phone completely
Etc. functions, then wakeup time setting can be carried out according to above-mentioned working condition by waking up strategy, for example busy wakeup time is constant,
And the wakeup time of idle is postponed till into busy, therefore, execution module 204 is handled according to the corresponding wake-up strategy of public comment,
It is constant to obtain 12 points and 18 points of wakeup time, and 7 points of Sina News client of wakeup time postpones till at 8 points, 11: 30
Divide and 18 points of wakeup time is constant.
After waking up the setting that strategy carries out wakeup time according to above 6 applications are corresponding, these applications are according to setting
Wakeup time mobile phone is waken up.
It should be noted that the classification of application can also have other types, such as mailbox class, game class and weather prompting
Class etc. can carry out corresponding wake-up strategy setting for the application of these types, and waking up strategy not only includes this reality
The alignment forward applied in example is tactful and according to the strategy that the working condition of mobile phone is configured, can be with the wake-up plan of other modes
Slightly, it is not specifically limited.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of method that application wakes up terminal characterized by comprising
Determine the multiple applications executed in the terminal;
Determine classification belonging to each application in the multiple application;
Determine wake-up strategy corresponding with classification belonging to each application, wherein classification pair belonging to each application
The wake-up strategy answered refers to the strategy for waking up the terminal;
According to the corresponding wake-up strategy of classification belonging to each application, each application is handled;
It is described tactful according to the corresponding wake-up of classification belonging to each application, each application is handled, comprising:
Obtain the wakeup time of each application;
Determining the first wakeup time for being less than preset time interval with the difference of current awake time;
In the second wakeup time, wake up corresponding with the current awake time first apply and with first wakeup time
Corresponding second application.
2. wake-up is currently called out with described the method according to claim 1, wherein described in the second wakeup time
Awake time corresponding first application and the second application corresponding with first wakeup time, comprising:
The current awake time that described first applies is changed to second wakeup time;
The first wakeup time that described second applies is changed to second wakeup time.
3. the method according to claim 1, wherein second wakeup time be the current awake time or
First wakeup time.
4. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
Detect the working condition of the terminal, wherein the working condition includes busy and idle time;
According to the working condition, the time interval is preset, wherein when working condition is pre-set for busy
Between to be less than in working condition be the pre-set time interval of idle at interval.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
According to the function or wakeup frequency of application each in the multiple application, classify to each application.
6. a kind of terminal characterized by comprising
First determining module, for determining the multiple applications executed in the terminal;
Second determining module, for determining classification belonging to each application in the multiple application;
Third determining module, for determining wake-up strategy corresponding with classification belonging to each application, wherein described each
Refer to the strategy for waking up the terminal using the affiliated corresponding wake-up strategy of classification;
Execution module, for being carried out to each application according to the corresponding wake-up strategy of classification belonging to each application
Processing;
The execution module includes:
Acquiring unit, for obtaining the wakeup time of each application;
Determination unit, for determining the first wakeup time for being less than preset time interval with the difference of current awake time;
Execution unit, in the second wakeup time, wake up corresponding with the current awake time first apply and with institute
State corresponding second application of the first wakeup time.
7. terminal according to claim 6, which is characterized in that
The execution unit, specifically for the current awake time that described first applies is changed to second wakeup time;
And the first wakeup time that described second applies is changed to second wakeup time.
8. terminal according to claim 6, which is characterized in that second wakeup time be the current awake time or
First wakeup time.
9. according to the described in any item terminals of claim 6 to 8, which is characterized in that the terminal further include:
Detection module, for detecting the working condition of the terminal, wherein the working condition includes busy and idle time;
Setup module, the working condition for being detected according to the detection module, presets the time interval, wherein
Being less than by the pre-set time interval of busy in working condition in working condition is the pre-set time interval of idle.
10. terminal according to claim 9, which is characterized in that the terminal further include:
Categorization module, for the function or wakeup frequency according to application each in the multiple application, to each application
Classify.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510819300.7A CN105487855B (en) | 2015-11-20 | 2015-11-20 | A kind of application wakes up the method and terminal of terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510819300.7A CN105487855B (en) | 2015-11-20 | 2015-11-20 | A kind of application wakes up the method and terminal of terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105487855A CN105487855A (en) | 2016-04-13 |
CN105487855B true CN105487855B (en) | 2019-03-01 |
Family
ID=55674855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510819300.7A Active CN105487855B (en) | 2015-11-20 | 2015-11-20 | A kind of application wakes up the method and terminal of terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105487855B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105975318A (en) * | 2016-05-27 | 2016-09-28 | 努比亚技术有限公司 | Awakening control device and method of mobile terminal |
CN106406499A (en) * | 2016-09-26 | 2017-02-15 | 南京酷派软件技术有限公司 | An aligned awakening method and device based on a terminal system |
CN106484077A (en) * | 2016-10-19 | 2017-03-08 | 上海青橙实业有限公司 | Mobile terminal and its electricity saving method based on application software classification |
CN106610858A (en) * | 2016-12-27 | 2017-05-03 | 北京珠穆朗玛移动通信有限公司 | Software program updating method and mobile terminal |
CN106961471A (en) * | 2017-03-03 | 2017-07-18 | 上海谱翱数据科技有限公司 | Node apparatus and Internet of Things communication subsystem |
CN106959857B (en) * | 2017-03-29 | 2020-05-26 | 联想(北京)有限公司 | Application control method and device of electronic equipment |
CN107277902B (en) * | 2017-06-19 | 2021-05-21 | 努比亚技术有限公司 | Terminal power consumption control method, mobile terminal and computer readable storage medium |
CN110687998A (en) * | 2019-09-18 | 2020-01-14 | 华为技术有限公司 | Application management method and device |
CN113238804B (en) * | 2021-05-17 | 2022-06-28 | 深圳掌酷软件有限公司 | System and method for awakening specified application based on intelligent terminal breath screen state |
CN113467920A (en) * | 2021-07-20 | 2021-10-01 | 深圳市柔宇科技股份有限公司 | Timing task management method, terminal device and readable storage medium |
CN116132203B (en) * | 2023-02-02 | 2023-07-21 | 卧安科技(深圳)有限公司 | Equipment wakeup control method of intelligent home scene, internet of things equipment and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103971050A (en) * | 2014-05-21 | 2014-08-06 | 深圳市中兴移动通信有限公司 | Mobile terminal awakening control method and device and mobile terminal |
CN104298515A (en) * | 2013-07-19 | 2015-01-21 | 贝壳网际(北京)安全技术有限公司 | Awakening control method and device for application program in mobile terminal and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103118188B (en) * | 2013-01-25 | 2014-08-20 | 华为终端有限公司 | Application heartbeat cycle adjusting method and device, and terminal |
-
2015
- 2015-11-20 CN CN201510819300.7A patent/CN105487855B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298515A (en) * | 2013-07-19 | 2015-01-21 | 贝壳网际(北京)安全技术有限公司 | Awakening control method and device for application program in mobile terminal and mobile terminal |
CN103971050A (en) * | 2014-05-21 | 2014-08-06 | 深圳市中兴移动通信有限公司 | Mobile terminal awakening control method and device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105487855A (en) | 2016-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105487855B (en) | A kind of application wakes up the method and terminal of terminal | |
EP3502880B1 (en) | Method for preloading application, storage medium, and terminal device | |
CN110097876A (en) | Voice wakes up processing method and is waken up equipment | |
CN104965641B (en) | information display method and device | |
CN103561179B (en) | The method and apparatus that intelligent terminal's wakeup time adjusts | |
CN103546503B (en) | Voice-based cloud social intercourse system, method and cloud analysis server | |
CN103797761B (en) | Communication method, client, and terminal | |
US20170109756A1 (en) | User Unsubscription Prediction Method and Apparatus | |
CN106139536A (en) | A kind of based reminding method and device | |
CN106168902A (en) | Awakening control method, device and equipment | |
CN106055209A (en) | Application starting method and terminal equipment | |
CN106055455A (en) | Anti-interference method and device for key | |
CN106550101B (en) | Event reminding method and device | |
WO2021196594A1 (en) | Attachment force adjustment method and apparatus, device, and storage medium | |
CN106355382A (en) | Event reminding method and device | |
CN109982355A (en) | It is preserved and recovered the method and device thereof, terminal and storage medium of network path | |
CN112073293A (en) | Instant message reminding method and related device | |
CN106375585B (en) | A kind of calendar prompting method, system and terminal | |
CN104484265B (en) | Method, device and system for improving terminal performance | |
CN109992314B (en) | Data reporting method, device, terminal and storage medium | |
CN104052861A (en) | Terminal and wake-up method thereof | |
JP2014103451A (en) | Conference system, server, and conference information generating program | |
CN105260006A (en) | Method and apparatus for prolonging standby time of intelligent device | |
CN110489177B (en) | Application control method and device, storage medium and terminal equipment | |
CN105677033B (en) | A kind of method for pushing and system of information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 519085 Guangdong Zhuhai science and technology innovation coastal Meizu Technology Building Patentee after: MEIZU TECHNOLOGY Co.,Ltd. Address before: 519000 technology innovation coastal Meizu science and technology building, Zhuhai, Guangdong Patentee before: Meizu Technology (China) Co.,Ltd. |
|
CP03 | Change of name, title or address |