Proof-of-work calculating method and device, electronic equipment, program and medium

A calculation method and workload technology, applied in the blockchain field, can solve problems such as large power consumption and increased overall system cost

Active Publication Date: 2018-07-24
STRAITDEER PTE LTD
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, the inventor found through research that the current mainstream proof-of-work algorithms are all calculation-intensive algorithms based on hash collisions, which at least have the following proble

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 calculating method and device, electronic equipment, program and medium
  • Proof-of-work calculating method and device, electronic equipment, program and medium
  • Proof-of-work calculating method and device, electronic equipment, program and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangements of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0077] At the same time, it should be understood that, for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0078] The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses.

[0079] Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the descript...

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 discloses a proof-of-work calculating method and device, electronic equipment, a program and a medium. The method comprises the following steps: calculating for multiple times based on a selected first random number respectively, and respectively storing calculation results into a memory, so as to form caching data occupying predetermined space capacity; carrying out Hash calculation on a preset data block by utilizing the caching data and a second random number selected at the present time; judging whether a calculation result of the Hash calculation meets preset conditions; and if the calculation result does not meet the preset conditions, changing a value of the second random number, and restarting to execute an operation of carrying out the Hash calculation on the preset data block by utilizing the caching data and the second random number selected at the present time. The embodiment of the invention has the advantages that electric power consumptionis greatly lowered while the advantages of fairness and robustness are maintained, and existing computing equipment with a certain memory space can be reused, so that total ownership cost of a systemis reduced.

Description

technical field [0001] The present invention relates to block chain technology, especially a calculation method and device for workload proof, electronic equipment, program and medium. Background technique [0002] In an open large-scale distributed system, Proof-of-work is an important mechanism to solve the Byzantine general problem and achieve system consistency. It requires participants to pay a certain amount of computing resources to prove that they have no malicious attacks on the system. The workload proof mechanism has the advantages of fairness and robustness. [0003] In the process of realizing the present invention, the inventor found through research that the current mainstream proof-of-work algorithms are all calculation-intensive algorithms based on hash collisions, which at least have the following problems: calculation-intensive algorithms need to consume a lot of power. To save electricity costs relatively, it is necessary to pay the cost in advance to p...

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
IPC IPC(8): H04L9/06H04L9/08
CPCH04L9/0643H04L9/0869
Inventor 王逵庄重徐凌超
Owner STRAITDEER PTE LTD
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