Method, system and device for dynamic reconstruction of data of proof-of-work computing chip cluster

By redistributing data and modifying the routing table through the dynamic reconstruction method, the problem of low robustness of traditional chip clusters is solved, data integrity and normal operation of the cluster are achieved when the chip fails, and the robustness of the workload proof computing chip cluster is improved. Great sex.

CN112214447BActive Publication Date: 2024-09-10SUNLUNE (SINGAPORE) PTE LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011080212.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-10
Publication Date
2024-09-10
Estimated Expiration
2040-10-10

AI Technical Summary

Technical Problem

The robustness of traditional workload proof computing chip clusters is low. The failure of a single chip will cause the failure of the entire cluster, and cannot effectively handle the situation of chip failure.

Method used

Through the dynamic reconstruction method, the data volume of each chip is determined based on the number of effective chips and the total amount of data, and the data is redistributed when the chip fails, the failed chip is closed and the routing table is modified to ensure data integrity and the normal operation of the cluster.

Benefits of technology

It improves the robustness of the workload proof computing chip cluster, ensuring that it can still work normally when the chip fails, and enhances the reliability and performance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112214447B
    Figure CN112214447B
Patent Text Reader

Abstract

The present application relates to a method, system and device for dynamically reconstructing data of a proof-of-work computing chip cluster, the method comprising: determining the amount of data allocated to each valid chip according to the number of valid chips in the proof-of-work computing chip cluster and the total amount of data stored in the cluster; storing the data of each valid chip in a preset order according to the amount of data allocated to each valid chip. The technical solution provided by the present application can enable the proof-of-work computing chip cluster to be used normally in the event of partial failure, thereby improving the robustness of the proof-of-work computing chip cluster.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of integrated circuit technology, and in particular to a method, system and device for dynamically reconstructing data of a proof-of-work computing chip cluster. Background Art

[0002] Proof of Work (POW) is a consensus mechanism used by mainstream cryptocurrencies. Its basic feature is that it requires a large number of hash operations to find a hash value that meets the conditions under a specific difficulty value. However, cryptocurrencies based on the ETHASH algorithm require a data set larger than 1GB in the proof of work process and require frequent access to the data set.

[0003] The traditional method is to use independent external memory outside the computing chip to store the data set, but the performance of this method is low. Therefore, the traditional method is improved, and a method of storing the entire data set inside the computing chip has emerged. However, the storage capacity of a single chip is limited, and multiple computing chips need to be associated, and a subset of the data needs to be stored in each computing chip to form a chip cluster. However, when any component of one of the chips fails, the entire chip cluster will fail, resulting in extremely low robustness of the cluster. Summary of the invention

[0004] In view of this, the main purpose of the present invention is to provide a method, system and device for dynamic data reconstruction of a proof-of-work computing chip cluster, so as to improve the robustness of the proof-of-work computing chip cluster.

[0005] The present invention provides a method for dynamically reconstructing data of a proof-of-work computing chip cluster, comprising:

[0006] Determine the amount of data allocated to each valid chip based on the number of valid chips in the proof-of-work computing chip cluster and the total amount of data stored in the cluster;

[0007] According to the amount of data allocated to each valid chip, the data allocated to each valid chip is stored in a preset order.

[0008] From the above, when a chip in the proof-of-work computing chip cluster fails, reallocating the data in the cluster to valid chips can enable the cluster to work normally, thereby improving the robustness of the proof-of-work computing chip cluster.

[0009] As an implementation of the first aspect, before determining the amount of data allocated to each valid chip according to the number of valid chips in the proof-of-work computing chip cluster and the total amount of data stored in the cluster, the method further includes:

[0010] Get the number of failed chips in the proof-of-work computing chip cluster;

[0011] The valid number of chips is obtained by subtracting the total number of chips in the proof-of-work computing chip cluster from the number of failed chips.

[0012] From the above, a method for obtaining the number of valid chips in a proof-of-work computing chip cluster is provided. The method is simple and easy to implement and can improve the efficiency of obtaining the number of valid chips in the cluster.

[0013] As an implementation of the first aspect, the types of chip failures in the proof-of-work computing chip cluster include:

[0014] The computing unit of the proof-of-work computing chip fails, the storage unit fails, the inter-chip bus interface fails, and / or the interconnection line between the bus interfaces fails.

[0015] From the above, the types of failure of proof-of-work computing chips are provided. The above types of failures can be reallocated using the data dynamic reconstruction method provided by the present application, which has a wide range of adaptability.

[0016] As an implementation of the first aspect, determining the amount of data allocated to each valid chip according to the number of valid chips in the proof-of-work computing chip cluster and the total amount of data stored in the cluster includes:

[0017] Determine the data volume P1 of each valid chip among n-1 valid chips according to the following formula:

[0018]

[0019] The data volume P2 of another valid chip other than the n-1 valid chips is determined by the following formula:

[0020] P2=X-P1(n-1)

[0021] In the above formula, X is the total amount of data stored in the cluster, n is the number of valid chips in the cluster, and [] is the rounding function.

[0022] From the above, since the data can only be integers, the first n-1 valid chips are The data volume is stored, and the remaining data volume is stored in the last valid chip, which can ensure that all the original data in the storage chip cluster is orderly and complete, so that the chip cluster can work normally.

[0023] As an implementation of the first aspect, after storing the data allocated to each valid chip in a preset order according to the amount of data allocated to each valid chip, the method further includes:

[0024] Turn off the failed chip and re-modify the routing table.

[0025] From the above, after the data is redistributed, the failed chip is turned off and the routing table is rebuilt and modified so that the valid chip can call the data normally according to the new routing table to ensure the normal operation of the chip cluster.

[0026] The present invention provides a data dynamic reconstruction system for a proof-of-work computing chip cluster, comprising:

[0027] A control unit, configured to determine the amount of data allocated to each valid chip according to the number of valid chips in the proof-of-work computing chip cluster and the total amount of data stored in the cluster;

[0028] The storage unit is used to store the data allocated to each valid chip in a preset order according to the amount of data allocated to each valid chip.

[0029] As an implementation of the second aspect, the control unit includes:

[0030] The first control module is used to determine the data volume P1 of each valid chip in n-1 valid chips according to the following formula:

[0031]

[0032] The second control module is used to determine the data volume P2 of another valid chip except the n-1 valid chips according to the following formula:

[0033] P2=X-P1(n-1)

[0034] In the above formula, X is the total amount of data stored in the cluster, n is the number of valid chips in the cluster, and [] is the rounding function.

[0035] The present invention provides a data dynamic reconstruction device for a proof-of-work computing chip cluster, comprising:

[0036] A monitoring unit integrated in each proof-of-work computing chip, used to monitor whether each proof-of-work computing chip fails; and

[0037] The main control unit integrated in the host computer is used to execute the above method according to the monitoring result of the monitoring unit.

[0038] In summary, the present invention can solve the following problem: on the premise of satisfying the proof-of-work computing performance, the robustness of the proof-of-work computing chip cluster is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A flowchart of a method for dynamically reconstructing data of a proof-of-work computing chip cluster provided in an embodiment of the present application;

[0040] Figure 2 A schematic diagram of the structure of a data dynamic reconstruction device for a proof-of-work computing chip cluster provided in an embodiment of the present application;

[0041] Figure 3 A schematic diagram of a process of data redistribution in a proof-of-work computing chip cluster provided in an embodiment of the present application;

[0042] Figure 4 A schematic diagram of the structure of a data dynamic reconstruction system for a proof-of-work computing chip cluster provided in an embodiment of the present application;

[0043] Figure 5 A schematic diagram of the structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present application are given in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0045] In the following description, the terms "first\second\third, etc." or unit A, unit B, unit C, etc. are only used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that the specific order or sequence can be interchanged where permitted so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0046] In the following description, the numbers representing the steps, such as S100, S200, etc., do not necessarily mean that the steps must be executed in this manner. If permitted, the order of the previous and next steps can be interchanged, or they can be executed simultaneously.

[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0048] like Figure 1 As shown, one embodiment of the present application provides a method for dynamically reconstructing data of a proof-of-work computing chip cluster, the method comprising:

[0049] S100: Determine the amount of data allocated to each valid chip according to the number of valid chips in the proof-of-work computing chip cluster and the total amount of data stored in the cluster.

[0050] S200: According to the amount of data allocated to each valid chip, the data allocated to each valid chip is stored in a preset order.

[0051] Among them, the proof-of-work computing chip cluster is composed of multiple proof-of-work computing chips and interconnection buses between the chips.

[0052] Specifically, step S100 includes determining the data volume P1 of each valid chip among n-1 valid chips according to the following formula:

[0053]

[0054] The data volume P2 of another valid chip other than the n-1 valid chips is determined by the following formula:

[0055] P2=X-P1(n-1)

[0056] In the above formula, X is the total amount of data stored in the cluster, n is the number of valid chips in the cluster, and [] is the rounding function.

[0057] In this embodiment, before step S100, the method further includes:

[0058] Get the number of failed chips in the proof-of-work computing chip cluster.

[0059] The valid number of chips is obtained by subtracting the total number of chips in the proof-of-work computing chip cluster from the number of failed chips.

[0060] Among them, the types of chip failures in the proof-of-work computing chip cluster include: failure of the computing unit of the proof-of-work computing chip, failure of the storage unit, failure of the inter-chip bus interface and / or failure of the interconnection line between the bus interfaces, etc.

[0061] In addition, after step S200, the method further includes: shutting down the failed chip and re-modifying the routing table.

[0062] The routing table records the paths for mutual access between chips. For example, the computing unit of the nth chip in the proof-of-work computing chip cluster accesses the storage unit in the n-1th chip in the proof-of-work computing chip cluster through the chip-to-chip bus interface and the inter-chip bus L of the chip.

[0063] Next, combine Figure 2 and Figure 3 , providing a specific implementation method for the data dynamic reconstruction method of a proof-of-work computing chip cluster.

[0064] First, if Figure 2 As shown, it is a structural diagram of a data dynamic reconstruction device of a proof-of-work computing chip cluster. A node in the figure represents a proof-of-work computing chip. The device provided in this embodiment includes 6 proof-of-work computing chips (i.e., nodes a, b, c, d, e, and f in the figure) and a host computer g. In actual application, the number of proof-of-work computing chips and the number of host computers can be set according to actual needs. In this embodiment, 6 proof-of-work computing chips constitute a proof-of-work computing chip cluster, and 1 host computer is used for dynamic data reconstruction. A monitoring unit (a1, b1, c1, d1, e1, f1 in the figure) is integrated on each proof-of-work computing chip to monitor whether there is a failed part in the corresponding proof-of-work computing chip. If there is a failed part, the failure information is sent to the host computer through the connection line between the proof-of-work computing chip and the host computer, and the main control unit g1 integrated in the host computer is used to analyze and process it, and the failed proof-of-work computing chip is turned off. Through recalculation of the main control unit g1, the data in the proof-of-work computing chip cluster is redistributed and the routing table is modified accordingly.

[0065] The analysis and processing of the main control unit g1 includes locating the failed chip and identifying the failed part of the failed chip. The recalculation process of the main control unit g1 is the execution process of the data dynamic reconstruction method of the above-mentioned proof-of-work computing chip cluster. The modification of the routing table of the main control unit g1 is to make each valid chip no longer access the failed chip, and establish a new access path between each valid chip according to the reallocated data storage location, and store it in the routing table.

[0066] Here, 6 proof-of-work computing chips and 1 host computer are used as an example for explanation. In actual use, there is no restriction on the data of the proof-of-work computing chips and the host computer. Specifically:

[0067] 1. When all chips in the proof-of-work computing chip cluster are operating normally:

[0068] The computing unit a2 of node a normally accesses the storage unit a3 of node a;

[0069] The computing unit a2 of the node a accesses the storage unit b3 of the node b through the inter-chip bus interface a4, the inter-chip bus 275 and the inter-chip bus interface b4;

[0070] Similarly, computation unit a2 of node a needs to access storage units c3, d3, e3, and f3;

[0071] Similarly, the computing unit b2 of node b needs to access storage units a3, b3, c3, d3, e3, and f3; the computing unit c2 of node c needs to access storage units a3, b3, d3, e3, and f3; the computing unit d2 of node d needs to access storage units a3, b3, c3, e3, and f3; the computing unit e3 of node e needs to access storage units a3, b3, c3, d3, and f3; and the computing unit f2 of node f needs to access storage units a3, b3, c3, d3, and e3.

[0072] 2. When computing unit a2 of node a fails:

[0073] The monitoring unit a1 of node a sends the information "the computing unit a2 of node a is failed" to the main control unit g1 of the upper computer g. The main control unit g1 controls the computing unit a2 to shut down, and the entire chip cluster can operate normally. This situation is applicable to the failure of the computing unit of any node.

[0074] 3. When the inter-chip bus interface a4 of node a fails:

[0075] The monitoring unit a1 of node a sends the information "inter-chip bus interface a4 of node a failed" to the main control unit g1 of the upper computer g. The main control unit g1 controls node a to shut down, and uses the data dynamic reconstruction method of the proof-of-work computing chip cluster to redistribute data and modify the routing table so that valid nodes no longer access node a. The entire chip cluster can operate normally. This situation is applicable to the failure of the inter-chip bus interface of any node.

[0076] 4. When the inter-chip bus 275 of node a fails:

[0077] The monitoring unit a1 of node a sends the information "inter-chip bus 275 of node a fails" to the main control unit g1 of the upper computer g. The main control unit g1 controls node a or one of the nodes b connected through the inter-chip bus 275 to shut down, and the other node runs normally. The data dynamic reconstruction method of the proof-of-work computing chip cluster is used to redistribute data, and the routing table is modified so that the valid node no longer accesses the shut down node. The entire chip cluster can run normally. This situation is applicable to the failure of the inter-chip bus of any node.

[0078] 5. When storage unit a3 of node a fails:

[0079] The monitoring unit a1 of node a sends the information "storage unit a3 of node a failed" to the main control unit g1 of the upper computer g. The main control unit g1 controls node a to shut down, and uses the data dynamic reconstruction method of the proof-of-work computing chip cluster to redistribute data and modify the routing table so that valid nodes no longer access node a. The entire chip cluster can operate normally. This situation is applicable to the failure of the storage unit of any node.

[0080] Combination Figure 3 , details the process of the master control unit g1 redistributing data in the proof-of-work computing chip cluster.

[0081] Here, the total amount of data stored in the proof-of-work computing chip cluster is 10, that is, X=10, and there are 5 proof-of-work computing chips in the proof-of-work computing chip cluster as an example for explanation:

[0082] When all chips in the proof-of-work computing chip cluster are operating normally: 2 data are stored in each proof-of-work computing chip.

[0083] When one or more components (computing unit, storage unit, inter-chip bus interface, interconnection line between bus interfaces) of one of the proof-of-work computing chips fail: the number of valid proof-of-work computing chips is n=4, and the total amount of data stored in the proof-of-work computing chip cluster needs to be redistributed. Specifically: each chip in the first three valid chips stores The last valid chip stores P2=X-P1(n-1)=10-3(4-1)=1 data. The main control unit controls the failed chip to shut down and re-modifies the routing table so that the valid chip no longer accesses the failed chip.

[0084] In addition, after the data is reallocated, the storage order and rules of the data of each chip correspond to the reading order and rules.

[0085] Based on the same concept of the above-mentioned data dynamic reconstruction method of the workload proof computing chip cluster, another embodiment of the present application also provides a data dynamic reconstruction system of the workload proof computing chip cluster, such as Figure 4 As shown, including:

[0086] A control unit, configured to determine the amount of data allocated to each valid chip according to the number of valid chips in the proof-of-work computing chip cluster and the total amount of data stored in the cluster;

[0087] The storage unit is used to store the data allocated to each valid chip in a preset order according to the amount of data allocated to each valid chip.

[0088] The determination unit includes:

[0089] The first control module is used to determine the data volume P1 of each valid chip in n-1 valid chips according to the following formula:

[0090]

[0091] The second control module is used to determine the data volume P2 of another valid chip except the n-1 valid chips according to the following formula:

[0092] P2=X-P1(n-1)

[0093] In the above formula, X is the total amount of data stored in the cluster, n is the number of valid chips in the cluster, and [] is the rounding function.

[0094] Another embodiment of the present application further provides a data dynamic reconstruction device for a proof-of-work computing chip cluster, comprising:

[0095] A monitoring unit integrated in each proof-of-work computing chip, used to monitor whether each proof-of-work computing chip fails; and

[0096] The main control unit integrated in the host computer is used to execute the data dynamic reconstruction method of the above-mentioned proof-of-work computing chip cluster according to the monitoring results of the monitoring unit.

[0097] Another embodiment of the present application also provides a server, including the data dynamic reconstruction method of the proof-of-work computing chip cluster described in the above embodiment.

[0098] like Figure 5 , which is a schematic structural diagram of a computing device 5000 provided in an embodiment of the present application. The computing device 5000 includes: a processor 5010, a memory 5020, a communication interface 5030, and a bus 5040.

[0099] It should be understood that the communication interface 5030 in the computing device 5000 shown in this figure can be used to communicate with other devices.

[0100] The processor 5010 may be connected to a memory 5020. The memory 5020 may be used to store the program code and data. Therefore, the memory 5020 may be a storage unit inside the processor 5010, or an external storage unit independent of the processor 5010, or a component including a storage unit inside the processor 5010 and an external storage unit independent of the processor 5010.

[0101] Optionally, the computing device 5000 may further include a bus 5040. The memory 5020 and the communication interface 5030 may be connected to the processor 5010 via the bus 5040. The bus 5040 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus 5040 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the figure is represented by only one line, but it does not mean that there is only one bus or one type of bus.

[0102] It should be understood that in the embodiment of the present application, the processor 5010 can adopt a central processing unit (CPU). The processor can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. Or the processor 5010 adopts one or more integrated circuits to execute related programs to implement the technical solutions provided in the embodiments of the present application.

[0103] The memory 5020 may include a read-only memory and a random access memory, and provides instructions and data to the processor 5010. A portion of the processor 5010 may also include a non-volatile random access memory. For example, the processor 5010 may also store information on the device type.

[0104] When the computing device 5000 is running, the processor 5010 executes the computer execution instructions in the memory 5020 to perform the operating steps of the above method.

[0105] It should be understood that the computing device 5000 according to the embodiment of the present application can correspond to the corresponding subjects in the methods according to the embodiments of the present application, and the above-mentioned and other operations and / or functions of each unit in the computing device 5000 are respectively for realizing the corresponding processes of each method of the present embodiment, which will not be repeated here for the sake of brevity.

[0106] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0107] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0108] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0109] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0110] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0111] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0112] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, it is used to execute a method for dynamically reconstructing data of a proof-of-work computing chip cluster, which method includes at least one of the schemes described in the above embodiments.

[0113] The computer storage medium of the embodiment of the present application can adopt any combination of one or more computer-readable media. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples (non-exhaustive lists) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, computer-readable storage media can be any tangible medium containing or storing programs, which can be used by instruction execution systems, devices or devices or used in combination with them.

[0114] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0115] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0116] Computer program code for performing the operation of the present application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).

[0117] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present application, all of which belong to the scope of protection of the present application.

Claims

1. A method for dynamic data reconstruction of a proof-of-work computing chip cluster. It is characterized in that The method comprises: When an inter-chip interconnection line between a first proof-of-work chip and a second proof-of-work chip in the proof-of-work chip cluster fails: controlling either the first proof-of-work chip or the second proof-of-work chip to shut down, and performing dynamic data reconstruction; When a computing unit of a first proof-of-work chip in the proof-of-work chip cluster fails: controlling the failed computing unit to shut down; The dynamic data reconstruction includes: Determine the amount of data allocated to each valid chip based on the number of valid chips in the proof-of-work computing chip cluster and the total amount of data stored in the cluster; According to the amount of data allocated to each valid chip, the data allocated to each valid chip is stored in a preset order.

2. The method according to claim 1, It is characterized in that Before determining the amount of data allocated to each valid chip according to the number of valid chips in the proof-of-work computing chip cluster and the total amount of data stored in the cluster, the method further includes: Get the number of failed chips in the proof-of-work computing chip cluster; The valid number of chips is obtained by subtracting the total number of chips in the proof-of-work computing chip cluster from the number of failed chips.

3. The method according to claim 2, It is characterized in that The types of chip failures in the proof-of-work computing chip cluster include: Failure of memory cells, failure of inter-chip bus interfaces, and / or failure of interconnect lines between bus interfaces.

4. The method according to claim 1, It is characterized in that The step of determining the amount of data allocated to each valid chip according to the number of valid chips in the proof-of-work computing chip cluster and the total amount of data stored in the cluster includes: Determine the data volume P of each valid chip among n-1 valid chips as follows: 1 : The data volume P of another valid chip other than the n-1 valid chips is determined by the following formula: 2 : P 2 =X-P 1 (n-1) In the above formula, X is the total amount of data stored in the cluster, n is the number of valid chips in the cluster, and [] is the rounding function.

5. The method according to claim 1, It is characterized in that After storing the data allocated to each valid chip in a preset order according to the amount of data allocated to each valid chip, the method further includes: Turn off the failed chip and re-modify the routing table.

6. A data dynamic reconstruction system for a proof-of-work computing chip cluster, It is characterized in that The system includes: a judgment unit, which is used to judge the failed devices in the proof-of-work chip cluster, specifically including: When an inter-chip interconnection line between a first proof-of-work chip and a second proof-of-work chip in the proof-of-work chip cluster fails: controlling either the first proof-of-work chip or the second proof-of-work chip to shut down, and performing dynamic data reconstruction; When a computing unit of a first proof-of-work chip in the proof-of-work chip cluster fails: controlling the failed computing unit to shut down; The dynamic data reconstruction includes: A control unit, configured to determine the amount of data allocated to each valid chip according to the number of valid chips in the proof-of-work computing chip cluster and the total amount of data stored in the cluster; The storage unit is used to store the data allocated to each valid chip in a preset order according to the amount of data allocated to each valid chip.

7. The system according to claim 6, It is characterized in that The control unit comprises: The first control module is used to determine the data volume P of each valid chip in n-1 valid chips according to the following formula: 1 : The second control module is used to determine the data volume P of another valid chip other than the n-1 valid chips according to the following formula: 2 : P 2 =X-P 1 (n-1) In the above formula, X is the total amount of data stored in the cluster, n is the number of valid chips in the cluster, and [] is the rounding function.

8. A data dynamic reconstruction device for a proof-of-work computing chip cluster, It is characterized in that include: A monitoring unit integrated into each proof-of-work computing chip, used to monitor whether each proof-of-work computing chip fails; and A main control unit integrated in a host computer is used to execute the method described in any one of claims 1 to 5 according to the monitoring result of the monitoring unit.