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

Heterogeneous consensus method of block chain, and terminal

A block chain and consensus technology, applied in the field of block chain, to achieve the effect of increasing difficulty and improving security

Active Publication Date: 2019-02-22
福建福链科技有限公司
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The consensus mechanism of this model cannot fundamentally solve the defects faced by the consensus mechanism mentioned above

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
  • Heterogeneous consensus method of block chain, and terminal
  • Heterogeneous consensus method of block chain, and terminal
  • Heterogeneous consensus method of block chain, and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0083] Please refer to figure 1 , Embodiment 1 of the present invention is:

[0084] The present invention provides a heterogeneous consensus method of block chain, comprising the following steps:

[0085] Allocate the newly added nodes to the corresponding shards through the preset formula;

[0086] Described formula is x=sToi (add i )%n, wherein the i is the sequence number of the node, x is the sequence number of the fragment to be allocated by the node i, addi represents the address of the node i, and sToi represents the function of converting the address sequence into an integer; specifically, the address sequence is converted into Integer functions make use of the strtol function in the C standard library.

[0087] The set of preset consensus algorithms Co={Co 1 ,Co 2 ,...,Co m} (that is, preset m consensus algorithms), where Co k ,k=1,2,...,m, indicating the consensus algorithm with the sequence number k;

[0088] If a new shard is generated in the blockchain, t...

Embodiment 2

[0109] Please refer to figure 2 , the second embodiment of the present invention is:

[0110] The present invention provides a block chain heterogeneous consensus terminal, including a memory 1, a processor 2, and a computer program stored on the memory 1 and operable on the processor 2, when the processor 2 executes the program Realize all steps of embodiment one.

[0111] To sum up, the present invention provides a block chain heterogeneous consensus method and terminal. In each round of consensus process, a unique node is selected as the decision-making node of the block, and each fragment is Verifies the sub-message blocks sent by the decision-making node of each shard, and merges the sub-message blocks that pass the verification to obtain the merged message block, and sends the message blocks to the decision-making nodes corresponding to each shard for verification. When the number is greater than the preset number threshold, it means that the message block has passed ...

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 heterogeneous consensus method of a block chain, and a terminal. The method comprises the following steps: screening a unique node as a decision node of a block in each turn of consensus process; receiving a sub message block sent by each burst through the decision node, and verifying the sub message block sent by each burst; combining the sub message blocks passing the verification to obtain a combined message blocks; sending the message block to the decision node of each burst through the decision node of the block; if receiving signature information returned by a burst decision node exceeding the predetermined number thread, judging that the message block verification is passed; and the first signature information is the signature information corresponding to the returned verification passing after the decision node of the burst passes the message block verification. Through the method provided by the invention, the block chain security problem caused by Hacker attack can be prevented to a certain extent, and the security of the block chain is improved.

Description

technical field [0001] The present invention relates to the technical field of blockchain, in particular to a heterogeneous consensus method and terminal of blockchain. Background technique [0002] The consensus mechanism is one of the core technologies of blockchain. The consensus mechanism is a mechanism for users who do not trust each other to reach trust in the blockchain, and it is the basis for record transmission, verification, and replication in the blockchain. The current consensus mechanism mainly includes Proof of Work (PoW), Proof of Stake (PoS), Delegated Proof of Stake (DPoS) and Practical Byzantine Fault Tolerance (PBFT) And the deformation of these 4 consensus mechanisms. Of course, the new distributed ledger technology, such as the new distributed ledger technology represented by Directed Acyclic Graph (DAG), has its own consensus mechanism. There are more or less problems with the existing consensus mechanism. For example, the PoW consensus mechanism h...

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): H04L29/06H04L9/32H04L9/06
CPCH04L9/0643H04L9/3247H04L63/08H04L63/1441H04L9/50Y02D10/00
Inventor 斯雪明
Owner 福建福链科技有限公司
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