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

Method and device for processing transaction in block chain

A blockchain and transaction technology, applied in the blockchain field, can solve problems such as reducing transaction processing efficiency, unusability, and not considering read and write conflicts, and achieve the effect of improving transaction processing efficiency and avoiding uncertainty

Active Publication Date: 2021-07-16
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this implementation scheme, the speculative execution of the transaction does not consider the read and write conflicts with other transactions. When the variables accessed by different transactions do not overlap, this implementation scheme may have better results, but when different transactions have conflicting When the reading and writing of variables conflict, the execution result of the speculative execution will not be available, which reduces the transaction processing efficiency

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 processing transaction in block chain
  • Method and device for processing transaction in block chain
  • Method and device for processing transaction in block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present specification embodiment will be described below with reference to the drawings.

[0038] figure 1 A schematic diagram showing transaction propagation, incoming block, and execution in accordance with one embodiment. First, the block chain network contains several nodes, and communication can be performed between each node. In the node of the block chain network, at least some nodes are nodes with billing capabilities. The accounting node can package the collected transaction into a predetermined block, form a new block in the block chain.

[0039] Assume that a certain account node Bob is acquired to a transaction TX. The transaction TX can be transaction issued by a user terminal connected to the block chain of the node, or the transaction Tx can also be a transaction that another node Alice is forwarded. Also, the transaction TX can be a general transfer transaction, creating a smart contract transaction, or calling the intelligent contract.

[0040] The acc...

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 the invention provides a method and device for processing a transaction in a block chain, the method is executed by a block chain node, and the method comprises the following steps: obtaining a first transaction waiting for speculation execution, with the speculation execution being pre-execution of the transaction before the end of a transaction consensus; in a case where it is determined that a second transaction being speculatively executed first accesses a variable requesting access in the first transaction, performing speculative execution of the first transaction after speculative execution of the second transaction is completed.

Description

[0001] The present application is a score application for the application No. 20,2011,399167.1, filed on December 4, 2020, is approved in the presentation of the invention-called patent application named "a method and apparatus for transaction in the block chain". Technical field [0002] The present specification embodiment relates to the field of block chains, and more particularly to a method and apparatus for processing transactions in a block chain. Background technique [0003] In the block chain, the transaction is usually performed after consensus on the transaction, and the transaction processing efficiency is low due to the more time of the transaction consensus. In order to improve transaction processing efficiency, the prior art speculates before the consensus, the execution of the transaction is executed, and the resulting result is not submitted immediately, but is submitted if it is determined when it is determined when the transaction is given. When the transaction...

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 Applications(China)
IPC IPC(8): G06F9/52G06F9/50G06Q20/40G06Q20/38
CPCG06F9/524G06F9/5038G06Q20/405G06Q20/389
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