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

A method and system for expanding the number of transactions in a block

An expansion method and transaction technology, which is applied in the blockchain field, can solve the problems that the block cannot handle the transaction scale, weak scalability, and slow transaction processing, so as to reduce the problem of high network bandwidth occupation and achieve the effect of expansion

Active Publication Date: 2022-07-05
北京微芯感知科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The blockchain uses blocks to store transactions, and the transactions in the blocks have a strict order. At present, the scalability is very weak, and the transaction processing is slow. In HyperledgerFabric, the blocks are divided into ordinary blocks and configuration blocks, which can be configured through the configuration area. The block sets the number of transactions contained in a block and the size of the transaction. The transaction size includes the absolute transaction size and the recommended transaction size. For transactions that exceed the recommended transaction size limit, they will be placed in subsequent blocks to be packaged; in In Bitcoin, the block size is limited to no more than 1MB
[0003] However, in Fabric, the transaction size limit in the configuration block makes the number of transactions in the block relatively fixed, which cannot dynamically adapt to the increase in transaction processing scale; the block size limit of 1MB in the Bitcoin system makes a large number of transactions need to wait in line being packaged, the block cannot handle the increase in transaction size

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 method and system for expanding the number of transactions in a block
  • A method and system for expanding the number of transactions in a block

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0037] The embodiment of the present invention discloses a method for expanding the number of transactions in a block, comprising the following steps:

[0038] S1. Pre-sort the transaction sequence to obtain the pre-sorted transaction sequence and send it;

[0039] S2. The master node receives the pre-sorted transaction sequence and selects the offset, takes the transaction between the offset of the previous block and the master node'...

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 method and system for expanding the number of transactions in a block, comprising the following steps: pre-sorting and sending a transaction sequence; a master node receives the pre-sorted transaction sequence and selects an offset, packages them to form candidate blocks, The transaction sequence information of the candidate block is broadcast to each slave node; the master node and each slave node obtain the transaction according to the transaction sequence information of the candidate block, execute the transaction and sign the execution result, and the master node collects the execution results of all nodes and verifies them. The verified execution result is broadcast to each slave node; after each node receives the number of votes that meet the requirements of the specific consensus algorithm, it executes the block drop database; the transaction based on the pre-sorted transaction sequence of the present invention reduces the uncertainty of the transaction sequence and the transaction. The possibility of loss; based on the adjustment of the offset, the number of transactions in the block can be adjusted according to the number of transactions in the transaction pool, so as to realize the expansion of the number of transactions in the block.

Description

technical field [0001] The invention relates to the technical field of blockchain, and more particularly to a method and system for expanding the number of transactions in a block. Background technique [0002] The blockchain uses blocks to store transactions, and the transactions in the blocks have a strict order. At present, the scalability is very weak, and the transaction processing is slow. In HyperledgerFabric, blocks are divided into ordinary blocks and configuration blocks, which can be configured through the The block sets the number of transactions and the size of the transactions contained in a block. The transaction size includes the absolute transaction size and the recommended transaction size. For transactions that exceed the recommended transaction size limit, they will be placed in subsequent blocks to be packaged; in In Bitcoin, the block size is limited to no more than 1MB. [0003] However, in Fabric, the limit of the transaction size in the configuratio...

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): H04L9/32G06F16/27
CPCH04L9/3247H04L9/3297H04L9/3239G06F16/27
Inventor 不公告发明人
Owner 北京微芯感知科技有限公司