Background Application Management via Whitelist Priority
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for controlling background applications on terminal devices are inadequate, leading to poor user experience due to arbitrary termination of memory-intensive applications, which can affect processing speed and user preferences.
Innovation Solution
A method that creates an application list ranking applications by priority, traverses the list to identify background applications, and determines whether they are on a user-defined whitelist or inactive for extended periods, selectively exiting applications based on these criteria to manage memory usage effectively.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If the number of background applications exceeds the maximum threshold, the background application occupying the biggest memory is exited, then memory resources are released, but user experience deteriorates when the exited application is frequently used
Solution Approach 1:
The patent applies local quality by differentiating between ordinary background applications and frequently used applications. A whitelist mechanism is introduced to identify frequently used applications, allowing the system to treat them differently from other background applications. When memory pressure occurs, only non-whitelisted applications are exited, while whitelisted applications are preserved regardless of their memory consumption. This localized differentiation resolves the contradiction by protecting user experience for important applications while still managing memory resources effectively.
Solution Approach 2:
The patent implements feedback through the whitelist mechanism that captures user preferences about frequently used applications. The system continuously monitors which applications users access and maintains this information in a whitelist. When memory management decisions need to be made, the system refers back to this feedback information to determine which applications to preserve. This feedback loop ensures that memory management aligns with actual user behavior and preferences, resolving the contradiction between memory release and user experience.
2Ease of operation
If multiple background applications are kept running, then user convenience is improved, but processing speed deteriorates due to excessive memory occupation
Solution Approach 1:
The patent applies local quality by creating distinct treatment categories for different applications based on their importance to the user. The whitelist identifies locally important applications that deserve special protection, while other background applications can be managed more aggressively. This allows the system to maintain multiple background applications for user convenience while selectively managing memory resources to preserve processing speed, resolving the contradiction through differentiated quality treatment.
Solution Approach 2:
The patent changes the parameter of application priority by introducing a whitelist flag that modifies how applications are treated during memory management. Applications in the whitelist have their effective priority changed from normal to high, ensuring they are preserved during memory pressure events. This parameter change allows the system to simultaneously support multiple background applications and maintain processing speed by dynamically adjusting which applications consume memory resources.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The present disclosure relates to a method and device for controlling a background application. The method includes: creating (11) an application list according to running applications in an operating system; traversing (12) the identifications in the application list; determining (13) whether an application corresponding to a current traversed identification is a background application; determining (14) whether a predetermined white list comprises the current traversed identification and whether a number of identifications corresponding to background applications in the application list is greater than a predetermined threshold, if the application corresponding to the current traversed identification is a background application; selecting (15) an identification corresponding to a background application from the application list and exiting (16) the background application corresponding to the selected identification, if the predetermined white list comprises the current traversed identification and the number is greater than the predetermined threshold; exiting the application corresponding to the current traversed identification if the predetermined white list does not comprise the current traversed identification and the number is greater than the predetermined threshold.