Background App Freeze Control for Foreground Resource Scheduling

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

Implement flexible freeze control based on the duration of interactive operations on the display interface, reclaiming resources from background applications as needed and reallocating them to foreground services, using the Cgroups freezer subsystem to manage system resources dynamically.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If background applications occupy system resources continuously, then system resource availability for foreground applications is insufficient, but implementing freeze control based on fixed preset time causes inflexibility and poor user experience

Engineering Contradiction:
Improveforeground application resource availabilityVSAvoidfreeze control flexibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic freeze control by monitoring the actual running state of foreground services and adjusting freeze/unfreeze operations accordingly. Instead of using fixed time intervals, the system dynamically determines when to freeze background applications based on whether the corresponding foreground service is actually running, thereby achieving both reliable resource allocation and flexible adaptation to varying operational conditions.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent establishes a feedback mechanism where the system monitors the running state of foreground services and uses this information to control freeze/unfreeze operations on background applications. This feedback loop ensures that freeze control is triggered only when necessary, improving both resource availability reliability and operational flexibility.

Inventive Principle:
Principle #23Feedback

2Reliability

If freeze control is implemented based on fixed preset time, then system resources are allocated to foreground services, but engineering experiment adjustment is required for different chip granularities

Engineering Contradiction:
Improveresource allocation timingVSAvoidchip granularity adjustment
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent changes the parameter basis from fixed time intervals to service running state detection. By using the actual running state of foreground services as the control parameter, the system eliminates the need for chip-specific time parameter adjustments, achieving universal applicability across different hardware configurations while maintaining reliable resource allocation timing.

Inventive Principle:
Principle #35Parameter changes

3Speed

If background applications are frozen for a long duration, then foreground response speed is improved, but background application functionality is excessively restricted

Engineering Contradiction:
Improveforeground response speedVSAvoidbackground application freeze duration
Core Design Contradiction:
SpeedVSDuration of action of stationary object

Solution Approach 1:

The patent uses feedback from foreground service running states to control freeze duration. The freeze operation is triggered only when the corresponding foreground service is running, and is automatically lifted when the service stops. This feedback-based approach ensures that background applications are frozen only for the necessary duration to support foreground operations, balancing response speed improvement with minimal functionality restriction.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20260072727A1System resource scheduling method, electronic device, and storage medium
Publication Date: 2026.03.12 HONOR DEVICE CO LTD
  • US20260072727A1 patent drawing
  • US20260072727A1 patent drawing
  • US20260072727A1 patent drawing

AI summary

A system resource scheduling method, an electronic device, and a storage medium are provided. 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.