基于二级索引机制的区块链系统查询模型  被引量:1

Query model of blockchain system based on secondary index mechanism

在线阅读下载全文

作  者:张虹 卫忠琦 ZHANG Hong;WEI Zhongqi(Department of Computer,Taiyuan Normal University,Jinzhong Shanxi 030619,China)

机构地区:[1]太原师范学院计算机系,山西晋中030619

出  处:《计算机应用》2022年第S02期129-134,共6页journal of Computer Applications

基  金:2021年度太原师范学院研究生教育创新项目(SYYJSJC02172)。

摘  要:区块链作为一种低成本的信任机制被广泛用于需要多方协作的领域。然而,现有的区块链仅能通过哈希值和时间戳等方式对区块中的交易进行检索,导致区块链不能很好地适用于查询密集型应用场景。针对以上问题,提出一种基于账户公钥和智能合约的查询模型。所提模型通过在区块和交易的哈希值上建立二级索引,使用户可以通过账户信息快速准确地检索交易信息;此外,所提模型将建立的二级索引作为一个特殊节点加入区块链网络,并通过智能合约建立访问控制机制,使其能够安全地被全体用户共同维护和共享。实验结果表明,所提模型以较小的空间代价,减小了交易规模对查询效率的影响;同时,使用智能合约设计访问控制机制不仅简化了二级索引的一致性验证,也为其破坏后恢复提供了一种有效手段。As a low-cost trust mechanism,blockchain is widely used in fields that require multi-party cooperation.However,transactions in the blocks are only searched through hash values and timestamps by the existing blockchain,so that the existing blockchain is not suitable for scenarios including intensive queries.In order to solve the above problems,a query model based on account public key and smart contract was proposed.Secondary index was constructed on the hash values of blocks and transactions by the proposed model,by which transaction information could be quickly and accurately queried by users.In addition,the secondary index was added to the blockchain network as a special node by the proposed model,and an access control mechanism was established through smart contracts,which was safely maintained and shared by all users.The experimental results show that the proposed model not only greatly weakens the effect of transaction scale on query efficiency with smaller space cost,but also simplifies the consistency verification of secondary index.And the new model supports its recovery if it is destructed.

关 键 词:区块链 字典树 智能合约 查询机制 非对称加密 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象