Dynamic Inspection Policy for Application Freezing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current freezing technologies for managing application programs on terminal devices often result in false freezing, degrading user experience by incorrectly identifying running states and terminating tasks, such as downloads, due to the use of a single inspection policy for all applications.
Innovation Solution
An application program management method that dynamically determines a current inspection policy based on the running type of the target application program by combining a basic inspection policy with a current extra inspection policy, avoiding false freezing by matching the inspection policy to the specific running state of the application.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If a single inspection policy is used for all application programs, then the freezing management is simplified, but false freezing occurs and user experience is degraded
Solution Approach 1:
The inspection policy is segmented into multiple types (first inspection policy for background running, second inspection policy for foreground running). The system divides the application running states into distinct categories and applies different inspection policies to each category, thereby avoiding false freezing while maintaining manageable complexity through structured segmentation.
Solution Approach 2:
The inspection policy is made dynamic by automatically selecting between different policy types based on the current running state of the application. The system dynamically adjusts which inspection policy to apply (background or foreground) according to the application's actual running state, preventing false freezing while adapting to different scenarios.
2Ease of operation
If freezing inspection is performed based on basic inspection policy only, then the inspection process is straightforward, but applications performing normal tasks like downloads are incorrectly frozen
Solution Approach 1:
The system dynamically selects the appropriate inspection policy based on the application's running state. When an application is in the foreground, the second inspection policy is applied which allows normal tasks like downloads to proceed. When in the background, the first inspection policy applies stricter freezing criteria. This dynamic adaptation ensures both operational simplicity and task completion.
Solution Approach 2:
The inspection criteria parameters are changed based on the running state. The system changes the inspection policy parameters (from first to second type or vice versa) according to whether the application is in foreground or background, allowing normal productivity tasks to complete while maintaining freezing management effectiveness.
3Ease of manufacture
If the freezing detection uses a fixed inspection policy, then the system is easy to implement, but it cannot adapt to different running states causing false freezing
Solution Approach 1:
The system implements dynamic policy selection where the inspection policy automatically adapts to different running states. The system determines whether the application is in foreground or background state and dynamically applies the corresponding inspection policy type, achieving both ease of implementation through automated selection and adaptability to different running scenarios.
Solution Approach 2:
The system uses feedback from the application's running state detection to automatically select the appropriate inspection policy. By continuously monitoring whether the application is in foreground or background and using this feedback to choose the corresponding policy type, the system achieves adaptability while maintaining simple automated operation without complex manual configuration.
Data Source
AI summary
An application program management method and apparatus, and a non-transitory computer-readable storage medium are disclosed. The application program management method may include: determining a current extra inspection policy for a target application program according to a current running type of the target application program in response to a determination that a freezing detection of the target application program is required; determining a current inspection policy corresponding to the target application program based on a basic inspection policy corresponding to the target application program and the current extra inspection policy; and freezing the target application program in response to a determination that a running state of the target application program satisfies the current inspection policy.


