首页> 外国专利> 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.
机译:基于擦除码的数据存储方法,设备和电子设备。该方法包括:将要存储的数据写入第一存储器(S201);当第一存储器中的数据达到目标数据块的数据量时,计算与第一存储器中的数据相对应的第一校验和(S202);通过重写在第二存储器中存储通过对第一校验和和第二存储器的当前内容执行指定的计算,将第一存储器中的数据传送到预定存储装置并将其存储在其中而获得的计算结果,然后返回将要存储的数据写入第一存储器的空间(S203);当第二存储器的当前内容所基于的待存储数据到达与预定EC类型相对应的数据存储量时,使用第二存储器的当前内容作为由pre指定的条带块的校验和确定的EC类型,并将其传送到存储设备并存储在其中(S204)。该方法减少了存储过程中的存储器空间占用。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号