Background App Freeze Scheduling for Faster Foreground Response
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing system resource management in electronic devices results in insufficient resources for foreground applications due to background applications occupying excessive resources, leading to long startup times and stuttering, with fixed preset freeze control strategies causing inflexibility and poor user experience.
Innovation Solution
Implementing freeze control on background applications based on the duration of interactive operations on the display interface, rather than fixed preset times, to dynamically allocate resources as needed, ensuring timely and flexible resource management.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If freeze control is performed on background applications using a fixed preset time, then system resources can be allocated to foreground applications, but the freeze control lacks flexibility and may cause conflicts in high-frequency multi-operation sequences
Solution Approach 1:
The patent applies dynamics by transitioning from a static fixed-time freeze control mechanism to a dynamic service-duration-based freeze control mechanism. The freeze control duration is no longer predetermined but adapts automatically based on the actual duration of the foreground service, allowing the system to respond flexibly to varying operation sequences and service lengths without requiring engineering adjustments for different chip capabilities.
Solution Approach 2:
The patent changes the key parameter governing freeze control from a fixed time value to a variable duration derived from service completion timing. This parameter transformation enables the freeze control duration to automatically adjust according to actual service execution time, resolving the inflexibility issue while maintaining resource allocation efficiency for foreground applications.
2Reliability
If background applications occupy excessive system resources, then they can maintain their functionality, but foreground applications suffer from insufficient resources causing long startup times and stuttering
Solution Approach 1:
The patent implements preliminary action by initiating freeze control on background applications at the moment a foreground service starts, before the foreground application completes its startup. This proactive resource reallocation ensures that sufficient resources are available throughout the foreground application's startup process, preventing stuttering and reducing startup time while maintaining background application functionality through controlled freezing rather than complete termination.
3Productivity
If freeze control duration is extended to ensure complete service completion, then foreground response speed improves, but background applications remain frozen longer than necessary
Solution Approach 1:
The patent implements feedback by monitoring the completion status of foreground services and using this information to dynamically determine when to release freeze control on background applications. The system continuously feedbacks on service execution progress and adjusts the freeze control duration accordingly, releasing the freeze immediately when the service completes, thus avoiding unnecessary extended freezing while ensuring adequate resources during the critical service execution period.
Data Source
Figure 1
Figure 2A
Figure 2B
AI summary
This application relates to the field of terminal technologies, and provides a system resource scheduling method, an electronic device, and a storage medium. The method includes: performing freeze control on all or some applications running in a background when an interactive operation triggered by a user on a display interface of the electronic device is detected, where the freeze control is used to reclaim a system resource allocated to a corresponding application; allocating the reclaimed system resource to a service corresponding to the interactive operation on the display interface; and releasing the freeze control on the application when the service corresponding to the interactive operation on the display interface is completed. Through the method, freeze control for a background application is no longer performed based on a fixed preset time, but freezing is performed as required based on a coverage duration of a service corresponding to a foreground operation, thereby improving flexibility, reasonableness, and an effect of the freeze control. No conflict occurs in a freezing strategy under a high-frequency multi-operation sequence, thereby effectively increasing a foreground response speed and enhancing user experience.