Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 calling the smart contract is executed, it usually cannot be executed in parallel

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

Embodiment Construction

[0051] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described The embodiments are only some of the embodiments in this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this specification.

[0052] figure 1 A block chain architecture diagram applied in an embodiment of this specification is shown. Such as figure 1 In the block chain, for example, there are 6 nodes including master node 1, slave node 2 to slave node 5. The connection between the nodes schematically represents a P2P (Peer to Peer, point-to-point) connection. These nodes store a f...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products