WO2020093888A1 - Power saving method and apparatus, and storage medium - Google Patents
Power saving method and apparatus, and storage medium Download PDFInfo
- Publication number
- WO2020093888A1 WO2020093888A1 PCT/CN2019/113465 CN2019113465W WO2020093888A1 WO 2020093888 A1 WO2020093888 A1 WO 2020093888A1 CN 2019113465 W CN2019113465 W CN 2019113465W WO 2020093888 A1 WO2020093888 A1 WO 2020093888A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- power saving
- terminal
- state
- screen
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
- This application relates to the terminal field, and in particular, to a power saving method, device, and storage medium.
- Embodiments of the present application provide a power saving method, device, and storage medium, so as to save power consumption and reduce the impact on users in using applications.
- a power saving method which includes: acquiring the first application that requires power saving processing through detection when the terminal is in a bright screen state; and when the terminal is in a blank state, Perform power saving processing on the first application.
- a power saving device including: an acquisition module and a processing module, wherein the acquisition module is configured to acquire the first power saving process that needs to be processed by detection when the terminal is in a bright screen state An application; the processing module is configured to perform power saving processing on the first application acquired by the acquiring module when the terminal is in a screen-off state.
- a terminal which includes a memory and a processor, and a computer program is stored on the memory, and when the computer program is executed, the following operations are implemented: when the terminal is in a bright screen state, it is obtained by detection A first application that requires power-saving processing; when the terminal is in a screen-off state, perform power-saving processing on the first application.
- a non-transitory computer-readable storage medium is provided, and a computer program is stored on the storage medium, and when the computer program is executed, the following operations are implemented: when the terminal is in a bright screen state, pass Detecting and acquiring the first application that requires power-saving processing; when the terminal is in a screen-off state, performing power-saving processing on the first application.
- FIG. 1 is a flowchart of a power saving method provided by an embodiment of the present application
- FIG. 3 is a structural block diagram of a power saving device provided by an embodiment of the present application.
- FIG. 4 is a structural block diagram of a terminal provided by an embodiment of the present application.
- the power saving method provided in the embodiments of the present application may be executed by a terminal, which may be various mobile terminals such as mobile phones and tablet computers, or may be, for example, an intelligence that runs an operating system (for example, an Android operating system) terminal.
- a terminal which may be various mobile terminals such as mobile phones and tablet computers, or may be, for example, an intelligence that runs an operating system (for example, an Android operating system) terminal.
- an operating system for example, an Android operating system
- different operations can be performed on the bright screen state and the dark screen state of the terminal.
- the first application that requires power saving processing can be obtained by detecting in the bright screen state, and the power saving processing flow can be initiated in the screen off state.
- FIG. 1 is a flowchart of a power saving method provided by an embodiment of the present application.
- the power saving method provided by an embodiment of the present application may be applied to a terminal, and may include: Step 110: When the terminal is in a bright screen state, obtain a first application that requires power saving processing by detection.
- the terminal in the embodiment of the present application may have two states: a bright screen state and a dark screen state.
- the bright screen state can be the state of the terminal screen for content display, such as the state for the user to view after the terminal screen is started;
- the off screen state can be the state of the terminal screen not displaying content, for example, when the terminal screen is closed, the user Check the status of any content on the terminal.
- the first application that requires power saving processing may be an abnormal power consumption application, and an application in which one or more specified operations occur may be determined as an abnormal power consumption application.
- step 110 may include: when the terminal is in a bright screen state, detecting an application in which a first designated operation occurs in the terminal, and taking the application in which the first designated operation occurs as the first application.
- the first designated operation may be various abnormal power-consuming operations, which include but are not limited to at least one of the following: continuously occupying CPU time exceeds a first threshold, holding time exceeds a second threshold, and memory usage exceeds a third Threshold value, continuous positioning exceeds the fourth threshold value, and continuously applies for the sensor to exceed the fifth threshold value, etc. In this way, the application that requires power-saving processing can be easily obtained through the specific detection method described above.
- the continuous high CPU usage can be determined according to the CPU occupancy. For example, if it is detected that the CPU occupancy reaches more than 10% for 2 consecutive minutes, or the CPU occupies more than half of the time within 10 minutes, it can be determined as the CPU continuous high occupation.
- the lock holding time detection is mainly to judge the time that the application holds the core lock or the frame lock. If the lock is held continuously for more than 10 minutes, or if the lock is held for more than 10 minutes in 20 minutes, it may be considered that the lock holding time is too long.
- the high memory usage is mainly to determine whether the memory of the process in the background process has increased.
- the determination process of continuous abnormal location it can be first determined whether the application is a navigation application. If it is not a navigation application, but the continuous application of positioning time exceeds 2 minutes, it can be determined as continuous abnormal positioning; abnormal use of sensors is mainly to continuously apply for various types of sensors not to be released, for example, continuous applications such as proximity sensors or Hall for more than 5 minutes If it is not released, it can be determined that the sensor is used abnormally.
- the first application may be recorded in the list of applications to be processed for power saving. Subsequently, when the terminal is in the screen-off state, the application list to be processed for power saving can be searched (eg, traversed) to obtain the first application.
- recording the first application through the application list to be saved in power saving may facilitate subsequent quick acquisition of the first application.
- the power-saving operation is a freezing operation, it is also convenient for quickly defrosting the application later.
- acquiring applications may include acquiring various information related to the application, including but not limited to, application name, application identifier, and application running status , The type of power consumption of the application and whether it is a system application, etc.
- the application list to be saved for power saving may be stored on the terminal, for example, stored in a memory or a hard disk of the terminal.
- the application recorded in the application list to be saved in power saving may also cover one or more types of information of the recorded application.
- the setting of the preset rule corresponding to the application may also be related to one or more types of information of the application.
- Step 120 when the terminal is in a screen-off state, perform power saving processing on the first application.
- the power saving process may be any one of: freezing the first application; ending the first application; and making the package or component for the first application unavailable.
- the freeze technology is mainly a technology based on a terminal (for example, an intelligent terminal) that restricts applications to occupy system resources. It mainly includes prohibiting the occupation of CPU resources, sensor resources, global positioning system (GPS), memory and other resources, which can effectively save power consumption and extend battery life.
- freezing the first application may mean that the first application is no longer allowed to continue to apply for and / or occupy any new resources (for example, CPU resources, memory resources, etc.), but keep or partially maintain the current application and / or occupation Resources.
- Ending the first application may mean that all resources occupied by the first application are released.
- step 120 may specifically include: when the terminal is in a screen-off state, determining whether the first application satisfies a first preset condition, and when the first application satisfies the first When a preset condition is met, power saving processing is performed on the first application.
- the first preset condition may be set according to needs.
- the first preset condition may be content related to applications that do not need to perform power saving processing, such as a power saving white list. Applications in the power saving white list are not required by default. Perform power saving processing.
- the first application is music playback software
- the first application that is music playback software does not need to perform power saving processing
- the first application that is music playback software does not need to perform power saving processing.
- the first application is map navigation software
- the music playback software set in the first preset condition does not require power saving processing
- the first application of map navigation software needs power saving processing.
- the first preset condition may also be related to the running state and the running time. For example, the first preset condition may be set to be such as being running and the running time exceeds a specified value, for example, 1 minute, and so on.
- the first preset condition may be set based on the type of application, and may change as the first application changes. For example, if the application belongs to a download application, the first preset condition may include content related to data traffic and / or download rate. In this way, if the application is a download application, you can continue to determine whether the application currently has data traffic. If there is data traffic at this time and meets the preset value requirements, such as 10kb / s, power saving processing may not be performed this time, otherwise Power-saving processing (for example, freezing). For example, if the application belongs to a navigation application, the first preset condition may cover content related to the location. In this way, when the application is a navigation application, the positioning position can be obtained in real time.
- the power saving method provided by the embodiment of the present application by acquiring the first application that requires power saving processing in the bright screen state, may not perform power saving processing on the first application, and thus will not affect the user's application to the application in the bright screen state Use, and perform power saving processing on the first application in the screen-off state, so that the purpose of power saving can be achieved. Since the user operates the application in the bright screen state, the user will not operate the application in the screen-off state, so It can achieve the effect of saving power consumption and reducing the impact on users in using applications.
- the power saving method provided by the embodiment of the present application may further include: when the first application does not satisfy the first pre When the condition is set, the power saving process of the first application may be suspended, and the operation of the first application in the screen-off state may be detected; based on the operation of the first application, determine whether the first application The first supplementary condition is satisfied; when the first application meets the first supplementary condition, power saving processing is performed on the first application.
- the first supplementary condition can be set as needed.
- the first supplementary condition may be the same as the first preset condition, or may be a condition where the requirement is reduced compared to the first preset condition (the requirement can be appropriately reduced in the off-screen state).
- the terminal satisfies no displacement within 10 minutes (the first preset condition)
- power-saving processing is performed on the navigation application. If the terminal does not satisfy no displacement within 10 minutes (the first preset condition), and no displacement within 5 minutes, in the embodiment of the present application, if the terminal has no displacement within 5 minutes as the first supplementary condition, it may be When the screen is off, power-saving processing is performed for navigation applications.
- the power saving method provided in the embodiment of the present application may further include: acquiring when the terminal is in a screen-off state The second application determines whether the second application meets the second preset condition, and performs power saving processing on the second application when the second application meets the second preset condition.
- performing power saving processing on the second application includes one of: freezing the second application; ending the second application; and making the package or component for the second application unavailable.
- by performing secondary power saving processing on the applications that exist after the terminal is turned off the power saving processing can be ensured to be more thorough, and the power consumption of the terminal can be further saved.
- the second application may be obtained in the following manner: when the terminal is in the screen-off state, the application that detects the occurrence of the second specified operation in the terminal will appear Application as the second application.
- the second designated operation includes at least one of the following: continuously occupying CPU time exceeding the sixth threshold, holding time exceeding the seventh threshold, memory consumption exceeding the eighth threshold, continuously locating exceeding the ninth threshold, and continuously applying for sensors to exceed The tenth threshold.
- the sixth threshold may be the same as the first threshold, or may be set to be different from the first threshold; the seventh threshold may be the same as the second threshold, or may be set to be the second threshold Different; the eighth threshold can be the same as the third threshold or can be set to be different from the third threshold; the ninth threshold can be the same as the fourth threshold or can be set to be different from the fourth threshold; the tenth threshold can be the same as the fifth threshold Similarly, it may be set to be different from the fifth threshold.
- the first threshold to the tenth threshold can be set according to requirements.
- the application that is, the second application
- the application that needs to perform the second power saving process can be easily obtained by using a specific detection method.
- the second preset condition may be the same as or different from the first preset condition. Meanwhile, similar to the first preset condition, the second preset condition can also be set as needed.
- the second application may be associated with the first application, or may be unrelated to the first application.
- the second application may have one or more sources, for example, from a specified application (for example, an application set by a user), for example, from an application that starts automatically in the screen-off state, and for example, from an abnormality that occurs in the screen-off state Application and so on. It should be noted that, in the embodiments of the present application, the second application may also include one or more applications.
- the first application when the terminal is in a screen-off state and performs power saving processing, the following operations may be performed for each target application among the multiple target applications: determining the target Whether the application satisfies the preset condition corresponding to it (the first preset condition); when the target application satisfies the preset condition corresponding to it, power saving processing is performed on the target application.
- the second application includes at least one of the following: an application from a specified application, an application that starts automatically in the screen-off state, and an application in which an abnormality occurs in the screen-off state.
- the embodiment of the present application may perform power saving processing on one or more target applications in the first application.
- the multiple target applications may be recorded in the list of applications to be processed for power saving. Subsequently, in the screen-off state, power saving processing may be performed for each target application in the application list for power saving processing when it meets the corresponding preset condition.
- the power saving method provided by the embodiment of the present application may be applied to a terminal, and may include: Step 210, when the terminal is in a bright screen state, detecting that an application of a first specified operation occurs in the terminal, the The application of the first designated operation serves as the first application (abnormal power consumption application) that requires power saving processing.
- the first designated operation includes but is not limited to at least one of the following: continuously occupying CPU time exceeds a first threshold, holding time exceeds a second threshold, memory occupancy exceeds a third threshold, continuous positioning exceeds a fourth threshold, and continues Apply for sensors that exceed the fifth threshold and so on.
- each threshold can be set according to actual needs.
- the first application may cover various applications. For example, if a navigation application is an application where the first specified operation occurs, this navigation application may be used as the first application. If a video playback application is an application where the first specified operation occurs, the video playback application may be used as the first application.
- Step 220 Record the first application into a list of applications to be processed for power saving.
- the application list to be saved for power saving can be kept in various memories of the terminal.
- Step 244 When the first application does not satisfy the first preset condition, suspend power-saving processing of the first application, and detect the operation of the first application in the screen-off state.
- the first application when the first application does not satisfy the first supplementary condition, the first application may not be subjected to power saving processing.
- the power saving process includes one of the following: freezing the first application; ending the first application; and making the package or component for the first application unavailable.
- Step 250 When the terminal is in a screen-off state, detect an application in which a second designated operation occurs in the terminal, and use the application in which the second designated operation appears as the second application.
- the second designated operation includes but is not limited to at least one of the following: continuously occupying CPU time exceeding the sixth threshold, holding time exceeding the seventh threshold, memory occupation exceeding the eighth threshold, continuing positioning exceeding the ninth threshold, and continuing The application sensor exceeds the tenth threshold.
- each threshold can be set according to actual needs.
- the sixth threshold to the tenth threshold may be associated with the first threshold to the fifth threshold.
- the second application may include at least one of the following: a specified application, an application that starts automatically in the screen-off state, and an application in which an abnormality occurs in the screen-off state.
- the second application may be an abnormal power-consuming application, and may cover various applications.
- the specified application can be set for the user as an application that requires power-saving processing. In this way, the user can proactively perform power-saving processing for certain applications through settings, which enhances interactivity and better meets user needs.
- the self-starting application in the screen-off state may be, for example, some rogue applications, and the application is started in the screen-off state without the user's knowledge.
- the second application may not be recorded in the application list to be saved.
- Step 260 Determine whether the second application meets the corresponding preset condition, and perform power saving processing on the second application when the second application meets the corresponding preset condition.
- the second application when the second application satisfies the corresponding preset condition, the second application may directly perform power saving processing without being recorded in the application list to be saved.
- the power saving process can also be directly performed on the second application without determining whether the second application meets the corresponding preset condition, so that the power saving operation can be performed more conveniently and quickly.
- step 240 and step 250 may be performed in parallel, step 250 may be performed before step 240, and step 250 may also be performed during the execution of step 240.
- an unfreeze trigger instruction for the first application may be received (for example, click Start An application), defrosting the first application recorded in the application list to be saved.
- the first application recorded in the application list to be saved for power saving can be quickly restored.
- the terminal will actively release the freezing control of the application, so that the application does not need to be initialized again, which increases the time for the application to load and display.
- Application startup performance is an improvement.
- power saving processing may not be performed on the first application, so that it does not affect the user's use of the application in the bright screen state, and the screen is turned off.
- the first application performs power saving processing in the state, so that the purpose of power saving can be achieved. Since the user operates the application in the bright screen state, the user does not operate the application in the screen off state, and thus can save power consumption At the same time reduce the impact on users in using applications.
- acquiring the first application that requires power-saving processing through detection in the bright screen state can ensure that the acquired application is an application that requires power-saving processing, and avoids the power-saving processing of an application due to inappropriate.
- the problems that affect users 'use of this application further reduce the impact on users' use of the application.
- the power saving processing can be ensured to be more thorough, and the power consumption of the terminal can be further saved.
- FIG. 3 is a structural block diagram of a power saving device provided by an embodiment of the present application.
- the power saving device 300 provided by an embodiment of the present application includes: an acquisition module 310 and a processing module 320, wherein the acquisition module 310 is configured to acquire a need by detecting when the terminal is in a bright screen state A first application that performs power saving processing; the processing module 320 is configured to perform power saving processing on the first application acquired by the acquiring module 310 when the terminal is in a screen-off state.
- power saving processing may not be performed on the first application, so that it does not affect the user's use of the application in the bright screen state, and the screen is turned off.
- the first application performs power saving processing in the state, so that the purpose of power saving can be achieved. Since the user operates the application in the bright screen state, the user does not operate the application in the screen off state, and thus can save power consumption At the same time reduce the impact on users in using applications.
- acquiring the first application that requires power-saving processing through detection in the bright screen state can ensure that the acquired application is an application that requires power-saving processing, and avoids the power-saving processing of an application due to inappropriate.
- the problems that affect users 'use of this application further reduce the impact on users' use of the application.
- the processing module 320 may be specifically configured to: when the terminal is in a screen-off state, determine whether the first application satisfies the first preset condition. When the first application meets the first preset condition, power saving processing is performed on the first application. Wherein, performing power saving processing on the first application includes one of: freezing the first application; ending the first application; and making the package or component for the first application unavailable.
- the processing module 320 may be specifically configured to: when the first application does not satisfy the first preset condition, detect that the first application is in the screen-off state Based on the operation of the first application, determining whether the first application meets the first supplementary condition; when the first application meets the first supplementary condition, perform power saving processing on the first application .
- the acquiring module 310 is further used to acquire the second application when the terminal is in the screen-off state.
- the processing module 320 is further configured to: determine whether the second application satisfies the second preset condition, and perform a process on the second application when the second application satisfies the second preset condition Power saving processing.
- performing power saving processing on the second application includes: performing one of the following operations on the second application: freezing the second application; ending the second application; and making a packet or The component is not available.
- the first application includes multiple target applications.
- the processing module 320 may be specifically used to: In the case of the screen-off state, for each target application in the plurality of target applications, perform the following operations: determine whether the target application satisfies a preset condition corresponding to the target application; When setting conditions, perform power saving processing on the target application.
- the second application may include at least one of the following: a designated application, an application that starts automatically in the screen-off state, and an application in which an abnormality occurs in the screen-off state.
- the acquiring module 310 may be specifically configured to: when the terminal is in a screen-off state, detect an application in which a second specified operation occurs in the terminal, and the second specified operation will appear As the second application.
- the second designated operation includes at least one of the following: continuously occupying CPU time exceeding the sixth threshold, holding time exceeding the seventh threshold, memory consumption exceeding the eighth threshold, continuously locating exceeding the ninth threshold, and continuously applying for sensors to exceed The tenth threshold.
- the power saving device further includes a management module for recording the first application into a list of power saving processing applications, and when the terminal is in a screen-off state, Traverse the list of applications to be saved for power saving to obtain the first application, and notify the processing module 320 of the first application.
- a terminal 400 provided by an embodiment of the present application may include: a memory 410 and a processor 420, and a computer program may be stored on the memory 410, which may be implemented when the computer program is executed by the processor 420 Any of the steps described in this article to save power.
- the computer program when executed by the processor 420, the following operations may be performed: when the terminal is in a bright screen state, obtain the first application that requires power-saving processing by detection; In the case of the screen off state, power saving processing is performed on the first application.
- power saving processing may not be performed on the first application, so that it does not affect the user's use of the application in the bright screen state, and
- the power saving process is performed on the first application in the screen off state, so that the purpose of power saving can be achieved. Since the user operates the application in the bright screen state, the user does not operate the application in the screen off state, so it can achieve While saving power consumption, it reduces the impact on users in using applications.
- the non-transitory computer-readable storage medium provided by the embodiment of the present application can obtain the first application that needs to be processed for power saving in the bright screen state, so that the first application can be saved without power saving, and thus does not affect the user on the bright screen
- These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processing machine, or other programmable data processing device to produce a machine that enables the generation of instructions executed by the processor of the computer or other programmable data processing device
- These computer program instructions may also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, the instructions The device implements the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and / or block diagrams.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to produce computer-implemented processing, which is executed on the computer or other programmable device
- the instructions provide steps for implementing the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and / or block diagrams.
- Computer-readable media including permanent and non-permanent, removable and non-removable media, can store information by any method or technology.
- the information may be computer readable instructions, data structures, modules of programs, or other data.
- Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
- computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- Telephone Function (AREA)
Abstract
Description
Claims (12)
- 一种省电方法,应用于终端,其特征在于,包括:A power saving method applied to the terminal, which is characterized by including:在所述终端处于亮屏状态的情况下,通过检测获取需要进行省电处理的第一应用;In the case where the terminal is in a bright screen state, the first application that requires power saving processing is acquired through detection;在所述终端处于灭屏状态的情况下,对所述第一应用进行省电处理。When the terminal is in a screen-off state, power-saving processing is performed on the first application.
- 根据权利要求1所述的方法,其特征在于,所述在所述终端处于灭屏状态的情况下,对所述第一应用进行省电处理包括:The method according to claim 1, wherein the power-saving processing of the first application when the terminal is in a screen-off state includes:在所述终端处于灭屏状态的情况下,确定所述第一应用是否满足第一预设条件;In the case where the terminal is in the screen-off state, determine whether the first application meets the first preset condition;在所述第一应用满足所述第一预设条件时,对所述第一应用进行省电处理;When the first application meets the first preset condition, perform power saving processing on the first application;其中,对所述第一应用进行省电处理包括以下一项:Wherein, performing power saving processing on the first application includes one of the following:冻结所述第一应用;Freeze the first application;结束所述第一应用;End the first application;使针对所述第一应用的包或组件不可用。Make the package or component for the first application unavailable.
- 根据权利要求2所述的方法,其特征在于,所述在所述终端处于灭屏状态的情况下,对所述第一应用进行省电处理还包括:The method according to claim 2, wherein the power saving processing of the first application when the terminal is in a screen-off state further includes:在所述第一应用不满足所述第一预设条件时,检测所述第一应用在所述灭屏状态下的操作;When the first application does not satisfy the first preset condition, detecting the operation of the first application in the screen-off state;基于所述第一应用的操作,确定所述第一应用是否满足第一补充条件;Based on the operation of the first application, determining whether the first application meets the first supplementary condition;在所述第一应用满足所述第一补充条件时,对所述第一应用进行省电处理。When the first application meets the first supplementary condition, perform power saving processing on the first application.
- 根据权利要求1-3任一所述的方法,其特征在于,所述省电方法还包括:The method according to any one of claims 1-3, wherein the power saving method further comprises:在所述终端处于灭屏状态的情况下,获取第二应用,确定所述第二应用是否满足第二预设条件;In the case where the terminal is in a screen-off state, obtain a second application, and determine whether the second application meets a second preset condition;在所述第二应用满足所述第二预设条件时,对所述第二应用进行省电处理;When the second application meets the second preset condition, perform power saving processing on the second application;其中,对所述第二应用进行省电处理包括以下一项:Wherein, performing power saving processing on the second application includes one of the following:冻结所述第二应用;Freeze the second application;结束所述第二应用;End the second application;使针对所述第二应用的包或组件不可用。Make the package or component for the second application unavailable.
- 根据权利要求4所述的方法,其特征在于,The method according to claim 4, characterized in that所述第二应用为指定的应用、在所述灭屏状态下自启动的应用或者在所述灭屏状态下出现异常的应用。The second application is a designated application, an application that starts automatically in the screen-off state, or an application in which an abnormality occurs in the screen-off state.
- 根据权利要求1-3任一所述的方法,其特征在于,The method according to any one of claims 1-3, characterized in that所述在所述终端处于亮屏状态的情况下,通过检测获取需要进行省电处理的第一应用包括:在所述终端处于亮屏状态的情况下,检测所述终端中出现第一指定操作的应用,将出现所述第一指定操作的应用作为所述第一应用;When the terminal is in a bright screen state, acquiring the first application that requires power-saving processing through detection includes: detecting that a first designated operation occurs in the terminal when the terminal is in a bright screen state , The application that appears the first specified operation as the first application;其中,所述第一指定操作包括以下至少一项:持续占用CPU的时间超过第一阈值、持锁时间超过第二阈值、内存占用超过第三阈值、持续定位超过第四阈值以及持续申请传感器超过第五阈值。Wherein, the first designated operation includes at least one of the following: continuously occupying CPU time exceeding a first threshold, holding time exceeding a second threshold, memory consumption exceeding a third threshold, continuously locating exceeding a fourth threshold, and continuously applying for sensors to exceed The fifth threshold.
- 根据权利要求4所述的方法,其特征在于,所述获取第二应用包括:在所述终端处于灭屏状态的情况下,检测所述终端中出现第二指定操作的应用,将出现所述第二指定操作的应用作为所述第二应用;The method according to claim 4, wherein the acquiring the second application comprises: detecting that an application of a second specified operation occurs in the terminal when the terminal is in a screen-off state, and the An application of a second designated operation as the second application;其中,所述第二指定操作包括以下至少一项:持续占用CPU的时间超过第六阈值、持锁时间超过第七阈值、内存占用超过第八阈值、持续定位超过第九阈值以及持续申请传感器超过第十阈值。Wherein, the second designated operation includes at least one of the following: continuously occupying CPU time exceeding the sixth threshold, holding time exceeding the seventh threshold, memory consumption exceeding the eighth threshold, continuously locating exceeding the ninth threshold, and continuously applying for sensors to exceed The tenth threshold.
- 根据权利要求1所述的方法,其特征在于,在所述获取需要进行省电处理的第一应用之后,所述省电方法还包括:The method according to claim 1, wherein after acquiring the first application that requires power saving processing, the power saving method further includes:将所述第一应用记录到待省电处理应用列表中;Record the first application to a list of applications to be processed for power saving;在所述对所述第一应用进行省电处理之前,所述省电方法还包括:在所述 终端处于灭屏状态的情况下,遍历所述待省电处理应用列表,以获取所述第一应用。Before the power saving process is performed on the first application, the power saving method further includes: traversing the list of applications to be saved for power saving to obtain the first One application.
- 根据权利要求8所述的方法,其特征在于,对所述第一应用进行的省电处理为冻结处理,在所述对所述第一应用进行省电处理之后,所述方法还包括:The method according to claim 8, wherein the power saving process performed on the first application is a freeze process, and after the power saving process performed on the first application, the method further includes:在接收到针对所述第一应用的解冻触发指令时,对所述待省电处理应用列表中记录的所述第一应用进行解冻处理。When receiving an unfreezing trigger instruction for the first application, unfreezing processing is performed on the first application recorded in the to-be-power-saving processing application list.
- 一种省电装置,其特征在于,包括:获取模块和处理模块,其中,所述获取模块,用于在所述终端处于亮屏状态的情况下,通过检测获取需要进行省电处理的第一应用;所述处理模块用于在所述终端处于灭屏状态的情况下,对所述获取模块获取的所述第一应用进行省电处理。A power saving device, characterized by comprising: an obtaining module and a processing module, wherein the obtaining module is used to obtain the first power saving processing by detecting when the terminal is in a bright screen state Application; the processing module is configured to perform power saving processing on the first application acquired by the acquiring module when the terminal is in a screen-off state.
- 一种终端,其特征在于,包括存储器和处理器,所述存储器上存储计算机程序,当所述计算机程序被执行时实现根据权利要求1-9任一所述的省电方法中的步骤。A terminal is characterized by comprising a memory and a processor, a computer program is stored on the memory, and when the computer program is executed, the steps in the power saving method according to any one of claims 1-9 are realized.
- 一种非临时性计算机可读存储介质,其特征在于,所述存储介质上存储计算机程序,当所述计算机程序被执行时实现根据权利要求1-9任一所述的省电方法中的步骤。A non-transitory computer-readable storage medium, characterized in that a computer program is stored on the storage medium, and when the computer program is executed, the steps in the power saving method according to any one of claims 1-9 are realized .
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811329115.X | 2018-11-09 | ||
CN201811329115.XA CN111176420A (en) | 2018-11-09 | 2018-11-09 | Power saving method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020093888A1 true WO2020093888A1 (en) | 2020-05-14 |
Family
ID=70610818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/113465 WO2020093888A1 (en) | 2018-11-09 | 2019-10-25 | Power saving method and apparatus, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111176420A (en) |
WO (1) | WO2020093888A1 (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9229522B1 (en) * | 2013-08-27 | 2016-01-05 | Symantec Corporation | Mobile battery performance by identifying apps that disproportionally run background tasks that prevent mobile devices from sleeping |
CN105718028A (en) * | 2016-01-22 | 2016-06-29 | 青岛海信移动通信技术股份有限公司 | Power-saving method and device based on power consumption application recognition |
CN106125883A (en) * | 2016-06-15 | 2016-11-16 | 乐视控股(北京)有限公司 | Intelligent terminal and control method thereof |
CN106502371A (en) * | 2016-11-08 | 2017-03-15 | 珠海市魅族科技有限公司 | A kind of electricity-saving control method and device |
CN107132905A (en) * | 2017-03-28 | 2017-09-05 | 深圳市金立通信设备有限公司 | Terminal communication control method and terminal |
CN107302627A (en) * | 2017-05-23 | 2017-10-27 | 深圳天珑无线科技有限公司 | Improve method, mobile terminal and the storage device of mobile terminal endurance |
CN107332992A (en) * | 2017-06-29 | 2017-11-07 | 维沃移动通信有限公司 | A kind of video broadcasting method and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105677386A (en) * | 2015-12-29 | 2016-06-15 | 北京金山安全软件有限公司 | Application program management method and device and electronic equipment |
-
2018
- 2018-11-09 CN CN201811329115.XA patent/CN111176420A/en active Pending
-
2019
- 2019-10-25 WO PCT/CN2019/113465 patent/WO2020093888A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9229522B1 (en) * | 2013-08-27 | 2016-01-05 | Symantec Corporation | Mobile battery performance by identifying apps that disproportionally run background tasks that prevent mobile devices from sleeping |
CN105718028A (en) * | 2016-01-22 | 2016-06-29 | 青岛海信移动通信技术股份有限公司 | Power-saving method and device based on power consumption application recognition |
CN106125883A (en) * | 2016-06-15 | 2016-11-16 | 乐视控股(北京)有限公司 | Intelligent terminal and control method thereof |
CN106502371A (en) * | 2016-11-08 | 2017-03-15 | 珠海市魅族科技有限公司 | A kind of electricity-saving control method and device |
CN107132905A (en) * | 2017-03-28 | 2017-09-05 | 深圳市金立通信设备有限公司 | Terminal communication control method and terminal |
CN107302627A (en) * | 2017-05-23 | 2017-10-27 | 深圳天珑无线科技有限公司 | Improve method, mobile terminal and the storage device of mobile terminal endurance |
CN107332992A (en) * | 2017-06-29 | 2017-11-07 | 维沃移动通信有限公司 | A kind of video broadcasting method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN111176420A (en) | 2020-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018103401A1 (en) | Wireless fidelity wi-fi scanning method and related product | |
JP6639665B2 (en) | Method, apparatus and terminal for terminal-based wakelock control | |
US8719630B2 (en) | Method and apparatus for monitoring interrupts during a power down event at a processor | |
TWI421676B (en) | Method, system and apparatus for low-power storage of processor context information | |
WO2020052471A1 (en) | Method and apparatus for detecting application to be managed, method and apparatus for controlling application, terminal, and storage medium | |
JP2013534015A (en) | Parallel use of embedded non-volatile memory and main volatile memory in mobile devices | |
US20150033049A1 (en) | Method, device and mobile terminal for information backup | |
CN110971430A (en) | Automatic capacity expansion and reduction control method and device, storage medium and processor | |
US8589933B2 (en) | Low power execution of a multithreaded program | |
US9965626B2 (en) | Memory attack detection | |
KR20160145755A (en) | Method, device and mobile terminal for reducing power consumption | |
WO2019233466A1 (en) | Method and device used for application protection | |
WO2020093888A1 (en) | Power saving method and apparatus, and storage medium | |
EP3962180A1 (en) | Network-based control method for power consumption of applications, terminal and storage medium | |
WO2021037111A1 (en) | Application management method and apparatus, terminal, and readable storage medium | |
JP2009037403A (en) | Valid activation method for core memory in multi-core processor | |
US20180309702A1 (en) | Method and device for processing data after restart of node | |
US11681601B2 (en) | Application program management method and apparatus, and storage medium | |
WO2020052472A1 (en) | Method and device for detecting and controlling abnormal application, terminal, and storage medium | |
WO2020224417A1 (en) | Method and apparatus for controlling power consumption of terminal, terminal, and computer-readable storage medium | |
WO2020094125A1 (en) | Application control method, device, terminal, and computer-readable storage medium | |
CN111159782B (en) | Safety task processing method and electronic equipment | |
US9684355B2 (en) | Identifying power state changes | |
US20170300104A1 (en) | Power-saving method and an electronic device for performing power consumption management | |
CN107735772B (en) | Data writing method and device |
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: 19881425 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: 19881425 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.09.2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19881425 Country of ref document: EP Kind code of ref document: A1 |