# US 2017/0255510 A1 · System and method for regenerating codes for a distributed storage system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0255510 A1
- Document ID: US20170255510A1
- Status: Published application
- Kind: A1
- Application number: 15/173,739
- Filed: 2016-06-06
- Published: 2017-09-07
- Earliest claimed: 2016-03-02
- Assignees: Yunshang company limited
- Applicants: Yunshang company limited
- Inventors: Hai Bin KAN; Wei LIU
- Web page: https://patentgrep.com/patent/US20170255510A1

## CPC

- H03M 13/3761: {using code combining, i.e. using combining of codeword portions which may have been transmitted separately, e.g. Digital Fountain codes, Raptor codes or Luby Transform [LT] codes}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An approach is provided for a system and a method for distributed storage based on regenerating codes. The system comprises a data source and multiple storage-nodes. The data source comprises a control module and an encoder. The control module segments data into multiple fragments. The encoder generates multiple data stripes from the fragments, in which each data stripe is generated according to a corresponding encoding vector and each of the encoding vectors is linearly independent to each other. The data source transmits each of the data stripes to one of the corresponding storage-nodes according to the encoding vectors. The data source receives an extension command configured for extending a selected storage-node, and generates an extension storage-node with a set of other randomly selected storage-node whereby to construct a linear combination with the data stripes and encoding vectors of the selected storage-nodes. The aforementioned extension storage node is homogeneous to the existing storage nodes.

## Claims

### Claim 1

A distributed storage system based on regenerating codes, in which encoded data is distributed to a plurality of storage-nodes and then extended to at least one extension storage-node, and the system comprising:
a data source comprising
a control module, for segmenting data into a plurality of fragments; and
an encoder, for generating a plurality of data stripes from the fragments, wherein each of the fragment is generated according to an corresponding encoding vector and the encoding vectors are linearly independent to each other; and
a plurality of storage-nodes, connected to the data source, wherein the data source transmits the data stripes to corresponding storage-nodes according to the encoding vectors;
wherein the data source receives an extension command configured for extending selected storage-nodes selected from the storage-nodes, the data source selects randomly at least two other storage-nodes from the plurality of storage-nodes, and the data source generates at least one extension storage-node which is a linear combination of the data stripes and encoding vectors of the selected storage-nodes; and
wherein the extension storage-node is homogeneous to the existing storage-nodes.

### Claim 2 (depends on 1)

The system as claimed in claim 1, wherein the data stripes form a main striping and each data stripe includes at least one of the fragments.

### Claim 3 (depends on 1)

The system as claimed in claim 1, wherein the encoder includes a vector matrix with the encoding vectors and randomly selects one of the encoding vectors from the vector matrix.

### Claim 4 (depends on 1)

The system as claimed in claim 1, wherein the storage-node is a hard disk, a Solid State Disk, or a flash storage device.

### Claim 5 (depends on 1)

The system as claimed in claim 1, further comprising a data collector connected to the data source and the storage-nodes in a network manner, wherein the data collector comprises a decoder for decoding the data stripes into the fragments.

### Claim 6 (depends on 1)

The system as claimed in claim 1, wherein each of the storage-node stores at least one data stripe.

### Claim 7 (depends on 1)

The system as claimed in claim 1, wherein the data stripe of the extension storage-node is homogeneous to the data stripe of the selected storage-node.

### Claim 8

A method for distributed storage base on regenerating codes, in which encoded data is distributed to a plurality of storage-nodes and then extended to at least one extension storage-node, and the data source comprising steps of:
segmenting data into a plurality of fragments;
encoding the fragments into a data stripe according to an encoding vector;
transmitting and storing the data stripe and the corresponding encoding vector to one of the storage-nodes;
selecting one of the storage-nodes as a specified storage-node when an extension command is received; and
selecting at least two other storage-nodes to generate at least one extension storage-node according to the selected specified storage-nodes, the encoding vectors and the data stripe.

### Claim 9 (depends on 8)

The method as claimed in claim 8, wherein the data stripe of the extension storage-node is homogeneous to the data stripe of the specified storage-node.

### Claim 10 (depends on 8)

The method as claimed in claim 8, further comprising a step of randomly selecting an encoding vector from a vector matrix with plural encoding vectors, for encoding the fragments into the data stripe.
