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

Method and device for concurrently executing transactions in blockchain

A blockchain and transaction technology, applied in the blockchain field, can solve the problems that transactions can only be executed serially, and cannot obtain the account of the transfer party and the transfer party in advance, so as to avoid time costs and speed up efficiency.

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

AI Technical Summary

Problems solved by technology

However, when there are hot accounts, there will be a large number of transactions that can only be executed serially, and when transferring funds through contract calls, the transfer-out account and transfer-in account cannot be obtained in advance, and this method will no longer be applicable

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 concurrently executing transactions in blockchain
  • Method and device for concurrently executing transactions in blockchain
  • Method and device for concurrently executing transactions in blockchain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0047] figure 1 A schematic diagram of a blockchain system according to an embodiment of this specification is shown. Such as figure 1 As shown, the system includes a plurality of nodes (six nodes are schematically shown in the figure) that constitute a block chain, and these nodes are connected in pairs, including node 11, node 12 and node 13, for example. As known to those skilled in the art, in the block chain, some nodes will collect multiple transactions in the block chain and put them into the transaction pool and compete for bookkeeping rights. For example, node 11 in the figure becomes a billing node by acquiring the billing right. After node 11 becomes an accounting node, it will execute multiple transactions in its transaction pool, and package the multiple transactions into blocks and send them to other nodes, such as node 12. Nodes 12 will validate th...

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 executing multiple transactions concurrently in the block chain, wherein the multiple transactions have a predetermined order of submission, including the first transaction, and the order of the first transaction includes At least one predetermined operation, the predetermined operation corresponds to the first operation if the predetermined condition is met, and the current submission order of the first transaction is located after the first position, and the method is the first node in the blockchain Executing, including: when executing the first predetermined operation in the at least one predetermined operation, recording a first log in the first storage space corresponding to the first transaction, and recording the first log in the first storage space the recording order of logs in the logs recorded in the first storage space, the first log corresponds to the first operation in the first predetermined operation; and skipping the first predetermined operation and continuing to execute the Operations after the first predetermined operation in the first transaction.

Description

technical field [0001] The embodiment of this specification relates to the technical field of blockchain, and more specifically, to a method and device for executing transactions concurrently in blockchain. Background technique [0002] Blockchain technology is built on a peer-to-peer (P2P) network, uses a chained data structure to verify and store data, uses a distributed node consensus algorithm to generate and update data, and uses cryptography to ensure the security of data transmission and access. A new distributed infrastructure and computing paradigm that uses smart contracts composed of automated script code to program and manipulate data. Blockchain technology, also known as distributed ledger technology, is a decentralized distributed database technology, which is characterized by decentralization, openness and transparency, non-tamperable and trustworthy. Every piece of data in the blockchain will be broadcast to the blockchain nodes of the entire network, and ea...

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/04G06Q20/10G06Q20/38G06Q20/40
CPCG06Q20/102G06Q20/389G06Q20/405G06Q40/04
Inventor 刘晓建张兆勇
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD