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

A method and device for exporting files to magnetic tape

A tape and file technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of time and resource waste, and achieve the effect of saving storage space

Active Publication Date: 2017-01-04
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And these data blocks may be stored on multiple tapes, so that restoring an original file involves loading, removing, reading data and rewinding operations of multiple tapes, and the waste of time and resources consumed will be unacceptable

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 method and device for exporting files to magnetic tape
  • A method and device for exporting files to magnetic tape
  • A method and device for exporting files to magnetic tape

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] The method for exporting files to a magnetic tape according to an embodiment of the present invention is used to export at least two original files stored in the form of deduplication data to a magnetic tape, and the deduplication data includes a stub file set, a single instance library, and a fingerprint library. The original files saved in the form of deduplication data can be stored in such as figure 1 In the storage server shown, as figure 1 As shown, the single instance database includes all single data blocks divided from each of the original files, such as data block DB11, data block DB12 and so on. The set of stub files includes at least two stub files respectively corresponding to each of the original files, each of the stub files includes at least one fingerprint data, the fingerprint data includes fingerprints and location information, and the fingerprints are used to identify from and The data block divided by the original file corresponding to the stub ...

Embodiment 2

[0050] image 3 It shows a flow chart of a method for exporting a file to a magnetic tape according to another embodiment of the present invention, image 3 Winning mark and figure 2 The same components have the same functions, and detailed descriptions of these components are omitted for brevity.

[0051] Such as image 3 as shown, image 3 The method shown for exporting files to tape is the same as figure 2 The main difference between the shown methods for exporting files to tapes is that, in a possible implementation, the specific operation steps of step S220 in Embodiment 1 may include:

[0052] Step S321, modify the fingerprint data in the stub files in the stub file subset, so that the position information in the modified fingerprint data indicates the position of the data block corresponding to the fingerprint data in the sub-single instance library Location.

[0053] Step S322, exporting the modified stub file subset to the magnetic tape.

[0054] Step S323, e...

Embodiment 3

[0057] Figure 4 It shows a flow chart of a method for exporting a file to a magnetic tape according to another embodiment of the present invention, Figure 4 Winning mark and image 3 The same components have the same functions, and detailed descriptions of these components are omitted for brevity.

[0058] Such as Figure 4 as shown, Figure 4 The method shown for exporting files to tape is the same as image 3 The main difference between the shown methods for exporting files to tapes is that, in a possible implementation, before step S321, may further include:

[0059] Step S410. Determine the first data block in the sub-single instance library, wherein the first data block is a data block referenced by one of the stub files.

[0060] Step S420, replacing the fingerprint data corresponding to the first data block in the stub files in the stub file subset with the first data block.

[0061] Step S430, removing the first data block from the sub-single instance library. ...

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 a method and a device for exporting files to a magnetic tape. The method is used for exporting at least two original files stored in the form of de-duplicated data to the magnetic tape, wherein the de-duplicated data comprises a stub file set, a single instance database and a fingerprint database. The method comprises the following steps: selecting at least one stub file to be exported to the magnetic tape from the stub file set to form a stub file subset; exporting the stub file subset and a sub single instance database to the magnetic tape; repeating the above two steps under the circumstance that the stub file set comprises stub files not exported to the magnetic tape. According to the method disclosed by the embodiment of the invention, the original files still can be stored in the form of the de-duplicated data, namely the data de-duplication value is maintained and the storage space of the magnetic tape is saved; the original files can be quickly restored and read by guaranteeing de-duplication regions in the same magnetic tape.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a method and device for exporting files to tapes. Background technique [0002] Data deduplication technology refers to dividing the file into data blocks one by one, calculating a fingerprint for each data block, and comparing it with the existing fingerprint; if the fingerprint already exists, it means that the data block already exists. No need to save any more, just add one to the reference count of the data block to indicate that the data block has been referenced once more; if the fingerprint does not exist, it means that the data block is unique, and you need to add This fingerprint and the corresponding data block are saved. [0003] After data deduplication is performed, deduplication data including the following three parts are usually formed in the storage system. The first part is a single instance library (Single InstanceRepository, abbreviation: SIR) for storing data b...

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): G06F17/30
CPCG06F16/172G06F16/1748
Inventor 李育国
Owner HUAWEI TECH CO LTD