技术领域technical field
本发明涉及互联网技术领域,尤其涉及一种移动终端的应用程序进程清理方法、装置和移动终端。The present invention relates to the technical field of the Internet, in particular to a method and device for cleaning up application process of a mobile terminal and a mobile terminal.
背景技术Background technique
随着移动终端的不断发展,用户可以在移动终端中安装各种类型的应用程序。但是由于一些应用程序在退出后仍然会在移动终端的后台中运行,因此会使得移动终端的待机功能失效。在用户不使用移动终端时,例如,在锁屏期间,移动终端中主管发射和接收的电路并没有停止运行,导致移动终端耗电量大,电池的消耗非常快。甚至有时不到一天,一块充满的电池就被消耗干净。为此,用户可在移动终端中结束后台运行的应用程序,例如,移动终端调用操作系统API遍历出当前所有后台运行的应用程序,将该应用程序展示给用户,并且提示用户大多数应用程序是否可以清理。当用户选择要清理的应用程序后,移动终端再根据用户的选择结束该应用程序。在实现本发明过程中,发明人发现现有技术至少存在以下问题:现有的清理方法需要用户自己手动选择需要清理的应用程序,操作非常繁琐,清理方式也很单一。此外,用户往往想不起来清理后台运行的应用程序,因此,不能及时地对耗电量大的应用程序进行清理,导致移动终端达不到较好的省电的效果,用户体验度差。With the continuous development of mobile terminals, users can install various types of application programs in the mobile terminals. However, since some application programs will still run in the background of the mobile terminal after exiting, the standby function of the mobile terminal will be invalidated. When the user does not use the mobile terminal, for example, during the screen lock period, the circuit in charge of transmitting and receiving in the mobile terminal does not stop running, resulting in a large power consumption of the mobile terminal and a very fast battery consumption. Even sometimes less than a day, a fully charged battery is completely drained. To this end, the user can end the applications running in the background in the mobile terminal. For example, the mobile terminal calls the operating system API to traverse all the applications currently running in the background, presents the applications to the user, and prompts the user whether most of the applications are can be cleaned up. After the user selects the application program to be cleaned up, the mobile terminal terminates the application program according to the user's selection. In the process of implementing the present invention, the inventors have found at least the following problems in the prior art: the existing cleaning method requires the user to manually select the application program to be cleaned, the operation is very cumbersome, and the cleaning method is also very single. In addition, the user often does not remember to clean up the application programs running in the background. Therefore, the application programs that consume a lot of power cannot be cleaned up in a timely manner, resulting in a poor power-saving effect of the mobile terminal and poor user experience.
发明内容Contents of the invention
本发明旨在至少解决上述技术问题之一。The present invention aims to solve at least one of the above-mentioned technical problems.
为此,本发明的第一个目的在于提出一种移动终端的应用程序进程清理方法。该方法可为用户提供不同的清理方式,从而在不影响用户正常使用的状态下,尽量省电,提升了用户体验。For this reason, the first object of the present invention is to propose a method for cleaning application process of a mobile terminal. This method can provide different cleaning methods for the user, thereby saving power as much as possible without affecting the normal use of the user, and improving user experience.
本发明的第二个目的在于提出一种移动终端的应用程序进程清理装置。The second object of the present invention is to provide an application process cleaning device for a mobile terminal.
本发明的第三个目的在于提出一种移动终端。The third object of the present invention is to provide a mobile terminal.
为了实现上述目的,本发明第一方面实施例的移动终端的应用程序进程清理方法包括以下步骤:获取在移动终端锁屏期间内运行的应用程序进程和锁屏的状态信息;根据所述锁屏的状态信息判断锁屏的时间是否超过预设时间;以及如果超过所述预设时间,则对所述运行的应用程序进程中的至少部分应用程序进程进行清理。In order to achieve the above object, the method for cleaning the application program process of the mobile terminal according to the embodiment of the first aspect of the present invention includes the following steps: obtaining the status information of the application program process and the lock screen running during the lock screen period of the mobile terminal; Judging whether the time of locking the screen exceeds a preset time based on the status information; and if the time exceeds the preset time, cleaning up at least part of the running application process.
根据本发明实施例的移动终端的应用程序进程清理方法,可根据应用程序进程的描述信息为用户提供不同的清理方式,从而在不影响用户正常使用的状态下,尽量省电,提升了用户体验。According to the method for cleaning the application program process of the mobile terminal according to the embodiment of the present invention, different cleaning methods can be provided for the user according to the description information of the application program process, thereby saving power as much as possible without affecting the normal use of the user, and improving the user experience .
为了实现上述目的,本发明第二方面实施例的移动终端的应用程序进程清理装置,包括:获取模块,用于获取在移动终端锁屏期间内运行的应用程序进程和锁屏的状态信息;判断模块,用于根据所述锁屏的状态信息判断锁屏的时间是否超过预设时间;以及第一进程清理模块,用于在超过所述预设时间时,对所述运行的应用程序进程中的至少部分应用程序进程进行清理。In order to achieve the above object, the mobile terminal application process cleaning device according to the embodiment of the second aspect of the present invention includes: an acquisition module, which is used to acquire the status information of the application process and the lock screen running during the lock screen period of the mobile terminal; A module for judging whether the time for locking the screen exceeds a preset time according to the state information of the lock screen; and a first process cleaning module for, when the preset time is exceeded, for the process of the running application program Clean up at least some of the application processes.
根据本发明实施例的移动终端的应用程序进程清理装置,可根据应用程序进程的描述信息为用户提供不同的清理方式,从而在不影响用户正常使用的状态下,尽量省电,提升了用户体验。According to the mobile terminal application process cleaning device according to the embodiment of the present invention, different cleaning methods can be provided for the user according to the description information of the application process, thereby saving power as much as possible without affecting the normal use of the user, and improving the user experience .
为了实现上述目的,本发明第三方面实施例的移动终端,包括:屏幕,处理器和电路板;In order to achieve the above object, the mobile terminal according to the embodiment of the third aspect of the present invention includes: a screen, a processor and a circuit board;
所述屏幕安置在所述外壳上,所述电路板安置在所述外壳围成的空间内部,所述处理器设置在所述电路板上;所述处理器用于处理数据,并具体用于:获取在移动终端锁屏期间内运行的应用程序进程和锁屏的状态信息;根据所述锁屏的状态信息判断锁屏的时间是否超过预设时间;以及如果超过所述预设时间,则对所述运行的应用程序进程中的至少部分应用程序进程进行清理。The screen is arranged on the casing, the circuit board is arranged inside the space surrounded by the casing, and the processor is arranged on the circuit board; the processor is used for processing data, and is specifically used for: Obtain the status information of the application process and the lock screen running during the lock screen of the mobile terminal; judge whether the time of the lock screen exceeds the preset time according to the status information of the lock screen; and if exceed the preset time, then At least some of the running application processes are cleaned up.
根据本发明实施例的移动终端,可根据应用程序进程的描述信息为用户提供不同的清理方式,从而在不影响用户正常使用的状态下,尽量省电,提升了用户体验。According to the mobile terminal of the embodiment of the present invention, different cleaning methods can be provided for the user according to the description information of the application process, so as to save power as much as possible without affecting the normal use of the user, and improve the user experience.
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
附图说明Description of drawings
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中,The above and/or additional aspects and advantages of the present invention will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein,
图1是根据本发明一个实施例的移动终端的应用程序进程清理方法的流程图;Fig. 1 is the flow chart of the application program process cleaning method of mobile terminal according to one embodiment of the present invention;
图2是根据本发明一个具体实施例的移动终端的应用程序进程清理方法的流程图;Fig. 2 is the flow chart of the application process cleaning method of the mobile terminal according to a specific embodiment of the present invention;
图3是根据本发明另一个具体实施例的移动终端的应用程序进程清理方法的流程图;Fig. 3 is a flow chart of a method for cleaning an application program process of a mobile terminal according to another specific embodiment of the present invention;
图4是根据本发明一个实施例的移动终端的应用程序进程装置的结构示意图;FIG. 4 is a schematic structural diagram of an application process device of a mobile terminal according to an embodiment of the present invention;
图5是根据本发明一个具体实施例的移动终端的应用程序进程装置的结构示意图;FIG. 5 is a schematic structural diagram of an application process device of a mobile terminal according to a specific embodiment of the present invention;
图6是根据本发明另一个具体实施例的移动终端的应用程序进程装置的结构示意图;以及FIG. 6 is a schematic structural diagram of an application process device of a mobile terminal according to another specific embodiment of the present invention; and
图7是根据本发明又一个具体实施例的移动终端的应用程序进程装置的结构示意图。Fig. 7 is a schematic structural diagram of an application process device of a mobile terminal according to yet another specific embodiment of the present invention.
具体实施方式Detailed ways
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。相反,本发明的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.
在本发明的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。此外,在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the description of the present invention, it should be understood that the terms "first", "second" and so on are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance. In the description of the present invention, it should be noted that unless otherwise specified and limited, the terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral Ground connection; it can be mechanical connection or electrical connection; it can be direct connection or indirect connection through an intermediary. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention in specific situations. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present invention pertain.
下面参考附图描述根据本发明实施例的移动终端的应用程序进程清理方法、装置和移动终端。The method, device and mobile terminal for cleaning the application program process of the mobile terminal according to the embodiments of the present invention will be described below with reference to the accompanying drawings.
例如,在安卓Android操作系统的移动终端中,大多数应用程序退出之后仍保留在后台中运行。这种方式和操作系统对应用程序的调度机制有关系,将应用程序的当前状态信息保存在后台中,可以加快应用程序下次启动时的速度。如果可以根据用后台中运行的应用程序特性以及用户的使用习惯制定是否结束后台中应用程序的策略,由此,可以保证用户使用移动终端体验足够的好,并且使移动终端尽可能的省电。为此,本发明提出了一种移动终端的应用程序进程清理方法。For example, in a mobile terminal with an Android operating system, most applications remain running in the background after exiting. This method has something to do with the operating system's scheduling mechanism for the application program. The current status information of the application program is saved in the background, which can speed up the speed of the application program when it is started next time. If the policy of whether to terminate the application program in the background can be formulated according to the characteristics of the application program running in the background and the user's usage habits, it can ensure that the user's mobile terminal experience is good enough, and the mobile terminal can save power as much as possible. For this reason, the present invention proposes a method for cleaning up the application program process of the mobile terminal.
图1是根据本发明一个实施例的移动终端的应用程序进程清理方法的流程图;图2是根据本发明一个实施例的移动终端的应用程序进程清理方法的流程图。如图1和图2所示,移动终端的应用程序进程清理方法包括以下步骤。Fig. 1 is a flow chart of a method for cleaning an application process of a mobile terminal according to an embodiment of the present invention; Fig. 2 is a flow chart of a method for cleaning an application process of a mobile terminal according to an embodiment of the present invention. As shown in Fig. 1 and Fig. 2, the method for cleaning the application program process of the mobile terminal includes the following steps.
S11,获取在移动终端锁屏期间内运行的应用程序进程和锁屏的状态信息。S11. Obtain status information of application program processes and screen locks running during the screen lock period of the mobile terminal.
在本发明的一个实施例中,移动终端可是例如手机、平板电脑等具有各种操作系统的硬件设备。In an embodiment of the present invention, the mobile terminal may be a hardware device with various operating systems such as a mobile phone and a tablet computer.
在本发明的一个实施例中,锁屏状态信息包括移动终端进入锁屏状态的时间。具体地,移动终端监测移动终端进入锁屏状态之后的锁屏时间。In an embodiment of the present invention, the lock screen state information includes the time when the mobile terminal enters the lock screen state. Specifically, the mobile terminal monitors the screen lock time after the mobile terminal enters the screen lock state.
S12,根据锁屏的状态信息判断锁屏的时间是否超过预设时间。S12, judging whether the time of locking the screen exceeds a preset time according to the state information of the locking screen.
在本发明的一个实施例中,预设时间可是移动终端操作系统中默认的,或者用户在移动终端操作系统中设置的。例如,预设时间可为30分钟。In an embodiment of the present invention, the preset time may be defaulted in the operating system of the mobile terminal, or set by the user in the operating system of the mobile terminal. For example, the preset time may be 30 minutes.
S13,如果超过预设时间,则对运行的应用程序进程中的至少部分应用程序进程进行清理。S13. Clean up at least part of the running application process if the preset time is exceeded.
具体地,如果移动终端锁屏的时间超过了预设时间,则移动终端对运行的的应用程序进行分析,例如,获取用户使用该应用程序的使用频率、耗电量异常的应用程序、应用程序的类型等。然后,移动终端可将使用频率低、耗电量异常的应用程序进行清理以结束该应用程序。其中,如果用户使用该应用程序频繁,即应用程序的使用频率高,则移动终端不清理该应用程序,保持该应用程序继续在后台中运行。由此,可以避免移动终端将用户不希望结束的应用程序清理掉,提高了用户体验。Specifically, if the screen lock time of the mobile terminal exceeds the preset time, the mobile terminal analyzes the running application program, for example, obtains the frequency of use of the application program by the user, the application program with abnormal power consumption, the application program type etc. Then, the mobile terminal can clean up the application program with low frequency of use and abnormal power consumption to end the application program. Wherein, if the user uses the application program frequently, that is, the application program is used frequently, the mobile terminal does not clean up the application program, and keeps the application program running in the background. In this way, it is possible to prevent the mobile terminal from cleaning up the application programs that the user does not wish to terminate, thereby improving user experience.
在本发明的一个实施例中,对运行的应用程序进程进行清理可以包括以下两种方式,结束运行的应用程序进程中的至少部分应用程序进程或控制至少部分应用程序进程进入深度休眠。In an embodiment of the present invention, cleaning the running application process may include the following two ways, ending at least part of the running application process or controlling at least part of the application process to enter deep sleep.
在本发明的一个实施例中,S13包括以下步骤。In one embodiment of the present invention, S13 includes the following steps.
S131,判断运行的应用程序进程是否耗电量异常。S131. Determine whether the power consumption of the running application program process is abnormal.
在本发明的一个实施例中,S131包括以下步骤。In one embodiment of the present invention, S131 includes the following steps.
S1311,获取运行的应用程序进程的资源消耗信息和/或锁屏期间内的唤醒统计信息。S1311. Obtain resource consumption information of a running application program process and/or wake-up statistical information during a screen lock period.
在本发明的一个实施例中,资源消耗信息包括中央处理器CPU的占用率、内存占用率、无线传输接口使用信息、全球定位系统GPS使用信息、传感器使用信息中的一种或多种。具体地,当用户锁屏后,获取开始时间点,统计移动终端中活动的应用程序,在锁屏时,获取每个正在活动的应用程序在系统内的资源消耗的快照,这个快照还可包含正在运行的应用程序对各个系统资源的消耗情况,当用户对移动终端解锁后,获取结束时间点,停止对正在活动的应用程序的统计,由此,可通过统计以获取每个活动的应用程序在开始时间点和结束时间点之间的资源消耗信息。In an embodiment of the present invention, the resource consumption information includes one or more of CPU occupancy rate, memory occupancy rate, wireless transmission interface usage information, global positioning system GPS usage information, and sensor usage information. Specifically, when the user locks the screen, the start time point is obtained, and the active applications in the mobile terminal are counted. When the screen is locked, a snapshot of the resource consumption of each active application in the system is obtained. This snapshot can also include The consumption of various system resources by the running applications. When the user unlocks the mobile terminal, the end time point is obtained, and the statistics of the active applications are stopped. Therefore, each active application can be obtained through statistics Resource consumption information between the start time point and the end time point.
在本发明的一个实施例中,唤醒统计信息包括唤醒时间统计信息和/或唤醒次数统计信息。具体地,唤醒时间可为应用程序进程被唤醒后活动的时间,唤醒次数可为应用程序进程被唤醒的次数。具体地,当用户锁屏后,获取开始时间点,统计移动终端中活动的应用程序,在锁屏时,获取每个正在活动的应用程序在系统内的资源消耗的快照,这个快照可包含正在运行的应用程序的唤醒时间(如,wakelock time)和唤醒次数(如,wakelock count)等信息,当用户对移动终端解锁后,获取结束时间点,停止对正在活动的应用程序的统计,由此,可通过统计以获取每个活动的应用程序在开始时间点和结束时间点之间的唤醒统计信息。In an embodiment of the present invention, the wake-up statistical information includes wake-up time statistical information and/or wake-up times statistical information. Specifically, the wake-up time may be the active time after the application program process is woken up, and the number of wake-up times may be the number of times the application program process is woken up. Specifically, when the user locks the screen, the start time point is obtained, and the active applications in the mobile terminal are counted. When the screen is locked, a snapshot of the resource consumption of each active application in the system is obtained. Information such as the wake-up time (for example, wakelock time) and wake-up times (for example, wakelock count) of the running application. When the user unlocks the mobile terminal, the end time point is obtained, and the statistics of the active application are stopped. , you can use statistics to obtain the wake-up statistics of each active application between the start time point and the end time point.
S1312,如果资源消耗信息和/或唤醒统计信息大于预设阈值时,则判断运行的应用程序进程耗电异常。S1312, if the resource consumption information and/or the wake-up statistical information is greater than the preset threshold, determine that the power consumption of the running application program process is abnormal.
在本发明的一个实施例中,预设阈值可通过对数据运算建立。该预设阈值可包括两部分,一部分为应用程序进程消耗的电量,另一部分为移动终端每次锁屏期间被唤醒的比例。如果判断运行的应用程序进程的资源消耗信息和唤醒统计信息中的其中一个大于预设阈值,则确定该应用程序进程耗电异常。In one embodiment of the present invention, the preset threshold can be established by operating on data. The preset threshold may include two parts, one part is the power consumed by the application program process, and the other part is the proportion of the mobile terminal being woken up during each lock screen. If it is determined that one of the resource consumption information and the wake-up statistics information of the running application process is greater than a preset threshold, it is determined that the application process has abnormal power consumption.
例如,获取到在锁屏期间活天气预报类应用程序,该应用程序在锁屏期间的唤醒时间统计信息和唤醒次数统计信息均大于预设阀值时,可判断该应用程序耗电异常,应当理解,也可以为唤醒时间统计信息或者唤醒次数大于预设阀值时,判断对应的应用程序耗电异常。For example, if a weather forecast application is active during the lock screen period, and the wake-up time statistics and wake-up times statistics information of the application during the lock screen period are both greater than the preset threshold, it can be judged that the power consumption of the application is abnormal, and it should It is understood that when the wake-up time statistical information or the number of wake-up times is greater than a preset threshold, it can be determined that the power consumption of the corresponding application program is abnormal.
在本发明的一个实施例中,如果应用程序进程不正常使用GPS、传感器等设备,则确定该应用程序进程耗电异常。具体地,如果当用户锁屏后,应用程序进程仍然持有GPS、传感器等设备,也就是说当应用程序进程不需要使用这些设备时仍持有这些设备,则确定应用程序进程耗电异常。In an embodiment of the present invention, if the application program process does not normally use devices such as GPS and sensors, it is determined that the application program process consumes abnormal power. Specifically, if the application process still holds devices such as GPS and sensors after the user locks the screen, that is to say, the application process still holds these devices when the application process does not need to use these devices, it is determined that the application process consumes abnormal power.
S132,如果运行的应用程序进程耗电量异常,则获取耗电量异常的应用程序进程的描述信息,其中,描述信息包括应用程序进程的类型。S132. If the power consumption of the running application program process is abnormal, obtain the description information of the application program process with abnormal power consumption, where the description information includes the type of the application program process.
在本发明的一个实施例中,可从云端服务器获取耗电量异常的应用程序进程的描述信息,例如,MP3播放器类应用程序、游戏类应用程序、或者浏览器类应用程序等。具体地,云端服务器可将全部应用程序进程进行分类,根据移动终端发送的请求,将应用程序进程的描述信息发送至移动终端。In one embodiment of the present invention, the description information of the application process with abnormal power consumption can be obtained from the cloud server, for example, an MP3 player application, a game application, or a browser application. Specifically, the cloud server can classify all the application process, and send the description information of the application process to the mobile terminal according to the request sent by the mobile terminal.
S133,根据描述信息对耗电量异常的应用程序进程进行清理。S133. Clean up the application process with abnormal power consumption according to the description information.
在本发明的一个实施例中,如果应用程序进程的描述信息为浏览器类应用程序、翻译类应用程序等,则结束该应用程序进程;如果应用程序进程的描述信息为游戏类应用程序等,则控制该应用程序进程进入深度休眠,即保存应用程序的进度以及移动终端状态,然后结束该应用程序进程;如果应用程序进程的描述信息为MP3播放器类应用程序等,则继续运行该应用程序进程,由此,可以保证用户在听歌时进入锁屏后,MP3播放器类应用程序不会被清理,符合用户的使用习惯。In one embodiment of the present invention, if the description information of the application process is a browser application, translation application, etc., then end the application process; if the description information of the application process is a game application, etc., Then control the application program process to enter deep sleep, that is, save the progress of the application program and the state of the mobile terminal, and then end the application program process; if the description information of the application program process is an MP3 player application program, etc., then continue to run the application program process, thus, it can be guaranteed that after the user enters the lock screen while listening to music, the MP3 player application program will not be cleaned up, which is in line with the user's usage habits.
根据本发明实施例的移动终端的应用程序进程清理方法,可根据应用程序进程的描述信息为用户提供不同的清理方式,从而在不影响用户正常使用的状态下,尽量省电,提升了用户体验。According to the method for cleaning the application program process of the mobile terminal according to the embodiment of the present invention, different cleaning methods can be provided for the user according to the description information of the application program process, thereby saving power as much as possible without affecting the normal use of the user, and improving the user experience .
图3是根据本发明另一个具体实施例的移动终端的应用程序进程清理方法的流程图。如图3所示,移动终端的应用程序进程清理方法包括以下步骤。Fig. 3 is a flow chart of a method for cleaning application program processes of a mobile terminal according to another specific embodiment of the present invention. As shown in FIG. 3 , the method for cleaning the application process of the mobile terminal includes the following steps.
S31,获取在移动终端锁屏期间内运行的应用程序进程和锁屏的状态信息。S31. Acquiring the status information of the application program process and the lock screen running during the screen lock period of the mobile terminal.
在本发明的一个实施例中,移动终端可是例如手机、平板电脑等具有各种操作系统的硬件设备。In an embodiment of the present invention, the mobile terminal may be a hardware device with various operating systems such as a mobile phone and a tablet computer.
在本发明的一个实施例中,锁屏状态信息包括移动终端进入锁屏状态的时间。具体地,移动终端监测移动终端进入锁屏状态之后的锁屏时间。In an embodiment of the present invention, the lock screen state information includes the time when the mobile terminal enters the lock screen state. Specifically, the mobile terminal monitors the screen lock time after the mobile terminal enters the screen lock state.
S32,根据锁屏的状态信息判断锁屏的时间是否超过预设时间。S32. Determine whether the screen-locking time exceeds a preset time according to the status information of the screen-locking.
在本发明的一个实施例中,预设时间可是移动终端操作系统中默认的,或者用户在移动终端操作系统中设置的。例如,预设时间可为30分钟。In an embodiment of the present invention, the preset time may be defaulted in the operating system of the mobile terminal, or set by the user in the operating system of the mobile terminal. For example, the preset time may be 30 minutes.
S33,如果超过预设时间,则对运行的应用程序进程中的至少部分应用程序进程进行清理。S33. Clean up at least part of the running application process if the preset time is exceeded.
具体地,如果移动终端锁屏的时间超过了预设时间,则移动终端对运行的的应用程序进行分析,例如,获取用户使用该应用程序的使用频率、耗电量异常的应用程序、应用程序的类型等。然后,移动终端可将使用频率低、耗电量异常的应用程序进行清理以结束该应用程序。其中,如果用户使用该应用程序频繁,即应用程序的使用频率高,则移动终端不清理该应用程序,保持该应用程序继续在后台中运行。由此,可以避免移动终端将用户不希望结束的应用程序清理掉,提高了用户体验。Specifically, if the screen lock time of the mobile terminal exceeds the preset time, the mobile terminal analyzes the running application program, for example, obtains the frequency of use of the application program by the user, the application program with abnormal power consumption, the application program type etc. Then, the mobile terminal can clean up the application program with low frequency of use and abnormal power consumption to end the application program. Wherein, if the user uses the application program frequently, that is, the application program is used frequently, the mobile terminal does not clean up the application program, and keeps the application program running in the background. In this way, it is possible to prevent the mobile terminal from cleaning up the application programs that the user does not wish to terminate, thereby improving user experience.
在本发明的一个实施例中,对运行的应用程序进程进行清理可以包括以下两种方式,结束运行的应用程序进程中的至少部分应用程序进程或控制至少部分应用程序进程进入深度休眠。In an embodiment of the present invention, cleaning the running application process may include the following two ways, ending at least part of the running application process or controlling at least part of the application process to enter deep sleep.
在本发明的一个实施例中,S33包括以下步骤。In one embodiment of the present invention, S33 includes the following steps.
S331,判断运行的应用程序进程是否耗电量异常。S331. Determine whether the power consumption of the running application program process is abnormal.
在本发明的一个实施例中,S331包括以下步骤。In one embodiment of the present invention, S331 includes the following steps.
S3311,获取运行的应用程序进程的资源消耗信息和/或锁屏期间内的唤醒统计信息。S3311. Obtain resource consumption information of a running application program process and/or wake-up statistical information during a screen lock period.
在本发明的一个实施例中,资源消耗信息包括中央处理器CPU的占用率、内存占用率、无线传输接口使用信息、全球定位系统GPS使用信息、传感器使用信息中的一种或多种。具体地,当用户锁屏后,获取开始时间点,统计移动终端中活动的应用程序,在锁屏时,获取每个正在活动的应用程序在系统内的资源消耗的快照,这个快照还可包含正在运行的应用程序对各个系统资源的消耗情况,当用户对移动终端解锁后,获取结束时间点,停止对正在活动的应用程序的统计,由此,可通过统计以获取每个活动的应用程序在开始时间点和结束时间点之间的资源消耗信息。In an embodiment of the present invention, the resource consumption information includes one or more of CPU occupancy rate, memory occupancy rate, wireless transmission interface usage information, global positioning system GPS usage information, and sensor usage information. Specifically, when the user locks the screen, the start time point is obtained, and the active applications in the mobile terminal are counted. When the screen is locked, a snapshot of the resource consumption of each active application in the system is obtained. This snapshot can also include The consumption of various system resources by the running applications. When the user unlocks the mobile terminal, the end time point is obtained, and the statistics of the active applications are stopped. Therefore, each active application can be obtained through statistics Resource consumption information between the start time point and the end time point.
在本发明的一个实施例中,唤醒统计信息包括唤醒时间统计信息和/或唤醒次数统计信息。具体地,唤醒时间可为应用程序进程被唤醒后活动的时间,唤醒次数可为应用程序进程被唤醒的次数。具体地,当用户锁屏后,获取开始时间点,统计移动终端中活动的应用程序,在锁屏时,获取每个正在活动的应用程序在系统内的资源消耗的快照,这个快照可包含正在运行的应用程序的唤醒时间(如,wakelock time)和唤醒次数(如,wakelock count)等信息,当用户对移动终端解锁后,获取结束时间点,停止对正在活动的应用程序的统计,由此,可通过统计以获取每个活动的应用程序在开始时间点和结束时间点之间的唤醒统计信息。In an embodiment of the present invention, the wake-up statistical information includes wake-up time statistical information and/or wake-up times statistical information. Specifically, the wake-up time may be the active time after the application program process is woken up, and the number of wake-up times may be the number of times the application program process is woken up. Specifically, when the user locks the screen, the start time point is obtained, and the active applications in the mobile terminal are counted. When the screen is locked, a snapshot of the resource consumption of each active application in the system is obtained. Information such as the wake-up time (for example, wakelock time) and wake-up times (for example, wakelock count) of the running application. When the user unlocks the mobile terminal, the end time point is obtained, and the statistics of the active application are stopped. , you can use statistics to obtain the wake-up statistics of each active application between the start time point and the end time point.
S3312,如果资源消耗信息和/或唤醒统计信息大于预设阈值时,则判断运行的应用程序进程耗电异常。S3312. If the resource consumption information and/or the wake-up statistics are greater than the preset threshold, determine that the power consumption of the running application process is abnormal.
在本发明的一个实施例中,预设阈值可通过对数据运算建立。该预设阈值可包括两部分,一部分为应用程序进程消耗的电量,另一部分为移动终端每次锁屏期间被唤醒的比例。如果判断运行的应用程序进程的资源消耗信息和唤醒统计信息中的其中一个大于预设阈值,则确定该应用程序进程耗电异常。In one embodiment of the present invention, the preset threshold can be established by operating on data. The preset threshold may include two parts, one part is the power consumed by the application program process, and the other part is the proportion of the mobile terminal being woken up during each lock screen. If it is determined that one of the resource consumption information and the wake-up statistics information of the running application process is greater than a preset threshold, it is determined that the application process has abnormal power consumption.
例如,获取到在锁屏期间活天气预报类应用程序,该应用程序在锁屏期间的唤醒时间统计信息和唤醒次数统计信息均大于预设阀值时,可判断该应用程序耗电异常,应当理解,也可以为唤醒时间统计信息或者唤醒次数大于预设阀值时,判断对应的应用程序耗电异常。For example, if a weather forecast application is active during the lock screen period, and the wake-up time statistics and wake-up times statistics information of the application during the lock screen period are both greater than the preset threshold, it can be judged that the power consumption of the application is abnormal, and it should It is understood that when the wake-up time statistical information or the number of wake-up times is greater than a preset threshold, it can be determined that the power consumption of the corresponding application program is abnormal.
在本发明的一个实施例中,如果应用程序进程不正常使用GPS、传感器等设备,则确定该应用程序进程耗电异常。具体地,如果当用户锁屏后,应用程序进程仍然持有GPS、传感器等设备,也就是说当应用程序进程不需要使用这些设备时仍持有这些设备,则确定应用程序进程耗电异常。In an embodiment of the present invention, if the application program process does not normally use devices such as GPS and sensors, it is determined that the application program process consumes abnormal power. Specifically, if the application process still holds devices such as GPS and sensors after the user locks the screen, that is to say, the application process still holds these devices when the application process does not need to use these devices, it is determined that the application process consumes abnormal power.
S332,如果运行的应用程序进程耗电量异常,则获取耗电量异常的应用程序进程的描述信息,其中,描述信息包括应用程序进程的类型。S332. If the power consumption of the running application program process is abnormal, obtain the description information of the application program process with abnormal power consumption, where the description information includes the type of the application program process.
在本发明的一个实施例中,可从云端服务器获取耗电量异常的应用程序进程的描述信息,例如,MP3播放器类应用程序、游戏类应用程序、或者浏览器类应用程序等。具体地,云端服务器可将全部应用程序进程进行分类,根据移动终端发送的请求,将应用程序进程的描述信息发送至移动终端。In one embodiment of the present invention, the description information of the application process with abnormal power consumption can be obtained from the cloud server, for example, an MP3 player application, a game application, or a browser application. Specifically, the cloud server can classify all the application process, and send the description information of the application process to the mobile terminal according to the request sent by the mobile terminal.
S333,根据描述信息对耗电量异常的应用程序进程进行清理。S333. Clean up the application process with abnormal power consumption according to the description information.
在本发明的一个实施例中,如果应用程序进程的描述信息为浏览器类应用程序、翻译类应用程序等,则结束该应用程序进程;如果应用程序进程的描述信息为游戏类应用程序等,则控制该应用程序进程进入深度休眠,即保存应用程序的进度以及移动终端状态,然后结束该应用程序进程;如果应用程序进程的描述信息为MP3播放器类应用程序等,则继续运行该应用程序进程,由此,可以保证用户在听歌时进入锁屏后,MP3播放器类应用程序不会被清理,符合用户的使用习惯。In one embodiment of the present invention, if the description information of the application process is a browser application, translation application, etc., then end the application process; if the description information of the application process is a game application, etc., Then control the application program process to enter deep sleep, that is, save the progress of the application program and the state of the mobile terminal, and then end the application program process; if the description information of the application program process is an MP3 player application program, etc., then continue to run the application program process, thus, it can be guaranteed that after the user enters the lock screen while listening to music, the MP3 player application program will not be cleaned up, which is in line with the user's usage habits.
S34,如果未超过预设时间,则将耗电异常的应用程序进程显示给用户。S34. If the preset time does not exceed, display the application process with abnormal power consumption to the user.
在本发明的一个实施例中,如果移动终端锁屏的时间未超过预设时间,则将耗异常的应用程序进程按照耗电量从高至低的顺序进行排序,并将排序后的应用程序进程显示给用户。In one embodiment of the present invention, if the screen lock time of the mobile terminal does not exceed the preset time, the application processes with abnormal power consumption are sorted in order of power consumption from high to low, and the sorted application processes are sorted. The progress is displayed to the user.
S35,接收用户对耗电异常的应用程序进程的标注,并对用户标注过的应用程序进程进行清理。S35. Receive the user's marking of the application process with abnormal power consumption, and clean up the application process marked by the user.
在本发明的一个实施例中,将耗电异常的应用程序进程显示给用户的同时还可提供不同的标注,例如,“清理”和“不清理”。用户可为每个耗电异常的应用程序选择“清理”或者“不清理”。然后根据用户选择,对用户标注“清理”的应用程序进程进行清理,不允许其进行后台运行。In an embodiment of the present invention, while displaying the application process with abnormal power consumption to the user, different labels, such as "clean up" and "do not clean up", may also be provided. Users can choose to "clean" or "don't clean" for each application that consumes abnormal power. Then, according to the user's choice, the application process marked "cleanup" by the user is cleaned up, and it is not allowed to run in the background.
根据本发明实施例的移动终端的应用程序进程清理方法,可使得用户更加直观地了解移动终端在锁屏期间的电量消耗情况,为用户提出更好的省电策略,进一步提升用户体验。The application process cleaning method of the mobile terminal according to the embodiment of the present invention can enable the user to understand the power consumption of the mobile terminal during the screen lock period more intuitively, propose better power saving strategies for the user, and further improve user experience.
为了实现上述实施例,本发明还提出一种移动终端的应用程序进程装置。In order to realize the above embodiments, the present invention also proposes an application process device for a mobile terminal.
一种移动终端的应用程序进程清理装置,包括:获取模块,用于获取在移动终端锁屏期间内运行的应用程序进程和锁屏的状态信息;判断模块,用于根据锁屏的状态信息判断锁屏的时间是否超过预设时间;以及第一进程清理模块,用于在超过预设时间时,对运行的应用程序进程中的至少部分应用程序进程进行清理。An application program process cleaning device for a mobile terminal, comprising: an acquisition module for acquiring status information of an application program process and a lock screen running during a lock screen period of a mobile terminal; a judging module for judging according to the status information of the lock screen Whether the time of locking the screen exceeds the preset time; and the first process cleaning module is used to clean up at least part of the running application process when the preset time is exceeded.
图4是根据本发明一个实施例的移动终端的应用程序进程装置的结构示意图。Fig. 4 is a schematic structural diagram of an application process device of a mobile terminal according to an embodiment of the present invention.
如图4所示,移动终端的应用程序进程装置包括:获取模块100、判断模块200和第一进程清理模块300。As shown in FIG. 4 , the application process device of the mobile terminal includes: an acquisition module 100 , a judgment module 200 and a first process cleaning module 300 .
具体地,获取模块100用于获取在移动终端锁屏期间内运行的应用程序进程和锁屏的状态信息。在本发明的一个实施例中,移动终端可是例如手机、平板电脑等具有各种操作系统的硬件设备。Specifically, the acquiring module 100 is configured to acquire the status information of the process of the application program running during the lock screen period of the mobile terminal and the lock screen. In an embodiment of the present invention, the mobile terminal may be a hardware device with various operating systems such as a mobile phone and a tablet computer.
在本发明的一个实施例中,锁屏状态信息包括移动终端进入锁屏状态的时间。具体地,获取模块100监测移动终端进入锁屏状态之后的锁屏时间。In an embodiment of the present invention, the lock screen state information includes the time when the mobile terminal enters the lock screen state. Specifically, the acquisition module 100 monitors the screen lock time after the mobile terminal enters the screen lock state.
判断模块200用于根据锁屏的状态信息判断锁屏的时间是否超过预设时间。在本发明的一个实施例中,预设时间可是移动终端操作系统中默认的,或者用户在移动终端操作系统中设置的。例如,预设时间可为30分钟。The judging module 200 is configured to judge whether the screen-locking time exceeds a preset time according to the state information of the screen-locking. In an embodiment of the present invention, the preset time may be defaulted in the operating system of the mobile terminal, or set by the user in the operating system of the mobile terminal. For example, the preset time may be 30 minutes.
第一进程清理模块300用于在超过预设时间时,对运行的应用程序进程中的至少部分应用程序进程进行清理。具体地,如果移动终端锁屏的时间超过了预设时间,则第一进程清理模块300对运行的的应用程序进行分析,例如,获取用户使用该应用程序的使用频率、耗电量异常的应用程序、应用程序的类型等。然后,第一进程清理模块300可将使用频率低、耗电量异常的应用程序进行清理以结束该应用程序。其中,如果用户使用该应用程序频繁,即应用程序的使用频率高,则第一进程清理模块300不清理该应用程序,保持该应用程序继续在后台中运行。由此,可以避免移动终端将用户不希望结束的应用程序清理掉,提高了用户体验。The first process cleaning module 300 is configured to clean up at least part of the running application process when the preset time is exceeded. Specifically, if the screen lock time of the mobile terminal exceeds the preset time, the first process cleaning module 300 analyzes the running application program, for example, obtains the usage frequency of the application program used by the user, and the abnormal power consumption of the application program. program, type of application, etc. Then, the first process cleaning module 300 can clean up the application program with low frequency of use and abnormal power consumption to end the application program. Wherein, if the user uses the application program frequently, that is, the application program is used frequently, the first process cleaning module 300 does not clean up the application program, and keeps the application program running in the background. In this way, it is possible to prevent the mobile terminal from cleaning up the application programs that the user does not wish to terminate, thereby improving user experience.
在本发明的一个实施例中,第一进程清理模块300还用于结束运行的应用程序进程中的至少部分应用程序进程或控制至少部分应用程序进程进入深度休眠。In an embodiment of the present invention, the first process cleaning module 300 is further configured to end at least some of the running application processes or control at least some of the application processes to enter deep sleep.
根据本发明实施例的移动终端的应用程序进程清理装置,可根据应用程序进程的描述信息为用户提供不同的清理方式,从而在不影响用户正常使用的状态下,尽量省电,提升了用户体验。According to the mobile terminal application process cleaning device according to the embodiment of the present invention, different cleaning methods can be provided for the user according to the description information of the application process, thereby saving power as much as possible without affecting the normal use of the user, and improving the user experience .
图5是根据本发明一个具体实施例的移动终端的应用程序进程装置的结构示意图。Fig. 5 is a schematic structural diagram of an application process device of a mobile terminal according to a specific embodiment of the present invention.
如图5所示,移动终端的应用程序进程装置包括:获取模块100、判断模块200和第一进程清理模块300,其中,第一进程清理模块300包括:判断单元310、获取单元320和清理单元330。As shown in Figure 5, the application process device of the mobile terminal includes: an acquisition module 100, a judgment module 200 and a first process cleaning module 300, wherein the first process cleaning module 300 includes: a judgment unit 310, an acquisition unit 320 and a cleaning unit 330.
具体地,判断单元310用于判断运行的应用程序进程是否耗电量异常。Specifically, the judging unit 310 is configured to judge whether the power consumption of the running application program process is abnormal.
获取单元320用于在运行的应用程序进程耗电量异常时,获取耗电量异常的应用程序进程的描述信息,其中,描述信息包括应用程序进程的类型。在本发明的一个实施例中,获取单元320可从云端服务器获取耗电量异常的应用程序进程的描述信息,例如,MP3播放器类应用程序、游戏类应用程序、或者浏览器类应用程序等。具体地,云端服务器可将全部应用程序进程进行分类,根据移动终端发送的请求,将应用程序进程的描述信息发送至获取单元320。The obtaining unit 320 is configured to obtain description information of the application process with abnormal power consumption when the running application process consumes abnormal power, wherein the description information includes the type of the application process. In one embodiment of the present invention, the obtaining unit 320 may obtain the description information of the application process with abnormal power consumption from the cloud server, for example, an MP3 player application, a game application, or a browser application, etc. . Specifically, the cloud server can classify all the application process, and send the description information of the application process to the acquisition unit 320 according to the request sent by the mobile terminal.
清理单元330用于根据描述信息对耗电量异常的应用程序进程进行清理。在本发明的一个实施例中,如果应用程序进程的描述信息为浏览器类应用程序、翻译类应用程序等,则清理单元330结束该应用程序进程;如果应用程序进程的描述信息为游戏类应用程序等,则清理单元330控制该应用程序进程进入深度休眠,即保存应用程序的进度以及移动终端状态,然后结束该应用程序进程;如果应用程序进程的描述信息为MP3播放器类应用程序等,则继续运行该应用程序进程,由此,可以保证用户在听歌时进入锁屏后,MP3播放器类应用程序不会被清理,符合用户的使用习惯。The cleaning unit 330 is configured to clean up the application process with abnormal power consumption according to the description information. In one embodiment of the present invention, if the description information of the application process is a browser application, translation application, etc., the cleaning unit 330 ends the application process; if the description information of the application process is a game application program, etc., then the cleaning unit 330 controls the application process to enter deep sleep, that is, saves the progress of the application and the state of the mobile terminal, and then ends the application process; if the description information of the application process is an MP3 player application program, etc., Then continue to run the application program process, thus, it can be guaranteed that after the user enters the lock screen while listening to music, the MP3 player application program will not be cleaned up, which conforms to the user's usage habits.
根据本发明实施例的移动终端的应用程序进程清理装置,通过获取耗电量异常的应用程序进程的描述信息,可根据描述信息对耗电量异常的应用程序进程通过不同的方式进行清理According to the mobile terminal application program process cleaning device of the embodiment of the present invention, by obtaining the description information of the application program process with abnormal power consumption, the application program process with abnormal power consumption can be cleaned up in different ways according to the description information
图6是根据本发明另一个具体实施例的移动终端的应用程序进程装置的结构示意图。Fig. 6 is a schematic structural diagram of an application process apparatus of a mobile terminal according to another specific embodiment of the present invention.
如图6所示,移动终端的应用程序进程装置包括:获取模块100、判断模块200和第一进程清理模块300,其中,第一进程清理模块300包括:判断单元310、获取单元320和清理单元330,其中,判断单元310包括:获取子单元311和判断子单元312。As shown in Figure 6, the application process device of the mobile terminal includes: an acquisition module 100, a judgment module 200 and a first process cleaning module 300, wherein the first process cleaning module 300 includes: a judgment unit 310, an acquisition unit 320 and a cleaning unit 330, wherein the judging unit 310 includes: an acquiring subunit 311 and a judging subunit 312.
具体地,获取子单元311用于获取运行的应用程序进程的资源消耗信息和/或锁屏期间内的唤醒统计信息。在本发明的一个实施例中,资源消耗信息包括中央处理器CPU的占用率、内存占用率、无线传输接口使用信息、全球定位系统GPS使用信息、传感器使用信息中的一种或多种。具体地,当用户锁屏后,获取子单元311获取开始时间点,统计移动终端中活动的应用程序,在锁屏时,获取子单元311获取每个正在活动的应用程序在系统内的资源消耗的快照,这个快照还可包含正在运行的应用程序对各个系统资源的消耗情况,当用户对移动终端解锁后,获取子单元311获取结束时间点,停止对正在活动的应用程序的统计,由此,可通过统计以获取每个活动的应用程序在开始时间点和结束时间点之间的资源消耗信息。Specifically, the acquiring subunit 311 is configured to acquire the resource consumption information of the running application process and/or the wake-up statistics information during the lock screen period. In an embodiment of the present invention, the resource consumption information includes one or more of CPU occupancy rate, memory occupancy rate, wireless transmission interface usage information, global positioning system GPS usage information, and sensor usage information. Specifically, after the user locks the screen, the acquisition subunit 311 acquires the start time point, and counts the active applications in the mobile terminal. When the screen is locked, the acquisition subunit 311 acquires the resource consumption of each active application in the system snapshot, this snapshot can also include the consumption of various system resources by the running application program, when the user unlocks the mobile terminal, the acquisition subunit 311 acquires the end time point, and stops the statistics of the active application program, thus , the resource consumption information of each active application between the start time point and the end time point can be obtained through statistics.
在本发明的一个实施例中,唤醒统计信息包括唤醒时间统计信息和/或唤醒次数统计信息。具体地,唤醒时间可为应用程序进程被唤醒后活动的时间,唤醒次数可为应用程序进程被唤醒的次数。具体地,当用户锁屏后,获取子单元311获取开始时间点,统计移动终端中活动的应用程序,在锁屏时,获取子单元311获取每个正在活动的应用程序在系统内的资源消耗的快照,这个快照可包含正在运行的应用程序的唤醒时间(如,wakelock time)和唤醒次数(如,wakelock count)等信息,当用户对移动终端解锁后,获取子单元311获取结束时间点,停止对正在活动的应用程序的统计,由此,可通过统计以获取每个活动的应用程序在开始时间点和结束时间点之间的唤醒统计信息。In an embodiment of the present invention, the wake-up statistical information includes wake-up time statistical information and/or wake-up times statistical information. Specifically, the wake-up time may be the active time after the application program process is woken up, and the number of wake-up times may be the number of times the application program process is woken up. Specifically, after the user locks the screen, the acquisition subunit 311 acquires the start time point, and counts the active applications in the mobile terminal. When the screen is locked, the acquisition subunit 311 acquires the resource consumption of each active application in the system snapshot, this snapshot can include information such as the wake-up time (such as wakelock time) and the number of wake-ups (such as wakelock count) of the running application. After the user unlocks the mobile terminal, the acquisition subunit 311 acquires the end time point, The statistics of the active application programs are stopped, so that statistics can be used to obtain the wake-up statistics information of each active application program between the start time point and the end time point.
判断子单元312用于在资源消耗信息和/或唤醒统计信息大于预设阈值时,判断运行的应用程序进程耗电异常。在本发明的一个实施例中,预设阈值可通过对数据运算建立。该预设阈值可包括两部分,一部分为应用程序进程消耗的电量,另一部分为移动终端每次锁屏期间被唤醒的比例。如果判断子单元312判断运行的应用程序进程的资源消耗信息和唤醒统计信息中的其中一个大于预设阈值,则判断子单元312确定该应用程序进程耗电异常。The judging subunit 312 is configured to judge that the power consumption of the running application process is abnormal when the resource consumption information and/or the wake-up statistical information is greater than a preset threshold. In one embodiment of the present invention, the preset threshold can be established by operating on data. The preset threshold may include two parts, one part is the power consumed by the application program process, and the other part is the proportion of the mobile terminal being woken up during each lock screen. If the judging subunit 312 judges that one of the resource consumption information and the wake-up statistics information of the running application program process is greater than the preset threshold, the judging subunit 312 determines that the power consumption of the application program process is abnormal.
例如,获取到在锁屏期间活天气预报类应用程序,该应用程序在锁屏期间的唤醒时间统计信息和唤醒次数统计信息均大于预设阀值时,可判断该应用程序耗电异常,应当理解,也可以为唤醒时间统计信息或者唤醒次数大于预设阀值时,判断对应的应用程序耗电异常。For example, if a weather forecast application is active during the lock screen period, and the wake-up time statistics and wake-up times statistics information of the application during the lock screen period are both greater than the preset threshold, it can be judged that the power consumption of the application is abnormal, and it should It is understood that when the wake-up time statistical information or the number of wake-up times is greater than a preset threshold, it can be determined that the power consumption of the corresponding application program is abnormal.
在本发明的一个实施例中,如果判断子单元312判断应用程序进程不正常使用GPS、传感器等设备,则判断子单元312确定该应用程序进程耗电异常。具体地,如果当用户锁屏后,应用程序进程仍然持有GPS、传感器等设备,也就是说当应用程序进程不需要使用这些设备时仍持有这些设备,则判断子单元312确定应用程序进程耗电异常。In one embodiment of the present invention, if the judging subunit 312 judges that the application program process does not normally use devices such as GPS and sensors, then the judging subunit 312 determines that the application program process consumes abnormal power. Specifically, if the application process still holds devices such as GPS and sensors after the user locks the screen, that is to say, the application process still holds these devices when it does not need to use these devices, then the judging subunit 312 determines that the application process Abnormal power consumption.
根据本发明实施例的移动终端的应用程序进程清理装置,通过获取运行的应用程序进程的资源消耗信息和/或锁屏期间内的唤醒统计信息,可根据资源消耗信息和/或在锁屏期间的唤醒统计信息判断运行的应用程序进程耗电异常。According to the application program process cleaning device of the mobile terminal according to the embodiment of the present invention, by obtaining the resource consumption information of the running application program process and/or the wake-up statistics information during the lock screen period, according to the resource consumption information and/or during the lock screen period According to the wake-up statistics, it is judged that the running application process consumes abnormal power.
图7是根据本发明又一个具体实施例的移动终端的应用程序进程装置的结构示意图。Fig. 7 is a schematic structural diagram of an application process device of a mobile terminal according to yet another specific embodiment of the present invention.
如图7所示,移动终端的应用程序进程装置包括:获取模块100、判断模块200、第一进程清理模块300、显示模块400、接收模块500和第二进程清理模块600,其中,第一进程清理模块300包括:判断单元310、获取单元320和清理单元330,其中,判断单元310包括:获取子单元311和判断子单元312。As shown in Figure 7, the application program process device of the mobile terminal includes: an acquisition module 100, a judgment module 200, a first process cleaning module 300, a display module 400, a receiving module 500 and a second process cleaning module 600, wherein the first process The cleaning module 300 includes: a judging unit 310 , an acquiring unit 320 and a cleaning unit 330 , wherein the judging unit 310 includes: an acquiring subunit 311 and a judging subunit 312 .
显示模块400用于在未超过预设时间,将耗电异常的应用程序进程显示给用户。在本发明的一个实施例中,如果移动终端锁屏的时间未超过预设时间,则显示模块400将耗异常的应用程序进程按照耗电量从高至低的顺序进行排序,并将排序后的应用程序进程显示给用户。The display module 400 is configured to display to the user the application process with abnormal power consumption within the preset time. In one embodiment of the present invention, if the mobile terminal lock screen time does not exceed the preset time, the display module 400 will sort the abnormal power consumption application process in order of power consumption from high to low, and sort the The application process is displayed to the user.
接收模块500用于接收用户对耗电异常的应用程序进程的标注。在本发明的一个实施例中,显示模块400将耗电异常的应用程序进程显示给用户的同时还可提供不同的标注,例如,“清理”和“不清理”。用户可为每个耗电异常的应用程序选择“清理”或者“不清理”The receiving module 500 is configured to receive a user's note on an application process with abnormal power consumption. In an embodiment of the present invention, the display module 400 may display the application process with abnormal power consumption to the user, and at the same time provide different labels, for example, "clean up" and "do not clean up". Users can choose to "clean" or "don't clean" for each application that consumes abnormal power
第二进程清理模块600用于对用户标注过的应用程序进程进行清理。在本发明的一个实施例中,第二进程清理模块600根据用户选择,对用户标注“清理”的应用程序进程进行清理,不允许其进行后台运行。The second process cleaning module 600 is used to clean up the application process marked by the user. In an embodiment of the present invention, the second process cleaning module 600 cleans up the application process marked "clean up" by the user according to the user's selection, and does not allow it to run in the background.
根据本发明实施例的移动终端的应用程序进程清理装置,可使得用户更加直观地了解移动终端在锁屏期间的电量消耗情况,为用户提出更好的省电策略,进一步提升用户体验。According to the mobile terminal application process cleaning device of the embodiment of the present invention, the user can more intuitively understand the power consumption of the mobile terminal during the lock screen period, propose better power saving strategies for the user, and further improve user experience.
为了实现上述实施例,本发明又提出一种移动终端。In order to realize the above embodiments, the present invention further proposes a mobile terminal.
一种移动终端,包括:外壳,屏幕,处理器和电路板;屏幕安置在外壳上,电路板安置在外壳围成的空间内部,处理器设置在电路板上;处理器用于处理数据,具体用于执行以下步骤:A mobile terminal, comprising: a casing, a screen, a processor and a circuit board; the screen is arranged on the casing, the circuit board is arranged inside the space surrounded by the casing, and the processor is arranged on the circuit board; the processor is used for processing data, specifically to perform the following steps:
S11’,获取在移动终端锁屏期间内运行的应用程序进程和锁屏的状态信息。S11', acquiring the status information of the application process and the lock screen running during the screen lock of the mobile terminal.
在本发明的一个实施例中,移动终端可是例如手机、平板电脑等具有各种操作系统的硬件设备。In an embodiment of the present invention, the mobile terminal may be a hardware device with various operating systems such as a mobile phone and a tablet computer.
在本发明的一个实施例中,锁屏状态信息包括移动终端进入锁屏状态的时间。具体地,移动终端监测移动终端进入锁屏状态之后的锁屏时间。In an embodiment of the present invention, the lock screen state information includes the time when the mobile terminal enters the lock screen state. Specifically, the mobile terminal monitors the screen lock time after the mobile terminal enters the screen lock state.
S12’,根据锁屏的状态信息判断锁屏的时间是否超过预设时间。S12', judging whether the time of locking the screen exceeds a preset time according to the state information of the lock screen.
在本发明的一个实施例中,预设时间可是移动终端操作系统中默认的,或者用户在移动终端操作系统中设置的。例如,预设时间可为30分钟。In an embodiment of the present invention, the preset time may be defaulted in the operating system of the mobile terminal, or set by the user in the operating system of the mobile terminal. For example, the preset time may be 30 minutes.
S13’,如果超过预设时间,则对运行的应用程序进程中的至少部分应用程序进程进行清理。S13', if the preset time is exceeded, at least part of the running application process is cleaned up.
具体地,如果移动终端锁屏的时间超过了预设时间,则移动终端对运行的的应用程序进行分析,例如,获取用户使用该应用程序的使用频率、耗电量异常的应用程序、应用程序的类型等。然后,移动终端可将使用频率低、耗电量异常的应用程序进行清理以结束该应用程序。其中,如果用户使用该应用程序频繁,即应用程序的使用频率高,则移动终端不清理该应用程序,保持该应用程序继续在后台中运行。由此,可以避免移动终端将用户不希望结束的应用程序清理掉,提高了用户体验。Specifically, if the screen lock time of the mobile terminal exceeds the preset time, the mobile terminal analyzes the running application program, for example, obtains the frequency of use of the application program by the user, the application program with abnormal power consumption, the application program type etc. Then, the mobile terminal can clean up the application program with low frequency of use and abnormal power consumption to end the application program. Wherein, if the user uses the application program frequently, that is, the application program is used frequently, the mobile terminal does not clean up the application program, and keeps the application program running in the background. In this way, it is possible to prevent the mobile terminal from cleaning up the application programs that the user does not wish to terminate, thereby improving user experience.
在本发明的一个实施例中,对运行的应用程序进程进行清理可以包括以下两种方式,结束运行的应用程序进程中的至少部分应用程序进程或控制至少部分应用程序进程进入深度休眠。In an embodiment of the present invention, cleaning the running application process may include the following two ways, ending at least part of the running application process or controlling at least part of the application process to enter deep sleep.
在本发明的一个实施例中,S13’包括以下步骤。In one embodiment of the present invention, S13' includes the following steps.
S131’,判断运行的应用程序进程是否耗电量异常。S131', judging whether the power consumption of the running application process is abnormal.
在本发明的一个实施例中,S131’包括以下步骤。In one embodiment of the present invention, S131' includes the following steps.
S1311’,获取运行的应用程序进程的资源消耗信息和/或锁屏期间内的唤醒统计信息。S1311', acquire the resource consumption information of the running application process and/or the wake-up statistics information during the lock screen period.
在本发明的一个实施例中,资源消耗信息包括中央处理器CPU的占用率、内存占用率、无线传输接口使用信息、全球定位系统GPS使用信息、传感器使用信息中的一种或多种。具体地,当用户锁屏后,获取开始时间点,统计移动终端中活动的应用程序,在锁屏时,获取每个正在活动的应用程序在系统内的资源消耗的快照,这个快照还可包含正在运行的应用程序对各个系统资源的消耗情况,当用户对移动终端解锁后,获取结束时间点,停止对正在活动的应用程序的统计,由此,可通过统计以获取每个活动的应用程序在开始时间点和结束时间点之间的资源消耗信息。In an embodiment of the present invention, the resource consumption information includes one or more of CPU occupancy rate, memory occupancy rate, wireless transmission interface usage information, global positioning system GPS usage information, and sensor usage information. Specifically, when the user locks the screen, the start time point is obtained, and the active applications in the mobile terminal are counted. When the screen is locked, a snapshot of the resource consumption of each active application in the system is obtained. This snapshot can also include The consumption of various system resources by the running applications. When the user unlocks the mobile terminal, the end time point is obtained, and the statistics of the active applications are stopped. Therefore, each active application can be obtained through statistics Resource consumption information between the start time point and the end time point.
在本发明的一个实施例中,唤醒统计信息包括唤醒时间统计信息和/或唤醒次数统计信息。具体地,唤醒时间可为应用程序进程被唤醒后活动的时间,唤醒次数可为应用程序进程被唤醒的次数。具体地,当用户锁屏后,获取开始时间点,统计移动终端中活动的应用程序,在锁屏时,获取每个正在活动的应用程序在系统内的资源消耗的快照,这个快照可包含正在运行的应用程序的唤醒时间(如,wakelock time)和唤醒次数(如,wakelock count)等信息,当用户对移动终端解锁后,获取结束时间点,停止对正在活动的应用程序的统计,由此,可通过统计以获取每个活动的应用程序在开始时间点和结束时间点之间的唤醒统计信息。In an embodiment of the present invention, the wake-up statistical information includes wake-up time statistical information and/or wake-up times statistical information. Specifically, the wake-up time may be the active time after the application program process is woken up, and the number of wake-up times may be the number of times the application program process is woken up. Specifically, when the user locks the screen, the start time point is obtained, and the active applications in the mobile terminal are counted. When the screen is locked, a snapshot of the resource consumption of each active application in the system is obtained. Information such as the wake-up time (such as wakelock time) and wake-up times (such as wakelock count) of running applications. When the user unlocks the mobile terminal, the end time point is obtained and the statistics of the active applications are stopped. , you can use statistics to obtain the wake-up statistics of each active application between the start time point and the end time point.
S1312’,如果资源消耗信息和/或唤醒统计信息大于预设阈值时,则判断运行的应用程序进程耗电异常。S1312', if the resource consumption information and/or the wake-up statistics are greater than the preset threshold, it is determined that the power consumption of the running application process is abnormal.
在本发明的一个实施例中,预设阈值可通过对数据运算建立。该预设阈值可包括两部分,一部分为应用程序进程消耗的电量,另一部分为移动终端每次锁屏期间被唤醒的比例。如果判断运行的应用程序进程的资源消耗信息和唤醒统计信息中的其中一个大于预设阈值,则确定该应用程序进程耗电异常。In one embodiment of the present invention, the preset threshold can be established by operating on data. The preset threshold may include two parts, one part is the power consumed by the application program process, and the other part is the proportion of the mobile terminal being woken up during each lock screen. If it is determined that one of the resource consumption information and the wake-up statistics information of the running application process is greater than a preset threshold, it is determined that the application process has abnormal power consumption.
例如,获取到在锁屏期间活天气预报类应用程序,该应用程序在锁屏期间的唤醒时间统计信息和唤醒次数统计信息均大于预设阀值时,可判断该应用程序耗电异常,应当理解,也可以为唤醒时间统计信息或者唤醒次数大于预设阀值时,判断对应的应用程序耗电异常。For example, if a weather forecast application is active during the lock screen period, and the wake-up time statistics and wake-up times statistics information of the application during the lock screen period are both greater than the preset threshold, it can be judged that the power consumption of the application is abnormal, and it should It is understood that when the wake-up time statistical information or the number of wake-up times is greater than a preset threshold, it can be determined that the power consumption of the corresponding application program is abnormal.
在本发明的一个实施例中,如果应用程序进程不正常使用GPS、传感器等设备,则确定该应用程序进程耗电异常。具体地,如果当用户锁屏后,应用程序进程仍然持有GPS、传感器等设备,也就是说当应用程序进程不需要使用这些设备时仍持有这些设备,则确定应用程序进程耗电异常。In an embodiment of the present invention, if the application program process does not normally use devices such as GPS and sensors, it is determined that the application program process consumes abnormal power. Specifically, if the application process still holds devices such as GPS and sensors after the user locks the screen, that is to say, the application process still holds these devices when the application process does not need to use these devices, it is determined that the application process consumes abnormal power.
S132’,如果运行的应用程序进程耗电量异常,则获取耗电量异常的应用程序进程的描述信息,其中,描述信息包括应用程序进程的类型。S132', if the power consumption of the running application program process is abnormal, obtain the description information of the application program process with abnormal power consumption, wherein the description information includes the type of the application program process.
在本发明的一个实施例中,可从云端服务器获取耗电量异常的应用程序进程的描述信息,例如,MP3播放器类应用程序、游戏类应用程序、或者浏览器类应用程序等。具体地,云端服务器可将全部应用程序进程进行分类,根据移动终端发送的请求,将应用程序进程的描述信息发送至移动终端。In one embodiment of the present invention, the description information of the application process with abnormal power consumption can be obtained from the cloud server, for example, an MP3 player application, a game application, or a browser application. Specifically, the cloud server can classify all the application process, and send the description information of the application process to the mobile terminal according to the request sent by the mobile terminal.
S133’,根据描述信息对耗电量异常的应用程序进程进行清理。S133', clean up the application process with abnormal power consumption according to the description information.
在本发明的一个实施例中,如果应用程序进程的描述信息为浏览器类应用程序、翻译类应用程序等,则结束该应用程序进程;如果应用程序进程的描述信息为游戏类应用程序等,则控制该应用程序进程进入深度休眠,即保存应用程序的进度以及移动终端状态,然后结束该应用程序进程;如果应用程序进程的描述信息为MP3播放器类应用程序等,则继续运行该应用程序进程,由此,可以保证用户在听歌时进入锁屏后,MP3播放器类应用程序不会被清理,符合用户的使用习惯。In one embodiment of the present invention, if the description information of the application process is a browser application, translation application, etc., then end the application process; if the description information of the application process is a game application, etc., Then control the application program process to enter deep sleep, that is, save the progress of the application program and the state of the mobile terminal, and then end the application program process; if the description information of the application program process is an MP3 player application program, etc., then continue to run the application program process, thus, it can be guaranteed that after the user enters the lock screen while listening to music, the MP3 player application program will not be cleaned up, which is in line with the user's usage habits.
根据本发明实施例的移动终端的应用程序进程清理方法,可根据应用程序进程的描述信息为用户提供不同的清理方式,从而在不影响用户正常使用的状态下,尽量省电,提升了用户体验。According to the method for cleaning the application program process of the mobile terminal according to the embodiment of the present invention, different cleaning methods can be provided for the user according to the description information of the application program process, thereby saving power as much as possible without affecting the normal use of the user, and improving the user experience .
为了使得用户更加直观地了解移动终端在锁屏期间的电量消耗情况,为用户提出更好的省电策略,进一步提升用户体验,处理器还具体用于:如果未超过预设时间,则将耗电异常的应用程序进程显示给用户;以及接收用户对耗电异常的应用程序进程的标注,并对用户标注过的应用程序进程进行清理。In order to make the user more intuitively understand the power consumption of the mobile terminal during the lock screen period, propose a better power saving strategy for the user, and further improve the user experience, the processor is also specifically used to: if the preset time is not exceeded, the power consumption The application process with abnormal power consumption is displayed to the user; and the user's marking of the application process with abnormal power consumption is received, and the application process marked by the user is cleaned up.
在本发明的一个实施例中,如果移动终端锁屏的时间未超过预设时间,则将耗异常的应用程序进程按照耗电量从高至低的顺序进行排序,并将排序后的应用程序进程显示给用户。In one embodiment of the present invention, if the screen lock time of the mobile terminal does not exceed the preset time, the application processes with abnormal power consumption are sorted in order of power consumption from high to low, and the sorted application processes are sorted. The progress is displayed to the user.
在本发明的一个实施例中,将耗电异常的应用程序进程显示给用户的同时还可提供不同的标注,例如,“清理”和“不清理”。用户可为每个耗电异常的应用程序选择“清理”或者“不清理”。然后根据用户选择,对用户标注“清理”的应用程序进程进行清理,不允许其进行后台运行。In an embodiment of the present invention, while displaying the application process with abnormal power consumption to the user, different labels, such as "clean up" and "do not clean up", may also be provided. Users can choose to "clean" or "don't clean" for each application that consumes abnormal power. Then, according to the user's choice, the application process marked "cleanup" by the user is cleaned up, and it is not allowed to run in the background.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, Programmable Gate Arrays (PGAs), Field Programmable Gate Arrays (FPGAs), etc.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
尽管已经示出和描述了本发明的实施例,本领域的普通技术人员可以理解:在不脱离本发明的原理和宗旨的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由权利要求及其等同物限定。Although the embodiments of the present invention have been shown and described, those skilled in the art can understand that various changes, modifications, substitutions and modifications can be made to these embodiments without departing from the principle and spirit of the present invention. The scope of the invention is defined by the claims and their equivalents.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310306071.XACN104298335B (en) | 2013-07-19 | 2013-07-19 | Application program process cleaning method and device of mobile terminal and mobile terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310306071.XACN104298335B (en) | 2013-07-19 | 2013-07-19 | Application program process cleaning method and device of mobile terminal and mobile terminal |
| Publication Number | Publication Date |
|---|---|
| CN104298335Atrue CN104298335A (en) | 2015-01-21 |
| CN104298335B CN104298335B (en) | 2017-11-21 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310306071.XAExpired - Fee RelatedCN104298335B (en) | 2013-07-19 | 2013-07-19 | Application program process cleaning method and device of mobile terminal and mobile terminal |
| Country | Link |
|---|---|
| CN (1) | CN104298335B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104881346A (en)* | 2015-04-30 | 2015-09-02 | 努比亚技术有限公司 | Mobile terminal and detection method and device of power consumption of applications |
| CN105183656A (en)* | 2015-09-30 | 2015-12-23 | 北京金山安全软件有限公司 | Method, system and device for detecting package stop failure of application program |
| CN105404382A (en)* | 2015-11-30 | 2016-03-16 | 小米科技有限责任公司 | Power saving mode setting method and apparatus |
| CN105528055A (en)* | 2015-12-30 | 2016-04-27 | 小米科技有限责任公司 | Running object processing method and device |
| CN105653007A (en)* | 2015-12-29 | 2016-06-08 | 北京金山安全软件有限公司 | Method and device for saving electric quantity and electronic equipment |
| CN105677386A (en)* | 2015-12-29 | 2016-06-15 | 北京金山安全软件有限公司 | Application program management method and device and electronic equipment |
| CN105824663A (en)* | 2015-12-31 | 2016-08-03 | 维沃移动通信有限公司 | Background application cleaning method and mobile terminal |
| CN106055078A (en)* | 2016-05-31 | 2016-10-26 | 广东欧珀移动通信有限公司 | Sensor processing method and device of mobile terminal and mobile terminal |
| CN106095306A (en)* | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | The sensor control method of a kind of mobile terminal, device and mobile terminal |
| CN106125899A (en)* | 2016-07-01 | 2016-11-16 | 北京金山安全软件有限公司 | Method and device for stopping process and mobile terminal |
| CN106125889A (en)* | 2016-06-21 | 2016-11-16 | 广东欧珀移动通信有限公司 | A wake-up source processing method and device |
| CN106155777A (en)* | 2016-06-30 | 2016-11-23 | 宇龙计算机通信科技(深圳)有限公司 | A kind of background application managing device, terminal and background application management method |
| CN106371897A (en)* | 2015-07-20 | 2017-02-01 | 青岛海信移动通信技术股份有限公司 | Method and device for optimizing memory of intelligent mobile phone |
| WO2017020780A1 (en)* | 2015-07-31 | 2017-02-09 | 北京金山安全软件有限公司 | Power-saving processing method, device, mobile terminal and cloud server |
| CN106681475A (en)* | 2016-12-12 | 2017-05-17 | 北京珠穆朗玛移动通信有限公司 | Method for reducing power consumption of mobile terminal and mobile terminal |
| CN106708240A (en)* | 2015-11-18 | 2017-05-24 | 腾讯科技(深圳)有限公司 | Power saving method, server and power saving system |
| CN106775685A (en)* | 2016-12-01 | 2017-05-31 | 北京奇虎科技有限公司 | Wake up lock method for releasing and device, mobile terminal |
| CN106793027A (en)* | 2016-11-30 | 2017-05-31 | 努比亚技术有限公司 | The processing method and terminal of abnormal power consumption |
| WO2017096799A1 (en)* | 2015-12-07 | 2017-06-15 | 乐视控股(北京)有限公司 | Method and device for monitoring power-consuming application, user terminal, computer program, and storage medium |
| CN107368177A (en)* | 2017-07-25 | 2017-11-21 | 上海传英信息技术有限公司 | A kind of electricity saving method and electricity saver for smart machine |
| WO2017198025A1 (en)* | 2016-05-16 | 2017-11-23 | 广州市动景计算机科技有限公司 | Method, apparatus for processing power consumption of an application programme, calculation device and machine readable storage medium |
| CN107402791A (en)* | 2017-07-31 | 2017-11-28 | 广东欧珀移动通信有限公司 | Applied program processing method, device, storage medium and terminal |
| CN107436672A (en)* | 2016-05-26 | 2017-12-05 | 中兴通讯股份有限公司 | The processing method and terminal of a kind of application |
| CN107450711A (en)* | 2017-07-31 | 2017-12-08 | 广东欧珀移动通信有限公司 | Applied program processing method, device, storage medium and terminal |
| CN107615250A (en)* | 2016-03-14 | 2018-01-19 | 华为技术有限公司 | Application-oriented processing method, device and intelligent terminal |
| CN107608498A (en)* | 2017-09-28 | 2018-01-19 | 上海传英信息技术有限公司 | Application management method and terminal device |
| WO2018023372A1 (en)* | 2016-08-02 | 2018-02-08 | 张阳 | Method for controlling power consumption of mobile phone, and mobile phone |
| WO2018023374A1 (en)* | 2016-08-02 | 2018-02-08 | 张阳 | Information pushing method used during controlling power consumption of mobile phone, and mobile phone |
| CN107704317A (en)* | 2017-08-25 | 2018-02-16 | 深圳天珑无线科技有限公司 | Smart machine and its application management method and the device with store function |
| CN107861812A (en)* | 2017-10-30 | 2018-03-30 | 江西博瑞彤芸科技有限公司 | A kind of internal memory method for cleaning |
| CN107894902A (en)* | 2016-09-30 | 2018-04-10 | 北京小米移动软件有限公司 | Apparatus control method and device |
| CN107908271A (en)* | 2017-10-19 | 2018-04-13 | 上海闻泰信息技术有限公司 | Prophylactic applications influence the method, apparatus and intelligent terminal of intelligent terminal power consumption |
| CN107943265A (en)* | 2017-11-07 | 2018-04-20 | 北京金山安全软件有限公司 | Electronic equipment control method and device and electronic equipment |
| CN108536546A (en)* | 2018-03-29 | 2018-09-14 | 广东欧珀移动通信有限公司 | Information processing method, device, mobile terminal and computer readable storage medium |
| CN108566472A (en)* | 2018-04-20 | 2018-09-21 | Oppo广东移动通信有限公司 | Information processing method, device, mobile terminal and computer readable storage medium |
| WO2019071565A1 (en)* | 2017-10-13 | 2019-04-18 | 深圳传音通讯有限公司 | Screen locking manner switching method, terminal, and computer readable storage medium |
| US10595228B2 (en) | 2011-12-14 | 2020-03-17 | Seven Networks, Llc | Mobile device configured for operating in a power save mode and a traffic optimization mode and related method |
| CN112000395A (en)* | 2020-09-08 | 2020-11-27 | 平安国际智慧城市科技股份有限公司 | Background application clearing method and device, computer equipment and storage medium |
| CN113778214A (en)* | 2021-09-15 | 2021-12-10 | 广州点金石信息技术有限公司 | Power saving optimization method and device, mobile terminal and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102498739A (en)* | 2009-08-14 | 2012-06-13 | 谷歌公司 | Provide feedback to users about power consumption in battery-operated electronic devices |
| US20120222053A1 (en)* | 2010-07-06 | 2012-08-30 | Zte Corporation | Screen Locking Method and Mobile Terminal |
| CN103024190A (en)* | 2012-12-21 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method and device for freeing internal memory of smart phone |
| CN103019777A (en)* | 2012-11-28 | 2013-04-03 | 广东欧珀移动通信有限公司 | A method and system for automatically cleaning background applications of a mobile terminal |
| CN103037108A (en)* | 2012-12-10 | 2013-04-10 | 乐蛙科技(上海)有限公司 | Power saving method for smart mobile terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102498739A (en)* | 2009-08-14 | 2012-06-13 | 谷歌公司 | Provide feedback to users about power consumption in battery-operated electronic devices |
| US20120222053A1 (en)* | 2010-07-06 | 2012-08-30 | Zte Corporation | Screen Locking Method and Mobile Terminal |
| CN103019777A (en)* | 2012-11-28 | 2013-04-03 | 广东欧珀移动通信有限公司 | A method and system for automatically cleaning background applications of a mobile terminal |
| CN103037108A (en)* | 2012-12-10 | 2013-04-10 | 乐蛙科技(上海)有限公司 | Power saving method for smart mobile terminal |
| CN103024190A (en)* | 2012-12-21 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method and device for freeing internal memory of smart phone |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10595228B2 (en) | 2011-12-14 | 2020-03-17 | Seven Networks, Llc | Mobile device configured for operating in a power save mode and a traffic optimization mode and related method |
| CN104881346B (en)* | 2015-04-30 | 2019-02-15 | 努比亚技术有限公司 | The detection method and device of a kind of mobile terminal and its application program power consumption |
| CN104881346A (en)* | 2015-04-30 | 2015-09-02 | 努比亚技术有限公司 | Mobile terminal and detection method and device of power consumption of applications |
| CN106371897A (en)* | 2015-07-20 | 2017-02-01 | 青岛海信移动通信技术股份有限公司 | Method and device for optimizing memory of intelligent mobile phone |
| WO2017020780A1 (en)* | 2015-07-31 | 2017-02-09 | 北京金山安全软件有限公司 | Power-saving processing method, device, mobile terminal and cloud server |
| CN105183656A (en)* | 2015-09-30 | 2015-12-23 | 北京金山安全软件有限公司 | Method, system and device for detecting package stop failure of application program |
| CN105183656B (en)* | 2015-09-30 | 2018-03-30 | 北京金山安全软件有限公司 | Method, system and device for detecting package stop failure of application program |
| CN106708240A (en)* | 2015-11-18 | 2017-05-24 | 腾讯科技(深圳)有限公司 | Power saving method, server and power saving system |
| CN106708240B (en)* | 2015-11-18 | 2023-02-10 | 腾讯科技(深圳)有限公司 | Power saving method, server and power saving system |
| CN105404382A (en)* | 2015-11-30 | 2016-03-16 | 小米科技有限责任公司 | Power saving mode setting method and apparatus |
| WO2017096799A1 (en)* | 2015-12-07 | 2017-06-15 | 乐视控股(北京)有限公司 | Method and device for monitoring power-consuming application, user terminal, computer program, and storage medium |
| CN105653007A (en)* | 2015-12-29 | 2016-06-08 | 北京金山安全软件有限公司 | Method and device for saving electric quantity and electronic equipment |
| CN105677386A (en)* | 2015-12-29 | 2016-06-15 | 北京金山安全软件有限公司 | Application program management method and device and electronic equipment |
| CN105528055A (en)* | 2015-12-30 | 2016-04-27 | 小米科技有限责任公司 | Running object processing method and device |
| CN105528055B (en)* | 2015-12-30 | 2018-11-23 | 小米科技有限责任公司 | Run the processing method and processing device of object |
| CN105824663B (en)* | 2015-12-31 | 2019-03-05 | 维沃移动通信有限公司 | Background application method for cleaning and mobile terminal |
| CN105824663A (en)* | 2015-12-31 | 2016-08-03 | 维沃移动通信有限公司 | Background application cleaning method and mobile terminal |
| CN107615250A (en)* | 2016-03-14 | 2018-01-19 | 华为技术有限公司 | Application-oriented processing method, device and intelligent terminal |
| WO2017198025A1 (en)* | 2016-05-16 | 2017-11-23 | 广州市动景计算机科技有限公司 | Method, apparatus for processing power consumption of an application programme, calculation device and machine readable storage medium |
| CN107391348A (en)* | 2016-05-16 | 2017-11-24 | 广州市动景计算机科技有限公司 | Processing method and processing device for the power consumption condition of application program |
| CN107436672B (en)* | 2016-05-26 | 2021-01-08 | 中兴通讯股份有限公司 | Application processing method and terminal |
| CN107436672A (en)* | 2016-05-26 | 2017-12-05 | 中兴通讯股份有限公司 | The processing method and terminal of a kind of application |
| CN106095306B (en)* | 2016-05-31 | 2019-03-26 | Oppo广东移动通信有限公司 | A kind of sensor control method of mobile terminal, device and mobile terminal |
| CN106055078B (en)* | 2016-05-31 | 2019-03-01 | Oppo广东移动通信有限公司 | A kind of sensor processing method of mobile terminal, device and mobile terminal |
| CN106055078A (en)* | 2016-05-31 | 2016-10-26 | 广东欧珀移动通信有限公司 | Sensor processing method and device of mobile terminal and mobile terminal |
| CN106095306A (en)* | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | The sensor control method of a kind of mobile terminal, device and mobile terminal |
| US10824213B2 (en) | 2016-05-31 | 2020-11-03 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Sensor processing method of mobile terminal, non-transitory storage medium, and electronic device |
| US10712798B2 (en) | 2016-05-31 | 2020-07-14 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Sensor processing method of mobile terminal, storage medium, and electronic device |
| CN106125889A (en)* | 2016-06-21 | 2016-11-16 | 广东欧珀移动通信有限公司 | A wake-up source processing method and device |
| CN106155777A (en)* | 2016-06-30 | 2016-11-23 | 宇龙计算机通信科技(深圳)有限公司 | A kind of background application managing device, terminal and background application management method |
| CN106125899A (en)* | 2016-07-01 | 2016-11-16 | 北京金山安全软件有限公司 | Method and device for stopping process and mobile terminal |
| WO2018023372A1 (en)* | 2016-08-02 | 2018-02-08 | 张阳 | Method for controlling power consumption of mobile phone, and mobile phone |
| WO2018023374A1 (en)* | 2016-08-02 | 2018-02-08 | 张阳 | Information pushing method used during controlling power consumption of mobile phone, and mobile phone |
| CN107894902A (en)* | 2016-09-30 | 2018-04-10 | 北京小米移动软件有限公司 | Apparatus control method and device |
| CN106793027A (en)* | 2016-11-30 | 2017-05-31 | 努比亚技术有限公司 | The processing method and terminal of abnormal power consumption |
| CN106775685A (en)* | 2016-12-01 | 2017-05-31 | 北京奇虎科技有限公司 | Wake up lock method for releasing and device, mobile terminal |
| CN106681475A (en)* | 2016-12-12 | 2017-05-17 | 北京珠穆朗玛移动通信有限公司 | Method for reducing power consumption of mobile terminal and mobile terminal |
| CN107368177A (en)* | 2017-07-25 | 2017-11-21 | 上海传英信息技术有限公司 | A kind of electricity saving method and electricity saver for smart machine |
| CN107368177B (en)* | 2017-07-25 | 2020-12-22 | 上海传英信息技术有限公司 | Power saving method and power saving device for intelligent equipment |
| CN107450711A (en)* | 2017-07-31 | 2017-12-08 | 广东欧珀移动通信有限公司 | Applied program processing method, device, storage medium and terminal |
| WO2019024647A1 (en)* | 2017-07-31 | 2019-02-07 | Oppo广东移动通信有限公司 | Application program processing method and device, storage medium and terminal |
| CN107402791A (en)* | 2017-07-31 | 2017-11-28 | 广东欧珀移动通信有限公司 | Applied program processing method, device, storage medium and terminal |
| CN107704317A (en)* | 2017-08-25 | 2018-02-16 | 深圳天珑无线科技有限公司 | Smart machine and its application management method and the device with store function |
| CN107608498B (en)* | 2017-09-28 | 2020-11-10 | 上海传英信息技术有限公司 | Application program management method and terminal equipment |
| CN107608498A (en)* | 2017-09-28 | 2018-01-19 | 上海传英信息技术有限公司 | Application management method and terminal device |
| CN111316216A (en)* | 2017-10-13 | 2020-06-19 | 深圳传音通讯有限公司 | Screen locking mode switching method, terminal and computer readable storage medium |
| WO2019071565A1 (en)* | 2017-10-13 | 2019-04-18 | 深圳传音通讯有限公司 | Screen locking manner switching method, terminal, and computer readable storage medium |
| CN111316216B (en)* | 2017-10-13 | 2023-10-03 | 深圳传音通讯有限公司 | Screen locking mode switching method, terminal and computer readable storage medium |
| CN107908271A (en)* | 2017-10-19 | 2018-04-13 | 上海闻泰信息技术有限公司 | Prophylactic applications influence the method, apparatus and intelligent terminal of intelligent terminal power consumption |
| CN107861812A (en)* | 2017-10-30 | 2018-03-30 | 江西博瑞彤芸科技有限公司 | A kind of internal memory method for cleaning |
| CN107861812B (en)* | 2017-10-30 | 2022-01-11 | 北京博瑞彤芸科技股份有限公司 | Memory cleaning method |
| CN107943265A (en)* | 2017-11-07 | 2018-04-20 | 北京金山安全软件有限公司 | Electronic equipment control method and device and electronic equipment |
| CN108536546A (en)* | 2018-03-29 | 2018-09-14 | 广东欧珀移动通信有限公司 | Information processing method, device, mobile terminal and computer readable storage medium |
| CN108566472A (en)* | 2018-04-20 | 2018-09-21 | Oppo广东移动通信有限公司 | Information processing method, device, mobile terminal and computer readable storage medium |
| CN112000395A (en)* | 2020-09-08 | 2020-11-27 | 平安国际智慧城市科技股份有限公司 | Background application clearing method and device, computer equipment and storage medium |
| CN113778214A (en)* | 2021-09-15 | 2021-12-10 | 广州点金石信息技术有限公司 | Power saving optimization method and device, mobile terminal and storage medium |
| CN113778214B (en)* | 2021-09-15 | 2024-07-05 | 广州点金石信息技术有限公司 | Power saving optimization method and device, mobile terminal and storage medium |
| Publication number | Publication date |
|---|---|
| CN104298335B (en) | 2017-11-21 |
| Publication | Publication Date | Title |
|---|---|---|
| CN104298335B (en) | Application program process cleaning method and device of mobile terminal and mobile terminal | |
| CN104298336B (en) | Mobile terminal and control method and device of application program of mobile terminal | |
| WO2014201945A1 (en) | Method, apparatus, and user terminal for removing malicious power consuming application | |
| CN104156053B (en) | A kind of control method of abnormal power consumption, device and mobile terminal | |
| CN104521274B (en) | Signal in cellular network knows that data are transmitted | |
| US8671299B2 (en) | Delaying the initiation of transitioning to a lower power mode by placing a computer system into an intermediate power mode between a normal power mode and the lower power mode | |
| CN103199310B (en) | Battery power guarantee method, device and mobile terminal for portable electronic products | |
| CN103823543B (en) | Portable electronic device and method of operating therein | |
| WO2015007247A1 (en) | Method and device for obtaining abnormal power consumption application and mobile terminal | |
| CN103199311A (en) | Battery power saving method and battery power saving apparatus for portable electronic product, and mobile terminal | |
| CN104932657A (en) | Mobile terminal power saving mode optimization, method and device for generating optimal configuration information | |
| CN108345524A (en) | Method for monitoring application program and Application Monitoring device | |
| JP6487044B2 (en) | Power management method and power management apparatus for user equipment | |
| CN107577508B (en) | Application processing method, device, readable storage medium and mobile terminal | |
| CN106412091A (en) | Data transmission control method, device and system | |
| CN110554762A (en) | Method and terminal for controlling application program | |
| CN109857243A (en) | System level chip, universal serial bus main equipment, system and awakening method | |
| TWI525545B (en) | Managing a portal application | |
| CN103049319A (en) | Method and terminal for managing background application program by time period | |
| CN107436672B (en) | Application processing method and terminal | |
| CN104866063A (en) | Method for processing information and electronic equipment | |
| CN104346262B (en) | Method, device and mobile terminal for acquiring power consumption information of application programs | |
| CN106034312A (en) | Mobile device and method for processing neighbor cell measurements | |
| CN106980353B (en) | Electronic device, control method and control device thereof | |
| WO2016198003A1 (en) | Mobile terminal power source management method and device, and mobile terminal |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20171121 | |
| CF01 | Termination of patent right due to non-payment of annual fee |