首页> 外国专利> DATA QUERY METHOD AND SYSTEM, CONSENSUS METHOD AND SYSTEM, DEVICE AND STORAGE MEDIUM

DATA QUERY METHOD AND SYSTEM, CONSENSUS METHOD AND SYSTEM, DEVICE AND STORAGE MEDIUM

机译:数据查询方法和系统,共识方法和系统,设备和存储介质

摘要

The present invention provides a data query method and system, a consensus method and system, a device and a storage medium. Each node of a blockchain network stores a Merkle tree of each block and a global index table corresponding to the Merkle tree of each block. The version number of the version above is a block height. The data query method comprises: receiving a query instruction, the query instruction comprising a first block height queried; and searching for, according to the first block height, target data in the global index table. By means of configuring, for a Merkle tree, a corresponding global index table taking the block height as a version number, and searching for, by means of the queried block height, target data in the global index table, the present invention achieves querying, by means of performing the read operation once, of leaf node data in the Merkle tree in the blockchain, thereby greatly improving the data reading performance of a system.
机译:本发明提供了一种数据查询方法和系统,共识方法和系统,装置和存储介质。区块链网络的每个节点存储每个区块的Merkle树和与每个区块的Merkle树相对应的全局索引表。上面版本的版本号是块高度。该数据查询方法包括:接收查询指令,该查询指令包括查询的第一块高;根据所述第一块高在所述全局索引表中查找目标数据。通过为梅克尔树配置以块高度为版本号的对应全局索引表,并通过查询块高度在全局索引表中搜索目标数据,实现了查询,通过对区块链中的默克尔树中的叶节点数据执行一次读取操作,从而大大提高了系统的数据读取性能。

著录项

  • 公开/公告号WO2020029931A1

    专利类型

  • 公开/公告日2020-02-13

    原文格式PDF

  • 申请/专利权人 HANGZHOU FUZAMEI TECHNOLOGY CO. LTD;

    申请/专利号WO2019CN99336

  • 发明设计人 WANG ZHIWEN;WU SIJIN;

    申请日2019-08-06

  • 分类号G06F16/2458;

  • 国家 WO

  • 入库时间 2022-08-21 11:13:29

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号