Data redistribution method and apparatus

A technology for redistribution and data, which is applied in the field of data redistribution methods and devices, and can solve problems such as long interruption time

Inactive Publication Date: 2015-09-23
CHINA MOBILE COMM GRP CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a data redistribution method and device to solve the problem in the prior art that the service of the distributed storage system is interrupted for a long time during the data redistribution process

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
  • Data redistribution method and apparatus
  • Data redistribution method and apparatus
  • Data redistribution method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to provide an implementation plan for shortening the service interruption time of the distributed storage system during the data redistribution process, the embodiment of the present invention provides a data redistribution method and device. The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, not to limit the present invention. And in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0053] An embodiment of the present invention provides a data redistribution method, the method steps are as follows figure 1 shown, including:

[0054] Step 101, determine the current storage address and target storage node of the data block to be migrated.

[0055] Step 102: Store a pointer...

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 discloses a data redistribution method and apparatus. The data redistribution method comprises: determining a current storage address of a data block which needs to be migrated and a target storage node; storing a pointer corresponding to the data block in the target storage node, wherein the pointer corresponding to the data block points to the current storage address of the data block; updating the current storage address of the data block in a data management node into a storage address of the pointer corresponding to the data block in the target storage node; when a preset trigger condition of migrating the data block is met, acquiring the pointer corresponding to the data block from the target storage node; and migrating the data block stored in the address to which the pointer points to the storage address of the pointer in the target storage node. Compared with the prior art, the problem of long service interruption time of a storage system is avoided.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a data redistribution method and device. Background technique [0002] With the advent of the big data era, the storage and processing of massive data is becoming more and more important. At present, the mainstream mass data storage technology adopts distributed storage system. [0003] There are multiple storage nodes and a data management node in the distributed storage system. The data management node can also be set up together with the storage nodes. Usually, the data blocks are scattered and stored on each storage node according to a certain algorithm. The commonly used algorithm is the hash algorithm. , round-robin algorithm, random algorithm, etc., and store the data block identifiers and corresponding addresses of all data blocks in all storage nodes in the data management node. Data blocks are distributed and stored on each storage node, which can make full use o...

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
IPC IPC(8): G06F12/06
Inventor 杜宇健
Owner CHINA MOBILE COMM GRP 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