Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

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

Pending Publication Date: 2019-06-07
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a storage space optimization method, device, computer equipment and storage medium to solve the problem of wasting local storage space by repeatedly storing files in the smart terminal by the application program

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Storage space optimization method and device, computer device and storage medium
  • Storage space optimization method and device, computer device and storage medium
  • Storage space optimization method and device, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a storage space optimization method and device, a computer device and a storage medium. The method comprises: S11, generating a file storage table; S12, whether a storage instruction is received or not is judged, and if yes, the step S13 is executed; S13, obtaining unique identification information of the to-be-stored file, searching whether the unique identification information of the to-be-stored file exists in the file storage table or not, if yes, executing the step S14, and if not, executing the step S15; S14, searching whether a local storage address correspondingto the to-be-stored file exists in the file storage table or not, if yes, adding 1 to the storage frequency corresponding to the to-be-stored file in the file storage table, otherwise, storing the to-be-stored file, and setting the storage frequency corresponding to the to-be-stored file as 1 in the file storage table; and S15, storing the to-be-stored file, adding corresponding storage information of the to-be-stored file into the file storage table, and setting the storage frequency corresponding to the to-be-stored file as 1. The method and the device can solve the problem that the application program repeatedly stores the file locally.

Description

technical field [0001] The present invention relates to the technical field of communication, and in particular to a storage space optimization method, device, computer equipment and storage medium. Background technique [0002] With the development of smart terminals, users can store various files such as pictures, video files, downloaded files, etc. by installing various APPs on the terminal, and files are often stored repeatedly. For example, when using WeChat, you may receive the same files sent by different WeChat friends, and these files are downloaded repeatedly and stored locally. Since each file will occupy a certain amount of storage space, the limited resources of the terminal will be gradually exhausted over time, resulting in insufficient local storage resources of the terminal. Insufficient storage resources will cause the operating system to respond slowly, and many programs cannot be used normally. For example, the application software cannot receive message...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/50G06F16/16G06F9/445
CPCG06F16/16G06F9/445G06F9/50Y02D10/00
Inventor 镐振鹏
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products