Blockchain node synchronization method and device using trust mechanism

US11228386B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11228386-B2
Application numberUS-201816760188-A
CountryUS
Kind codeB2
Filing dateSep 20, 2018
Priority dateJun 29, 2018
Publication dateJan 18, 2022
Grant dateJan 18, 2022

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present application proposes a blockchain node synchronization method and device using a trust mechanism. The method comprises: acquiring data throughput history data of each node in a routing table of a node to be synchronized; acquiring synchronization success rate history data of each node in the routing table of the node to be synchronized; acquiring a total difficulty value of a blockchain currently stored by each node in the routing table of the node to be synchronized; determining a credibility of each node in the routing table according to the data throughput history data, the synchronization success rate history data, and the total difficulty value of the blockchain; and selecting, according to the credibility of each node, a target node for synchronization, and synchronizing, according to blockchain data stored by the target node, the node to be synchronized.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for synchronizing blockchain nodes based on a trust mechanism, comprising: obtaining historical data of data throughput of each node in a routing table of a node to be synchronized; obtaining historical data of synchronization success rate of each node in the routing table of the node to be synchronized; obtaining a total difficulty value of a blockchain currently stored by each node in the routing table of the node to be synchronized; determining a credibility of each node in the routing table according to the historical data of data throughput, the historical data of synchronization success rate, and the total difficulty value of the blockchain; and selecting a target node for synchronization according to the credibility of each node, and synchronizing the node to be synchronized according to the blockchain stored by the target node. 2. The method according to claim 1 , wherein determining the credibility of each node in the routing table according to the historical data of data throughput, the historical data of synchronization success rate, and the total difficulty value of the blockchain, comprises: calculating an average value of the data throughput of each node in a recent predefined time interval according to the historical data of data throughput, and using the average value as a data throughput parameter; obtaining a reputation value of each node according to the historical data of synchronization success rate, wherein the reputation value is a value calculated according to a predefined rule based on the historical data of synchronization success rate; and determining the credibility of each node according to the data throughput parameter, the reputation value, and the total difficulty value of the blockchain. 3. The method according to claim 2 , wherein determining the credibility of each node in the routing table according to the data throughput parameter, the reputation value, and the total difficulty value of the blockchain, comprises: for each node, performing a weighted summation on the data throughput parameter, the reputation value, and the total difficulty value of the blockchain according to predefined weighting coefficients, and determining the credibility of the node according to a result of the weighted summation. 4. The method according to claim 2 , wherein obtaining the reputation value of each node according to the historical data of synchronization success rate comprises calculating the reputation value of each node recursively according to the following formula: ξ = ξ - 1 + N N + 1 · φ where ξ represents a current reputation value of the node; ξ −1 represents a historical reputation value of the node most recently calculated; N is a number of times that the node is successfully synchronized as the target node in a predefined number of most recent node synchronization operations; and φ is a predefined reward and punishment coefficient. 5. The method according to claim 3 , wherein obtaining the reputation value of each node according to the historical data of synchronization success rate comprises calculating the reputation value of each node recursively according to the following formula: ξ = ξ - 1 + N N + 1 · φ where ξ represents a current reputation value of the node; ξ −1 represents a historical reputation value of the node most recently calculated; N is a number of times that the node is successfully synchronized as the target node in a predefined number of most recent node synchronization operations; and φ is a predefined reward and punishment coefficient. 6. A non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the processor is caused to implement the method for synchronizing blockchain nodes based on a trust mechanism comprising: obtaining historical data of data throughput of each node in a routing table of a node to be synchronized; obtaining historical data of synchronization success rate of each node in the routing table of the node to be synchronized; obtaining a total difficulty value of a blockchain currently stored by each node in the routing table of the node to be synchronized; determining a credibility of each node in the routing table according to the historical data of data throughput, the historical data of synchronization success rate, and the total difficulty value of the blockchain; and selecting a target node for synchronization according to the credibility of each node, and synchronizing the node to be synchronized according to the blockchain stored by the target node. 7. A computing device, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the computer program is executed by the processor, the processor is configured to synchronize blockchain nodes based on a trust mechanism by: obtaining historical data of data throughput of each node in a routing table of a node to be synchronized; obtaining historical data of synchronization success rate of each node in the routing table of the node to be synchronized; obtaining a total difficulty value of a blockchain currently stored by each node in the routing table of the node to be synchronized; determining a credibility of each node in the routing table according to the historical data of data throughput, the historical data of synchronization success rate, and the total difficulty value of the blockchain; and selecting a target node for synchronization according to the credibility of each node, and synchronizing the node to be synchronized according to the blockchain stored by the target node. 8. The non-transitory computer-readable storage medium according to claim 6 , wherein determining the credibility of each node in the routing table according to the historical data of data throughput, the historical data of synchronization success rate, and the total difficulty value of the blockchain, comprises: calculating an average value of the data throughput of each node in a recent predefined time interval according to the historical data of data throughput, and using the average value as a data throughput parameter; obtaining a reputation value of each node according to the historical data of synchronization success rate, wherein the reputation value is a value calculated according to a predefined rule based on the historical data of synchronization success rate; and determining the credibility of each node according to

Assignees

Inventors

Classifications

  • Throughput · CPC title

  • Financial cryptography, e.g. electronic payment or e-cash · CPC title

  • using hash chains, e.g. blockchains or hash trees · CPC title

  • using hashing · CPC title

  • Hash functions, e.g. MD5, SHA, HMAC or f9 MAC · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11228386B2 cover?
The present application proposes a blockchain node synchronization method and device using a trust mechanism. The method comprises: acquiring data throughput history data of each node in a routing table of a node to be synchronized; acquiring synchronization success rate history data of each node in the routing table of the node to be synchronized; acquiring a total difficulty value of a blockc…
Who is the assignee on this patent?
Beijing Kingsoft Internet Security Software Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L43/0888. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Jan 18 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).