Method for executing transaction in block chain, block chain and slave node

A blockchain and transaction technology, applied in the blockchain field, can solve the problems of variables that cannot be executed in parallel and cannot be accessed predictably, and achieve the effect of improving execution speed and transaction execution speed.

Active Publication Date: 2021-12-03
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the variables accessed cannot be predicted before the transaction

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 for executing transaction in block chain, block chain and slave node
  • Method for executing transaction in block chain, block chain and slave node
  • Method for executing transaction in block chain, block chain and slave node

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0051] In order to better understand the technical solution in the present specification, it will be described in conjunction with the drawings in the present specification, and will be described in conjunction with the drawings in the present specification. The embodiment is merely a part of the embodiments of the present specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by those of ordinary skill in the art without creative labor should belong to the scope of this specification.

[0052] figure 1 The block chain architecture diagram applied by an embodiment of the present specification is shown. like figure 1 In the block chain, for example, a primary node 1 contains 6 nodes from the node 2 to the node 5. The connection between the node is schematically representing the P2P (Peer to Peer, point-to-point) connection. All of these nodes are stored in full books, namely the state of all blocks and all accounts...

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

A method for executing a transaction in a block chain, a block chain and a slave node, the method comprising: a master node pre-executes a plurality of received transactions to obtain a first pre-execution read-write set of each transaction; the slave node pre-executes the received transactions to obtain a second pre-execution read-write set of each transaction; the master node sends the first pre-execution read-write set of each transaction to the slave node; the slave node groups the plurality of transactions based on the first pre-execution read-write set of each transaction; and the slave node executes the plurality of transactions in parallel based on the first pre-execution read-write set, the second pre-execution read-write set and the grouping result of the plurality of transactions.

Description

technical field [0001] The embodiment of this specification relates to the technical field of block chain, and more specifically, relates to a method for executing transactions in the block chain, the block chain, and slave nodes. Background technique [0002] Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. In the blockchain system, the data blocks are combined into a chained data structure in a sequentially connected manner in chronological order, and the data blocks are cryptographically guaranteed to be tamper-proof and unforgeable. Due to the characteristics of decentralization, non-tamperable information, and autonomy, the blockchain has also received more and more attention and application. When a blockchain node executes multiple transactions in a block, it can speed up transaction execution by executing transactions in parallel. However, sinc...

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
IPC IPC(8): G06Q40/04G06F21/64
CPCG06Q40/04G06F21/64
Inventor 谢桂鲁邓福喜
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products