Data flow control method and apparatus

A control device and control method technology, applied in the direction of program control design, multi-program device, electrical digital data processing, etc., can solve the problems of no cost advantage, high cost, unstable supply of goods, etc., and achieve excellent mission data transmission timing , reduce the cost of mining hardware, and avoid lock competition problems

Active Publication Date: 2018-07-06
SHENZHEN MICROBT ELECTRONICS TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Based on the good performance of FPGA hardware, this solution has the advantage of being able to send tasks to the hash board in strict timing (realized by FPGA hardware description language), but the cost of this solution is too high, and the supply is unstable
In the face of increasing mining difficulty and increasing demand for computing power, this solution obviously does not have a cost advantage

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
  • Data flow control method and apparatus
  • Data flow control method and apparatus
  • Data flow control method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the purpose, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0036] like figure 1 Shown is a schematic flow chart of the data flow control method of the present invention, the method comprising:

[0037] Get task data;

[0038] converting the task data into a plurality of subtask data conforming to the calculation format;

[0039] Caching the multiple subtask data in a ring buffer;

[0040] The subtask data is acquired from the ring buffer and forwarded to the computing device for task calculation.

[0041] This method can be realized by using the existing bus structure. It should be noted that each step is carried out according to strict timing, so that the computing device can work at full capacity as much as possible, avoiding the idleness of the computing device, and ensuring that the computing power o...

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 data flow control method and apparatus. According to the technical scheme, the method mainly comprises the steps of obtaining task data; converting the task data into multiple pieces of sub-task data in a calculation format; caching the sub-task data in a circular buffer region; and according to a predetermined time sequence, obtaining the sub-task data from the circularbuffer region and forwarding the data to a calculation apparatus for performing task calculation. The technical scheme can ensure that the calculation apparatus always can obtain the sub-task data from a buffer to perform calculation, so that the calculation capability of the calculation apparatus can be brought into full play. The buffer adopts a circular buffer design, so that the problem of lock contention between threads can be avoided and the interruption of distributing the sub-task data to the calculation apparatus can be avoided. The technical scheme can be realized by adopting a bus structure, so that the mining hardware cost can be reduced and an excellent task data sending time sequence can be provided for a calculation capability board.

Description

technical field [0001] The invention relates to data distribution processing technology, in particular to a data flow control method and device applicable to virtual currency mining machines. Background technique [0002] A virtual currency (such as Bitcoin) mining machine is mainly composed of a control board and a computing power board. Among them, the role of the control board is to capture task data from the virtual currency mining pool, and perform necessary HASH operations on the tasks to split or convert the captured task data into subtask data that can be processed by each hash board. Then the subtask data is sent to each hash board for processing according to strict timing requirements, and then the calculation results are read from each hash board, and the results that meet the requirements are submitted to the mining pool. The mining pool will issue virtual currency rewards based on the number of results submitted by the mining machines. If on the control board ...

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): G06F9/48G06F9/50
CPCG06F9/4881G06F9/5027
Inventor 黄理洪杨作兴韦建利蔡清华张宏
Owner SHENZHEN MICROBT ELECTRONICS TECH CO 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