A file management method and device

A file management method and file technology are applied in the field of file management methods and devices, and can solve the problems of complicated, huge, and heavy user burdens for expired files.

Active Publication Date: 2021-05-07
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that, applying the above method, users need to record the attribute information of all uploaded files. For some services, such as video surveillance, hundreds of millions or even billions of video files will be generated every day, so that the number of files that users need to record will be It is very large, and it is complicated to determine the expired files from these files, which makes the user's burden too heavy and the efficiency of deleting expired files is low

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
  • A file management method and device
  • A file management method and device
  • A file management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0089] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0090] In order to reduce the burden on users and improve the efficiency of deleting expired files, the embodiments of the present invention provide a file management method, a method and a device for deleting expired files.

[0091] A file management method provided by an embodiment of the present invention is firstly introduced below.

[0092] It should be noted that the execution subject of the file management method provided in the embodiment of the presen...

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 embodiment of the present invention provides a file management method, an expired file deletion method and a device. The method includes: obtaining meta-information of a file stored in the cloud storage system, the meta-information at least includes file creation time, user ID and file name, and the file creation time belongs to a time accurate to a predetermined time precision; saving the meta-information to In the first data table, the first data table is set with a primary key, the primary key includes a first target column and a second target column, the first target column is used to store the file creation time, the second target column is used to store the file identifier, and the file identifier Determined based on the user ID and the file name; sort the current first data table in a data arrangement sequence that is first sorted by the first target column and then sorted by the second target column. Through the technical solutions provided by the embodiments of the present invention, the burden on users can be reduced, and the efficiency of deleting expired files can be improved.

Description

technical field [0001] The present invention relates to the technical field of cloud storage, in particular to a file management method and device. Background technique [0002] Cloud storage system is a cloud computing system with data storage and management as its core. Currently, many types of data usually do not need to be permanently stored in the cloud storage system. Therefore, these types of data generally have a validity period corresponding to them. In this way, once the data expires, the data can be deleted to release storage resources. For example, each video file in video surveillance data corresponds to a validity period (usually a few days), assuming it is 7 days, and expired video files that are more than 7 days away from creation need to be deleted in time to prevent data accumulation. Take up a lot of storage resources. [0003] Since the cloud storage space applied by each user is limited, each user needs to delete the expired files that have been upload...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/11G06F16/16G06F16/13G06F16/14
Inventor 黎海兵
Owner BEIJING KINGSOFT CLOUD NETWORK TECH 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
Try Eureka
PatSnap group products