Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for querying fabric blockchain ledger data

A chain ledger and blockchain technology, applied in the blockchain field, can solve problems such as failure to read and write subsequent transactions, and achieve the effect of saving query time

Active Publication Date: 2021-11-02
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Based on the ordering of each transaction, it is possible that the execution of the previous transaction changes the value of a certain parameter, which makes the reading and writing of the subsequent transaction fail. Mark this follow-up transaction as " 0 ” to indicate that the transaction failed to execute

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for querying fabric blockchain ledger data
  • Method and device for querying fabric blockchain ledger data
  • Method and device for querying fabric blockchain ledger data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] Embodiments of this specification will be described below with reference to the accompanying drawings.

[0062] figure 2 A schematic diagram showing a Fabric blockchain query system according to an embodiment of this specification. Such as figure 2 As shown in , the query system includes user equipment 21 , management equipment 22 and Fabric block chain 23 . Among them, the user device 21 can be an off-chain device of the Fabric blockchain, which can be a user's device of the Fabric blockchain, a node device of other blockchains, or used to transfer messages between multiple blockchains The repeater equipment and the like are not limited here. The management device 22 provides the user device 21 with a query service for the ledger data of the Fabric blockchain. The management device 22 itself is a client node of the Fabric block chain that has the right to query account book data. Fabric Blockchain 23 in figure 2 is shown schematically as including peer nodes 1...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of this specification provides a method and device for querying the ledger data of the Fabric blockchain. At least one endorsement node is preset in the Fabric blockchain. The method is executed by the off-chain device, including: sending to the at least An endorsement node respectively sends a transaction proposal, and the transaction proposal is used to request to query the first ledger data; respectively receives query results from the at least one endorsement node to obtain the first ledger data.

Description

technical field [0001] The embodiment of this specification relates to the field of blockchain technology, and more specifically, to a method and device for querying Fabric blockchain ledger data. Background technique [0002] The Hyperledger Fabric blockchain (hereinafter referred to as the Fabric blockchain) is an enterprise-oriented consortium chain. The Fabric blockchain includes the following types of nodes: client nodes, peer (Peer) nodes, sorting (orderer) nodes, and so on. The peer nodes further include endorsement (Endorsor) nodes, management (Anchor) nodes, committer (Committer) nodes, and the like. The Fabric blockchain includes multiple channels, and each channel has its own closed ledger data and chaincode, which is the smart contract in the Fabric blockchain. Peers can choose which channels to join, and they can join a channel after being authenticated by peers already in the channel. The client node can initiate a transaction proposal to a channel in the Fa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/2458G06Q40/04H04L29/06
CPCG06F16/2471G06Q40/04H04L63/10
Inventor 余逸荣
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD