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

Proof-of-work method and device

A workload and preset algorithm technology, applied in the field of data processing, can solve the problems of low selection efficiency and occupation of computing resources, etc., and achieve the effect of improving selection efficiency, reducing the amount of calculation, and reducing the occupation of computing resources

Active Publication Date: 2018-10-26
BEIJING QIHOO TECH CO LTD
View PDF11 Cites 5 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
  • Proof-of-work method and device
  • Proof-of-work method and device
  • Proof-of-work 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 proof-of-work method and device, related to the technical field of data processing. The proof-of-work method and device is used to solve the problems in the prior art that the selection efficiency of selecting an accounting node is low and the computing resources of each node is occupied overly in a block chain system adopting the traditional proof-of-work mechanism. Theproof-of-work method comprises the following steps: finding a second hash value matching a first hash value in a preset rainbow table according to the first hash value corresponding to a current blockwhen the current block sent by a first accounting node is received; sending the second hash value is to a plurality of other nodes, and receiving the second hash values sent by other nodes; and confirming the second hash value which has the minimum editing distance with the first hash value in a plurality of second hash values through a preset algorithm, and confirming the node corresponding to the second hash value as a second accounting node, so that the second accounting node generates the next block. The proof-of-work method and device is applicable to the process of selecting the accounting node 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 Applications(China)
IPC IPC(8): H04L29/08G06F17/30
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