首页>
外国专利>
ERASURE CODE-BASED DATA STORAGE METHOD, DEVICE, AND ELECTRONIC APPARATUS
ERASURE CODE-BASED DATA STORAGE METHOD, DEVICE, AND ELECTRONIC APPARATUS
展开▼
机译:基于擦除代码的数据存储方法,设备和电子设备
展开▼
页面导航
摘要
著录项
相似文献
摘要
An erasure code-based data storage method, a device, and an electronic apparatus. The method comprises: writing data to be stored into a first memory (S201); when the data in the first memory reaches a data volume of a target number of data blocks, calculating a first checksum corresponding to the data in the first memory (S202); storing, in a second memory by overwriting, a computation result obtained by performing a specified computation on the first checksum and the current contents of the second memory, transferring the data in the first memory to a pre-determined storage apparatus and storing the same therein, and then returning to writing the data to be stored into a space of the first memory (S203); and when data to be stored on which the current contents of the second memory are based reaches a data storage volume corresponding to a pre-determined EC type, using the current contents of the second memory as a checksum of a stripe block specified by the pre-determined EC type, and transferring the same to the storage apparatus and storing therein (S204). The method reduces memory space occupation during a storage process.
展开▼