Terminal Background Process Resource Release Method
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current mobile terminal systems cannot effectively release hardware resources occupied by background processes, leading to high power consumption due to processes in service B and cache states, which are not managed for resource release.
Innovation Solution
A method that determines if a process is in a cache state or running state and releases hardware resources if it meets specific criteria, such as being in a cache state or exceeding a preset time threshold, to automatically free up resources and reduce power consumption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Use of energy by stationary object
If the system adjusts CPU occupancy of processes according to different background states, then power consumption is partially optimized, but hardware resources occupied by service B and cache processes are not released, leading to high overall power consumption
Solution Approach 1:
The patent segments the background process management into distinct states (service A, service B, cache) with different resource release policies. Each state has specific criteria for hardware resource release, allowing differentiated management rather than a one-size-fits-all approach. This segmentation enables the system to release resources from service B and cache processes while maintaining necessary resources for service A processes.
Solution Approach 2:
The patent implements preliminary action by establishing predetermined time thresholds and state transition rules before processes consume excessive resources. The system proactively releases hardware resources when processes transition to background states and exceed time thresholds, preventing resource accumulation rather than reacting to high power consumption after it occurs.
2Reliability
If the system maintains all background processes with their hardware resources, then process responsiveness is improved, but power consumption increases due to service B and cache processes occupying resources
Solution Approach 1:
The patent applies dynamics by making hardware resource allocation dynamic rather than static. Processes can transition between different background states (service A, service B, cache) and the system dynamically adjusts resource release based on the current state and elapsed time. This dynamic approach ensures processes remain responsive when needed while releasing resources when they transition to lower-priority states.
Solution Approach 2:
The patent changes the parameter of hardware resource allocation based on process state and time. By introducing time thresholds as a variable parameter, the system determines whether to release resources based on how long a process has been in a particular background state. This parameter change enables the system to balance responsiveness and power consumption by releasing resources from cache processes that have exceeded their time thresholds.
3Use of energy by stationary object
If the system releases hardware resources from background processes, then power consumption is reduced, but process switching and restoration complexity increases
Solution Approach 1:
The patent implements self-service by enabling processes to automatically transition between states and trigger their own resource release based on predefined criteria. The system monitors process states and automatically releases hardware resources when processes enter cache state or exceed time thresholds, without requiring manual intervention or complex management operations. This automation reduces the operational burden while achieving power savings.
Data Source
Figure 1
Figure 2~3
Figure 4~5
AI summary
Provided in the present application is a method of automatically releasing a resource occupied by a background process of a terminal. The method comprises: upon detecting that a process is transferred to background, determining whether the process is in a cached state, if so, automatically releasing a system hardware resource occupied by the process, if not, determining whether the process is in an operating state, if not, remaining in the current state; if so, determining whether the time for remaining in the operating state has reached a preset upper time threshold, if so, automatically releasing the system hardware resource occupied by the process, and if not, remaining in the current state.