Cache clearing method, device, terminal and storage medium
A cleaning method and technology for cleaning devices, applied in the field of communications, can solve problems such as large uncontrollable factors and reduced user experience, and achieve the effect of improving flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 It is a schematic flowchart of a cache cleaning method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of cache cleaning for files in a terminal. and / or implemented in the form of hardware, for example, the device may be set in a terminal.
[0026] Such as figure 1 Described, the method of the present embodiment comprises:
[0027] S110. Acquire cache configuration of at least one cache folder in the application.
[0028] Wherein, the cache configuration includes a cache path and a preset cleaning time interval. Among them, the cache path can be the default storage path set by the system, or a storage path set by the user according to actual needs; similarly, the cleaning interval can be the default time set by the system, or can be set by the user according to actual needs. set duration.
[0029] When there are at least two cache folders in the application program, considering the importance of each cache file ...
Embodiment 2
[0049] figure 2 It is a schematic structural diagram of a cache cleaning provided by Embodiment 2 of the present invention, and the device includes: an acquisition module 210 and a cleaning module 220 .
[0050] Wherein, the obtaining module 210 is used to obtain the cache configuration of at least one cache folder in the application program; the cleaning module 220 is used to clean up the cache files in at least one cache folder according to the cache configuration; wherein the cache configuration includes cache paths and preset cleanup intervals.
[0051] In the technical solution of the embodiment of the present invention, the acquisition module acquires the cache configuration of at least one cache folder in the application program; the cleaning module cleans up the cache files in the at least one cache folder according to the cache configuration; wherein, the cache configuration includes The cache path and the preset cleaning time interval solve the technical problems i...
Embodiment 3
[0059] image 3 It is a schematic structural diagram of a terminal provided by Embodiment 3 of the present invention. image 3 A block diagram of an exemplary terminal 30 suitable for implementing embodiments of the invention is shown. image 3 The displayed terminal 30 is only an example, and should not limit the functions and scope of use of this embodiment of the present invention.
[0060] Such as image 3 As shown, terminal 30 takes the form of a general purpose computing device. Components of the terminal 30 may include, but are not limited to: one or more processors or processing units 301 , a system memory 302 , and a bus 303 connecting different system components (including the system memory 302 and the processing unit 301 ).
[0061] Bus 303 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures. The...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com