CN106612538A - Alignment wakeup method and alignment wakeup terminal - Google Patents
Alignment wakeup method and alignment wakeup terminal Download PDFInfo
- Publication number
- CN106612538A CN106612538A CN201510707957.4A CN201510707957A CN106612538A CN 106612538 A CN106612538 A CN 106612538A CN 201510707957 A CN201510707957 A CN 201510707957A CN 106612538 A CN106612538 A CN 106612538A
- Authority
- CN
- China
- Prior art keywords
- intervalometer
- container
- application
- alignment
- triggered time
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0287—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level changing the clock frequency of a controller in the equipment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses an alignment wakeup method, which comprises steps: at least one application with a timer in need of alignment wakeup is determined; at least one timer container and the data structure information of the at least one timer container are built; the timer for the at least one application in need of alignment wakeup is stored in a corresponding timer container; the triggering time for the at least one timer container is determined; and the triggering time for the timer for the at least one application in need of alignment wakeup is changed to the triggering time for the corresponding timer container. The embodiment of the invention also discloses an alignment wakeup terminal.
Description
Technical field
The present invention relates to mobile terminal power consumption control field, more particularly to a kind of method and terminal of alignment wake-up.
Background technology
As the fast development of mobile terminal, use of the user to mobile terminal are more and more frequent, need to install
It is increasing to apply to meet use demand of the user in different aspect, for example, instant messaging application, purchase
Thing application, social networking application etc., these applications are required for carrying out data communication with each self-corresponding server, protect
Hold data syn-chronization.
Server send data to apply when, the IP address for knowing the application is needed, due to Virtual network operator
The IP for distributing to mobile terminal is the IP of operator's Intranet, so to carry out data with server in mobile terminal
During communication, it is required for carrying out network address translation (Network Address by the gateway of operator
Translation, NAT), the gateway of most of Virtual network operator leads within link the preceding paragraph time without data
During news, the respective links in NAT lists can be eliminated, cause the link down, so the application of mobile terminal
Need periodically to send heartbeat packet to server, refresh NAT lists, it is ensured that connection is online, that is, maintain a heart
Jump mechanism.
Because application different in prior art itself can form a set of heartbeat mechanism, the heartbeat packet of different application
Can individually send, without unified heart beating push-mechanism, so different timing cycles can cause mobile terminal
Frequently it is waken up to send heartbeat packet, such mobile terminal will consume big volume and electricity.
The content of the invention
In view of this, the embodiment of the present invention is expected to provide method and the terminal that a kind of alignment wakes up, to realize system
In one triggered time, multiple different fixed time intervals and the intervalometer in triggered time is waken up together, effectively subtract
The wake-up times of few terminal, reduce power consumption.
To reach above-mentioned purpose, the technical scheme is that what is be achieved in that:
The present invention provides a kind of method that alignment wakes up, and methods described includes:
It is determined that needing at least one application with intervalometer that alignment wakes up;
Create the data structure information of at least one intervalometer container and at least one intervalometer container;
The intervalometer of at least one application for needing alignment to wake up is stored in into the corresponding intervalometer to hold
Device;
Determine the triggered time of at least one intervalometer container;
The triggered time of the intervalometer of at least one application for needing alignment to wake up is revised as into corresponding institute
State the triggered time of intervalometer container.
In said method, the data structure information of the intervalometer container at least includes one:Triggered time,
Fixed time interval, maximum can accommodate the number of intervalometer.
It is described to determine need alignment to wake up at least one application with intervalometer in said method, including:
All applications are searched for, at least one application with intervalometer is obtained;
Whether described at least one application with intervalometer is determined according to the application protection white list that user is arranged
Alignment is needed to wake up, if described at least one applying in application protection white list with intervalometer,
Then determine that corresponding described at least one application with intervalometer need not align wake-up;
If described at least one application with intervalometer is not in application protection white list, it is determined that right
There is described at least one for answering the application of intervalometer to need alignment to wake up.
In said method, the intervalometer by least one application for needing alignment to wake up is stored in correspondence
The intervalometer container, including:
The intervalometer of at least one application for needing alignment to wake up is stored in into corresponding institute according to pre-conditioned
State intervalometer container;
It is described to be stored in the corresponding intervalometer container according to pre-conditioned, including:
Whether the fixed time interval for judging the intervalometer is less than or equal to the fixed time interval of the intervalometer container, if
The fixed time interval of the intervalometer is less than or equal to the fixed time interval of the intervalometer container, then by corresponding timing
Device is stored in same intervalometer container;
If the fixed time interval of the intervalometer more than the intervalometer container fixed time interval, by it is corresponding extremely
Intervalometer is stored in new intervalometer container;
Or, it is described by it is described need alignment wake up at least one application intervalometer be stored in it is corresponding described fixed
When device container, including:
The intervalometer of at least one application for needing alignment to wake up is stored according to default triggered time difference
The corresponding intervalometer container;
The default triggered time difference of the basis is stored in the corresponding intervalometer container, including:
When the application is one, then the intervalometer of the application is added into current timer container;
When the application is multiple, a target timing device is determined in the intervalometer of the plurality of application,
Judge triggered time of the target timing device respectively with the difference in the triggered time of intervalometer other described, if
The difference is less than or equal to the default triggered time difference, then by the target timing device and corresponding timing
Device is stored in same intervalometer container;
If the difference is more than the default triggered time difference, the target timing device is stored in and new is determined
When device container.
In said method, the triggered time for determining at least one intervalometer container, including:
Using the maximum triggered time of the intervalometer in the intervalometer container as the intervalometer container
Triggered time.
The present invention also provides the terminal that a kind of alignment wakes up, and the terminal includes:
Using determining module, for determining need alignment to wake up at least one application with intervalometer;
Creation module, for creating the number of at least one intervalometer container and at least one intervalometer container
According to structural information;
Module is stored in, it is corresponding for the intervalometer of at least one application for needing alignment to wake up to be stored in
The intervalometer container;
Triggered time determining module, for determining the triggered time of at least one intervalometer container;
Modified module, the triggered time of at least one intervalometer applied for the needs alignment to be waken up
It is revised as the triggered time of the corresponding intervalometer container.
In above-mentioned terminal, the data structure information of the intervalometer container at least includes one:Triggered time,
Fixed time interval, maximum can accommodate the number of intervalometer.
In above-mentioned terminal, the application determining module, specifically for searching for all applications, obtains at least one
Application with intervalometer;
Whether described at least one application with intervalometer is determined according to the application protection white list that user is arranged
Alignment is needed to wake up, if described at least one applying in application protection white list with intervalometer,
Then determine that corresponding described at least one application with intervalometer need not align wake-up;
If described at least one application with intervalometer is not in application protection white list, it is determined that right
There is described at least one for answering the application of intervalometer to need alignment to wake up.
It is described to be stored in module in above-mentioned terminal, specifically for needing at least one of alignment wake-up to answer by described
Intervalometer is stored in the corresponding intervalometer container according to pre-conditioned;
It is described to be stored in the corresponding intervalometer container according to pre-conditioned, including:
Whether the fixed time interval for judging the intervalometer is less than or equal to the fixed time interval of the intervalometer container, if
The fixed time interval of the intervalometer is less than or equal to the fixed time interval of the intervalometer container, then by corresponding timing
Device is stored in same intervalometer container;
If the fixed time interval of the intervalometer more than the intervalometer container fixed time interval, by it is corresponding extremely
Intervalometer is stored in new intervalometer container;
Or, needing at least one intervalometer applied of alignment wake-up to be touched according to default also particularly useful for by described
Send out time difference and be stored in the corresponding intervalometer container;
The default triggered time difference of the basis is stored in the corresponding intervalometer container, including:
When the application is one, then the intervalometer of the application is added into current timer container;
When the application is multiple, a target timing device is determined in the intervalometer of the plurality of application,
Judge triggered time of the target timing device respectively with the difference in the triggered time of intervalometer other described, if
The difference is less than or equal to the default triggered time difference, then by the target timing device and corresponding timing
Device is stored in same intervalometer container;
If the difference is more than the default triggered time difference, the target timing device is stored in and new is determined
When device container.
In above-mentioned terminal, the triggered time determining module, specifically for by the intervalometer container
Triggered time of the maximum triggered time of the intervalometer as the intervalometer container.
Method and terminal that alignment provided in an embodiment of the present invention wakes up, the terminal for waking up of aliging passes through first should
The application with intervalometer for needing alignment to wake up is determined with protection white list;Then at least one is created
The data structure information of intervalometer container and at least one intervalometer container;Secondly will need what alignment woke up
The intervalometer of at least one application is stored in corresponding intervalometer container;Then according in intervalometer container most
Triggered time of the triggered time of the intervalometer of big application as intervalometer container;Finally should by least one
The triggered time of intervalometer is revised as the triggered time of corresponding intervalometer container;By the way that intervalometer is held
The triggered time of all intervalometers in device has carried out alignment operation, has unified the triggered time, makes multiple differences
Fixed time interval and the intervalometer in triggered time wake up together, be effectively reduced the wake-up times of terminal, drop
Low power consumption;In addition, which application of the user in application protection white list list can select apply need
Alignment is added to wake up management, which application need not add alignment to wake up management, and such user can basis
Application of the self-demand to accurate timing does not carry out alignment and wakes up management, and to requirement of real-time, not high application is entered
Row alignment wakes up management, convenient for users to use, solves the problems, such as to be possible to bring the triggered time to be forbidden.
Description of the drawings
Fig. 1 is the flow chart of the embodiment of the method one that present invention alignment wakes up;
Fig. 2 is the flow chart of the embodiment of the method two that present invention alignment wakes up;
Fig. 3 is the structural representation of the terminal embodiment that present invention alignment wakes up.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, it is fully described by.
Fig. 1 is the flow chart of the embodiment of the method one that present invention alignment wakes up, as shown in figure 1, this method can
To comprise the steps:
Step 101, at least one application with intervalometer for determining needs alignment wake-up;
Specifically, first, all applications in the terminal of terminal searching that alignment wakes up, obtain at least one
Application with intervalometer;Then, described at least one is determined according to the application protection white list that user is arranged
Whether the application with intervalometer needs alignment to wake up, if described at least one applying in institute with intervalometer
State using in protection white list, it is determined that corresponding described at least one application with intervalometer need not be right
It is neat to wake up;If described at least one has the application of intervalometer not in application protection white list, really
Fixed corresponding described at least one there is the application of intervalometer to need alignment to wake up.
The terminal that the alignment of the embodiment of the present invention wakes up can include such as mobile phone, smart phone, notes
It is this computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), portable
The mobile terminal of multimedia player (PMP), guider etc..
If terminal has operating system, the operating system can be UNIX, Linux, Windows, Mac
OS X, ARIXTRA (Android), Windows Phone etc..
Application software (Application, APP) is the third party application of intelligent terminal, and user can lead to
Cross various application softwaries handled official business, entertained, acquisition information etc., its form include as ipa,
Pxl, deb, apk etc. form.
For example, under Android operation system, provided according to AlarmManager using protection white list
Interface message searches the application with intervalometer for A, B, C, D, E, the terminal that wakes up of aliging by A,
B, C, D, E are added to using in protection white list, and user wants these three applications to A, C, E to be carried out
Alignment wakes up, and this two application to B, D does not carry out alignment wake-up, then can be on application protection white list
Arrange, these three applications by A, C, E determine into needs alignment wake-up, generate the configuration that an alignment wakes up
File.
Which application in the terminal searching itself that alignment in the embodiment of the present invention wakes up has used intervalometer, and
These are recorded using the application of intervalometer by application protection white list list mode;User protects according to application
Application in shield white list list can select which application needs to add alignment to wake up management, and which application is not
Need to add alignment to wake up management, the application that such user can be according to self-demand to accurate timing is not carried out
Alignment wakes up management, alignment is carried out to the not high application of requirement of real-time and wakes up management, facilitates making for user
With solving the problems, such as to be possible to bring the triggered time to be forbidden.
Step 102, the data knot for creating at least one intervalometer container and at least one intervalometer container
Structure information.
The terminal that alignment wakes up obtains needing addition alignment to wake up after the application of management, can be write by user
Order create the data structure information of at least one intervalometer container and the intervalometer container;The intervalometer
Container is used to be stored in the intervalometer of one or more each applications, the data structure information bag of the intervalometer container
The triggered time of the intervalometer container is included, fixed time interval, maximum can accommodate number of intervalometer etc. they its
At least one of, wherein, the triggered time can in advance set according to the order of user before alignment wakes up
Put, it is also possible to which the triggered time of certain intervalometer in intervalometer container is come dynamic adjustment.
For example, the triggered time is 8:50 or for default, determined by the triggered time of certain intervalometer, it is fixed
When at intervals of 10 minutes, can accommodate intervalometer number be 3 etc.;Explanation is needed exist for, it is above-mentioned
Numeral only with illustrate, specifically can be configured according to the actual requirements, here is not limited.
Under Android operation system, user can be by instruction in intervalometer framework
Increase the intervalometer container and the data structure information of the intervalometer container in AlarmManagerService.
Step 103, the intervalometer of at least one application for waking up the needs alignment are deposited according to pre-conditioned
Enter the corresponding intervalometer container.
The terminal that alignment wakes up is by the intervalometer of at least one application for needing alignment to wake up according to default bar
Part is stored in the corresponding intervalometer container;Wherein, it is described to be stored in the corresponding timing according to pre-conditioned
The concrete steps of device container include:
Whether the fixed time interval for judging the intervalometer is less than or equal to the fixed time interval of the intervalometer container, if
The fixed time interval of the intervalometer is less than or equal to the fixed time interval of the intervalometer container, then by corresponding timing
Device is stored in same intervalometer container;If the fixed time interval of the intervalometer is determined more than the intervalometer container
When be spaced, then corresponding intervalometer is stored in into new intervalometer container.
For example, alignment wake up terminal will need alignment wake up A, C, E these three application be stored in it is corresponding
It it is 5 minutes in the fixed time interval for obtaining A specifically in intervalometer container, the fixed time interval of C is 10
Minute, the fixed time interval of E is 15 minutes, and the fixed time interval of intervalometer container is after 10 minutes, by A, C,
The respective fixed time intervals of E carry out contrast judgement with the fixed time interval of intervalometer container, can obtain A, C
Fixed time interval 5 minutes, 10 minutes fixed time intervals 10 minutes less than or equal to intervalometer container, the timing of E
The 15 minutes fixed time intervals 10 minutes more than container in interval, then be stored in same intervalometer container by A, C
In, the fixed time interval of the intervalometer container is 10 minutes, and E is stored in new intervalometer container, and this is determined
When device container fixed time interval be 15 minutes.
Under Android operation system, user can be by instruction calls AlarmManagerService
Interface is set, the setting interface is changed, the configuration file that alignment wakes up is read when starting, alignment is waken up
Configuration file in A, C, E these three application carry out above-mentioned process operation.
Step 104, the triggered time for determining at least one intervalometer container.
Alignment wake up terminal using the maximum triggered time of the intervalometer in the intervalometer container as
The triggered time of the intervalometer container.
For example, the triggered time of the intervalometer of C is 9:The triggered time of 15, A intervalometer is 9:10, by
It is big in the triggered time of the intervalometer of the triggered time than A of the intervalometer of C, so the terminal that alignment wakes up
Be stored into the intervalometer container of A, C triggered time be revised as C intervalometer triggered time, i.e., 9:15;
The triggered time of the intervalometer of E is 9:20, so the terminal that alignment wakes up is stored into the intervalometer container of E
Triggered time is revised as the triggered time of the intervalometer of E, i.e., and 9:20.
The triggered time modification of step 105, the intervalometer of at least one application for waking up the needs alignment
For the triggered time of the corresponding intervalometer container.
The triggered time of all intervalometers in an intervalometer container is revised as this by the terminal that alignment wakes up
The triggered time of intervalometer container, the triggered time of all intervalometers that will be in the intervalometer container is carried out
Alignment operation, has unified the triggered time, makes multiple different fixed time intervals and the intervalometer in triggered time together
Wake up, be effectively reduced the wake-up times of terminal, reduce power consumption.
In addition, wake up together after, when calculating the triggering next time of each intervalometer in the intervalometer container
Between, i.e. triggered time=this triggered time+fixed time interval next time;Intervalometer container before emptying,
Processed according to the process of step 103 again according to the triggered time next time of each intervalometer.
For example, the terminal that alignment wakes up is revised as the triggered time of the intervalometer of A in intervalometer container
9:15, the triggered time of the intervalometer of C is also revised as into 9:15, A, the intervalometer of C is only 9:15 moment
Unified wake-up is carried out, upon awakening, the triggered time next time of the intervalometer of A, the i.e. timing of A is calculated
Triggered time=9 next time of device:15+0:05=9:20;The triggered time next time of the intervalometer of C is calculated, i.e.,
Triggered time=9 next time of the intervalometer of C:15+0:10=9:25;Intervalometer container before emptying, according to
The triggered time next time of the intervalometer of A, C is processed according to the process of step 103 again.
Under Android operation system, the timing strategies of intervalometer in framework can be modified, one
The intervalometer unification for determining scope is triggered, and so as to effectively reduce the number of times that terminal is waken up, reduces power consumption.
The method that the alignment of the embodiment of the present invention wakes up, the terminal for waking up of aliging is first by the white name of application protection
The application with intervalometer for singly waking up to determine needs to align;Then at least one intervalometer container is created
And the data structure information of at least one intervalometer container;Secondly should by need alignment to wake up at least one
Intervalometer is stored in corresponding intervalometer container;Then according to maximum application in intervalometer container
Triggered time of the triggered time of intervalometer as intervalometer container;Finally by the intervalometer of at least one application
Triggered time be revised as triggered time of corresponding intervalometer container;By will be in intervalometer container own
The triggered time of intervalometer has carried out alignment operation, has unified the triggered time, makes multiple different fixed time intervals
Wake up together with the intervalometer in triggered time, be effectively reduced the wake-up times of terminal, reduce power consumption;
In addition, application of the user in application protection white list list can select which application needs to add alignment
Management is waken up, which application need not add alignment to wake up management, and such user can be according to self-demand pair
The application of accurate timing does not carry out alignment and wakes up management, and to the not high application of requirement of real-time alignment wake-up is carried out
Management, it is convenient for users to use, solve the problems, such as to be possible to bring the triggered time to be forbidden.
Fig. 2 is the flow chart of the embodiment of the method two that present invention alignment wakes up, as shown in Fig. 2 this method can
To comprise the steps:
Step 201, at least one application with intervalometer for determining needs alignment wake-up.
Specifically, first, all applications in the terminal of terminal searching that alignment wakes up, obtain at least one
Application with intervalometer;Then, described at least one is determined according to the application protection white list that user is arranged
Whether the application with intervalometer needs alignment to wake up, if described at least one applying in institute with intervalometer
State using in protection white list, it is determined that corresponding described at least one application with intervalometer need not be right
It is neat to wake up;If described at least one has the application of intervalometer not in application protection white list, really
Fixed corresponding described at least one there is the application of intervalometer to need alignment to wake up.
The terminal that the alignment of the embodiment of the present invention wakes up can include such as mobile phone, smart phone, notes
It is this computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), portable
The mobile terminal of multimedia player (PMP), guider etc..
If terminal has operating system, the operating system can be UNIX, Linux, Windows, Mac
OS X, ARIXTRA (Android), Windows Phone etc..
Application software (Application, APP) is the third party application of intelligent terminal, and user can lead to
Cross various application softwaries handled official business, entertained, acquisition information etc., its form include as ipa,
Pxl, deb, apk etc. form.
For example, under Android operation system, provided according to AlarmManager using protection white list
Interface message searches the application with intervalometer for F, G, H, I, J, the terminal that wakes up of aliging by F, G,
H, I, J are added to using in protection white list, and user wants these three applications to F, H, J and aligns
Wake up, this two application to G, I does not carry out alignment wake-up, then can arrange on application protection white list,
These three applications by F, H, J determine into needs alignment wake-up, generate the configuration file that an alignment wakes up.
Which application in the terminal searching itself that alignment in the embodiment of the present invention wakes up has used intervalometer, and
These are recorded using the application of intervalometer by application protection white list list mode;User protects according to application
Application in shield white list list can select which application needs to add alignment to wake up management, and which application is not
Need to add alignment to wake up management, the application that such user can be according to self-demand to accurate timing is not carried out
Alignment wakes up management, alignment is carried out to the not high application of requirement of real-time and wakes up management, facilitates making for user
With solving the problems, such as to be possible to bring the triggered time to be forbidden.
Step 202, the data knot for creating at least one intervalometer container and at least one intervalometer container
Structure information.
The terminal that alignment wakes up obtains needing addition alignment to wake up after the application of management, can be write by user
Order create the data structure information of at least one intervalometer container and the intervalometer container;The intervalometer
Container is used to be stored in the intervalometer of one or more each applications, the data structure information bag of the intervalometer container
The triggered time of the intervalometer container is included, fixed time interval, maximum can accommodate number of intervalometer etc. they its
At least one of, wherein, the triggered time can in advance set according to the order of user before alignment wakes up
Put, it is also possible to which the triggered time of certain intervalometer in intervalometer container is come dynamic adjustment.
For example, the triggered time is 8:50 or for default, determined by the triggered time of certain intervalometer, it is fixed
When at intervals of 10 minutes, can accommodate intervalometer number be 3 etc.;Explanation is needed exist for, it is above-mentioned
Numeral only with illustrate, specifically can be configured according to the actual requirements, here is not limited.
Under Android operation system, user can be by instruction in intervalometer framework
Increase the intervalometer container and the data structure information of the intervalometer container in AlarmManagerService.
When step 203, the intervalometer of at least one application for waking up the needs alignment are according to default triggering
Between difference be stored in the corresponding intervalometer container.
The terminal that alignment wakes up touches the intervalometer of at least one application for needing alignment to wake up according to default
Send out time difference and be stored in the corresponding intervalometer container;Wherein, the default triggered time difference of the basis is deposited
Entering the concrete steps of the corresponding intervalometer container includes:
When the application is one, then the intervalometer of the application is added into current timer container;
When the application is multiple, a target timing device is determined in the intervalometer of the plurality of application,
Judge triggered time of the target timing device respectively with the difference in the triggered time of intervalometer other described, if
The difference is less than or equal to the default triggered time difference, then by the target timing device and corresponding timing
Device is stored in same intervalometer container;If the difference is more than the default triggered time difference, will be described
Target timing device is stored in new intervalometer container.
For example, alignment wake up terminal will need alignment wake up F, H, J these three application be stored in it is corresponding
It is 9 in the triggered time for obtaining F specifically in intervalometer container:00, H triggered time is 9:10,
The triggered time of H is 9:20, it is after 10 minutes, in the intervalometer of F, H, J to preset triggered time difference
The intervalometer of middle determination F is target timing device, judges the triggered time 9 of the intervalometer of F:00 respectively with H,
The triggered time 9 of the intervalometer of J:10、9:20 difference, obtains the difference with the triggered time of the intervalometer of H
It is worth for 10 minutes, is 20 minutes with the difference in the triggered time of the intervalometer of J;Because the difference of F and H
Less than or equal to default triggered time difference 10 minutes, so the intervalometer of F and H is stored in into same timing
Device container;Because the difference of F and J is more than triggered time difference is preset 10 minutes, by the intervalometer of J
It is stored in new intervalometer container.
Under Android operation system, user can be by instruction calls AlarmManagerService
Interface is set, the setting interface is changed, the configuration file that alignment wakes up is read when starting, alignment is waken up
Configuration file in A, C, E these three application carry out above-mentioned process operation.
Step 204, the triggered time for determining at least one intervalometer container.
Alignment wake up terminal using the maximum triggered time of the intervalometer in the intervalometer container as
The triggered time of the intervalometer container.
For example, the triggered time of the intervalometer of H is 9:The triggered time of 10, F intervalometer is 9:00, by
It is big in the triggered time of the intervalometer of the triggered time than F of the intervalometer of H, so the terminal that alignment wakes up
Be stored into the intervalometer container of F, H triggered time be revised as H intervalometer triggered time, i.e., 9:10;
The triggered time of the intervalometer of J is 9:20, so the terminal that alignment wakes up is stored into touching for the intervalometer container of J
Send out time modification for E intervalometer triggered time, i.e., 9:20.
The triggered time modification of step 205, the intervalometer of at least one application for waking up the needs alignment
For the triggered time of the corresponding intervalometer container.
The triggered time of all intervalometers in an intervalometer container is revised as this by the terminal that alignment wakes up
The triggered time of intervalometer container, the triggered time of all intervalometers that will be in the intervalometer container is carried out
Alignment operation, has unified the triggered time, makes multiple different fixed time intervals and the intervalometer in triggered time together
Wake up, be effectively reduced the wake-up times of terminal, reduce power consumption.
In addition, wake up together after, when calculating the triggering next time of each intervalometer in the intervalometer container
Between, i.e. triggered time=this triggered time+fixed time interval next time;Intervalometer container before emptying,
Processed according to the process of step 103 again according to the triggered time next time of each intervalometer.
For example, the terminal that alignment wakes up is revised as the triggered time of the intervalometer of F in intervalometer container
9:10, the triggered time of the intervalometer of H is also revised as into 9:10, F fixed time interval is 0:05, H determines
When at intervals of 0:10, H, the intervalometer of F is only 9:10 moment carried out unified wake-up, upon awakening, meter
Calculate the triggered time next time of the intervalometer of F, the i.e. triggered time next time of the intervalometer of F
=9:10+0:05=9:15;Calculate the triggered time next time of the intervalometer of H, the i.e. intervalometer of H next time
Triggered time=9:10+0:10=9:20;Intervalometer container before emptying, according under the intervalometer of F, H
Triggered time is processed according to the process of step 203 again.
Under Android operation system, the timing strategies of intervalometer in framework can be modified, one
The intervalometer unification for determining scope is triggered, and so as to effectively reduce the number of times that terminal is waken up, reduces power consumption.
The method that the alignment of the embodiment of the present invention wakes up, the terminal for waking up of aliging is first by the white name of application protection
The application with intervalometer for singly waking up to determine needs to align;Then at least one intervalometer container is created
And the data structure information of at least one intervalometer container;Secondly should by need alignment to wake up at least one
Intervalometer is stored in corresponding intervalometer container;Then according to maximum application in intervalometer container
Triggered time of the triggered time of intervalometer as intervalometer container;Finally by the intervalometer of at least one application
Triggered time be revised as triggered time of corresponding intervalometer container;By will be in intervalometer container own
The triggered time of intervalometer has carried out alignment operation, has unified the triggered time, makes multiple different fixed time intervals
Wake up together with the intervalometer in triggered time, be effectively reduced the wake-up times of terminal, reduce power consumption;
In addition, application of the user in application protection white list list can select which application needs to add alignment
Management is waken up, which application need not add alignment to wake up management, and such user can be according to self-demand pair
The application of accurate timing does not carry out alignment and wakes up management, and to the not high application of requirement of real-time alignment wake-up is carried out
Management, it is convenient for users to use, solve the problems, such as to be possible to bring the triggered time to be forbidden.
Fig. 3 is the structural representation of the terminal embodiment that present invention alignment wakes up, as shown in figure 3, described right
The neat terminal 03 for waking up can include:Using determining module 61, creation module 62, it is stored in module 63, touches
Send out time determining module 64, modified module 65;Wherein,
The application determining module 61, needs at least one of alignment wake-up to have answering for intervalometer for determination
With;
The creation module 62, holds for creating at least one intervalometer container and at least one intervalometer
The data structure information of device;
It is described to be stored in module 63, for the intervalometer of at least one application for needing alignment to wake up to be stored in
The corresponding intervalometer container;
The triggered time determining module 64, for during the triggering for determining at least one intervalometer container
Between;
The modified module 65, for touching the intervalometer of at least one application for needing alignment to wake up
Send out the triggered time that time modification is the corresponding intervalometer container.
Further, the data structure information of the intervalometer container at least includes one:It is triggered time, fixed
When be spaced, maximum can accommodate the number of intervalometer.
Further, the application determining module 61, specifically for searching for all applications, obtains at least one
Application with intervalometer;
Whether described at least one application with intervalometer is determined according to the application protection white list that user is arranged
Alignment is needed to wake up, if described at least one applying in application protection white list with intervalometer,
Then determine that corresponding described at least one application with intervalometer need not align wake-up;
If described at least one application with intervalometer is not in application protection white list, it is determined that right
There is described at least one for answering the application of intervalometer to need alignment to wake up.
Further, it is described to be stored in module 63, specifically for needing at least one of alignment wake-up to answer by described
Intervalometer is stored in the corresponding intervalometer container according to pre-conditioned;
It is described to be stored in the corresponding intervalometer container according to pre-conditioned, including:
Whether the fixed time interval for judging the intervalometer is less than or equal to the fixed time interval of the intervalometer container, if
The fixed time interval of the intervalometer is less than or equal to the fixed time interval of the intervalometer container, then by corresponding timing
Device is stored in same intervalometer container;
If the fixed time interval of the intervalometer more than the intervalometer container fixed time interval, by it is corresponding extremely
Intervalometer is stored in new intervalometer container;
Or, needing at least one intervalometer applied of alignment wake-up to be touched according to default also particularly useful for by described
Send out time difference and be stored in the corresponding intervalometer container;
The default triggered time difference of the basis is stored in the corresponding intervalometer container, including:
When the application is one, then the intervalometer of the application is added into current timer container;
When the application is multiple, a target timing device is determined in the intervalometer of the plurality of application,
Judge triggered time of the target timing device respectively with the difference in the triggered time of intervalometer other described, if
The difference is less than or equal to the default triggered time difference, then by the target timing device and corresponding timing
Device is stored in same intervalometer container;
If the difference is more than the default triggered time difference, the target timing device is stored in and new is determined
When device container.
Further, the triggered time determining module 64, specifically for by the intervalometer container
Triggered time of the maximum triggered time of the intervalometer as the intervalometer container.
The terminal of the present embodiment, can be used for performing the technical scheme of above-mentioned shown embodiment of the method, its realization
Principle is similar with technique effect, and here is omitted.
In actual applications, the application determining module 61, creation module 62, be stored in module 63, triggering
Time determining module 64, modified module 65 can be by central processing unit (CPU), the microprocessors in terminal
The device realities such as device (MPU), digital signal processor (DSP) or field programmable gate array (FPGA)
It is existing.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can using hardware embodiment, software implementation or with reference to software and
The form of the embodiment of hardware aspect.And, the present invention can be adopted and wherein include calculating at one or more
Computer-usable storage medium (including but not limited to disk memory and the optical storage of machine usable program code
Device etc.) on implement computer program form.
The present invention is with reference to method according to embodiments of the present invention, equipment (system) and computer program
Flow chart and/or block diagram describing.It should be understood that can be by computer program instructions flowchart and/or side
The knot of each flow process and/or square frame and flow chart and/or the flow process in block diagram and/or square frame in block diagram
Close.Can provide these computer program instructions to general purpose computer, special-purpose computer, Embedded Processor or
The processor of other programmable data processing devices is producing a machine so that by computer or other can
The instruction of the computing device of programming data processing equipment is produced for realizing in one flow process or multiple of flow chart
The device of the function of specifying in one square frame of flow process and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices
In the computer-readable memory for working in a specific way so that in being stored in the computer-readable memory
Instruction produces the manufacture for including command device, and the command device is realized in one flow process of flow chart or multiple streams
The function of specifying in one square frame of journey and/or block diagram or multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing devices, made
Obtain and series of operation steps is performed on computer or other programmable devices to produce computer implemented place
Reason, so as to the instruction performed on computer or other programmable devices is provided for realizing in flow chart one
The step of function of specifying in flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
The above, only presently preferred embodiments of the present invention is not intended to limit the protection model of the present invention
Enclose.
Claims (10)
1. a kind of method that alignment wakes up, it is characterised in that methods described includes:
It is determined that needing at least one application with intervalometer that alignment wakes up;
Create the data structure information of at least one intervalometer container and at least one intervalometer container;
The intervalometer of at least one application for needing alignment to wake up is stored in into the corresponding intervalometer to hold
Device;
Determine the triggered time of at least one intervalometer container;
The triggered time of the intervalometer of at least one application for needing alignment to wake up is revised as into corresponding institute
State the triggered time of intervalometer container.
2. method according to claim 1, it is characterised in that the data structure of the intervalometer container
Information at least includes one:Triggered time, fixed time interval, maximum can accommodate the number of intervalometer.
3. method according to claim 1 and 2, it is characterised in that the determination needs alignment to wake up
At least one have intervalometer application, including:
All applications are searched for, at least one application with intervalometer is obtained;
Whether described at least one application with intervalometer is determined according to the application protection white list that user is arranged
Alignment is needed to wake up, if described at least one applying in application protection white list with intervalometer,
Then determine that corresponding described at least one application with intervalometer need not align wake-up;
If described at least one application with intervalometer is not in application protection white list, it is determined that right
There is described at least one for answering the application of intervalometer to need alignment to wake up.
4. method according to claim 1 and 2, it is characterised in that described to need alignment to call out by described
The intervalometer of at least one awake application is stored in the corresponding intervalometer container, including:
The intervalometer of at least one application for needing alignment to wake up is stored in into corresponding institute according to pre-conditioned
State intervalometer container;
It is described to be stored in the corresponding intervalometer container according to pre-conditioned, including:
Whether the fixed time interval for judging the intervalometer is less than or equal to the fixed time interval of the intervalometer container, if
The fixed time interval of the intervalometer is less than or equal to the fixed time interval of the intervalometer container, then by corresponding timing
Device is stored in same intervalometer container;
If the fixed time interval of the intervalometer more than the intervalometer container fixed time interval, by it is corresponding extremely
Intervalometer is stored in new intervalometer container;
Or, it is described by it is described need alignment wake up at least one application intervalometer be stored in it is corresponding described fixed
When device container, including:
The intervalometer of at least one application for needing alignment to wake up is stored according to default triggered time difference
The corresponding intervalometer container;
The default triggered time difference of the basis is stored in the corresponding intervalometer container, including:
When the application is one, then the intervalometer of the application is added into current timer container;
When the application is multiple, a target timing device is determined in the intervalometer of the plurality of application,
Judge triggered time of the target timing device respectively with the difference in the triggered time of intervalometer other described, if
The difference is less than or equal to the default triggered time difference, then by the target timing device and corresponding timing
Device is stored in same intervalometer container;
If the difference is more than the default triggered time difference, the target timing device is stored in and new is determined
When device container.
5. method according to claim 1 and 2, it is characterised in that the determination described at least one
The triggered time of intervalometer container, including:
Using the maximum triggered time of the intervalometer in the intervalometer container as the intervalometer container
Triggered time.
6. the terminal that a kind of alignment wakes up, it is characterised in that the terminal includes:
Using determining module, for determining need alignment to wake up at least one application with intervalometer;
Creation module, for creating the number of at least one intervalometer container and at least one intervalometer container
According to structural information;
Module is stored in, it is corresponding for the intervalometer of at least one application for needing alignment to wake up to be stored in
The intervalometer container;
Triggered time determining module, for determining the triggered time of at least one intervalometer container;
Modified module, the triggered time of at least one intervalometer applied for the needs alignment to be waken up
It is revised as the triggered time of the corresponding intervalometer container.
7. terminal according to claim 6, it is characterised in that the data structure of the intervalometer container
Information at least includes one:Triggered time, fixed time interval, maximum can accommodate the number of intervalometer.
8. the terminal according to claim 6 or 7, it is characterised in that the application determining module, tool
Body is used to search for all applications, obtains at least one application with intervalometer;
Whether described at least one application with intervalometer is determined according to the application protection white list that user is arranged
Alignment is needed to wake up, if described at least one applying in application protection white list with intervalometer,
Then determine that corresponding described at least one application with intervalometer need not align wake-up;
If described at least one application with intervalometer is not in application protection white list, it is determined that right
There is described at least one for answering the application of intervalometer to need alignment to wake up.
9. the terminal according to claim 6 or 7, it is characterised in that described to be stored in module is concrete to use
In by the intervalometer of at least one application for needing alignment to wake up according to it is pre-conditioned be stored in it is corresponding described
Intervalometer container;
It is described to be stored in the corresponding intervalometer container according to pre-conditioned, including:
Whether the fixed time interval for judging the intervalometer is less than or equal to the fixed time interval of the intervalometer container, if
The fixed time interval of the intervalometer is less than or equal to the fixed time interval of the intervalometer container, then by corresponding timing
Device is stored in same intervalometer container;
If the fixed time interval of the intervalometer more than the intervalometer container fixed time interval, by it is corresponding extremely
Intervalometer is stored in new intervalometer container;
Or, needing at least one intervalometer applied of alignment wake-up to be touched according to default also particularly useful for by described
Send out time difference and be stored in the corresponding intervalometer container;
The default triggered time difference of the basis is stored in the corresponding intervalometer container, including:
When the application is one, then the intervalometer of the application is added into current timer container;
When the application is multiple, a target timing device is determined in the intervalometer of the plurality of application,
Judge triggered time of the target timing device respectively with the difference in the triggered time of intervalometer other described, if
The difference is less than or equal to the default triggered time difference, then by the target timing device and corresponding timing
Device is stored in same intervalometer container;
If the difference is more than the default triggered time difference, the target timing device is stored in and new is determined
When device container.
10. the terminal according to claim 6 or 7, it is characterised in that the triggered time determines mould
Block, specifically for using the maximum triggered time of the intervalometer in the intervalometer container as described fixed
When device container triggered time.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510707957.4A CN106612538A (en) | 2015-10-27 | 2015-10-27 | Alignment wakeup method and alignment wakeup terminal |
PCT/CN2016/103118 WO2017071545A1 (en) | 2015-10-27 | 2016-10-24 | Wake-up alignment method, terminal, and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510707957.4A CN106612538A (en) | 2015-10-27 | 2015-10-27 | Alignment wakeup method and alignment wakeup terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106612538A true CN106612538A (en) | 2017-05-03 |
Family
ID=58614710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510707957.4A Withdrawn CN106612538A (en) | 2015-10-27 | 2015-10-27 | Alignment wakeup method and alignment wakeup terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106612538A (en) |
WO (1) | WO2017071545A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020048410A1 (en) * | 2018-09-07 | 2020-03-12 | 华为技术有限公司 | Aligned wakeup method and mobile device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8369304B2 (en) * | 2010-01-08 | 2013-02-05 | Samsung Electronics Co., Ltd. | Methods to reduce power for asynchronous internet message protocols |
US20140180457A1 (en) * | 2012-12-26 | 2014-06-26 | Anshuman Thakur | Electronic device to align audio flow |
CN104298515A (en) * | 2013-07-19 | 2015-01-21 | 贝壳网际(北京)安全技术有限公司 | Awakening control method and device for application program in mobile terminal and mobile terminal |
CN104239132B (en) * | 2014-09-16 | 2016-10-05 | 努比亚技术有限公司 | A kind of wake up the method for alignment, device and terminal up |
CN104536739A (en) * | 2014-12-17 | 2015-04-22 | 深圳市金立通信设备有限公司 | Method for arousing terminal system |
CN104571461A (en) * | 2014-12-17 | 2015-04-29 | 深圳市金立通信设备有限公司 | Terminal |
-
2015
- 2015-10-27 CN CN201510707957.4A patent/CN106612538A/en not_active Withdrawn
-
2016
- 2016-10-24 WO PCT/CN2016/103118 patent/WO2017071545A1/en active Application Filing
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020048410A1 (en) * | 2018-09-07 | 2020-03-12 | 华为技术有限公司 | Aligned wakeup method and mobile device |
CN110891328A (en) * | 2018-09-07 | 2020-03-17 | 华为技术有限公司 | Method and mobile device for aligning wake-up |
CN110891328B (en) * | 2018-09-07 | 2022-04-12 | 华为技术有限公司 | Method and mobile device for aligning wake-up |
Also Published As
Publication number | Publication date |
---|---|
WO2017071545A1 (en) | 2017-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11252665B2 (en) | Data transmission method, base station and terminal | |
US9378536B2 (en) | CPU/GPU DCVS co-optimization for reducing power consumption in graphics frame processing | |
CN104244381B (en) | Wake-up control method, device and terminal device | |
CN104811930B (en) | A kind of method for controlling network flow and system of mobile terminal | |
CN107426322A (en) | A kind of PUSH message target matching method, server, terminal and computer-readable recording medium | |
US20170109756A1 (en) | User Unsubscription Prediction Method and Apparatus | |
JP2018515822A (en) | Method and system for operating state coordination among multiple SOCs in a computing device | |
CN105530377B (en) | It is a kind of to wake up the processing method locked, apparatus and system | |
CN105264970A (en) | Method, device and mobile terminal for reducing power consumption | |
CN105843365A (en) | Sensor control method and device | |
CN110278601A (en) | A kind of terminal power saving method and device | |
CN104317611B (en) | Application rousing setting device and method and mobile terminal | |
US20140201317A1 (en) | Systems and Methods for Device-to-Cloud Message Delivery | |
TWI637616B (en) | Controling system and method for cache coherency | |
CN109992314A (en) | Data reporting method, device, terminal and storage medium | |
CN106412625A (en) | Multimedia synchronous playing method, device and system and terminal | |
CN106612538A (en) | Alignment wakeup method and alignment wakeup terminal | |
CN109992363A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN205490631U (en) | Novel energy -conserving wireless router | |
CN107608723A (en) | One kind application alignment awakening method, terminal and computer-readable recording medium | |
WO2016110011A1 (en) | Terminal, power saving method thereof, storage medium | |
CN104050100B (en) | A kind of data flow memory management method and system suitable for big data environment | |
CN110650546A (en) | File transmission method, device, storage medium and terminal | |
CN110045811B (en) | Application program processing method and device, electronic equipment and computer readable storage medium | |
Li et al. | Towards power efficient high performance packet I/O |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170503 |