Distributed computing synchronization method and system oriented to data center

By dynamically evaluating and adjusting the computing capabilities of computing nodes in the data center, the problem of insufficient dynamic adjustment capabilities in the existing technology is solved, and efficient utilization and stability improvement of the data center computing resources are achieved.

CN118535644AActive Publication Date: 2024-08-23POWERCHINA HUADONG ENG CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410557584.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-08-23
Estimated Expiration
2044-05-07

AI Technical Summary

Technical Problem

Existing distributed data computing methods have shortcomings in dynamic adjustment capabilities and full use of data center computing power. Especially when multiple hardware devices and architectures exist and system topology changes, the computing power of some computing nodes cannot be fully utilized.

Method used

The scheduling nodes generate and sign signal packets, and the computing nodes perform iterative calculations and signature verifications. The scheduling nodes evaluate the computing capabilities and coordination capabilities, dynamically adjust the computing task volume, and ensure that the computing nodes' computing coordination capabilities and time-consuming averages are accurately evaluated and updated.

Benefits of technology

It achieves accurate assessment and dynamic adjustment of the actual computing power of data center computing nodes, enhances system adaptability and resource allocation efficiency, and ensures stable convergence of computing power values.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535644A
    Figure CN118535644A
Patent Text Reader

Abstract

The invention provides a distributed computing synchronization method and system oriented to a data center, and the method comprises the following steps: S1, a scheduling node generates and encrypts a signal packet tuple, and transmits the signal packet tuple to all computing nodes; s2, after the computing node receives the encrypted signal packet tuple, performing signature verification operation, performing iterative computation according to parameters in the signal packet tuple passing the signature verification, and returning a result to the scheduling node; s3, the scheduling node estimates the computing power of each computing node according to results returned by all the computing nodes; s4, the scheduling node evaluates the comprehensive calculation coordination ability according to the calculation ability of each calculation node; and S5, the scheduling node allocates calculation tasks to the calculation coordination capability of each calculation node according to different tasks, and dynamically adjusts the calculation coordination capability of each calculation node. The method and the system provided by the invention are suitable for providing an accurate and stable evaluation result for the actual computing power of the distributed computing nodes of the data center, and are helpful to enhance the adaptability of the system and improve the allocation efficiency of the computing resources of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of distributed computing and data processing, and in particular relates to a distributed computing synchronization method and system for a data center. Background Art

[0002] With the increasing maturity of information technologies such as artificial intelligence, big data, and 5G, the Internet of Everything has moved from conceptualization to marketization, bringing people richer experiences and unprecedented economic development opportunities. One of the core underlying supporting technologies for the development of the Internet of Things is to rely on large data centers to provide real-time model calculation results for each terminal device to intelligently schedule massive terminal devices. In order to maximize the computing power of the data center, it is necessary to study a distributed data computing and synchronization algorithm to ensure that the computing power and data processing capabilities of each node in the data center can be effectively utilized, thereby saving hardware investment costs and achieving energy conservation and emission reduction.

[0003] The commonly used distributed data computing method in the industry is that the scheduling node performs weighted calculations based on the hardware parameters of each computing node, evaluates a performance index, and allocates computing tasks based on the size of the performance index, thereby scheduling the calculations for each node. The advantage of this method is that the system topology is simple, which has strong system stability. The disadvantage of this method is that the dynamic adjustment capability is poor, because the hardware parameters cannot fully reflect the actual computing power of the computing nodes. In addition, it cannot be adjusted in real time according to changes in the data center topology. The computing power of some computing nodes cannot be fully utilized, especially when the computing nodes of the data center have multiple hardware devices and architectures with different performances at the same time, and the system topology changes. This situation often occurs during the construction and operation of the data center. Therefore, it is necessary to study a distributed computing and data synchronization method that can adjust the amount of computing tasks in real time. Summary of the invention

[0004] The purpose of the present invention is to overcome the problem that the above-mentioned prior art lacks dynamic adjustment capability and is difficult to fully utilize the computing power of some data centers, and to provide a distributed computing synchronization method for data centers.

[0005] In order to achieve the above-mentioned invention object, the present method adopts the following technical scheme:

[0006] A distributed computing synchronization method for a data center includes the following steps:

[0007] Step S1: The scheduling node generates a signal packet containing a time stamp locally, signs the signal packet and its additional information using its private key, generates an encrypted signal packet tuple, and sends the encrypted signal packet tuple to all computing nodes;

[0008] Step S2: After receiving the encrypted signal packet tuple, the computing node performs a signature verification operation, discards the signal packet tuple that fails the signature verification, performs iterative calculations on the signal packet tuple that passes the signature verification according to the parameters provided therein, and sends the calculation result tuple back to the scheduling node;

[0009] Step S3: The scheduling node waits for all computing nodes to return the calculation result tuples, and performs hash verification and signature verification operations on the data in each tuple. If it fails, the corresponding computing node is required to re-provide the calculation result tuple until the verification passes. Then, the scheduling node evaluates the computing power of each computing node according to the calculation result tuple returned by each computing node, including the volatility of computing power and the average computing time.

[0010] Step S4: the scheduling node evaluates the comprehensive computing coordination capability of each computing node according to the average computing time of each computing node and the average computing time of all computing nodes;

[0011] Step S5: Every time a computing task is received, the scheduling node allocates tasks of different computing amounts according to the computing coordination capabilities of each computing node, and updates its comprehensive computing coordination capability based on the time it takes for each node to complete its computing amount.

[0012] Further, in step S1, the encrypted signal packet tuple is:

[0013] (S,T,M,N,PUB,SIG)

[0014] Among them, S is the signal packet generated by the scheduling node, T is the time stamp of the signal packet, M is the initial calculation difficulty value, which defaults to a positive integer, N is the number of difficulty values ​​that each computing node needs to solve, which defaults to a positive integer, PUB is the public key of the scheduling node, and SIG is the signature data generated by the scheduling node using the scheduling node's private key PRI.

[0015] Furthermore, in step S2, the iterative calculation performed by the computing node includes the following steps:

[0016] Step S21: Randomly generate auxiliary data a and calculate the tuple (a, p, j, t i,j )’s hash value h j , until a hash value h that meets certain conditions is found j , for example h j ≤M / j, and then the tuple (a,p,j,t i,j ,h j ) is stored in the j-th element C[j] of the array C, where i represents the number of the computing node, i∈[1,V], V is the number of computing nodes, j∈[1,N-1], j is the iteration variable, and its initial value is set to 1, p is the position variable, and its initial value is set to the signature SIG of the signal packet tuple, ti,j Find h that meets the requirements for computing node i j The local time is , and each element of the calculation result array C is initialized to empty;

[0017] Step S22: assign p to h j , and increment the iteration variable j by 1, and repeat step S21 until all N hash values ​​that meet the requirements are calculated;

[0018] Step S23: Calculate node i using its private key pri i For tuples (C, pub i ,sig i ) performs signature operation and generates signature data sig i , and the result tuple (C,pub i ,sig i ) is sent to the scheduling node.

[0019] Furthermore, in step S3, the time taken between the j+1th calculation and the jth calculation of computing node i is u i,j =t i,j+1 -t i,j , the volatility of the computing power of node i is shown as follows:

[0020]

[0021] Among them, e i is the average computation time of computing node i, e i =(t i,N -t i,1 ) / (N-1).

[0022] Furthermore, in step S4, the comprehensive computing coordination capability of the computing node i is calculated by calculating the performance index k i The judgment is as shown below:

[0023] k i =α / e i +β / w i +γ / |e i -B|

[0024] in, is the mean of the computation time of all computing nodes. α, β, γ>0 is the default constant.

[0025] Furthermore, in step S5, whenever a computing task is received, the scheduling node calculates the coordination capability k of each computing node based on the computing coordination capability k of each computing node. i And the total computing amount of the task X, dynamically allocate different computing amounts x to each computing node i i :

[0026]

[0027] After each computing node i completes the task, the scheduling node dispatches the node according to the time d taken to complete the task by the node. i Average time spent on all nodes Update the computing coordination capability of the node and update the computing performance index k of node i i :

[0028]

[0029] in δ>0 is the default constant.

[0030] According to a second aspect of the present invention, there is provided a distributed computing synchronization system for a data center, comprising:

[0031] Signal packet generation and sending module: controls the scheduling node to generate a signal packet containing a time stamp, signs the signal packet and its additional information using the scheduling node's private key, generates an encrypted signal packet tuple, and sends it to all computing nodes;

[0032] Signal packet receiving and processing module: The control computing node receives the encrypted signal packet tuple, performs signature verification, and discards the signal packet tuple that fails the signature verification. For the signal packet tuple that passes the signature verification, the control computing node performs iterative calculation according to the parameters therein, and then sends the calculation result tuple back to the scheduling node;

[0033] Result verification and capability evaluation module: The control scheduling node receives the calculation result tuples returned by all computing nodes, performs hash verification and signature verification on these tuples, and requires the computing nodes whose calculation results have not passed the verification to re-provide the calculation results until the verification passes. Then, the control scheduling node evaluates the computing capability of each computing node based on the returned calculation result tuples, including the volatility of computing capability and the average computing time.

[0034] Computing coordination capability evaluation module: The control scheduling node uses the average computing time of each computing node and the average computing time of all computing nodes to evaluate and update the comprehensive computing coordination capability of each computing node;

[0035] Dynamic task allocation module: The control scheduling node dynamically allocates tasks of different computing amounts according to the computing coordination capability of each computing node, and after the task is completed, updates its comprehensive computing coordination capability based on the time taken by each computing node to complete the task.

[0036] The present invention adopts a method for evaluating the actual computing power of distributed computing nodes in a data center by using random computing tasks, which can provide accurate and stable evaluation results. By dynamically adjusting the computing power, the strategy of the present invention ensures that the computing power value converges to a stable state over time. This method not only enhances the adaptability of the system, but also improves the efficiency of resource allocation. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is an overall flow chart of the distributed computing synchronization method and system for data centers provided by the present invention. DETAILED DESCRIPTION

[0038] The present invention will be further described and illustrated below in conjunction with the accompanying drawings and specific implementation methods.

[0039] The present invention mainly constructs a distributed computing synchronization method and system for data centers, which is used to provide accurate and stable evaluation results of the actual computing power of distributed computing nodes in data centers, help enhance the adaptability of the system and improve the allocation efficiency of system computing resources. Figure 1 The specific steps are as follows:

[0040] Step S1: The scheduling node generates a signal packet S locally, records the current time T, and signs the tuple (S, T, M, N, PUB) using its private key PRI to generate signature data SIG, and finally sends the signal packet tuple to all computing nodes.

[0041] (S,T,M,N,PUB,SIG)

[0042] Where PUB is the public key of the scheduling node, M is the initial computation difficulty value, which is a default positive integer, and N is the number of difficulty values ​​that each computing node needs to solve, which is a default positive integer.

[0043] Step S2: When computing node i receives a signal packet tuple, i∈[1,V], where V is the number of computing nodes, it first performs a signature verification operation on the signal packet tuple. If the signature verification fails, the signal packet tuple is discarded; otherwise, the following iterative operation is performed: (the initial value of the iteration variable j=1, the initial value of the position variable p=SIG, and each element of the calculation result array C is initialized to empty)

[0044] Step S21: Randomly generate auxiliary data a and calculate the tuple (a, p, j, t i,j )’s hash value h j , until a condition that satisfies h is found j ≤Hash value h of M / j j Then the tuple (a,p,j,t i,j ,h j) is put into the j-th element C[j] of array C. Among them, t i,j Find h that meets the requirements for computing node i j The local time at .

[0045] Step S22: assign p to h j , then increment by 1 and repeat step S21 until all N hash values ​​that meet the requirements are found.

[0046] Step S23: Calculate node i using its private key pri i For tuples (C, pub i ) performs signature operation and generates signature data sig i , and the result tuple (C,pub i ,sig i ) is sent to the scheduling node.

[0047] Step S3: The scheduling node calculates the single-machine computing performance of each computing node. The scheduling node waits for all computing nodes to return the calculation result tuple, and performs hash verification and signature verification operations on the data in each tuple. If it fails, the corresponding computing node is required to re-provide the calculation result tuple until the verification passes. Then the computing power of each computing node is calculated separately, including the volatility of computing power and the computing time. Among them, the time between the j+1th calculation and the jth calculation of computing node i is

[0048] u i,j =t i,j+1 -t i,j , j∈[1,N-1]

[0049] The volatility of the computing power of node i is

[0050]

[0051] Among them, e i is the average computation time of computing node i, e i =(t i,N -t i,1 ) / (N-1).

[0052] Step S4: The scheduling node evaluates the comprehensive computing coordination capability of each computing node. The computing performance index of computing node i is

[0053] k i =α / e i +β / w i +γ / |e i -B|

[0054] in, It is the average of the computation time of all computing nodes. α,β,γ>0 is the default constant.

[0055] Step S5: The scheduling node dynamically adjusts the computational coordination index of each computing node. For each computational task received, let its total computational workload be X, then the computational workload assigned to computing node i is

[0056]

[0057] Let computing node i complete the computation amount x i The computation time spent is d i , then its updated computing performance index is

[0058]

[0059] in It is the average calculation time of all computing nodes in this calculation task. δ>0 is the default constant.

[0060] The above-described embodiment is only a preferred solution of the present invention, but it is not intended to limit the present invention. A person skilled in the relevant technical field may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, any technical solution obtained by equivalent replacement or equivalent transformation falls within the protection scope of the present invention.

Claims

1. A distributed computing synchronization method for data centers, characterized in that: The following steps are involved: Step S1: The scheduling node generates a signal packet containing a time stamp locally, signs the signal packet and its additional information using its private key, generates an encrypted signal packet tuple, and sends the encrypted signal packet tuple to all computing nodes; Step S2: After receiving the encrypted signal packet tuple, the computing node performs a signature verification operation, discards the signal packet tuple that fails the signature verification, performs iterative calculations on the signal packet tuple that passes the signature verification according to the parameters provided therein, and sends the calculation result tuple back to the scheduling node; Step S3: The scheduling node waits for all computing nodes to return the calculation result tuples, and performs hash verification and signature verification operations on the data in each tuple. If it fails, the corresponding computing node is required to re-provide the calculation result tuple until the verification passes. Then, the scheduling node evaluates the computing power of each computing node according to the calculation result tuple returned by each computing node, including the volatility of computing power and the average computing time. Step S4: the scheduling node evaluates the comprehensive computing coordination capability of each computing node according to the average computing time of each computing node and the average computing time of all computing nodes; Step S5: Every time a computing task is received, the scheduling node allocates tasks of different computing amounts according to the computing coordination capabilities of each computing node, and updates its comprehensive computing coordination capability based on the time it takes for each node to complete its computing amount.

2. The distributed computing synchronization method for data centers according to claim 1, characterized in that: In step S1, the encrypted signal packet tuple is: (S,T,M,N,PUB,SIG) Among them, S is the signal packet generated by the scheduling node, T is the time stamp of the signal packet, M is the initial calculation difficulty value, N is the number of difficulty values ​​that each computing node needs to solve, PUB is the public key of the scheduling node, and SIG is the signature data generated by the scheduling node through the private key PRI of the scheduling node.

3. The distributed computing synchronization method for data centers according to claim 1, characterized in that: In step S2, the iterative calculation performed by the computing node includes the following steps: Step S21: Randomly generate auxiliary data a and calculate the tuple (a, p, j, t i,j )’s hash value h j , until a hash value h that meets certain conditions is found j , and then the tuple (a,p,j,t i,j ,h j ) is stored in the j-th element C[j] of the array C, where i represents the number of the computing node, i∈[1,V], V is the number of computing nodes, j∈[1,N-1], j is the iteration variable, and its initial value is set to 1, p is the position variable, and its initial value is set to the signature SIG of the signal packet tuple, t i,j Find h that meets the requirements for computing node i j The local time is , and each element of the calculation result array C is initialized to empty; Step S22: assign p to h j , and increment the iteration variable j by 1, and repeat step S21 until all N hash values ​​that meet the requirements are calculated; Step S23: Calculate node i using its private key pri i For tuples (C, pub i ,sig i ) performs signature operation and generates signature data sig i , and the result tuple (C,pub i ,sig i ) is sent to the scheduling node.

4. The distributed computing synchronization method for data centers according to claim 1, characterized in that: In step S3, the time taken between the j+1th calculation and the jth calculation of computing node i is u i,j =t i,j+1 -t i,j , the volatility of the computing power of node i is shown as follows: Among them, e i is the average computation time of computing node i, e i =(t i,N -t i,1 ) / (N-1).

5. The distributed computing synchronization method for data centers according to claim 1, characterized in that: In step S4, the comprehensive computing coordination capability of the computing node i is calculated by calculating the performance index k i The judgment is as shown below: k i =a / e i +b / w i +γ / |e i -B| in, is the mean of the computation time of all computing nodes. α, β, γ>0 is the default constant.

6. The distributed computing synchronization method for data centers according to claim 1, characterized in that: In step S5, whenever a computing task is received, the scheduling node calculates the computing coordination capability k of each computing node. i And the total computing amount of the task X, dynamically allocate different computing amounts x to each computing node i i : After each computing node i completes the task, the scheduling node dispatches the node according to the time d taken to complete the task by the node. i Average time spent on all nodes Update the computing coordination capability of the node and update the computing performance index k of node i i : in δ>0 is the default constant.

7. A distributed computing synchronization system for a data center, comprising: Signal packet generation and sending module: controls the scheduling node to generate a signal packet containing a time stamp, signs the signal packet and its additional information using the scheduling node's private key, generates an encrypted signal packet tuple, and sends it to all computing nodes; Signal packet receiving and processing module: The control computing node receives the encrypted signal packet tuple, performs signature verification, and discards the signal packet tuple that fails the signature verification. For the signal packet tuple that passes the signature verification, the control computing node performs iterative calculation according to the parameters therein, and then sends the calculation result tuple back to the scheduling node; Result verification and capability evaluation module: The control scheduling node receives the calculation result tuples returned by all computing nodes, performs hash verification and signature verification on these tuples, and requires the computing nodes whose calculation results have not passed the verification to re-provide the calculation results until the verification passes. Then, the control scheduling node evaluates the computing capability of each computing node based on the returned calculation result tuples, including the volatility of computing capability and the average computing time. Computing coordination capability evaluation module: The control scheduling node uses the average computing time of each computing node and the average computing time of all computing nodes to evaluate and update the comprehensive computing coordination capability of each computing node; Dynamic task allocation module: The control scheduling node dynamically allocates tasks of different computing amounts according to the computing coordination capability of each computing node, and after the task is completed, updates its comprehensive computing coordination capability based on the time taken by each computing node to complete the task.

Citation Information

Patent Citations

  • Distributed data synchronous encryption method based on block chain

    CN114679319A

  • Distributed cloud computing power resource cross-domain cooperative scheduling asynchronous computing method and system

    CN117714445A

  • Calculation mode generation method and system based on edge calculation and storage medium

    CN117742966A