Patent ID: 8862847

Claim:
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.