CPC G06F 11/1088 (2013.01) [G06F 11/1448 (2013.01); H03M 13/373 (2013.01)] | 19 Claims |
1. A data reconstruction method based on erasure coding, wherein, the method comprises:
acquiring data offset information of incremental data in a data object;
acquiring corresponding data segments from a plurality of source object-based storage devices according to the data offset information; wherein, the source object-based storage devices are target object-based storage devices storing incremental data among respective object-based storage devices storing data objects based on erasure coding, and a quantity of the source object-based storage devices is the same as a quantity of data disks corresponding to the erasure coding;
integrating the data segments into an erasure incremental segment, and writing the erasure incremental segment into a to-be-reconstructed object-based storage device, which has no incremental data stored therein, among the respective object-based storage devices;
wherein, the data offset information comprises an offset start address and an offset data length;
the step of acquiring corresponding data segments from a plurality of source object-based storage devices according to the data offset information comprises:
acquiring an erasure offset start address by equally dividing the offset start address in accordance with the quantity of the data disks, and acquiring an erasure offset data length by equally dividing the offset data length in accordance with the quantity of the data disks;
acquiring the corresponding data segments from the plurality of source object-based storage devices according to the erasure offset start address and the erasure offset data length.
|