Smart Terminal Memory Cleaning via Display State Transition
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Smart terminals experience slowed response speeds and poor user experience due to accumulated background applications and garbage files, which are typically cleaned manually, interrupting normal operation and only prompted when occupancy is high.
Innovation Solution
A memory cleaning method that determines and cleans applications in the background when the terminal switches from one display state to another, identifying and removing files from occupied memory and cache spaces without disrupting user operations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If manual cleaning of applications is performed, then memory occupancy is reduced, but normal user operation is interrupted
Solution Approach 1:
The system performs memory cleaning in advance by utilizing display state transition moments (such as switching between landscape and portrait modes) as trigger conditions. This preliminary action approach allows cleaning to occur before memory occupancy becomes critically high, and the cleaning process is executed in the background without requiring user intervention or interrupting ongoing operations.
2Use of energy by moving object
If cleaning is performed only when background occupancy is high, then cleaning resources are conserved, but system response speed deteriorates
Solution Approach 1:
The system implements a feedback mechanism by continuously monitoring display state transitions and using these state changes as triggers for cleaning operations. This feedback-based approach ensures that cleaning is performed at appropriate moments (during display state transitions) rather than only when occupancy thresholds are exceeded, maintaining system responsiveness while managing resource consumption effectively.
3Speed
If real-time cleaning is implemented, then system performance is maintained, but cleaning complexity increases
Solution Approach 1:
The system leverages the inherent display state transition mechanism (which already exists for user interface purposes) as a multi-functional trigger for both display reconfiguration and memory cleaning operations. By making the display state transition system serve dual purposes, the patent avoids adding separate complex cleaning trigger mechanisms, thereby maintaining real-time cleaning capability while minimizing additional system complexity.
Data Source
AI summary
The present disclosure provides a memory cleaning method, a smart terminal, and a readable storage medium. When the smart terminal is switched from a first display state to a second display state, an application to be cleaned is determined. A space to be cleaned is determined from a running memory and cache space occupied during running of the application to be cleaned. Files are removed from each of the determined spaces to be cleaned. In this way, an application to be cleaned is determined when the smart terminal is switched from a first display state to a second display state, so that an application to be cleaned can be directly cleaned in the background, and applications can be cleaned in real time without affecting the user's normal operation, which contributes to more timely cleaning of applications and an improved user experience.


