Terminal Sleep Scheduling for Faster Wake and Sleep Transitions
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The process of a terminal device entering and exiting a sleep state is time-consuming, affecting user experience due to high power consumption and performance in low power modes.
Innovation Solution
The terminal device operates in a high power mode before entering and exiting the sleep state to quickly transition, utilizing flag bits to manage power consumption and avoid low power mode entry when the screen is locked.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of energy
If the terminal device enters low power mode before sleeping, then power consumption is reduced, but the time to enter and exit sleep state increases
Solution Approach 1:
The terminal device performs preliminary actions by turning off the screen and locking the screen before entering the sleep state. These preliminary actions trigger a flag bit change that prevents the device from entering low power mode, thereby maintaining high power mode for faster sleep transitions while still achieving energy savings through the sleep state itself
Solution Approach 2:
The patent dynamically adjusts the power mode based on the device's operational state. By using flag bits to track whether the screen is turned off and locked, the system dynamically decides whether to enter low power mode or maintain high power mode, optimizing both power consumption and response time based on current conditions
2Loss of time
If the terminal device operates in high power mode before sleeping, then the time to enter and exit sleep state is reduced, but power consumption increases
Solution Approach 1:
The patent applies local quality by making different parts of the system operate at different power levels at different times. The screen and locking mechanism operate in high power mode locally before sleeping to enable fast transitions, while the main device can enter low power mode for sustained energy savings during actual sleep state
3Loss of time
If the terminal device uses flag bits to manage power consumption, then the response time is improved, but the device complexity increases
Solution Approach 1:
The patent changes the parameter of power mode (high vs low) based on the state of flag bits. This simple binary state change mechanism provides an efficient way to manage power consumption and response time without requiring complex control logic, achieving fast response with minimal added complexity
Data Source
Figure 1
Figure 2
Figure 3A
AI summary
Embodiments of this application provide a resource scheduling method and apparatus, and relate to the field of terminal technologies. The method includes: A terminal device starts, where a power limit value of the terminal device is a first power consumption value; the terminal device turns off a screen at a first moment; the terminal device locks the screen at a second moment; the terminal device enters a sleep state at a third moment, where the power limit value of the terminal device between the first moment and the third moment is a second power consumption value, and the second power consumption value is greater than the first power consumption value; and the terminal device turns on the screen at a fourth moment. In this way, the terminal device can be in a high power mode before entering the sleep state to quickly enter the sleep state, and can also be in the high power mode before exiting the sleep state to quickly make a wake-up response.