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

Consensus method and device of block chain and computer readable storage medium

A blockchain and consensus technology, applied in the blockchain field, can solve problems such as consuming system resources

Pending Publication Date: 2022-04-29
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, there is no algorithm that can avoid consuming a large amount of system resources on the basis of ensuring good consensus efficiency

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 method and device of block chain and computer readable storage medium
  • Consensus method and device of block chain and computer readable storage medium
  • Consensus method and device of block chain and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to facilitate the understanding of the present application, the relevant elements involved in the present application are now described.

[0042] Blockchain: also known as distributed ledger technology, is an emerging technology in which several computing devices jointly participate in "bookkeeping" (that is, record transaction data) and jointly maintain a complete distributed database. Since blockchain technology has the characteristics of decentralization (that is, no central node), openness and transparency, each computing device can participate in database records, and fast data synchronization between computing devices, blockchain technology has been used in Widely applied in many fields.

[0043] In the blockchain, transaction data is permanently stored in the form of electronic records, and the files storing these electronic records are called "blocks". Blocks are generated one by one in chronological order, and each block records all transactions that ...

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 consensus method and device and a computer readable storage medium, relates to the technical field of block chains, and is used for avoiding consumption of a large number of system resources on the basis of guaranteeing good consensus efficiency. The method comprises the following steps: a consensus device sends an election request to each node in a block chain so as to start an election process based on a simulated annealing algorithm; in each iteration round of the simulated annealing algorithm, the consensus device obtains a recursion voucher randomly generated by each node in the block chain, and judges whether each node meets an election requirement or not according to the recursion voucher randomly generated by each node; after the operation of the simulated annealing algorithm is finished, the consensus device determines N candidate nodes according to the number of times that each node meets the election requirement, and N is a positive integer greater than 1; and the consensus device selects a leader node from the N candidate nodes based on a preset leader node selection rule.

Description

technical field [0001] The present application relates to the field of block chain technology, and in particular to a block chain consensus method, device and computer-readable storage medium. Background technique [0002] A blockchain is a decentralized database consisting of a continuously growing list of records called blocks. Each block contains a timestamp and a link to the previous block. Once the data is recorded in the block, it cannot be tampered with. [0003] The blockchain uses a consensus algorithm to achieve data consistency between distributed nodes on the blockchain, and the consensus algorithm determines the bookkeeping rights of the current block. There are mainly two types of consensus algorithms in the prior art. The first is a competitive consensus algorithm, in which nodes on the chain compete for the accounting rights of blocks by consuming computing power. The second is a negotiation-type consensus algorithm. The nodes on the chain negotiate to sele...

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/27G06F17/10
CPCG06F16/27G06F17/10
Inventor 任杰王光全薛淼刘千仞任梦璇
Owner CHINA UNITED NETWORK COMM GRP CO LTD
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