Storage space optimization method and device, computer device and storage medium
A technology of storage space and optimization method, which is applied in the field of communication and can solve problems such as wasting local storage space
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0080] The present invention provides a storage space optimization method for optimizing the local storage space occupied by applications (such as WeChat), such as figure 1 As shown, the method includes the following file storage steps:
[0081] S11. When the application program is started for the first time, generate a file storage table to store the storage information corresponding to each file stored locally by the application program, and the storage information includes local storage address, network address, storage times, unique identification information and storage time; At the same time, set the local storage upper limit parameter MaxAmout corresponding to the application and assign an initial value (such as 500M) to MaxAmou, and set the regular cleaning time Tcleaning corresponding to the application program and assign an initial value to Tcleaning (such as 7 days).
[0082] S12. When the application program is running in the foreground, when the smart terminal ins...
Embodiment 2
[0108] This example provides a device for optimizing storage space, which is used to optimize the local storage space occupied by applications. Wherein, the device includes a file storage module 11, such as Figure 6 As shown, the file storage module 11 includes:
[0109] The storage table survival unit 111 is configured to generate a file storage table to store the storage information of each file stored locally by the application program, wherein the storage information includes a local storage address, storage times, unique identification information and storage time;
[0110] The initialization unit 112 is used to set the local storage upper limit parameter MaxAmout corresponding to the application program and assign an initial value to MaxAmou, and set the file timing cleaning time Tcleaning corresponding to the application program and assign an initial value to Tcleaning;
[0111] A storage instruction receiving judging unit 113, configured to judge whether a storage in...
Embodiment 3
[0138] The present invention also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a cabinet server (including an independent server, or a multi- A server cluster composed of servers), etc. The computer device 20 of this embodiment at least includes but is not limited to: a memory 21 and a processor 22 that can communicate with each other through a system bus, such as Figure 11 shown. It should be pointed out that, Figure 11 Only computer device 20 is shown having components 21-22, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.
[0139] In this embodiment, the memory 21 (that is, a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (RAM), a ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com