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

Work load proof method and device

A workload and preset algorithm technology, applied in the field of data processing, can solve the problems of occupying computing resources and low selection efficiency, so as to reduce the amount of calculation and improve the effect of selection and accounting

Active Publication Date: 2021-10-08
BEIJING QIHOO TECH CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of implementing the present invention, the inventor found that in the prior art, when each node in the network competes for bookkeeping rights, in order to make the calculated result value less than the target value in the current network, each node needs to constantly change the block header Therefore, each node needs to perform a large number of calculations, which leads to low efficiency in selecting bookkeeping nodes under the blockchain system using the traditional proof-of-work mechanism, and excessively occupies the computing resources of each node.

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
  • Work load proof method and device
  • Work load proof method and device
  • Work load proof method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0052] The embodiment of the present invention provides a proof-of-work method, such as figure 1 As shown, the method includes:

[0053] 101. When receiving the current block sent by the first accounting node, look up the second hash value matching the first hash value in the preset rainbow table according to the first hash value corresponding to the current block.

[0054] Wherein, the current block is a newly generated block, and ...

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 discloses a workload proof method and device, which relate to the technical field of data processing. In order to solve the problem in the prior art, under the block chain system adopting the traditional workload proof mechanism, the selection efficiency of bookkeeping nodes is low. And the problem of excessively occupying the computing resources of each node. The method of the present invention includes: when receiving the current block sent by the first accounting node, according to the first hash value corresponding to the current block, searching for the second hash matching the first hash value in the preset rainbow table Hash value; send the second hash value to multiple other nodes, and receive the second hash value sent by each other node; determine the edit between the multiple second hash values ​​and the first hash value through a preset algorithm The second hash value with the smallest distance is determined, and the node corresponding to the second hash value is determined as the second bookkeeping node, so that the second bookkeeping node can generate the next block. The present invention is applicable to the process of selecting bookkeeping nodes under the block chain system.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a workload proof method and device. Background technique [0002] Blockchain Technology (Blockchain Technology, BT) is a decentralized distributed storage technology, which is widely used in the financial field due to its advantages of decentralization, transparent transaction process, non-tamperable information, and traceability. Under the blockchain system using the traditional proof of work mechanism (Proof of Work, POW), each node in the network will generate its own Coinbase transaction and other transactions to be packaged into the block to form a transaction list, which is calculated through the Merkle Tree algorithm The Merkle Root Hash corresponding to the transaction list, and the Merkle Root Hash and other related fields form the block header for Hash operation. When a node changes the value of the random number (ie nonce) in the block header, the calculated re...

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): H04L29/08G06F16/2458
CPCH04L67/1065H04L67/1097
Inventor 胡宇光
Owner BEIJING QIHOO TECH CO LTD
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