Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for processing metadata

A metadata and data block technology, applied in the field of metadata processing methods and devices, can solve the problems of unsatisfactory metadata writing operations and frequent hard disk writing, so as to save snapshot space, improve overall performance, and reduce reading and writing of metadata The effect of the number of times

Active Publication Date: 2010-08-25
ZTE CORP
View PDF2 Cites 56 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] The present invention provides a metadata processing method and device, which are used to solve the problem in the prior art that the metadata writing operation cannot satisfy the dynamic allocation strategy of the unified space on-demand allocation and the frequent times of writing to the hard disk

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
  • Method and device for processing metadata
  • Method and device for processing metadata
  • Method and device for processing metadata

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The technical solutions of the present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0048] Device embodiment

[0049] According to an embodiment of the present invention, a metadata processing device is provided. FIG. 3 is a schematic structural diagram of a metadata processing device according to an embodiment of the present invention. As shown in FIG. 3 , the metadata processing device according to an embodiment of the present invention includes : a snapshot processing module 30 , a snapshot space management module 31 , and a metadata management module 32 . Before describing the metadata processing apparatus of the embodiment of the present invention in detail, the overall layout in the snapshot space according to the embodiment of the present in...

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 processing metadata. The method comprises the following steps of: copying data written for the first time in an original disk space into a snapshot backup data area according to copy-on-write operation, establishing metadata and bitmap corresponding relationships and calculating a first address of a metadata bitmap area where the metadata belongs and metadata position indexes of the metadata in the metadata bitmap area according to the bitmap corresponding relationships; judging whether the first address is the same as a preset allocation marker bit or a deletion marker bit or not to obtain a comparison result and setting bitmap mapping bits; and according to the comparison result, the first address of the metadata bitmap area where the metadata belongs, and the metadata position indexes, storing the metadata into corresponding position indexes of an allocation control buffer area or a deletion control buffer area, or writing all the metadata in the allocation control buffer area into corresponding positions of the metadata bitmap area or deleting all the metadata in the deletion control buffer area from the corresponding positionsof the metadata bitmap area.

Description

technical field [0001] The present invention relates to the field of snapshots, in particular to a metadata processing method and device. Background technique [0002] At present, with the rapid development of network storage and data storage, data management and data security have become particularly important. The surge in the amount of user data not only brings a large demand for online storage devices, but also puts forward higher requirements for online data protection. Snapshot (Snapshot) is one of the effective technologies to prevent data loss of online storage devices. [0003] In the prior art, a snapshot is a fully available copy of a specified data set, and the copy includes an image of the corresponding data at a certain point in time, that is, the point in time when the copy starts. A snapshot can be a copy or a replica of the data it represents. When an application failure or file damage occurs on the storage device, the snapshot function can be used to res...

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): G06F11/14G06F12/02
Inventor 张傲岸
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products