Block chain data transmission method, device, equipment and storage medium
A data transmission method and block chain technology, applied in the field of devices, block chain data transmission methods, equipment and storage media, can solve the problems of low block data transmission efficiency, to ensure stable transmission, improve transmission efficiency, improve The effect of block stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 It is a flow chart of the blockchain data transmission method provided by Embodiment 1 of the present invention. The method is applied to nodes in the blockchain system, and the applicable blockchain can be a public chain, a consortium chain or a private chain. This embodiment is applicable to the situation where nodes in a blockchain system perform data transmission. The method of this embodiment can be executed by the block chain data transmission device provided by the embodiment of the present invention, which can be implemented in the form of software and / or hardware, and can be integrated into a computing device carrying a block chain system node. see figure 1 , the method specifically includes:
[0027] S110. Determine the number of communicable nodes.
[0028] Among them, the number of communicable nodes refers to the number of other nodes that the local node can successfully send data to, that is, if the local node can successfully send data to n ot...
Embodiment 2
[0043] figure 2 It is a flowchart of a blockchain data transmission method provided by Embodiment 2 of the present invention. In this embodiment, on the basis of the first embodiment above, the determination of the number of communicable nodes is further explained. see figure 2 , the method may specifically include:
[0044] S210. Determine a data transmission time threshold.
[0045] Wherein, the data transmission time threshold refers to the upper limit value of the time used by the local node to transmit data to the synchronization node.
[0046] Exemplarily, different data to be transmitted correspond to different data transmission time thresholds. For example, if the data is a transaction data query request transmitted in the blockchain system, the average value of the time used by the local node’s historical transaction data query request can be determined as the data transmission time threshold; if the data is sent to the current block generation node The feedbac...
Embodiment 3
[0056] image 3 It is a flowchart of a blockchain data transmission method provided by Embodiment 3 of the present invention. On the basis of the above-mentioned embodiments, this embodiment further explains how to select a synchronization node from the connected communication nodes according to the number of communicable nodes. see image 3 , the method may specifically include:
[0057] S310. Determine the number of communicable nodes.
[0058] S320. Rank the connected communication nodes according to at least one characteristic of the network conditions, hardware performance, stability, and reliability rating of the communication nodes.
[0059] Among them, the stability is the evaluation of the working status of the communication node; the credibility rating can be determined by determining whether it belongs to a trusted IP segment, has a trusted certificate, a trusted address, or has no problems in historical communication.
[0060] Exemplarily, the sum of one or mor...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


