CN105955444A - Aligned wakeup method and apparatus - Google Patents
Aligned wakeup method and apparatus Download PDFInfo
- Publication number
- CN105955444A CN105955444A CN201610260784.0A CN201610260784A CN105955444A CN 105955444 A CN105955444 A CN 105955444A CN 201610260784 A CN201610260784 A CN 201610260784A CN 105955444 A CN105955444 A CN 105955444A
- Authority
- CN
- China
- Prior art keywords
- wake
- intervalometer
- application program
- wakes
- abnormal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
-
- 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/46—Multiprogramming arrangements
- G06F9/461—Saving or restoring of program or task context
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Electric Clocks (AREA)
Abstract
The invention relates to an aligned wakeup method and apparatus. The aligned wakeup method comprises the following steps of detecting a timer wakeup state of each application after a standby state; judging whether the timer wakeup state of the application is abnormal or not according to the detected timer wakeup state of each application; if the timer wakeup state is normal, waking up a system according to timer wakeup time to run the application; if the timer wakeup state is abnormal, setting timer wakeup time of all applications in abnormal timer wakeup states as fixed time after the standby state; and waking up the system at the moment of the fixed time to run the applications in the abnormal timer wakeup states. According to the aligned wakeup method, the standby power of a terminal can be well saved, so that the power-saving effect is achieved; and information can be ensured to be transmitted in time, so that intelligent background management is realized. In addition, the invention proposes the aligned wakeup apparatus.
Description
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of alignment awakening method and device.
Background technology
Along with the development of terminal technology, various intelligent operating systems both provide intervalometer and wake up mechanism up.In order to
Avoid that different application is numerous and diverse unordered wakes up terminal system up, increase the stand-by power consumption of terminal, propose in recent years
Alignment wakes up mechanism up.At present, it is all to postpone determining of each application program that commonly used alignment wakes up scheme up
Time device wakeup time, then concentrate all intervalometers to time point to carry out triggering terminal system, by adjust
The intervalometer wakeup time of each application program, makes the intervalometer alignment of each application program wake up terminal system up, with
The effect of power saving when reaching standby.But, this kind of scheme can mislead some normal application program intervalometers of cause
System can not be waken up on time up, the application of less intervalometer wake-up times is set after standby especially for some
Program can not triggered as normal.
Summary of the invention
Based on this, it is necessary to for conventional alignment wake up up mechanism existence can not wake up normal timer on time up
Problem, it is provided that a kind of alignment awakening method and device.
A kind of alignment awakening method, comprises the following steps:
After standby, detect the intervalometer wake-up states of each application program;
Intervalometer wake-up states according to each application program detected judges whether application program intervalometer wakes up up
Exist abnormal;
If intervalometer wakes up up normally, then wake up system up by intervalometer wakeup time, run application program;
If intervalometer wakes up exception up up, then all intervalometers are waken up the intervalometer wakeup time of abnormal application program
It is set to the standby rear set time;
Moment point in the described set time wakes up system up, runs each intervalometer and wakes up abnormal application program up.
Wherein in an embodiment, in the intervalometer wake-up states step of each application program of described detection,
Described intervalometer wake-up states is included in intervalometer in Preset Time and wakes up the wake-up times of system up.
Wherein in an embodiment, the intervalometer wake-up states of each application program that described basis detects is sentenced
Disconnected intervalometer wakes up up and whether there is abnormal step and comprise the following steps:
The type judging application program is timing wake-up program or non-timed wake up procedure;
If application program is timing wake-up program, then in the Preset Time that will detect, intervalometer wakes up system up
Wake-up times compares with the first preset timer wake-up times set in advance, if timing in Preset Time
The wake-up times of device is more than or equal to described first preset timer wake-up times, then this application program is timing
Device wakes up abnormal application program up;If the wake-up times of intervalometer is called out less than the first preset timer in Preset Time
Awake number of times, this application program is that intervalometer wakes up normal application up;
If application program is non-timed wake up procedure, then in the Preset Time that will detect, intervalometer wakes up system up
Wake-up times compare, if Preset Time is decided at the higher level but not officially announced with the second preset timer wake-up times set in advance
Time device wake-up times more than or equal to described second preset timer wake-up times, the most described application program is
Intervalometer wakes up abnormal application program up;If the wake-up times of intervalometer is presetting less than second in Preset Time
Device wake-up times, described application program is that intervalometer wakes up normal application up.
Wherein in an embodiment, at the intervalometer wake-up states of each application program that described basis detects
Judge that application program intervalometer wakes up up whether to exist in abnormal step to comprise the following steps: if detecting certain application
The intervalometer wake-up states failure of program, the most described application program is that intervalometer wakes up abnormal application program up.
Wherein in an embodiment, wake up system described up in described set time moment point, run each
Before the step that intervalometer wakes up abnormal application program up further comprising the steps of: once wake up end up extremely upper
In time interval before next time waking up up, take over each intervalometer by background process and wake up abnormal application program up
Announcement information.
A kind of alignment Rouser, including:
Wake-up states detection module, in order to detect the intervalometer wake-up states of each application program;
Wake up abnormal judge module up, judge in order to the intervalometer wake-up states according to each application program detected
Application program intervalometer wakes up whether there is exception up;
Alignment wake module, sets in order to all intervalometers to wake up up the intervalometer wakeup time of abnormal application program
It is set to the standby rear set time;And,
Wake-up trigger module, in order to wake up system up, runs application program.
Wherein in an embodiment, described wake-up states detection module is in order to detect intervalometer in Preset Time
Wake up the wake-up times of system up.
Wherein in an embodiment, described in wake up abnormal judge module up and include:
Application Type judges submodule, in order to judge that the type of application program is timing wake-up program or non-
Timing wake-up program;
Sub module stored, presetting in order to store Preset Time, the first preset timer wake-up times and second
Time device wake-up times;
Whether first wakes up exception up judges submodule, exist in order to judge that the intervalometer of timing wake-up program wakes up up
Abnormal, if application program is timing wake-up program, described first wakes up up and abnormal judges that submodule will detect
In Preset Time intervalometer wake up up the wake-up times of system with the first preset timer wake-up times compare
Relatively, if the wake-up times of intervalometer is more than or equal to described first preset timer wake-up times in Preset Time,
Then this application program is that intervalometer wakes up abnormal application program up;If the wake-up times of intervalometer is little in Preset Time
In the first preset timer wake-up times, this application program is that intervalometer wakes up normal application up;
Whether second wakes up exception up judges submodule, deposit in order to judge that the intervalometer of non-timed wake up procedure wakes up up
In exception, if application program is non-timed wake up procedure, described second wakes up exception up judges that submodule will detection
To Preset Time in intervalometer wake up the wake-up times of system up and compare with the second preset timer wake-up times
Relatively, if the wake-up times of intervalometer is more than or equal to described second preset timer wake-up times in Preset Time,
The most described application program is that intervalometer wakes up abnormal application program up;If the wake-up times of intervalometer in Preset Time
Less than the second preset timer wake-up times, described application program is that intervalometer wakes up normal application up.
Wherein in an embodiment, described in wake up abnormal judge module up and include:
Wake-up states statistics submodule, wakes up waking up up of system up in order to intervalometer in detecting and add up Preset Time
State, if the intervalometer wake-up states success of detection application program, the most described wake-up states detection sub-module is united
In meter Preset Time, intervalometer wakes up the wake-up times of system up;If the intervalometer detecting certain application program wakes up shape up
State failure, it is that intervalometer wakes up abnormal application journey up that the most described wake-up states detection sub-module defines this application program
Sequence.
Wherein in an embodiment, described alignment wakes up system up and also includes that announcement information manages module, in order to
Upper once wake up up terminate on once wake up up before time interval in, take over each intervalometer by background process
Wake up the announcement information of abnormal application program up.
Above-mentioned alignment awakening method and device, call out the application program arranging too much intervalometer wake-up times
Awake delay disposal, the application program waking up normal timer up does not do delay process, it is achieved that to each application journey
The aimed management of the intervalometer wake-up times of sequence, both ensure that arranging normal application program can call out on time
The system of waking up, it is ensured that information is sent in time, achieving again aligns to the application program arranging frequent wake-up times calls out
Wake up, it is possible to save terminal standby power consumption well, reach the effect of power saving, it is achieved background intelligent management.
Accompanying drawing explanation
Fig. 1 is the process principle figure of awakening method of aliging in an embodiment;
Fig. 2 is to judge in an embodiment that intervalometer wakes up up whether to there is abnormal process principle figure;
Fig. 3 is the structure principle chart of Rouser of aliging in an embodiment;
Fig. 4 is the structure principle chart waking up abnormal judge module in an embodiment up.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality
Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein
Only in order to explain the present invention, it is not intended to limit the present invention.
Refer to Fig. 1, a kind of alignment awakening method and system, comprise the following steps:
Step 102: after standby, detects the intervalometer wake-up states of each application program.
Concrete, in the present embodiment, after intervalometer wake-up states is the most standby, each application program is at Preset Time
The wake-up times of interior timing wake-up system.
Step 104: judge application program intervalometer according to the intervalometer wake-up states of each application program detected
Wake up up and whether there is exception.
The purpose waken up up of really aliging is to reach power saving effect, and terminal power consumption is too much mainly due to certain
A little application frequently arrange multiple timing device, and to wake up the number of times being waken up so that terminal time standby up too much caused.Therefore,
The number of times of each application program detected timing wake-up system within the predetermined time is classified, if should
Number of times by program invocation system is less, then application program is divided into intervalometer and wakes up normal application up,
Perform step 106;If the number of times of the system that wakes up up of this application program is too much, then it is fixed to be divided into by application program
Time device wake up abnormal application program up, perform step 108.
Step 106: if intervalometer wakes up up normally, then wake up system up by intervalometer wakeup time, runs application journey
Sequence.
In order to avoid occur due to some arrange the application program of less intervalometer wake-up times after standby can not
(e.g., normal application only arranges an intervalometer and wakes up up triggered as normal, but is also delayed by.) meet with
To complain phenomenon, normal application program is waken up up for intervalometer and does not do delay process, application program according to
Intervalometer wakeup time normal wakeup system, by background process sending out notice information, runs application program.
In the present embodiment, by background process sending out notice information.Concrete, according to the genus of application program
Property information, in system, set up corresponding background service process, by background service process set up with should
With the communication linkage between the server belonging to program.
Step 108: if intervalometer wakes up exception up, then wake up the intervalometer of abnormal application program up by all intervalometers
Wakeup time is set to the standby rear set time.
The system that application program frequently wakes up up can cause power consumption too much, wakes up abnormal application program up for intervalometer,
It is not responding to intervalometer and wakes up the operation of correspondence up, and force to arrange time of the subsequent response that intervalometer wakes up up and be
Set time after standby, all intervalometers are waken up up abnormal application program and is all deferred to the set time and wakes up up and be
System, does alignment and wakes up process up.
The duration of set time can the most specifically be arranged, such as, can be 30 minutes, and 1 is little
Time, 2 hours etc., consider and can take into account arriving in time of energy saving standby and announcement information simultaneously.Separately
Outward, it is also possible to combine the routine use situation of user, comprehensively analyze by certain distribution situation and draw and be suitable for
The set time of user habit.
Step 110: the moment point in the set time wakes up system up, runs each intervalometer and wakes up abnormal application journey up
Sequence.
In the present embodiment, by background process sending out notice information, run application program.According to application program
Attribute information, in system, set up corresponding background service process, set up by background service process
And the communication linkage between the server belonging to application program.
Concrete, when system time runs to set time moment point, all intervalometers being delayed by wake up up
Abnormal application program wakes up system up in this moment simultaneously, and background process pushes each intervalometer and wakes up abnormal application journey up
The announcement information of sequence, run timing device wakes up abnormal application program up.When again running to fix next time
Between time punctum time, system is waken up up again, now, background process push arrive in the upper moment point that once wakes up up
This wakes up each intervalometer in the time interval of moment point up and wakes up the announcement information of abnormal application program up, and it is fixed to run
Time device wake up abnormal application program up.
In the present embodiment, above-mentioned alignment awakening method prolongs arranging should being used as of too much intervalometer wake-up times
Processing late, delay process is not done in the application waking up normal timer up, it is achieved that call out the intervalometer of each application
The aimed management of awake number of times, both ensure that arranging normal application can wake up up on time, achieved again setting
The application program alignment putting frequent wake-up times wakes up up, it is possible to saves terminal standby power consumption well, reaches province
The effect of electricity, and the information that is effectively ensured sends in time, it is achieved that background intelligent management.
In one embodiment, in the intervalometer wake-up states step detecting each application program, intervalometer is called out
Awake state is included in intervalometer in Preset Time and wakes up the wake-up times of system up.
Concrete, above-mentioned Preset Time is set to 10 minutes~60 minutes, in a preferred embodiment,
Preset Time is 30 minutes.The length of Preset Time needs to detect from standby power consumption amount and intervalometer wake-up states
From the standpoint of accuracy two, if Preset Time is too short, can cause detecting not comprehensive, on the one hand may be relatively
Detect in the short time that the intervalometer wake-up times of each application program is the most less, disturb follow-up intervalometer to wake up up
Abnormal judgement;On the other hand, it is also possible to occur that the intervalometer of some program does not has enough time to wake up up and detect
Just finish, cause detection to omit, affect the accuracy of intervalometer wake-up states.During accordingly, it would be desirable to arrange
Long suitable Preset Time, the Preset Time duration in the present embodiment can either meet saves standby power consumption amount
Requirement, it is also possible to the accuracy of intervalometer wake-up states detection is effectively ensured.
As in figure 2 it is shown, in one embodiment, shape is waken up up according to the intervalometer of each application program detected
State judges that intervalometer wakes up up and whether there is abnormal step and comprise the following steps:
104a: the type judging application program is timing wake-up program or non-timed wake up procedure.
Concrete, application program includes that timing wake-up program and non-customized wake up procedure two types, timing are called out
The time timing wake-up system that the application program waken up can set according to intervalometer, the application program that the non-timed wakes up up
The time waking up system up is not fixing, many times may the system that wake up up (such as wechat) of instantaneity,
Wake up the application program of type for difference up, need to arrange different abnormal Rule of judgment, to ensure intervalometer
The promptness waken up up.
104b: if application program is timing wake-up program, then in the Preset Time that will detect, intervalometer wakes up up
The wake-up times of system compares with the first preset timer wake-up times set in advance, if Preset Time
The wake-up times of interior intervalometer is more than or equal to the first preset timer wake-up times, then this application program is fixed
Time device wake up abnormal application program up;Otherwise, if the wake-up times of intervalometer is preset less than first in Preset Time
Intervalometer wake-up times, this application program is that intervalometer wakes up normal application up.
Concrete, the first above-mentioned preset timer wake-up times is 3 times~5 times, a preferred embodiment
In, the first preset timer wake-up times is 4 times.As, execute in example at one, if be detected that certain timing
Wake up application program up in 30 minutes, to wake up system up reach 4 times, then when the intervalometer to this application program wakes up up
Between do delay disposal, adjusting intervalometer wakeup time is the set time.
104c: if application program is non-timed wake up procedure, then in the Preset Time that will detect, intervalometer is called out
The wake-up times of the system of waking up compares with the second preset timer wake-up times set in advance, if preset
The wake-up times of interior intervalometer is more than or equal to the second preset timer wake-up times, then this application program is
Intervalometer wakes up abnormal application program up;Otherwise, if the wake-up times of intervalometer is pre-less than second in Preset Time
If intervalometer wake-up times, this application program is that intervalometer wakes up normal application up.
Concrete, the second above-mentioned preset timer wake-up times is 6 times~9 times, a preferred embodiment
In, the second preset timer wake-up times is 7 times.As, execute in example at one, if be detected that certain is non-fixed
Time wake up application program up and in 30 minutes, wake up system up reach 7 times, then the intervalometer of this application program is waken up up
Time does delay disposal, and adjusting intervalometer wakeup time is the set time.
In the present embodiment, different exceptions is provided with for timing wake-up program and non-timed wake up procedure to sentence
Broken strip part, owing to the wakeup time of non-timed wake up procedure is not fixed, and, most of non-timed wake up journey up
The announcement information of sequence mostly is instantaneity information, the promptness sent to for guarantee information, arrange second presetting time
Device wake-up times is more than the first preset timer wake-up times.Meanwhile, the present embodiment all enters after the most standby
Row intervalometer wakes up abnormal judgement up, it is possible to is effectively ensured and accurately detects non-timed wake up procedure the most standby
Time intervalometer wake-up times such that it is able to make optimal alignment for the most standby real-time condition and call out
Awake scheme.
In one embodiment, wake up system up in the above-mentioned moment point in the set time, run each intervalometer
Before waking up the step of abnormal application program up further comprising the steps of: upper once wake up up end on once
In time interval before waking up up, take over each intervalometer by background process and wake up the notice letter of abnormal application program up
Breath.
Such as, the set time is set to the fixing duration of 30 minutes, then in the interval of 30 minutes, all
Received intervalometer wakes up the announcement information of abnormal application program up and all transfers to background process to take over.Concrete,
System determines resource requirement according to the announcement information demand of application program, for the backstage clothes corresponding with application program
The memory headroom that business course allocation is fixing, presets corresponding spatial cache storage notice according to described memory headroom
Information.In one embodiment, background service process also carries out arrangement and the null clear operation of memory headroom, when
The application program moment point in the set time wakes up system up, after background process sending out notice information, and backstage
Process arranges memory headroom, and empties spatial cache.
In one embodiment, application is judged at the intervalometer wake-up states according to each application program detected
Program timer wake up up whether exist in abnormal step further comprising the steps of: if detecting certain application program
The failure of intervalometer wake-up states, then this application program is that intervalometer wakes up abnormal application program up.
Different application programs, the compiling mode used and compiling rule are different, and application program
Running is also possible to operation exception situation occur, certain application cannot be gathered accordingly, it is possible to there will be
The situation of the wakeup time of program, in the present embodiment, if the intervalometer wake-up states detecting certain application program loses
Lose, then this application program is divided into intervalometer and wakes up abnormal application program up, by the intervalometer of this application program
Wakeup time is set to the set time.
In one embodiment, further comprising the steps of between above-mentioned step 108 and step 110:
When not arriving set time moment point, user terminates standby, and all application programs being delayed by terminate delay and wake up up,
Send announcement information.
If the user while terminate standby when not arriving set time moment point in advance, then all be delayed to
The application program that set time moment point wakes up up all sends announcement information in standby finish time, runs application journey
Sequence, sends in time with guarantee information.
As it is shown on figure 3, it is the structure principle chart that in an embodiment, alignment wakes up system up.
A kind of alignment Rouser, including:
Wake-up states detection module 302, in order to detect the intervalometer wake-up states of each application program.
Wake up abnormal judge module 304 up, in order to sentence according to the intervalometer wake-up states of each application program detected
Disconnected application program intervalometer wakes up whether there is exception up.
Alignment wake module 306, in order to wake up the intervalometer wakeup time of abnormal application program up by all intervalometers
It is set to the standby rear set time.
Wake-up trigger module 308, in order to wake up system up, runs application program.
In one embodiment, wake-up states detection module 302 wakes up up in order to intervalometer in detecting Preset Time
The wake-up times of system.
In one embodiment, wake up abnormal judge module 304 up and include: Application Type judges submodule,
In order to judge that the type of application program is timing wake-up program or non-timed wake up procedure.Sub module stored, uses
With storage Preset Time, the first preset timer wake-up times and the second preset timer wake-up times.First
Wake up up and extremely judge submodule, whether there is exception in order to judge that the intervalometer of timing wake-up program wakes up up, if
Application program is timing wake-up program, and described first wakes up exception up judges the Preset Time that submodule will detect
Interior intervalometer wake up up the wake-up times of system with the first preset timer wake-up times compare, if presetting
In time, the wake-up times of intervalometer is more than or equal to described first preset timer wake-up times, then this application
Program is that intervalometer wakes up abnormal application program up;If the wake-up times of intervalometer is pre-less than first in Preset Time
If intervalometer wake-up times, this application program is that intervalometer wakes up normal application up.Second wakes up exception up sentences
Whether disconnected submodule, exist exception in order to judge that the intervalometer of non-timed wake up procedure wakes up up, if application program
For non-timed wake up procedure, described second wakes up exception up judges timing in the Preset Time that submodule will detect
Device wakes up the wake-up times of system up and compares with the second preset timer wake-up times, if Preset Time is decided at the higher level but not officially announced
Time device wake-up times more than or equal to described second preset timer wake-up times, the most described application program is
Intervalometer wakes up abnormal application program up;If the wake-up times of intervalometer is presetting less than second in Preset Time
Device wake-up times, described application program is that intervalometer wakes up normal application up.
In one embodiment, wake up abnormal judge module 304 up and also include that wake-up states adds up submodule, call out
Statistic submodule of waking up wakes up the wake-up states of system up in order to detect and to add up intervalometer in Preset Time, if
The intervalometer wake-up states success of detection application program, when the most described wake-up states detection sub-module statistics is preset
Interior intervalometer wakes up the wake-up times of system up;If detecting the intervalometer wake-up states failure of certain application program,
It is that intervalometer wakes up abnormal application program up that the most described wake-up states detection sub-module defines this application program.
Enumerate preferred embodiment below in conjunction with accompanying drawing the above-mentioned abnormal judge module 304 that wakes up up is carried out specifically
Bright.As shown in Figure 4, in one embodiment, the above-mentioned abnormal judge module 304 that wakes up up includes:
Application Type judges submodule 304a, in order to judge that the type of application program is timing wake-up program
Or non-timed wake up procedure.
Sub module stored 304b, pre-in order to store Preset Time, the first preset timer wake-up times and second
If intervalometer wake-up times.
Concrete, Preset Time is set to 10 minutes~60 minutes, in a preferred embodiment, when presetting
Between be 30 minutes.First preset timer wake-up times is 3 times~5 times, in a preferred embodiment, the
One preset timer wake-up times is 4 times.Second preset timer wake-up times is 6 times~9 times, at one
In preferred embodiment, the second preset timer wake-up times is 7 times.
Wake-up states statistics submodule 304c, wakes up system up in order to intervalometer in detecting and add up Preset Time
Wake-up states.
Concrete, in wake-up states detection sub-module 304c detects and add up 30 minutes, intervalometer wakes up system up
Wake-up times.If the intervalometer wake-up states success of detection application program, then intervalometer in adding up 30 minutes
Wake up the wake-up times of system up;If detecting the intervalometer wake-up states failure of certain application program, then definition should
It is that intervalometer wakes up abnormal application program up by program.
First wakes up exception up judges submodule 304d, in order to judge whether the intervalometer of timing wake-up program wakes up up
Exist abnormal.
Concrete, first wakes up exception up judges that wake-up states detection sub-module 304c is detected by submodule 304d
To 30 minutes in the intervalometer of timing wake up procedure to wake up the wake-up times of system up first pre-with set in advance
If intervalometer wake-up times compares, if the wake-up times of intervalometer is more than or equal to 4 times in 30 minutes,
Then this application program is that intervalometer wakes up abnormal application program up;If the wake-up times of intervalometer is less than in 30 minutes
4 times, this application program is that intervalometer wakes up normal application up.
Second wakes up exception up judges submodule 304e, in order to judge that the intervalometer of non-timed wake up procedure wakes up up is
No existence is abnormal.
Concrete, second wakes up exception up judges that wake-up states detection sub-module 304c is detected by submodule 304e
30 minutes in the intervalometer of non-timed wake up procedure to wake up the wake-up times of system up second pre-with set in advance
If intervalometer wake-up times compares, if the wake-up times of intervalometer is more than or equal to 7 times in 30 minutes,
Then application program is that intervalometer wakes up abnormal application program up;If the wake-up times of intervalometer is less than 7 in 30 minutes
Secondary, application program is that intervalometer wakes up normal application up.
In one embodiment, above-mentioned alignment Rouser also includes: announcement information management module, in order to
Upper once wake up up terminate on once wake up up before time interval in, take over each intervalometer by background process
Wake up the announcement information of abnormal application program up.
Each technical characteristic of embodiment described above can combine arbitrarily, for making description succinct, the most right
The all possible combination of each technical characteristic in above-described embodiment is all described, but, if these skills
There is not contradiction in the combination of art feature, is all considered to be the scope that this specification is recorded.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed,
But can not therefore be construed as limiting the scope of the patent.It should be pointed out that, for this area
For those of ordinary skill, without departing from the inventive concept of the premise, it is also possible to make some deformation and change
Entering, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be with appended power
Profit requires to be as the criterion.
Claims (10)
1. an alignment awakening method, it is characterised in that comprise the following steps:
After standby, detect the intervalometer wake-up states of each application program;
Intervalometer wake-up states according to each application program detected judges whether application program intervalometer wakes up up
Exist abnormal;
If intervalometer wakes up up normally, then wake up system up by intervalometer wakeup time, run application program;
If intervalometer wakes up exception up up, then all intervalometers are waken up the intervalometer wakeup time of abnormal application program
It is set to the standby rear set time;
Moment point in the described set time wakes up system up, runs each intervalometer and wakes up abnormal application program up.
Alignment awakening method the most according to claim 1, it is characterised in that in each application of described detection
In the intervalometer wake-up states step of program, described intervalometer wake-up states is included in intervalometer in Preset Time
Wake up the wake-up times of system up.
Alignment awakening method the most according to claim 2, it is characterised in that described basis detects
The intervalometer wake-up states of each application program judges that intervalometer wakes up up and whether there is abnormal step and include following step
Rapid:
The type judging application program is timing wake-up program or non-timed wake up procedure;
If application program is timing wake-up program, then in the Preset Time that will detect, intervalometer wakes up system up
Wake-up times compares with the first preset timer wake-up times set in advance, if timing in Preset Time
The wake-up times of device is more than or equal to described first preset timer wake-up times, then this application program is timing
Device wakes up abnormal application program up;If the wake-up times of intervalometer is called out less than the first preset timer in Preset Time
Awake number of times, this application program is that intervalometer wakes up normal application up;
If application program is non-timed wake up procedure, then in the Preset Time that will detect, intervalometer wakes up system up
Wake-up times compare, if Preset Time is decided at the higher level but not officially announced with the second preset timer wake-up times set in advance
Time device wake-up times more than or equal to described second preset timer wake-up times, the most described application program is
Intervalometer wakes up abnormal application program up;If the wake-up times of intervalometer is presetting less than second in Preset Time
Device wake-up times, described application program is that intervalometer wakes up normal application up.
Alignment awakening method the most according to claim 1, it is characterised in that detect in described basis
The intervalometer wake-up states of each application program judge that application program intervalometer wakes up up and whether there is abnormal step
In comprise the following steps: if detect certain application program intervalometer wake-up states failure, the most described application program
Abnormal application program is waken up up for intervalometer.
Alignment awakening method the most according to claim 1, it is characterised in that described described solid
Moment point of fixing time wakes up system up, also includes before running the step that each intervalometer wakes up abnormal application program up
Following steps: upper once wake up up terminate on once wake up up before time interval in, connect by background process
Manage each intervalometer and wake up the announcement information of abnormal application program up.
6. an alignment Rouser, it is characterised in that including:
Wake-up states detection module, in order to detect the intervalometer wake-up states of each application program;
Wake up abnormal judge module up, judge in order to the intervalometer wake-up states according to each application program detected
Application program intervalometer wakes up whether there is exception up;
Alignment wake module, sets in order to all intervalometers to wake up up the intervalometer wakeup time of abnormal application program
It is set to the standby rear set time;And,
Wake-up trigger module, in order to wake up system up, runs application program.
Alignment Rouser the most according to claim 6, it is characterised in that described wake-up states detects
Module wakes up the wake-up times of system up in order to detect intervalometer in Preset Time.
Alignment Rouser the most according to claim 7, it is characterised in that described in wake up abnormal judgement up
Module includes:
Application Type judges submodule, in order to judge that the type of application program is timing wake-up program or non-
Timing wake-up program;
Sub module stored, presetting in order to store Preset Time, the first preset timer wake-up times and second
Time device wake-up times;
Whether first wakes up exception up judges submodule, exist in order to judge that the intervalometer of timing wake-up program wakes up up
Abnormal, if application program is timing wake-up program, described first wakes up up and abnormal judges that submodule will detect
In Preset Time intervalometer wake up up the wake-up times of system with the first preset timer wake-up times compare
Relatively, if the wake-up times of intervalometer is more than or equal to described first preset timer wake-up times in Preset Time,
Then this application program is that intervalometer wakes up abnormal application program up;If the wake-up times of intervalometer is little in Preset Time
In the first preset timer wake-up times, this application program is that intervalometer wakes up normal application up;
Whether second wakes up exception up judges submodule, deposit in order to judge that the intervalometer of non-timed wake up procedure wakes up up
In exception, if application program is non-timed wake up procedure, described second wakes up exception up judges that submodule will detection
To Preset Time in intervalometer wake up the wake-up times of system up and compare with the second preset timer wake-up times
Relatively, if the wake-up times of intervalometer is more than or equal to described second preset timer wake-up times in Preset Time,
The most described application program is that intervalometer wakes up abnormal application program up;If the wake-up times of intervalometer in Preset Time
Less than the second preset timer wake-up times, described application program is that intervalometer wakes up normal application up.
Alignment Rouser the most according to claim 6, it is characterised in that described in wake up abnormal judgement up
Module includes:
Wake-up states statistics submodule, wakes up waking up up of system up in order to intervalometer in detecting and add up Preset Time
State, if the intervalometer wake-up states success of detection application program, the most described wake-up states detection sub-module is united
In meter Preset Time, intervalometer wakes up the wake-up times of system up;If the intervalometer detecting certain application program wakes up shape up
State failure, it is that intervalometer wakes up abnormal application journey up that the most described wake-up states detection sub-module defines this application program
Sequence.
Alignment Rouser the most according to claim 6, it is characterised in that described alignment wakes up up and is
System also include announcement information manage module, in order to upper once wake up up terminate on once wake up up before time between
Every interior, take over each intervalometer by background process and wake up the announcement information of abnormal application program up.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610260784.0A CN105955444A (en) | 2016-04-25 | 2016-04-25 | Aligned wakeup method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610260784.0A CN105955444A (en) | 2016-04-25 | 2016-04-25 | Aligned wakeup method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105955444A true CN105955444A (en) | 2016-09-21 |
Family
ID=56916825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610260784.0A Pending CN105955444A (en) | 2016-04-25 | 2016-04-25 | Aligned wakeup method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105955444A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106484075A (en) * | 2016-10-12 | 2017-03-08 | 北京元心科技有限公司 | Method and device for adjusting application program wake-up time |
CN107608723A (en) * | 2017-09-20 | 2018-01-19 | 深圳市金立通信设备有限公司 | One kind application alignment awakening method, terminal and computer-readable recording medium |
WO2019019703A1 (en) * | 2017-07-28 | 2019-01-31 | 华为技术有限公司 | Method for managing trigger, and terminal device |
CN109542520A (en) * | 2018-10-11 | 2019-03-29 | 深圳大普微电子科技有限公司 | Storage device and awakening method with arousal function |
CN109901697A (en) * | 2019-03-04 | 2019-06-18 | 上海卓易科技股份有限公司 | A kind of method, apparatus, equipment and medium reducing system power dissipation |
CN109981888A (en) * | 2019-02-25 | 2019-07-05 | 努比亚技术有限公司 | A kind of wake-up timer control method, terminal and computer readable storage medium |
CN110007968A (en) * | 2017-12-29 | 2019-07-12 | 广东欧珀移动通信有限公司 | Information processing method, device, computer equipment and computer readable storage medium |
CN110244834A (en) * | 2019-05-15 | 2019-09-17 | 深圳市优博讯科技股份有限公司 | A kind of application behavior alignment schemes and terminal device |
CN110536019A (en) * | 2019-09-05 | 2019-12-03 | 深圳市智微智能科技开发有限公司 | High stability timing wake-up method and apparatus |
CN115312049A (en) * | 2022-06-30 | 2022-11-08 | 青岛海尔科技有限公司 | Command response method, storage medium and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020184288A1 (en) * | 2001-02-16 | 2002-12-05 | Vargas Garrett R. | Method and apparatus for synchronization of periodic processes |
CN103064669A (en) * | 2012-12-18 | 2013-04-24 | 希姆通信息技术(上海)有限公司 | Timing awaking method and timing awaking system of smart device |
CN103345415A (en) * | 2013-07-30 | 2013-10-09 | 广东欧珀移动通信有限公司 | Terminal energy-saving method and device for management timer |
CN104205755A (en) * | 2012-03-31 | 2014-12-10 | 英特尔公司 | Method, device, and system for delaying packets during a network-triggered wake of a computing device |
CN104221445A (en) * | 2013-11-15 | 2014-12-17 | 华为终端有限公司 | Method for waking up terminal system and terminal |
-
2016
- 2016-04-25 CN CN201610260784.0A patent/CN105955444A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020184288A1 (en) * | 2001-02-16 | 2002-12-05 | Vargas Garrett R. | Method and apparatus for synchronization of periodic processes |
CN104205755A (en) * | 2012-03-31 | 2014-12-10 | 英特尔公司 | Method, device, and system for delaying packets during a network-triggered wake of a computing device |
CN103064669A (en) * | 2012-12-18 | 2013-04-24 | 希姆通信息技术(上海)有限公司 | Timing awaking method and timing awaking system of smart device |
CN103345415A (en) * | 2013-07-30 | 2013-10-09 | 广东欧珀移动通信有限公司 | Terminal energy-saving method and device for management timer |
CN104221445A (en) * | 2013-11-15 | 2014-12-17 | 华为终端有限公司 | Method for waking up terminal system and terminal |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106484075A (en) * | 2016-10-12 | 2017-03-08 | 北京元心科技有限公司 | Method and device for adjusting application program wake-up time |
US11243784B2 (en) | 2017-07-28 | 2022-02-08 | Huawei Technologies Co., Ltd. | Method for managing trigger, and terminal device |
WO2019019703A1 (en) * | 2017-07-28 | 2019-01-31 | 华为技术有限公司 | Method for managing trigger, and terminal device |
CN109324879A (en) * | 2017-07-28 | 2019-02-12 | 华为技术有限公司 | The method and terminal device of Admin Trigger |
CN109324879B (en) * | 2017-07-28 | 2022-04-22 | 华为技术有限公司 | Method for managing trigger and terminal equipment |
CN107608723A (en) * | 2017-09-20 | 2018-01-19 | 深圳市金立通信设备有限公司 | One kind application alignment awakening method, terminal and computer-readable recording medium |
CN110007968A (en) * | 2017-12-29 | 2019-07-12 | 广东欧珀移动通信有限公司 | Information processing method, device, computer equipment and computer readable storage medium |
CN109542520A (en) * | 2018-10-11 | 2019-03-29 | 深圳大普微电子科技有限公司 | Storage device and awakening method with arousal function |
CN109542520B (en) * | 2018-10-11 | 2023-04-07 | 深圳大普微电子科技有限公司 | Storage device with wake-up function and wake-up method |
CN109981888A (en) * | 2019-02-25 | 2019-07-05 | 努比亚技术有限公司 | A kind of wake-up timer control method, terminal and computer readable storage medium |
CN109901697A (en) * | 2019-03-04 | 2019-06-18 | 上海卓易科技股份有限公司 | A kind of method, apparatus, equipment and medium reducing system power dissipation |
CN110244834A (en) * | 2019-05-15 | 2019-09-17 | 深圳市优博讯科技股份有限公司 | A kind of application behavior alignment schemes and terminal device |
CN110536019B (en) * | 2019-09-05 | 2021-02-19 | 深圳市智微智能科技股份有限公司 | High-stability timing awakening method and device |
CN110536019A (en) * | 2019-09-05 | 2019-12-03 | 深圳市智微智能科技开发有限公司 | High stability timing wake-up method and apparatus |
CN115312049A (en) * | 2022-06-30 | 2022-11-08 | 青岛海尔科技有限公司 | Command response method, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105955444A (en) | Aligned wakeup method and apparatus | |
US20210064117A1 (en) | Optimizing power usage by factoring processor architectural events to pmu | |
CN102725997B (en) | Switch method for realizing low power consumption and device thereof and switch | |
CN104166542A (en) | Method and device for detecting electricity consumption of application | |
CN106055073B (en) | A kind for the treatment of method and apparatus based on bright screen lock | |
CN109803359A (en) | A kind of method and terminal waking up terminal system | |
CN106060909A (en) | Network access method and mobile terminal | |
CN102594999A (en) | Method and system for performing adaptive mobile phone energy conservation through face identification | |
CN102741775A (en) | Method, apparatus and system to transition system power state of a computer platform | |
CN106020415B (en) | Application control method and device under smart machine standby mode | |
CN101964724B (en) | Energy conservation method of communication single plate and communication single plate | |
CN102385435A (en) | Electronic device having operation mode dynamic adjusting mechanism and method of the same | |
CN105353864A (en) | Static power consumption management method and system for electronic device | |
CN104714620A (en) | Method and device for adjusting wakeup frequency of intelligent terminal | |
CN105704785A (en) | Network searching method, device and mobile terminal | |
CN102339122A (en) | Digital communication device capable of saving electricity, and electricity-saving control device and method thereof | |
CN101609601B (en) | Clearance-type waking up method of wireless meter reading system | |
CN103338312A (en) | Intelligent handset sleeping energy-saving system and method | |
CN104281465A (en) | Computer and awakening method thereof | |
CN102402272B (en) | There is the electronic installation of network connecting function and be applied to the method for this electronic installation | |
CN102152766A (en) | Automotive electric door/window controller and control method thereof as well as automotive electric door/window system | |
CN100410846C (en) | Method for realizing real-time clock waking-up of notebook computer | |
CN104427133A (en) | Communication-terminal standby electricity-saving control method and control device | |
Kong et al. | Optimal selection of power saving classes in IEEE 802.16 e | |
CN104750223B (en) | Method and system for reducing memory access power consumption of multi-core terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160921 |
|
RJ01 | Rejection of invention patent application after publication |