WO2020224658A1 - 待机优化方法、装置、计算机设备和存储介质 - Google Patents
待机优化方法、装置、计算机设备和存储介质 Download PDFInfo
- Publication number
- WO2020224658A1 WO2020224658A1 PCT/CN2020/089352 CN2020089352W WO2020224658A1 WO 2020224658 A1 WO2020224658 A1 WO 2020224658A1 CN 2020089352 W CN2020089352 W CN 2020089352W WO 2020224658 A1 WO2020224658 A1 WO 2020224658A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal device
- screen
- time
- preset
- data
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0254—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0258—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- This application relates to the field of communication technology, and in particular to a standby optimization method, device, computer equipment and storage medium.
- intelligent terminals such as mobile phones
- the more unexpected troubles for example, when the user is in sleep time, because the mobile phone is in the idle state at this time, if the APP in the mobile phone is running, it will consume power and disturb the user's sleep.
- the power-saving mode mentioned above has too many functions, and although the low-power-consumption mode limit is loose, it cannot meet the requirements of power saving and non-disturbance. Therefore, how to achieve the requirements of power saving and non-disturbance without restricting individual applications of users Demand has become an urgent problem to be solved.
- an embodiment of the present application provides a standby optimization method, and the method includes:
- the preset power-saving conditions include the current time Whether it is in the sleep time of the terminal device;
- the best power saving mode is turned on; the best power saving mode is used to instruct the terminal device to stop running the preset application.
- the preset power saving condition further includes:
- the terminal device is in a low power consumption mode, and the terminal device is not running a playback application.
- the method before the determining whether the terminal device meets a preset power saving condition, the method includes:
- the sleep time includes the start time and duration of the terminal device entering the sleep state.
- the acquiring historical dormancy data of the terminal device includes:
- the method before the recording the data between the off-screen time and the corresponding on-screen time that meets the preset interval condition as historical sleep data, the method further includes:
- the determining the sleep time of the terminal device according to the historical sleep data includes:
- a preset algorithm is used to calculate the sleep time of the terminal device.
- the method further includes:
- an embodiment of the present application provides a standby optimization device, the device including:
- the detection module is configured to detect the screen status of the terminal device
- the judging module is configured to judge whether the terminal device meets the preset power-saving conditions when the screen state is the screen-off state and the duration of the screen-off exceeds a preset time; the preset power-saving conditions include the current Whether the time is in the sleep time of the terminal device;
- the power-on module is configured to enable the best power-saving mode if the terminal device meets a preset power-saving condition; the best power-saving mode is used to instruct the terminal device to stop running a preset application.
- an embodiment of the present application provides a computer device, including a memory and a processor, the memory stores a computer program, and the processor implements the steps of any method in the above-mentioned embodiment of the first aspect when the computer program is executed .
- an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of any method in the above-mentioned embodiment of the first aspect.
- the standby optimization method, device, computer equipment, and storage medium provided by this application detect the screen state through the terminal device, and start to judge the current state of the terminal device when the screen state is the off-screen state and the duration of the off-screen state exceeds the preset duration Whether the preset power-saving condition is met, when it is determined that the preset power-saving condition is satisfied, the optimal power-saving mode is turned on, where the preset power-saving condition includes whether it is in the sleep time of the terminal device at the current moment.
- the terminal device turns on the best power saving mode, it is automatically judged and turned on according to preset conditions.
- the judgment conditions for turning on the best power saving mode can be set by yourself.
- Mode-restricted applications can also be restricted according to user needs. In this way, the user's sleep time not only meets the power saving and non-disturbance requirements, but does not limit the user's individual application requirements, thereby greatly improving the user experience.
- FIG. 1 is an application environment diagram of a standby optimization method in an embodiment
- FIG. 2 is a schematic flowchart of a standby optimization method provided by an embodiment
- FIG. 3 is a schematic flowchart of a standby optimization method provided by an embodiment
- FIG. 4 is a schematic flowchart of a standby optimization method provided by an embodiment
- FIG. 5 is a schematic flowchart of a standby optimization method provided by an embodiment
- Figure 5.1 is a flow chart of providing historical dormancy data recording according to an embodiment
- FIG. 6 is a schematic flowchart of a standby optimization method provided by an embodiment
- Figure 6.1 is a schematic diagram of the coordinate format of off-screen data provided by an embodiment
- Figure 6.2 is a schematic diagram of normalized screen-off data provided by an embodiment
- Figure 6.3 is a schematic diagram of determining the largest data group provided by an embodiment
- Figure 6.4 is a schematic diagram of determining the sleep time provided by an embodiment
- FIG. 7 is a structural block diagram of a standby optimization device provided by an embodiment
- FIG. 8 is a structural block diagram of a standby optimization device provided by an embodiment
- FIG. 9 is a structural block diagram of a standby optimization device provided by an embodiment
- Fig. 10 is a structural block diagram of a standby optimization device provided by an embodiment.
- the standby optimization method provided by the present application can be applied to the application environment as shown in FIG. 1.
- the terminal device may be a server, and the terminal device includes a processor, a memory, a network interface, and a database connected through a system bus.
- the processor of the terminal device is used to provide calculation and control capabilities.
- the memory of the terminal device includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium stores an operating system, a computer program, and a database.
- the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
- the database of the terminal device is used to store the data of the standby optimization method.
- the network interface of the terminal device is used to communicate with other external devices through a network connection.
- the computer program is executed by the processor to realize a standby optimization method.
- the embodiments of the present application provide a standby optimization method, device, computer equipment, and storage medium, aiming to solve the technical problem of how to achieve power saving and non-disturbance requirements without limiting the user's individual application requirements.
- the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems will be described in detail through the embodiments and the accompanying drawings.
- the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
- the execution subject of the standby optimization method provided by this application is a terminal device, wherein the execution subject may also be a computer device, or a standby optimization device, wherein the device can be implemented through software, hardware, or software and hardware.
- the way of combining is realized as part or all of the data analysis terminal.
- FIG. 2 provides a standby optimization method. This embodiment relates to the preset duration that the terminal device reaches when the screen is off, and it is determined that its current state meets the preset power saving conditions. , Turn on the best power-saving mode to meet the needs of power saving and non-disturbance without restricting the specific process of users using individual applications. As shown in Figure 2, the method includes:
- the screen state of the terminal device can be either the on-screen state or the off-screen state.
- the way the terminal device detects its screen state can be determined by detecting the parameters of the screen, for example, detecting the parameter of the screen brightness. If the screen brightness is 0, then The screen state is the off-screen state. If the screen brightness is above 0, the screen state is the on-screen state. For example, the terminal device detects the parameters of the screen brightness and determines that the screen state is the off-screen state when the screen brightness is 0.
- S102 When the screen state is an off-screen state, and the duration of the off-screen state exceeds a preset time period, determine whether the terminal device meets a preset power-saving condition; the preset power-saving condition includes Whether the current moment is in the sleep time of the terminal device.
- the terminal device detects how long the screen is in the off-screen state, and the way to detect the off-screen time of the screen can be to calculate the screen The length of the interval from the moment the screen starts to go off to the current moment.
- the terminal device starts to judge whether the current state meets the preset power-saving conditions, where the preset power-saving conditions include the current time Whether it is in the sleep time of the terminal device.
- the preset duration is a duration set by the user according to the actual situation, for example, 75 minutes, which is used to indicate whether the terminal device starts to determine whether the current state meets the preset power saving condition.
- the preset power-saving condition is also a condition formulated by the user according to actual needs.
- the power-saving condition can be to determine whether the current terminal state is in a sleep time, or to determine whether the current power of the terminal device is insufficient, etc. This embodiment does not specifically limit the specific content of the power saving condition.
- the sleep time represents the state time of the terminal device when the user is sleeping.
- the sleep time can be a fixed time period per day set by the user, or a fixed time period per day that the terminal device infers from the user’s historical sleep time.
- the embodiment does not limit the specific way of determining the sleep time. For example, taking the preset duration of 75 minutes and the preset power-saving condition as entering sleep time as an example, the terminal device judges after the screen state of the terminal device is in the off-screen state for 75 minutes (the preset duration) The current state enters the sleep time, and if it is, it is determined that the current state of the terminal device meets the preset power saving condition.
- the terminal device When the current state of the terminal device determined in the above S102 satisfies the preset power saving condition, the terminal device starts to turn on the best power saving mode, where the best power saving mode is used to instruct the terminal device to stop running the preset application mode , Which means that when the terminal device turns on the best power-saving mode, it can be turned on by stopping the preset application.
- the preset application can include network sharing, network usage, three-party application lock, and three-party application standard alarm , Notification light cycle and brightness, sensors, Bluetooth and Bluetooth scanning applications, in which network sharing or use restrictions, notification light cycle and brightness, sensors, Bluetooth and Bluetooth scanning applications can be restricted by the entire system.
- the three-party application holding lock and the standard alarm for the three-party application may be only for the three-party application without limiting the system application, and the specific content of the preset application is not limited in this implementation. Specifically, after determining that the current state meets the preset power saving condition, the terminal device turns on the best power saving mode for the terminal device by restricting the preset application.
- the standby optimization method provided by this embodiment detects the screen state through the terminal device.
- the screen state is the off-screen state, and the duration of the off-screen state exceeds the preset duration, it starts to determine whether the current state of the terminal device meets the preset
- the power-saving condition when it is determined that the preset power-saving condition is satisfied, the optimal power-saving mode is activated, wherein the preset power-saving condition includes whether it is in the sleep time of the terminal device at the current moment.
- the terminal device turns on the best power saving mode, it is automatically judged and turned on according to preset conditions.
- the judgment conditions for turning on the best power saving mode can be set by yourself.
- Mode-restricted applications can also be restricted according to user needs. In this way, the user’s sleep time not only meets the power saving and non-disturbance requirements, but also does not limit the user’s individual application requirements, thereby greatly improving the user experience.
- the preset power saving condition further includes: the terminal device is in a low power consumption mode, and the terminal device is not running a playback application.
- the low power consumption mode of the terminal device indicates a mode that the terminal device comes with, and the built-in mode may be a mode in which the native system of the terminal device automatically turns on according to the use state of the terminal device.
- the terminal device is not running the playback application, which means that the terminal device is not in a state where the playback application is not running.
- the terminal device determines whether the current terminal device is in Doze Mode mode, and whether it is playing music, etc., for example, the preset power saving condition is to enter the low power consumption mode, Take sleep time and not playing music applications as an example. After the screen state of the terminal device is in the off-screen state for a preset duration, the terminal device determines whether the current state has entered the low power consumption mode and the sleep time without playing music at the same time If it is applied, it is determined that the current state of the terminal device meets the preset power saving condition.
- the determination of the sleep time will be specifically described below through several embodiments.
- FIG. 3 provides a standby optimization method. This embodiment relates to a specific process in which a terminal device determines a sleep time according to historical sleep data so as to use the sleep time to set preset power saving conditions. As shown in Figure 3, the method further includes:
- S201 Acquire historical dormancy data of the terminal device.
- the historical sleep data acquired by the terminal device represents all the data of the terminal device in the user's historical sleep time.
- the method for the terminal device to obtain the historical sleep data may be directly from the database of the terminal device. It may also be obtained in other ways, for example, obtained from the user's cloud account, which is not limited in this embodiment.
- S202 Determine a sleep time of the terminal device according to the historical sleep data; the sleep time includes the start time and duration of the terminal device entering the sleep state.
- the sleep time of the terminal device is determined according to the historical sleep data, where the sleep time includes the start time and duration of the terminal device's next sleep state, where the terminal
- the way for the device to determine the sleep time can be from the historical sleep data and synthesize it according to the searched rules to get the start time and duration of the next sleep state, that is, the sleep time of the terminal device is determined, of course. It can be in other ways, for example: the terminal device directly adopts a piece of sleep data with the most recent time, and determines the start time and duration of the sleep state in the sleep data as the sleep time of the terminal device.
- the terminal device is based on the historical sleep data in this embodiment.
- the way to determine the sleep time is not limited.
- an implementable manner of the above step S201 may include:
- the terminal device when it first obtains the screen-off time and the corresponding screen-on time each time, it may obtain the screen-off time and the corresponding screen-on time at the same time.
- the off-screen moment represents the moment when the screen state of the terminal device is in the off-screen state
- the corresponding on-screen moment is the moment when the screen state of the terminal device changes from the current off-screen state to the on-screen state. It should be noted that, Every time when the screen is turned off and the corresponding time when the screen is turned on, the terminal device will record, and you can directly obtain it when using. The terminal device directly records each time when the screen is turned off and the corresponding time when the screen is turned on.
- the terminal device Based on each acquired screen-off moment and corresponding screen-on moment, acquires the time interval between each screen-off moment and the corresponding screen-on moment, that is, the time interval between the two moments.
- S302 Record the data between the screen-off time and the corresponding screen-on time that meet the preset interval condition as historical sleep data, and increase the total amount of the historical sleep data.
- the terminal device Based on the time interval between the screen-off time and the corresponding screen-on time recorded in S301, the terminal device first determines whether the time interval between the screen-off time and the corresponding screen-on time meets the preset interval condition , Where the preset interval condition represents the preset interval duration, which can be set according to the actual needs of the user, when it is determined that the time interval between the off-screen moment and the corresponding on-screen moment meets the preset interval condition , Record the data between the current screen-off time and the corresponding screen-on time as historical dormancy data, and at the same time, increase the total number of historical dormant data that the terminal device has stored in order to use the total number for the next judgment The record is in the latest state. It can be understood that if several pieces of dormant data are stored, the total number will increase by several pieces of dormant data correspondingly to ensure that the total number of historical dormant data stored by the terminal device is the latest and most correct.
- the preset interval condition represents the preset
- a maximum value can be set for the total amount of historical sleep data, that is, a threshold value is preset to ensure that the total number of all stored sleep data will not be too much.
- the present application provides a standby optimization method.
- the methods include:
- S401 Determine whether the total amount of the historical sleep data is greater than or equal to a preset threshold.
- the terminal device judges whether the total amount of historical sleep data is greater than or equal to the preset threshold, where the total number of historical sleep data represents the total number of each off-screen time and corresponding on-screen time recorded by the terminal device, and the preset Threshold
- the critical value of the total number indicates that the total number of the terminal device storing each off-screen time and the corresponding on-screen time cannot exceed the critical value.
- the specific size can be set according to the actual needs of the user.
- the preset interval condition is set to 5-15 hours (indicating that the time interval between the off-screen moment and the corresponding on-screen moment is greater than or equal to 5 hours and less than or equal to 15 hours), the preset threshold for the total quantity If the number is 60, then in this step, the terminal device determines whether the time interval is within 5-15 hours according to the obtained screen-off time and the corresponding screen-on time. When it is determined to be within 5-15 hours, the terminal device is determined Whether the total number of stored screen-off moments and corresponding screen-on moments is greater than or equal to 60, then execute the next step according to the judgment result.
- the terminal device based on the size between the total number of historical sleep data determined by the terminal device in S401 and the preset threshold, if the total number is greater than or equal to the preset threshold, the terminal device first removes the earliest sleep data in the history record, and then Record the data between the screen-off time and the corresponding screen-on time that currently meet the preset interval condition. In this way, the terminal device adopts a certain amount of historical sleep data in the latest time of the user to obtain the user's latest usage habits in real time, so that the sleep time determined by the terminal device according to the historical sleep data is more in line with the user's needs, and storage space can also be saved.
- the standby optimization method provided by this embodiment is to obtain the historical sleep data of the terminal device, and then determine the sleep time of the terminal device according to the historical sleep data. Because in this embodiment, the historical sleep data obtained by the terminal device is updated in real time. When the historical sleep data record reaches the threshold, the earliest sleep data is removed every time a new record is added, ensuring that the historical sleep data is always in the latest state, and because the terminal device is determining the next sleep time based on the historical sleep data The time is automatically calculated by the algorithm, which further ensures the scientificity of the calculated next sleep time, and is more in line with the real-time needs of users.
- an optional manner of the foregoing step S202 may include:
- S401 Convert the data format of the historical sleep data into a two-dimensional coordinate format to obtain coordinate data corresponding to the historical sleep data; the abscissa of the two-dimensional coordinate is the moment when the screen is turned off, and the ordinate is the duration of the off screen. .
- the terminal device converts the above-obtained historical sleep data into a two-dimensional coordinate format, as shown in Figure 6.1. Take 7 groups as an example, use the abscissa as the off-screen start time and the ordinate as the off-screen start time. When the screen lasts for a long time, after converting the format of the historical sleep data, the coordinate data corresponding to the above historical sleep data is obtained.
- S402 Calculate the sleep time of the terminal device according to the coordinate data using a preset algorithm.
- the terminal device uses a preset algorithm to calculate the sleep time of the terminal device according to the coordinate data corresponding to the above-mentioned converted historical sleep data, and according to the coordinate data, the preset algorithm indicates that the terminal device calculates the sleep time according to the coordinate data.
- the algorithm used in time such as the K-means clustering algorithm, of course, can also be other algorithms, which is not limited in this embodiment.
- the terminal device first normalizes the coordinate data corresponding to the historical sleep data into the coordinate system, that is, the above Figure 6.1
- the 7 sets of coordinate data in Figure 6.2 are normalized to the coordinate system of Figure 6.2, and then the clusters are divided according to the coordinate points of each set of data, and the largest cluster is determined to be the largest cluster, that is, cluster 2 in Figure 6.3 is the largest cluster, and finally, the largest cluster
- the coordinate point corresponding to the geometric center of the cluster is determined as the data of the sleep time of the terminal device, that is, the geometric center in cluster 2 in Figure 6.4.
- the terminal device using this algorithm automatically calculates the next sleep time based on the latest historical show sleep data, which greatly ensures that the calculated sleep time is closest to the user's real-time needs.
- the above-provided embodiment illustrates a method for the terminal device to turn on the best power-saving mode for the user after meeting the preset power-saving conditions in the current state.
- the best power-saving mode can be used when the user is in a sleep state.
- the method after the optimal power saving mode is turned on, the method also It includes: switching from the optimal power saving mode to the working mode when the terminal device is on the screen or when the preset time arrives before the end of the sleep time.
- the optimal power saving mode is switched to the working mode, wherein the bright screen of the terminal device indicates that the user wakes up at a time
- the terminal device detects that the screen state has switched to the bright screen state, and the terminal device automatically releases the best session.
- the electric mode that is, the restriction on each preset application is lifted, and the terminal device is switched to the working mode.
- the preset time arrives before the end of the sleep time, it means that the user's wake-up time is near or after the end of the sleep time, and the terminal device detects that the preset time before the end of the sleep time has arrived (for example: end time In the first half hour), the best power saving mode is automatically released for the terminal device, and the terminal device is switched to the working mode.
- the preset time is set by the user according to requirements, and it can be half an hour or one hour, which is not limited in this embodiment. In this way, no matter if the user wakes up early or late, the terminal device can automatically release the best power saving mode for the user and switch the terminal device to the working mode, which greatly facilitates the user to continue using the terminal device when waking up.
- an embodiment of the present application also provides a standby optimization device, which is used to implement the standby optimization method provided in the foregoing embodiment.
- a standby optimization device including: a detection module 10, a judgment module 11, and an activation module 12, wherein:
- the detection module 10 is configured to detect the screen state of the terminal device
- the judging module 11 is configured to judge whether the terminal device meets the preset power-saving conditions when the screen state is the off-screen state and the off-screen duration exceeds a preset time period; the preset power-saving conditions include Whether the current moment is in the sleep time of the terminal device;
- the turning-on module 12 is configured to turn on the best power-saving mode if the terminal device meets the preset power-saving conditions; the best power-saving mode is used to instruct the terminal device to stop running the preset application.
- the preset power saving condition further includes: the terminal device is in a low power consumption mode, and the terminal device is not running a playback application.
- a standby optimization device is provided, and the device further includes: an acquisition module 13 and a determination module 14, wherein:
- the obtaining module 13 is configured to obtain historical dormancy data of the terminal device
- the determining module 14 is configured to determine the sleep time of the terminal device according to the historical sleep data; the sleep time includes the start time and the duration of the terminal device entering the sleep state.
- the above-mentioned obtaining module 13 includes: an obtaining unit 131 and a recording unit 132, wherein:
- the acquiring unit 131 is configured to acquire the time interval between the screen-off time and the corresponding screen-on time of the terminal device each time;
- the recording unit 132 is configured to record data between the screen-off time and the corresponding screen-on time that meet the preset interval condition as historical sleep data, and increase the total amount of the historical sleep data.
- the above-mentioned acquisition module 13 further includes a removing unit configured to determine whether the total amount of the historical sleep data is greater than or equal to a preset threshold; if so, remove the oldest recorded time in the historical sleep data Sleep data.
- the determination module 14 includes: a conversion unit 141 and a calculation unit 142, wherein:
- the conversion unit 141 is configured to convert the data format of the historical sleep data into a two-dimensional coordinate format to obtain the coordinate data corresponding to the historical sleep data; the abscissa of the two-dimensional coordinate is the moment when the screen is turned off, and the ordinate is Duration of screen off;
- the calculation unit 142 is configured to calculate the sleep time of the terminal device by using a preset algorithm according to the coordinate data.
- the device is specifically further configured to switch from the optimal power saving mode to the working mode when the terminal device is on the screen or when the preset time arrives before the end of the sleep time.
- each module in the above-mentioned standby optimization device can be implemented in whole or in part by software, hardware and a combination thereof.
- the foregoing modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the foregoing modules.
- a computer device is provided.
- the computer device may be a terminal, and an internal structure diagram of the computer device may be referred to as shown in FIG. 1 above.
- the computer equipment includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus.
- the processor of the computer device is used to provide calculation and control capabilities.
- the memory of the computer device includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium stores an operating system and a computer program.
- the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
- the network interface of the computer device is used to communicate with an external terminal through a network connection.
- the computer program is executed by the processor to realize a standby optimization method.
- the display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen
- the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, a trackball or a touchpad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
- FIG. 1 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
- the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
- a computer device including a memory and a processor, and a computer program is stored in the memory, and the processor implements the following steps when executing the computer program:
- the preset power-saving conditions include the current time Whether it is in the sleep time of the terminal device;
- the best power saving mode is turned on; the best power saving mode is used to instruct the terminal device to stop running the preset application.
- a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
- the preset power-saving conditions include the current time Whether it is in the sleep time of the terminal device;
- the best power saving mode is turned on; the best power saving mode is used to instruct the terminal device to stop running the preset application.
- Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
- Volatile memory may include random access memory (RAM) or external cache memory.
- RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Sources (AREA)
Abstract
Description
Claims (10)
- 一种待机优化方法,所述方法包括:检测终端设备的屏幕状态;在所述屏幕状态为灭屏状态,且所述灭屏状态的持续时间超过预设时长时,判断所述终端设备是否满足预设的节电条件;所述预设的节电条件包括当前时刻是否处于所述终端设备的休眠时间;若是,则开启最佳节电模式;所述最佳节电模式用于指示所述终端设备停止运行预设的应用。
- 根据权利要求1所述的方法,其中,所述预设的节电条件还包括:所述终端设备为低电耗模式、且所述终端设备未运行播放应用。
- 根据权利要求1或2所述的方法,其中,在所述判断所述终端设备是否满足预设的节电条件之前,所述方法包括:获取所述终端设备的历史休眠数据;根据所述历史休眠数据,确定所述终端设备的休眠时间;所述休眠时间包括所述终端设备进入休眠状态的开始时间和持续时长。
- 根据权利要求3所述的方法,其中,所述获取所述终端设备的历史休眠数据,包括:获取所述终端设备每一次的灭屏时刻和对应的亮屏时刻之间的时间间隔;将满足预设间隔条件的灭屏时刻和对应的亮屏时刻之间的数据记录为历史休眠数据,并增加所述历史休眠数据的总数量。
- 根据权利要求4所述的方法,其中,在所述将满足预设间隔条件的灭屏时刻和对应的亮屏时刻之间的数据记录为历史休眠数据之前,所述方法包括:判断所述历史休眠数据的总数量是否大于或等于预设阈值;若是,则移除所述历史休眠数据中记录时间最早的休眠数据。
- 根据权利要求3所述的方法,其中,所述根据所述历史休眠数据,确定所述终端设备的休眠时间,包括:将所述历史休眠数据的数据格式转换为二维坐标格式,得到所述历史休眠数据对应的坐标数据;所述二维坐标的横坐标为灭屏开始时刻,纵坐标为灭屏持续时长;根据所述坐标数据,采用预设的算法计算所述终端设备的休眠时间。
- 根据权利要求1所述的方法,其中,在所述开启最佳节电模式之后,所述方法还包括:在所述终端设备亮屏时或者在所述休眠时间结束前的预设时刻到达时,从所述最佳节电模式切换至工作模式。
- 一种待机优化装置,所述装置包括:检测模块,配置为检测终端设备的屏幕状态;判断模块,配置为在所述屏幕状态为灭屏状态,且灭屏持续时间超过预设时长时,判断所述终端设备是否满足预设的节电条件;开启模块,配置为若所述终端设备满足预设的节电条件,则开启最佳节电模式;所述最佳节电模式用于指示所述终端设备停止运行预设的应用。
- 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述方法的步骤。
- 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910385635.0 | 2019-05-09 | ||
CN201910385635.0A CN110198558B (zh) | 2019-05-09 | 2019-05-09 | 待机优化方法、装置、计算机设备和存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020224658A1 true WO2020224658A1 (zh) | 2020-11-12 |
Family
ID=67752484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/089352 WO2020224658A1 (zh) | 2019-05-09 | 2020-05-09 | 待机优化方法、装置、计算机设备和存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110198558B (zh) |
WO (1) | WO2020224658A1 (zh) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112904993A (zh) * | 2021-03-16 | 2021-06-04 | 北京小米移动软件有限公司 | 屏幕控制方法、装置及存储介质 |
CN114326427A (zh) * | 2021-12-29 | 2022-04-12 | Tcl家用电器(合肥)有限公司 | 一种智能设备的控制方法、装置、智能设备及存储介质 |
CN114630404A (zh) * | 2022-03-15 | 2022-06-14 | 北京小米移动软件有限公司 | 终端设备控制方法、装置、存储介质以及终端设备 |
CN117692998A (zh) * | 2023-07-27 | 2024-03-12 | 荣耀终端有限公司 | 休眠异常情况下的数据获取方法和电子设备 |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110198558B (zh) * | 2019-05-09 | 2022-07-12 | 深圳市万普拉斯科技有限公司 | 待机优化方法、装置、计算机设备和存储介质 |
CN111221633A (zh) * | 2019-10-31 | 2020-06-02 | RealMe重庆移动通信有限公司 | 终端控制方法、装置、移动终端及存储介质 |
CN111050388B (zh) * | 2019-12-03 | 2023-01-06 | Oppo广东移动通信有限公司 | Doze模式控制方法、装置、移动终端及存储介质 |
CN113038580A (zh) * | 2021-02-26 | 2021-06-25 | 北京小米松果电子有限公司 | 省电模式控制方法、装置、设备及存储介质 |
CN113747346B (zh) * | 2021-05-10 | 2023-10-03 | 荣耀终端有限公司 | 终端设备的待机方法和终端设备 |
CN113747552B (zh) * | 2021-06-18 | 2024-03-19 | 荣耀终端有限公司 | 一种功耗优化方法和电子设备 |
CN113342407B (zh) * | 2021-06-25 | 2023-01-24 | 歌尔科技有限公司 | 一种屏幕控制方法、装置、电子设备及可读存储介质 |
CN116795196B (zh) * | 2023-08-25 | 2023-11-17 | 深圳市德航智能技术有限公司 | 一种加固手持平板电脑超长待机的实现方法 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106095059A (zh) * | 2016-06-08 | 2016-11-09 | 维沃移动通信有限公司 | 一种降低移动终端功耗的方法及移动终端 |
CN107277255A (zh) * | 2017-06-28 | 2017-10-20 | 维沃移动通信有限公司 | 一种闹钟控制方法及移动终端 |
CN107708187A (zh) * | 2017-09-12 | 2018-02-16 | 北京小米移动软件有限公司 | 睡眠模式的控制方法及装置 |
WO2018171236A1 (zh) * | 2017-03-22 | 2018-09-27 | 中兴通讯股份有限公司 | 一种显示方法和终端 |
CN110198558A (zh) * | 2019-05-09 | 2019-09-03 | 深圳市万普拉斯科技有限公司 | 待机优化方法、装置、计算机设备和存储介质 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102050945B1 (ko) * | 2015-04-14 | 2019-12-02 | 후아웨이 테크놀러지 컴퍼니 리미티드 | 단말기 제어 방법 및 장치, 그리고 단말기 |
CN106502371A (zh) * | 2016-11-08 | 2017-03-15 | 珠海市魅族科技有限公司 | 一种省电控制方法以及装置 |
CN108536269A (zh) * | 2018-03-26 | 2018-09-14 | 上海康斐信息技术有限公司 | 一种降低终端待机功耗的方法及其系统 |
CN109222950B (zh) * | 2018-10-19 | 2021-08-06 | 深圳和而泰数据资源与云技术有限公司 | 数据处理方法及装置 |
-
2019
- 2019-05-09 CN CN201910385635.0A patent/CN110198558B/zh active Active
-
2020
- 2020-05-09 WO PCT/CN2020/089352 patent/WO2020224658A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106095059A (zh) * | 2016-06-08 | 2016-11-09 | 维沃移动通信有限公司 | 一种降低移动终端功耗的方法及移动终端 |
WO2018171236A1 (zh) * | 2017-03-22 | 2018-09-27 | 中兴通讯股份有限公司 | 一种显示方法和终端 |
CN107277255A (zh) * | 2017-06-28 | 2017-10-20 | 维沃移动通信有限公司 | 一种闹钟控制方法及移动终端 |
CN107708187A (zh) * | 2017-09-12 | 2018-02-16 | 北京小米移动软件有限公司 | 睡眠模式的控制方法及装置 |
CN110198558A (zh) * | 2019-05-09 | 2019-09-03 | 深圳市万普拉斯科技有限公司 | 待机优化方法、装置、计算机设备和存储介质 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112904993A (zh) * | 2021-03-16 | 2021-06-04 | 北京小米移动软件有限公司 | 屏幕控制方法、装置及存储介质 |
CN114326427A (zh) * | 2021-12-29 | 2022-04-12 | Tcl家用电器(合肥)有限公司 | 一种智能设备的控制方法、装置、智能设备及存储介质 |
CN114630404A (zh) * | 2022-03-15 | 2022-06-14 | 北京小米移动软件有限公司 | 终端设备控制方法、装置、存储介质以及终端设备 |
CN117692998A (zh) * | 2023-07-27 | 2024-03-12 | 荣耀终端有限公司 | 休眠异常情况下的数据获取方法和电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN110198558B (zh) | 2022-07-12 |
CN110198558A (zh) | 2019-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020224658A1 (zh) | 待机优化方法、装置、计算机设备和存储介质 | |
JP5734505B2 (ja) | ポータブルコンピューティングデバイスのマルチコアプロセッサにおける複数のコアへの電力を動的に制御するための方法およびシステム | |
JP5834366B2 (ja) | 節電方法、装置および通信端末 | |
WO2016041468A1 (zh) | 一种唤醒方法、装置及终端 | |
JP2015525047A (ja) | 省電力を制御する方法及びデバイス | |
CN103345415B (zh) | 管理定时器的终端节能方法和装置 | |
WO2016095353A1 (zh) | 终端功耗的控制方法及装置、终端 | |
CN107491160A (zh) | 一种双操作系统的使用方法、存储设备及智能终端 | |
WO2017101362A1 (zh) | 一种智能终端的功耗管控方法及系统 | |
CN110032266B (zh) | 信息处理方法、装置、计算机设备和计算机可读存储介质 | |
WO2019047924A1 (zh) | 终端及其耗电控制方法、装置、计算机可读存储介质 | |
CN103338312A (zh) | 一种智能手机睡眠节电系统及方法 | |
WO2014190619A1 (zh) | 一种移动终端功耗的管控装置及方法、移动终端 | |
CN112235742A (zh) | NB-IoT通讯模组内嵌程序的燃气表及数据处理方法 | |
WO2016045525A1 (zh) | 终端状态的处理方法及装置 | |
CN104023147A (zh) | 一种可使移动终端稳定休眠的方法及系统 | |
CN103338300B (zh) | 一种快速进入与退出休眠模式的方法及移动终端 | |
US20160071480A1 (en) | Low-power operation method and associated electronic device | |
CN110543333B (zh) | 针对处理器的休眠处理方法、装置、移动终端和存储介质 | |
CN110602772A (zh) | WiFi模块控制方法、控制装置、电子装置及存储介质 | |
CN110018885B (zh) | 应用程序冻结方法、装置、存储介质和终端 | |
CN107402626A (zh) | 应用周期同步管理方法、装置、存储介质及电子设备 | |
WO2016110056A1 (zh) | 一种终端及终端省电的方法 | |
CN103257894A (zh) | 一种管理程序的方法及电子终端 | |
WO2018137383A1 (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: 20803036 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: 20803036 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 21/03/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20803036 Country of ref document: EP Kind code of ref document: A1 |