Patent ID: 9195392
Filing Date: 2015-11-24
Classification: G06F,H04L

Abstract:
1. A distributed storage method, comprising: splitting, by a processor, a data file to generate K data slices; splitting, by the processor, each data slice of the K data slices to generate M data blocks for each data slice; performing by the processor, check coding on the M data blocks by using a redundancy algorithm to generate N check blocks; determining, by the processor, by using a random algorithm, a first physical storage node corresponding to one data block or one check block of the M data blocks or the N check blocks; determining, by the processor, at least M+1 different physical storage nodes based on the first physical storage node and according to a first sorting manner that conforms to a preset rule; and separately storing, by the processor, at least M+1 blocks of the M data blocks and the N check blocks onto the at least M+1 different physical storage nodes, wherein K, M, and N are positive integers, and wherein the different physical storage nodes are at least one of the following: hard disks and a number of the hard disks is greater than or equal to M+1, servers and a number of the servers is greater than or equal to M+1, and racks and a number of the racks is greater than or equal to M+1.