Application Window Priority Allocation for Multi-App Lag Control
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Resource competition among multiple application programs running simultaneously leads to lag and affects user experience, particularly in complex scenarios involving foreground and background applications on large-screen devices.
Innovation Solution
A method to determine the application window type based on importance degree, allocating target resources such as network rate, data packet processing priority, and display parameters to prioritize and manage resources among applications, ensuring smooth operation of important programs.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If multiple application programs are run simultaneously in the foreground, then the application programs can handle more complex user scenarios, but resource competition occurs leading to application lag and degraded user experience
Solution Approach 1:
The patent applies local quality by differentiating resource allocation based on application window types. Focus windows receive higher resource priorities (first and second priorities) while non-focus windows receive lower priorities (third and fourth priorities). This localized differentiation ensures that applications in focus windows maintain smooth operation even when multiple applications run simultaneously, resolving the contradiction between handling complex scenarios and maintaining application smoothness.
2Reliability
If resource allocation is increased for important applications, then the smoothness of important applications is improved, but the overall resource distribution among all applications becomes unbalanced
Solution Approach 1:
The patent changes the parameter of resource allocation by introducing a hierarchical priority system with four distinct levels. This parameter change enables dynamic resource distribution where focus window applications receive preferential treatment (first priority for key businesses, second priority for non-key businesses) while non-focus window applications receive lower priorities (third and fourth priorities). This resolves the contradiction by providing a structured approach to balance important application smoothness with overall system efficiency.
Solution Approach 2:
The patent segments resource allocation into four distinct priority levels based on window type and business importance. This segmentation allows the system to allocate resources differently to different applications and different parts of applications, ensuring that critical functions in focus windows receive sufficient resources for smooth operation while less critical functions in non-focus windows receive reduced resources, thereby maintaining overall system efficiency.
3Measurement precision
If traffic parameters are monitored and used for priority determination, then resource allocation accuracy is improved, but the system complexity increases
Solution Approach 1:
The patent applies preliminary action by pre-establishing the relationship between window types, traffic parameters, and priority levels. The system pre-defines that focus windows with key businesses receive first priority, non-key businesses receive second priority, and non-focus windows receive third or fourth priorities based on traffic thresholds. This preliminary structuring simplifies the actual resource allocation process while maintaining high measurement precision for priority determination.
Data Source
Figure 1~3
Figure 4~5
Figure 6~8
AI summary
A method for running an application program, an electronic device (1300) and a storage medium are provided. The method for running the application program includes: determining (S101) an application window type of each of a plurality of application programs currently run by an electronic device, in which the application window type is configured to represent an importance degree of the application program; determining (S 102) a target resource of the application program according to the application window type of the application program; and running (S103) the application program according to the target resource of the application program.