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

Block chain consensus method and device, equipment and storage medium

A block chain and block technology, applied in the field of block chain, can solve problems such as difficult to adapt to the block chain network environment of application nodes, high communication complexity, system transaction performance degradation, etc., to achieve reliable timing relationship measurement and improve security The effect of increasing performance, improving scalability and transaction throughput

Pending Publication Date: 2022-04-05
CHINA UNIONPAY
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the traditional consensus scheme has high communication complexity, and the transaction performance of the system decreases significantly with the increase of the network node scale. Therefore, it is mostly used in small-scale alliance chain networks, and it is difficult to adapt to the blockchain network environment with increasing application nodes.

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
  • Block chain consensus method and device, equipment and storage medium
  • Block chain consensus method and device, equipment and storage medium
  • Block chain consensus method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach 1

[0170] Embodiment 1: Obtain a target valid block from each valid block sequence; based on the obtained logical clock corresponding to each target valid block, perform global sorting on each target valid block to obtain a global blockchain.

[0171] Specifically, a target valid block is randomly obtained from each valid block sequence. According to the order of the logical clock from small to large, the selected target effective screening blocks are globally sorted to obtain the global blockchain. When there are target valid blocks with the same logical clock, the target valid blocks with the same logical clock are sorted based on sub-block chain numbers or block hashes to obtain the global blockchain.

[0172] For example, if Figure 8As shown, it is a parallel multi-chain architecture provided by the embodiment of the present application. The parallel multi-chain architecture includes sub-block chain C0, sub-block chain C1 and sub-block chain C2, wherein sub-block chain C0 i...

Embodiment approach 2

[0175] Embodiment 2: Obtain the latest stable block from each valid block sequence, obtain the minimum logical clock from the logical clock corresponding to each latest stable block, and use the minimum logical clock as the block clock boundary. From each stable block, a target stable block whose logic clock is less than or equal to the block clock boundary is screened out. Based on the obtained logical clocks corresponding to each target stable block, each target stable block is globally sorted to obtain a global blockchain.

[0176] Specifically, according to the order of logical clocks from small to large, the global sorting of each target stable block is performed to obtain a preliminary sorting result. If there are target stable blocks with the same logical clock in the preliminary sorting result, then based on the sub-block chain number or block hash, sort the target stable blocks with the same logical clock to obtain the global blockchain.

[0177] When sorting the tar...

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 block chain consensus method and device, equipment and a storage medium, and relates to the technical field of block chains, and the method comprises the steps that a node generates a target block based on transaction data and a verifiable delay function, or synchronously obtains the target block from other nodes. And determining a target sub-block chain to which the target block belongs from the plurality of sub-block chains, and adding the target block to the target sub-block chain. Then, respectively obtaining respective corresponding effective block sequences from the plurality of sub-block chains; and on the basis of the obtained logic clocks corresponding to all the effective blocks, all the effective blocks are globally sorted, and a global block chain is obtained. The global block chain is obtained in a multi-chain consensus mode, and the expandability and transaction throughput of the block chain system in a large-scale open network environment are improved. Based on the logic clocks corresponding to all the effective blocks, when all the effective blocks are globally sorted to obtain the global block chain, the security of the multi-chain system can be better improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of blockchain, and in particular, to a blockchain consensus method, device, equipment, and storage medium. Background technique [0002] Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. The blockchain consensus protocol is the key technology of the underlying blockchain platform, which directly determines the security and system performance of the blockchain system. [0003] Traditional consensus protocols (such as Raft protocol, Practical Byzantine Fault Tolerance (PBFT for short)) or their improved protocols are mostly based on the collaborative method of state machine replication to achieve consensus. However, the traditional consensus scheme has high communication complexity, and the transaction performance of the system decreases significantly with the increa...

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/27H04L9/3239H04L9/3297H04L9/50H04L9/06
Inventor 黄彦胡庆林周钰刘为怀胡景秀乐旭许玉壮王贺贺徐照晔
Owner CHINA UNIONPAY
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