物联网学报 ›› 2021, Vol. 5 ›› Issue (2): 116-124.doi: 10.11959/j.issn.2096-3750.2021.00219

所属专题: 区块链

• 理论与技术 • 上一篇    下一篇

一种具有主从区块的区块链架构

谭朋柳, 万里旭冉   

  1. 南昌航空大学软件学院,江西 南昌 330063
  • 修回日期:2021-01-25 出版日期:2021-06-30 发布日期:2021-06-01
  • 作者简介:谭朋柳(1975- ),男,南昌航空大学副教授,主要研究方向为区块链、信息物理融合系统、智能医疗等
    万里旭冉(1996- ),女,南昌航空大学软件学院硕士生,主要研究方向为区块链
  • 基金资助:
    国家自然科学基金资助项目(61961029);江西省科技厅重点研发计划项目(20171ACE50025)

A blockchain architecture with master-slave blockchain

Pengliu TAN, Lixuran WAN   

  1. School of Software,Nanchang Hangkong University, Nanchang 330063, China
  • Revised:2021-01-25 Online:2021-06-30 Published:2021-06-01
  • Supported by:
    The National Natural Science Foundation of China(61961029);The Key Research and Development Plan in Jiangxi Province Department of Science and Technology(20171ACE50025)

摘要:

随着区块链技术的不断发展,不同的适应场景衍生出不同的链,每种链都各具特色,如比特币、以太坊等公有链、大量的私有链和联盟链。但就目前互联网的发展情况而言,许多应用场景在传统单链结构的区块链上的实现变得尤为不便。提出了一种具有主从区块(MSBC, master-slave blockchain)的区块链架构,主要由主区块、从属主块和从属微块三部分组成,主链由主区块组成,每一个主区块的侧链上都有一个从属主块和多个从属微块。另外,主区块与主区块之间直接通过前块哈希相连,主区块与从属主块之间通过唯一信息的哈希值连接,而从属微块与前一块(无论从属主块或从属微块)之间也通过前块哈希进行连接。这种结构可以将人才链中固定不变的简历信息放在主链上,而将不断更新的简历信息放在侧链上。MSBC架构可扩展性更强,并且可以提高数据的查询效率。实验结果验证了此架构可以提高人才链等类似应用中的可行性以及查询效率。

关键词: 区块链, 主从区块, 侧链

Abstract:

With the continuous development of blockchain technology, different chains are derived due to different adaptation scenarios.Each chain has its own characteristics, such as public chains like bitcoin and ethereum, a large number of private chains and alliance chains.But as far as the current Internet is concerned, the implementation of many application scenarios on traditional blockchains has become particularly inconvenient.A master-slave blockchain (MSBC) architecture was proposed, which was mainly composed of a master block, a subordinate master block and a subordinate micro block.The master chain was composed of master blocks.Each master block has a slave master block and multiple slave micro block on its side chain.In addition, the master block and the master block were directly connected by the Hash of the previous block, the master block and the slave master block were connected by the Hash of the unique information, and the slave micro block and the previous block (whatever the slave master block or the slave micro block) was also connected by the Hash of the previous block.In talent chain, this kind of structure could put a person’s fixed resume information on the master chain, but updated resume information constantly on the slave side chain.MSBC architecture was more scalable, and it could improve the efficiency of data query.The experimental results show that the framework in the similar applications such as talent chain is feasible and the query efficiency has been improved greatly.

Key words: blockchain, master-slave block, side chain

中图分类号: 

No Suggested Reading articles found!