A method, device, equipment, medium and product for matching computing power nodes

CN121567698BActive Publication Date: 2026-08-11CHINA MOBILE INFORMATION TECHNOLOGY CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-05
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0004]本发明的目的是提供一种算力节点的匹配方法、装置、设备、介质和产品,用于解决现有技术中可信算力网络系统依赖中心化决策,导致单点故障风险或计算分配不均的问题

Benefits of technology

[0053] In this embodiment of the invention, after obtaining the computing requirements of a first device, a data resource application is presented to a second device capable of providing the data resources requested in the computing requirements. After the second device approves and confirms the application, the approval confirmation information sent by the second device is obtained. Based on the computing requirements and the approval confirmation information, and considering the specific needs of both the supply and demand sides, a target computing power node from among multiple registered computing power nodes is matched for the first device. A node matching strategy and a reliable method are used to match a computing power node that meets the requirements, ensuring data security and high availability of computing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121567698B_ABST
    Figure CN121567698B_ABST
Patent Text Reader

Abstract

This invention provides a method, apparatus, device, medium, and product for matching computing power nodes, relating to the field of blockchain technology. The method includes: acquiring a computing requirement sent by a first device, including data resource requirements and a first computing power node requirement; presenting a data resource application to a second device capable of providing the requested data resources based on the data resource requirements; acquiring approval confirmation information sent by the second device based on the data resource application; and determining a target computing power node among multiple computing power nodes registered on the blockchain network, based on the computing power information, computing requirements, and approval confirmation information, for providing computing power to the first device. This invention, by considering the specific needs of both the first and second devices and utilizing a node matching strategy and a trusted method to match a computing power node that meets the requirements, ensures data security and high availability of computing power.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of blockchain technology, and in particular to a method, apparatus, device, medium, and product for matching computing power nodes. Background Technology

[0002] Most existing trusted computing network systems rely on centralized decision-making. This centralized decision-making approach may lead to single point of failure risks or uneven distribution of computing power, which can affect the availability of the entire system.

[0003] Some solutions employ decentralized computing power matching mechanisms; however, existing solutions only consider the requirements of the computing demander and mostly adopt random selection mechanisms or fixed matching strategies that only consider available node resources and reputation values. Summary of the Invention

[0004] The purpose of this invention is to provide a method, apparatus, device, medium, and product for matching computing power nodes, in order to solve the problem that trusted computing power network systems in the prior art rely on centralized decision-making, leading to single-point failure risks or uneven computing distribution.

[0005] To achieve the above objectives, embodiments of the present invention provide a method for matching computing power nodes, wherein the method is executed by a first network device in a blockchain network, the method comprising:

[0006] Obtain the computing requirements sent by the first device; wherein the computing requirements include data resource requirements and first computing node requirements;

[0007] Based on the data resource requirement, a data resource request is presented to the second device; wherein the second device is a device capable of providing the data resource requested by the data resource requirement.

[0008] Obtain the approval confirmation information sent by the second device based on the data resource application; wherein, the approval confirmation information includes the second computing node requirement corresponding to the data resource requirement;

[0009] Based on the computing power information of multiple computing power nodes registered on the blockchain network, a target computing power node is determined among the multiple computing power nodes to provide computing for the first device; wherein, the computing power information of the target computing power node is matched with the requirements of the first computing power node and the requirements of the second computing power node.

[0010] Optionally, the method, wherein presenting a data resource request to the second device according to the data resource requirement, includes:

[0011] Obtain the first data resource identity identifier requested by the first device based on the data resource requirements;

[0012] The data resource identity is matched against a second data resource identity in at least one stored data resource; wherein the second data resource identity is a unique identity of the at least one data resource among a plurality of third devices registered on the blockchain network.

[0013] If the first data resource identity identifier matches the second data resource identity identifier of the target data resource among the at least one data resource, the data resource application is displayed to the second device among the plurality of third devices corresponding to the target data resource.

[0014] Optionally, the method, wherein determining a target computing power node among the plurality of computing power nodes based on the computing power information of the plurality of computing power nodes registered on the blockchain network, for providing computing for the first device, includes:

[0015] Based on the first computing power node requirements, the second computing power node requirements, and the computing power information, at least one first computing power node among the plurality of computing power nodes whose computing power information meets both the first computing power node requirements and the second computing power node requirements is obtained;

[0016] Based on the first computing power node requirements, the second computing power node requirements, and the computing power information, each first computing power node is scored to obtain the computing power node score corresponding to each first computing power node.

[0017] The first computing power node with the highest computing power node score is selected as the target computing power node.

[0018] Optionally, the method, wherein obtaining at least one first computing power node whose computing power information meets both the first computing power node requirements and the second computing power node requirements based on the first computing power node requirements, the second computing power node requirements, and the computing power information, includes:

[0019] Based on the comparison between the requirements of the first computing power node and the computing power information of the plurality of computing power nodes, at least one second computing power node that meets the requirements of the first computing power node is obtained.

[0020] Based on the comparison between the requirements of the second computing power node and the computing power information of the at least one second computing power node, at least one first computing power node that meets the requirements of the second computing power node is obtained.

[0021] Optionally, the method, wherein scoring each first computing power node based on the first computing power node demand, the second computing power node demand, and the computing power information, and obtaining a computing power node score corresponding to each first computing power node, includes:

[0022] The absolute value of the difference between the multiple node computing power indicators of each first computing power node and the corresponding first computing power indicator value among the multiple first computing power indicator values ​​is multiplied by the corresponding first computing power indicator weight and then summed to obtain the first computing power node score; wherein, the first computing power node requirement includes multiple first computing power indicator values ​​and the first computing power indicator weights corresponding to the multiple first computing power indicator values ​​respectively; the computing power information includes multiple node computing power indicators.

[0023] The absolute value of the difference between the multiple node computing power indicators of each first computing power node and the corresponding second computing power indicator value among the multiple second computing power indicator values ​​is multiplied by the corresponding second computing power indicator weight and then summed to obtain the second computing power node score; wherein, the second computing power node requirement includes multiple second computing power indicator values ​​and the second computing power indicator weights corresponding to the multiple second computing power indicator values ​​respectively;

[0024] Based on the first computing power node score and the second computing power node score of each first computing power node, obtain the computing power node score corresponding to each first computing power node.

[0025] To achieve the above objectives, embodiments of the present invention provide a method for matching computing power nodes, wherein the method is executed by a first device and includes:

[0026] A computing request is sent to a first network device in the blockchain network; wherein the computing request includes a data resource request and a first computing power node request; the data resource request is used by the first network device to present a data resource application to a second device that can provide the data resources requested by the data resource request; the first computing power node request is used by the first network device to determine a target computing power node that can provide computing.

[0027] Optionally, the method further includes:

[0028] The first network device acquires the computing information of the target computing node; wherein, the computing information includes a service address and a data encryption public key;

[0029] The first data to be calculated is encrypted using the data encryption public key to obtain the first encrypted data to be calculated.

[0030] The first encrypted data to be computed is sent to the target computing node through the service address;

[0031] The calculation result of the first data to be calculated is obtained on the target computing node.

[0032] To achieve the above objectives, embodiments of the present invention provide a method for matching computing power nodes, wherein the method is executed by a second device, and the method includes:

[0033] When a first network device in the blockchain network sees a data resource request, an approval confirmation message is sent to the first network device; wherein, the data resource request is a display of the data resource requirements sent by the first network device; the approval confirmation message includes a second computing power node requirement corresponding to the data resource requirement; the second computing power node requirement is used by the first network device to determine the target computing power node that can provide computing.

[0034] Optionally, the method further includes:

[0035] The first network device acquires the computing information of the target computing node; wherein, the computing information includes a service address and a data encryption public key;

[0036] The second data to be calculated is encrypted using the data encryption public key to obtain the second encrypted data to be calculated.

[0037] The second encrypted data to be computed is sent to the target computing node through the service address.

[0038] Optionally, the method further includes, before sending approval confirmation information to the first network device in the blockchain network when the first network device sees the data resource request:

[0039] Sending a second data resource identity identifier for at least one data resource to a second network device in the blockchain network; wherein the second data resource identity identifier is used by the first network device to match the first data resource identity identifier and display the data resource application; the first data resource identity identifier is obtained by the first network device according to the data resource requirement.

[0040] To achieve the above objectives, embodiments of the present invention provide a matching device for computing power nodes, wherein the matching is performed by a first network device in a blockchain network, the device comprising:

[0041] The first acquisition module is used to acquire the computing requirements sent by the first device; wherein, the computing requirements include data resource requirements and first computing node requirements;

[0042] The first processing module is used to display a data resource request to the second device according to the data resource requirement; wherein the second device is a device capable of providing the data resource requested by the data resource requirement;

[0043] The second acquisition module is used to acquire the approval confirmation information sent by the second device according to the data resource application; wherein, the approval confirmation information includes the second computing power node requirement corresponding to the data resource requirement;

[0044] The first determining module is used to determine a target computing power node among the multiple computing power nodes registered on the blockchain network based on the computing power information of the multiple computing power nodes, for providing computing for the first device; wherein the computing power information of the target computing power node matches the requirements of the first computing power node and the requirements of the second computing power node.

[0045] To achieve the above objectives, embodiments of the present invention provide a matching device for computing power nodes, wherein the matching is performed by a first device, the device comprising:

[0046] The first sending module is used to send a computing request to a first network device in the blockchain network; wherein, the computing request includes a data resource request and a first computing power node request; the data resource request is used by the first network device to present a data resource application to a second device that can provide the data resources requested by the data resource request; the first computing power node request is used by the first network device to determine a target computing power node that can provide computing.

[0047] To achieve the above objectives, embodiments of the present invention provide a matching device for computing power nodes, wherein the matching is performed by a second device, and the device includes:

[0048] The second sending module is used to send approval confirmation information to the first network device when the first network device in the blockchain network sees the data resource application; wherein, the data resource application is displayed by the first network device according to the data resource requirements sent by the first device; the approval confirmation information includes a second computing power node requirement corresponding to the data resource requirement; the second computing power node requirement is used by the first network device to determine the target computing power node that can provide computing.

[0049] To achieve the above objectives, embodiments of the present invention provide a network device, including: a processor, a memory, and a program or instructions stored in the memory and executable on the processor; wherein, when the processor executes the program or instructions, it implements the computing power node matching method described above executed by a first network device of the blockchain network, or the computing power node matching method described above executed by the first device, or the computing power node matching method described above executed by a second device.

[0050] To achieve the above objectives, embodiments of the present invention provide a readable storage medium storing a program or instructions thereon, wherein the program or instructions, when executed by a processor, implement the steps of the above-described method for matching computing power nodes executed by a first network device of the blockchain network, or the above-described method for matching computing power nodes executed by the first device, or the above-described method for matching computing power nodes executed by a second device.

[0051] To achieve the above objectives, embodiments of the present invention provide a computer program product, comprising computer instructions, wherein when executed by a processor, the computer instructions implement the steps of the above-described method for matching computing power nodes executed by a first network device of a blockchain network, or the above-described method for matching computing power nodes executed by the first device, or the above-described method for matching computing power nodes executed by a second device.

[0052] The beneficial effects of the above-described technical solution of the present invention are as follows:

[0053] In this embodiment of the invention, after obtaining the computing requirements of a first device, a data resource application is presented to a second device capable of providing the data resources requested in the computing requirements. After the second device approves and confirms the application, the approval confirmation information sent by the second device is obtained. Based on the computing requirements and the approval confirmation information, and considering the specific needs of both the supply and demand sides, a target computing power node from among multiple registered computing power nodes is matched for the first device. A node matching strategy and a reliable method are used to match a computing power node that meets the requirements, ensuring data security and high availability of computing. Attached Figure Description

[0054] Figure 1 This is a schematic diagram of the matching method for computing power nodes executed by the first network device of the blockchain network according to an embodiment of the present invention;

[0055] Figure 2 This is a schematic diagram of the computing node matching system of the computing node matching method described in the embodiment of the present invention;

[0056] Figure 3 This is a flowchart of the matching method for computing power nodes according to an embodiment of the present invention;

[0057] Figure 4 A flowchart of the first device for the matching method of computing power nodes according to an embodiment of the present invention;

[0058] Figure 5 A flowchart of the second device for the computing node matching method described in this embodiment of the invention;

[0059] Figure 6This is a schematic diagram of the matching method for computing power nodes executed by the first device according to an embodiment of the present invention;

[0060] Figure 7 A flowchart illustrating the target computing power node of the computing power node matching method described in this embodiment of the invention;

[0061] Figure 8 This is a schematic diagram of the matching method for computing power nodes executed by the second device according to an embodiment of the present invention;

[0062] Figure 9 This is a schematic diagram of a matching device for computing power nodes executed by a first network device of a blockchain network, as described in an embodiment of the present invention.

[0063] Figure 10 This is a schematic diagram of a matching device for computing power nodes executed by a first device according to an embodiment of the present invention;

[0064] Figure 11 This is a schematic diagram of a matching device for computing nodes executed by a second device, as described in an embodiment of the present invention. Detailed Implementation

[0065] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.

[0066] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the invention. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.

[0067] In various embodiments of the present invention, it should be understood that the sequence number of each process described below does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0068] In addition, the terms "system" and "network" are often used interchangeably in this article.

[0069] In the embodiments provided by this invention, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined based on A. However, it should also be understood that determining B based on A does not mean that B is determined solely based on A; B can also be determined based on A and / or other information.

[0070] For ease of understanding, the following describes some aspects of the embodiments of the present invention:

[0071] like Figure 1 As shown, an embodiment of the present invention provides a method for matching computing power nodes, wherein the method is executed by a first network device in a blockchain network, and the method includes:

[0072] Step S10: Obtain the computing requirements sent by the first device; wherein, the computing requirements include data resource requirements and first computing node requirements;

[0073] It should be noted that, as Figure 2 As shown, a matching system for computing power nodes corresponding to a matching method for computing power nodes is now provided. In step 201, the first device sends a data request registration to the blockchain network. For example... Figure 3 As shown, in step 301, the first device publishes its computing needs on the blockchain network. Figure 4 As shown, in step 401, the first device publishes its computing request on the blockchain network. The computing management smart contract is the first network device. The first device, as the computing requester, can view data resources on the blockchain network and include information about selected data resources in its data resource request. It then sends its computing request, including the data resource request, to the first network device. Furthermore, the first device also sends its specific requirements for computing power nodes (i.e., the first computing power requirement) to the blockchain network.

[0074] Step S20: Based on the data resource requirement, present the data resource request to the second device; wherein, the second device is a device capable of providing the data resource requested by the data resource requirement.

[0075] It should be noted that the second device, which is the data provider to which the data resource requested by the first device belongs, is matched according to the data resource requirements. It has abundant data resources and publishes the metadata of its data resources on the blockchain network, which not only enables the first device to view, select and use the data, but also ensures the security of the data.

[0076] Step S30: Obtain the approval confirmation information sent by the second device according to the data resource application; wherein, the approval confirmation information includes the second computing node requirement corresponding to the data resource requirement;

[0077] It should be noted that, as Figure 2 As shown, in step 202, the second device sends a data approval request registration to the blockchain network. Figure 3 As shown, in step 302, the second device sends a data usage approval request to the blockchain network. Figure 5As shown, in step 501, the second device sends a data request for approval to the blockchain network. The second device views the data resource request on the first network device. If it agrees to use it, the approval is granted, and the approval confirmation information is sent to the first network device. The approval confirmation information includes the specific requirements for the computing power node (i.e., the requirements for the second computing power node).

[0078] Step S40: Based on the computing power information of multiple computing power nodes registered on the blockchain network, determine a target computing power node among the multiple computing power nodes to provide computing for the first device; wherein, the computing power information of the target computing power node matches the requirements of the first computing power node and the requirements of the second computing power node.

[0079] It should be noted that, as Figure 2 As shown, in step 203, the node is registered. Figure 3 In step 303, the computing power node sends a node registration message to the blockchain network. When a computing power node is idle, it can register on the blockchain network, thereby registering itself with the blockchain network. Figure 3 In step 304, the blockchain network performs computing node matching. After receiving the first computing power node requirement sent by the first device and the second computing power node requirement sent by the second device, the blockchain network performs node matching among multiple registered computing power nodes to determine the target computing power node whose computing power information matches the first and second computing power node requirements. These multiple computing power nodes possess abundant idle trusted computing resources and can provide trusted computing services. The blockchain network supports decentralized governance of these multiple computing power nodes, enabling computing node registration, querying, and intelligent matching functions. Furthermore, the computing management smart contract on the blockchain network (i.e., the first network device) automatically matches the most suitable trusted computing node (i.e., the target computing power node) based on the needs of both the supply and demand parties (i.e., the first and second devices). In this embodiment of the invention, during the data resource registration stage, the second device only registers the metadata of the data, while the original data remains stored locally on the second device, thus ensuring the privacy of the original data. During the computing power node matching stage, a computing power node selection mechanism that meets the needs of both the supply and demand sides is proposed to avoid the risk of node unavailability caused by simple matching strategies and ensure the high availability of trusted computing.

[0080] In this embodiment, after obtaining the computing requirements of the first device, a data resource application is presented to a second device capable of providing the data resources requested in the computing requirements. After the second device approves and confirms the application, the approval confirmation information sent by the second device is obtained. Based on the computing requirements and the approval confirmation information, and considering the specific needs of both the supply and demand sides, a target computing power node is matched for the first device from among multiple registered computing power nodes. By utilizing a node matching strategy and employing a reliable method, a computing power node that meets the requirements is matched, ensuring data security and high availability of computing.

[0081] Optionally, the method, wherein step S20 includes:

[0082] Obtain the first data resource identity identifier requested by the first device based on the data resource requirements;

[0083] The data resource identity is matched against a second data resource identity in at least one stored data resource; wherein the second data resource identity is a unique identity of the at least one data resource among a plurality of third devices registered on the blockchain network.

[0084] If the first data resource identity identifier matches the second data resource identity identifier of the target data resource among the at least one data resource, the data resource application is displayed to the second device among the plurality of third devices corresponding to the target data resource.

[0085] In this embodiment, Figure 4 In step 401, the computational requirements include data requirements, i.e., the data resource requirements, where ID is the identity identifier of the first data resource. Figure 2 In step 204, the second device registers its data with the blockchain network. Figure 3 In step 305, the second device registers data on the blockchain network. For example... Figure 6 As shown, in step 601, the second device sends a data registration to the blockchain network. The data registration includes an ID; that is, when the third device registers with the blockchain network, it sends the second data resource identity identifier as the unique identifier of the data resource. The third device to which the data resource belongs, corresponding to the second data resource identity identifier that matches the first data resource identity identifier, is designated as the second device. For ease of demonstration, Figure 2 , Figure 3 and Figure 6 The diagram only shows the data registration (i.e., registration) process of the second device that matches the first device. In the actual steps, the third device, which includes the second device, also performs the data registration (i.e. registration) process on the blockchain network.

[0086] Optionally, the method, wherein step S40 includes:

[0087] Based on the first computing power node requirements, the second computing power node requirements, and the computing power information, at least one first computing power node among the plurality of computing power nodes whose computing power information meets both the first computing power node requirements and the second computing power node requirements is obtained;

[0088] Based on the first computing power node requirements, the second computing power node requirements, and the computing power information, each first computing power node is scored to obtain the computing power node score corresponding to each first computing power node.

[0089] The first computing power node with the highest computing power node score is selected as the target computing power node.

[0090] In this embodiment, such as Figure 6 As shown, in step 602, the computing power node registers (i.e., registers) with the node management smart contract in the blockchain network and sends the computing power information. The node management smart contract is a third-party network device. The computing power information includes the node's unique identifier (ID), security level (Sec), trusted architecture (Arc), supported algorithm set (Algo), CPU utilization, memory utilization (Mem), service address (Host), and data encryption public key (Pubkey). Furthermore, the computing power node periodically reports heartbeats and resource utilization to the blockchain network. On the blockchain network, the computing power information also includes two metrics: online rate (Online) and trusted computing success rate (Success). The security level is divided into three levels: level 1 if the information system where the computing node is located fails the Information Security Protection Standard 2.0 test, level 2 if it passes the test, and level 3 if it passes the standard 3.0 or above. If the computing node supports the security technology Intel SGX (SoftwareGuard Extensions), it is set to SGX; if it supports the security technology Arm Trustzone, it is set to Trustzone; if it supports Hygon CSV (China Secure Virtualization), it is set to CSV. The supported algorithm set is specified, for example, if the computing node supports both Logistic Regression and eXtreme Gradient Boosting (XGBoost), it is set to {LogisticRegression, Xgboost}. The online rate is the proportion of heartbeats reported by the computing node within a week, i.e., Online = Actual Heartbeats / Theoretical Maximum Heartbeats. The CPU utilization and memory utilization (Mem) are updated within a preset period.

[0091] The computing power node score is calculated based on the first computing power node requirement sent by the first device, the second computing power node requirement sent by the second device, and the computing power information registered during the registration of the computing power node. The computing power node with the highest score among the plurality of computing power nodes is selected as the target computing power node.

[0092] Optionally, the method, wherein obtaining at least one first computing power node whose computing power information meets both the first computing power node requirements and the second computing power node requirements based on the first computing power node requirements, the second computing power node requirements, and the computing power information, includes:

[0093] Based on the comparison between the requirements of the first computing power node and the computing power information of the plurality of computing power nodes, at least one second computing power node that meets the requirements of the first computing power node is obtained.

[0094] Based on the comparison between the requirements of the second computing power node and the computing power information of the at least one second computing power node, at least one first computing power node that meets the requirements of the second computing power node is obtained.

[0095] In this embodiment, such as Figure 4 As shown, in step 401, the computational requirements also include computational node requirements (i.e., the first computational power requirement). The first computational power requirement includes: Sec_r, security level, i.e., the second computational node's Sec >= Sec_r; Arc_r, trusted architecture, i.e., the second computational node's Arc = Arc_r; Algo_r, the algorithm used in this computation, i.e., the second computational node's Algo algorithm set must include Algo_r; CPU_r, CPU utilization, i.e., the second computational node's CPU <= CPU_r; Mem_r, memory utilization, i.e., the second computational node's Mem <= Mem_r; Online_r, online rate, i.e., the second computational node's Online >= Online_r; Success_r, computation success rate, i.e., the second computational node's Success >= Success_r. Among these, Sec_r, Arc_r, and Algo_r are static indicators, while CPU_r, Mem_r, Online_r, and Success_r are dynamic indicators. The second computing node is selected from the plurality of computing nodes based on the requirements of the first computing node. For example... Figure 5As shown, in step 501, the data application approval (i.e., the approval confirmation information) also includes computing node requirements (i.e., the second computing power node requirements). The second computing power node requirements include: CPU_p, CPU utilization rate (i.e., the first computing power node's CPU <= CPU_p); Mem_p, memory utilization rate (i.e., the first computing power node's Mem <= Mem_p); Online_p, online rate (i.e., the first computing power node's Online >= Online_p); and Success_p, computation success rate (i.e., the first computing power node's Success >= Success_p). The first computing power node is selected from the second computing power nodes based on the second computing power node requirements. If no first computing power node meets both the first and second computing power node requirements, the matching fails.

[0096] Optionally, the method, wherein scoring each first computing power node based on the first computing power node demand, the second computing power node demand, and the computing power information, and obtaining a computing power node score corresponding to each first computing power node, includes:

[0097] The absolute value of the difference between the multiple node computing power indicators of each first computing power node and the corresponding first computing power indicator value among the multiple first computing power indicator values ​​is multiplied by the corresponding first computing power indicator weight and then summed to obtain the first computing power node score; wherein, the first computing power node requirement includes multiple first computing power indicator values ​​and the first computing power indicator weights corresponding to the multiple first computing power indicator values ​​respectively; the computing power information includes multiple node computing power indicators.

[0098] The absolute value of the difference between the multiple node computing power indicators of each first computing power node and the corresponding second computing power indicator value among the multiple second computing power indicator values ​​is multiplied by the corresponding second computing power indicator weight and then summed to obtain the second computing power node score; wherein, the second computing power node requirement includes multiple second computing power indicator values ​​and the second computing power indicator weights corresponding to the multiple second computing power indicator values ​​respectively;

[0099] Based on the first computing power node score and the second computing power node score of each first computing power node, obtain the computing power node score corresponding to each first computing power node.

[0100] In this embodiment, Figure 4In step 401, the first computing power node requirement includes static and dynamic indicators. The dynamic indicators are the first computing power indicator values, including: CPU_r, Mem_r, Online_r, and Success_r. The first computing power node requirement also includes the weights of each first computing power indicator value. The first computing power indicator weights include: CPU_r_ratio, Mem_r_ratio, Online_r_ratio, and Success_r_ratio, where all four weights are non-negative and their sum is 1. The node computing power indicators include CPU, Mem, Online, and Success. The first computing power node score is calculated based on the node computing power indicators, the first computing power indicator values, and the first computing power indicator weights, using the following formula:

[0101] r1=CPU_r_ratio*(CPU_r-CPU)+Mem_r_ratio*(Mem_r-Mem)+Online_r_ratio*(Online-Online_r)+Success_r_ratio*(Success-Success_r).

[0102] exist Figure 5 In step 501, the second computing power node requirement includes the second computing power index value and the weight of the second computing power index corresponding to each second computing power index value. The second computing power index value includes: CPU_p, Mem_p, Online_p, and Success_p. The second computing power index weight includes: CPU_p_ratio, Mem_p_ratio, Online_p_ratio, and Success_p_ratio, where the four weights are non-negative numbers and the sum of the weights is 1. The node computing power index includes CPU, Mem, Online, and Success. The first computing power node score is calculated based on the node computing power index, the second computing power index value, and the second computing power index weight, using the following formula:

[0103] r2=CPU_p_ratio*(CPU_p-CPU)+Mem_p_ratio*(Mem_p-Mem)+Online_p_ratio*(Online-Online_p)+Success_p_ratio*(Success-Success_p).

[0104] The formula for the computing power node score is as follows:

[0105] r = (r1+r2) / 2.

[0106] The first computing power node with the highest computing power node score is selected as the target computing power node. If there is more than one target computing power node with the highest computing power node score, one can be randomly selected from the target computing power nodes.

[0107] like Figure 6 As shown, to achieve the above objectives, embodiments of the present invention provide a method for matching computing power nodes, wherein the method is executed by a first device and includes:

[0108] Step A10: Send a computing request to a first network device in the blockchain network; wherein, the computing request includes a data resource request and a first computing power node request; the data resource request is used by the first network device to present a data resource application to a second device that can provide the data resources requested by the data resource request; the first computing power node request is used by the first network device to determine a target computing power node that can provide computing.

[0109] In this embodiment, such as Figure 4 As shown, in step 401, the first device publishes its computing requirements to the first network device in the blockchain network. The data requirements (i.e., the data resource requirements) include ID, computing node indicator requirements (i.e., the first computing power node requirements) Sec_r, Arc_r, Algo_r, CPU_r, Mem_r, Online_r, Success_r, and four weight values ​​CPU_r_ratio, Mem_r_ratio, Online_r_ratio, and Success_r_ratio.

[0110] Optionally, the method further includes:

[0111] The first network device acquires the computing information of the target computing node; wherein, the computing information includes a service address and a data encryption public key;

[0112] The first data to be calculated is encrypted using the data encryption public key to obtain the first encrypted data to be calculated.

[0113] The first encrypted data to be computed is sent to the target computing node through the service address;

[0114] The calculation result of the first data to be calculated is obtained on the target computing node.

[0115] In this embodiment, such as Figure 6As shown, in step 602, when the computing power node registers with the blockchain network, the computing power information sent also includes a service address (Host) and a data encryption public key (Pubkey). After determining the target computing power node, the first device can obtain the service address and the data encryption public key on the first network device. Figure 2 As shown, in step 205, the first device performs encrypted data transmission to node 1 (i.e., the target computing node). Figure 3 As shown, in step 306, the first device performs encrypted data transmission to the computing power node (i.e., the target computing power node). Figure 7 As shown, in step 701, the first device transmits encrypted data to the computing node (i.e., the target computing node). The first data to be computed is encrypted using the data encryption public key and then sent to the target computing node via the service address. Figure 2 In step 206, trusted computation is performed on node 1 (i.e., the target computing node), and in step 207, the first device obtains the results from node 1 (i.e., the target computing node). Figure 3 In step 307, trusted computation is performed on the computing power node (i.e., the target computing power node), and in step 308, the first device obtains the computation result from the computing power node (i.e., the target computing power node). Figure 7 In step 702, trusted computation for data decryption is performed on the computing power node (i.e., the target computing power node). In step 703, the first device obtains the result from the computing power node (i.e., the target computing power node). After the target computing node decrypts the first encrypted data to be computed and completes the computation together with the data sent by the second device, the first device can obtain the computation result from the target computing node. The computation result can be data encrypted with the encryption public key of the first device, or it can be plaintext data.

[0116] like Figure 8 As shown, to achieve the above objectives, embodiments of the present invention provide a method for matching computing power nodes, wherein the method is executed by a second device, and the method includes:

[0117] Step B10: When the first network device in the blockchain network sees the data resource application, an approval confirmation message is sent to the first network device; wherein, the data resource application is a display of the data resource requirements sent by the first network device; the approval confirmation message includes a second computing power node requirement corresponding to the data resource requirement; the second computing power node requirement is used by the first network device to determine the target computing power node that can provide computing.

[0118] In this embodiment, such as Figure 2As shown, in step 202, the second device registers its data approval request with the blockchain network, that is, it sends the approval confirmation information to the first network device.

[0119] Optionally, the method further includes:

[0120] The first network device acquires the computing information of the target computing node; wherein, the computing information includes a service address and a data encryption public key;

[0121] The second data to be calculated is encrypted using the data encryption public key to obtain the second encrypted data to be calculated.

[0122] The second encrypted data to be computed is sent to the target computing node through the service address.

[0123] In this embodiment, such as Figure 2 As shown, in step 208, the second device performs encrypted data transmission to node 1 (i.e., the target computing node). Figure 3 As shown, in step 309, the second device performs encrypted data transmission to the computing power node (i.e., the target computing power node). Figure 7 As shown, in step 704, the second device performs encrypted transmission to the computing node (i.e., the target computing node). The second data to be computed is encrypted using the data encryption public key and then sent to the target computing node through the service address. Figure 2 In step 206, trusted computation is performed on node 1 (i.e., the target computing node). Figure 3 In step 307, trusted computation is performed on the computing power node (i.e., the target computing power node). Figure 7 In step 702, trusted computation for data decryption is performed on the computing node (i.e., the target computing node). After the target computing node decrypts the second encrypted data to be computed, the computation is completed together with the data sent by the first device.

[0124] Optionally, the method, prior to step B10, further includes:

[0125] Sending a second data resource identity identifier for at least one data resource to a second network device in the blockchain network; wherein the second data resource identity identifier is used by the first network device to match the first data resource identity identifier and display the data resource application; the first data resource identity identifier is obtained by the first network device according to the data resource requirement.

[0126] In this embodiment, such as Figure 2 As shown, in step 204, the second device registers data with the blockchain network. Figure 6As shown, in step 601, the second device registers data with the data intelligence management contract in the blockchain network, where the data intelligence management contract is the second network device. The information sent by the second device during data registration includes: ID, data resource ID (i.e., the identity identifier of the second data resource), unique across the entire network, used to identify the data resource; Name, data resource name; Desc, data resource description information; Size, the data volume of the data resource, with a positive integer value. Registering this data information facilitates the first device's query and application for use. In this embodiment of the invention, during the trusted computing phase, both the supply and demand parties encrypt the original data using the public key of the trusted execution environment. The data can only be decrypted and computed in the trusted environment, ensuring the data security of both the supply and demand parties.

[0127] It should be noted that this invention proposes a matching algorithm for computing power nodes that considers multiple dimensions and meets the needs of both supply and demand sides. Based on blockchain smart contracts, it automates the calculation and matching of computing power nodes, ensuring the trustworthiness of the computing power nodes throughout the entire process, and providing a solution for computing power matching in trusted computing power network scenarios. This invention employs mechanisms such as data encryption and customized computing power node selection to comprehensively complete the matching calculation by considering multiple performance indicators, avoiding the risk of node unavailability caused by simple matching strategies, thereby ensuring data security and high computing availability. This invention is applicable to decentralized trusted computing power network scenarios, supports the management of trusted computing nodes with various architectures, fully utilizes idle trusted computing power, improves the overall fault tolerance of the system, ensures computing availability, and fully leverages the value of data. This invention proposes a computing node matching mechanism that meets the needs of both supply and demand sides, improving the availability of the entire system.

[0128] like Figure 9 As shown, to achieve the above objectives, embodiments of the present invention provide a matching device for computing power nodes, wherein the matching is performed by a first network device in a blockchain network, and the device includes:

[0129] The first acquisition module 901 is used to acquire the computing requirements sent by the first device; wherein, the computing requirements include data resource requirements and first computing node requirements;

[0130] The first processing module 902 is used to display a data resource request to the second device according to the data resource requirement; wherein the second device is a device capable of providing the data resource requested by the data resource requirement;

[0131] The second acquisition module 903 is used to acquire the approval confirmation information sent by the second device according to the data resource application; wherein, the approval confirmation information includes the second computing power node requirement corresponding to the data resource requirement;

[0132] The first determining module 904 is used to determine a target computing power node among the multiple computing power nodes registered on the blockchain network based on the computing power information of the multiple computing power nodes, for providing computing for the first device; wherein the computing power information of the target computing power node matches the requirements of the first computing power node and the requirements of the second computing power node.

[0133] Optionally, in the aforementioned apparatus, the first processing module 902 includes:

[0134] The first acquisition unit is used to acquire the first data resource identity identifier requested by the first device according to the data resource requirements.

[0135] The first processing unit is configured to match the data resource identity identifier with a second data resource identity identifier of at least one stored data resource; wherein the second data resource identity identifier is a unique identity identifier of the at least one data resource of a plurality of third devices registered on the blockchain network;

[0136] The second processing unit is configured to display the data resource application to the second device among the plurality of third devices corresponding to the target data resource when the first data resource identity identifier matches the second data resource identity identifier of the target data resource among the at least one data resource.

[0137] Optionally, in the aforementioned apparatus, the first determining module 904 includes:

[0138] The second acquisition unit is configured to acquire, based on the first computing power node requirements, the second computing power node requirements, and the computing power information, at least one first computing power node whose computing power information meets both the first computing power node requirements and the second computing power node requirements.

[0139] The third acquisition unit is used to score each first computing power node according to the first computing power node requirements, the second computing power node requirements and the computing power information, and to obtain the computing power node score corresponding to each first computing power node.

[0140] The third processing unit is used to select the first computing power node with the highest computing power node score as the target computing power node.

[0141] Optionally, in the apparatus, the second acquiring unit includes:

[0142] The first acquisition component is used to compare the first computing power node requirements with the computing power information of the plurality of computing power nodes to acquire at least one second computing power node that meets the first computing power node requirements.

[0143] The second acquisition component is used to compare the requirements of the second computing power node with the computing power information of the at least one second computing power node, and acquire at least one first computing power node that meets the requirements of the second computing power node.

[0144] Optionally, in the aforementioned apparatus, the third acquisition unit comprises:

[0145] The third acquisition component is used to multiply the absolute value of the difference between multiple node computing power indicators of each first computing power node and the corresponding first computing power indicator value among multiple first computing power indicator values, and then sum them up to obtain the score of the first computing power node; wherein, the first computing power node requirement includes multiple first computing power indicator values ​​and the first computing power indicator weights corresponding to the multiple first computing power indicator values ​​respectively; the computing power information includes multiple node computing power indicators;

[0146] The fourth acquisition component is used to multiply the absolute value of the difference between the multiple node computing power indicators of each first computing power node and the corresponding second computing power indicator value among the multiple second computing power indicator values, and then sum them up to obtain the second computing power node score; wherein, the second computing power node requirement includes multiple second computing power indicator values ​​and the second computing power indicator weights corresponding to the multiple second computing power indicator values ​​respectively;

[0147] The fifth acquisition component is used to acquire the computing power node score corresponding to each first computing power node based on the first computing power node score and the second computing power node score of each first computing power node.

[0148] like Figure 10 As shown, to achieve the above objectives, embodiments of the present invention provide a matching device for computing power nodes, wherein the matching is performed by a first device, the device comprising:

[0149] The first sending module 1001 is used to send a computing request to a first network device in the blockchain network; wherein, the computing request includes a data resource request and a first computing power node request; the data resource request is used by the first network device to present a data resource application to a second device that can provide the data resources requested by the data resource request; the first computing power node request is used by the first network device to determine a target computing power node that can provide computing.

[0150] Optionally, the device further includes:

[0151] The third acquisition module is used to acquire the computing information of the target computing node from the first network device; wherein, the computing information includes a service address and a data encryption public key;

[0152] The fourth acquisition module is used to encrypt the first data to be calculated according to the data encryption public key, and acquire the first encrypted data to be calculated;

[0153] The third sending module is used to send the first encrypted data to be computed to the target computing node through the service address;

[0154] The fifth acquisition module is used to acquire the calculation result of the first data to be calculated on the target computing node.

[0155] like Figure 11 As shown, to achieve the above objectives, embodiments of the present invention provide a matching device for computing power nodes, wherein the matching is performed by a second device, and the device includes:

[0156] The second sending module 1101 is used to send approval confirmation information to the first network device when the first network device in the blockchain network sees the data resource application; wherein, the data resource application is displayed by the first network device according to the data resource requirements sent by the first device; the approval confirmation information includes a second computing power node requirement corresponding to the data resource requirement; the second computing power node requirement is used by the first network device to determine the target computing power node that can provide computing.

[0157] Optionally, the device further includes:

[0158] The sixth acquisition module is used to acquire the computing information of the target computing node from the first network device; wherein the computing information includes a service address and a data encryption public key;

[0159] The seventh acquisition module is used to encrypt the second data to be calculated according to the data encryption public key, and acquire the second encrypted data to be calculated;

[0160] The fourth sending module is used to send the second encrypted data to be computed to the target computing node through the service address.

[0161] Optionally, the device further includes:

[0162] The fifth sending module is used to send a second data resource identity identifier of at least one data resource to a second network device in the blockchain network; wherein, the second data resource identity identifier is used by the first network device to match the first data resource identity identifier and display the data resource application; the first data resource identity identifier is obtained by the first network device according to the data resource requirement.

[0163] It should be noted that the apparatus provided in this embodiment of the invention can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. Therefore, the parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.

[0164] To achieve the above objectives, embodiments of the present invention provide a network device, including: a processor, a memory, and a program or instructions stored in the memory and executable on the processor; wherein, when the processor executes the program or instructions, it implements the computing power node matching method described above executed by a first network device of the blockchain network, or the computing power node matching method described above executed by the first device, or the computing power node matching method described above executed by a second device.

[0165] To achieve the above objectives, embodiments of the present invention provide a readable storage medium storing a program or instructions thereon, wherein the program or instructions, when executed by a processor, implement the steps of the above-described method for matching computing power nodes executed by a first network device of the blockchain network, or the above-described method for matching computing power nodes executed by the first device, or the above-described method for matching computing power nodes executed by a second device.

[0166] To achieve the above objectives, embodiments of the present invention provide a computer program product, comprising computer instructions, wherein when executed by a processor, the computer instructions implement the steps of the above-described method for matching computing power nodes executed by a first network device of a blockchain network, or the above-described method for matching computing power nodes executed by the first device, or the above-described method for matching computing power nodes executed by a second device.

[0167] It should be further noted that the terminals described in this specification include, but are not limited to, smartphones, tablets, etc., and many of the functional components described are referred to as modules in order to emphasize the independence of their implementation.

[0168] In this embodiment of the invention, the module can be implemented in software so that it can be executed by various types of processors. For example, an identified executable code module may include one or more physical or logical blocks of computer instructions, which may be constructed as objects, procedures, or functions. Nevertheless, the executable code of the identified module does not need to be physically located together, but may include different instructions stored in different bits, which, when logically combined, constitute the module and achieve the module's intended purpose.

[0169] In practice, an executable code module can be a single instruction or many instructions, and can even be distributed across multiple different code segments, different programs, and across multiple memory devices. Similarly, operational data can be identified within the module and can be implemented in any suitable form and organized within any suitable data structure. This operational data can be collected as a single dataset or distributed across different locations (including different storage devices), and can exist, at least in part, solely as electronic signals within the system or network.

[0170] When a module can be implemented using software, considering the current level of hardware technology, modules that can be implemented in software can be implemented using hardware circuits by those skilled in the art to achieve the corresponding functions, without considering cost. These hardware circuits include conventional very-large-scale integrated circuits (VLSI) or gate arrays, as well as existing semiconductors such as logic chips and transistors, or other discrete components. Modules can also be implemented using programmable hardware devices, such as field-programmable gate arrays, programmable array logic, and programmable logic devices.

[0171] The exemplary embodiments described above are with reference to the accompanying drawings. Many different forms and embodiments are feasible without departing from the spirit and teachings of the invention. Therefore, the invention should not be construed as limiting the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided to make the invention complete and convey the scope of the invention to those skilled in the art. In these drawings, component dimensions and relative dimensions may be exaggerated for clarity. The terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. As used herein, unless clearly indicated otherwise, the singular forms “a,” “an,” and “the” are intended to include all such forms. It will be further understood that the terms “comprising” and / or “including”, when used in this specification, indicate the presence of the stated features, integers, steps, operations, components, and / or elements, but do not exclude the presence or addition of one or more other features, integers, steps, operations, components, and / or groups thereof. Unless otherwise indicated, when stated, a range of values ​​includes the upper and lower limits of the range and any subranges in between.

[0172] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for matching a computing power node, characterized in that, The method, executed by a first network device in the blockchain network, includes: Obtain the computing requirements sent by the first device; wherein the computing requirements include data resource requirements and first computing node requirements; Based on the data resource requirement, a data resource request is presented to the second device; wherein the second device is a device capable of providing the data resource requested by the data resource requirement. Obtain the approval confirmation information sent by the second device based on the data resource application; wherein, the approval confirmation information includes the second computing node requirement corresponding to the data resource requirement; Based on the computing power information of multiple computing power nodes registered on the blockchain network, a target computing power node is determined among the multiple computing power nodes to provide computing for the first device; wherein, the computing power information of the target computing power node is matched with the requirements of the first computing power node and the requirements of the second computing power node.

2. The method of claim 1, wherein, Based on the data resource requirements, a data resource request is presented to the second device, including: Obtain the first data resource identity identifier requested by the first device based on the data resource requirements; The data resource identity is matched against a second data resource identity in at least one stored data resource; wherein the second data resource identity is a unique identity of the at least one data resource among a plurality of third devices registered on the blockchain network. If the first data resource identity identifier matches the second data resource identity identifier of the target data resource among the at least one data resource, the data resource application is displayed to the second device among the plurality of third devices corresponding to the target data resource.

3. The method of claim 1, wherein, Based on the computing power information of multiple computing power nodes registered on the blockchain network, a target computing power node is determined among the multiple computing power nodes to provide computing for the first device, including: Based on the first computing power node requirements, the second computing power node requirements, and the computing power information, at least one first computing power node among the plurality of computing power nodes whose computing power information meets both the first computing power node requirements and the second computing power node requirements is obtained; Based on the first computing power node requirements, the second computing power node requirements, and the computing power information, each first computing power node is scored to obtain the computing power node score corresponding to each first computing power node. The first computing power node with the highest computing power node score is selected as the target computing power node.

4. The method of claim 3, wherein, Based on the first computing power node requirement, the second computing power node requirement, and the computing power information, at least one first computing power node among the plurality of computing power nodes whose computing power information meets both the first and second computing power node requirements is obtained, including: Based on the comparison between the requirements of the first computing power node and the computing power information of the plurality of computing power nodes, at least one second computing power node that meets the requirements of the first computing power node is obtained. Based on the comparison between the requirements of the second computing power node and the computing power information of the at least one second computing power node, at least one first computing power node that meets the requirements of the second computing power node is obtained.

5. The method of claim 3, wherein, Based on the requirements of the first computing power node, the requirements of the second computing power node, and the computing power information, each of the first computing power nodes is scored to obtain a computing power node score corresponding to each first computing power node, including: The absolute value of the difference between the multiple node computing power indicators of each first computing power node and the corresponding first computing power indicator value among the multiple first computing power indicator values ​​is multiplied by the corresponding first computing power indicator weight and then summed to obtain the first computing power node score; wherein, the first computing power node requirement includes multiple first computing power indicator values ​​and the first computing power indicator weights corresponding to the multiple first computing power indicator values ​​respectively; the computing power information includes multiple node computing power indicators. The absolute value of the difference between the multiple node computing power indicators of each first computing power node and the corresponding second computing power indicator value among the multiple second computing power indicator values ​​is multiplied by the corresponding second computing power indicator weight and then summed to obtain the second computing power node score; wherein, the second computing power node requirement includes multiple second computing power indicator values ​​and the second computing power indicator weights corresponding to the multiple second computing power indicator values ​​respectively; Based on the first computing power node score and the second computing power node score of each first computing power node, obtain the computing power node score corresponding to each first computing power node.

6. A method for matching a computing power node, characterized in that, Performed by a first device, the method includes: A computing request is sent to a first network device in the blockchain network; wherein the computing request includes a data resource request and a first computing power node request; the data resource request is used by the first network device to present a data resource application to a second device capable of providing the data resource requested by the data resource request, so that the second device sends approval confirmation information according to the data resource application; the first computing power node request is used by the first network device to determine a target computing power node capable of providing computing; the approval confirmation information includes a second computing power node request corresponding to the data resource request; the second computing power node request is used by the first network device to determine a target computing power node among a plurality of computing power nodes based on the computing power information of a plurality of computing power nodes registered on the blockchain network; the computing power information of the target computing power node matches the first computing power node request and the second computing power node request.

7. The method of claim 6, wherein, The method further includes: The first network device acquires the computing information of the target computing node; wherein, the computing information includes a service address and a data encryption public key; The first data to be calculated is encrypted using the data encryption public key to obtain the first encrypted data to be calculated. The first encrypted data to be computed is sent to the target computing node through the service address; The calculation result of the first data to be calculated is obtained on the target computing node.

8. A method for matching a computing power node, characterized in that, Performed by a second device, the method includes: When a first network device in the blockchain network sees a data resource application, an approval confirmation message is sent to the first network device. The data resource application is a display of data resource requirements from the computing requirements sent by the first network device. The computing requirements also include a first computing power node requirement. The approval confirmation message includes a second computing power node requirement corresponding to the data resource requirement. The second computing power node requirement is used by the first network device to determine a target computing power node capable of providing computing power among multiple computing power nodes registered on the blockchain network, based on the computing power information of these nodes. The computing power information of the target computing power node matches the first computing power node requirement and the second computing power node requirement.

9. The method according to claim 8, characterized in that, The method further includes: The first network device acquires the computing information of the target computing node; wherein, the computing information includes a service address and a data encryption public key; The second data to be calculated is encrypted using the data encryption public key to obtain the second encrypted data to be calculated. The second encrypted data to be computed is sent to the target computing node through the service address.

10. The method according to claim 8, characterized in that, Before sending approval confirmation information to the first network device in the blockchain network when the first network device sees the data resource request, the method further includes: Sending a second data resource identity identifier for at least one data resource to a second network device in the blockchain network; wherein the second data resource identity identifier is used by the first network device to match the first data resource identity identifier and display the data resource application; the first data resource identity identifier is obtained by the first network device according to the data resource requirement.

11. A matching device for computing power nodes, characterized in that, Performed by a first network device in the blockchain network, the device includes: The first acquisition module is used to acquire the computing requirements sent by the first device; wherein, the computing requirements include data resource requirements and first computing node requirements; The first processing module is used to display a data resource request to the second device according to the data resource requirement; wherein the second device is a device capable of providing the data resource requested by the data resource requirement; The second acquisition module is used to acquire the approval confirmation information sent by the second device according to the data resource application; wherein, the approval confirmation information includes the second computing power node requirement corresponding to the data resource requirement; The first determining module is used to determine a target computing power node among the multiple computing power nodes registered on the blockchain network based on the computing power information of the multiple computing power nodes, for providing computing for the first device; wherein the computing power information of the target computing power node matches the requirements of the first computing power node and the requirements of the second computing power node.

12. A matching device for computing nodes, characterized in that, Performed by a first device, the apparatus includes: A first sending module is used to send a computing request to a first network device in the blockchain network; wherein, the computing request includes a data resource request and a first computing power node request; the data resource request is used by the first network device to present a data resource application to a second device capable of providing the data resources requested by the data resource request, so that the second device sends approval confirmation information according to the data resource application; the first computing power node request is used by the first network device to determine a target computing power node capable of providing computing; the approval confirmation information includes a second computing power node request corresponding to the data resource request; the second computing power node request is used by the first network device to determine a target computing power node among a plurality of computing power nodes based on the computing power information of a plurality of computing power nodes registered on the blockchain network; the computing power information of the target computing power node matches the first computing power node request and the second computing power node request.

13. A matching device for computing nodes, characterized in that, Performed by a second device, the apparatus comprising: The second sending module is used to send approval confirmation information to the first network device in the blockchain network when the first network device sees the data resource application; wherein, the data resource application is the data resource requirement displayed by the first network device based on the computing requirements sent by the first device; the computing requirements also include a first computing power node requirement; the approval confirmation information includes a second computing power node requirement corresponding to the data resource requirement; the second computing power node requirement is used by the first network device to determine a target computing power node that can provide computing among the multiple computing power nodes registered on the blockchain network based on the computing power information of multiple computing power nodes; the computing power information of the target computing power node matches the first computing power node requirement and the second computing power node requirement.

14. A network device, comprising: A processor, a memory, and a program or instructions stored in the memory and executable on the processor; characterized in that, when the processor executes the program or instructions, it implements a matching method for computing power nodes as described in any one of claims 1-5, executed by a first network device of the blockchain network, or a matching method for computing power nodes as described in any one of claims 6-7, executed by the first device, or a matching method for computing power nodes as described in any one of claims 8-10, executed by a second device.

15. A readable storage medium having a program or instructions stored thereon, characterized in that, When the program or instructions are executed by the processor, they implement the steps of the matching method for computing power nodes as described in any one of claims 1-5, executed by the first network device of the blockchain network, or the matching method for computing power nodes as described in any one of claims 6-7, executed by the first device, or the matching method for computing power nodes as described in any one of claims 8-10, executed by the second device.

16. A computer program product, characterized in that, The method includes computer instructions that, when executed by a processor, implement the steps of the matching method for computing power nodes as described in any one of claims 1-5, executed by a first network device of the blockchain network, or the matching method for computing power nodes as described in any one of claims 6-7, executed by the first device, or the matching method for computing power nodes as described in any one of claims 8-10, executed by a second device.

Citation Information

Patent Citations

  • Method and system for processing computing power task of computing power network based on block chain

    CN116909695A

  • Computing power resource allocation method and device, equipment, storage medium and product

    CN118093183A