CN103294512B - A kind of timer-delay starts method and system - Google Patents

A kind of timer-delay starts method and system Download PDF

Info

Publication number
CN103294512B
CN103294512B CN201310222424.8A CN201310222424A CN103294512B CN 103294512 B CN103294512 B CN 103294512B CN 201310222424 A CN201310222424 A CN 201310222424A CN 103294512 B CN103294512 B CN 103294512B
Authority
CN
China
Prior art keywords
time
delay
preset action
action
preset
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.)
Expired - Fee Related
Application number
CN201310222424.8A
Other languages
Chinese (zh)
Other versions
CN103294512A (en
Inventor
张寅祥
林志泳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310222424.8A priority Critical patent/CN103294512B/en
Publication of CN103294512A publication Critical patent/CN103294512A/en
Application granted granted Critical
Publication of CN103294512B publication Critical patent/CN103294512B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Measurement Of Predetermined Time Intervals (AREA)
  • Electric Clocks (AREA)

Abstract

The present invention proposes a kind of timer-delay and starts method, including step: obtain the start by set date time of each preset action;According to the described start by set date time, each described preset action was started in another time.The present invention also proposes a kind of timer-delay and starts system, it is possible to reduce the wake-up times of intervalometer, saves the electricity of intelligent terminal's battery.

Description

A kind of timer-delay starts method and system
Technical field
The present invention relates to timer-delay and start field, particularly relate to a kind of timer-delay start method and System.
Background technology
Current intelligent terminal, such as mobile phone, panel computer, often installs many third party softwares, these Third party software is in order to maintain the refresh data of self, or the unfriendly purpose for other, the most frequently Various intervalometer timing wake-up mobile phone is set, and starts self, refresh data, and do various after Platform processes.At present, the timer processing mode of intelligent terminal is: software can pass through management module of timer The intervalometer belonging to self is set, and pre-sets the action of correspondence;The time that intervalometer is arranged is arrived when the time Time, will perform to apply the action pre-seted.If it is more to arrange intervalometer and fixed in different time startup Time device, terminal so can be caused fairly frequently to be waken up, electric quantity consumption is fast.
Summary of the invention
It is an object of the invention to propose a kind of timer-delay and start method and system, it is possible to reduce intervalometer Wake-up times, save intelligent terminal's battery electricity.
The scheme used:
A kind of timer-delay starts method, including step:
Obtain the start by set date time of each preset action;
According to the described start by set date time, each described preset action was started in another time.
And, a kind of timer-delay starts system, including:
Acquiring unit, for obtaining the start by set date time of each preset action;
Delayed start unit, for according to the described start by set date time, by each described preset action at another Time starts.
The technology of the present invention, first obtains the start by set date time of each preset action;According to each start by set date Time, corresponding preset action was started in another time;During due to the start by set date of different preset actions Between different, difference is started the preset action of time in the same startup of another time, it is fixed to greatly reduce Time device wake-up times, save intelligent terminal's battery electricity.
Accompanying drawing explanation
Fig. 1 is an embodiment flow chart of the inventive method;
Fig. 2 is another embodiment flow chart of the inventive method;
Fig. 3 is a structural representation of present system;
Fig. 4 is another structural representation of present system;
Fig. 5 is a structural representation of present system.
Detailed description of the invention
Below the technology of the present invention is described in detail.
The present invention proposes a kind of timer-delay and starts method, and its flow chart refers to Fig. 1, including step:
S1, obtain start by set date time of each preset action;
Wherein, different preset actions, the different start by set date time is set;Preset action can be for Same application program is arranged, it is also possible to arrange for different application.
S2, according to the start by set date time, each preset action was started in another time.
Wherein, another it is late in the latest time of start by set date time each described.
The technology of the present invention, first obtains the start by set date time of each preset action;According to each start by set date Time, corresponding preset action was started in another time;During due to the start by set date of different preset actions Between different, difference is started the preset action of time in the same startup of another time, it is fixed to greatly reduce Time device wake-up times, save intelligent terminal's battery electricity.
Wherein in an embodiment, S2 step can be, but not limited to following steps:
Another time is obtained according to equation below;
Sm=T+ [Sn-(Sn%T)]
Wherein, SmIt it is another time of the n-th preset action;SnIt it is the start by set date of the n-th preset action Time;T is default time interval;Sn%T represents acquisition SnRemainder divided by T;Wherein it is possible to root Rationally arrange default time interval according to practical situation, this time interval preset can be a unique value;
Each preset action was started in another corresponding time.
It is described further with a concrete instance;The start by set date time of preset action A is 10:43, preset The start by set date time of action B is 10:42, and the start by set date time of preset action C is 10:41, presets Time interval be 5 minutes;Another time of the most corresponding preset action A is 10:45;Corresponding preset action B Another time be 10:45;Another time of corresponding preset action C is 10:45.
When being provided with the time interval of repeated priming for each preset action, for for different preset The repeated priming time interval that action is arranged may be inconsistent, if again opening according to respective repetition interval Dynamic corresponding preset action, equally meeting frequently annular intervalometer, power consumption rises;Fixed in order to reduce further Time device wake-up times, save further the electricity of intelligent terminal's battery, above-described embodiment can be changed as follows Enter:
When each preset action is provided with repeated priming time interval, according to repeated priming time interval with pre- If time interval, determine the repeated priming time interval after the delay of each preset action;
Concrete, determine that the process of the repeated priming time interval after delay is:
The repeated priming time interval after postponing is obtained according to equation below;
Nm=T+ [Nn-(Nn%T)]
Wherein, NmIt it is the repeated priming time interval after the delay of the n-th preset action;NnIt is n-th pre- Put the repeated priming time interval of action;Nn%T represents acquisition NnRemainder divided by T;
By each preset action after another corresponding time starts, the repeated priming time after postponing Interval, is again started up preset action.
It is described further with a concrete instance;The repeated priming time interval of preset action A is 6 minutes, The repeated priming time interval of preset action B is 7 minutes, and the repeated priming time interval of preset action C is 8 minutes, the time interval preset was 5 minutes;During repeated priming after the delay of the most corresponding preset action A Between be spaced apart 10 minutes;Repeated priming time interval after the delay of corresponding preset action B is 10 minutes; Repeated priming time interval after the delay of corresponding preset action C is 10 minutes.
In order to meet different application scenarios, those preset actions can be selected to need delay start according to condition, Which need not delay start, the concrete following steps that refer to:
According to the start by set date time, by each preset action before the step that another time starts, also wrap Include step:
Judge whether each preset action meets the delay start condition preset, the most then carry out according to timing The startup time, the step that each preset action was started in another time;If it is not, during then according to start by set date Between start correspondence preset action.
Wherein, the delay condition preset may is that
Preset action is system level action;Preset action is in white list;Fuzzy of preset denomination of dive Join Keyword List success.
For being more clearly understood that the technology of the present invention, the technology of above-described embodiment is done system introduction, refer to Fig. 2, Including step:
S201, the start by set date time that the preset action of application 1 is set and repeated priming time interval, setting Apply start by set date time and the repeated priming time interval ... of the preset action of 2, arrange application N's The start by set date time of preset action and repeated priming time interval;
S202, judge whether to need the preset action of delay start;
Judge that whether each preset action meets the delay start condition preset, the most then need to postpone preset Action, carries out step S203;If it is not, then need not postpone preset action, carry out step S207.
S203, obtain the delay of each preset action according to each start by set date time and default time interval The startup time;
Concrete mode is introduced in embodiment above, and here is omitted.
S204, when the delay start time reaches, start corresponding preset action;
S205, obtain repeating after postponing according to each repeated priming time interval and default time interval and open The dynamic time;
S206, starting after preset action, the repeated priming time after postponing, be again started up correspondence Preset action;
S207, the preset action that startup is corresponding when arriving each start by set date time.
Wherein, in Fig. 2 embodiment, the numbering of above-mentioned steps and description order are not intended that the limit to scheme System, those skilled in the art, logic can be realized according to therein, each step is carried out suitable tune Whole.
Wherein in an embodiment, above-mentioned steps S2 includes but not limited to following steps, including:
Search the predetermined time period residing for each start by set date time, obtain according to residing predetermined time period Another time corresponding to each start by set date time;Wherein, predetermined time period corresponding one another Time;Wherein, predetermined time period can be one, it is also possible to is multiple;
Corresponding preset action is started in another time.
Wherein, the time period is the some continuous time determined according to the time cycle of a time zone in segment Between section.It is said that in general, be all using one day 24 hours as the time cycle.Such as: made with one day 24 hours For the time cycle, the segment some continuous times determined may is that predetermined time period 1 for [0:00, 2:59], predetermined time period 2 is [3:00,5:59];Predetermined time period 3 is [6:00,9:59], Predetermined time period 4 is [10:00,13:59];Predetermined time period 5 is [14:00,17:59], in advance The fixed time period 6 is [18:00,21:59];Predetermined time period 7 is [22:00,23:59].
Wherein, another time is moment at the latest in predetermined time period;Or, after predetermined time period The a certain moment.
Concrete, it is described further with an object lesson, if the start by set date time of preset action A is 10: 43, the start by set date time of preset action B is 10:42, and the start by set date time of preset action C is 11: 41, predetermined time period 1 is [10:00,10:59], and predetermined time period 2 is [11:00,11:59]; Another time of corresponding predetermined time period 1 is 11:01;Another time of corresponding predetermined time period 2 is 12:00;Another time of the most corresponding preset action A is 11:01;Another time of corresponding preset action B is 11:01;Another time of corresponding preset action C is 12:00.
The invention allows for a kind of timer-delay and start system, its structural representation reference Fig. 3, including:
Acquiring unit, for obtaining the start by set date time of each preset action;
Delayed start unit, for according to the start by set date time, starts each preset action in another time.
The technology of the present invention, first obtains the start by set date time of each preset action;According to each start by set date Time, corresponding preset action was started in another time;During due to the start by set date of different preset actions Between different, difference is started the preset action of time in the same startup of another time, it is fixed to greatly reduce Time device wake-up times, save intelligent terminal's battery electricity.
Wherein in an embodiment, delayed start unit obtains another time according to equation below;
Sm=T+ [Sn-(Sn%T)]
Wherein, SmIt it is another time of the n-th preset action;SnIt it is the start by set date of the n-th preset action Time;T is default time interval;Sn%T represents acquisition SnRemainder divided by T;
Each preset action was started in another corresponding time.
When being provided with the time interval of repeated priming for each preset action, for for different preset The repeated priming time interval that action is arranged may be inconsistent, if again opening according to respective repetition interval Dynamic corresponding preset action, equally meeting frequently annular intervalometer, power consumption rises;Fixed in order to reduce further Time device wake-up times, save further the electricity of intelligent terminal's battery, above-described embodiment can be changed as follows Enter: starting system at timer-delay increases: repeated priming unit;Its structural representation reference Fig. 4,
When each preset action is provided with repeated priming time interval, repeated priming unit is according to repeated priming Time interval and the time interval preset, determine the repeated priming time interval after the delay of each preset action;
Repeated priming unit determines that the process of the repeated priming time interval after delay is:
The repeated priming time interval after postponing is obtained according to equation below;
Nm=T+ [Nn-(Nn%T)]
Wherein, NmIt it is the repeated priming time interval after the delay of the n-th preset action;NnIt is n-th pre- Put the repeated priming time interval of action;Nn%T represents acquisition NnRemainder divided by T;
Delayed start unit by each preset action after another corresponding time starts, after postponing Repeated priming time interval, repeated priming unit is again started up preset action.
In order to meet different application scenarios, those preset actions can be selected to need delay start according to condition, Which need not delay start, concrete, increases judging unit and action in timer-delay startup system Start unit;
Wherein, it is judged that whether each preset action of unit judges meets the delay start condition preset, if so, Then notice delayed start unit is according to the start by set date time, each preset action is started in another time;If No, then notification action start unit starts corresponding preset action according to the start by set date time.
Wherein in an embodiment, delayed start unit searches making a reservation for residing for each start by set date time Time period, obtain another time corresponding to each start by set date time according to residing predetermined time period; Wherein, predetermined time period corresponding another time;
Corresponding preset action is started in another time.
Wherein in an embodiment, the time period is the interval some continuous times determined according to the time cycle A time interval section in Duan.
Wherein in an embodiment, another time is moment at the latest in predetermined time period;Or, For a certain moment after predetermined time period.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, But therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that, for this area Those of ordinary skill for, without departing from the inventive concept of the premise, it is also possible to make some deformation and Improving, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be with appended Claim is as the criterion.

Claims (10)

1. timer-delay starts a method, it is characterized in that, including step:
Obtain the start by set date time of each preset action;
According to the described start by set date time, each described preset action was started in another time;
Described according to the start by set date time, each described preset action is included in the step that another time starts:
According to formula Sm=T+ [Sn-(Sn%T)] obtain another time described;Wherein, SmIt it is the n-th preset action Another time;SnIt it is the start by set date time of the n-th preset action;T is default time interval;Sn%T Represent and obtain SnRemainder divided by T;Each described preset action was started in another time described in correspondence;
Or
Described according to the start by set date time, each described preset action is included in the step that another time starts:
Search each predetermined time period residing for described start by set date time, according to the residing predetermined time Another time described that section each described start by set date time of acquisition is corresponding;Wherein, one described predetermined time Between another time described in corresponding one of section;Corresponding preset action is started in another time described.
Timer-delay the most according to claim 1 starts method, it is characterized in that, further comprises the steps of:
When action preset each described is provided with repeated priming time interval, according to the described repeated priming time Interval and described default time interval, determine the repeated priming time after the delay of each described preset action Interval;
The process determining the repeated priming time interval after described delay is:
The repeated priming time interval after described delay is obtained according to equation below;
Nm=T+ [Nn-(Nn%T)]
Wherein, NmIt it is the repeated priming time interval after the delay of the n-th preset action;NnIt is n-th preset The repeated priming time interval of action;Nn%T represents acquisition NnRemainder divided by T;
Described after by each, described preset action another time described in corresponding starts, through described delay After repeated priming time interval, be again started up described preset action.
Timer-delay the most according to claim 1 and 2 starts method, it is characterized in that, obtains described After taking the step of start by set date time of each preset action, further comprise the steps of:
Judge whether each described preset action meets the delay start condition preset, the most then carry out described According to start by set date time, the step that each described preset action was started in another time;If it is not, then press Corresponding preset action is started according to the described start by set date time.
Timer-delay the most according to claim 1 starts method, it is characterized in that,
The described time period is a time interval section in segment some continuous times.
Timer-delay the most according to claim 4 starts method, it is characterized in that,
Another time described is moment at the latest in described predetermined time period;Or, for described predetermined time Between a certain moment after section.
6. timer-delay starts a system, it is characterized in that, including:
Acquiring unit, for obtaining the start by set date time of each preset action;
Delayed start unit, for according to the described start by set date time, by each described preset action at another Time starts;
Described delayed start unit is according to formula Sm=T+ [Sn-(Sn%T)] obtain another time described;Wherein, Sm It it is another time of the n-th preset action;SnIt it is the start by set date time of the n-th preset action;T is default Time interval;Sn%T represents acquisition SnRemainder divided by T;
Each described preset action was started in another time described in correspondence;
Or
Described delayed start unit searches each predetermined time period residing for described start by set date time, according to Residing predetermined time period obtains another time described corresponding to each described start by set date time;Wherein, Another time described in one corresponding one of described predetermined time period;And start correspondence in another time described Preset action.
Timer-delay the most according to claim 6 starts system, it is characterized in that, described intervalometer prolongs Startup system also includes late: repeated priming unit;
When action preset each described is provided with repeated priming time interval, described repeated priming unit according to Described repeated priming time interval and described default time interval, determine the delay of each described preset action After repeated priming time interval;
The process of repeated priming time interval after described repeated priming unit determines described delay is:
The repeated priming time interval after described delay is obtained according to equation below;
Nm=T+ [Nn-(Nn%T)]
Wherein, NmIt it is the repeated priming time interval after the delay of the n-th preset action;NnIt is n-th preset The repeated priming time interval of action;Nn%T represents acquisition NnRemainder divided by T;
After at described delayed start unit, by each, described preset action another time described in corresponding starts, Repeated priming time interval after described delay, described repeated priming unit is again started up described preset dynamic Make.
8. start system according to the timer-delay described in claim 6 or 7, it is characterized in that, described timing Device delay start system also includes: judging unit and action launching unit;
Wherein, described judging unit judges whether each described preset action meets the delay start condition preset, The most then notify described delayed start unit according to the start by set date time, by each described preset action separately One time started;If it is not, then notify that described action launching unit starts correspondence according to the described start by set date time Preset action.
Timer-delay the most according to claim 6 starts system, it is characterized in that,
The described time period is a time interval section in segment some continuous times.
Timer-delay the most according to claim 9 starts system, it is characterized in that,
Another time described is moment at the latest in described predetermined time period;Or, for described predetermined time Between a certain moment after section.
CN201310222424.8A 2013-06-05 2013-06-05 A kind of timer-delay starts method and system Expired - Fee Related CN103294512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310222424.8A CN103294512B (en) 2013-06-05 2013-06-05 A kind of timer-delay starts method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310222424.8A CN103294512B (en) 2013-06-05 2013-06-05 A kind of timer-delay starts method and system

Publications (2)

Publication Number Publication Date
CN103294512A CN103294512A (en) 2013-09-11
CN103294512B true CN103294512B (en) 2016-08-10

Family

ID=49095449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310222424.8A Expired - Fee Related CN103294512B (en) 2013-06-05 2013-06-05 A kind of timer-delay starts method and system

Country Status (1)

Country Link
CN (1) CN103294512B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533184A (en) * 2013-10-30 2014-01-22 郭佳磊 Method for reducing standby power consumption of mobile phone
CN104714620B (en) * 2013-12-12 2019-02-15 中兴通讯股份有限公司 A kind of method and device adjusting intelligent terminal wakeup frequency
CN105334943B (en) * 2014-08-12 2020-04-03 中兴通讯股份有限公司 Method and terminal for intelligent grading alignment
CN105867577A (en) * 2015-12-04 2016-08-17 乐视移动智能信息技术(北京)有限公司 Terminal awakening method and terminal
CN106201729B (en) * 2016-06-29 2019-09-17 北京小米移动软件有限公司 Timer alignment schemes and device
CN106293709A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 The management method of application program, managing device and terminal
CN109324879B (en) * 2017-07-28 2022-04-22 华为技术有限公司 Method for managing trigger and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610566A (en) * 2008-06-19 2009-12-23 财团法人工业技术研究院 Dynamically adjust the system and the method thereof of the dormant/waking time course of radio network device
CN102117114A (en) * 2009-12-30 2011-07-06 重庆重邮信科通信技术有限公司 Electricity-saving method for embedded equipment
JP2013025746A (en) * 2011-07-26 2013-02-04 Nec Corp Server device, start control method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610566A (en) * 2008-06-19 2009-12-23 财团法人工业技术研究院 Dynamically adjust the system and the method thereof of the dormant/waking time course of radio network device
CN102117114A (en) * 2009-12-30 2011-07-06 重庆重邮信科通信技术有限公司 Electricity-saving method for embedded equipment
JP2013025746A (en) * 2011-07-26 2013-02-04 Nec Corp Server device, start control method, and program

Also Published As

Publication number Publication date
CN103294512A (en) 2013-09-11

Similar Documents

Publication Publication Date Title
CN103294512B (en) A kind of timer-delay starts method and system
CN104166542A (en) Method and device for detecting electricity consumption of application
CN107567083B (en) Method and device for performing power-saving optimization processing
CN104362403B (en) A kind of battery charging control method and device
CN106055077A (en) Wake-up lock-based processing method and device
CN108804231B (en) Memory optimization method and device, readable storage medium and mobile terminal
CN101707639B (en) Alarm clock setting method and device
CN106022108B (en) A kind of synchronization management method and terminal device
WO2007092423A8 (en) Power save system and method
CN102915192A (en) Method for adjusting standby time of screen and communication terminal
WO2017185624A1 (en) Alarm implementation method and device, and electronic device
CN103096434A (en) Method of terminal cell search
CN104023147B (en) A kind of method and system that make mobile terminal stablize dormancy
CN105388991A (en) Timing wake-up processing system and method
CN103188399A (en) Method, device and terminal for controlling alarm clock rings
CN107463435A (en) Application process priority management method, apparatus, storage medium and electronic equipment
CN105867577A (en) Terminal awakening method and terminal
CN105264970A (en) Method, device and mobile terminal for reducing power consumption
CN104427133B (en) Communication-terminal standby electricity-saving control method and control device
CN105095045A (en) Method and system for monitoring background service of Android system
CN109992375B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN103327161A (en) Terminal and rapid starting-up method
CN103631356B (en) A kind of method and electronic equipment of economize on electricity
CN105472160A (en) Alarm clock prompting method and terminal
CN1784025A (en) Method for searching network under no net state for mobile communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160810

CF01 Termination of patent right due to non-payment of annual fee