Unlock instant, AI-driven research and patent intelligence for your innovation.

A kind of file sorting method and device

A file and file storage technology, applied in the storage field, can solve the problems of wasted storage space, occupied storage space, and repeated storage of files, etc., and achieves the effect of avoiding repeated storage and reducing the waste of storage resources.

Active Publication Date: 2021-06-22
UNITED INFORMATION TECH
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If multiple users share a storage space, different users often store files with the same content, resulting in repeated storage of files, occupying unnecessary storage space, and resulting in waste of storage space

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 kind of file sorting method and device
  • A kind of file sorting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0017] see figure 1 , figure 1 It is a flowchart of a file deduplication method according to an embodiment of the present invention. The method is applied to a storage device and mainly includes the following steps:

[0018] Step 101. Acquire a file to be stored, and generate an identification value of the file to be stored based on the file content of the file to be stored.

[0019] The files to be stored are files uploaded by users or files from other sources.

[0020] When performing file deduplication, if you directly compare the file content to determine whether it is a file with the same content, due to the large amount of data in the file content, the deduplication efficiency will be very low, so in this embodiment, the ...

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 present invention provides a file deduplication method and device, which are applied to a storage device. The method includes: acquiring a file to be stored, generating an identification value of the file to be stored based on the file content of the file to be stored; comparing all stored files in the storage device The identification value of the file to be stored and the identification value of the file to be stored, if there is a stored file with the same identification value as the file to be stored, a link to the stored file is generated, and the link is stored in the target file path as the file to be stored, Otherwise, store the file to be stored in the target file path, and store the identification value of the file to be stored as an attribute of the file to be stored. The invention can avoid repeated storage of files and reduce waste of storage resources.

Description

technical field [0001] The present invention relates to the technical field of storage, in particular to a method and device for deduplication of files. Background technique [0002] In storage devices, file data, especially some audio and video files, take up a lot of storage space. If multiple users share a storage space, it often happens that different users store files with the same content, resulting in repeated storage of files, occupying unnecessary storage space, and resulting in waste of storage space. Contents of the invention [0003] In view of this, the purpose of the present invention is to provide a file deduplication method and device, which can avoid repeated storage of files and reduce waste of storage resources. [0004] In order to achieve the above object, the present invention provides the following technical solutions: [0005] A file deduplication method applied to a storage device, the method comprising: [0006] Obtain the file to be stored, an...

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/13G06F3/06
CPCG06F3/0608G06F3/0643G06F3/0671G06F16/13
Inventor 金振成
Owner UNITED INFORMATION TECH