Aggregate big file deletion method, apparatus and device, and computer storage medium

A deletion method and large file technology, applied in the input/output process of computing, data processing, instruments, etc., can solve the problems of reducing disk utilization, unable to release disk space, unable to delete, etc.

Active Publication Date: 2018-02-16
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, when deleting a small file in an aggregated large file, if the corresponding data of the file is deleted, it is necessary to first find the aggregated large file to which it belongs through the metadata information of the small file. If no other small files are stored in the aggregated large file, You can delete the aggregated large file directly, but when the aggregated large file stores other small file data at the same time, it cannot be deleted. You need to wait for all the files in the aggregated large file to be deleted before deleting all the data on the aggregated large file. This will cause the problem of not being able to free up disk space and reduce disk utilization

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
  • Aggregate big file deletion method, apparatus and device, and computer storage medium
  • Aggregate big file deletion method, apparatus and device, and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The core of the present invention is to provide a method for deleting aggregated large files, which writes the small files to be retained in the aggregated large file into a new aggregated file when deleting the aggregated large file, thereby improving the deletion efficiency of aggregated large files, thereby improving disk utilization. Another core of the present invention is to provide a device, equipment and computer storage medium for aggregating large files based on the above method.

[0058] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, 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 discloses an aggregate big file deletion method. The method comprises the steps of scanning an aggregate big file in an aggregate directory, and when the size of an invalid storage spaceis greater than a preset space threshold, adding the aggregate big file corresponding to the invalid storage space to a cleaning queue; according to identifiers corresponding to small files in the currently cleaned aggregate big file, judging whether the small files are to be reserved or not, and after the to-be-reserved small files are determined, writing the to-be-reserved small files in a newaggregate file; and when all the small files are traversed, deleting data in the aggregate big file and moving the aggregate big file out of the cleaning queue. When the size of the invalid storage space of the aggregate big file is greater than the preset space threshold, the to-be-reserved small files in the currently cleaned aggregate big file are written in the new aggregate file, then the aggregate big file is deleted, and the disk space is released, so that the disk utilization rate is increased. The invention furthermore discloses an aggregate big file deletion apparatus and device, anda computer storage medium.

Description

technical field [0001] The invention relates to the technical field of aggregated storage of small files, in particular to a method for deleting aggregated large files. The invention also relates to a device, equipment and computer storage medium for aggregating large files. Background technique [0002] In the application scenarios of massive small files such as social shopping websites, radio and television, and online videos, aggregate storage of small files is an important means to improve the utilization rate of the storage system and increase the speed of file reading. [0003] In the small file aggregation storage technology, multiple small files are aggregated with the aggregation object OBJ (object, object, data storage unit on the disk) as the unit, and the aggregation object OBJ is stored in the disk as the data of the aggregated large file. , which actually translates to reads of aggregated large file data. [0004] In the prior art, when deleting a small file ...

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): G06F3/06
CPCG06F3/0608G06F3/0652G06F3/0676
Inventor 张书扬
Owner ZHENGZHOU YUNHAI INFORMATION 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