计算机应用 ›› 2019, Vol. 39 ›› Issue (9): 2617-2622.DOI: 10.11772/j.issn.1001-9081.2019030406

• 网络空间安全 • 上一篇    下一篇

基于门限秘密共享的区块链分片存储模型

张国潮, 王瑞锦   

  1. 电子科技大学 信息与软件工程学院, 成都 610054
  • 收稿日期:2019-03-11 修回日期:2019-05-07 出版日期:2019-09-10 发布日期:2019-09-10
  • 通讯作者: 王瑞锦
  • 作者简介:张国潮(1998-),男,福建漳州人,CCF会员,主要研究方向:区块链、网络安全;王瑞锦(1980-),男,甘肃天水人,副教授,博士,主要研究方向:信息系统安全、量子通信安全、云安全。
  • 基金资助:

    国家自然科学基金青年项目(61802033)。

Blockchain shard storage model based on threshold secret sharing

ZHANG Guochao, WANG Ruijin   

  1. School of Information and Software Engineering, University of Electronic Science and Technology of China, Chengdu Sichuan 610054, China
  • Received:2019-03-11 Revised:2019-05-07 Online:2019-09-10 Published:2019-09-10
  • Supported by:

    This work is partially supported by the National Natural Science Foundation of China (61802033).

摘要:

针对存储原因所导致的区块链技术难以在大型业务场景应用的问题,提出了一种基于门限秘密共享的区块链分片存储模型。首先由共识节点使用改进的Shamir门限,将要上链的交易数据进行分片处理;其次,共识节点基于分片数据构造不同的区块,并分发给现存于区块链网络中的其他节点进行存储;最后,当节点要读取交易数据时,在从分发到交易数据分片的n个节点中的k个节点请求数据,并利用拉格朗日插值算法进行交易数据的恢复。实验结果表明,该模型在保证了上链数据安全性、可靠性、隐私性的同时,每个节点的数据存储量约为传统存储方法的1/(k-1),从而有利于区块链技术在大型业务场景的应用。

关键词: 区块链存储, Shamir秘密共享, 数据安全性, 数据隐私性, 分布式存储

Abstract:

To solve the problem that blockchain technology is difficult to be used in large-scale business scenarios due to storage constraints, a blockchain shard storage model based on threshold secret sharing was proposed. Firstly, the transaction data to be placed in blockchain was processed into shards by consensus nodes using improved Shamir's threshold secret sharing. Secondly, consensus nodes constructed different blocks based on data shards and distributed them to other nodes existing in the blockchain network for storage. Finally, when a node wanted to read transaction data, the node would request data from k of the n nodes with transaction data shards, and use Lagrange interpolation algorithm to recover the original transaction data. The experimental results show that the model not only guarantees the security, reliability and privacy of data to be placed in blockchain, but also effectively reduces the amount of data stored by each node to 1/(k-1), which is conducive to blockchain technology using in large-scale business scenarios.

Key words: storage in blockchain, Shamir's secret sharing, data security, data privacy, distributed storage

中图分类号: