Data uploading method and device based on consensus mechanism and readable storage medium

A consensus and data technology, applied in the electronic field, can solve the problems of unfair distribution of packaging rights and the inability to effectively guarantee the efficiency of packaging and chaining, and achieve the effect of ensuring openness and transparency, ensuring fairness and reasonableness, and improving efficiency.

Active Publication Date: 2020-09-15
武汉斗鱼鱼乐网络科技有限公司
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If a node deliberately falsifies the difference, other clients will not be able to verify it, resulting in an unfair distribution of packaging rights. Moreover, the packaging rights are only allocated based on the computing power of the node, and the efficiency of node packaging on the chain cannot be effectively guaranteed.

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
  • Data uploading method and device based on consensus mechanism and readable storage medium
  • Data uploading method and device based on consensus mechanism and readable storage medium
  • Data uploading method and device based on consensus mechanism and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0049] Please refer to figure 1 , the first embodiment of the present invention provides a consensus mechanism-based data chaining method, which is applied to the central node in the blockchain network. The consensus mechanism-based data chaining method includes the following steps:

[0050] S101: In the case of generating a new block, broadcast broadcast information corresponding to the new block to all consensus nodes in the blockchain network, wherein the broadcast information includes the specified historical block number, random data, calculation Number of rounds;

[0051] S102: Receive the reading and writing performance information of the block data corresponding to the historical block number fed back by each consensus node based on the broadcast information, and calculate the historical area by using the random data and the number of calculation rounds Computing performance information obtained from the block data corresponding to the block number;

[0052] S103: Ba...

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 embodiment of the invention provides a data uploading method and device based on a consensus mechanism and a readable storage medium. Under the condition that a center node generates a new block,broadcast information corresponding to the new block is broadcast to all consensus nodes, after receiving the broadcast information, each consensus node feeds back read-write performance information for the block data corresponding to the historical block number and calculation performance information obtained by calculating the block data corresponding to the historical block number by adopting the random data and the calculation round number; the central node feeds back read-write performance information and / or calculation performance information based on each consensus node, determines network performance information of a consensus node; based on a consensus mechanism, read-write performance information, calculation performance information and network performance information based on each consensus node are comprehensively considered, candidate nodes for packaging and chaining new blocks are determined more reasonably, finally, the number of historical blocks generated by each candidate node is balanced and considered, and a target node is determined from the candidate nodes more fairly.

Description

technical field [0001] The present invention relates to the field of electronic technology, in particular to a consensus mechanism-based data uplink method, device and readable storage medium. Background technique [0002] The blockchain is divided into three types according to the degree of publicity of the participants, namely public chain, consortium chain, and private chain. Different from the requirements of public chains for computing power, the effectiveness and fairness of private chains and consortium chains for packaging and on-chain With more requirements, the existing consensus mechanism for private chains and consortium chains usually generates a random data, and each client on the chain calculates the difference between the block data and the random data, and the client with the smallest difference As a node for packaging new block data. If a node deliberately falsifies the difference, other clients will not be able to verify it, resulting in an unfair distrib...

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): G06F16/27G06F16/2458H04L29/08H04L12/18
CPCG06F16/27G06F16/2458H04L67/10H04L12/18
Inventor 周志刚
Owner 武汉斗鱼鱼乐网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products