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

Method and device for executing transactions in blockchain

A blockchain and transaction technology, applied in the blockchain field, can solve the problems of unpredictable access variables and parallel execution, and achieve the effect of improving transaction execution speed, improving utilization, and ensuring state consistency.

Active Publication Date: 2022-02-08
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF9 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 and device for executing transactions in blockchain
  • Method and device for executing transactions in blockchain
  • Method and device for executing transactions in blockchain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] 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.

[0024] figure 1 It is a schematic diagram of the process of executing transactions in the blockchain provided by related technologies.

[0025] Such as figure 1 As shown, generally speaking, in related technologies, when executing transactions in the blockchain, it is done block by block. For example, the transaction execution process of block N is completed...

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

This specification provides a method and device for executing transactions in the blockchain, which are applied to blockchain nodes. According to the method, multiple first transactions belonging to the first block are received, and the multiple first transactions are pre-determined. Execute to obtain the pre-execution read-write set of the plurality of first transactions; the pre-execution read-write set is used to group the plurality of first transactions; when performing pre-execution on the plurality of first transactions During the process, consensus is performed on the second block in parallel; the second block is a block before the first block.

Description

technical field [0001] One or more embodiments of this specification relate to the technical field of blockchain, and in particular to a method and device for executing transactions in blockchain. 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. When a blockchain node executes multiple transactions in a block, it can speed up transaction execution by executing transactions in parallel. However, since the variables accessed cannot be predicted before the transactions calling smart contracts are executed, they usually cannot be executed in parallel. Contents of the invention [0003] One or mo...

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): 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