信息网络安全 ›› 2019, Vol. 19 ›› Issue (2): 28-35.doi: 10.3969/j.issn.1671-1122.2019.02.004

• 技术研究 • 上一篇    下一篇

基于纠删码的区块链系统区块文件存储模型的研究与应用

赵国锋1, 张明聪1(), 周继华2, 赵涛2   

  1. 1. 重庆邮电大学通信与信息工程学院,重庆 400065
    2. 重庆金美通信有限公司,重庆 400030
  • 收稿日期:2018-12-10 出版日期:2019-02-10 发布日期:2020-05-11
  • 作者简介:

    作者简介:赵国锋(1972—),男,陕西,教授,博士,主要研究方向为互联网技术、网络测试与测量;张明聪(1996—),男,四川,硕士研究生,主要研究方向为未来网络、区块链;周继华(1979—),男,重庆,研究员级高级工程师,博士,主要研究方向为无线通信、移动网络及数字集群技术;赵涛(1983—),男,河南,高级工程师,硕士,主要研究方向为宽带无线通信、移动网络及无人智能集群等。

  • 基金资助:
    重庆市重点研发项目[cstc2018jszx-cyzdX0120]

Research and Application of Block File Storage Model Based on Blockchain System of Erasure Code

Guofeng ZHAO1, Mingcong ZHANG1(), Jihua ZHOU2, Tao ZHAO2   

  1. 1. School of Communication and Information Engineering, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
    2. Chongqing Jinmei Communication Co.Ltd., Chongqing 400030, China
  • Received:2018-12-10 Online:2019-02-10 Published:2020-05-11

摘要:

文章提出了一种区块链系统区块文件存储模型,并将其应用于超级账本区块链系统。模型基于纠删码技术改进区块链系统的存储性能,对其存储的区块文件进行编码分片存储,能够以更小的数据冗余度获得不弱于原始系统的数据可靠性,大幅减少了节点对存储资源的需求。同时,模型提供了区块文件解码恢复方案及适配的区块同步方案,增强了模型的可用性。将模型在多个区块链节点中运行测试,结果表明该模型显著减少了节点的存储空间占用,有效改善了区块链系统的存储可扩展性。

关键词: 区块链, 纠删码, 存储可扩展

Abstract:

In this paper, a novel block file storage model is proposed by using erasure code technology, and is applied to the blockchain system. The storage system of blockchain is improved by using erasure code technology, and the stored block file is coded and stored in slices. With less data redundancy, the data reliability is not weaker than the original system, and the node’s demand for storage is reduced. Moreover, the model provides a block file decoding recovery scheme, as well as an adapted block synchronization strategy, which enhances the usability of the model. Finally, this paper tests the model by running in multiple fabric nodes, the results shows that it can reduce the storage space of the nodes and effectively improve the storage scalability of the blockchain system.

Key words: blockchain, erasure code, storage expandable

中图分类号: