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

A block chain-based transaction processing method

A transaction processing and blockchain technology, applied in the blockchain field, can solve the problems that other nodes can only be idle, the transaction consensus correlation is strong, and the transaction confirmation time becomes longer, so as to achieve an efficient and orderly transaction process and reduce small packets. The effect of sending and avoiding network congestion

Active Publication Date: 2019-04-23
陕西医链区块链集团有限公司
View PDF2 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. The transaction must be irreversible, and after the block is irreversible, in the DPOS protocol, only one producer produces a block at a time point, that is to say, the transaction can only be executed on one node at the same time point, other nodes Can only be idle, resulting in a waste of resources
[0004] 2. In the DPOS protocol, the time required to reach a consensus on a block = the number of nodes * the time to produce a block, resulting in a longer transaction confirmation time
[0005] 3. An error in any transaction in the block will cause the transaction on the entire block to be rolled back, resulting in a strong correlation between the transaction consensus on the same block
[0006] 4. Transactions on the blockchain will be broadcast immediately when they are sent to the chain, causing network congestion when the number is large

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
  • A block chain-based transaction processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0034] Such as figure 1 As shown, the blockchain-based transaction processing method disclosed in the present invention includes the following steps:

[0035] (1) The blockchain node receives the transaction request, sends the transaction information to the virtual machine; and produces blocks at regular intervals;

[0036] (2) The virtual machine executes the transaction and returns the result to the original blockchain node;

[0037] (3) The blockchain node puts the transactions and results into the queue to be packaged, and packages multiple transactions executed by the blockchain node within a set time interval;

[0038] (4) The blockchain node broadcasts the packaged transaction, sends it to other blockchain nodes and puts it into the reversible transaction queue;

[0039] (5) After other blockchain nodes receive the transaction, they immediately verify the consensus, and then return the consensus result to the original blockchain node;

[0040] (6) The original blockc...

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 invention discloses a block chain-based transaction processing method, which comprises the following steps that (1) a block chain node receives a transaction request and sends transaction information to a virtual machine; (2) the virtual machine executes the transaction and returns a result to the original block chain node; (3) the blockchain node puts the transaction and the result into a to-be-packaged queue, and packages a plurality of transactions executed within a set time interval; (4) the block chain node broadcasts the packaged transactions, sends the transactions to other block chain nodes and then puts the transactions into a reversible transaction queue; (5) after other block chain nodes receive the transaction, the verification consensus is carried out, and a consensus result is returned to the original block chain node; (6) the transaction is converted into an irreversible transaction by the original block chain node according to a transaction PBFT consensus mechanism,and the irreversible transaction is put into a non-transactional queue; and (7) the irreversible transaction is packaged into a block produced by the block chain node by the original block chain node. According to the invention, the transaction processing efficiency is greatly improved.

Description

technical field [0001] The present invention relates to the field of block chains, in particular to a transaction processing method based on block chains. Background technique [0002] At present, the blockchain technology makes the block irreversible after reaching a consensus on the block, and then the transaction on the block becomes irreversible to complete the transaction. However, there are some disadvantages: [0003] 1. The transaction must be irreversible, and after the block is irreversible, in the DPOS protocol, only one producer produces a block at a time point, that is to say, the transaction can only be executed on one node at the same time point, other nodes Can only be idle, resulting in a waste of resources. [0004] 2. In the DPOS protocol, the time required to reach a consensus on a block = the number of nodes * the time to produce a block, resulting in a longer transaction confirmation time. [0005] 3. An error in any transaction in the block will caus...

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): G06Q40/04G06Q20/38G06Q20/42G06F9/455H04L9/32H04L12/18
CPCG06F9/45558G06F2009/45595G06Q20/3825G06Q20/42G06Q40/04H04L9/3247H04L12/1804
Inventor 苗政委
Owner 陕西医链区块链集团有限公司