A trigger method, device and computing device for workload proof calculation

A workload and calculation technology, applied in the blockchain field, can solve problems such as waste of resources

Active Publication Date: 2022-03-11
北京柏链基石科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a triggering method for proof-of-work calculation, which is used to solve the problem of unnecessary waste of resources in the prior art when mining machines with relatively weak computing power compete for the right to produce blocks

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
  • A trigger method, device and computing device for workload proof calculation
  • A trigger method, device and computing device for workload proof calculation
  • A trigger method, device and computing device for workload proof calculation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] In order to solve the problem that in the existing block generation technology, the mining machine needs to perform enumeration and hash value calculations in the whole period of each block generation cycle, resulting in unnecessary resource consumption, the embodiment of the present invention provides A method for triggering proof-of-work computations.

[0063] The execution subject of this method can be a full node in the blockchain network, and the full node can be various types of computing devices. The computing device, for example, can be a user terminal such as a desktop computer, a laptop computer, a notebook computer, a cellular phone, a smart phone, a smart TV, a smart watch, a wearable computing device or an implantable computing device, or it can be a server Wait.

[0064] For ease of description, the embodiment of the present invention introduces the method by taking the execution subject of the method as an example of a full node. Those skilled in the ar...

Embodiment 2

[0126] Such as image 3 As shown, the embodiment of the present invention provides a method for triggering proof-of-work calculations. The execution subject of the method may be a mining machine in the blockchain network, wherein the mining machine may be various types of computing equipment, such as User terminals such as desktop computers, laptop computers, notebook computers, cellular phones, smart phones, smart TVs, smart watches, wearable computing devices or implantable computing devices can also be servers, etc.

[0127] For ease of description, the embodiment of the present invention introduces the method by taking the subject of execution of the method as a mining machine (such as the mining machine described in Embodiment 1) as an example. Those skilled in the art can understand that the embodiment of the present invention uses a mining machine as an example to introduce the method, which is only an exemplary description and does not limit the protection scope of the...

Embodiment 3

[0147] In Embodiment 3 of the present invention, a single block generation cycle can be divided into three phases according to the time ratio: preparation period, calculation period and verification period. For example, the complete block generation period is 5 minutes, and the time ratio is 1:1:3, so the preparation period is 1 minute, the calculation period is 1 minute, and the verification period is 3 minutes.

[0148] As described in Embodiment 1 of the present invention, a preset number of full nodes can be selected from the full nodes existing in the blockchain network by voting, for example, 21 full nodes can be selected.

[0149] For ease of description, a set of a preset number of full nodes is referred to as a full-node cluster hereinafter. Of course, in Embodiment 3 of the present invention, other methods can also be used to select full nodes from all nodes existing in the blockchain network. For example, full nodes with lower loads can be selected according to the ...

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 triggering method for workload proof calculation to solve the problem that in the prior art, for some mining machines, due to their relatively weak computing power, it may be necessary to perform enumeration during the entire period of the block generation period. However, it may still be difficult to obtain the right to generate blocks in the end, resulting in unnecessary resource consumption. The method includes: generating an instruction for triggering the calculation of the proof of work; the instruction is used to trigger the mining machine to perform the calculation of the proof of work from the first moment in the block generation cycle; the first moment is later than the beginning of the block generation cycle start moment; send the instruction to the mining machine. The invention also discloses a trigger device for workload proof calculation, a computing device and a computer-readable storage medium.

Description

technical field [0001] The present invention relates to the technical field of block chains, and in particular to a trigger method, device, computing device and computer-readable storage medium for proof-of-work calculation. Background technique [0002] Blockchain (BlockChain) technology, as a distributed ledger technology, has the characteristics of decentralization, distributed consensus, anonymity and traceability, and is considered to be one of the most promising technologies. As an application of a distributed network, how to reach a consensus and select a block producing node in a distributed network is one of the problems that the blockchain must solve. Currently, the mainstream consensus mechanisms mainly include Proof of Work (POW) and Proof of Stake (POS). POW and POS respectively use two methods of computing power and the ratio of equity holdings to select block nodes. [0003] Among them, the POW consensus mechanism is based on computing power. All mining mach...

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): H04L9/32
CPCH04L9/3236H04L9/50
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