Computing task processing method and device, storage medium and processor

A technology for computing tasks and processing methods, which is applied in the blockchain field and can solve problems such as the inability to quickly verify calculation results

Active Publication Date: 2020-11-03
SHENZHEN DIGITAL LIFE INST +1
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention provide a computing task processing method and device, a storage medium, and a processor to at least solve a large number of computing tasks in the blockchain in the prior art. During the processing of computing tasks, there are computing tasks Technical issues where results cannot be verified quickly

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
  • Computing task processing method and device, storage medium and processor
  • Computing task processing method and device, storage medium and processor
  • Computing task processing method and device, storage medium and processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] According to an embodiment of the present invention, a method for processing computing tasks is provided. It should be noted that the steps shown in the flow charts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although in The flowcharts show a logical order, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0057] figure 1 is a flow chart of a computing task processing method according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0058] Step S102, the first calculation node on the blockchain receives the calculation task set, and when the calculation task set is completed, the first calculation node broadcasts the calculation result set to the verification nodes in the blockchain, where the verification node is Any computing node or part of computing n...

Embodiment 2

[0119] According to an embodiment of the present invention, a computing task processing method is provided.

[0120] image 3 is a flow chart of another calculation task processing method according to an embodiment of the present invention, such as image 3 As shown, the method includes the following steps:

[0121] Step S302, when the first calculation node on the blockchain receives the calculation task set, and the calculation tasks in the calculation task set are completed, the first calculation node broadcasts the calculation result set to the verification nodes in the blockchain, where , the verification node is any computing node or part of computing nodes on the blockchain;

[0122] Step S304, obtaining historical information on the blockchain, wherein the historical information includes at least: the credit level of the program release object that issues the application, the credit level of the task issue object that issues the computing task, the application is on ...

Embodiment 3

[0138] According to an embodiment of the present invention, a computing task processing device is provided.

[0139] Figure 4 is a schematic diagram of a computing task processing device according to an embodiment of the present invention, such as Figure 4 As shown, the device includes:

[0140] The broadcast module 42 is used for the first calculation node on the blockchain to receive the calculation task set, and when the calculation task set is completed, the first calculation node broadcasts the calculation result set to the verification node in the blockchain, wherein, The verification node is any computing node or part of computing nodes on the blockchain;

[0141] An extracting module 44, configured to randomly extract part of the calculation results that have been broadcast on the first computing node;

[0142] The verification module 46 is configured to verify the randomly selected partial calculation results by recalculating the calculation tasks corresponding t...

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 computing task processing method and device, a storage medium and a processor. The method comprises the steps: enabling a first computing node on a blockchain to receive a computing task set; under the condition that the computing task set is completed, enabling the first computing node to broadcast a computing result set to a verification node in the blockchain, whereinthe verification node is any one computing node on the blockchain; randomly extracting a part of calculation results broadcasted on the first calculation node; recalculating the calculation tasks corresponding to the generated partial calculation results, and verifying the randomly extracted partial calculation results; if the recalculated verification result is consistent with the broadcasted calculation result, determining that the calculation result issued by the first calculation node passes the verification. According to the method and the device, the technical problems that a large number of calculation tasks exist in the block chain and calculation results cannot be quickly verified in the processing process of the calculation tasks in the prior art are solved.

Description

technical field [0001] The present invention relates to the technical field of block chain, in particular, to a computing task processing method and device, a storage medium and a processor. Background technique [0002] The blockchain is a distributed ledger. The decentralized protocol between the nodes of the blockchain network maintains a continuously growing data chain composed of ordered data blocks. Each data block has a timestamp And a pointer to the previous block, which can safely store digital currency or transaction data of equity, creditor's rights, copyright, etc., and the information in the block cannot be forged and tampered with. [0003] In the process of completing a computing task, there are three main factors: input data, application, and computing resources. Among them, the application program plays a very important role, which often determines how to use computing resources and how to operate on input data. Therefore, in order to ensure the security o...

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/23G06F16/27G06Q40/04
CPCG06F16/2365G06F16/27G06Q40/04
Inventor 李振宇张奥萌王蒙曹文财郑汉城王健
Owner SHENZHEN DIGITAL LIFE INST
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