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

Consensus algorithm for flexible packaging and block output of alliance block chain

A blockchain and chain flexible technology, applied in the blockchain field, can solve the problems of concentrated transaction time, low transaction volume, and occupation

Pending Publication Date: 2021-05-11
上海特高信息技术有限公司 +1
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the blockchain network, the consortium chain has the advantage of high efficiency compared with the quantitatively packaged blockchain. In order to improve the efficiency of the response, the consortium chain adopts regular packaging and the side rate of a single block does not limit the storage space, but the consortium chain In the case of low transaction frequency, a large number of empty blocks will also be generated. In each empty block, there is no transaction, and the status of the account has not changed, but it still requires a certain amount of storage space, which accumulates over time and takes up a lot of time. Useless ledger space, and at the beginning of the deployment of the alliance blockchain, the transaction volume is not high and the transaction time is relatively concentrated
Therefore, most of the ledger space is useless empty blocks

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
  • Consensus algorithm for flexible packaging and block output of alliance block chain
  • Consensus algorithm for flexible packaging and block output of alliance block chain
  • Consensus algorithm for flexible packaging and block output of alliance block chain

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0044] refer to Figure 1-3 As shown, a consensus algorithm for flexible packaging of alliance block chains in this embodiment includes several alliance block chain verification nodes 1, and alliance block chain verification nodes 1 are equipped with parameter synchronization module 2 and block verification module 3 , data packaging module 4 and flexible processing module 6;

[0045] The parameter synchronization module 2 is configured with flexible configuration parameters. The flexible configuration parameters are set with a scaling reference threshold, scaling level, expansion ratio and shrinking ratio. It obtains the flexible configuration parameter proposals sent by each consortium blockchain verification node 1, and the parameter synchronization module 2 receives them. The flexible configuration parameters initiated by each alliance blockchain verification node 1 propose a voting consensus. If the voting consensus result is reached, the consensus flexible configuration p...

Embodiment 2

[0062] Different from Embodiment 1, refer to figure 1 As shown, the consortium blockchain verification consortium blockchain verification node 1 is also equipped with a transaction initiation module, through which users conduct transactions and send transaction information across the network, and the transaction initiation module can complete the transaction initiation.

[0063] As a further improvement of the present invention, the alliance block chain verification alliance block chain verification node 1 includes a voting module 5, configured with a consensus value, receiving transaction information and flexible parameter configuration, if the consensus percentage of the transaction information and flexible parameter configuration is greater than the consensus value If the vote is passed, the transaction information and flexible parameter configuration will be sent across the network. If the consensus percentage of the transaction information and flexible parameter configurat...

Embodiment 3

[0066] Differences from Embodiment 1, please refer to figure 1 As shown, the expansion unit 63 includes a self-stopping subunit 631, and the self-stopping subunit 631 is configured with an upper limit value. If the scaling level of the next stage is less than or equal to the upper limit value calculated by the expansion algorithm, the extended time interval is sent to the data packaging module 4. If the scaling level of the next stage calculated by the extension algorithm is greater than the upper limit value, then delete the calculated scaling level of the next stage, and send the scaling level equal to the upper limit value to the data packaging module 4, and the self-stopping subunit 631 The limit is 720.

[0067] By setting the self-stop sub-unit 631, the problem of infinite expansion of the scaling level is prevented. In practice, users often subjectively judge whether blockchain transactions are active through the number of packaging times. If they are not packaged for a...

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 relates to the technical field of block chains, and discloses a consensus algorithm for flexible packaging and block output of an alliance block chain, and the key point of the technical scheme is that the consensus algorithm comprises a plurality of alliance block chain verification nodes, and each alliance block chain verification node is provided with a parameter synchronization module, a block verification module, a data packaging module and a flexible processing module. Under the condition that no transaction exists in one day, the number of the packaged empty blocks of the alliance block chain is greatly reduced, the number of the generated empty blocks is less than two thousandths of the original number, and the newly added space of an account book is reduced by about ninety nine percent; meanwhile, computing resources and network transmission data of all alliance block chain verification nodes of the alliance block chain are greatly reduced, and expansion or contraction each time is multiplied, so that the increased or decreased value is in normal distribution along with time change, and when there is a transaction, a second algorithm is adopted to perform block output immediately, so that the accuracy of transaction block output is improved, and the problem of repeated transactions in the same time is prevented.

Description

technical field [0001] The invention relates to the technical field of block chains, and more specifically relates to a consensus algorithm for flexible packaging and block generation of alliance block chains. Background technique [0002] In the blockchain network, the consortium chain has the advantage of high efficiency compared with the quantitatively packaged blockchain. In order to improve the efficiency of the response, the consortium chain adopts regular packaging and the side rate of a single block does not limit the storage space, but the consortium chain In the case of low transaction frequency, a large number of empty blocks will also be generated. In each empty block, there is no transaction, and the status of the account has not changed, but it still requires a certain amount of storage space, which accumulates over time and takes up a lot of time. Useless ledger space, and at the beginning of the deployment of the alliance blockchain, the transaction volume is...

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): G06F16/27
CPCG06F16/27Y02D10/00
Inventor 崔建军许文波刘力政陈卿刘宁海
Owner 上海特高信息技术有限公司