Process Scheduling for Terminal Device Power Management
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The standby time of terminal devices is affected due to high power consumption of applications running in the foreground, which requires efficient power management to prolong battery life.
Innovation Solution
A process scheduling method that identifies and manages process tags to prohibit or reduce the scheduling of non-essential processes, such as keep-alive processes, by setting them at the end of the process queue or marking them as prohibited, thereby reducing CPU resource allocation and power consumption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If the application runs in the foreground to provide services, then the user experience is improved, but the power consumption increases and standby time decreases
Solution Approach 1:
The patent segments the process set into different priority levels by introducing a first tag (such as TASK_INTERRUPTIBLE, TASK_STOPPED, or TASK_TRACED) that marks non-essential processes. This segmentation allows the system to distinguish between essential and non-essential processes, enabling selective scheduling where only essential processes run in the foreground while non-essential processes are prohibited or deprioritized, thus reducing overall power consumption while maintaining user experience for critical functions
Solution Approach 2:
The patent changes the scheduling parameter of processes by modifying the first tag to control process execution. When the first tag indicates scheduling is prohibited, the process is excluded from the process queue; when it indicates low priority, the process is placed at the end of the queue. This parameter change approach allows dynamic adjustment of process execution based on system state, reducing power consumption during standby while ensuring essential services remain responsive
2Reliability
If the CPU allocates resources to execute processes, then the application functionality is maintained, but the standby time is reduced due to continuous resource consumption
Solution Approach 1:
The patent extracts non-essential processes from the active execution pool by prohibiting their scheduling or placing them at the end of the process queue. This extraction is achieved by setting the first tag to indicate either prohibited scheduling or low priority status. By removing these non-essential processes from active resource allocation, the system extends standby time while preserving the functionality of essential processes that remain in the process queue and receive normal CPU resources
Solution Approach 2:
The patent implements periodic evaluation of process scheduling needs by continuously monitoring the first tag status and process queue state. The system periodically adjusts which processes receive CPU resources based on current system conditions, allowing essential processes to execute when needed while non-essential processes are deferred. This periodic resource allocation pattern reduces continuous power consumption while maintaining application functionality when required
Data Source
AI summary
A process scheduling method and a terminal device are provided. According to the process scheduling method, for a first process with a first tag in a process set, when the first process is instructed to be scheduled, the terminal device prohibits scheduling of the first process. In this way, a CPU of the terminal device does not execute the first process, that is, the CPU does not allocate resources to the first process. Alternatively, the first process is set at the end of a process queue to be scheduled, because the terminal device always executes, from the process queue to be scheduled, a top process in the process queue to be scheduled. In this way, the terminal device has a reduced probability of executing the first process.


