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

A method for consensus mechanism based on contribution weight proof

A technology of contribution and consensus, applied in the field of blockchain, can solve problems such as wasting network/power resources, system delay, and high performance network environment requirements, and achieve the effect of ensuring smoothness and intelligent self-control

Active Publication Date: 2022-04-01
深圳讴谱科技有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

POW has high requirements on the performance of nodes and the network environment, which is extremely wasteful of network / electricity resources, and at the same time is inefficient
POS (weight proof mechanism) and DPOS (share authorization proof) system use the own assets of the node as a deposit to ensure the security of the system. To a certain extent, any node can participate, and the possible negative impact on the node is not Making judgments and rejections will lead to system delay or instability to a certain extent, and because DPOS (Share Authorization Proof) adopts an absolute single-dimensional multi-asset node election method as a consensus node, it will lead to a certain extent Concentration of assets, the rich get richer

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
  • A method for consensus mechanism based on contribution weight proof
  • A method for consensus mechanism based on contribution weight proof
  • A method for consensus mechanism based on contribution weight proof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] Such as figure 1 , in the embodiment of the application, the application provides a method for proving the consensus mechanism based on the contribution weight, the method includes steps:

[0057] S101: Determine whether the client node is a candidate node.

[0058] In this step, the candidate node has a certain parameter standard. At this time, the parameter of the client node is compared with this parameter standard. If the standard is met, the client node can be considered as a candidate node.

[0059] S102: If yes, construct the final contribution weight function from the three contribution dimensions of trust, time, and service and form a consensus node; where the expression of the final contribution weight function is:

[0060]Rv=votes*(Vtmax-Vtimestamp)+votes*(Bjmax- BekTime*10)+votes, Rv is the weight of the final contribution, votes is the number of votes of the client node, Vtmax is the The total timestamp, Vtimestamp is the timestamp difference of the initi...

Embodiment 2

[0076] Such as figure 2 , in the embodiment of the present application, the step of determining whether the client node is a candidate node in step S101 includes the steps of:

[0077] S201: Join the blockchain network to become an ordinary node;

[0078] S202: Pledge the digital resources of the system platform to become a candidate node;

[0079] S203: Conduct a confidence vote on the candidate node;

[0080] S204: Upload the vote value to the chain to obtain the V-KV table;

[0081] S205: Synchronize the V-KV table data to other nodes.

[0082] Among them, V means Votes, and KV means the Key-value database; the V-KV table is a data table that uses the KV database to record the corresponding votes of candidate nodes.

[0083] Further, performing a vote of confidence on the candidate nodes includes: each of the candidate nodes uses its own digital resources to perform a vote of confidence on the other candidate nodes.

[0084] In other embodiments, the performing a conf...

Embodiment 3

[0086] Such as image 3 , in the embodiment of this application, constructing the final contribution weight function from the three contribution dimensions of trust, time and service in step S102 and forming a consensus node includes steps:

[0087] S301: Obtain the time stamp difference Vtimestamp of the initial joining of the client node and BekTime, the number of failure times of the client node's packaged data, from the data link;

[0088] S302: Set the total time stamp difference Vtmax and the total number of service data packaging rounds Bjmax;

[0089] S303: Determine whether the joining time is outside the valid time domain;

[0090] S304: If yes, set the time weight Vt1=0;

[0091] S305: If not, calculate the time weight Vt1; wherein, Vt1=Vtmax-Vtimestamp;

[0092] S306: judging whether the number of service defaults exceeds the maximum range;

[0093] S307: If yes, set the quality weight Vb1=0;

[0094] S308: If not, calculate the quality weight Vb1; wherein, Vb...

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

A method for proving a consensus mechanism based on contribution weight, said method comprising the steps of: judging whether a client node is a candidate node; if so, constructing a final contribution weight function from three contribution dimensions of trust, time, and service and forming a consensus node; If not, synchronize blockchain data; select the consensus node; obtain transaction data from the data transaction buffer; package the transaction data and HASH, generate data blocks and verify HASH; broadcast to other nodes through the network; add all from the above data block to the blockchain block. This application can ensure the efficient, safe and stable production of block data in the blockchain system, and judge the nodes as consensus nodes through the three dimensions of trust, time, and service, ensuring the smoothness of data generation and intelligent self-control. According to the permanent non-tamperable records of the consensus nodes, under the influence of three dimensions, the consensus nodes participating in the production of block data can compete in a fairer and just environment.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a method for proving a consensus mechanism based on contribution weight. Background technique [0002] The consensus mechanism can ensure the effective operation of the entire blockchain system. Through the voting of special nodes, the verification and confirmation of transactions can be completed in a short period of time; for a transaction, if several nodes with irrelevant interests can reach a consensus, It can be considered that the entire network can also reach a consensus on this. [0003] The consensus mechanism is the algorithm basis for blockchain transactions to reach a distributed consensus. In a blockchain distributed system, different node hosts form a network cluster through asynchronous communication. In an asynchronous system, in order to ensure that error information is not propagated in the system when each network system failure occurs, it is necessary to...

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 Patents(China)
IPC IPC(8): H04L67/1095H04L9/32G06Q40/04
CPCH04L67/1095H04L9/3236G06Q40/04H04L9/50
Inventor 不公告发明人
Owner 深圳讴谱科技有限公司