WO2015070428A1 - 一种唤醒终端系统的方法及终端 - Google Patents

一种唤醒终端系统的方法及终端 Download PDF

Info

Publication number
WO2015070428A1
WO2015070428A1 PCT/CN2013/087206 CN2013087206W WO2015070428A1 WO 2015070428 A1 WO2015070428 A1 WO 2015070428A1 CN 2013087206 W CN2013087206 W CN 2013087206W WO 2015070428 A1 WO2015070428 A1 WO 2015070428A1
Authority
WO
WIPO (PCT)
Prior art keywords
wake
terminal
application
terminal system
blacklist
Prior art date
Application number
PCT/CN2013/087206
Other languages
English (en)
French (fr)
Inventor
孙尚帮
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Priority to CN201380011863.2A priority Critical patent/CN104221445B/zh
Priority to PCT/CN2013/087206 priority patent/WO2015070428A1/zh
Priority to CN201811578579.4A priority patent/CN109803359B/zh
Publication of WO2015070428A1 publication Critical patent/WO2015070428A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the invention belongs to the field of terminal power saving, and particularly relates to a method and terminal for waking up a terminal system.
  • the current smart terminal consumes a lot of power. After the screen is off, the terminal system is frequently woken up and the terminal is accelerated. Battery power consumption.
  • the system will make the system enter the hibernation state after a period of time.
  • the Android system After the mobile phone with the Android system is off, After detecting that no application needs to occupy the CPU, the Android system will save the various application states currently running in the system, and then enter the sleep mode; when the system is woken up, reload and restore the state before each application sleeps. Every time the system wakes up, it needs to reload and restore the state before hibernation. After the phone is hibernated, frequent wake-up of the system will cause the mobile phone to consume a large amount of power and shorten the battery life.
  • the first one is the hardware wake-up mode, that is, by pressing the power button, plugging and unplugging the USB, etc., the power management chip sends an interrupt request (IRQ) to the CPU to wake up the CPU; the second is to wake up the timer.
  • IRQ interrupt request
  • the general terminal system is equipped with a wake-up timer. When the system sleeps, if the wake-up timer reaches the preset time, the system will wake up.
  • Some applications that need to exchange data with the network server such as QQ and WeChat, The weather clock, Sina Weibo, Sohu News, etc. can call the wake-up timer provided by the terminal system to communicate with the network server periodically to provide timely service.
  • a typical terminal such as a mobile phone will perform power consumption test at the factory.
  • the mobile phone manufacturer will perform a sleep wake-up test when the mobile phone is in the sleep mode, and when a preset application is found to frequently wake up,
  • the system power consumption is large, the mobile phone manufacturer will contact the developer corresponding to the application, and ask it to modify the timer time set by the application, and reduce the number of times the application wakes up the system in the sleep mode, thereby ensuring that the mobile phone is original when it leaves the factory.
  • System power consumption meets certain index requirements.
  • this method can only limit the number and duration of various applications preset by the mobile phone system, however, the end user can also download and install various applications, and the application downloaded and installed by the user may also frequently wake up.
  • the problem of the system may lead to a significant increase in the standby power consumption of the terminal, thereby accelerating the consumption of the terminal power.
  • An object of the embodiments of the present invention is to provide a method and a terminal for waking up a terminal system, so as to solve the problem that the terminal system is frequently awake in the sleep mode to accelerate the power consumption of the terminal.
  • an embodiment of the present invention provides a method for waking up a terminal system, the method comprising:
  • the preset blacklist is loaded into the internal memory of the terminal, and the blacklist records an application that prohibits waking up the terminal system when the terminal system is in the sleep mode. program;
  • the terminal system After the terminal system enters the sleep mode, it is determined whether an application needs to wake up the terminal system;
  • the preset white list is also loaded into the internal memory of the terminal, where the white list is recorded in the
  • the application that wakes up the system is allowed to be used.
  • the application corresponding to the wake-up time of the system is not in the blacklist, it is determined whether the application corresponding to the wake-up time of the system is in the white list, if Allowing the application to wake up the terminal system, if not, generating a wake-up record, recording the number of times the application wakes up the terminal system within a preset time after the terminal system enters the sleep mode, if the wake-up record is recorded If the number of times is greater than a preset value, the application is added to the blacklist, and if the number of times recorded by the wakeup record is not greater than the preset value, the application is allowed to wake up the terminal system.
  • the terminal internal memory further stores a blocking list, and if the application that needs to wake up the terminal system is in the blacklist, further The step of recording the application to the blocking list, after the terminal system is woken up, the method further comprises: triggering the application in the blocking list one by one when the blocking list is not empty.
  • the blocking list is empty, and if it is empty, the blacklist, whitelist, and blocking list in the internal memory are deleted. If it is not empty, trigger the application in the blocking list one by one, and then delete the blacklist, whitelist and blocking list in the internal memory.
  • an embodiment of the present invention provides a wake-up terminal of a terminal system, where the terminal includes:
  • the loading module is configured to: after detecting that the display screen of the terminal where the terminal system is closed, load the preset blacklist into the internal memory of the terminal; and determine the module, after the terminal system enters the sleep mode, determine whether there is an application.
  • the program needs to wake up the terminal system, and when it is determined that there is an application that needs to wake up the terminal system, determine whether the application corresponding to the wake-up time of the system is in the blacklist;
  • the wake-up module is prohibited from being used to wake up the terminal system when the application corresponding to the system wake-up time is in the blacklist.
  • the loading module after detecting that the display screen of the terminal where the terminal system is located is closed, the loading module also loads the preset white list into the internal memory of the terminal, and the white list records
  • the terminal system further includes a wake-up module and a frequent wake-up processing module, where the determining module determines that the application corresponding to the wake-up time of the system is not in the blacklist. Then, it is determined whether the application corresponding to the wake-up time of the system is in the white list. If yes, the wake-up module wakes up the terminal system. If not, the frequent wake-up processing module generates a wake-up record, and records the application in the terminal system.
  • the number of times the terminal system wakes up after entering the sleep mode for a preset time If the number of times recorded in the wake-up record is greater than a preset value, the frequent wake-up processing module adds the application to the blacklist, if the wake-up record is If the number of times of recording is not greater than the preset value, the wake-up module wakes up the terminal system.
  • the terminal internal memory further stores a blocking list, and if the determining module determines that the application corresponding to the system wake-up time is in the blacklist, the prohibiting the wake-up module The application is further recorded to a blocking list. After the terminal system is woken up, the wake-up module triggers the application in the blocking list one by one when determining that the blocking list is not empty.
  • the terminal of the wake-up terminal system further includes a bright screen recovery module, after the display screen of the terminal is turned on, the bright screen recovery module determines whether the blocking list is empty, and if it is empty, deletes the internal The blacklist, whitelist, and blocking list in the memory, if not empty, triggers the application in the blocking list one by one, and then deletes the blacklist, whitelist, and blocking list in the internal memory.
  • the bright screen recovery module determines whether the blocking list is empty, and if it is empty, deletes the internal The blacklist, whitelist, and blocking list in the memory, if not empty, triggers the application in the blocking list one by one, and then deletes the blacklist, whitelist, and blocking list in the internal memory.
  • the blacklist is added to the internal memory of the terminal before the terminal system enters the sleep mode, and if the application system needs to wake up the terminal system when the terminal system is in the sleep mode, the first confirmation is performed. Whether the application is in the blacklist, if so, the application is prohibited from waking up the terminal system, thereby reducing the number of times the terminal system is woken up in the sleep state, thereby reducing the power consumption of the terminal system in the sleep state. To achieve the purpose of saving electricity.
  • FIG. 1 is a flowchart of a method for waking up a terminal system according to Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of a method for restoring a terminal system after a screen of a terminal is turned on according to Embodiment 1 of the present invention.
  • FIG. 3 is a functional block diagram of a terminal of a wake-up terminal system according to Embodiment 2 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • FIG. 1 is a flowchart of a method for waking up a terminal system according to Embodiment 1 of the present invention. The method includes:
  • Step S101 detecting whether the display screen of the terminal where the terminal system is located is closed;
  • Step S102 If the display screen is off, the preset blacklist and whitelist are loaded into the internal memory of the terminal, and the preset blacklist is a preset application that prohibits waking up the terminal system, the preset The whitelist is a preset setting that allows the application of the system to be woken up when the terminal system is in the sleep mode;
  • Step S103 causing the terminal system to enter a sleep mode
  • Step S104 determining whether an application needs to wake up the terminal system
  • the specific method for determining whether an application needs to wake up the terminal system is: generating a wake-up time record, which is used to record the system wake-up time of each application, and the system wake-up time is when the terminal system is in the sleep mode,
  • the wake-up time record is loaded into the internal memory of the terminal, and after the terminal system enters the sleep mode, if the time counted by the system timer reaches the wake-up time record
  • the system wake-up time By recording the system wake-up time, it is determined that there is an application that needs to wake up the terminal system.
  • Step S105 when it is determined that an application needs to wake up the terminal system, further determining whether an application that needs to wake up the terminal system is in the blacklist;
  • Step S106 if the application corresponding to the wake-up time of the system is in the blacklist, prohibiting the wake-up of the terminal system and adding the application to a blocking list;
  • Step S107 If the application corresponding to the wake-up time of the system is not in the blacklist, continue to determine whether the application corresponding to the system wake-up time is in the whitelist, if yes, execute step S108, if not, perform steps S110;
  • Step S108 waking up the system
  • Step S109 after waking up the system, trigger the application in the blocking list one by one when the blocking list is not empty.
  • Step S110 generating a wake-up record, recording the number of times the application wakes up the terminal system within a preset time after the terminal system enters the sleep mode;
  • Step S111 it is determined whether the number of times recorded by the wake-up record is greater than a predetermined value, and if so, step S112 is performed, and if not, then returns to step S108;
  • step S112 the application is added to the blacklist.
  • setting a blacklist can ensure that some applications specified by the user can obtain timely information and services, and set the blocking.
  • the list can ensure that the terminal is not responding due to the prohibition of waking up the system in the sleep mode.
  • the application can be notified to process.
  • setting the wake-up record can ensure that the system enters after the terminal display is closed. The application can be notified of the execution of the event before the sleep mode, and the system is not allowed to wake up after the terminal system enters the sleep mode.
  • Step S201 after the terminal display is turned on, first determine whether the blocking list is empty, if it is not empty, step S202 is performed, if it is empty, step S203 is performed;
  • Step S202 trigger the application in the blocking list one by one, and then perform step 203;
  • Step S203 deleting the blacklist, the whitelist, and the blocking list in the internal memory.
  • the corresponding application can be notified to execute the corresponding event, so that the user can obtain the information and service provided by the application in time.
  • step S201 is performed.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • FIG. 3 it is a functional block diagram of a terminal 3 of a wake-up terminal system according to Embodiment 2 of the present invention.
  • the loading module 301 is configured to detect whether the display screen of the terminal where the terminal system is located is closed. If the display screen is closed, the preset blacklist and whitelist are loaded into the internal memory of the terminal, and the terminal system is put into sleep. Mode, the blacklist records an application that prohibits waking up the terminal system when the terminal system is in the sleep mode, the whitelist recording an application that allows the system to wake up when the terminal system is in the sleep mode.
  • the determining module 302 determines whether an application needs to wake up the terminal system, and determines that an application corresponding to the wake-up time of the system is in the blacklist when determining that an application needs to wake up the terminal system. If the application corresponding to the system wake-up time is in the blacklist, the prohibiting the wake-up module 303 is notified to prohibit the wake-up of the terminal system, and the application is added to a blocked list.
  • the determining module 302 continues to determine whether the application corresponding to the system wake-up time is in the whitelist, and if so, the wake-up module 304 wakes up the terminal system, and When the blocking list is not empty, the applications in the blocking list are triggered one by one. If not, the frequent wake-up processing module 305 generates a wake-up record, records the number of times the application wakes up the terminal system within a preset time after the terminal system enters the sleep mode, and determines whether the number of times recorded by the wake-up record is greater than a preset. The value, if so, the application is added to the blacklist, and if not, the wakeup module 304 is executed.
  • the bright screen recovery module 306 first determines whether the blocking list is empty. If it is not empty, the application in the blocking list is triggered one by one, and if it is empty, the blacklist in the internal memory is deleted. Whitelist and blocking list.
  • the bright screen recovery module 306 first updates the preset blacklist with the blacklist in the internal memory before determining that the blocking list is empty.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

本发明适用终端省电技术领域,提供了一种唤醒终端系统的方法及终端。该方法包括:在侦测到终端系统所在终端的显示屏关闭之后,将预设的黑名单加载至该终端的内部存储器中,该黑名单记录了在该终端系统处于休眠模式时,禁止唤醒该终端系统的应用程序;在该终端系统进入休眠模式后,确定是否有应用程序需要唤醒终端系统;若确定有应用程序需要唤醒该终端系统,确定需要唤醒终端系统的应用程序是否在该黑名单中;若该需要唤醒终端系统的应用程序在该黑名单中,则禁止唤醒该终端系统。使用本发明,在终端系统处于休眠模式时,可有效减少系统被唤醒的次数,从而减少电量的消耗。

Description

一种唤醒终端系统的方法及终端
本发明属于终端省电领域,尤其涉及一种唤醒终端系统的方法及终端。
目前的智能终端由于具有大显示屏、通信网络待机(2G/3G)、Wifi和蓝牙等功能,所以其电池的电量消耗也很快,在灭屏待机后,终端系统被频繁唤醒也加快了终端电池电量消耗。
   以手机为例,一般情况下,在手机灭屏后,系统为了省电,在一段时间后就会使系统进入休眠状态,以Android系统为例,在安装有Android系统的手机灭屏后,当检测到没有应用程序需要占用CPU后,Android系统会将系统中当前运行的各种应用程序状态保存下来,然后进入休眠模式;待系统被唤醒时,重新加载恢复各个应用程序休眠前的状态。每次系统被唤醒时,都需要重新加载和恢复休眠前的状态。手机休眠后,频繁的唤醒系统会导致手机耗电量大,缩短手机的续航时间。
   一般系统唤醒的方式有两种,第一种为硬件唤醒方式,即通过按电源键、插拔USB等通过电源管理芯片向CPU发起中断请求(IRQ)唤醒CPU;第二种为通过唤醒定时器定期唤醒的方式,一般终端系统都设置有唤醒定时器,在系统休眠时,如果唤醒定时器时器到达预设时间即会唤醒系统,一些需要与网络服务器进行数据交换的应用如QQ、微信、天气时钟、新浪微博、搜狐新闻等可以通过调用终端系统提供的唤醒定时器以实现定期与网络服务器进行通信,以提供及时的服务。由于目前很多应用程序为了提供比较好的服务,会频繁的启动系统定时器,而在实际使用过程中,在终端处于休眠模式时,大部分应用程序都是不需要频繁唤醒来提供及时消息的,如天气时钟、搜狐新闻等。如此,终端处于休眠模式时各种应用程序频繁唤醒系统会大大缩短手机待机时间。
   一般的终端如手机在出厂时会做功耗测试,对于手机预置的各种应用程序,手机厂商会在手机处于休眠模式时做休眠唤醒测试,当发现有预置的应用程序出现频繁唤醒造成系统功耗较大时,手机厂商会联系对应该应用程序的开发商,要求其修改该应用程序设置的定时器时长,减少该应用程序在休眠模式下唤醒系统的次数,从而确保手机出厂时原始系统功耗满足一定的指标要求。
   然而,该方法只能限制手机系统预置的各种应用程序唤醒系统的次数和时长,然而,终端用户还可自行下载安装的各种应用程序,而用户下载安装的应用程序也可能存在频繁唤醒系统的问题,如此,则可能导致终端待机功耗明显上升,从而加速了终端电量的消耗。   
本发明实施例的目的在于提供一种唤醒终端系统的方法及终端,以解决终端系统在休眠模式下被频繁唤醒而加速终端电量消耗的问题。
第一方面,本发明的实施例提供了一种唤醒终端系统的方法,该方法包括:
   在侦测到终端系统所在终端的显示屏关闭之后,将预设的黑名单加载至该终端的内部存储器中,该黑名单记录了在该终端系统处于休眠模式时,禁止唤醒该终端系统的应用程序;
   在该终端系统进入休眠模式后,确定是否有应用程序需要唤醒终端系统;
   若确定有应用程序需要唤醒该终端系统,确定需要唤醒终端系统的应用程序是否在该黑名单中;
   若该需要唤醒终端系统的应用程序在该黑名单中,则禁止唤醒该终端系统。
在第一方面的第一种实现方式中,在侦测到终端系统所在终端的显示屏关闭之后,还将预设的白名单也加载至该终端的内部存储器中,该白名单记录了在该终端系统处于休眠模式时,允许唤醒系统的应用程序,若判断该系统唤醒时间对应的应用程序不在该黑名单中,则继续判断该系统唤醒时间对应的应用程序是否在该白名单中,若在,则允许该应用程序唤醒该终端系统,若不在,则产生一唤醒记录,记录该应用程序在终端系统进入休眠模式后的一预设时间内唤醒终端系统的次数,若该唤醒记录所记录的次数大于一预设值,则将该应用程序加入该黑名单中,若该唤醒记录所记录的次数不大于该预设值,则允许该应用程序唤醒该终端系统。
在第一方面及第一方面的第一种实现方式所提供的唤醒终端系统的方法中,该终端内部存储器还存储一阻塞列表,若需要唤醒终端系统的应用程序在该黑名单中,还进一步包括将该应用程序记录至该阻塞列表的步骤,在终端系统被唤醒后,该方法还包括:在阻塞列表不为空时逐一触发阻塞列表中的应用程序。
  优选地,在上述唤醒终端系统的方法中,在终端系统所在终端的显示屏开启之后,先判断该阻塞列表是否为空,若为空,则删除内部存储器中的黑名单、白名单及阻塞列表,若不为空,则逐一触发阻塞列表中的应用程序,然后删除内部存储器中的黑名单、白名单及阻塞列表。
第二方面,本发明的实施例提供了一种终端系统的唤醒终端,该终端包括:
   加载模块,用于在侦测到终端系统所在终端的显示屏关闭之后,将预设的黑名单加载至该终端的内部存储器中;判断模块,在该终端系统进入休眠模式后,确定是否有应用程序需要唤醒该终端系统,在确定有有应用程序需要唤醒该终端系统时,确定该系统唤醒时间对应的应用程序是否在该黑名单中;
禁止唤醒模块,用于在该系统唤醒时间对应的应用程序在该黑名单中时,禁止唤醒该终端系统。
   在第二方面的第一实现方式中,该加载模块在侦测到终端系统所在终端的显示屏关闭之后,还将预设的白名单也加载至该终端的内部存储器中,该白名单记录了在该终端系统处于休眠模式时,允许唤醒系统的应用程序,该终端系统还包括一唤醒模块及一频繁唤醒处理模块,在该判断模块判断该系统唤醒时间对应的应用程序不在该黑名单中,则继续判断该系统唤醒时间对应的应用程序是否在该白名单中,若在,则该唤醒模块唤醒该终端系统,若不在,该频繁唤醒处理模块产生一唤醒记录,记录该应用程序在终端系统进入休眠模式后的一预设时间内唤醒终端系统的次数,若该唤醒记录所记录的次数大于一预设值,该频繁唤醒处理模块将该应用程序加入该黑名单中,若该唤醒记录所记录的次数不大于该预设值,则该唤醒模块唤醒该终端系统。
在第二方面的第一实现方式所提供的唤醒终端系统的终端中,该终端内部存储器还存储一阻塞列表,若判断模块判断系统唤醒时间对应的应用程序在该黑名单中,该禁止唤醒模块进一步将该应用程序记录至一阻塞列表,在终端系统被唤醒后,该唤醒模块在判断阻塞列表不为空时逐一触发阻塞列表中的应用程序。
优选地,在所述的唤醒终端系统的终端中,还包括一亮屏恢复模块,在终端的显示屏开启之后,该亮屏恢复模块判断该阻塞列表是否为空,若为空,则删除内部存储器中的黑名单、白名单及阻塞列表,若不为空,则逐一触发阻塞列表中的应用程序,然后删除内部存储器中的黑名单、白名单及阻塞列表。   
本发明实施例通过设置黑名单,在终端系统进入休眠模式之前将该黑名单加入该终端的内部存储器中,则在终端系统处于休眠模式时,若有应用程序需要唤醒该终端系统,则先确认该应用程序是不是在该黑名单中,若在,则禁止该应用程序唤醒该终端系统,从而减少了终端系统在休眠状态下被唤醒的次数,从而减少了终端系统在休眠状态下的电量消耗,达到省电的目的。
图1为本发明实施例一提供的唤醒终端系统的方法的流程图。
   图2为本发明实施例一提供的终端的屏幕开启之后,恢复终端系统的方法的流程图。
   图3为本发明实施例二提供的唤醒终端系统的终端的功能模块框图。
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
   以下结合具体实施例对本发明的具体实现进行详细描述:
   实施例一:
如图1所示,为本发明实施例一提供的一种唤醒终端系统的方法的流程图。该方法包括:
   步骤S101,侦测该终端系统所在终端的显示屏是否关闭;
   步骤S102,若显示屏关闭,则将预设的黑名单、白名单加载至该终端的内部存储器中,该预设的黑名单为预先设置的禁止唤醒该终端系统的应用程序,该预设的白名单为预设设置的记录在该终端系统处于休眠模式时,允许唤醒系统的应用程序;
   步骤S103,使该终端系统进入休眠模式;
   步骤S104,确定是否有应用程序需要唤醒该终端系统;
   确定是否有应用程序需要唤醒该终端系统的具体方法为:生成唤醒时间记录,该唤醒时间记录用于记录每个应用程序的系统唤醒时间,该系统唤醒时间为在终端系统处于休眠模式时,该应用程序唤醒系统的时间,在终端系统进入休眠模式后,将该唤醒时间记录加载至所述终端的内部存储器,在终端系统进入休眠模式后,若系统定时器所计时间到达该唤醒时间记录中记录的系统唤醒时间,即可确定有应用程序需要唤醒终端系统。
   步骤S105,在确定有应用程序需要唤醒该终端系统时,进一步确定需要唤醒该终端系统的应用程序是否在该黑名单中;
   步骤S106,若该系统唤醒时间对应的应用程序在该黑名单中,则禁止唤醒该终端系统,并将该应用程序加入一阻塞列表中;
   步骤S107,若该系统唤醒时间对应的应用程序不在该黑名单中,则继续判断该系统唤醒时间对应的应用程序是否在该白名单中,若在,则执行步骤S108,若不在,则执行步骤S110;
   步骤S108,唤醒系统;
   步骤S109,唤醒系统后,在阻塞列表不为空时逐一触发阻塞列表中的应用程序。
   步骤S110,产生一唤醒记录,记录该应用程序在终端系统进入休眠模式后的一预设时间内唤醒终端系统的次数;
   步骤S111,判断该唤醒记录所记录的次数是否大于一预设值,若是,则执行步骤S112,若不是,则返回步骤S108;
   步骤S112,将该应用程序加入黑名单中。
   如此,通过设置黑名单,可以减少系统在休眠状态下被唤醒的次数,从而减少了终端电量的消耗,另外,设置白名单,可以保证用户指定的部分应用可以获取及时的信息和服务,设置阻塞列表,可以保证终端在休眠模式下因禁止唤醒系统而未被响应的事件,在系统被唤醒后可以通知应用程序处理,另外,设置唤醒记录,可以保证系统在终端显示屏关闭之后,终端系统进入休眠模式之前可以通知应用程序执行事件,而在终端系统进入休眠模式之后禁止唤醒系统。
   如图2所示,为终端的屏幕开启之后,终端系统恢复的方法的流程图。步骤S201,在终端显示屏开启之后,首先判断阻塞列表是否为空,如果为不为空,则执行步骤步骤S202,如果为空,则执行步骤S203;
   步骤S202,逐一触发阻塞列表中的应用程序,然后执行步骤203;
   步骤S203,删除内部存储器中的黑名单、白名单及阻塞列表。
   如此,在终端的显示屏开启之后,通过触发阻塞列表中的应用程序,可以通知相应的应用程序执行相应的事件,从而让为用户及时获取该应用程序提供的信息及服务。
   在本发明的另外一实施例中,在终端显示屏开启之后,先用内部存储器中的黑名单更新设置的黑名单,然后再执行步骤S201。
   实施例二:
   如图3所示,为本发明实施例二提供的一种唤醒终端系统的终端3的功能模块图。该终端加载模块301、判断模块302、禁止唤醒模块303、唤醒模块304、频繁唤醒处理模块305及亮屏恢复模块306。
该加载模块301用于侦测该终端系统所在终端的显示屏是否关闭,若显示屏关闭,则将预设的黑名单及白名单加载至该终端的内部存储器中,并使该终端系统进入休眠模式,该黑名单记录了在该终端系统处于休眠模式时,禁止唤醒该终端系统的应用程序,该白名单记录了在该终端系统处于休眠模式时,允许唤醒系统的应用程序;。
   判断模块302在该终端系统进入休眠模式后,确定是否有应用程序需要唤醒该终端系统,在确定有有应用程序需要唤醒该终端系统时,确定该系统唤醒时间对应的应用程序是否在该黑名单中,,若该系统唤醒时间对应的应用程序在该黑名单中,则通知该禁止唤醒模块303禁止唤醒该终端系统,并将该应用程序加入一阻塞列表中。
   若该需要唤醒终端系统的应用程序不在该黑名单中,则该判断模块302继续判断该系统唤醒时间对应的应用程序是否在该白名单中,若在,则唤醒模块304唤醒终端系统,并在阻塞列表不为空时逐一触发阻塞列表中的应用程序。若不在,则频繁唤醒处理模块305产生一唤醒记录,记录该应用程序在终端系统进入休眠模式后的一预设时间内唤醒终端系统的次数,判断该唤醒记录所记录的次数是否大于一预设值,若是,则该应用程序加入黑名单中,若不是,则执行唤醒模块304。
   该亮屏恢复模块306在终端显示屏开启之后,首先判断阻塞列表是否为空,如果为不为空,则逐一触发阻塞列表中的应用程序,如果为空,则删除内部存储器中的黑名单、白名单及阻塞列表。
   在其他实施例中,该该亮屏恢复模块306在判断阻塞列表为空之前,先用内部存储器中的黑名单更新预设的黑名单。
   以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。

Claims (12)

  1.  一种唤醒终端系统的方法,该方法包括:
       在侦测到终端系统所在终端的显示屏关闭之后,将预设的黑名单加载至该终端的内部存储器中,该黑名单记录了在该终端系统处于休眠模式时,禁止唤醒该终端系统的应用程序;
       在该终端系统进入休眠模式后,确定是否有应用程序需要唤醒终端系统;
       若确定有应用程序需要唤醒该终端系统,确定需要唤醒终端系统的应用程序是否在该黑名单中;
       若该需要唤醒终端系统的应用程序在该黑名单中,则禁止唤醒该终端系统。
  2.    如权利要求1所述的方法,其特征在于,,在侦测到终端系统所在终端的显示屏关闭之后,还将预设的白名单也加载至该终端的内部存储器中,该白名单记录了在该终端系统处于休眠模式时,允许唤醒系统的应用程序,若判断该系统唤醒时间对应的应用程序不在该黑名单中,则继续判断该系统唤醒时间对应的应用程序是否在该白名单中,若在,则允许该应用程序唤醒该终端系统,若不在,则产生一唤醒记录,记录该应用程序在终端系统进入休眠模式后的一预设时间内唤醒终端系统的次数,若该唤醒记录所记录的次数大于一预设值,则将该应用程序加入该黑名单中,若该唤醒记录所记录的次数不大于该预设值,则允许该应用程序唤醒该终端系统。
  3.    如权利要求1或2所述的方法,其特征在于,该终端内部存储器还存储一阻塞列表,若若该需要唤醒终端系统的应用程序在该黑名单中,还进一步包括将该应用程序记录至一阻塞列表的步骤,在终端系统被唤醒后,该方法还包括:在阻塞列表不为空时逐一触发阻塞列表中的应用程序。
  4.    如权利要求3所述的方法,其特征在于,在终端的显示屏开启之后,先判断该阻塞列表是否为空,若为空,则删除内部存储器中的黑名单,白名单及阻塞列表,若不为空,则逐一触发阻塞列表中的应用程序,然后删除内部存储器中的黑名单,白名单及阻塞列表。
  5.    如权利要求4所述的方法,其特征在于,在判断该阻塞列表是否为空之前,先用内部存储器中的黑名单更新预设的黑名单。
  6.    如权利要求1-5中的任一项所述的方法,其特征在于,确定是否有应用程序需要唤醒终端系统的方式为:生成唤醒时间记录,该唤醒时间记录用于记录每个应用程序的系统唤醒时间,该系统唤醒时间为在终端系统处于休眠模式时,该应用程序唤醒系统的时间,在侦测到终端系统所在终端的显示屏关闭之后,将该唤醒时间记录加载至所述终端的内部存储器,在终端系统进入休眠模式后,若系统定时器所计时间到达该唤醒时间记录中记录的系统唤醒时间,即可确定有应用程序需要唤醒终端系统。
  7. 一种唤醒系统的终端,包括:
       加载模块,用于在侦测到终端系统所在终端的显示屏关闭之后,将预设的黑名单加载至该终端的内部存储器中;
       判断模块,在该终端系统进入休眠模式后,确定是否有应用程序需要唤醒该终端系统,在确定有有应用程序需要唤醒该终端系统时,确定该系统唤醒时间对应的应用程序是否在该黑名单中;
    禁止唤醒模块,用于在该系统唤醒时间对应的应用程序在该黑名单中时,禁止唤醒该终端系统。
  8. 如权利要求7所述的终端,其特征在于,该加载模块在侦测到终端系统所在终端的显示屏关闭之后,还将预设的白名单也加载至该终端的内部存储器中,该白名单记录了在该终端系统处于休眠模式时,允许唤醒系统的应用程序,该终端系统还包括一唤醒模块及一频繁唤醒处理模块,在该判断模块判断该系统唤醒时间对应的应用程序不在该黑名单中,则继续判断该系统唤醒时间对应的应用程序是否在该白名单中,若在,则该唤醒模块唤醒该终端系统,若不在,该频繁唤醒处理模块产生一唤醒记录,记录该应用程序在终端系统进入休眠模式后的一预设时间内唤醒终端系统的次数,若该唤醒记录所记录的次数大于一预设值,该频繁唤醒处理模块将该应用程序加入该黑名单中,若该唤醒记录所记录的次数不大于该预设值,则该唤醒模块唤醒该终端系统。
  9. 如权利要求7或8所述的终端,其特征在于,该终端内部存储器还存储一阻塞列表,若判断模块判断需要唤醒终端系统的应用程序在该黑名单中,该禁止唤醒模块将该应用程序记录至该阻塞列表,在终端系统被唤醒后,该唤醒模块在判断阻塞列表不为空时逐一触发阻塞列表中的应用程序。
  10. 如权利要求9所述的终端,其特征在于,还包括一亮屏恢复模块,在终端系统所在终端的显示屏开启之后,该亮屏恢复模块判断该阻塞列表是否为空,若为空,则删除内部存储器中的黑名单,白名单及阻塞列表,若不为空,则逐一触发阻塞列表中的应用程序,然后删除内部存储器中的黑名单、白名单及阻塞列表。
  11.    如权利要求10所述的终端,其特征在于,该亮屏恢复模块在判断该阻塞列表是否为空之前,先用内部存储器中的黑名单更新设置的黑名单。
  12.    如权利要求7-11中的任一项所述的终端,其特征在于,该判断模块确定是否有应用程序需要唤醒终端系统的方式为:生成唤醒时间记录,该唤醒时间记录用于记录每个应用程序的系统唤醒时间,该系统唤醒时间为在终端系统处于休眠模式时,该应用程序唤醒系统的时间,在在侦测到终端系统所在终端的显示屏关闭之后,该加载模块将该唤醒时间记录加载至所述终端的内部存储器,在终端系统进入休眠模式后,若系统定时器所计时间到达该唤醒时间记录中记录的系统唤醒时间,即可确定有应用程序需要唤醒终端系统。
PCT/CN2013/087206 2013-11-15 2013-11-15 一种唤醒终端系统的方法及终端 WO2015070428A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201380011863.2A CN104221445B (zh) 2013-11-15 2013-11-15 一种唤醒终端系统的方法及终端
PCT/CN2013/087206 WO2015070428A1 (zh) 2013-11-15 2013-11-15 一种唤醒终端系统的方法及终端
CN201811578579.4A CN109803359B (zh) 2013-11-15 2013-11-15 一种唤醒终端系统的方法及终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/087206 WO2015070428A1 (zh) 2013-11-15 2013-11-15 一种唤醒终端系统的方法及终端

Publications (1)

Publication Number Publication Date
WO2015070428A1 true WO2015070428A1 (zh) 2015-05-21

Family

ID=52100960

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/087206 WO2015070428A1 (zh) 2013-11-15 2013-11-15 一种唤醒终端系统的方法及终端

Country Status (2)

Country Link
CN (2) CN109803359B (zh)
WO (1) WO2015070428A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682543A (zh) * 2017-09-28 2018-02-09 惠州Tcl移动通信有限公司 一种信息输出的方法、存储介质以及终端设备
CN109413726A (zh) * 2018-12-24 2019-03-01 维沃移动通信有限公司 功耗控制方法及移动终端
CN113840358A (zh) * 2020-06-24 2021-12-24 Oppo(重庆)智能科技有限公司 报文过滤方法、移动终端及计算机可读存储介质
CN113965484A (zh) * 2021-10-21 2022-01-21 奇瑞商用车(安徽)有限公司 汽车总线休眠唤醒台架测试方法及系统
CN114375023A (zh) * 2021-12-28 2022-04-19 天翼物联科技有限公司 终端附着upf的处理方法、系统、装置和存储介质

Families Citing this family (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104411004A (zh) * 2014-12-23 2015-03-11 福州瑞芯微电子有限公司 一种可配置定时唤醒事件的处理方法及装置
CN105306743A (zh) * 2015-09-30 2016-02-03 小米科技有限责任公司 屏幕控制方法及装置
CN105260007B (zh) * 2015-10-12 2018-10-02 小米科技有限责任公司 省电模式启动方法、装置及终端
CN105357387B (zh) * 2015-11-10 2018-07-06 广东欧珀移动通信有限公司 一种唤醒终端的方法、装置及系统
CN105373713B (zh) * 2015-11-23 2019-03-01 上海汽车集团股份有限公司 车载终端唤醒方法、车载终端及车辆
CN105824392A (zh) * 2015-11-26 2016-08-03 维沃移动通信有限公司 一种应用程序的管理方法及终端
CN105955444A (zh) * 2016-04-25 2016-09-21 深圳市万普拉斯科技有限公司 对齐唤醒方法及装置
CN105979088B (zh) * 2016-05-06 2020-02-04 北京小米移动软件有限公司 消息推送方法及装置
CN106066872B (zh) * 2016-05-27 2019-07-26 维沃移动通信有限公司 一种数据更新管理方法和电子设备
CN106102142B (zh) * 2016-05-31 2017-11-17 广东欧珀移动通信有限公司 终端数据处理方法及装置
CN106055074A (zh) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 一种应用程序处理方法及装置
CN106102141B (zh) * 2016-05-31 2017-10-17 广东欧珀移动通信有限公司 一种基于数据包的处理方法及装置
CN106055073B (zh) * 2016-05-31 2019-02-26 Oppo广东移动通信有限公司 一种基于亮屏锁的处理方法和装置
CN106125891A (zh) * 2016-06-24 2016-11-16 北京奇虎科技有限公司 终端电量优化方法、装置及终端
CN105979095B (zh) * 2016-06-27 2019-08-16 努比亚技术有限公司 移动终端及应用功耗控制方法
CN106201674A (zh) * 2016-06-28 2016-12-07 宇龙计算机通信科技(深圳)有限公司 解冻方法、解冻装置和终端
CN106227321B (zh) * 2016-07-11 2018-01-26 广东欧珀移动通信有限公司 一种终端系统的唤醒监控方法及终端
CN106250772B (zh) * 2016-07-28 2019-11-08 北京小米移动软件有限公司 蓝牙扫描控制方法、装置及终端设备
CN106293709A (zh) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 应用程序的管理方法、管理装置及终端
CN106304287B (zh) * 2016-08-08 2020-01-10 Oppo广东移动通信有限公司 降低移动终端待机功耗的方法及移动终端
CN107888753B (zh) * 2016-09-30 2021-07-13 中兴通讯股份有限公司 一种移动终端的控制方法、装置及移动终端
CN107894902B (zh) * 2016-09-30 2021-01-01 北京小米移动软件有限公司 设备控制方法及装置
CN106547335A (zh) * 2016-11-01 2017-03-29 上海传英信息技术有限公司 能耗降低方法和移动终端
CN106793030B (zh) * 2016-12-01 2020-07-10 北京安云世纪科技有限公司 应用管理方法、装置及移动终端
CN106681474A (zh) * 2016-12-07 2017-05-17 上海传英信息技术有限公司 移动通讯终端亮屏管理及其设定方法
CN106686633A (zh) * 2017-02-20 2017-05-17 苏州蜗牛数字科技股份有限公司 一种阻止wifi恶意频繁唤醒的方法
CN107172687A (zh) * 2017-05-08 2017-09-15 广东欧珀移动通信有限公司 信息处理方法、装置和移动终端
CN107277902B (zh) * 2017-06-19 2021-05-21 努比亚技术有限公司 终端功耗控制方法、移动终端及计算机可读存储介质
CN107302789B (zh) * 2017-06-21 2021-04-16 上海集赫电子商务有限公司 一种提高安卓设备电池续航能力的方法及系统
WO2019056241A1 (zh) * 2017-09-21 2019-03-28 深圳传音通讯有限公司 智能终端的唤醒方法、唤醒装置以及智能终端
CN107592665A (zh) * 2017-10-27 2018-01-16 维沃移动通信有限公司 一种应用程序的控制方法、装置及移动终端
CN107708194A (zh) * 2017-11-10 2018-02-16 珠海市魅族科技有限公司 一种报文过滤方法及装置、终端和可读存储介质
CN108008979B (zh) * 2017-11-28 2021-10-22 深圳天珑无线科技有限公司 终端唤醒的管理方法及其终端、存储介质
CN108255543A (zh) * 2018-01-17 2018-07-06 北京小米移动软件有限公司 应用运行方法、装置及计算机可读存储介质
CN108509017A (zh) * 2018-03-22 2018-09-07 上海爱优威软件开发有限公司 一种终端应用的控制方法及系统
CN109085913B (zh) * 2018-08-27 2019-09-17 珠海格力电器股份有限公司 App消息推送管理方法、智能终端和存储介质
CN110727337B (zh) * 2019-10-18 2021-04-27 东莞市小精灵教育软件有限公司 获取系统功耗信息的方法及装置及存储介质及电子设备
CN111309095B (zh) * 2020-01-16 2022-02-15 广州小鹏汽车科技有限公司 定时装置、定时装置的控制方法、终端
CN113453321A (zh) * 2020-03-27 2021-09-28 北京小米移动软件有限公司 一种终端唤醒处理方法、装置及介质
CN112131015B (zh) * 2020-09-15 2023-12-15 深圳市锐尔觅移动通信有限公司 一种信息处理方法、装置、云服务器和存储介质
CN116419377A (zh) * 2021-12-31 2023-07-11 Oppo广东移动通信有限公司 数据通信方法、装置、终端、存储介质和程序产品

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287036A (zh) * 2008-05-29 2008-10-15 德信无线通讯科技(北京)有限公司 一种防止手机在待机状态下被无端唤醒的方法及设备
CN103064669A (zh) * 2012-12-18 2013-04-24 希姆通信息技术(上海)有限公司 智能设备的定时唤醒方法及系统
CN103336572A (zh) * 2013-06-26 2013-10-02 深圳天珑无线科技有限公司 智能终端及其节电方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012144828A2 (en) * 2011-04-19 2012-10-26 Samsung Electronics Co., Ltd. Method and apparatus for managing push service
CN102841672B (zh) * 2012-07-10 2016-03-16 上海果壳电子有限公司 一种休眠拦截方法及系统
CN103218033B (zh) * 2013-03-28 2015-11-25 小米科技有限责任公司 一种唤醒硬件设备的方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287036A (zh) * 2008-05-29 2008-10-15 德信无线通讯科技(北京)有限公司 一种防止手机在待机状态下被无端唤醒的方法及设备
CN103064669A (zh) * 2012-12-18 2013-04-24 希姆通信息技术(上海)有限公司 智能设备的定时唤醒方法及系统
CN103336572A (zh) * 2013-06-26 2013-10-02 深圳天珑无线科技有限公司 智能终端及其节电方法

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682543A (zh) * 2017-09-28 2018-02-09 惠州Tcl移动通信有限公司 一种信息输出的方法、存储介质以及终端设备
CN109413726A (zh) * 2018-12-24 2019-03-01 维沃移动通信有限公司 功耗控制方法及移动终端
CN109413726B (zh) * 2018-12-24 2021-05-07 维沃移动通信有限公司 功耗控制方法及移动终端
CN113840358A (zh) * 2020-06-24 2021-12-24 Oppo(重庆)智能科技有限公司 报文过滤方法、移动终端及计算机可读存储介质
CN113965484A (zh) * 2021-10-21 2022-01-21 奇瑞商用车(安徽)有限公司 汽车总线休眠唤醒台架测试方法及系统
CN114375023A (zh) * 2021-12-28 2022-04-19 天翼物联科技有限公司 终端附着upf的处理方法、系统、装置和存储介质
CN114375023B (zh) * 2021-12-28 2024-03-12 天翼物联科技有限公司 终端附着upf的处理方法、系统、装置和存储介质

Also Published As

Publication number Publication date
CN104221445B (zh) 2019-01-11
CN109803359A (zh) 2019-05-24
CN109803359B (zh) 2022-05-31
CN104221445A (zh) 2014-12-17

Similar Documents

Publication Publication Date Title
WO2015070428A1 (zh) 一种唤醒终端系统的方法及终端
WO2014183455A1 (en) Method, device and computer storage medium for detecting power consumption of an application
CN107302789B (zh) 一种提高安卓设备电池续航能力的方法及系统
CN104156053B (zh) 一种异常耗电的控制方法、装置和移动终端
CN103019521B (zh) 一种移动终端熄屏方法及装置
CN103064669B (zh) 智能设备的定时唤醒方法及系统
CN105554316B (zh) 一种预留智能终端电池电量的实现方法及系统
CN103336572B (zh) 智能终端及其节电方法
CN105373207B (zh) 一种无线通信终端的待机方法
WO2014035119A2 (en) An apparatus and method for waking up a processor
WO2018018819A1 (zh) 应用程序的管理方法、管理装置及终端
CN105183137A (zh) 一种移动终端及其唤醒锁控制方法和控制系统
CN105354044A (zh) 一种应用唤醒方法及装置
CN106020415B (zh) 智能设备待机状态下的应用控制方法及装置
CN104244381A (zh) 唤醒控制方法、装置和终端设备
CN103313359A (zh) 一种用于移动终端的节电方法、节电装置以及移动终端
CN107317924B (zh) 移动终端和移动终端的休眠方法
CN103885565A (zh) 智能设备的休眠方法及系统
CN104808767A (zh) 一种终端控制方法
CN101150811B (zh) 一种移动终端中控制待机的装置和方法
CN101291487A (zh) 手机上低功耗的mp3播放方法
CN106686633A (zh) 一种阻止wifi恶意频繁唤醒的方法
CN102710859B (zh) 终端定时开机的处理方法及移动终端
US20080253357A1 (en) Computer system with internet phone functionality
CN105101371A (zh) 一种手机省电管理方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13897585

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13897585

Country of ref document: EP

Kind code of ref document: A1