[go: up one dir, main page]

CN105955444A - Aligned wakeup method and apparatus - Google Patents

Aligned wakeup method and apparatus Download PDF

Info

Publication number
CN105955444A
CN105955444A CN201610260784.0A CN201610260784A CN105955444A CN 105955444 A CN105955444 A CN 105955444A CN 201610260784 A CN201610260784 A CN 201610260784A CN 105955444 A CN105955444 A CN 105955444A
Authority
CN
China
Prior art keywords
wake
intervalometer
application program
timer
wakes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610260784.0A
Other languages
Chinese (zh)
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.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201610260784.0A priority Critical patent/CN105955444A/en
Publication of CN105955444A publication Critical patent/CN105955444A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/461Saving or restoring of program or task context

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Abstract

本发明涉及一种对齐唤醒方法及装置,该对齐唤醒方法包括以下步骤:待机后,检测各应用程序的定时器唤醒状态;根据检测到的各应用程序的定时器唤醒状态判断应用程序定时器唤醒是否存在异常;若定时器唤醒正常,则按定时器唤醒时间唤醒系统,运行应用程序;若定时器唤醒异常,则将所有定时器唤醒异常应用程序的定时器唤醒时间设置为待机后固定时间;在所述固定时间的时刻点唤醒系统,运行各定时器唤醒异常的应用程序。该对齐唤醒方法既能够很好地节约终端待机耗电,达到省电的效果,又能够保证信息及时送达,实现了后台智能管理。此外,本发明还提出了一种对齐唤醒装置。

The invention relates to an alignment wake-up method and device. The alignment wake-up method includes the following steps: after standby, detecting the timer wake-up state of each application program; judging the application timer wake-up state according to the detected timer wake-up state of each application program Whether there is an abnormality; if the timer wakes up normally, wake up the system according to the timer wake-up time and run the application; if the timer wakes up abnormally, set the timer wake-up time of all timer wake-up abnormal applications to a fixed time after standby; The system is woken up at the fixed time point, and each timer wakes up an abnormal application program. The alignment wake-up method can not only save the terminal standby power consumption well, achieve the effect of saving power, but also ensure the timely delivery of information, and realize the background intelligent management. In addition, the present invention also proposes an alignment wake-up device.

Description

对齐唤醒方法及装置Alignment wake-up method and device

技术领域technical field

本发明涉及移动终端技术领域,特别是涉及一种对齐唤醒方法及装置。The present invention relates to the technical field of mobile terminals, in particular to an alignment wake-up method and device.

背景技术Background technique

随着终端技术的发展,各种智能操作系统都提供了定时器唤醒机制。为了避免不同的应用繁杂无序的唤醒终端系统,增加终端的待机功耗,近年来提出了对齐唤醒机制。目前,普遍采用的对齐唤醒方案都是延迟各个应用程序的定时器唤醒时间,然后集中所有定时器到一个时间点来触发终端系统,通过调整各应用程序的定时器唤醒时间,使各应用程序的定时器对齐唤醒终端系统,以达到待机时省电的效果。然而,该种方案会误导致一些正常的应用程序定时器不能准时唤醒系统,尤其是对于一些在待机后设置较少定时器唤醒次数的应用程序不能正常触发。With the development of terminal technology, various intelligent operating systems provide timer wake-up mechanisms. In order to avoid the complicated and disorderly wake-up of the terminal system by different applications and increase the standby power consumption of the terminal, an aligned wake-up mechanism has been proposed in recent years. At present, the commonly used alignment wake-up scheme is to delay the timer wake-up time of each application, and then gather all the timers to a time point to trigger the terminal system. By adjusting the timer wake-up time of each application, the The timer is aligned to wake up the terminal system to achieve the effect of saving power during standby. However, this solution will cause some normal application timers to fail to wake up the system on time, especially for some applications that set a small number of timer wakeup times after standby and cannot be triggered normally.

发明内容Contents of the invention

基于此,有必要针对传统对齐唤醒机制存在的不能准时唤醒正常定时器的问题,提供一种对齐唤醒方法及装置。Based on this, it is necessary to provide an aligned wake-up method and device for the problem that the traditional aligned wake-up mechanism cannot wake up the normal timer on time.

一种对齐唤醒方法,包括以下步骤:An alignment wake-up method, comprising the following steps:

待机后,检测各应用程序的定时器唤醒状态;After standby, detect the timer wake-up status of each application;

根据检测到的各应用程序的定时器唤醒状态判断应用程序定时器唤醒是否存在异常;According to the detected timer wake-up state of each application program, it is judged whether the application timer wake-up is abnormal;

若定时器唤醒正常,则按定时器唤醒时间唤醒系统,运行应用程序;If the timer wakes up normally, wake up the system according to the timer wakeup time and run the application program;

若定时器唤醒异常,则将所有定时器唤醒异常应用程序的定时器唤醒时间设置为待机后固定时间;If the timer wake-up is abnormal, set the timer wake-up time of all timer wake-up abnormal applications to a fixed time after standby;

在所述固定时间的时刻点唤醒系统,运行各定时器唤醒异常的应用程序。The system is woken up at the fixed time point, and each timer wakes up an abnormal application program.

在其中一个实施例中,在所述检测各应用程序的定时器唤醒状态步骤中,所述定时器唤醒状态包括在预设时间内定时器唤醒系统的唤醒次数。In one of the embodiments, in the step of detecting the timer wake-up status of each application program, the timer wake-up status includes the number of times the timer wakes up the system within a preset time.

在其中一个实施例中,所述根据检测到的各应用程序的定时器唤醒状态判断定时器唤醒是否存在异常的步骤包括以下步骤:In one of the embodiments, the step of judging whether the timer wake-up is abnormal according to the detected timer wake-up state of each application program includes the following steps:

判断应用程序的类型为定时唤醒程序或非定时唤醒程序;Determine the type of the application program as a scheduled wake-up program or a non-scheduled wake-up program;

若应用程序为定时唤醒程序,则将检测到的预设时间内定时器唤醒系统的唤醒次数与预先设定的第一预设定时器唤醒次数进行比较,若预设时间内定时器的唤醒次数大于或等于所述第一预设定时器唤醒次数,则该应用程序为定时器唤醒异常应用程序;若预设时间内定时器的唤醒次数小于第一预设定时器唤醒次数,该应用程序为定时器唤醒正常应用程序;If the application program is a regular wake-up program, compare the number of wake-ups detected by the timer within the preset time with the preset number of wake-ups of the first preset timer, if the number of wake-ups of the timer within the preset time If it is greater than or equal to the first preset timer wake-up times, then the application is an abnormal timer wake-up application; if the timer wake-up times within the preset time is less than the first preset timer wake-up times, the application is The timer wakes up the normal application;

若应用程序为非定时唤醒程序,则将检测到的预设时间内定时器唤醒系统的唤醒次数与预先设定的第二预设定时器唤醒次数进行比较,若预设时间内定时器的唤醒次数大于或等于所述第二预设定时器唤醒次数,则所述应用程序为定时器唤醒异常应用程序;若预设时间内定时器的唤醒次数小于第二预设定时器唤醒次数,所述应用程序为定时器唤醒正常应用程序。If the application program is a non-scheduled wake-up program, compare the number of wake-ups detected by the timer within the preset time with the second preset number of timer wake-ups, and if the timer wakes up within the preset time If the times are greater than or equal to the second preset timer wake-up times, the application is an abnormal timer wake-up application; if the timer wake-up times within the preset time is less than the second preset timer wake-up times, the The application wakes up the normal application for the timer.

在其中一个实施例中,在所述根据检测到的各应用程序的定时器唤醒状态判断应用程序定时器唤醒是否存在异常的步骤中包括以下步骤:若检测某应用程序的定时器唤醒状态失败,则所述应用程序为定时器唤醒异常应用程序。In one of the embodiments, the step of judging whether the timer wake-up of the application program is abnormal according to the detected timer wake-up status of each application program includes the following steps: if the detection of the timer wake-up status of an application program fails, Then the application program is an abnormal application program woken up by a timer.

在其中一个实施例中,在所述的在所述固定时间时刻点唤醒系统,运行各定时器唤醒异常的应用程序的步骤之前还包括以下步骤:在上一次唤醒结束至下一次唤醒前的时间间隔内,通过后台进程接管各定时器唤醒异常应用程序的通知信息。In one of the embodiments, the following step is further included before the step of waking up the system at the fixed time point and running the abnormal application program of each timer: In the interval, the background process takes over the notification information of each timer to wake up the abnormal application.

一种对齐唤醒装置,包括:An alignment wake-up device, comprising:

唤醒状态检测模块,用以检测各应用程序的定时器唤醒状态;The wake-up state detection module is used to detect the timer wake-up state of each application program;

唤醒异常判断模块,用以根据检测到的各应用程序的定时器唤醒状态判断应用程序定时器唤醒是否存在异常;A wake-up exception judging module, used to judge whether there is an abnormality in the wake-up of the timer of the application program according to the detected timer wake-up state of each application program;

对齐唤醒模块,用以将所有定时器唤醒异常应用程序的定时器唤醒时间设置为待机后固定时间;以及,The alignment wake-up module is used to set the timer wake-up time of all timer wake-up abnormal applications to a fixed time after standby; and,

唤醒触发模块,用以唤醒系统,运行应用程序。The wake-up trigger module is used to wake up the system and run the application program.

在其中一个实施例中,所述唤醒状态检测模块用以检测预设时间内定时器唤醒系统的唤醒次数。In one of the embodiments, the wake-up state detection module is used to detect the number of times the timer wakes up the system within a preset period of time.

在其中一个实施例中,所述唤醒异常判断模块包括:In one of the embodiments, the abnormal wake-up judging module includes:

应用程序类型判断子模块,用以判断应用程序的类型为定时唤醒程序或非定时唤醒程序;The application type judging sub-module is used to judge whether the type of the application is a regular wake-up program or a non-scheduled wake-up program;

存储子模块,用以存储预设时间、第一预设定时器唤醒次数和第二预设定时器唤醒次数;The storage submodule is used to store the preset time, the number of wake-up times of the first preset timer and the number of wake-up times of the second preset timer;

第一唤醒异常判断子模块,用以判断定时唤醒程序的定时器唤醒是否存在异常,若应用程序为定时唤醒程序,所述第一唤醒异常判断子模块将检测到的预设时间内定时器唤醒系统的唤醒次数与的第一预设定时器唤醒次数进行比较,若预设时间内定时器的唤醒次数大于或等于所述第一预设定时器唤醒次数,则该应用程序为定时器唤醒异常应用程序;若预设时间内定时器的唤醒次数小于第一预设定时器唤醒次数,该应用程序为定时器唤醒正常应用程序;The first wake-up abnormal judgment submodule is used to judge whether the timer wake-up of the regular wake-up program is abnormal. If the application program is a regular wake-up program, the first wake-up abnormal judgment sub-module will wake up the timer within the detected preset time The number of wake-ups of the system is compared with the number of wake-ups of the first preset timer. If the number of wake-ups of the timer within the preset time is greater than or equal to the number of wake-ups of the first preset timer, the application is a timer wake-up exception Application program; if the number of timer wake-ups within the preset time is less than the first preset timer wake-up times, the application program is a timer wake-up normal application program;

第二唤醒异常判断子模块,用以判断非定时唤醒程序的定时器唤醒是否存在异常,若应用程序为非定时唤醒程序,所述第二唤醒异常判断子模块将检测到的预设时间内定时器唤醒系统的唤醒次数与第二预设定时器唤醒次数进行比较,若预设时间内定时器的唤醒次数大于或等于所述第二预设定时器唤醒次数,则所述应用程序为定时器唤醒异常应用程序;若预设时间内定时器的唤醒次数小于第二预设定时器唤醒次数,所述应用程序为定时器唤醒正常应用程序。The second wake-up abnormal judgment sub-module is used to judge whether the timer wake-up of the non-scheduled wake-up program is abnormal. If the application program is a non-scheduled wake-up program, the second wake-up abnormal judgment sub-module will detect the preset time The number of times the system is woken up by the device is compared with the number of wake-ups of the second preset timer, if the number of wake-ups of the timer within the preset time is greater than or equal to the number of wake-ups of the second preset timer, the application is a timer Waking up an abnormal application program; if the number of wake-up times of the timer within the preset time is less than the second preset number of timer wake-up times, the application program is a normal application program woken up by the timer.

在其中一个实施例中,所述唤醒异常判断模块包括:In one of the embodiments, the abnormal wake-up judging module includes:

唤醒状态统计子模块,用以检测并统计预设时间内定时器唤醒系统的唤醒状态,若检测应用程序的定时器唤醒状态成功,则所述唤醒状态检测子模块统计预设时间内定时器唤醒系统的唤醒次数;若检测某应用程序的定时器唤醒状态失败,则所述唤醒状态检测子模块定义该应用程序为定时器唤醒异常应用程序。The wake-up state statistics sub-module is used to detect and count the wake-up state of the timer wake-up system within a preset time. If the detection of the timer wake-up state of the application is successful, the wake-up state detection sub-module counts the timer wake-up within the preset time The number of wake-up times of the system; if the timer wake-up state of an application fails to be detected, the wake-up state detection sub-module defines the application as an abnormal timer wake-up application.

在其中一个实施例中,所述对齐唤醒系统还包括通知信息管理模块,用以在上一次唤醒结束至下一次唤醒前的时间间隔内,通过后台进程接管各定时器唤醒异常应用程序的通知信息。In one of the embodiments, the alignment wake-up system further includes a notification information management module, which is used to take over the notification information of each timer wake-up abnormal application through the background process during the time interval from the end of the last wake-up to the next wake-up .

上述的对齐唤醒方法及装置,对设置过多定时器唤醒次数的应用程序做唤醒延迟处理,对正常定时器唤醒的应用程序不做延时处理,实现了对各应用程序的定时器唤醒次数的针对性管理,既保证了设置正常的应用程序能够准时唤醒系统,确保信息及时送达,又实现了对设置频繁唤醒次数的应用程序对齐唤醒,能够很好地节约终端待机耗电,达到省电的效果,实现后台智能管理。The above-mentioned alignment wake-up method and device perform wake-up delay processing on applications that have set too many timer wake-up times, and do not perform delay processing on applications that are woken up by normal timers, and realize the timer wake-up times of each application program. Targeted management not only ensures that applications with normal settings can wake up the system on time and timely delivery of information, but also realizes aligned wake-up of applications with frequent wake-up times, which can save terminal standby power consumption and achieve power saving The effect of realizing background intelligent management.

附图说明Description of drawings

图1为一个实施例中对齐唤醒方法的流程原理图;FIG. 1 is a schematic diagram of the flow of an alignment wake-up method in an embodiment;

图2为一个实施例中判断定时器唤醒是否存在异常的流程原理图;Fig. 2 is a flow schematic diagram for judging whether there is abnormality in timer wake-up in one embodiment;

图3为一个实施例中对齐唤醒装置的结构原理图;Fig. 3 is a structural schematic diagram of an alignment wake-up device in an embodiment;

图4为一个实施例中唤醒异常判断模块的结构原理图。Fig. 4 is a schematic structural diagram of a wake-up abnormality judging module in an embodiment.

具体实施方式detailed description

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

请参阅图1,一种对齐唤醒方法及系统,包括以下步骤:Please refer to Figure 1, an alignment wake-up method and system, including the following steps:

步骤102:待机后,检测各应用程序的定时器唤醒状态。Step 102: After standby, detect the timer wake-up status of each application program.

具体的,在本实施例中,定时器唤醒状态即待机后各应用程序在预设时间内定时唤醒系统的唤醒次数。Specifically, in this embodiment, the timer wake-up state refers to the number of wake-up times that each application program wakes up the system within a preset time after standby.

步骤104:根据检测到的各应用程序的定时器唤醒状态判断应用程序定时器唤醒是否存在异常。Step 104: According to the detected timer wake-up state of each application program, it is judged whether there is abnormality in the timer wake-up of the application program.

真正对齐唤醒的目的是为了达到省电效果,而终端耗电过多主要是由于某些应用频繁设置多次定时器唤醒使得待机时终端被唤醒的次数过多所致。因此,对检测到的各应用程序在预定的时间内定时唤醒系统的次数进行分类,如果应用程序唤醒系统的次数较少,则将应用程序划分为定时器唤醒正常应用程序,执行步骤106;如果该应用程序的唤醒系统的次数过多,则将应用程序划分为定时器唤醒异常应用程序,执行步骤108。The purpose of real alignment wake-up is to achieve power saving effect, and the excessive power consumption of the terminal is mainly due to the fact that some applications frequently set multiple timer wake-ups so that the terminal is woken up too many times during standby. Therefore, classify the number of times that each detected application program wakes up the system regularly within a predetermined time, if the number of times the application program wakes up the system is less, then the application program is divided into a normal application program that is awakened by a timer, and step 106 is performed; If the application program wakes up the system too many times, the application program is classified as an abnormal application program for timer wakeup, and step 108 is executed.

步骤106:若定时器唤醒正常,则按定时器唤醒时间唤醒系统,运行应用程序。Step 106: If the timer wakes up normally, wake up the system according to the timer wakeup time, and run the application program.

为了避免出现由于一些在待机后设置较少定时器唤醒次数的应用程序不能正常触发(如,正常应用程序只设置一次定时器唤醒,但是还是被延迟。)遭到投诉的现象,对于定时器唤醒正常的应用程序不做延时处理,应用程序按照定时器唤醒时间正常唤醒系统,通过后台进程推送通知信息,运行应用程序。In order to avoid the phenomenon that some applications that set fewer timer wake-up times after standby cannot be triggered normally (for example, normal applications only set a timer wake-up, but it is still delayed.) Complaints, for timer wake-up Normal applications do not do delay processing, the application normally wakes up the system according to the timer wake-up time, pushes the notification information through the background process, and runs the application.

在本实施例中,通过后台进程推送通知信息。具体的,根据应用程序的属性信息,在系统内建立与其对应的后台服务进程,通过后台服务进程建立与应用程序所属的服务器之间的通信链接。In this embodiment, notification information is pushed through a background process. Specifically, according to the attribute information of the application program, a corresponding background service process is established in the system, and a communication link with the server to which the application program belongs is established through the background service process.

步骤108:若定时器唤醒异常,则将所有定时器唤醒异常应用程序的定时器唤醒时间设置为待机后固定时间。Step 108: If the timer wake-up is abnormal, set the timer wake-up time of all timer wake-up abnormal applications to a fixed time after standby.

应用程序频繁唤醒系统会造成耗电过多,对于定时器唤醒异常的应用程序,不响应定时器唤醒对应的操作,并且强制设置定时器唤醒的后续响应的时间为待机后的固定时间,将所有定时器唤醒异常应用程序都延迟到固定时间唤醒系统,做对齐唤醒处理。Frequent wake-up of the system by the application program will cause excessive power consumption. For the application program with abnormal timer wake-up, it does not respond to the operation corresponding to the timer wake-up, and the subsequent response time of the timer wake-up is forced to be set as a fixed time after standby. Abnormal timer wake-up applications are delayed until a fixed time to wake up the system, and do alignment wake-up processing.

固定时间的时长可根据实际需要进行具体设置,例如可以为30分钟,1小时,2小时等,综合考虑能够同时兼顾待机省电和通知信息的及时到达即可。另外,还可以结合用户的日常使用情况,按一定的分布情况综合分析得出适合于用户习惯的固定时间。The length of the fixed time can be specifically set according to actual needs, for example, it can be 30 minutes, 1 hour, 2 hours, etc., taking into account the power saving of standby and the timely arrival of notification information at the same time. In addition, combined with the daily use of the user, a fixed time suitable for the user's habit can be obtained through comprehensive analysis according to a certain distribution.

步骤110:在固定时间的时刻点唤醒系统,运行各定时器唤醒异常的应用程序。Step 110: wake up the system at a fixed time point, and run the abnormal application programs waked up by each timer.

本实施例中,通过后台进程推送通知信息,运行应用程序。根据应用程序的属性信息,在系统内建立与其对应的后台服务进程,通过后台服务进程建立与应用程序所属的服务器之间的通信链接。In this embodiment, the notification information is pushed through the background process to run the application program. According to the attribute information of the application program, a corresponding background service process is established in the system, and a communication link with the server to which the application program belongs is established through the background service process.

具体的,当系统时刻运行到固定时间时刻点时,所有被延时的定时器唤醒异常应用程序在该时刻同时唤醒系统,后台进程推送各定时器唤醒异常应用程序的通知信息,运行定时器唤醒异常的应用程序。当再次运行到下一次固定时间时的刻点时,系统被再次唤醒,此时,后台进程推送在上一次唤醒时刻点到本次唤醒时刻点的时间间隔内各定时器唤醒异常应用程序的通知信息,运行定时器唤醒异常的应用程序。Specifically, when the system runs to a fixed time point, all the delayed timer wake-up abnormal applications wake up the system at the same time, the background process pushes the notification information of each timer wake-up abnormal application, and the running timer wakes up Unusual application. When running again to the next fixed time point, the system is woken up again. At this time, the background process pushes the notification that each timer wakes up the abnormal application in the time interval from the last wake up time point to the current wake up time point. information, the running timer wakes up the abnormal application.

在本实施例中,上述对齐唤醒方法对设置过多定时器唤醒次数的应用做延迟处理,对正常定时器唤醒的应用不做延时处理,实现了对各应用的定时器唤醒次数的针对性管理,既保证了设置正常的应用能够准时唤醒,又实现了对设置频繁唤醒次数的应用程序对齐唤醒,能够很好地节约终端待机耗电,达到省电的效果,且有效保证信息及时送达,实现了后台智能管理。In this embodiment, the above-mentioned aligned wake-up method delays the application with too many timer wake-up times, and does not delay the normal timer wake-up application, realizing the pertinence of the timer wake-up times of each application Management, which not only ensures that the applications with normal settings can wake up on time, but also realizes the aligned wake-up of applications with frequent wake-up times, which can save terminal standby power consumption, achieve power-saving effects, and effectively ensure timely delivery of information , to achieve the background intelligent management.

在一个实施例中,在检测各应用程序的定时器唤醒状态步骤中,定时器唤醒状态包括在预设时间内定时器唤醒系统的唤醒次数。In one embodiment, in the step of detecting the timer wake-up status of each application program, the timer wake-up status includes the number of times the timer wakes up the system within a preset time.

具体的,上述的预设时间设置为10分钟~60分钟,在一个较佳实施例中,预设时间为30分钟。预设时间的长短需要从待机耗电量和定时器唤醒状态检测准确性两方面考虑,如果预设时间过短,会导致检测不全面,一方面可能在较短的时间内检测到各应用程序的定时器唤醒次数都较少,干扰后续定时器唤醒异常判断;另一方面,还有可能出现某些程序的定时器还没来得及唤醒而检测就结束了,造成检测遗漏,影响定时器唤醒状态的准确性。因此,需要设置时长合适的预设时间,本实施例中的预设时间时长既能够满足节省待机耗电量的要求,也能够有效保证定时器唤醒状态检测的准确性。Specifically, the aforementioned preset time is set to 10 minutes to 60 minutes, and in a preferred embodiment, the preset time is 30 minutes. The length of the preset time needs to be considered from the two aspects of standby power consumption and timer wake-up state detection accuracy. If the preset time is too short, the detection will be incomplete. On the one hand, each application may be detected in a short period of time. The number of timer wake-up times is small, which interferes with the abnormal judgment of the subsequent timer wake-up; accuracy. Therefore, it is necessary to set a preset time with an appropriate duration. The preset time in this embodiment can not only meet the requirement of saving standby power consumption, but also effectively ensure the accuracy of timer wake-up state detection.

如图2所示,在一个实施例中,根据检测到的各应用程序的定时器唤醒状态判断定时器唤醒是否存在异常的步骤包括以下步骤:As shown in Figure 2, in one embodiment, the step of judging whether there is abnormality in the timer wake-up according to the detected timer wake-up state of each application program includes the following steps:

104a:判断应用程序的类型为定时唤醒程序或非定时唤醒程序。104a: Determine whether the type of the application program is a scheduled wake-up program or a non-scheduled wake-up program.

具体的,应用程序包括定时唤醒程序和非定制唤醒程序两种类型,定时唤醒的应用程序会按照定时器设定的时间定时唤醒系统,非定时唤醒的应用程序唤醒系统的时间不是固定的,很多时候可能会即时性的唤醒系统(如微信),针对不同唤醒类型的应用程序,需要设置不同的异常判断条件,以保证定时器唤醒的及时性。Specifically, the application program includes two types: scheduled wake-up program and non-customized wake-up program. The scheduled wake-up application program will wake up the system according to the time set by the timer. Sometimes the system (such as WeChat) may be woken up immediately. For different wake-up types of applications, different exception judgment conditions need to be set to ensure the timeliness of timer wake-up.

104b:若应用程序为定时唤醒程序,则将检测到的预设时间内定时器唤醒系统的唤醒次数与预先设定的第一预设定时器唤醒次数进行比较,若预设时间内定时器的唤醒次数大于或等于第一预设定时器唤醒次数,则该应用程序为定时器唤醒异常应用程序;否则,若预设时间内定时器的唤醒次数小于第一预设定时器唤醒次数,该应用程序为定时器唤醒正常应用程序。104b: If the application program is a regular wake-up program, compare the detected wake-up times of the timer wake-up system within the preset time with the first preset timer wake-up times, if the timer wake-up times within the preset time If the number of wake-up times is greater than or equal to the first preset timer wake-up times, then the application is a timer wake-up abnormal application; otherwise, if the timer wake-up times within the preset time is less than the first preset timer wake-up times, the application The program is a timer to wake up the normal application.

具体的,上述的第一预设定时器唤醒次数为3次~5次,在一个较佳实施例中,第一预设定时器唤醒次数为4次。如,在一个施例中,如果检测到某定时唤醒应用程序在30分钟内唤醒系统达到4次,则对该应用程序的定时器唤醒时间做延迟处理,调整定时器唤醒时间为固定时间。Specifically, the number of wake-ups by the first preset timer is 3 to 5 times, and in a preferred embodiment, the number of wake-ups by the first preset timer is 4 times. For example, in one embodiment, if it is detected that a certain timer wake-up application wakes up the system 4 times within 30 minutes, the timer wake-up time of the application is delayed, and the timer wake-up time is adjusted to a fixed time.

104c:若应用程序为非定时唤醒程序,则将检测到的预设时间内定时器唤醒系统的唤醒次数与预先设定的第二预设定时器唤醒次数进行比较,若预设时间内定时器的唤醒次数大于或等于第二预设定时器唤醒次数,则该应用程序为定时器唤醒异常应用程序;否则,若预设时间内定时器的唤醒次数小于第二预设定时器唤醒次数,该应用程序为定时器唤醒正常应用程序。104c: If the application program is a non-scheduled wake-up program, compare the detected wake-up times of the timer wake-up system within the preset time with the preset second preset timer wake-up times, if the timer wakes up within the preset time If the wake-up times of the timer is greater than or equal to the second preset timer wake-up times, the application program is a timer wake-up abnormal application program; otherwise, if the timer wake-up times within the preset time is less than the second preset timer wake-up times, the application program The application wakes up the normal application for the timer.

具体的,上述的第二预设定时器唤醒次数为6次~9次,在一个较佳实施例中,第二预设定时器唤醒次数为7次。如,在一个施例中,如果检测到某非定时唤醒应用程序在30分钟内唤醒系统达到7次,则对该应用程序的定时器唤醒时间做延迟处理,调整定时器唤醒时间为固定时间。Specifically, the aforementioned second preset timer wake-up times are 6 to 9 times, and in a preferred embodiment, the second preset timer wake-up times are 7 times. For example, in one embodiment, if it is detected that a non-scheduled wake-up application wakes up the system 7 times within 30 minutes, the timer wake-up time of the application is delayed, and the timer wake-up time is adjusted to a fixed time.

在本实施例中,对于定时唤醒程序和非定时唤醒程序设置了不同的异常判断条件,由于非定时唤醒程序的唤醒时间不固定,并且,大多数非定时唤醒程序的通知信息多为即时性信息,为保证信息送达的及时性,设置第二预设定时器唤醒次数大于第一预设定时器唤醒次数。同时,本实施例在每次待机后均进行定时器唤醒异常的判断,能够有效保证准确检测非定时唤醒程序在每次待机时的定时器唤醒次数,从而能够针对每次待机的实时情况做出最适合的对齐唤醒方案。In this embodiment, different abnormal judgment conditions are set for the scheduled wake-up program and the non-scheduled wake-up program, because the wake-up time of the non-scheduled wake-up program is not fixed, and the notification information of most non-scheduled wake-up programs is mostly instant information , in order to ensure the timeliness of information delivery, the number of wake-ups of the second preset timer is set to be greater than the number of wake-ups of the first preset timer. Simultaneously, this embodiment all carries out timer wake-up abnormality judgment after each standby, can effectively ensure the accurate detection of the number of timer wake-ups of non-scheduled wake-up program in each standby, thereby can make a decision according to the real-time situation of each standby. The most suitable alignment wake-up scheme.

在一个实施例中,在上述的在固定时间的时刻点唤醒系统,运行各定时器唤醒异常的应用程序的步骤之前还包括以下步骤:在上一次唤醒结束至下一次唤醒前的时间间隔内,通过后台进程接管各定时器唤醒异常应用程序的通知信息。In one embodiment, before the above step of waking up the system at a fixed time point and running the timers to wake up abnormal applications, the following steps are further included: within the time interval between the end of the last wakeup and before the next wakeup, The background process takes over the notification information of each timer to wake up the abnormal application.

例如,固定时间设置为30分钟的固定时长,则在30分钟的间隔内,所有所接收到定时器唤醒异常应用程序的通知信息都交由后台进程接管。具体的,系统根据应用程序的通知信息需求确定资源需求,为与应用程序对应的后台服务进程分配固定的内存空间,根据所述内存空间预设相应的缓存空间存储通知信息。在一个实施例中,后台服务进程还进行内存空间的整理和清空操作,当应用程序在固定时间的时刻点唤醒系统,通过后台进程推送通知信息后,后台进程整理内存空间,并清空缓存空间。For example, if the fixed time is set to a fixed duration of 30 minutes, within the interval of 30 minutes, all received notification information about abnormal application wakeup by the timer will be handed over to the background process to take over. Specifically, the system determines the resource requirement according to the notification information requirements of the application program, allocates a fixed memory space for the background service process corresponding to the application program, and presets a corresponding cache space to store notification information according to the memory space. In one embodiment, the background service process also organizes and clears the memory space. When the application program wakes up the system at a fixed time point and pushes notification information through the background process, the background process organizes the memory space and clears the cache space.

在一个实施例中,在根据检测到的各应用程序的定时器唤醒状态判断应用程序定时器唤醒是否存在异常的步骤中还包括以下步骤:若检测某应用程序的定时器唤醒状态失败,则该应用程序为定时器唤醒异常应用程序。In one embodiment, the step of judging whether the timer wake-up of the application program is abnormal according to the detected timer wake-up status of each application program further includes the following steps: if the detection of the timer wake-up status of an application program fails, the The application wakes up the abnormal application for the timer.

不同的应用程序,所采用的编译方式以及编译规则各不相同,且应用程序运行过程中也有可能出现运行异常情况,因此,可能会出现无法采集某个应用程序的唤醒时间的情况,本实施例中,若检测某应用程序的定时器唤醒状态失败,则将该应用程序划分为定时器唤醒异常应用程序,将该应用程序的定时器唤醒时间设置为固定时间。Different applications have different compilation methods and compilation rules, and abnormal operation may also occur during the running of the application. Therefore, it may not be possible to collect the wake-up time of an application. In this method, if the timer wake-up state of an application fails to be detected, the application is classified as an abnormal timer wake-up application, and the timer wake-up time of the application is set to a fixed time.

在一个实施例中,在上述的步骤108和步骤110之间还包括以下步骤:在未到达固定时间时刻点时用户结束待机,所有被延迟的应用程序结束延迟唤醒,发送通知信息。In one embodiment, the following steps are further included between the above step 108 and step 110: before reaching the fixed time point, the user ends the standby, all delayed applications end the delayed wakeup, and send notification information.

如果用户在没有到达固定时间时刻点时提前结束待机,那么所有被延迟至固定时间时刻点唤醒的应用程序均在待机结束时刻发送通知信息,运行应用程序,以保证信息及时送达。If the user ends the standby in advance before reaching the fixed time point, all applications that are delayed until the fixed time point wake up will send a notification message at the end of the standby time and run the application program to ensure that the information is delivered in time.

如图3所示,其为一个实施例中对齐唤醒系统的结构原理图。As shown in FIG. 3 , it is a schematic structural diagram of an alignment wake-up system in an embodiment.

一种对齐唤醒装置,包括:An alignment wake-up device, comprising:

唤醒状态检测模块302,用以检测各应用程序的定时器唤醒状态。The wakeup state detection module 302 is configured to detect the timer wakeup state of each application program.

唤醒异常判断模块304,用以根据检测到的各应用程序的定时器唤醒状态判断应用程序定时器唤醒是否存在异常。The wake-up exception judging module 304 is configured to judge whether the timer wake-up of the application program is abnormal according to the detected timer wake-up state of each application program.

对齐唤醒模块306,用以将所有定时器唤醒异常应用程序的定时器唤醒时间设置为待机后固定时间。The alignment wake-up module 306 is configured to set the timer wake-up time of all timer wake-up abnormal applications as a fixed time after standby.

唤醒触发模块308,用以唤醒系统,运行应用程序。The wake-up trigger module 308 is used to wake up the system and run the application program.

在一个实施例中,唤醒状态检测模块302用以检测预设时间内定时器唤醒系统的唤醒次数。In one embodiment, the wake-up state detection module 302 is used to detect the number of wake-up times of the timer wake-up system within a preset time.

在一个实施例中,唤醒异常判断模块304包括:应用程序类型判断子模块,用以判断应用程序的类型为定时唤醒程序或非定时唤醒程序。存储子模块,用以存储预设时间、第一预设定时器唤醒次数和第二预设定时器唤醒次数。第一唤醒异常判断子模块,用以判断定时唤醒程序的定时器唤醒是否存在异常,若应用程序为定时唤醒程序,所述第一唤醒异常判断子模块将检测到的预设时间内定时器唤醒系统的唤醒次数与的第一预设定时器唤醒次数进行比较,若预设时间内定时器的唤醒次数大于或等于所述第一预设定时器唤醒次数,则该应用程序为定时器唤醒异常应用程序;若预设时间内定时器的唤醒次数小于第一预设定时器唤醒次数,该应用程序为定时器唤醒正常应用程序。第二唤醒异常判断子模块,用以判断非定时唤醒程序的定时器唤醒是否存在异常,若应用程序为非定时唤醒程序,所述第二唤醒异常判断子模块将检测到的预设时间内定时器唤醒系统的唤醒次数与第二预设定时器唤醒次数进行比较,若预设时间内定时器的唤醒次数大于或等于所述第二预设定时器唤醒次数,则所述应用程序为定时器唤醒异常应用程序;若预设时间内定时器的唤醒次数小于第二预设定时器唤醒次数,所述应用程序为定时器唤醒正常应用程序。In one embodiment, the wake-up exception judging module 304 includes: an application type judging sub-module, configured to judge whether the type of the application is a scheduled wake-up program or a non-scheduled wake-up program. The storage sub-module is used to store the preset time, the number of wake-ups of the first preset timer and the number of wake-ups of the second preset timer. The first wake-up abnormal judgment submodule is used to judge whether the timer wake-up of the regular wake-up program is abnormal. If the application program is a regular wake-up program, the first wake-up abnormal judgment sub-module will wake up the timer within the detected preset time The number of wake-ups of the system is compared with the number of wake-ups of the first preset timer. If the number of wake-ups of the timer within the preset time is greater than or equal to the number of wake-ups of the first preset timer, the application is a timer wake-up exception An application program; if the number of timer wake-ups within the preset time is less than the first preset timer wake-up times, the application program is a timer wake-up normal application program. The second wake-up abnormal judgment sub-module is used to judge whether the timer wake-up of the non-scheduled wake-up program is abnormal. If the application program is a non-scheduled wake-up program, the second wake-up abnormal judgment sub-module will detect the preset time The number of times the system is woken up by the device is compared with the number of wake-ups of the second preset timer, if the number of wake-ups of the timer within the preset time is greater than or equal to the number of wake-ups of the second preset timer, the application is a timer Waking up an abnormal application program; if the number of wake-up times of the timer within the preset time is less than the second preset number of timer wake-up times, the application program is a normal application program woken up by the timer.

在一个实施例中,唤醒异常判断模块304还包括唤醒状态统计子模块,唤醒状态统计子模块用以检测并统计预设时间内定时器唤醒系统的唤醒状态,若检测应用程序的定时器唤醒状态成功,则所述唤醒状态检测子模块统计预设时间内定时器唤醒系统的唤醒次数;若检测某应用程序的定时器唤醒状态失败,则所述唤醒状态检测子模块定义该应用程序为定时器唤醒异常应用程序。In one embodiment, the wake-up abnormal judgment module 304 also includes a wake-up state statistics sub-module, which is used to detect and count the wake-up state of the timer wake-up system within a preset time, if the timer wake-up state of the application is detected If successful, the wake-up state detection submodule counts the number of times the timer wakes up the system within the preset time; if the timer wake-up state of an application fails to be detected, the wake-up state detection submodule defines the application as a timer Wake up the abnormal application.

以下结合附图列举优选实施例对上述的唤醒异常判断模块304进行具体说明。如图4所示,在一个实施例中,上述的唤醒异常判断模块304包括:The following describes the above-mentioned wake-up abnormality judging module 304 in detail by enumerating preferred embodiments with reference to the accompanying drawings. As shown in FIG. 4, in one embodiment, the above-mentioned wake-up abnormal judgment module 304 includes:

应用程序类型判断子模块304a,用以判断应用程序的类型为定时唤醒程序或非定时唤醒程序。The application type judging sub-module 304a is used for judging whether the type of the application is a scheduled wake-up program or a non-scheduled wake-up program.

存储子模块304b,用以存储预设时间、第一预设定时器唤醒次数和第二预设定时器唤醒次数。The storage sub-module 304b is used for storing the preset time, the first preset timer wake-up times and the second preset timer wake-up times.

具体的,预设时间设置为10分钟~60分钟,在一个较佳实施例中,预设时间为30分钟。第一预设定时器唤醒次数为3次~5次,在一个较佳实施例中,第一预设定时器唤醒次数为4次。第二预设定时器唤醒次数为6次~9次,在一个较佳实施例中,第二预设定时器唤醒次数为7次。Specifically, the preset time is set to 10 minutes to 60 minutes, and in a preferred embodiment, the preset time is 30 minutes. The number of wake-ups by the first preset timer is 3 to 5 times, and in a preferred embodiment, the number of wake-ups by the first preset timer is 4 times. The second preset timer wake-up times are 6 to 9 times, and in a preferred embodiment, the second preset timer wake-up times are 7 times.

唤醒状态统计子模块304c,用以检测并统计预设时间内定时器唤醒系统的唤醒状态。The wake-up state statistics sub-module 304c is used to detect and count the wake-up state of the timer wake-up system within a preset time.

具体的,唤醒状态检测子模块304c检测并统计30分钟内定时器唤醒系统的唤醒次数。若检测应用程序的定时器唤醒状态成功,则统计30分钟内定时器唤醒系统的唤醒次数;若检测某应用程序的定时器唤醒状态失败,则定义该应用程序为定时器唤醒异常应用程序。Specifically, the wake-up state detection sub-module 304c detects and counts the number of wake-up times of the timer wake-up system within 30 minutes. If the detection of the timer wake-up status of the application is successful, count the number of times the timer wakes up the system within 30 minutes; if the detection of the timer wake-up status of an application fails, define the application as an abnormal timer wake-up application.

第一唤醒异常判断子模块304d,用以判断定时唤醒程序的定时器唤醒是否存在异常。The first wake-up exception judging sub-module 304d is used for judging whether there is an exception in the timer wake-up of the regular wake-up program.

具体的,第一唤醒异常判断子模块304d将唤醒状态检测子模块304c检测到的30分钟内定时唤醒程序的定时器唤醒系统的唤醒次数与预先设定的第一预设定时器唤醒次数进行比较,若30分钟内定时器的唤醒次数大于或等于4次,则该应用程序为定时器唤醒异常应用程序;若30分钟内定时器的唤醒次数小于4次,该应用程序为定时器唤醒正常应用程序。Specifically, the first wake-up abnormality judgment sub-module 304d compares the number of wake-up times detected by the wake-up state detection sub-module 304c within 30 minutes of the timer wake-up system of the timed wake-up program with the preset first preset timer wake-up times , if the number of timer wakeups within 30 minutes is greater than or equal to 4 times, the application is an abnormal application for timer wakeup; if the number of timer wakeups within 30 minutes is less than 4 times, the application is a normal application for timer wakeup program.

第二唤醒异常判断子模块304e,用以判断非定时唤醒程序的定时器唤醒是否存在异常。The second wake-up exception judging sub-module 304e is used for judging whether there is an exception in the timer wake-up of the non-scheduled wake-up procedure.

具体的,第二唤醒异常判断子模块304e将唤醒状态检测子模块304c检测到的30分钟内非定时唤醒程序的定时器唤醒系统的唤醒次数与预先设定的第二预设定时器唤醒次数进行比较,若30分钟内定时器的唤醒次数大于或等于7次,则应用程序为定时器唤醒异常应用程序;若30分钟内定时器的唤醒次数小于7次,应用程序为定时器唤醒正常应用程序。Specifically, the second wake-up abnormal judgment sub-module 304e compares the number of wake-up times detected by the wake-up state detection sub-module 304c within 30 minutes of the timer wake-up system of the non-scheduled wake-up program with the preset second preset timer wake-up times. In comparison, if the number of timer wakeups within 30 minutes is greater than or equal to 7 times, the application is a timer wakeup abnormal application; if the number of timer wakeups within 30 minutes is less than 7 times, the application is a timer wakeup normal application .

在一个实施例中,上述的对齐唤醒装置还包括:通知信息管理模块,用以在上一次唤醒结束至下一次唤醒前的时间间隔内,通过后台进程接管各定时器唤醒异常应用程序的通知信息。In one embodiment, the above-mentioned alignment wake-up device further includes: a notification information management module, used to take over the notification information of each timer wake-up abnormal application program through the background process within the time interval from the end of the last wake-up to the next wake-up .

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, should be considered as within the scope of this specification.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the patent scope of the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.

Claims (10)

1. an alignment awakening method, it is characterised in that comprise the following steps:
After standby, detect the intervalometer wake-up states of each application program;
Intervalometer wake-up states according to each application program detected judges whether application program intervalometer wakes up up Exist abnormal;
If intervalometer wakes up up normally, then wake up system up by intervalometer wakeup time, run application program;
If intervalometer wakes up exception up up, then all intervalometers are waken up the intervalometer wakeup time of abnormal application program It is set to the standby rear set time;
Moment point in the described set time wakes up system up, runs each intervalometer and wakes up abnormal application program up.
Alignment awakening method the most according to claim 1, it is characterised in that in each application of described detection In the intervalometer wake-up states step of program, described intervalometer wake-up states is included in intervalometer in Preset Time Wake up the wake-up times of system up.
Alignment awakening method the most according to claim 2, it is characterised in that described basis detects The intervalometer wake-up states of each application program judges that intervalometer wakes up up and whether there is abnormal step and include following step Rapid:
The type judging application program is timing wake-up program or non-timed wake up procedure;
If application program is timing wake-up program, then in the Preset Time that will detect, intervalometer wakes up system up Wake-up times compares with the first preset timer wake-up times set in advance, if timing in Preset Time The wake-up times of device is more than or equal to described first preset timer wake-up times, then this application program is timing Device wakes up abnormal application program up;If the wake-up times of intervalometer is called out less than the first preset timer in Preset Time Awake number of times, this application program is that intervalometer wakes up normal application up;
If application program is non-timed wake up procedure, then in the Preset Time that will detect, intervalometer wakes up system up Wake-up times compare, if Preset Time is decided at the higher level but not officially announced with the second preset timer wake-up times set in advance Time device wake-up times more than or equal to described second preset timer wake-up times, the most described application program is Intervalometer wakes up abnormal application program up;If the wake-up times of intervalometer is presetting less than second in Preset Time Device wake-up times, described application program is that intervalometer wakes up normal application up.
Alignment awakening method the most according to claim 1, it is characterised in that detect in described basis The intervalometer wake-up states of each application program judge that application program intervalometer wakes up up and whether there is abnormal step In comprise the following steps: if detect certain application program intervalometer wake-up states failure, the most described application program Abnormal application program is waken up up for intervalometer.
Alignment awakening method the most according to claim 1, it is characterised in that described described solid Moment point of fixing time wakes up system up, also includes before running the step that each intervalometer wakes up abnormal application program up Following steps: upper once wake up up terminate on once wake up up before time interval in, connect by background process Manage each intervalometer and wake up the announcement information of abnormal application program up.
6. an alignment Rouser, it is characterised in that including:
Wake-up states detection module, in order to detect the intervalometer wake-up states of each application program;
Wake up abnormal judge module up, judge in order to the intervalometer wake-up states according to each application program detected Application program intervalometer wakes up whether there is exception up;
Alignment wake module, sets in order to all intervalometers to wake up up the intervalometer wakeup time of abnormal application program It is set to the standby rear set time;And,
Wake-up trigger module, in order to wake up system up, runs application program.
Alignment Rouser the most according to claim 6, it is characterised in that described wake-up states detects Module wakes up the wake-up times of system up in order to detect intervalometer in Preset Time.
Alignment Rouser the most according to claim 7, it is characterised in that described in wake up abnormal judgement up Module includes:
Application Type judges submodule, in order to judge that the type of application program is timing wake-up program or non- Timing wake-up program;
Sub module stored, presetting in order to store Preset Time, the first preset timer wake-up times and second Time device wake-up times;
Whether first wakes up exception up judges submodule, exist in order to judge that the intervalometer of timing wake-up program wakes up up Abnormal, if application program is timing wake-up program, described first wakes up up and abnormal judges that submodule will detect In Preset Time intervalometer wake up up the wake-up times of system with the first preset timer wake-up times compare Relatively, if the wake-up times of intervalometer is more than or equal to described first preset timer wake-up times in Preset Time, Then this application program is that intervalometer wakes up abnormal application program up;If the wake-up times of intervalometer is little in Preset Time In the first preset timer wake-up times, this application program is that intervalometer wakes up normal application up;
Whether second wakes up exception up judges submodule, deposit in order to judge that the intervalometer of non-timed wake up procedure wakes up up In exception, if application program is non-timed wake up procedure, described second wakes up exception up judges that submodule will detection To Preset Time in intervalometer wake up the wake-up times of system up and compare with the second preset timer wake-up times Relatively, if the wake-up times of intervalometer is more than or equal to described second preset timer wake-up times in Preset Time, The most described application program is that intervalometer wakes up abnormal application program up;If the wake-up times of intervalometer in Preset Time Less than the second preset timer wake-up times, described application program is that intervalometer wakes up normal application up.
Alignment Rouser the most according to claim 6, it is characterised in that described in wake up abnormal judgement up Module includes:
Wake-up states statistics submodule, wakes up waking up up of system up in order to intervalometer in detecting and add up Preset Time State, if the intervalometer wake-up states success of detection application program, the most described wake-up states detection sub-module is united In meter Preset Time, intervalometer wakes up the wake-up times of system up;If the intervalometer detecting certain application program wakes up shape up State failure, it is that intervalometer wakes up abnormal application journey up that the most described wake-up states detection sub-module defines this application program Sequence.
Alignment Rouser the most according to claim 6, it is characterised in that described alignment wakes up up and is System also include announcement information manage module, in order to upper once wake up up terminate on once wake up up before time between Every interior, take over each intervalometer by background process and wake up the announcement information of abnormal application program up.
CN201610260784.0A 2016-04-25 2016-04-25 Aligned wakeup method and apparatus Pending CN105955444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610260784.0A CN105955444A (en) 2016-04-25 2016-04-25 Aligned wakeup method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610260784.0A CN105955444A (en) 2016-04-25 2016-04-25 Aligned wakeup method and apparatus

Publications (1)

Publication Number Publication Date
CN105955444A true CN105955444A (en) 2016-09-21

Family

ID=56916825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610260784.0A Pending CN105955444A (en) 2016-04-25 2016-04-25 Aligned wakeup method and apparatus

Country Status (1)

Country Link
CN (1) CN105955444A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484075A (en) * 2016-10-12 2017-03-08 北京元心科技有限公司 Method and device for adjusting application program wake-up time
CN107608723A (en) * 2017-09-20 2018-01-19 深圳市金立通信设备有限公司 One kind application alignment awakening method, terminal and computer-readable recording medium
WO2019019703A1 (en) * 2017-07-28 2019-01-31 华为技术有限公司 Method for managing trigger, and terminal device
CN109542520A (en) * 2018-10-11 2019-03-29 深圳大普微电子科技有限公司 Storage device and awakening method with arousal function
CN109901697A (en) * 2019-03-04 2019-06-18 上海卓易科技股份有限公司 A method, apparatus, device and medium for reducing system power consumption
CN109981888A (en) * 2019-02-25 2019-07-05 努比亚技术有限公司 A kind of wake-up timer control method, terminal and computer readable storage medium
CN110007968A (en) * 2017-12-29 2019-07-12 广东欧珀移动通信有限公司 Information processing method, device, computer equipment and computer readable storage medium
CN110244834A (en) * 2019-05-15 2019-09-17 深圳市优博讯科技股份有限公司 A kind of application behavior alignment schemes and terminal device
CN110536019A (en) * 2019-09-05 2019-12-03 深圳市智微智能科技开发有限公司 High stability timing wake-up method and apparatus
CN115312049A (en) * 2022-06-30 2022-11-08 青岛海尔科技有限公司 Command response method, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184288A1 (en) * 2001-02-16 2002-12-05 Vargas Garrett R. Method and apparatus for synchronization of periodic processes
CN103064669A (en) * 2012-12-18 2013-04-24 希姆通信息技术(上海)有限公司 Timing awaking method and timing awaking system of smart device
CN103345415A (en) * 2013-07-30 2013-10-09 广东欧珀移动通信有限公司 Terminal energy-saving method and device for management timer
CN104205755A (en) * 2012-03-31 2014-12-10 英特尔公司 Method, device, and system for delaying packets during a network-triggered wake of a computing device
CN104221445A (en) * 2013-11-15 2014-12-17 华为终端有限公司 Method and terminal for waking up terminal system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184288A1 (en) * 2001-02-16 2002-12-05 Vargas Garrett R. Method and apparatus for synchronization of periodic processes
CN104205755A (en) * 2012-03-31 2014-12-10 英特尔公司 Method, device, and system for delaying packets during a network-triggered wake of a computing device
CN103064669A (en) * 2012-12-18 2013-04-24 希姆通信息技术(上海)有限公司 Timing awaking method and timing awaking system of smart device
CN103345415A (en) * 2013-07-30 2013-10-09 广东欧珀移动通信有限公司 Terminal energy-saving method and device for management timer
CN104221445A (en) * 2013-11-15 2014-12-17 华为终端有限公司 Method and terminal for waking up terminal system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484075A (en) * 2016-10-12 2017-03-08 北京元心科技有限公司 Method and device for adjusting application program wake-up time
US11243784B2 (en) 2017-07-28 2022-02-08 Huawei Technologies Co., Ltd. Method for managing trigger, and terminal device
WO2019019703A1 (en) * 2017-07-28 2019-01-31 华为技术有限公司 Method for managing trigger, and terminal device
CN109324879A (en) * 2017-07-28 2019-02-12 华为技术有限公司 Method and terminal device for managing triggers
CN109324879B (en) * 2017-07-28 2022-04-22 华为技术有限公司 Method and terminal device for managing triggers
CN107608723A (en) * 2017-09-20 2018-01-19 深圳市金立通信设备有限公司 One kind application alignment awakening method, terminal and computer-readable recording medium
CN110007968A (en) * 2017-12-29 2019-07-12 广东欧珀移动通信有限公司 Information processing method, device, computer equipment and computer readable storage medium
CN109542520A (en) * 2018-10-11 2019-03-29 深圳大普微电子科技有限公司 Storage device and awakening method with arousal function
CN109542520B (en) * 2018-10-11 2023-04-07 深圳大普微电子科技有限公司 Storage device with wake-up function and wake-up method
CN109981888A (en) * 2019-02-25 2019-07-05 努比亚技术有限公司 A kind of wake-up timer control method, terminal and computer readable storage medium
CN109901697A (en) * 2019-03-04 2019-06-18 上海卓易科技股份有限公司 A method, apparatus, device and medium for reducing system power consumption
CN110244834A (en) * 2019-05-15 2019-09-17 深圳市优博讯科技股份有限公司 A kind of application behavior alignment schemes and terminal device
CN110536019B (en) * 2019-09-05 2021-02-19 深圳市智微智能科技股份有限公司 High-stability timing awakening method and device
CN110536019A (en) * 2019-09-05 2019-12-03 深圳市智微智能科技开发有限公司 High stability timing wake-up method and apparatus
CN115312049A (en) * 2022-06-30 2022-11-08 青岛海尔科技有限公司 Command response method, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN105955444A (en) Aligned wakeup method and apparatus
US11337150B2 (en) Method and apparatus for adjusting wake-up period of terminal, storage medium and electronic device
CN104094191B (en) Dynamic power management in real-time system
US9535747B2 (en) Application heartbeat period adjusting method and apparatus, and terminal
CN104424031B (en) Method and device for controlling working frequency of processor
WO2015007246A1 (en) Mobile terminal, device and method for controlling waking of application program in mobile terminal
CN111315002B (en) Energy saving indication and energy saving method, base station, equipment and storage medium
CN106227321A (en) A terminal system wake-up monitoring method and terminal
CN112153216A (en) Power early warning method and device, terminal device, and storage medium
CN109976501A (en) A kind of Low-power-consumptiocontrol control method, device, system and storage medium
CN113923137A (en) Whole vehicle bus network abnormity monitoring method and system
CN102413152B (en) A method and server for sending information to a terminal
CN104375898B (en) A kind of mobile terminal CPU usage optimization method
CN102117114A (en) Electricity-saving method for embedded equipment
CN115723692A (en) Monitoring method and device for abnormal awakening of vehicle, server and storage medium
CN107436672B (en) Application processing method and terminal
CN104052861B (en) A kind of terminal and its awakening method
CN111246549B (en) Method and device for providing node dormancy and wakeup time
WO2025077761A1 (en) Data interaction method for battery management system, and battery management system
CN112987904B (en) Heartbeat control method and device
CN106126209A (en) A wake-up statistics method of a terminal system and a terminal
CN116366394A (en) Network management method and device of vehicle-mounted electronic control unit and control unit
CN112533246B (en) Monitoring system and method for frequent network requests of intelligent equipment
CN108430098B (en) Wireless communication terminal and power saving method thereof
CN115755859B (en) A network fault diagnosis method, device and medium based on local network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160921