CN106126209A - A wake-up statistics method of a terminal system and a terminal - Google Patents
A wake-up statistics method of a terminal system and a terminal Download PDFInfo
- Publication number
- CN106126209A CN106126209A CN201610430438.2A CN201610430438A CN106126209A CN 106126209 A CN106126209 A CN 106126209A CN 201610430438 A CN201610430438 A CN 201610430438A CN 106126209 A CN106126209 A CN 106126209A
- Authority
- CN
- China
- Prior art keywords
- wake
- information
- application program
- terminal
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
本发明实施例公开了一种终端系统的唤醒统计方法及终端,终端系统的唤醒统计方法包括:统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息;将所述唤醒信息上报给用户,本发明实施例使得用户能够及时发现影响终端续航时间或续航能力的异常应用程序。
An embodiment of the present invention discloses a wake-up statistics method for a terminal system and a terminal. The wake-up statistics method for a terminal system includes: counting wake-up information of a terminal system awakened by an application within a first preset time period; reporting the wake-up information to a user. The embodiment of the present invention enables the user to promptly discover abnormal applications that affect the terminal's battery life or battery life.
Description
技术领域technical field
本发明实施例涉及通信技术领域,具体涉及一种终端系统的唤醒统计方法及终端。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a wake-up statistics method of a terminal system and a terminal.
背景技术Background technique
随着智能终端的发展,终端上可以安装的应用程序越来越多,有些应用程序设计不合理,导致终端系统被频繁或长时间唤醒,使得终端系统工作时间增长,功耗变大,发热量增大,如果这些应用程序无法被用户及时发现及清理,将最终导致终端续航时间变短、续航能力变差,影响用户的正常使用。With the development of smart terminals, more and more applications can be installed on the terminal. Some applications are unreasonably designed, resulting in frequent or long-term wake-up of the terminal system, which increases the working time of the terminal system, increases power consumption, and generates heat. If these applications cannot be discovered and cleaned up by users in a timely manner, it will eventually lead to shorter battery life and worse battery life of the terminal, which will affect the normal use of users.
发明内容Contents of the invention
有鉴于此,本发明实施例提供了一种终端系统的唤醒统计方法及终端,使得用户能够及时发现影响终端续航时间或续航能力的异常应用程序。In view of this, an embodiment of the present invention provides a wake-up statistics method of a terminal system and a terminal, so that a user can timely discover abnormal application programs that affect the battery life or battery life of the terminal.
本发明实施例提供的终端系统的唤醒统计方法,包括:The wake-up statistics method of the terminal system provided by the embodiment of the present invention includes:
统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息;Counting the wake-up information of the terminal system woken up by the application program within the first preset time period;
将所述唤醒信息上报给用户。Report the wake-up information to the user.
进一步地,所述应用程序包括多个,每个应用程序具有标识信息,所述唤醒信息包括唤醒所述终端系统的应用程序的标识信息及对应的唤醒累积次数。Further, the application program includes multiple applications, and each application program has identification information, and the wake-up information includes the identification information of the application program that wakes up the terminal system and the corresponding cumulative number of wake-up times.
进一步地,所述应用程序包括多个,每个应用程序具有标识信息,所述唤醒信息包括唤醒所述终端系统的应用程序的标识信息及对应的唤醒累积时长。Further, the application program includes multiple applications, and each application program has identification information, and the wake-up information includes the identification information of the application program that wakes up the terminal system and the corresponding cumulative wake-up time.
进一步地,所述将所述唤醒信息上报给用户包括:Further, the reporting the wake-up information to the user includes:
将所有应用程序的唤醒信息均上报给用户。Report the wake-up information of all applications to the user.
进一步地,所述将所述唤醒信息上报给用户包括:Further, the reporting the wake-up information to the user includes:
将唤醒累积次数大于预设次数阈值的应用程序的唤醒信息上报给用户;Report to the user the wake-up information of the application whose cumulative number of wake-up times is greater than the preset number of times threshold;
或者将唤醒累积时长大于预设时长阈值的应用程序的唤醒信息上报给用户。Alternatively, report the wake-up information of the application whose cumulative wake-up time is longer than a preset time threshold to the user.
进一步地,所述统计终端系统在第一预时长内被应用程序唤醒的唤醒信息包括:Further, the statistics of the wake-up information of the terminal system woken up by the application program within the first pre-time period include:
在终端熄屏第二预设时长之后,统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息。After the terminal screen is turned off for a second preset time period, the wake-up information of the terminal system awakened by the application program within the first preset time period is collected.
本发明实施例提供的终端,包括:The terminal provided by the embodiment of the present invention includes:
统计单元,用于统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息;A statistical unit, configured to count the wake-up information of the terminal system woken up by the application program within the first preset duration;
上报单元,用于将所述唤醒信息上报给用户。A reporting unit, configured to report the wake-up information to the user.
进一步地,所述应用程序包括多个,每个应用程序具有标识信息,所述唤醒信息包括唤醒所述终端系统的应用程序的标识信息及对应的唤醒累积次数。Further, the application program includes multiple applications, and each application program has identification information, and the wake-up information includes the identification information of the application program that wakes up the terminal system and the corresponding cumulative number of wake-up times.
进一步地,所述应用程序包括多个,每个应用程序具有标识信息,所述唤醒信息包括唤醒所述终端系统的应用程序的标识信息及对应的唤醒累积时长。Further, the application program includes multiple applications, and each application program has identification information, and the wake-up information includes the identification information of the application program that wakes up the terminal system and the corresponding cumulative wake-up time.
进一步地,所述上报单元具体用于,将所有应用程序的唤醒信息均上报给用户。Further, the reporting unit is specifically configured to report the wake-up information of all application programs to the user.
进一步地,所述上报单元具体用于,将唤醒累积次数大于预设次数阈值的应用程序的唤醒信息上报给用户;或者将唤醒累积时长大于预设时长阈值的应用程序的唤醒信息上报给用户。Further, the reporting unit is specifically configured to report to the user the wake-up information of the application whose cumulative number of wake-ups is greater than a preset threshold; or report the wake-up information of the application whose cumulative wake-up time is greater than the preset time threshold to the user.
进一步地,所述统计单元具体用于,在终端熄屏第二预设时长之后,统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息。Further, the statistical unit is specifically configured to, after the terminal screen is turned off for a second preset time period, count the wake-up information of the terminal system awakened by the application program within the first preset time period.
本发明实施例中,可以自动统计终端系统被各个应用程序唤醒的唤醒信息并上报给用户,用户根据上报的唤醒信息即可及时发现影响终端续航时间或续航能力的异常应用程序,从而为应用和系统的优化提供了有效的手段。In the embodiment of the present invention, the wake-up information that the terminal system is awakened by various applications can be automatically counted and reported to the user. The user can promptly find out the abnormal application that affects the battery life or battery life of the terminal according to the reported wake-up information, thereby providing services for applications and The optimization of the system provides an effective means.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本发明实施例提供的终端系统的唤醒统计方法的一个流程示意图;FIG. 1 is a schematic flowchart of a wake-up statistics method for a terminal system provided by an embodiment of the present invention;
图2是本发明实施例提供的终端系统的唤醒统计方法的另一流程示意图;FIG. 2 is another schematic flow chart of a wake-up statistics method for a terminal system provided by an embodiment of the present invention;
图3是本发明实施例提供的终端系统的唤醒统计方法的另一流程示意图;FIG. 3 is another schematic flowchart of a wake-up statistics method for a terminal system provided by an embodiment of the present invention;
图4是本发明实施例提供的终端的一个结构示意图。Fig. 4 is a schematic structural diagram of a terminal provided by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.
由于现有技术中,缺乏终端系统被唤醒的自动统计机制,导致用户无法及时发现频繁或长时间唤醒终端系统的异常应用程序,因而本发明实施例提供了一种终端系统的唤醒统计方法及终端,使得用户能够及时发现异常应用程序,本发明实施例提供的唤醒统计方法可以应用于终端中,终端包括但不限于手机、平板电脑等电子设备。Due to the lack of an automatic statistics mechanism for wake-up of the terminal system in the prior art, the user cannot timely discover abnormal applications that wake up the terminal system frequently or for a long time. Therefore, the embodiment of the present invention provides a wake-up statistics method of the terminal system and a terminal , so that the user can find abnormal application programs in time. The wake-up statistics method provided by the embodiment of the present invention can be applied to terminals, and the terminals include but are not limited to electronic devices such as mobile phones and tablet computers.
实施例一Embodiment one
如图1所示,本实施例的终端系统的唤醒统计方法包括如下步骤:As shown in Figure 1, the wake-up statistics method of the terminal system in this embodiment includes the following steps:
步骤101、统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息;Step 101, counting the wake-up information of the terminal system woken up by the application program within the first preset time period;
具体实现中,可以在终端进入休眠状态后,统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息。第一预设时长可以根据实际统计需求设定,例如设置为四小时、八小时等,此处不做具体限定。所述应用程序包括终端上安装的各种应用程序,即所述应用程序有多个,每个应用程序具有标识信息,该标识信息例如应用程序的名称、代号等,所统计的唤醒信息中包括唤醒终端系统的应用程序的标识信息。In a specific implementation, after the terminal enters the dormant state, the wake-up information of the terminal system awakened by the application program within the first preset time period may be collected. The first preset duration can be set according to actual statistical requirements, for example, four hours, eight hours, etc., which are not specifically limited here. The application program includes various application programs installed on the terminal, that is, there are multiple application programs, and each application program has identification information, such as the name and code name of the application program, and the counted wake-up information includes Identification information of the application that wakes up the end system.
进一步地,所统计的唤醒信息中还可以包括各个应用程序对应的唤醒累积次数和/或唤醒累积时长。Further, the counted wake-up information may also include the cumulative number of wake-ups and/or the cumulative wake-up time corresponding to each application program.
步骤102、将所述唤醒信息上报给用户。Step 102: Report the wake-up information to the user.
具体地,可以将统计的唤醒信息显示在终端的显示屏上,用户可以通过终端显示屏查看唤醒信息,根据该唤醒信息中的标识信息即可识别出唤醒源(即唤醒终端系统的应用程序),结合唤醒信息中的唤醒累积次数和/或唤醒累积时长即可识别出频繁或长时间唤醒终端系统,导致终端耗电异常的异常应用程序。Specifically, the statistical wake-up information can be displayed on the display screen of the terminal, and the user can view the wake-up information through the terminal display screen, and can identify the wake-up source (that is, the application program that wakes up the terminal system) according to the identification information in the wake-up information. Combined with the cumulative number of wake-ups and/or the cumulative wake-up duration in the wake-up information, abnormal applications that wake up the terminal system frequently or for a long time and cause abnormal power consumption of the terminal can be identified.
在识别出导致终端耗电异常的异常应用程序之后,用户可以采取相应的调整措施,例如卸载该应用程序,或者为该应用程序设置唤醒次数限制、唤醒时长限制等,以节省功耗,延长终端的续航时间。After identifying the abnormal application that causes the abnormal power consumption of the terminal, the user can take corresponding adjustment measures, such as uninstalling the application, or setting a limit on the number of wake-up times and wake-up time for the application, so as to save power consumption and prolong the life of the terminal. battery life.
实施例二Embodiment two
实施例一所描述的方法,本实施例将做进一步的描述,如图2所示,本实施例的方法包括以下步骤:The method described in Embodiment 1, this embodiment will be further described, as shown in Figure 2, the method of this embodiment includes the following steps:
201、统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息,所述唤醒信息包括应用程序的标识信息及对应的唤醒累积次数;201. Count the wake-up information of the terminal system woken up by the application program within the first preset time period, where the wake-up information includes the identification information of the application program and the corresponding cumulative number of wake-up times;
具体实现中,可以在终端进入休眠状态后,统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息。通常情况下,终端熄屏后并不会立即完全进入休眠状态,为减少干扰,提高统计准确度,保证在终端进入休眠状态后开始统计唤醒信息,本实施例中,可以设置一个间隔时长(即第二预设时长),在终端熄屏第二预设时长之后,开始统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息。第二预设时长例如一分钟、两分钟等,具体可根据实际情况设定。In a specific implementation, after the terminal enters the dormant state, the wake-up information of the terminal system awakened by the application program within the first preset time period may be collected. Under normal circumstances, the terminal will not completely enter the dormant state immediately after the screen is turned off. In order to reduce interference, improve statistical accuracy, and ensure that the wake-up information starts to be counted after the terminal enters the dormant state, in this embodiment, an interval can be set (i.e. second preset duration), after the terminal screen is turned off for the second preset duration, start counting the wake-up information of the terminal system awakened by the application program within the first preset duration. The second preset duration is, for example, one minute, two minutes, etc., which can be set according to actual conditions.
本实施例的唤醒信息中包括唤醒终端系统的应用程序的标识信息及对应的唤醒累积次数。具体实现中,可以针对每个应用程序设置一个计数器,在开始统计之前,将每个应用程序的计数器都清零,在统计的过程中,终端每被唤醒一次,就先识别出唤醒终端系统的应用程序,然后将对应应用程序的计数器加一,在到达第一预设时长之后,读取各个应用程序对应的计数器数值,即得到各个应用程序对应的唤醒累积次数。The wake-up information in this embodiment includes the identification information of the application that wakes up the terminal system and the corresponding cumulative number of wake-ups. In the specific implementation, a counter can be set for each application program. Before the statistics start, the counters of each application program are cleared. The application program then adds one to the counter corresponding to the application program, and after the first preset time period is reached, reads the counter value corresponding to each application program, that is, obtains the cumulative wake-up times corresponding to each application program.
202、将唤醒累积次数大于预设次数阈值的应用程序的唤醒信息上报给用户。202 . Report the wake-up information of the application program whose cumulative number of wake-up times is greater than a preset number of times threshold to the user.
预设次数阈值可结合第一预设时长及异常判定需求设置,可以认为唤醒累积次数大于预设次数阈值的应用程序为异常应用程序,将唤醒累积次数大于预设次数阈值的应用程序的唤醒信息上报给用户,具体可以通过系统(sys)接口节点将异常应用程序的唤醒信息上报给用户,系统接口节点可以为/sys/kernel/wakeup_reasons/ap_resume_reason_stastics。The preset number of times threshold can be set in combination with the first preset time length and abnormality judgment requirements. It can be considered that the application program whose cumulative number of wake-up times is greater than the preset number of times threshold is an abnormal application program, and the wake-up information of the application program with the accumulated number of wake-up times greater than the preset number of times threshold Report to the user. Specifically, the wakeup information of the abnormal application can be reported to the user through the system (sys) interface node. The system interface node can be /sys/kernel/wakeup_reasons/ap_resume_reason_stastics.
如果唤醒累积次数大于预设次数阈值的应用程序有多个,则需要上报多个应用程序的唤醒信息,上报的格式可以为,应用程序的标识信息:唤醒累积次数,多个应用程序的唤醒信息可以使用空格分开。If there are multiple applications whose cumulative number of wake-ups is greater than the preset number of times threshold, the wake-up information of multiple applications needs to be reported. The report format can be, identification information of the application: cumulative number of wake-ups, wake-up information of multiple applications Can be separated by spaces.
当然,本实施例中,还可以将统计的所有应用程序的唤醒信息均上报给用户,例如将统计的唤醒信息按照唤醒累积次数从多到少的顺序排序后上报给用户,由用户自行确定哪些应用程序为异常应用程序。Of course, in this embodiment, it is also possible to report the wake-up information of all the applications counted to the user, for example, sort the wake-up information counted in descending order of the cumulative number of wake-ups and report to the user, and the user can determine which ones The application is an abnormal application.
实施例三Embodiment three
实施例一所描述的方法,本实施例将做进一步的描述,如图3所示,本实施例的方法包括以下步骤:The method described in Embodiment 1, this embodiment will be further described, as shown in Figure 3, the method of this embodiment includes the following steps:
301、统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息,所述唤醒信息包括应用程序的标识信息及对应的唤醒累积时长;301. Count the wake-up information of the terminal system woken up by the application program within the first preset time period, where the wake-up information includes the identification information of the application program and the corresponding cumulative wake-up time period;
具体实现中,可以在终端进入休眠状态后,统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息。通常情况下,终端熄屏后并不会立即完全进入休眠状态,为减少干扰,提高统计准确度,保证在终端进入休眠状态后开始统计唤醒信息,本实施例中,可以设置一个间隔时长(即第二预设时长),在终端熄屏第二预设时长之后,开始统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息。第二预设时长例如一分钟、两分钟等,具体可根据实际情况设定。In a specific implementation, after the terminal enters the dormant state, the wake-up information of the terminal system awakened by the application program within the first preset time period may be collected. Under normal circumstances, the terminal will not completely enter the dormant state immediately after the screen is turned off. In order to reduce interference, improve statistical accuracy, and ensure that the wake-up information starts to be counted after the terminal enters the dormant state, in this embodiment, an interval can be set (i.e. second preset duration), after the terminal screen is turned off for the second preset duration, start counting the wake-up information of the terminal system awakened by the application program within the first preset duration. The second preset duration is, for example, one minute, two minutes, etc., which can be set according to actual conditions.
本实施例的唤醒信息中包括唤醒终端系统的应用程序的标识信息及对应的唤醒累积时长。具体实现中,可以针对每个应用程序设置一个计时器,在开始统计之前,将每个应用程序的计时器都清零,在统计的过程中,终端每被唤醒一次,就先识别出唤醒终端系统的应用程序,然后启动对应应用程序的计时器记录唤醒时长,在到达第一预设时长之后,读取各个应用程序对应的计时器数值,即得到各个应用程序对应的唤醒累积时长。The wake-up information in this embodiment includes the identification information of the application that wakes up the terminal system and the corresponding cumulative wake-up time. In the specific implementation, a timer can be set for each application program, and the timer of each application program is cleared before the statistics start. The application program of the system then starts the timer corresponding to the application program to record the wake-up duration, and after reaching the first preset duration, reads the timer value corresponding to each application program, that is, obtains the cumulative wake-up duration corresponding to each application program.
302、将唤醒累积时长大于预设时长阈值的应用程序的唤醒信息上报给用户。302. Report the wake-up information of the application programs whose cumulative wake-up time is longer than a preset time threshold to the user.
预设时长阈值可结合第一预设时长及异常判定需求设置,可以认为唤醒累积时长大于预设时长阈值的应用程序为异常应用程序,将唤醒累积时长大于预设时长阈值的应用程序的唤醒信息上报给用户,具体可以通过系统(sys)接口节点将异常应用程序的唤醒信息上报给用户,系统接口节点可以为/sys/kernel/wakeup_reasons/ap_resume_reason_stastics。The preset duration threshold can be set in combination with the first preset duration and abnormal judgment requirements. It can be considered that the application whose wake-up cumulative duration is longer than the preset duration threshold is an abnormal application, and the wake-up information of the application whose wake-up cumulative duration is longer than the preset duration threshold can be considered Report to the user. Specifically, the wakeup information of the abnormal application can be reported to the user through the system (sys) interface node. The system interface node can be /sys/kernel/wakeup_reasons/ap_resume_reason_stastics.
如果唤醒累积时长大于预设时长阈值的应用程序有多个,则需要上报多个应用程序的唤醒信息,上报的格式可以为,应用程序的标识信息:唤醒累积时长,多个应用程序的唤醒信息可以使用空格分开。If there are multiple applications whose cumulative wake-up duration is greater than the preset duration threshold, the wake-up information of multiple applications needs to be reported. The report format can be, application identification information: cumulative wake-up duration, wake-up information of multiple applications Can be separated by spaces.
当然,本实施例中,还可以将统计的所有应用程序的唤醒信息均上报给用户,例如将统计的唤醒信息按照唤醒累积时长从大到小的顺序排序后上报给用户,由用户自行确定哪些应用程序为异常应用程序。Of course, in this embodiment, it is also possible to report the statistics of wake-up information of all application programs to the user, for example, sort the statistics of wake-up information in descending order of the cumulative wake-up time and report to the user, and the user can determine which ones The application is an abnormal application.
实施例四Embodiment Four
为了更好地实施以上方法,本发明还提供了一种终端,如图4所示,本实施例的终端包括:In order to better implement the above method, the present invention also provides a terminal, as shown in FIG. 4, the terminal in this embodiment includes:
统计单元401,用于统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息;A statistical unit 401, configured to count wake-up information of the terminal system woken up by the application program within the first preset time period;
上报单元402,用于将所述唤醒信息上报给用户。The reporting unit 402 is configured to report the wake-up information to the user.
在一个具体的实施例中,所述应用程序包括多个,每个应用程序具有标识信息,所述唤醒信息包括唤醒所述终端系统的应用程序的标识信息及对应的唤醒累积次数。In a specific embodiment, the application program includes multiple applications, each application program has identification information, and the wake-up information includes identification information of the application program that wakes up the terminal system and a corresponding cumulative number of wake-up times.
在一个具体的实施例中,所述应用程序包括多个,每个应用程序具有标识信息,所述唤醒信息包括唤醒所述终端系统的应用程序的标识信息及对应的唤醒累积时长。In a specific embodiment, the application program includes multiple applications, and each application program has identification information, and the wake-up information includes identification information of the application program that wakes up the terminal system and a corresponding cumulative wake-up duration.
在一个具体的实施例中,所述上报单元具体用于,将所有应用程序的唤醒信息均上报给用户。In a specific embodiment, the reporting unit is specifically configured to report wake-up information of all application programs to the user.
在一个具体的实施例中,所述上报单元具体用于,将唤醒累积次数大于预设次数阈值的应用程序的唤醒信息上报给用户;或者将唤醒累积时长大于预设时长阈值的应用程序的唤醒信息上报给用户。In a specific embodiment, the reporting unit is specifically configured to report to the user the wake-up information of the application program whose cumulative number of wake-up times is greater than the preset threshold value; The information is reported to the user.
在一个具体的实施例中,所述统计单元具体用于,在终端熄屏第二预设时长之后,统计终端系统在第一预设时长内被应用程序唤醒的唤醒信息。In a specific embodiment, the statistic unit is specifically configured to, after the terminal screen is off for a second preset time period, count the wake-up information of the terminal system awakened by the application program within the first preset time period.
需要说明的是,本实施例中未做详细描述的步骤及对应有益效果均可参阅前述方法实施例中对应的描述,此处不再赘述。It should be noted that for steps and corresponding beneficial effects not described in detail in this embodiment, reference may be made to the corresponding descriptions in the foregoing method embodiments, and details are not repeated here.
本实施例中,可以自动统计终端系统被各个应用程序唤醒的唤醒信息并上报给用户,用户根据上报的唤醒信息即可及时发现影响终端续航时间或续航能力的异常应用程序,从而为应用和系统的优化提供了有效的手段。In this embodiment, the wake-up information that the terminal system is woken up by various applications can be automatically counted and reported to the user. The user can promptly find the abnormal application that affects the battery life or battery life of the terminal according to the reported wake-up information, so as to improve the service life of the application and the system. The optimization provides an effective means.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program codes.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610430438.2A CN106126209A (en) | 2016-06-15 | 2016-06-15 | A wake-up statistics method of a terminal system and a terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610430438.2A CN106126209A (en) | 2016-06-15 | 2016-06-15 | A wake-up statistics method of a terminal system and a terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106126209A true CN106126209A (en) | 2016-11-16 |
Family
ID=57469769
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610430438.2A Pending CN106126209A (en) | 2016-06-15 | 2016-06-15 | A wake-up statistics method of a terminal system and a terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106126209A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107168851A (en) * | 2017-05-08 | 2017-09-15 | 广东欧珀移动通信有限公司 | Information processing method, device and mobile terminal |
| CN112771469A (en) * | 2018-11-07 | 2021-05-07 | 深圳市欢太科技有限公司 | Application information processing method, computer-readable storage medium, and electronic device |
| CN115442768A (en) * | 2021-06-03 | 2022-12-06 | 广州汽车集团股份有限公司 | Abnormal awakening monitoring method for vehicle-mounted TBOX communication module |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104166542A (en) * | 2013-05-17 | 2014-11-26 | 腾讯科技(深圳)有限公司 | Method and device for detecting electricity consumption of application |
| CN104298584A (en) * | 2013-07-19 | 2015-01-21 | 贝壳网际(北京)安全技术有限公司 | Method and device for acquiring application program with abnormal power consumption and mobile terminal |
-
2016
- 2016-06-15 CN CN201610430438.2A patent/CN106126209A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104166542A (en) * | 2013-05-17 | 2014-11-26 | 腾讯科技(深圳)有限公司 | Method and device for detecting electricity consumption of application |
| CN104298584A (en) * | 2013-07-19 | 2015-01-21 | 贝壳网际(北京)安全技术有限公司 | Method and device for acquiring application program with abnormal power consumption and mobile terminal |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107168851A (en) * | 2017-05-08 | 2017-09-15 | 广东欧珀移动通信有限公司 | Information processing method, device and mobile terminal |
| CN107168851B (en) * | 2017-05-08 | 2019-02-05 | Oppo广东移动通信有限公司 | Information processing method, device and mobile terminal |
| CN112771469A (en) * | 2018-11-07 | 2021-05-07 | 深圳市欢太科技有限公司 | Application information processing method, computer-readable storage medium, and electronic device |
| CN112771469B (en) * | 2018-11-07 | 2023-12-05 | 深圳市欢太科技有限公司 | Application of information processing methods, computer-readable storage media and electronic devices |
| CN115442768A (en) * | 2021-06-03 | 2022-12-06 | 广州汽车集团股份有限公司 | Abnormal awakening monitoring method for vehicle-mounted TBOX communication module |
| CN115442768B (en) * | 2021-06-03 | 2024-08-16 | 广州汽车集团股份有限公司 | A method for monitoring abnormal wake-up of vehicle-mounted TBOX communication module |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106227321B (en) | Awakening monitoring method of terminal system and terminal | |
| CN104866366A (en) | Application clearing method and application clearing device | |
| CN104182029B (en) | Program invocation time setting method, program invocation time setting device and terminal | |
| CN109803359B (en) | Method for awakening terminal system and terminal | |
| WO2016041468A1 (en) | Wakeup method, device and terminal | |
| CN102200942B (en) | Based on application behavior monitoring method and the cloud server of cloud computing | |
| WO2015007246A1 (en) | Mobile terminal, device and method for controlling waking of application program in mobile terminal | |
| CN112153216A (en) | Power early warning method and device, terminal device, and storage medium | |
| CN103324519A (en) | Method and device for clearing malicious power consumption applications, and user terminal | |
| CN105302637A (en) | Method, device, and mobile terminal for recovering stuck caused by system process running abnormally | |
| CN106921506B (en) | Method and system for data collection and reporting of mobile devices | |
| CN106168902A (en) | Awakening control method, device and equipment | |
| CN106648021B (en) | Data broadcasting method of low power consumption circuit and low power consumption circuit | |
| CN104484282A (en) | Internal storage recovery method and device | |
| CN105955444A (en) | Aligned wakeup method and apparatus | |
| CN107306443B (en) | An information processing method and terminal | |
| CN105281965B (en) | Traffic acquisition method and device based on IOS (input/output system) | |
| CN106126209A (en) | A wake-up statistics method of a terminal system and a terminal | |
| CN109002381A (en) | Process communication monitoring method, electronic device and computer readable storage medium | |
| CN103885871A (en) | Power consumption display method and device, and mobile terminal | |
| CN104052861A (en) | Terminal and wake-up method thereof | |
| CN103533184A (en) | Method for reducing standby power consumption of mobile phone | |
| CN105676999B (en) | A kind of method and system of processing terminal application | |
| CN106686709A (en) | Screen wake-up method and mobile terminal | |
| CN115220648B (en) | Data writing flow statistics method and device and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161116 |
|
| RJ01 | Rejection of invention patent application after publication |