Dynamic Hot App Resource Allocation on Mobile Terminals
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Mobile terminals face performance issues due to insufficient CPU and memory resources when multiple applications are running, leading to poor user experiences, as existing methods dedicate resources to hot applications without flexibility.
Innovation Solution
A method that dynamically allocates dedicated CPU and memory resources to hot applications, releasing them when not in use and reallocating based on priority and usage thresholds to optimize resource utilization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If dedicated CPU resources and memory resources are allocated to hot APPs, then the use experience of hot APPs is improved, but the resource utilization efficiency deteriorates when hot APPs are not actively used
Solution Approach 1:
The patent implements dynamic resource allocation by introducing a resource allocation manager that monitors the activity status of hot APPs and adjusts resource allocation in real-time. When a hot APP is actively used, dedicated CPU cores and memory resources are allocated; when the APP is not active, these resources are released back to the common pool. This dynamic adjustment mechanism resolves the contradiction by making resource allocation flexible rather than static, ensuring both good user experience during active use and high resource utilization efficiency during idle periods.
2Reliability
If dedicated resources are always allocated to hot APPs, then performance of hot APPs is maintained, but limited CPU and memory resources are always occupied reducing overall system flexibility
Solution Approach 1:
The patent segments the resource pool into two distinct parts: a dedicated resource pool for hot APPs and a common resource pool for all other applications. The resource allocation manager dynamically controls the size and composition of these segments based on actual usage patterns. This segmentation allows the system to maintain dedicated resources for hot APPs when needed while releasing them to the common pool when not needed, thereby maintaining performance reliability for hot APPs while preserving system flexibility and adaptability.
3Reliability
If multiple hot APPs run simultaneously with dedicated resources, then user experience is improved, but resource exhaustion occurs due to limited CPU and memory resources
Solution Approach 1:
The patent implements a feedback mechanism through the resource allocation manager that continuously monitors the number of active hot APPs and the current resource usage state. When the number of simultaneously running hot APPs approaches the system's resource capacity, the manager provides feedback to release resources from less active hot APPs and reallocates them to more active ones. This feedback-driven resource management ensures that the system can support multiple hot APPs when resources are abundant while preventing resource exhaustion when capacity is limited, thereby maintaining good user experience across different scenarios.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Disclosed is a preset Application (APP) resource allocation method and a mobile terminal. When a preset APP is launched, a dedicated CPU resource and a dedicated memory resource are allocated to the preset APP. It is judged whether a duration of the preset APP running in a background state reaches a preset duration. When the duration of the preset APP running in the background state reaches the preset duration, the dedicated CPU resource and the dedicated memory resource allocated to the preset APP are released, and a common CPU resource and a common memory resource are allocated to the preset APP.