CN105487855A - Method for awakening terminal by applications and terminal - Google Patents

Method for awakening terminal by applications and terminal Download PDF

Info

Publication number
CN105487855A
CN105487855A CN201510819300.7A CN201510819300A CN105487855A CN 105487855 A CN105487855 A CN 105487855A CN 201510819300 A CN201510819300 A CN 201510819300A CN 105487855 A CN105487855 A CN 105487855A
Authority
CN
China
Prior art keywords
application
time
terminal
wakeup
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.)
Granted
Application number
CN201510819300.7A
Other languages
Chinese (zh)
Other versions
CN105487855B (en
Inventor
蔡文梁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology China Co Ltd filed Critical Meizu Technology China Co Ltd
Priority to CN201510819300.7A priority Critical patent/CN105487855B/en
Publication of CN105487855A publication Critical patent/CN105487855A/en
Application granted granted Critical
Publication of CN105487855B publication Critical patent/CN105487855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring 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 a method for awakening a terminal by applications and the terminal. The method and the terminal are used for setting awakening strategies of corresponding classes for a plurality of applications of the classes, so that the applications cannot frequently or disorderly awaken the terminal; the power consumption of the terminal is reduced; and the effective completion of the application functions is also ensured. The method provided by the embodiment of the invention comprises the following steps of determining the plurality of applications executed in the terminal; determining the affiliated class of each application in the plurality of applications; determining the awakening strategy corresponding to the affiliated class of each application, wherein the awakening strategy corresponding to the affiliated class of each application is a terminal awakening strategy; and processing each application according to the awakening strategy corresponding to the affiliated class of each application.

Description

A kind of application wakes method and the terminal of terminal up
Technical field
The present invention relates to field of terminal technology, particularly relate to method and terminal that a kind of application wakes terminal up.
Background technology
Along with the development of electronic product, the developer of numerous third-party application manufacturers and independently third-party application develops in a large number for the application of mobile terminal.These application not timing can wake terminal system up, perform the task such as connecting wireless network and access services device, and different application is frequently unordered wakes the stand-by power consumption that terminal system can increase terminal greatly up.
Existing alignment awakening technology is be spaced apart the cycle to all frequently unordered application waking terminal system up according to fixing alignment wakeup time, periodically wakes terminal system up together, executes terminal system dormancy after respective task.
But when wakeup time interval of aliging arranges too short, power consumption of terminal can be caused to increase, and stand-by time reduces; When align wakeup time interval arrange long time, cannot guarantee section application task complete in time.
Summary of the invention
Embodiments provide method and terminal that a kind of application wakes terminal up, strategy is waken up for what multiple application of classification are arranged corresponding classification, both made to apply and frequently unorderedly can not wake terminal up, and reduced the power consumption of terminal, also ensure that effectively completing of application function.
In view of this, first aspect present invention provides a kind of application to wake the method for terminal up, comprising:
Determine the multiple application performed in the terminal;
Determine the classification belonging to each application in described multiple application;
Determine corresponding with the classification belonging to described each application to wake strategy up, wherein, what the classification belonging to described each application was corresponding wake strategy up refers to the strategy waking described terminal up;
According to the classification belonging to described each application corresponding wake strategy up, described each application is processed.
In conjunction with first aspect present invention, in first aspect present invention first embodiment, described according to the classification belonging to described each application corresponding wake strategy up, described each application is processed, comprising:
Obtain the wakeup time of described each application;
Determine the first wakeup time being less than the default time interval with the difference of current awake time;
At the second wakeup time, wake up corresponding with the described current awake time first apply and with corresponding second the applying of described first wakeup time.
In conjunction with first aspect present invention first embodiment, in first aspect present invention second embodiment, described at the second wakeup time, wake up corresponding with the described current awake time first apply and with corresponding second the applying of described first wakeup time, comprising:
The current awake time of described first application is changed to described second wakeup time;
First wakeup time of described second application is changed to described second wakeup time.
In conjunction with first aspect present invention first embodiment, in first aspect present invention the 3rd embodiment, described second wakeup time is described current awake time or described first wakeup time.
In conjunction with first aspect present invention first embodiment, first aspect second embodiment or first aspect the 3rd embodiment, in first aspect present invention the 4th embodiment, described method also comprises:
Detect the duty of described terminal, wherein, described duty comprises busy and idle time;
According to described duty, pre-set the described time interval, wherein, it is time interval that idle pre-sets in working order that the time interval pre-set for busy is in working order less than.
In conjunction with first aspect present invention, first aspect first embodiment, first aspect second embodiment, first aspect the 3rd embodiment or first aspect the 4th embodiment, in first aspect present invention the 5th embodiment, described method also comprises:
According to function or the wakeup frequency of each application in described multiple application, described each application is classified.
Second aspect present invention provides a kind of terminal, comprising:
First determination module, for determining the multiple application performed in the terminal;
Second determination module, for determining the classification in described multiple application belonging to each application;
3rd determination module, corresponding with the classification belonging to described each application wakes strategy up for determining, wherein, what the classification belonging to described each application was corresponding wake strategy up refers to the strategy waking described terminal up;
Execution module, for according to the classification belonging to described each application corresponding wake strategy up, described each application is processed.
In conjunction with second aspect present invention, in second aspect present invention first embodiment, described execution module comprises:
Acquiring unit, for obtaining the wakeup time of described each application;
Determining unit, for determining the first wakeup time being less than the default time interval with the difference of current awake time;
Performance element, at the second wakeup time, wake up corresponding with the described current awake time first apply and with corresponding second the applying of described first wakeup time.
In conjunction with second aspect present invention first embodiment, in second aspect present invention second embodiment,
Described performance element, specifically for changing to described second wakeup time by the current awake time of described first application;
And the first wakeup time of described second application is changed to described second wakeup time.
In conjunction with second aspect present invention first embodiment, in second aspect present invention the 3rd embodiment, described second wakeup time is described current awake time or described first wakeup time.
In conjunction with second aspect present invention first embodiment, second aspect second embodiment or second aspect the 3rd embodiment, in second aspect present invention the 4th embodiment, described terminal also comprises:
Detection module, for detecting the duty of described terminal, wherein, described duty comprises busy and idle time;
Arrange module, for the duty detected according to described detection module, pre-set the described time interval, wherein, it is time interval that idle pre-sets in working order that the time interval pre-set for busy is in working order less than.
In conjunction with second aspect present invention, second aspect first embodiment, second aspect second embodiment, second aspect the 3rd embodiment or second aspect the 4th embodiment, in second aspect present invention the 5th embodiment, described terminal also comprises:
Sort module, for according to the function of each application in described multiple application or wakeup frequency, classifies to described each application.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
Determine the multiple application performed in the terminal, and determine the classification in multiple application belonging to each application, determine corresponding with the classification belonging to each application to wake strategy up, wherein, what the classification belonging to each application was corresponding wake strategy up refers to the strategy waking terminal up, according to the classification belonging to each application corresponding wake strategy up, each application is processed, when in multiple application, the classification of some application is identical, just can adopt and identical wake strategy up, compared with prior art, both made to apply and frequently unorderedly can not wake terminal up, reduce the power consumption of terminal, also ensure that effectively completing of application function.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present invention technical scheme, be briefly described to the accompanying drawing used required in embodiment and description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet that a kind of application provided by the invention wakes the embodiment of the method for terminal up;
Fig. 2 is the structural representation of a kind of terminal provided by the invention embodiment;
Fig. 3 is the structural representation of another embodiment of a kind of terminal provided by the invention.
Embodiment
Embodiments provide method and terminal that a kind of application wakes terminal up, strategy is waken up for what multiple application of classification are arranged corresponding classification, both made to apply and frequently unorderedly can not wake terminal up, and reduced the power consumption of terminal, also ensure that effectively completing of application function.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
Below by specific embodiment, be described in detail respectively.
Refer to Fig. 1, the embodiment of the present invention provides a kind of application to wake the method for terminal up, comprising:
101, the multiple application performed in the terminal are determined;
In this enforcement, user installs multiple application in the terminal, and determine to have the multiple application performing and wake termination function up in terminal, multiple application herein can be two methods or plural application.
102, the classification in multiple application belonging to each application is determined;
In the present embodiment, the classification in multiple application belonging to each application can be determined according to the functional characteristic etc. applied, such as alarm clock class, instant message class and propelling movement class.
103, determine corresponding with the classification belonging to each application to wake strategy up;
In the present embodiment, determine corresponding with the classification belonging to each application to wake strategy up, what the classification belonging to each application was corresponding wake strategy up refers to the strategy waking terminal up, and wakes strategy up according to pre-establishing.
104, according to the classification belonging to each application corresponding wake strategy up, each application is processed.
In the present embodiment, according to the classification belonging to each application determined corresponding wake strategy up, to each application wake up strategy setting, make each application wake strategy execution terminal wake-up function up according to what set.
In the embodiment of the present invention, determine the multiple application performed in the terminal, and determine the classification in multiple application belonging to each application, determine corresponding with the classification belonging to each application to wake strategy up, wherein, what the classification belonging to each application was corresponding wake strategy up refers to the strategy waking terminal up, according to the classification belonging to each application corresponding wake strategy up, each application is processed, in multiple application, each application wakes up terminal according to the wake strategy corresponding with this classification according to classification, therefore, when in multiple application, the classification of some application is identical, just can adopt and identical wake strategy up, compared with prior art, both made to apply and frequently unorderedly can not wake terminal up, reduce the power consumption of terminal, also ensure that effectively completing of application function.
Optionally, in some embodiments of the present invention, according to the classification belonging to each application corresponding wake strategy up, each application is processed, comprising:
Obtain the wakeup time of each application;
Determine the first wakeup time being less than the default time interval with the difference of current awake time;
At the second wakeup time, wake up corresponding with the current awake time first apply and with corresponding second the applying of the first wakeup time.
In the embodiment of the present invention, according to the classification belonging to each application corresponding wake strategy to carry out treatment step refinement to each application up, make scheme more concrete.
Optionally, in some embodiments of the present invention, at the second wakeup time, wake up corresponding with the current awake time first apply and with corresponding second the applying of the first wakeup time, comprising:
The current awake time that first applies is changed to the second wakeup time;
The first wakeup time that second applies is changed to the second wakeup time.
In the embodiment of the present invention, at the second wakeup time, wake corresponding with the current awake time first up and apply and the refinement of second applying step corresponding with the first wakeup time, make scheme 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, also comprise:
The duty of sense terminals, wherein, duty comprises busy and idle time;
According to duty, pre-set the time interval, wherein, it is time interval that idle pre-sets in working order that the time interval pre-set for busy is in working order less than.
In the embodiment of the present invention, the duty in conjunction with terminal is arranged wakes strategy up, makes scheme more diversified.
Optionally, in some embodiments of the present invention, also comprise:
According to function or the wakeup frequency of application each in multiple application, each application is classified.
In the embodiment of the present invention, the sorting technique of application is described, makes scheme more have implementation.
For ease of understanding, with a practical application scene, the method that application in the embodiment of the present invention wakes terminal up is described in detail below:
Terminal is described for mobile phone.
User installs multiple application in mobile phone, has fixed point alarm clock, 360 mobile phone cleanings, micro-letter, QQ, popular comment and Baidu's news client.
Determine to have in mobile phone above-mentioned 6 application performing and wake cell-phone function up, and these 6 application are classified, can carry out according to the function applied classifying or wakeup frequency is classified.
Carrying out being categorized as example with the wakeup frequency of application: the wakeup frequency of statistics application, as counted waking up of application, when waking 10 times up, then according to each time difference of waking up, calculating wakeup frequency.As frequency >1 minute, frequency >2 minute, frequency >3 minute, frequency >5 minute.Preferably, for the application of hot topic, adopt the mode of preset list to classify to this application, then carry out aligned configuration, for the application beyond preset list, the wakeup frequency according to this application is classified, and then carries out automatic aligning.
Carry out being categorized as example with the function of application: fixed point alarm clock is alarm clock class, 360 mobile phone cleanings are timing function class, and micro-letter and QQ are instant message class, and popular comment and Baidu's news client are for pushing class.The wakeup time obtaining fixed point alarm clock according to operation and statistics is some every day 8; 360 mobile phones cleanings are every day 5 times, are respectively 8 points, 12 points, 14 points, 18 points, 20 points; Micro-letter is per hourly wake 8 times up, is respectively 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; QQ per hourly wakes 7 times up, is respectively the 2nd minute, the 7th minute, the 20th minute, the 25th minute, the 35th minute, the 40th minute and the 56th minute; Popular point is chosen as some every day 12,18 points; Sina News client is 7 o'clock every days, 11: 30,18 points.
Determine 6 application generic corresponding wake strategy up:
Fixed point alarm clock is alarm clock class, and corresponding wakes strategy up for keeping former wakeup time constant.
360 mobile phone cleanings are timing function class, corresponding wakes strategy up for when within single day, triggering times is not higher than 4 times, keeps former wakeup time constant, when within single day, triggering times is not higher than 5 times, two wakeup times of being separated by nearest are merged, as 12 and 14 are merged into 12 points.
Micro-letter and QQ are instant message class, for this alignment having accuracy requirement, adopt the strategy that aligns forward, and the policing rule that aligns forward is as follows:
First the fastest heartbeat and alignment error are once illustrated, heartbeat and network Heartbeat, for application wakes the action that terminal carries out network connection up.
The fastest heartbeat: strategy certainly will accelerate heartbeat by aliging forward, can not be greatly unconfined so will set heartbeat value, is set to more than 3 minutes.
Alignment error: alignment error with the repetition wakeup time of the shortest time counted at present for benchmark, should should not be greater than 3 minutes in principle, namely wakes 20 times up for benchmark with per hour.
Alignment error is divided into forward error and backward error, forward error can be more greatly, for example for instant message class, forward error can be 1 to 2 minute, backward error wants relative point, it can be 10 to 30 seconds, for the application waken up that circulates, major part does the actions such as network Heartbeat to wake mobile phone up, align backward if adopted, can cause and go offline, and employing is alignd forward, can not have a negative impact, suppose that in mobile phone, there are two wakeup time Alarm is respectively Alarm1:12:30 and Alarm2:12:40, alignment error should not be greater than 3 minutes in principle, if arrange a new wakeup time Alarm3:12:35, the lead time of two Alarm1 and Alarm2 that inquiry system is nearest is all greater than 3 minutes, be greater than alignment error, so cannot align, at this moment can only a newly-built new Alarm3, if arrange a new Alarm4:12:38, it is less than 3 minutes with the gap of Alarm2, and therefore merging Alarm2 and Aarlm4 is same waking up, all wakes up at 12:38, and does not wake up at Alarm2:12:40.
According to the strategy that aligns forward above, obtain the wakeup time of micro-letter between 0 o'clock to 1 o'clock and be respectively " 00:01, 00:06, 00:12, 00:18, 00:25, 00:33, 00:40, 00:50 ", obtain the wakeup time of QQ between 0 o'clock to 1 o'clock and be respectively " 00:02, 00:07, 00:20, 00:25, 00:35, 00:40, 00:56 ", in 0: 1, the current awake time is " 00:01 ", and be less than the wakeup time " 00:02 " for QQ of 3 minute default time difference with the current awake time, the wakeup time " 00:02 " of QQ is changed to " 00:01 ", after processing wakeup time afterwards according to above step, the wakeup time in per hour is the 1st minute, 6th minute, 12nd minute, 18th minute, 25th minute, 33rd minute, 40th minute and the 50th minute, compared with original two methods altogether 12 wakeup times, adopt the two methods after the strategy that aligns forward always to have 8 wakeup times, decrease the number of times that mobile phone wakes up.
It should be noted that, the use that is applied in of micro-letter and this instant message class of QQ is alignd forward while strategy, the duty of comprehensive mobile phone can also carry out wakeup time setting, the duty of mobile phone can be divided into busy and idle time according to the time, such as 8 o'clock to 20 o'clock every day was busy, 20 o'clock to second day 8 be idle, when busy, alignment strategy adopts alignment in 3 minutes forward, when idle, the strategy that aligns forward then adopts alignment in 5 minutes, because when idle, user uses the time of mobile phone obviously to reduce, application does not then need the frequency as busy to wake up mobile phone, the power consumption of mobile phone can be reduced further.
Popular comment and Sina News client are for pushing class, the application pushing class does not affect the functions such as the network connection of mobile phone completely, then wake strategy up and can carry out wakeup time setting according to above-mentioned duty, such as busy wakeup time is constant, and the wakeup time of idle is postponed till busy, therefore, 12 of popular comment and the wakeup time of 18 constant, and the wakeup time of 7 of Sina News client postpones till 8 points, the wakeup time of 11: 30 and 18 is constant.
After according to above 6 application corresponding waking up, strategy carries out arranging of wakeup time, these application wake up mobile phone according to the wakeup time set.
It should be noted that, the classification of application can also have other type, such as mailbox class, game class and weather prompting class etc., can carry out corresponding waking strategy setting up for the application of these types, and wake strategy up and not only comprise the strategy of alignment forward in the present embodiment and carry out the strategy that arranges according to the duty of mobile phone, can also other modes wake strategy up, be not specifically limited.
The application be described above in the embodiment of the present invention wakes the method for terminal up, introduces the terminal in the embodiment of the present invention below, refers to Fig. 2, and an embodiment in the embodiment of the present invention comprises:
First determination module 201, for determining the multiple application performed in the terminal;
Second determination module 202, for determining the classification in multiple application that the first determination module 201 is determined belonging to each application;
3rd determination module 203, corresponding with the classification belonging to each application that the second determination module 202 is determined wakes strategy up for determining, wherein, what the classification belonging to each application was corresponding wake strategy up refers to the strategy waking terminal up;
Execution module 204, for the classification belonging to each application of determining according to the 3rd determination module 203 corresponding wake strategy up, each application is processed.
In the embodiment of the present invention, first determination module 201 determines the multiple application performed in the terminal, second determination module 202 determines the classification in multiple application belonging to each application, 3rd determination module 203 is determined corresponding with the classification belonging to each application to wake strategy up, wherein, what the classification belonging to each application was corresponding wake strategy up refers to the strategy waking terminal up, execution module 204 according to the classification belonging to each application corresponding wake strategy up, each application is processed, in multiple application, each application wakes up terminal according to the wake strategy corresponding with this classification according to classification, therefore, when in multiple application, the classification of some application is identical, just can adopt and identical wake strategy up, compared with prior art, both made to apply and frequently unorderedly can not wake terminal up, reduce the power consumption of terminal, also ensure that effectively completing of application function.
Optionally, as shown in Figure 3, in some embodiments of the present invention, execution module 204 comprises:
Acquiring unit 2041, specifically for obtaining the wakeup time of each application;
Determining unit 2042, specifically for determining the first wakeup time being less than the default time interval with the difference of current awake time;
Performance element 2043, specifically at the second wakeup time, wake up corresponding with the current awake time first apply and with corresponding second the applying of the first wakeup time.
Optionally, as shown in Figure 3, in some embodiments of the present invention,
Performance element 2043, changes to the second wakeup time specifically for the current awake time applied first;
Performance element 2043, changes to the second wakeup time specifically for the first wakeup time applied second.
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 also comprises:
Detection module 301, for the duty of sense terminals, wherein, duty comprises busy and idle time;
Arrange module 302, the duty also for detecting according to detection module, pre-sets the time interval, and wherein, it is time interval that idle pre-sets in working order that the time interval pre-set for busy is in working order less than.
Optionally, as shown in Figure 3, in some embodiments of the present invention, terminal also comprises:
Sort module 303, for according to the function of application each in multiple application or wakeup frequency, classifies to each application.
For ease of understand, below with an embody rule scene to being described in detail alternately between each module of terminal in the embodiment of the present invention:
User installs multiple application in mobile phone, has fixed point alarm clock, 360 mobile phone cleanings, micro-letter, QQ, popular comment and Baidu's news client.
First determination module 201 determines to have above-mentioned 6 application performing arousal function, and sort module 303 is classified to these 6 application, can carry out classifying or wakeup frequency is classified according to the function applied.
Sort module 303 carries out being categorized as example with the wakeup frequency of application: the wakeup frequency of sort module 303 statistics application, as counted waking up of application, when waking 10 times up, then according to each time difference of waking up, calculates wakeup frequency.As frequency >1 minute, frequency >2 minute, frequency >3 minute, frequency >5 minute.Preferably, for the application of hot topic, adopt the mode of preset list to classify to this application, then carry out aligned configuration, for the application beyond preset list, the wakeup frequency according to this application is classified, and then carries out automatic aligning.
Sort module 303 carries out being categorized as example with the function of application: fixed point alarm clock is alarm clock class, and 360 mobile phone cleanings are timing function class, and micro-letter and QQ are instant message class, and popular comment and Baidu's news client are for pushing class.The wakeup time obtaining fixed point alarm clock according to operation and statistics is some every day 8; 360 mobile phones cleanings are every day 5 times, are respectively 8 points, 12 points, 14 points, 18 points, 20 points; Micro-letter is per hourly wake 8 times up, is respectively 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; QQ per hourly wakes 7 times up, is respectively the 2nd minute, the 7th minute, the 20th minute, the 25th minute, the 35th minute, the 40th minute and the 56th minute; Popular point is chosen as some every day 12,18 points; Sina News client is 7 o'clock every days, 11: 30,18 points.
After second determination module 202 determines the applicating category that sort module 303 has been classified, the 3rd determination module 203 determine 6 application generic corresponding wake strategy up:
Fixed point alarm clock is alarm clock class, and corresponding wakes strategy up for keeping former wakeup time constant.
360 mobile phone cleanings are timing function class, corresponding wakes strategy up for when within single day, triggering times is not higher than 4 times, keeps former wakeup time constant, when within single day, triggering times is not higher than 5 times, two wakeup times of being separated by nearest merge, as 12 and 14 are merged into 12 points by execution module 204.
Micro-letter and QQ are instant message class, for this alignment having accuracy requirement, adopt the strategy that aligns forward, and the policing rule that aligns forward is as follows:
First the fastest heartbeat and alignment error are once illustrated, heartbeat and network Heartbeat, for application wakes the action that terminal carries out network connection up.
The fastest heartbeat: strategy certainly will accelerate heartbeat by aliging forward, can not be greatly unconfined so will set heartbeat value, is set to more than 3 minutes.
Alignment error: alignment error with the repetition wakeup time of the shortest time counted at present for benchmark, should should not be greater than 3 minutes in principle, namely wakes 20 times up for benchmark with per hour.
Alignment error is divided into forward error and backward error, forward error can be more greatly, for example for instant message class, forward error can be 1 to 2 minute, backward error wants relative point, it can be 10 to 30 seconds, for the application waken up that circulates, major part does the actions such as network Heartbeat to wake mobile phone up, align backward if adopted, can cause and go offline, and employing is alignd forward, can not have a negative impact, suppose that having there are two wakeup time Alarm is in systems in which respectively Alarm1:12:30 and Alarm2:12:40, the error principle of alignment should not be greater than 3 minutes, if arrange a new wakeup time Alarm3:12:35, the lead time of two Alarm1 and Alarm2 that inquiry system is nearest is all greater than 3 minutes, be greater than alignment error, so cannot align, at this moment can only a newly-built new Alarm3, if arrange a new Alarm4:12:38, it is less than 3 minutes with the gap of Alarm2, therefore merging Alarm2 and Aarlm4 is same waking up, all wake up at 12:38, and do not wake up at Alarm2:12:40.
According to the strategy that aligns forward above, acquiring unit 2041 obtains the wakeup time of micro-letter between 0 o'clock to 1 o'clock and is respectively " 00:01, 00:06, 00:12, 00:18, 00:25, 00:33, 00:40, 00:50 ", acquiring unit 2041 obtains the wakeup time of QQ between 0 o'clock to 1 o'clock and is respectively " 00:02, 00:07, 00:20, 00:25, 00:35, 00:40, 00:56 ", in 0: 1, determining unit 2042 determines that the current awake time is for " 00:01 ", and be less than the wakeup time " 00:02 " for QQ of 3 minute default time difference with the current awake time, the wakeup time " 00:02 " of QQ is changed to " 00:01 " by performance element 2043, after processing wakeup time afterwards according to above step, and the wakeup time in per hour is the 1st minute, 6th minute, 12nd minute, 18th minute, 25th minute, 33rd minute, 40th minute and the 50th minute, compared with original two methods altogether 12 wakeup times, adopt the two methods after the strategy that aligns forward always to have 8 wakeup times, decrease the number of times that mobile phone wakes up.
It should be noted that, the use that is applied in of micro-letter and this instant message class of QQ is alignd forward while strategy, the duty of comprehensive mobile phone can also carry out wakeup time setting, the duty of mobile phone can be divided into busy and idle time according to the time, such as 8 o'clock to 20 o'clock every day was busy, 20 o'clock to second day 8 be idle, time detection module 301 detects that mobile phone is in busy, the duty arranging the mobile phone that module 302 detects according to detection module 301 is busy, adopt alignment in 3 minutes, time detection module 301 detects that mobile phone is in idle, the duty arranging the mobile phone that module 302 detects according to detection module 301 is idle, adopt alignment in 5 minutes, because when idle, user uses the time of mobile phone obviously to reduce, application does not then need the frequency as busy to wake up mobile phone, the power consumption of mobile phone can be reduced further.
Popular comment and Sina News client are for pushing class, the application pushing class does not affect the functions such as the network connection of mobile phone completely, then wake strategy up and can carry out wakeup time setting according to above-mentioned duty, such as busy wakeup time is constant, and the wakeup time of idle is postponed till busy, therefore, execution module 204 is commented on the corresponding strategy that wakes up according to masses and is processed, the wakeup time obtaining and at 12 at 18 is constant, and the wakeup time of 7 of Sina News client postpones till 8 points, the wakeup time of 11: 30 and 18 is constant.
After according to above 6 application corresponding waking up, strategy carries out arranging of wakeup time, these application wake up mobile phone according to the wakeup time set.
It should be noted that, the classification of application can also have other type, such as mailbox class, game class and weather prompting class etc., can carry out corresponding waking strategy setting up for the application of these types, and wake strategy up and not only comprise the strategy of alignment forward in the present embodiment and carry out the strategy that arranges according to the duty of mobile phone, can also other modes wake strategy up, be not specifically limited.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

1. application wakes a method for terminal up, it is characterized in that, comprising:
Determine the multiple application performed in the terminal;
Determine the classification belonging to each application in described multiple application;
Determine corresponding with the classification belonging to described each application to wake strategy up, wherein, what the classification belonging to described each application was corresponding wake strategy up refers to the strategy waking described terminal up;
According to the classification belonging to described each application corresponding wake strategy up, described each application is processed.
2. method according to claim 1, is characterized in that, described according to the classification belonging to described each application corresponding wake strategy up, described each application is processed, comprising:
Obtain the wakeup time of described each application;
Determine the first wakeup time being less than the default time interval with the difference of current awake time;
At the second wakeup time, wake up corresponding with the described current awake time first apply and with corresponding second the applying of described first wakeup time.
3. method according to claim 2, is characterized in that, described at the second wakeup time, wake up corresponding with the described current awake time first apply and with corresponding second the applying of described first wakeup time, comprising:
The current awake time of described first application is changed to described second wakeup time;
First wakeup time of described second application is changed to described second wakeup time.
4. method according to claim 2, is characterized in that, described second wakeup time is described current awake time or described first wakeup time.
5. the method according to any one of claim 2 to 4, is characterized in that, described method also comprises:
Detect the duty of described terminal, wherein, described duty comprises busy and idle time;
According to described duty, pre-set the described time interval, wherein, it is time interval that idle pre-sets in working order that the time interval pre-set for busy is in working order less than.
6. the method according to any one of claim 1 to 5, is characterized in that, described method also comprises:
According to function or the wakeup frequency of each application in described multiple application, described each application is classified.
7. a terminal, is characterized in that, comprising:
First determination module, for determining the multiple application performed in the terminal;
Second determination module, for determining the classification in described multiple application belonging to each application;
3rd determination module, corresponding with the classification belonging to described each application wakes strategy up for determining, wherein, what the classification belonging to described each application was corresponding wake strategy up refers to the strategy waking described terminal up;
Execution module, for according to the classification belonging to described each application corresponding wake strategy up, described each application is processed.
8. terminal according to claim 7, is characterized in that, described execution module comprises:
Acquiring unit, for obtaining the wakeup time of described each application;
Determining unit, for determining the first wakeup time being less than the default time interval with the difference of current awake time;
Performance element, at the second wakeup time, wake up corresponding with the described current awake time first apply and with corresponding second the applying of described first wakeup time.
9. terminal according to claim 8, is characterized in that,
Described performance element, specifically for changing to described second wakeup time by the current awake time of described first application;
And the first wakeup time of described second application is changed to described second wakeup time.
10. terminal according to claim 8, is characterized in that, described second wakeup time is described current awake time or described first wakeup time.
Terminal described in 11. any one of according to Claim 8 to 10, it is characterized in that, described terminal also comprises:
Detection module, for detecting the duty of described terminal, wherein, described duty comprises busy and idle time;
Arrange module, for the duty detected according to described detection module, pre-set the described time interval, wherein, it is time interval that idle pre-sets in working order that the time interval pre-set for busy is in working order less than.
12. terminals according to any one of claim 7 to 11, it is characterized in that, described terminal also comprises:
Sort module, for according to the function of each application in described multiple application or wakeup frequency, classifies to described each application.
CN201510819300.7A 2015-11-20 2015-11-20 A kind of application wakes up the method and terminal of terminal Active CN105487855B (en)

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 true CN105487855A (en) 2016-04-13
CN105487855B 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)

Cited By (11)

* Cited by examiner, † Cited by third party
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
CN106959857A (en) * 2017-03-29 2017-07-18 联想(北京)有限公司 The application control method and apparatus of a kind of electronic equipment
CN106961471A (en) * 2017-03-03 2017-07-18 上海谱翱数据科技有限公司 Node apparatus and Internet of Things communication subsystem
CN107277902A (en) * 2017-06-19 2017-10-20 努比亚技术有限公司 Terminal power consumption control method, mobile terminal and computer-readable recording medium
CN110687998A (en) * 2019-09-18 2020-01-14 华为技术有限公司 Application management method and device
CN113238804A (en) * 2021-05-17 2021-08-10 深圳掌酷软件有限公司 System and method for awakening designated application based on intelligent terminal screen-on-state
CN113467920A (en) * 2021-07-20 2021-10-01 深圳市柔宇科技股份有限公司 Timing task management method, terminal device and readable storage medium
CN116132203A (en) * 2023-02-02 2023-05-16 卧安科技(深圳)有限公司 Equipment wakeup control method of intelligent home scene, internet of things equipment and system

Citations (3)

* Cited by examiner, † Cited by third party
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
US20150121383A1 (en) * 2013-01-25 2015-04-30 Huawei Device Co., Ltd. Application Heartbeat Period Adjusting Method and Apparatus, and Terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150121383A1 (en) * 2013-01-25 2015-04-30 Huawei Device Co., Ltd. Application Heartbeat Period Adjusting Method and Apparatus, and Terminal
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

Cited By (14)

* Cited by examiner, † Cited by third party
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
CN106959857A (en) * 2017-03-29 2017-07-18 联想(北京)有限公司 The application control method and apparatus of a kind of electronic equipment
CN107277902A (en) * 2017-06-19 2017-10-20 努比亚技术有限公司 Terminal power consumption control method, mobile terminal and computer-readable recording medium
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
WO2021052410A1 (en) * 2019-09-18 2021-03-25 华为技术有限公司 Application management method and apparatus
CN113238804A (en) * 2021-05-17 2021-08-10 深圳掌酷软件有限公司 System and method for awakening designated application based on intelligent terminal screen-on-state
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
CN116132203A (en) * 2023-02-02 2023-05-16 卧安科技(深圳)有限公司 Equipment wakeup control method of intelligent home scene, internet of things equipment and system

Also Published As

Publication number Publication date
CN105487855B (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN105487855A (en) Method for awakening terminal by applications and terminal
EP3502880B1 (en) Method for preloading application, storage medium, and terminal device
US10057856B2 (en) Wake-up control method and apparatus, and terminal device
CN113131565A (en) Charging method and terminal
CN103235686A (en) Application management method and device
CN106168902A (en) Awakening control method, device and equipment
CN108509225B (en) Information processing method and electronic equipment
CN106139536A (en) A kind of based reminding method and device
CN104580721A (en) Alarm clock implementation method for terminal
US20170178011A1 (en) User pattern recognition and prediction system for wearables
CN105320263A (en) Reminding method for wearable device and wearable device
CN104219747B (en) Method, device and terminal for adjusting wake-up time according to electric quantity information
CN104169862A (en) Information processing method and terminal equipment
CN106020962A (en) Progress control method and terminal equipment
WO2019218977A1 (en) Account clearing and reconciliation method, apparatus, and computer device
CN105657656A (en) Transmission power adjustment method and user equipment
CN106055455A (en) Anti-interference method and device for key
CN105516510A (en) Mobile terminal awakening method and device
CN109982355A (en) It is preserved and recovered the method and device thereof, terminal and storage medium of network path
CN104052861B (en) A kind of terminal and its awakening method
CN106055404B (en) Method and device for cleaning background application program
CN112767935B (en) Awakening index monitoring method and device and electronic equipment
CN105260006A (en) Method and apparatus for prolonging standby time of intelligent device
CN110489177B (en) Application control method and device, storage medium and terminal equipment
CN105354491B (en) Intelligent terminal standby state detection method and device

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