File management method, expired file deletion method and devices

A file management method and file technology are applied in the field of file management method, expired file deletion method and device, and can solve the problems of complicated, huge and heavy user burden of expired files.

Active Publication Date: 2018-12-04
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF10 Cites 17 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
  • File management method, expired file deletion method and devices
  • File management method, expired file deletion method and devices
  • File management method, expired file deletion method and devices

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 invention provides a file management method, an expired file deletion method and devices. The method includes a step of obtaining meta information of a file stored in a cloud storage system, wherein the meta information at least includes a file creation time, a user ID and a file name, and the file creation time belongs to a time accurate to a predetermined time precision, astep of storing the meta information in a first data table, wherein the first data table is provided with a primary key which includes a first target column and a second target column, the first target column is used for storing the file creation time, the second target column is used for storing a file identifier determined based on the user ID and the file name, a step of sorting the current first data table with a data sorting sequence of sorting according to the first target column and then sorting according to the second target column. According to the technical solution provided by the embodiment of the invention, the burden on a user can be reduced, and the deletion efficiency of an expired file is improved.

Description

technical field [0001] The invention relates to the technical field of cloud storage, in particular to a file management method, an expired file deletion method and a 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 ...

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 Applications(China)
IPC IPC(8): G06F17/30
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