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

Block chain consensus method and computer readable storage medium

A blockchain and consensus technology, applied in the field of network information, can solve problems such as lack of security, network attacks, and easy success, and achieve the effects of ensuring generation efficiency, improving block generation efficiency, and avoiding malicious attacks

Pending Publication Date: 2022-04-22
QINGDAO HAIER REFRIGERATOR CO LTD +1
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of generating blocks, the master node is the clear center on the network, and other nodes cannot supervise the behavior of the master node
If the master node itself launches a malicious attack on the network, it is easy to succeed
At the same time, due to the authentication of the alliance chain, the information of the verification node is public, and it is easy to be attacked by an external network, causing a single point of failure or a Byzantine problem.
[0004] Therefore, POA, as a consensus mechanism with obvious centralization, lacks security against malicious attacks, and the security risks brought about by centralization need to be resolved

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 computer readable storage medium
  • Block chain consensus method and computer readable storage medium
  • Block chain consensus method and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] figure 1 is a schematic diagram of a block chain consensus method according to an embodiment of the present invention, and the block chain consensus method may generally include:

[0046] In step S102, multiple consensus nodes are determined from authorized nodes through POA election. The address of the authorized node is stored in an extra field (extra) in the block header (header). For example, the POA committee set (Signers) can be stored in the additional field of the block header, and the POA committee set is used to store the addresses of the authorized nodes, wherein the authorized nodes are arranged according to the address size.

[0047] An initial set of authorized nodes is specified in the genesis block. Authorized nodes may be added or deleted later, so authorized nodes stored in blocks of different heights may be different.

[0048] Step S104, using a preset priority algorithm to determine the PBFT master node from multiple consensus nodes, and use the r...

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 provides a block chain consensus method and a computer readable storage medium. The block chain consensus method comprises the following steps: determining a plurality of consensus nodes from authorization nodes through POA election; determining a PBFT main node from the plurality of consensus nodes by using a preset priority algorithm, and taking the other consensus nodes as PBFT verification nodes; pBFT consensus operation is carried out by using the PBFT main node and the PBFT verification node; and if the consensus is reached, broadcasting a consensus result to all nodes of the block chain so as to perform account book state synchronization to form a new block. According to the scheme, the Byzantine fault-tolerant consensus mechanism of the PBFT master and slave nodes is combined with the POA consensus, and hostile attacks caused by serious centralization of the POA consensus mechanism are avoided.

Description

technical field [0001] The invention relates to network information technology, in particular to a blockchain consensus method and a computer-readable storage medium. Background technique [0002] POA (Proof of Authority) is a group of authorized nodes responsible for the generation of new blocks and block verification. After sorting the addresses of the authorized nodes in ascending order, they will obtain the accounting rights in turn in sequence. The nodes of POA include ordinary nodes (nodes) and authorized nodes (signers), among which ordinary nodes do not have the right to generate blocks. Authorized nodes are responsible for generating blocks. [0003] Authorized nodes for bookkeeping are called master nodes (or miners). In the process of generating blocks, the master node is the clear center on the network, and other nodes cannot supervise the behavior of the master node. If the master node itself launches a malicious attack on the network, it can easily succeed. ...

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): H04L67/1097H04L67/1095H04L9/40G06F16/27
CPCH04L67/1097H04L67/1095H04L63/1416H04L63/1441G06F16/27H04L2209/463
Inventor 艾景海马廷鲍乐祥纪玉翀
Owner QINGDAO HAIER REFRIGERATOR 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