WO2018000504A1 - 应用冻结方法及移动终端 - Google Patents
应用冻结方法及移动终端 Download PDFInfo
- Publication number
- WO2018000504A1 WO2018000504A1 PCT/CN2016/092498 CN2016092498W WO2018000504A1 WO 2018000504 A1 WO2018000504 A1 WO 2018000504A1 CN 2016092498 W CN2016092498 W CN 2016092498W WO 2018000504 A1 WO2018000504 A1 WO 2018000504A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile terminal
- application
- mapping relationship
- application identifier
- frozen
- 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.)
- Ceased
Links
Images
Classifications
-
- 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
-
- 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
- G06F1/3212—Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
-
- 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/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
Definitions
- the present disclosure relates to the field of mobile terminal technologies, for example, to an application freezing method and a mobile terminal.
- the embodiment of the present disclosure provides an application freezing method and a mobile terminal, so as to improve the intelligence of application freezing.
- An application freezing method including:
- the mapping relationship between the pre-stored remaining power of the mobile terminal and the application identifier of the application to be frozen and the current remaining power of the mobile terminal are acquired;
- the application corresponding to the application identifier is frozen.
- the method before the obtaining the pre-stored mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen, the method further includes:
- the working current of the plurality of applications determines a mapping relationship between the remaining power of the mobile terminal and an application identifier of the application to be frozen.
- the method before the obtaining the pre-stored mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen, the method further includes:
- the obtaining, by the pre-stored mapping relationship between the application identifiers of the multiple applications installed by the mobile terminal and the working current includes:
- the plurality of applications installed by the mobile terminal include the preset application and the installation application.
- the detecting whether the mobile terminal enters a power saving mode includes:
- a mobile terminal includes: a detecting unit configured to detect whether the mobile terminal enters a power saving mode;
- an acquiring unit configured to: when detecting that the mobile terminal enters a power saving mode, acquire a mapping relationship between the pre-stored remaining power of the mobile terminal and an application identifier of the application to be frozen, and a current remaining power of the mobile terminal;
- a first determining unit configured to determine an application identifier of the application to be frozen based on a mapping relationship between a remaining power of the mobile terminal and an application identifier of the application to be frozen, and a current remaining power of the mobile terminal;
- the freezing unit is configured to freeze the application corresponding to the application identifier.
- the acquiring unit is further configured to acquire a pre-stored remaining amount of the mobile terminal Acquiring a mapping relationship between the application identifiers of the plurality of applications installed by the mobile terminal and the working current before the mapping relationship between the application identifiers of the application to be frozen is obtained;
- the mobile terminal further includes:
- a second determining unit configured to determine, according to an operating current of the plurality of applications in a mapping relationship between the application identifier and the working current of the plurality of applications installed by the mobile terminal, determining a remaining power of the mobile terminal and an application identifier of the application to be frozen Mapping relationship.
- the acquiring unit is further configured to acquire, after acquiring the pre-stored mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen, acquiring a freeze of multiple applications installed by the mobile terminal set by the user. priority;
- the mobile terminal further includes:
- a third determining unit configured to determine, according to a freeze priority of the multiple applications installed by the mobile terminal, a mapping relationship between the remaining power of the mobile terminal and an application identifier of the application to be frozen.
- the acquiring unit is further configured to obtain a mapping relationship between the application identifier of the pre-stored preset application and the working current, where the preset application is an application pre-installed when the mobile terminal is shipped from the factory; and the installation application is collected.
- the installation application is an application installed by the mobile terminal after leaving the factory; and an application identifier and an operating current based on the preset application
- the mapping relationship between the application identifier and the working current of the installation application, and the mapping relationship between the application identifier and the working current of the plurality of applications installed by the mobile terminal, where the plurality of applications installed by the mobile terminal include The preset application and the installation application.
- the detecting unit is further configured to: detect whether the remaining power of the mobile terminal is less than a preset power threshold, and determine that the mobile terminal enters when the remaining power of the mobile terminal is less than a preset power threshold. a power saving mode; or detecting whether the operating mode of the mobile terminal is set to a power saving mode, and when the operating mode of the mobile terminal is set to a power saving mode, determining that the mobile terminal enters a power saving mode mode.
- a non-transitory computer readable storage medium storing computer executable instructions arranged to perform any of the application freeze methods described above.
- the mobile terminal detects whether the power saving mode is entered, and when the power saving mode is detected, the mapping relationship between the pre-stored remaining power of the mobile terminal and the application identifier of the application to be frozen is acquired. And a current remaining power of the mobile terminal, a mapping relationship between the remaining power of the mobile terminal and an application identifier of the application to be frozen, and a current remaining of the mobile terminal.
- the quantity of the application determines the application identifier of the application to be frozen, and freezes the application corresponding to the application identifier. It can be seen that when detecting that the mobile terminal enters the power saving mode, the mobile terminal automatically freezes the corresponding application program by acquiring the current remaining power, thereby improving the intelligence of the mobile terminal application freezing and prolonging the mobile terminal's battery life.
- FIG. 1 is a schematic flowchart of an application freezing method according to a first embodiment of the present disclosure
- FIG. 2 is a schematic flowchart of an application freezing method according to a second embodiment of the present disclosure
- FIG. 3 is a schematic flowchart of an application freezing method according to a third embodiment of the present disclosure.
- FIG. 4 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present disclosure.
- FIG. 5 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present disclosure.
- references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present disclosure.
- the appearances of the phrase in various places in the specification are not necessarily referring to the same embodiment, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
- FIG. 1 is a schematic flowchart of an application freezing method according to a first embodiment of the present disclosure. As shown in FIG. 1 , the application freezing method in the embodiment of the present disclosure includes the following steps:
- Detecting whether the communication terminal enters the power saving mode may determine whether the communication terminal is in the power saving mode by detecting the remaining power of the communication terminal or detecting whether the user has turned on the power saving mode of the terminal. For example, when the remaining power of the communication terminal is lower than a lower threshold, it can be determined that the communication terminal enters the power saving mode, and power consumption needs to be saved.
- the mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen is pre-stored in the mobile terminal, and the mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen may be based on the mobile
- the operating current of multiple applications installed in the terminal is determined, or it may be determined according to the set freeze priority.
- an application identifier of the application to be frozen is determined based on a mapping relationship between the remaining power of the mobile terminal and an application identifier of the application to be frozen and the current remaining power of the mobile terminal.
- the mobile terminal may further perform the following operations:
- the mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen is determined based on the working currents of the plurality of applications in the mapping relationship between the application identifier and the working current of the plurality of applications installed by the mobile terminal.
- the implementation manner of obtaining the mapping relationship between the application identifier and the working current of the plurality of applications installed by the mobile terminal that is pre-stored may be:
- mapping relationship between the application identifier and the working current of the preset application, and the mapping relationship between the application identifier and the working current of the installation application acquiring an application identifier of multiple applications installed by the mobile terminal And a mapping relationship between the working current and the working current, wherein the plurality of applications installed by the mobile terminal include the preset application and the installation application.
- the mobile terminal may further perform the following operations:
- the method for detecting whether the mobile terminal enters the power saving mode may be:
- the mobile terminal detects whether the power saving mode is entered, and when the power saving mode is detected, the mapping relationship between the pre-stored remaining power of the mobile terminal and the application identifier of the application to be frozen is acquired. And determining, according to a mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen, and the current remaining power of the mobile terminal, determining an application identifier of the application to be frozen, and freezing the application. Identify the corresponding application. It can be seen that when detecting that the mobile terminal enters the power saving mode, the mobile terminal automatically freezes the corresponding application program by acquiring the current remaining power, thereby improving the intelligence of the mobile terminal application freezing and prolonging the mobile terminal's battery life.
- FIG. 2 is a schematic flowchart of an application freezing method according to a second embodiment of the present disclosure.
- the application freezing method in the embodiment of the present disclosure includes the following steps:
- the mobile terminal acquires a mapping relationship between the application identifier of the preset preset application and the working current, where the preset application is an application pre-installed when the mobile terminal is shipped from the factory.
- the mapping relationship between the application identifier of the preset application and the working current is obtained by the preliminary experimental test before the mobile terminal leaves the factory, and the mapping relationship between the application identifier of the preset application and the working current obtained in the previous test is stored in the mobile terminal.
- the built-in memory For example, by testing the battery current when the preset application is working, the operating current of some preset applications can be obtained as described in Table 1:
- the mobile terminal collects the working current of the installation application, and establishes a mapping relationship between the application identifier of the installation application and the working current, wherein the installation application is an application installed by the mobile terminal after leaving the factory.
- the mobile terminal has a battery voltage collection or detection function module, and the voltage detection function module is controlled by the mobile terminal CPU to collect current and voltage of the battery under actual application.
- an application identifier and an operating current of multiple applications installed by the mobile terminal are obtained, based on a mapping relationship between an application identifier of the preset application and an operating current, and a mapping relationship between an application identifier of the installation application and an operating current. Mapping relationship.
- the plurality of applications installed by the mobile terminal include the preset application and the installation application.
- the mobile terminal corrects the mapping relationship between the application identifier of the pre-stored preset application and the working current based on the collected mapping relationship between the application identifier of the application installed by the mobile terminal and the working current, and adds the storage location.
- the mapping relationship between the application identifier and the working current of the application installed after the mobile terminal is installed, for example, XX game, 700 mA; instant messaging software (QQ, WeChat or Weibo, etc.), 500 mA, and the like.
- a mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen is determined based on the working currents of the plurality of applications in the mapping relationship between the application identifier and the working current of the plurality of applications installed by the mobile terminal. .
- the mobile terminal determines, according to the working current of the multiple applications in the mapping relationship between the application identifier of the multiple applications installed by the mobile terminal and the working current, the remaining power of the mobile terminal and the application identifier of the application to be frozen.
- Mapping relationship for example, when the battery power is 30%, freezing the first application; when the battery power is 20%, freezing the first application and the second application; when the battery power is 10%, freezing the first application, the second application
- the application and the third application wherein an operating current of the first application is less than an operating current of the second application, an operating current of the second application is smaller than an operating current of the third application, and the first application
- the second application and the third application are currently running in the background of the mobile terminal.
- the mobile terminal when detecting that the mobile terminal enters the power saving mode, acquires a pre-stored mapping relationship between the remaining power of the mobile terminal and an application identifier of the application to be frozen, and the mobile terminal. The current remaining battery power.
- the mobile terminal determines an application identifier of the application to be frozen based on a mapping relationship between the remaining power of the mobile terminal and an application identifier of the application to be frozen and the current remaining power of the mobile terminal.
- the mobile terminal freezes the application corresponding to the application identifier.
- the mobile terminal detects whether the power saving mode is entered, and when the power saving mode is detected, the mapping relationship between the pre-stored remaining power of the mobile terminal and the application identifier of the application to be frozen is acquired. And determining, according to a mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen, and the current remaining power of the mobile terminal, determining an application identifier of the application to be frozen, and freezing the application. Identify the corresponding application. It can be seen that when detecting that the mobile terminal enters the power saving mode, the mobile terminal automatically freezes the corresponding application program by acquiring the current remaining power, thereby improving the intelligence of the mobile terminal application freezing and prolonging the mobile terminal's battery life.
- FIG. 3 is a schematic flowchart of an application freezing method according to a third embodiment of the present disclosure.
- the application freezing method in the embodiment of the present disclosure includes the following steps:
- the mobile terminal acquires the set freeze priority of the plurality of applications installed by the mobile terminal.
- the freeze priority of the multiple applications installed by the mobile terminal may be set by the user according to his or her own needs, or may be determined by the mobile terminal according to the number of times/times of using multiple applications by the user within a preset time. .
- the mobile terminal determines a mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen based on the freeze priority of the multiple applications installed by the mobile terminal.
- the freeze priority of the multiple applications installed by the mobile terminal is an example that the user sets according to the needs of the user.
- the user sets the freeze priority of the application according to the situation that the user uses multiple applications, as shown in Table 2. Shown as follows:
- the mobile terminal acquires a pre-stored mapping relationship between the remaining power of the mobile terminal and an application identifier of the application to be frozen and the current remaining power of the mobile terminal.
- the mobile terminal determines the application identifier of the application to be frozen based on the mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen and the current remaining power of the mobile terminal.
- the mobile terminal determines, according to a mapping relationship between the remaining power of the mobile terminal and an application identifier of the application to be frozen, and a current remaining power of the mobile terminal, determining an application identifier of the application to be frozen, for example, when the battery power is 30%.
- a mapping relationship between the remaining power of the mobile terminal and an application identifier of the application to be frozen, and a current remaining power of the mobile terminal, determining an application identifier of the application to be frozen, for example, when the battery power is 30%.
- the battery power is 20%
- freeze the HD camera with priority level 4 and the XX game with priority level 3 when the battery power is 10%, freeze the priority.
- priority three-level XX game and two-pole 4G network data service when the battery power is 10%, the freeze priority is four-level HD video, and the priority is three.
- Level XX game, 2G network data service with priority level and priority level 1 address book wherein the HD camera, XX game, 4G network data service and address book are all currently
- the mobile terminal freezes the application corresponding to the application identifier.
- the mobile terminal detects whether the power saving mode is entered, and when the power saving mode is detected, the mapping relationship between the pre-stored remaining power of the mobile terminal and the application identifier of the application to be frozen is acquired. And determining, according to a mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen, and the current remaining power of the mobile terminal, determining an application identifier of the application to be frozen, and freezing the application. Identify the corresponding application. It can be seen that when detecting that the mobile terminal enters the power saving mode, the mobile terminal automatically freezes the corresponding application program by acquiring the current remaining power, thereby improving the intelligence of the mobile terminal application freezing and prolonging the mobile terminal's battery life.
- the device device of the present disclosure is used to perform the method for implementing the first to second embodiments of the present disclosure.
- the device device of the present disclosure is used to perform the method for implementing the first to second embodiments of the present disclosure.
- the device device of the present disclosure is used to perform the method for implementing the first to second embodiments of the present disclosure.
- Only parts related to the embodiments of the present disclosure are shown, and the technical details are not disclosed. Please refer to Embodiment 1 and Embodiment 2 of the present disclosure.
- FIG. 4 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present disclosure.
- the mobile terminal in the embodiment of the present disclosure includes the following units:
- the detecting unit 410 is configured to detect whether the mobile terminal enters a power saving mode
- the obtaining unit 420 is configured to: when detecting that the mobile terminal enters the power saving mode, acquire a mapping relationship between the pre-stored remaining power of the mobile terminal and an application identifier of the application to be frozen, and the mobile terminal The current remaining capacity of the terminal;
- the first determining unit 430 is configured to determine an application identifier of the application to be frozen based on a mapping relationship between the remaining power of the mobile terminal and an application identifier of the application to be frozen, and a current remaining power of the mobile terminal;
- the freezing unit 440 is configured to freeze the application corresponding to the application identifier.
- the acquiring unit 420 is further configured to acquire the pre-stored before the mapping between the remaining power of the mobile terminal and the application identifier of the application to be frozen is set. a mapping relationship between application identifiers and operating currents of multiple applications installed by the mobile terminal;
- the mobile terminal further includes:
- the second determining unit 450 is configured to determine, according to an operating current of the plurality of applications in the mapping relationship between the application identifier and the working current of the plurality of applications installed by the mobile terminal, the remaining power of the mobile terminal and the application to be frozen The mapping relationship of the identity.
- the acquiring unit 420 is further configured to acquire a user-set location before being configured to acquire a mapping relationship between the pre-stored remaining power of the mobile terminal and the application identifier of the application to be frozen.
- the mobile terminal further includes:
- the third determining unit 460 is configured to determine a mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen based on a freeze priority of the multiple applications installed by the mobile terminal.
- the acquiring unit 420 is further configured to acquire a pre-stored pre-preparation when the mapping relationship between the application identifiers of the plurality of applications installed by the mobile terminal and the working current is set to be acquired.
- mapping relationship between the application identifier and the working current of the application wherein the preset application is an application pre-installed when the mobile terminal is shipped from the factory; collecting an operating current of the installed application, and establishing an application identifier and an operating current of the installed application Mapping relationship, wherein the installation application is an application installed by the mobile terminal after leaving the factory; mapping relationship between an application identifier and an operating current based on the preset application, and mapping of an application identifier and an operating current of the installed application The relationship between the application identifiers of the plurality of applications installed by the mobile terminal and the working current is obtained, where the plurality of applications installed by the mobile terminal include the preset application and the installation application.
- the detecting unit 410 is further configured to detect whether the remaining power of the mobile terminal is less than a preset power threshold, and when the remaining power of the mobile terminal is less than a preset power threshold. Determining that the mobile terminal enters a power saving mode; or detecting whether a working mode of the mobile terminal is set to a power saving mode, when receiving a working mode of the mobile terminal When the mode is set to the power saving mode, it is determined that the mobile terminal enters the power saving mode.
- the mobile terminal detects whether the power saving mode is entered, and when the power saving mode is detected, the mapping relationship between the pre-stored remaining power of the mobile terminal and the application identifier of the application to be frozen is acquired. And determining, according to a mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen, and the current remaining power of the mobile terminal, determining an application identifier of the application to be frozen, and freezing the application. Identify the corresponding application. It can be seen that when detecting that the mobile terminal enters the power saving mode, the mobile terminal automatically freezes the corresponding application program by acquiring the current remaining power, thereby improving the intelligence of the mobile terminal application freezing and prolonging the mobile terminal's battery life.
- FIG. 5 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present disclosure.
- the mobile terminal in the embodiment of the present disclosure includes at least one processor 510, such as a CPU, at least one receiver 530, at least one memory 540, at least one transmitter 550, and at least one communication bus 520.
- the communication bus 520 is used to implement connection communication between these components.
- the receiver 530 and the transmitter 550 of the device in the embodiment of the present disclosure may be a wired transmission port, or may be a wireless device, for example, including an antenna device, for performing signaling or data communication with other node devices.
- the memory 540 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
- the memory 540 can also optionally be at least one storage device located remotely from the aforementioned processor 510.
- a set of program code is stored in memory 540, and said processor 510 can invoke code stored in memory 540 via communication bus 520 to perform related functions.
- the processor 510 is configured to detect whether the mobile terminal enters a power saving mode; and when detecting that the mobile terminal enters a power saving mode, acquiring a mapping relationship between the pre-stored remaining power of the mobile terminal and an application identifier of the application to be frozen And the current remaining power of the mobile terminal; determining, according to the mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen, and the current remaining power of the mobile terminal, determining an application identifier of the application to be frozen; and freezing the application Identify the corresponding application.
- the processor 510 may be configured to obtain a pre-stored location before acquiring a mapping relationship between the pre-stored remaining power of the mobile terminal and the application identifier of the application to be frozen. Determining the mapping relationship between the application identifiers of the plurality of applications installed by the mobile terminal and the operating current; determining the movement based on the operating currents of the plurality of applications in the mapping relationship between the application identifiers of the plurality of applications installed by the mobile terminal and the operating current Mapping of the remaining capacity of the terminal to the application identifier of the application to be frozen system.
- the processor 510 may be configured to acquire a user-set relationship before the mapping between the remaining power of the mobile terminal and the application identifier of the application to be frozen is obtained. a freeze priority of the plurality of applications installed by the mobile terminal; determining a mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen based on the freeze priority of the plurality of applications installed by the mobile terminal.
- the processor 510 is configured to obtain a pre-stored mapping relationship between an application identifier and an operating current of multiple applications installed by the mobile terminal, and may also be used to obtain a pre-stored pre- a mapping relationship between the application identifier and the working current of the application, wherein the preset application is an application pre-installed when the mobile terminal is shipped from the factory; collecting an operating current of the installed application, and establishing an application identifier and an operating current of the installed application Mapping relationship, wherein the installation application is an application installed by the mobile terminal after leaving the factory; mapping relationship between an application identifier and an operating current based on the preset application, and mapping of an application identifier and an operating current of the installed application The relationship between the application identifiers of the plurality of applications installed by the mobile terminal and the working current is obtained, where the plurality of applications installed by the mobile terminal include the preset application and the installation application.
- the processor 510 may be further configured to detect whether the remaining power of the mobile terminal is less than a preset power threshold when detecting whether the mobile terminal enters a power saving mode. Determining that the mobile terminal enters a power saving mode when the remaining power of the mobile terminal is less than a preset power threshold; or detecting whether the working mode of the mobile terminal is set to a power saving mode, when receiving the When the working mode of the mobile terminal is set to the power saving mode, it is determined that the mobile terminal enters the power saving mode.
- the mobile terminal detects whether the power saving mode is entered, and when the power saving mode is detected, the mapping relationship between the pre-stored remaining power of the mobile terminal and the application identifier of the application to be frozen is acquired. And determining, according to a mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen, and the current remaining power of the mobile terminal, determining an application identifier of the application to be frozen, and freezing the application. Identify the corresponding application. It can be seen that when detecting that the mobile terminal enters the power saving mode, the mobile terminal automatically freezes the corresponding application program by acquiring the current remaining power, thereby improving the intelligence of the mobile terminal application freezing and prolonging the mobile terminal's battery life.
- a sixth embodiment of the present disclosure also provides a non-transitory computer readable storage medium storing computer executable instructions arranged to execute the application freezing method of the above embodiment.
- sequence of steps of the method of the embodiments of the present disclosure may be adjusted, merged, or deleted according to actual needs.
- the unit of the terminal of the embodiment of the present disclosure may be integrated, further divided or deleted according to actual needs.
- the disclosed apparatus may be implemented in other ways.
- the device embodiments described above are schematic, for example, the division of the unit is a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or may be integrated into Another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
- 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, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in various embodiments of the present disclosure may be integrated into one processing unit, or a plurality of units may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit when implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a non-transitory computer readable storage medium. Based on such understanding, the technical solution of the present disclosure, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. Some instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present disclosure. And the aforementioned
- the storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
- the pre-stored mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen is acquired, and the current The remaining power, based on the mapping relationship between the remaining power of the mobile terminal and the application identifier of the application to be frozen, and the current remaining power of the mobile terminal, determining an application identifier of the application to be frozen, and freezing the application corresponding to the application identifier. It can be seen that when detecting that the mobile terminal enters the power saving mode, the mobile terminal automatically freezes the corresponding application program by acquiring the current remaining power, thereby improving the intelligence of the mobile terminal application freezing and prolonging the mobile terminal's battery life.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种应用冻结方法,包括:检测移动终端是否进入省电模式;当检测到所述移动终端进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量;基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识;冻结所述应用标识对应的应用。
Description
本申请要求在2016年6月28日提交中国专利局、申请号为201610496841.5、发明名称为“一种应用冻结方法及移动终端”的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
本公开涉及移动终端技术领域,例如涉及一种应用冻结方法及移动终端。
通常在移动终端中会安装很多应用程序,这些安装的应用程序一部分是移动终端系统中自带的,一部分是第三方服务商在移动终端中预先安装的,一部分是用户在后续使用过程中自己安装的,例如,系统中的桌面工具、QQ、游戏等。
目前,用户可以在移动终端的应用程序管理界面中手动的停止一应用程序,然而这种方式操作起来非常麻烦,特别是当移动终端中后台开启的应用程序数量非常多时,手动冻结应用程序操作起来不仅繁琐,而且效率非常低。然而如果不停止这些预装的应用程序,大量后台运行的预装应用程序会占用非常多移动终端的资源,会消耗移动终端大量的电量,给用户带来了极大的浪费。
发明内容
本公开实施例提供了一种应用冻结方法及移动终端,以期提升应用冻结的智能性。
一种应用冻结方法,包括:
检测移动终端是否进入省电模式;
当检测到所述移动终端进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量;
基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识;以及
冻结所述应用标识对应的应用。
可选的,所述获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系之前,所述方法还包括:
获取预存的所述移动终端安装的多个应用的应用标识与工作电流的映射关系;以及
基于所述移动终端安装的多个应用的应用标识与工作电流的映射关系中的
多个应用的工作电流,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
可选的,所述获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系之前,所述方法还包括:
获取用户设置的所述移动终端安装的多个应用的冻结优先级;
基于所述移动终端安装的多个应用的冻结优先级,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
可选的,所述获取预存的所述移动终端安装的多个应用的应用标识与工作电流的映射关系,包括:
获取预存的预设应用的应用标识与工作电流的映射关系,其中,所述预设应用为所述移动终端出厂时预安装的应用;
采集安装应用的工作电流,并建立所述安装应用的应用标识与工作电流的映射关系,其中,所述安装应用为所述移动终端在出厂后安装的应用;
基于所述预设应用的应用标识与工作电流的映射关系以及所述安装应用的应用标识与工作电流的映射关系,获取所述移动终端安装的多个应用的应用标识与工作电流的映射关系,其中,所述移动终端安装的多个应用包括所述预设应用和所述安装应用。
可选的,所述检测移动终端是否进入省电模式,包括:
检测所述移动终端的剩余电量是否小于预设的电量阈值,当所述移动终端的剩余电量小于预设的电量阈值,则确定所述移动终端进入省电模式;或者
检测是否接收到将所述移动终端的工作模式设置为省电模式,当接收到将所述移动终端的工作模式设置为省电模式,则确定所述移动终端进入省电模式。
一种移动终端,包括:检测单元,设置为检测移动终端是否进入省电模式;
获取单元,设置为当检测到所述移动终端进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量;
第一确定单元,设置为基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识;以及
冻结单元,设置为冻结所述应用标识对应的应用。
可选的,所述获取单元,还设置为在获取预存的所述移动终端的剩余电量
与待冻结应用的应用标识的映射关系之前,获取预存的所述移动终端安装的多个应用的应用标识与工作电流的映射关系;
所述移动终端还包括:
第二确定单元,设置为基于所述移动终端安装的多个应用的应用标识与工作电流的映射关系中的多个应用的工作电流,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
可选的,所述获取单元,还设置为在获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系之前,获取用户设置的所述移动终端安装的多个应用的冻结优先级;
所述移动终端还包括:
第三确定单元,设置为基于所述移动终端安装的多个应用的冻结优先级,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
可选的,所述获取单元,还设置为获取预存的预设应用的应用标识与工作电流的映射关系,其中,所述预设应用为所述移动终端出厂时预安装的应用;采集安装应用的工作电流,并建立所述安装应用的应用标识与工作电流的映射关系,其中,所述安装应用为所述移动终端在出厂后安装的应用;基于所述预设应用的应用标识与工作电流的映射关系以及所述安装应用的应用标识与工作电流的映射关系,获取所述移动终端安装的多个应用的应用标识与工作电流的映射关系,其中,所述移动终端安装的多个应用包括所述预设应用和所述安装应用。
可选的,所述检测单元,还设置为检测所述移动终端的剩余电量是否小于预设的电量阈值,当所述移动终端的剩余电量小于预设的电量阈值,则确定所述移动终端进入省电模式;或者,检测是否接收到将所述移动终端的工作模式设置为省电模式,当接收到将所述移动终端的工作模式设置为省电模式,则确定所述移动终端进入省电模式。
一种非瞬时性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一项应用冻结方法。
可以看出,本公开实施例技术方案中,移动终端检测是否进入省电模式,当检测到进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余
电量,确定待冻结应用的应用标识,冻结所述应用标识对应的应用。可见,移动终端在检测到进入省电模式时,通过获取当前的剩余电量自动冻结相应的应用程序,提升了移动终端应用冻结的智能性,延长了移动终端的续航时间。
附图概述
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,下面描述中的附图是本公开的一些实施例的附图。
图1是本公开第一实施例提供的一种应用冻结方法的流程示意图;
图2是本公开第二实施例提供的一种应用冻结方法的流程示意图;
图3是本公开第三实施例提供的一种应用冻结方法的流程示意图;
图4是本公开第四实施例提供的一种移动终端的结构示意图;
图5是本公开第五实施例提供的一种移动终端的结构示意图。
实施方式
为了使本技术领域的人员更好地理解本公开方案,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,所描述的实施例是本公开一部分实施例,而不是全部的实施例。
本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本公开的至少一个实施例中。在说明书中的多个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
请参阅图1,图1是本公开第一实施例提供的一种应用冻结方法的流程示意
图,如图1所示,本公开实施例中的应用冻结方法包括以下步骤:
在S110中,检测移动终端是否进入省电模式。
检测通信终端是否进入省电模式可以通过检测通信终端的剩余电量或者检测用户是否开启了终端的省电模式来确定通信终端是否为省电模式。例如,当通信终端的剩余电量低于一个较低的阈值时,则可以确定通信终端进入了省电模式,需要节省用电。
在S120中,当检测到所述移动终端进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量。
可选地,所述移动终端中预先存储有所述移动终端的剩余电量与待冻结应用的应用标识的映射关系,上述移动终端的剩余电量与待冻结应用的应用标识的映射关系可以是根据移动终端安装的多个应用程序的工作电流确定的,也可以是根据设置的冻结优先级确定。
在S130中,基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识。
在S140中,冻结所述应用标识对应的应用。
可选的,本公开一些实施例中,所述获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系之前,所述移动终端还可以执行以下操作:
获取预存的所述移动终端安装的多个应用的应用标识与工作电流的映射关系;
基于所述移动终端安装的多个应用的应用标识与工作电流的映射关系中的多个应用的工作电流,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
其中,所述获取预存的所述移动终端安装的多个应用的应用标识与工作电流的映射关系的实现方式可以是:
获取预存的预设应用的应用标识与工作电流的映射关系,其中,所述预设应用为所述移动终端出厂时预安装的应用;
采集安装应用的工作电流,并建立所述安装应用的应用标识与工作电流的映射关系,其中,所述安装应用为所述移动终端在出厂后安装的应用;
基于所述预设应用的应用标识与工作电流的映射关系以及所述安装应用的应用标识与工作电流的映射关系,获取所述移动终端安装的多个应用的应用标
识与工作电流的映射关系,其中,所述移动终端安装的多个应用包括所述预设应用和所述安装应用。
可选的,本公开一些实施例中,所述获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系之前,所述移动终端还可以执行以下操作:
获取用户设置的所述移动终端安装的多个应用的冻结优先级;
基于所述移动终端安装的多个应用的冻结优先级,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
可选的,本公开一些实施例中,所述检测移动终端是否进入省电模式的实现方式可以是:
检测所述移动终端的剩余电量是否小于预设的电量阈值,当所述移动终端的剩余电量小于预设的电量阈值,则确定所述移动终端进入省电模式;或者
检测是否接收到将所述移动终端的工作模式设置为省电模式,当接收到将所述移动终端的工作模式设置为省电模式,则确定所述移动终端进入省电模式。
可以看出,本公开实施例技术方案中,移动终端检测是否进入省电模式,当检测到进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识,冻结所述应用标识对应的应用。可见,移动终端在检测到进入省电模式时,通过获取当前的剩余电量自动冻结相应的应用程序,提升了移动终端应用冻结的智能性,延长了移动终端的续航时间。
请参阅图2,图2是本公开第二实施例提供的一种应用冻结方法的流程示意图,如图2所示,本公开实施例中的应用冻结方法包括以下步骤:
在S210中,移动终端获取预存的预设应用的应用标识与工作电流的映射关系,其中,所述预设应用为所述移动终端出厂时预安装的应用。
其中,预设应用的应用标识与工作电流的映射关系是移动终端出厂前,通过前期的实验测试得到的,并将前期测试得到的预设应用的应用标识与工作电流的映射关系存储于移动终端的内置存储器中。例如,通过测试预设应用工作时的电池电流,可以获得部分预设应用的工作电流如表1所述:
表1
| 应用标识 | 工作电流 |
| 高清摄像 | 800mA |
| 标清摄像 | 600mA |
| 4G网络数据业务 | 500mA |
| 显示屏默认亮度工作 | 300mA |
| 显示屏低亮度工作 | 150mA |
在S220中,移动终端采集安装应用的工作电流,并建立所述安装应用的应用标识与工作电流的映射关系,其中,所述安装应用为所述移动终端在出厂后安装的应用。
可选地,移动终端具有电池电压采集或检测功能模块,通过移动终端CPU控制电压检测功能模块,采集电池在实际应用下的电流和电压。
在S230中,基于所述预设应用的应用标识与工作电流的映射关系以及所述安装应用的应用标识与工作电流的映射关系,获取所述移动终端安装的多个应用的应用标识与工作电流的映射关系。
其中,所述移动终端安装的多个应用包括所述预设应用和所述安装应用。
可选地,移动终端基于采集的所述移动终端在出厂后安装的应用的应用标识与工作电流的映射关系,校正预存的预设应用的应用标识与工作电流的映射关系,同时,添加存储所述移动终端在出厂后安装的应用的应用标识与工作电流的映射关系,比如,XX游戏,700mA;即时通讯软件(QQ、微信或微博等),500mA等。
在S240中,基于所述移动终端安装的多个应用的应用标识与工作电流的映射关系中的多个应用的工作电流,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
可选地,移动终端基于所述移动终端安装的多个应用的应用标识与工作电流的映射关系中的多个应用的工作电流,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系,例如,当电池电量为30%时,冻结第一应用;当电池电量为20%时,冻结第一应用、第二应用;当电池电量为10%时,冻结第一应用、第二应用以及第三应用,其中,所述第一应用的工作电流小于所述第二应用的工作电流,所述第二应用的工作电流小于所述第三应用的工作电流,且所述第一应用、第二应用以及第三应用是当前正在移动终端的后台运行。
在S250中,检测移动终端是否进入省电模式。
在S260中,当检测到所述移动终端进入省电模式,移动终端则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终
端当前的剩余电量。
在S270中,基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,移动终端确定待冻结应用的应用标识。
在S280中,移动终端冻结所述应用标识对应的应用。
可以看出,本公开实施例技术方案中,移动终端检测是否进入省电模式,当检测到进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识,冻结所述应用标识对应的应用。可见,移动终端在检测到进入省电模式时,通过获取当前的剩余电量自动冻结相应的应用程序,提升了移动终端应用冻结的智能性,延长了移动终端的续航时间。
请参阅图3,图3是本公开第三实施例提供的一种应用冻结方法的流程示意图,如图3所示,本公开实施例中的应用冻结方法包括以下步骤:
在S310中,移动终端获取设置的所述移动终端安装的多个应用的冻结优先级。
可选地,所述移动终端安装的多个应用的冻结优先级可以是用户根据自己的需求设置的,也可以是移动终端根据用户在预设时间内的使用多个应用的次数/时长确定的。
在S320中,移动终端基于所述移动终端安装的多个应用的冻结优先级,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
可选地,以所述移动终端安装的多个应用的冻结优先级是用户根据自己的需求设置的为例,例如,用户根据自己使用多个应用的情况,设置应用的冻结优先级如表2所示:
表2
| 应用标识 | 冻结优先级 |
| 高清摄像 | 四级 |
| XX游戏 | 三级 |
| 4G网络数据业务 | 二极 |
| 通讯录 | 一级 |
在S330中,检测移动终端是否进入省电模式。
在S340、当检测到所述移动终端进入省电模式,移动终端则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量。
在S350中,移动终端基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识。
可选地,移动终端基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识,例如,当电池电量为30%时,冻结优先级为四级的高清摄像;当电池电量为20%时,冻结优先级为四级的高清摄像与优先级为三级的XX游戏;当电池电量为10%时,冻结优先级为四级的高清摄像、优先级为三级的XX游戏与优先级为二极的4G的网络数据业务,当电池电量为10%时,冻结优先级为四级的高清摄像、优先级为三级的XX游戏、优先级为二极的4G的网络数据业务与优先级为一级的通讯录,其中,所述高清摄像、XX游戏、4G网络数据业务以及通讯录均是当前正在移动终端的后台运行。
在S360中,移动终端冻结所述应用标识对应的应用。
可以看出,本公开实施例技术方案中,移动终端检测是否进入省电模式,当检测到进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识,冻结所述应用标识对应的应用。可见,移动终端在检测到进入省电模式时,通过获取当前的剩余电量自动冻结相应的应用程序,提升了移动终端应用冻结的智能性,延长了移动终端的续航时间。
下面为本公开装置实施例,本公开装置实施例用于执行本公开方法实施例一至二实现的方法,为了便于说明,仅示出了与本公开实施例相关的部分,技术细节未揭示的,请参照本公开实施例一和实施例二。
请参阅图4,图4是本公开第四实施例提供的一种移动终端的结构示意图,如图4所示,本公开实施例中的移动终端包括以下单元:
检测单元410,设置为检测移动终端是否进入省电模式;
获取单元420,设置为当检测到所述移动终端进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终
端当前的剩余电量;
第一确定单元430,设置为基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识;
冻结单元440,设置为冻结所述应用标识对应的应用。
可选的,本公开一些实施例中,所述获取单元420,在设置为获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系之前,还设置为获取预存的所述移动终端安装的多个应用的应用标识与工作电流的映射关系;
所述移动终端还包括:
第二确定单元450,设置为基于所述移动终端安装的多个应用的应用标识与工作电流的映射关系中的多个应用的工作电流,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
可选的,本公开一些实施例中,所述获取单元420,在设置为获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系之前,还设置为获取用户设置的所述移动终端安装的多个应用的冻结优先级;
所述移动终端还包括:
第三确定单元460,设置为基于所述移动终端安装的多个应用的冻结优先级,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
可选的,本公开一些实施例中,所述获取单元420,在设置为获取预存的所述移动终端安装的多个应用的应用标识与工作电流的映射关系时,还设置为获取预存的预设应用的应用标识与工作电流的映射关系,其中,所述预设应用为所述移动终端出厂时预安装的应用;采集安装应用的工作电流,并建立所述安装应用的应用标识与工作电流的映射关系,其中,所述安装应用为所述移动终端在出厂后安装的应用;基于所述预设应用的应用标识与工作电流的映射关系以及所述安装应用的应用标识与工作电流的映射关系,获取所述移动终端安装的多个应用的应用标识与工作电流的映射关系,其中,所述移动终端安装的多个应用包括所述预设应用和所述安装应用。
可选的,本公开一些实施例中,所述检测单元410,还设置为检测所述移动终端的剩余电量是否小于预设的电量阈值,当所述移动终端的剩余电量小于预设的电量阈值,则确定所述移动终端进入省电模式;或者,检测是否接收到将所述移动终端的工作模式设置为省电模式,当接收到将所述移动终端的工作模
式设置为省电模式,,则确定所述移动终端进入省电模式。
可选的,上述多个单元的实现可参考图1至图3对应实施例中相关步骤的描述,在此不赘述。
可以看出,本公开实施例技术方案中,移动终端检测是否进入省电模式,当检测到进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识,冻结所述应用标识对应的应用。可见,移动终端在检测到进入省电模式时,通过获取当前的剩余电量自动冻结相应的应用程序,提升了移动终端应用冻结的智能性,延长了移动终端的续航时间。
请参考图5,图5是本公开第五实施例提供的一种移动终端的结构示意图。如图5所示,本公开实施例中的移动终端包括:至少一个处理器510,例如CPU,至少一个接收器530,至少一个存储器540,至少一个发送器550,以及至少一个通信总线520。其中,通信总线520用于实现这些组件之间的连接通信。其中,本公开实施例中装置的接收器530和发送器550可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他节点设备进行信令或数据的通信。存储器540可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器540可选的还可以是至少一个位于远离前述处理器510的存储装置。存储器540中存储一组程序代码,且所述处理器510可通过通信总线520,调用存储器540中存储的代码以执行相关的功能。
所述处理器510,用于检测移动终端是否进入省电模式;当检测到所述移动终端进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量;基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识;冻结所述应用标识对应的应用。
可选的,本公开一些实施例中,所述处理器510,在用于获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系之前,还可以用于获取预存的所述移动终端安装的多个应用的应用标识与工作电流的映射关系;基于所述移动终端安装的多个应用的应用标识与工作电流的映射关系中的多个应用的工作电流,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关
系。
可选的,本公开一些实施例中,所述处理器510,在用于获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系之前,还可以用于获取用户设置的所述移动终端安装的多个应用的冻结优先级;基于所述移动终端安装的多个应用的冻结优先级,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
可选的,本公开一些实施例中,所述处理器510,在用于获取预存的所述移动终端安装的多个应用的应用标识与工作电流的映射关系,还可以用于获取预存的预设应用的应用标识与工作电流的映射关系,其中,所述预设应用为所述移动终端出厂时预安装的应用;采集安装应用的工作电流,并建立所述安装应用的应用标识与工作电流的映射关系,其中,所述安装应用为所述移动终端在出厂后安装的应用;基于所述预设应用的应用标识与工作电流的映射关系以及所述安装应用的应用标识与工作电流的映射关系,获取所述移动终端安装的多个应用的应用标识与工作电流的映射关系,其中,所述移动终端安装的多个应用包括所述预设应用和所述安装应用。
可选的,本公开一些实施例中,所述处理器510,在用于检测移动终端是否进入省电模式时,还可以用于检测所述移动终端的剩余电量是否小于预设的电量阈值,当所述移动终端的剩余电量小于预设的电量阈值,则确定所述移动终端进入省电模式;或者检测是否接收到将所述移动终端的工作模式设置为省电模式,当接收到将所述移动终端的工作模式设置为省电模式,则确定所述移动终端进入省电模式。
可选的,上述多个单元的实现可参考图1至图3对应实施例中相关步骤的描述,在此不赘述。
可以看出,本公开实施例技术方案中,移动终端检测是否进入省电模式,当检测到进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识,冻结所述应用标识对应的应用。可见,移动终端在检测到进入省电模式时,通过获取当前的剩余电量自动冻结相应的应用程序,提升了移动终端应用冻结的智能性,延长了移动终端的续航时间。
本公开第六实施例还提供一种非瞬时性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述实施例的应用冻结方法。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本公开并不受所描述的动作顺序的限制,因为依据本公开,一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和单元并不一定是本公开所必须的。
本公开实施例的方法的步骤顺序可以根据实际需要进行调整、合并或删减。本公开实施例的终端的单元可以根据实际需要进行整合、进一步划分或删减。
在上述实施例中,对多个实施例的描述都各有侧重,其中一实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例是示意性的,例如所述单元的划分,为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本公开多个实施例中的各功能单元可以集成在一个处理单元中,也可以是多个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元当以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个非瞬时性计算机可读存储介质中。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一些指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本公开多个实施例所述方法的全部或部分步骤。而前述的
存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一非瞬时性计算机可读存储介质,存储介质可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。
以上对本公开实施例所提供的一种应用冻结方法及移动终端进行了详细介绍,本文中应用了个例对本公开的原理及实施方式进行了阐述,以上实施例的说明只是设置为帮助理解本公开的方法及其核心思想;同时,对于本领域的一般技术人员,依据本公开的思想,在实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本公开的限制。
本公开实施例移动终端通过检测是否进入省电模式,当检测到进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识,冻结所述应用标识对应的应用。可见,移动终端在检测到进入省电模式时,通过获取当前的剩余电量自动冻结相应的应用程序,提升了移动终端应用冻结的智能性,延长了移动终端的续航时间。
Claims (11)
- 一种应用冻结方法,包括:检测移动终端是否进入省电模式;当检测到所述移动终端进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量;基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识;以及冻结所述应用标识对应的应用。
- 如权利要求1所述的方法,所述获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系之前,所述方法还包括:获取预存的所述移动终端安装的多个应用的应用标识与工作电流的映射关系;以及基于所述移动终端安装的多个应用的应用标识与工作电流的映射关系中的多个应用的工作电流,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
- 如权利要求1所述的方法,所述获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系之前,所述方法还包括:获取用户设置的所述移动终端安装的多个应用的冻结优先级;基于所述移动终端安装的多个应用的冻结优先级,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
- 如权利要求2所述的方法,其中,所述获取预存的所述移动终端安装的多个应用的应用标识与工作电流的映射关系,包括:获取预存的预设应用的应用标识与工作电流的映射关系,其中,所述预设应用为所述移动终端出厂时预安装的应用;采集安装应用的工作电流,并建立所述安装应用的应用标识与工作电流的映射关系,其中,所述安装应用为所述移动终端在出厂后安装的应用;基于所述预设应用的应用标识与工作电流的映射关系以及所述安装应用的应用标识与工作电流的映射关系,获取所述移动终端安装的多个应用的应用标识与工作电流的映射关系,其中,所述移动终端安装的多个应用包括所述预设应用和所述安装应用。
- 如权利要求1至4任一项所述的方法,其中,所述检测移动终端是否进入省电模式,包括:检测所述移动终端的剩余电量是否小于预设的电量阈值,当所述移动终端的剩余电量小于预设的电量阈值,则确定所述移动终端进入省电模式;或者检测是否接收到将所述移动终端的工作模式设置为省电模式,当接收到将所述移动终端的工作模式设置为省电模式,则确定所述移动终端进入省电模式。
- 一种移动终端,包括:检测单元,设置为检测移动终端是否进入省电模式;获取单元,设置为当检测到所述移动终端进入省电模式,则获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量;第一确定单元,设置为基于所述移动终端的剩余电量与待冻结应用的应用标识的映射关系以及所述移动终端当前的剩余电量,确定待冻结应用的应用标识;以及冻结单元,设置为冻结所述应用标识对应的应用。
- 如权利要求6所述的移动终端,其中,所述获取单元,还设置为在获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系之前,获取预存的所述移动终端安装的多个应用的应用标识与工作电流的映射关系;所述移动终端还包括:第二确定单元,设置为基于所述移动终端安装的多个应用的应用标识与工作电流的映射关系中的多个应用的工作电流,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
- 如权利要求6所述的移动终端,其中,所述获取单元,还设置为在获取预存的所述移动终端的剩余电量与待冻结应用的应用标识的映射关系之前,获取用户设置的所述移动终端安装的多个应用的冻结优先级;所述移动终端还包括:第三确定单元,设置为基于所述移动终端安装的多个应用的冻结优先级,确定所述移动终端的剩余电量与待冻结应用的应用标识的映射关系。
- 如权利要求7所述的移动终端,其中,所述获取单元,还设置为获取预存的预设应用的应用标识与工作电流的映射关系,其中,所述预设应用为所述移动终端出厂时预安装的应用;采集安装 应用的工作电流,并建立所述安装应用的应用标识与工作电流的映射关系,其中,所述安装应用为所述移动终端在出厂后安装的应用;基于所述预设应用的应用标识与工作电流的映射关系以及所述安装应用的应用标识与工作电流的映射关系,获取所述移动终端安装的多个应用的应用标识与工作电流的映射关系,其中,所述移动终端安装的多个应用包括所述预设应用和所述安装应用。
- 如权利要求6至9任一项所述的移动终端,其中,所述检测单元,还设置为检测所述移动终端的剩余电量是否小于预设的电量阈值,当所述移动终端的剩余电量小于预设的电量阈值,则确定所述移动终端进入省电模式;或者,检测是否接收到将所述移动终端的工作模式设置为省电模式,当接收到将所述移动终端的工作模式设置为省电模式,则确定所述移动终端进入省电模式。
- 一种非瞬时性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-5任一项的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610496841.5A CN106200866B (zh) | 2016-06-28 | 2016-06-28 | 一种应用冻结方法及移动终端 |
| CN201610496841.5 | 2016-06-28 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018000504A1 true WO2018000504A1 (zh) | 2018-01-04 |
Family
ID=57463123
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/092498 Ceased WO2018000504A1 (zh) | 2016-06-28 | 2016-07-30 | 应用冻结方法及移动终端 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106200866B (zh) |
| WO (1) | WO2018000504A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112162623A (zh) * | 2020-09-30 | 2021-01-01 | 重庆长安汽车股份有限公司 | 一种延长燃油车蓄电池静置使用时长的方法 |
| CN114825553A (zh) * | 2022-05-25 | 2022-07-29 | 深圳市华云电源有限公司 | 一种移动电源装置的电量均衡控制方法及系统 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107957771A (zh) * | 2017-11-20 | 2018-04-24 | 珠海市魅族科技有限公司 | 一种应用程序的控制方法、装置、移动终端和存储介质 |
| CN111796735B (zh) | 2020-06-29 | 2023-02-03 | 维沃移动通信(杭州)有限公司 | 应用程序控制方法、装置及电子设备 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140024355A1 (en) * | 2012-07-19 | 2014-01-23 | Hon Hai Precision Industry Co., Ltd. | Electronic device capable of controlling functionality depending on location |
| CN103905652A (zh) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | 电源管理方法及电子设备 |
| CN104199538A (zh) * | 2014-08-26 | 2014-12-10 | 深圳市中兴移动通信有限公司 | 一种移动终端省电的方法、系统及移动终端 |
| CN104866069A (zh) * | 2015-06-12 | 2015-08-26 | 广东小天才科技有限公司 | 一种自动清理后台应用程序的方法及装置 |
| CN105094282A (zh) * | 2015-07-22 | 2015-11-25 | 深圳市金立通信设备有限公司 | 一种应用程序的管理方法及终端 |
-
2016
- 2016-06-28 CN CN201610496841.5A patent/CN106200866B/zh not_active Expired - Fee Related
- 2016-07-30 WO PCT/CN2016/092498 patent/WO2018000504A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140024355A1 (en) * | 2012-07-19 | 2014-01-23 | Hon Hai Precision Industry Co., Ltd. | Electronic device capable of controlling functionality depending on location |
| CN103905652A (zh) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | 电源管理方法及电子设备 |
| CN104199538A (zh) * | 2014-08-26 | 2014-12-10 | 深圳市中兴移动通信有限公司 | 一种移动终端省电的方法、系统及移动终端 |
| CN104866069A (zh) * | 2015-06-12 | 2015-08-26 | 广东小天才科技有限公司 | 一种自动清理后台应用程序的方法及装置 |
| CN105094282A (zh) * | 2015-07-22 | 2015-11-25 | 深圳市金立通信设备有限公司 | 一种应用程序的管理方法及终端 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112162623A (zh) * | 2020-09-30 | 2021-01-01 | 重庆长安汽车股份有限公司 | 一种延长燃油车蓄电池静置使用时长的方法 |
| CN114825553A (zh) * | 2022-05-25 | 2022-07-29 | 深圳市华云电源有限公司 | 一种移动电源装置的电量均衡控制方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106200866B (zh) | 2018-09-07 |
| CN106200866A (zh) | 2016-12-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108345524B (zh) | 应用程序监控方法及应用程序监控装置 | |
| CN105517129B (zh) | 一种通信终端中的网络制式切换方法及通信终端 | |
| WO2018000508A1 (zh) | 应用程序冻结方法及移动终端 | |
| WO2018000504A1 (zh) | 应用冻结方法及移动终端 | |
| CN106897125A (zh) | 智能设备及其服务或应用的管理方法 | |
| CN105354042A (zh) | 应用安装的处理方法及装置 | |
| CN110249661B (zh) | 网络连接方法及装置 | |
| CN105406893A (zh) | 一种通信业务的处理方法、装置及通信终端 | |
| CN104503840A (zh) | 对终端资源进行优化的方法及装置 | |
| CN111417157A (zh) | 移动终端的网络连接方法、装置、电子设备和存储介质 | |
| CN108834191B (zh) | 小区重选方法、装置、电子设备及存储介质 | |
| CN105516787A (zh) | 应用缓存数据的存储控制方法及装置 | |
| CN105517123A (zh) | 一种通信终端的载波聚合模式设定方法及通信终端 | |
| CN104994141B (zh) | 缓解云服务器存储和计算压力的协同存储系统 | |
| WO2016183918A1 (zh) | 存储空间处理方法及装置 | |
| WO2024217386A1 (zh) | 智能门锁双电池供电切换方法、装置、存储介质及门锁 | |
| CN107798239B (zh) | 操作风险处理方法、装置、计算机设备和存储介质 | |
| CN105430726B (zh) | 一种通信终端的载波聚合功能控制方法及通信终端 | |
| CN105517084A (zh) | 一种混合网络制式下的业务处理方法、装置及移动终端 | |
| CN107920304B (zh) | 用于无线麦克风的报警方法、系统、麦克风及存储介质 | |
| WO2016180241A1 (zh) | 终端节能管理方法、装置及终端 | |
| CN106557139A (zh) | 硬盘阵列中的硬盘上电控制方法及装置 | |
| WO2012155608A1 (zh) | 一种移动终端的信息保存方法及移动终端 | |
| CN107277896A (zh) | wifi热点管理方法、装置及终端设备 | |
| WO2018218823A1 (zh) | 一种基于充电优先级的无线充电方法及无线充电路由器 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16906902 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16906902 Country of ref document: EP Kind code of ref document: A1 |