Computing power node selection method and computing power node selection system
By clarifying the computing power capabilities of each computing power node in the blockchain network and generating quotation calculation values, the idle and waste of computing resources of the intelligent computing center server is solved, and the effect of users obtaining the optimal computing resources is achieved.
Patent Information
- Application Number
- CN202510096872.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-05-13
AI Technical Summary
The differences in computing power of different intelligent computing center servers and insufficient coordination of computing power resources lead to idleness and waste of computing power resources. How to provide users with the best computing power resources has become an urgent problem.
By building a blockchain network, the computing power capabilities of each computing power node are clarified, and based on the first quotation information of the first level computing power node and the second quotation information of the paired node, the quotation calculation value is generated to ensure the authenticity and fairness of the quotation process, and thus select the best computing power resources to serve the user node.
It realizes the full utilization of various computing power node resources in the blockchain network, ensures that users can obtain the best computing power resources, and solves the problems of idleness and waste of computing power resources.
Smart Images

Figure CN119990653A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of blockchain technology, and in particular to a method for selecting a computing power node and a system for selecting a computing power node. Background Art
[0002] As the core infrastructure in the era of artificial intelligence (AI), the intelligent computing center server has the computing, storage and network connection capabilities required to meet the needs of complex AI applications.
[0003] However, since different intelligent computing center servers have different computing power and there is a lack of coordinated use of computing power resources between the intelligent computing center servers, some computing power resources are idle and wasted. How to provide users with the best computing power resources has become an urgent problem to be solved. Summary of the invention
[0004] To this end, the present disclosure provides a method for selecting a computing power node and a system for selecting a computing power node to solve the problem of how to provide users with optimal computing power resources.
[0005] In a first aspect, the present disclosure provides a method for selecting a computing power node, which is applied to a first-level computing power node. The method comprises: obtaining the computing power requirements of a user node from a blockchain network;
[0006] The blockchain network includes at least two first-level computing power nodes; the computing power capacity of the first-level computing power node is determined, and the corresponding first quotation information is determined according to the computing power capacity of the first-level computing power node; the second quotation information sent by the paired node is obtained from the blockchain network, and a quotation calculation value is generated according to the first quotation information and the second quotation information; wherein the paired node is a computing power node in the blockchain network that meets the computing power requirements and is in an activated working state; the quotation calculation value is sent to the blockchain network so that the user node can select a winning node based on at least one quotation calculation value, and the winning node is used to provide computing power for the user node to achieve its computing power requirements.
[0007] In a second aspect, the present disclosure provides a method for selecting a computing power node, which is applied to a second-level computing power node. The method includes: when the second-level computing power node is a paired node, obtaining the computing power demand of the user node from the blockchain network, wherein the working state of the paired node is an activated state; according to the computing power capacity of the second-level computing power node, determining the second quotation information, and sending the second quotation information to the first-level computing power node.
[0008] In a third aspect, the present disclosure provides a computing power node selection system, comprising: a user node and at least two first-level computing power nodes connected based on a blockchain network, or a first-level computing power node and a second-level computing power node, the second-level computing power node being a subordinate node of the first-level computing power node; a user node, used to publish computing power requirements; a first-level computing power node, used to implement any computing power node selection method applied to the first-level computing power node in the present disclosure; a second-level computing power node, used to implement any computing power node selection method applied to the second-level computing power node in the present disclosure.
[0009] The method for selecting a computing power node and the system for selecting a computing power node in the present disclosure clarify the computing power resources (i.e., computing power capabilities) that can be provided by different computing power nodes by constructing a blockchain network. Therefore, when the computing power demand of the user node is obtained, a bid calculation value is generated based on the first bid information corresponding to the first-level computing power node and the second bid information of the paired node that forms a pair with the first-level computing power node (i.e., the computing power node that meets the computing power demand and is in an activated working state in the blockchain network). The bid calculation value can not only reflect the bid information of the two computing power nodes in the activated state, but also will not disclose the true bid of any computing power node, thereby ensuring the authenticity and fairness of the bidding process; then, the bid calculation value is sent to the blockchain network, so that the user node can select a winning node based on at least one bid calculation value, so that it can provide computing power for the user node to achieve the computing power demand, thereby ensuring that the computing power resources of each computing power node in the blockchain network can be fully utilized, and the optimal computing power resources can be selected to serve the user node. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. The above and other features and advantages will become more apparent to those skilled in the art by describing detailed example embodiments with reference to the accompanying drawings, in which:
[0011] Figure 1 A schematic diagram showing a flow chart of a method for selecting a computing power node provided by an embodiment of the present disclosure;
[0012] Figure 2 A schematic diagram showing a flow chart of another method for selecting a computing power node provided by an embodiment of the present disclosure;
[0013] Figure 3 A block diagram of a first-level computing power node device provided in an embodiment of the present disclosure;
[0014] Figure 4 A block diagram of a second-level computing power node device provided in an embodiment of the present disclosure;
[0015] Figure 5 A block diagram of a computing power node selection system provided in an embodiment of the present disclosure;
[0016] Figure 6 A block diagram of another computing power node selection system provided in an embodiment of the present disclosure;
[0017] Figure 7 A block diagram of another computing power node selection system provided in an embodiment of the present disclosure;
[0018] Figure 8 A flowchart of a working method of a computing power node selection system provided in an embodiment of the present disclosure;
[0019] Fig. 9 A block diagram of the composition of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0020] The specific embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present disclosure and are not intended to limit the present disclosure. For those skilled in the art, the present disclosure can be implemented without the need for some of these specific details. The following description of the embodiments is only intended to provide a better understanding of the present disclosure by illustrating examples of the present disclosure.
[0021] In order to make the objectives, technical solutions and advantages of the present disclosure more clear, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.
[0022] As the core infrastructure of the AI era, the server of the intelligent computing center has the computing, storage and network connection capabilities required to meet the complex AI applications. At the hardware level, it can be based on high-performance processors (such as graphics processing units (GPUs), application-specific integrated circuits (ASICs), etc.), high-speed storage systems (such as solid-state drives (SSDs)), and advanced cooling systems (such as liquid cooling technology, etc.) to support large-scale data processing and deep learning tasks.
[0023] At the software level, the operating system of the intelligent computing center server can use AI frameworks and development tools to form a software environment for AI model development and operation. At the data transmission level, high-speed, low-latency network technology is used to ensure efficient data transmission, and physical and network security measures are used to ensure data security.
[0024] However, since different intelligent computing center servers have different computing powers and there is a lack of coordinated use of computing resources among the intelligent computing center servers, some computing resources are idle and wasted.
[0025] In order to solve the above problems, the present disclosure proposes a method for selecting a computing power node and a system for selecting a computing power node.
[0026] In a first aspect, an embodiment of the present disclosure provides a method for selecting a computing power node.
[0027] Figure 1 A flowchart of a method for selecting a computing power node provided by an embodiment of the present disclosure is shown. The method for selecting a computing power node can be applied to first-level computing power nodes (for example, using an intelligent computing center server as a first-level computing power node).
[0028] like Figure 1 As shown, the method for selecting the computing power node includes but is not limited to the following steps.
[0029] Step S101, obtaining the computing power requirements of the user node from the blockchain network.
[0030] Among them, the blockchain network includes at least two first-level computing power nodes.
[0031] The computing power demand of a user node reflects the user node's demand for computing power. When a user node publishes its computing power demand in the blockchain network, all computing power nodes in the blockchain network that are in an activated working state will obtain the computing power demand.
[0032] For example, if the blockchain network includes at least two first-level computing power nodes whose working status is activated, at least two first-level computing power nodes will obtain the computing power requirement.
[0033] Step S102, determine the computing power capacity of the first-level computing power node, and determine the corresponding first quotation information according to the computing power capacity of the first-level computing power node.
[0034] The computing power of the first-level computing power node is determined based on the current idle computing power of the first-level computing power node and the computing power demand. In other words, the first-level computing power node matches its idle computing power with the computing power demand to determine how much computing power the first-level computing power node can use to process the computing power demand, and the computing power of the first-level computing power node can be determined. Further, according to the computing power of the first-level computing power node and the price information corresponding to the computing power, the first quotation information corresponding to the first-level computing power node is determined.
[0035] Step S103, obtaining the second quotation information sent by the paired node from the blockchain network, and generating a quotation calculation value according to the first quotation information and the second quotation information.
[0036] Among them, the paired node is a computing power node in the blockchain network that meets the computing power requirements and is in an activated working state.
[0037] The calculated quote value is a value reflecting the difference between the first quote information and the second quote information. For example, if the first quote information includes a first quote value and the second quote information includes a second quote value, then the corresponding calculated quote value is the difference between the first quote value and the second quote value.
[0038] It should be noted that each bid value is obtained by encrypting the true bid value of each computing power node, so as to prevent the first-level computing power node from knowing the true bid value of the paired node during the processing process, thereby ensuring the fairness of the bidding process.
[0039] In some embodiments, the paired node includes a first-level computing power node, and / or a subordinate node of the first-level computing power node.
[0040] Step S104, sending the calculated quote value to the blockchain network.
[0041] The user node will obtain at least one bid calculation value from the blockchain network, and select a winning node based on the at least one bid calculation value. The winning node is used to provide computing power for the user node to meet its computing power requirements.
[0042] Among them, the winning node is the node with the best cost-effectiveness among all computing power nodes. Not only does its computing power capacity meet the computing power requirements of the user node, but the quotation of the winning node is better than other computing power nodes to meet the budget of the user node.
[0043] In this embodiment, by constructing a blockchain network, the computing power resources (i.e., computing power capabilities) that can be provided by different computing power nodes are clarified, so that when the computing power requirements of the user node are obtained, based on the first quotation information corresponding to the first-level computing power node, and the second quotation information of the paired node that forms a pair with the first-level computing power node (i.e., the computing power node that meets the computing power requirements and is in an activated working state in the blockchain network), a quotation calculation value is generated, so that the quotation calculation value can not only reflect the quotation information of the two computing power nodes in the activated state, but also will not disclose the true quotation of any computing power node, thereby ensuring the authenticity and fairness of the quotation process; then, the quotation calculation value is sent to the blockchain network, so that the user node can select the winning node based on at least one quotation calculation value, so that it can provide computing power for the user node to achieve the computing power requirements, thereby ensuring that the computing power resources of each computing power node in the blockchain network can be fully utilized, and the optimal computing power resources can be selected to serve the user node.
[0044] In some exemplary embodiments, the blockchain network includes a first-level computing power node and a second-level computing power node, the second-level computing power node is a subordinate node of the first-level computing power node, and the working state of the second-level computing power node includes an activated state or a dormant state.
[0045] The method also includes: when the computing power capacity of the first-level computing power node does not meet the computing power requirements and the working state of the second-level computing power node is a sleep state, sending a wake-up instruction to the second-level computing power node; and determining the computing power capacity of the second-level computing power node in response to the wake-up response fed back by the second-level computing power node.
[0046] Among them, the wake-up instruction is used to adjust the working state of the second-level computing power node from a sleep state to an active state.
[0047] In some embodiments, the computing power of the second-level computing power node can also be obtained from the blockchain network, or determined by the idle computing power carried in the message reported by the second-level computing power node.
[0048] If the working status of the first-level computing power node and the second-level computing power node are both activated, then the first-level computing power node and the second-level computing power node will obtain the computing power requirements published by the user node.
[0049] By sending a wake-up command to the second-level computing power node, the working state of the second-level computing power node can be changed, so that the second-level computing power node can also provide computing power for the computing power needs of the user node, giving the user node more choices.
[0050] In some exemplary embodiments, the method further includes: when the computing power capacity of the first-level computing power node does not meet the computing power demand, sending computing power tasks to the activated second-level computing power node.
[0051] Among them, the computing power task is used to request the second-level computing power node to assist the first-level computing power node to jointly complete the computing power requirements.
[0052] By sending computing tasks to the second-level computing power nodes, the second-level computing power nodes can assist the first-level computing power nodes in processing, so that two different levels of computing power nodes can jointly complete the computing power requirements and speed up the processing of computing power requirements.
[0053] In some exemplary embodiments, the first quotation information includes a first quotation value, and the second quotation information includes a second quotation value, the second quotation value is a value determined by the pairing node based on its true quotation value and a second random factor corresponding to the pairing node, and the pairing node is any one of the computing power nodes at different levels.
[0054] Determining the first quotation information corresponding to the first-level computing power node according to the computing power capacity of the first-level computing power node in step S102 includes: determining the first quotation value according to the computing power capacity of the first-level computing power node and the first random factor corresponding to the first-level computing power node;
[0055] Generating a calculated quotation value according to the first quotation information and the second quotation information in step S103 includes: determining the calculated quotation value according to a difference between the first quotation value and the second quotation value.
[0056] Among them, the first bid value is determined based on the computing power of the first-level computing power node and the first random factor corresponding to the first-level computing power node. Therefore, the first bid value can reflect the computing power that the first-level computing power node can provide to the user node, as well as the value that needs to be paid when it provides computing power. Moreover, since the random factors corresponding to each computing power node are different, other computing power nodes cannot infer the true bid value of the first-level computing power node based on the first bid value, thereby ensuring fairness in the bidding process.
[0057] For example, the real bid value of the first-level computing power node is determined according to the computing power of the first-level computing power node, and then the real bid value is calculated by difference between the first random factor and the real bid value to obtain the first bid value. Correspondingly, the second bid value is the value determined by the paired node according to the difference between its real bid value and its corresponding second random factor. Therefore, the first-level computing power node and the paired node cannot infer the real bid value of the other party through various corresponding bid values, avoiding the situation in which the node that bids first leaks its real bid value during the bidding process, making the bidding process real and effective.
[0058] Furthermore, the difference between the first bid value and the second bid value is used to determine the bid calculation value, and the bid calculation value is used as the bid information jointly released by the two nodes, so that when the user node obtains the bid calculation value, it can compare the quotations of the two nodes and select the winning node with the best cost-effectiveness.
[0059] In some exemplary embodiments, sending the quotation calculation value to the blockchain network in step S104 includes: encrypting the quotation calculation value according to a preset encryption algorithm and using the key of the user node to obtain the encrypted quotation calculation value; signing the encrypted quotation calculation value using the private key of the first-level computing power node to generate signature data, and broadcasting the signature data to the blockchain network.
[0060] Among them, by using the user node's key to encrypt the quotation calculation, when the user node obtains the encrypted quotation calculation value, it can use its corresponding key to decrypt the encrypted quotation calculation value, thereby preventing other nodes from obtaining the encrypted quotation calculation value and reducing the risk of the quotation calculation value being leaked.
[0061] In addition, the encrypted quotation calculation value is signed using the private key of the first-level computing power node to generate signature data. This can not only make it clear that the signature data is issued by the first-level computing power node, reducing the confusion of the quotation calculation values of different computing power nodes, but also ensure the security of its transmission in the blockchain network.
[0062] In some exemplary embodiments, when the number of activated computing nodes in the blockchain network is an even number, the pairing node is a node randomly selected from the multiple activated computing nodes.
[0063] When the number of active computing nodes in the blockchain network is an odd number and the current first-level computing node is the last computing node to publish a quotation, the pairing node is a randomly selected computing node that has published a quotation.
[0064] Among them, if the number of activated computing nodes in the blockchain network is an even number, it means that the computing nodes in the blockchain network can be paired in pairs to generate a quotation calculation value corresponding to each pair of computing nodes, which is convenient for user nodes to compare prices.
[0065] If the number of active computing nodes in the blockchain network is an odd number, it means that all computing nodes in the blockchain network cannot be paired. When the current first-level computing node is the last computing node to publish a quotation, it cannot obtain a computing node without a quotation as its pairing node. At this time, a computing node that has published a quotation in the blockchain network can be selected as its pairing node, so as to realize the calculation of the quotation difference between the two computing nodes and obtain the corresponding quotation calculation value.
[0066] Furthermore, when the user node receives the bid calculation value corresponding to the last computing power node that published a bid, it can compare the bid of the last computing power node that published a bid with the bid values of other computing power nodes that have already published bids, so as to determine whether the bid of the last computing power node that published a bid has an advantage, and compare the bid values of all computing power nodes that have published bids in the blockchain network, which is convenient for the screening of user nodes and the selection of the winning node with the highest cost-effectiveness from multiple computing power nodes.
[0067] Figure 2 A flow chart of another method for selecting a computing power node provided by an embodiment of the present disclosure is shown. The method for selecting a computing power node can be applied to a second-level computing power node. Figure 2 As shown, the method for selecting the computing power node includes but is not limited to the following steps.
[0068] Step S201, when the second-level computing power node is a paired node, obtain the computing power requirement of the user node from the blockchain network.
[0069] The working state of the paired node is an activated computing node. For example, the paired node includes a first-level computing node and / or a second-level computing node.
[0070] Step S202, determining the second quotation information according to the computing power capacity of the second-level computing power node.
[0071] Among them, the second quotation information is the quotation value determined by the second-level computing power node by matching its computing power capacity with the computing power requirements of the user node.
[0072] In some embodiments, the second quotation information includes a second quotation value, where the second quotation value is the difference between the actual quotation value of the second-level computing power node and the random factor corresponding to the second-level computing power node.
[0073] Because the random factors of each computing power node are different, when the second quotation information is published to the blockchain network, it can be guaranteed that other computing power nodes cannot obtain the true quotation value of the second-level computing power node, ensuring the authenticity and effectiveness of the quotation process.
[0074] Step S203, sending the second quotation information to the first-level computing power node.
[0075] Among them, the second-level computing power node can encrypt the second quotation information to obtain an encryption result, and then send the encryption result to the first-level computing power node to ensure the security of the second quotation information during transmission.
[0076] In some exemplary embodiments, when the working state of the second-level computing power node is a sleep state, the method further includes: reporting a heartbeat message to the first-level computing power node at intervals of a preset duration.
[0077] Among them, the dormant state indicates that the second-level computing power node does not participate in the computing power processing in the blockchain network. At this time, the second-level computing power node is only connected to its corresponding upper-level computing power node (i.e., the first-level computing power node).
[0078] The heartbeat message includes at least the identifier of the second-level computing power node and its idle computing power capacity. By sending the heartbeat message to the first-level computing power node, the first-level computing power node can be informed that the second-level computing power node still has a certain amount of idle computing power capacity, so that the second-level computing power node can obtain more computing power capacity by activating the second-level computing power node when its computing power is insufficient.
[0079] In some exemplary embodiments, the blockchain network also includes at least one third-level computing power node, which is a subordinate node of the second-level computing power node.
[0080] The method for selecting a computing power node also includes: when the second-level computing power node is in a dormant state and the idle computing power of all third-level computing power nodes under the second-level computing power node exceeds a first preset threshold, changing the working state of the second-level computing power node from a dormant state to an activated state.
[0081] Among them, the first preset threshold is a threshold determined based on all computing power capabilities of all third-level computing power nodes and the idle computing power that all third-level computing power nodes can provide to the outside.
[0082] For example, if the total computing power capacity of all third-level computing power nodes is 100, and the idle computing power that all third-level computing power nodes can provide to the outside is 80, the first preset threshold can be set to 70% or 75%, etc.
[0083] When the idle computing power of all the third-level computing power nodes under the second-level computing power node exceeds the first preset threshold, it indicates that each third-level computing power node of the second-level computing power node has sufficient computing power to process the computing power requirements proposed by the user node. At this time, the second-level computing power node can change its working state from the dormant state to the active state, so as to provide computing power services for the user node, so that the user node can have more choices and improve the service quality for the user node.
[0084] In some exemplary embodiments, the method for selecting a computing power node also includes: when the third-level computing power node is in a sleep state and the idle computing power corresponding to the third-level computing power node exceeds a second preset threshold, changing the working state of the third-level computing power node from a sleep state to an activated state.
[0085] The second preset threshold is a threshold determined based on the idle computing power that the third-level computing power can provide to the outside. For example, if the maximum idle computing power of the third-level computing power node is 100, the second preset threshold can be set to 80 or 85.
[0086] Since the third-level computing power node is in a dormant state, it cannot participate in the processing of the computing power requirements proposed by the user node in the blockchain network. If the third-level computing power node detects that its corresponding idle computing power exceeds the second preset threshold, it means that the third-level computing power node has the ability to provide computing power for the user node to process its computing power requirements. At this time, the third-level computing power node can change its working state to an activated state through a self-activation processing method (or, triggered by the second-level computing power node to activate the third-level computing power node), thereby providing computing power for the user node, expanding the selection range of the user node, and improving the user experience of the user node.
[0087] In this embodiment, through different operation modes under different working states, the second-level computing power node can participate in the computing power processing process of the blockchain network. When the second-level computing power node is a paired node (i.e., the working state is in an activated state), the computing power demand of the user node is obtained from the blockchain network to clarify the computing power required by the user node, and the second quotation information is determined according to the computing power capacity of the second-level computing power node, and the second quotation information is sent to the first-level computing power node, so that the first-level computing power node can combine its own computing power capacity to provide computing power services for the user node and meet the computing power demand of the user node.
[0088] A second aspect of the embodiments of the present disclosure provides a first-level computing power node device and a second-level computing power node device.
[0089] Figure 3 This is a block diagram of a first-level computing node device provided by an embodiment of the present disclosure. Figure 3 As shown, the first-level computing power node device 300 includes but is not limited to the following modules.
[0090] The first acquisition module 301 is configured to obtain the computing power requirements of the user node device from the blockchain network.
[0091] Among them, the blockchain network includes at least two first-level computing power node devices.
[0092] The determination module 302 is configured to determine the computing power capability of the first-level computing power node device, and determine the corresponding first quotation information according to the computing power capability of the first-level computing power node device.
[0093] The generation module 303 is configured to obtain the second quotation information sent by the paired node device from the blockchain network, and generate a quotation calculation value based on the first quotation information and the second quotation information.
[0094] Among them, the paired node device is a computing power node in the blockchain network that meets the computing power requirements and is in an activated working state.
[0095] The first sending module 304 is configured to send the bid calculation value to the blockchain network.
[0096] The user node device will obtain at least one bid calculation value from the blockchain network, and select a winning node device based on the at least one bid calculation value. The winning node device is used to provide computing power for the user node device to meet its computing power requirements.
[0097] It should be noted that the first-level computing power node device 300 can implement any one of the methods for selecting computing power nodes applied to the first-level computing power node device in the present disclosure.
[0098] In this embodiment, by constructing a blockchain network, the computing power resources (i.e., computing power capabilities) that can be provided by different computing power nodes are clarified, so that when the computing power requirements of the user node are obtained by using the acquisition module, the generation module is used based on the first quotation information corresponding to the first-level computing power node, and the second quotation information of the paired node forming a pair with the first-level computing power node (i.e., the computing power node that meets the computing power requirements and is in an activated working state in the blockchain network). Generate a quotation calculation value, so that the quotation calculation value can not only reflect the quotation information of the two computing power nodes in the activated state, but also will not disclose the true quotation of any computing power node, thereby ensuring the authenticity and fairness of the quotation process; then, the sending module is used to send the quotation calculation value to the blockchain network, so that the user node can select a winning node based on at least one quotation calculation value, so that it can provide computing power for the user node to achieve the computing power requirements, thereby ensuring that the computing power resources of each computing power node in the blockchain network can be fully utilized, and the optimal computing power resources can be selected to serve the user node.
[0099] Figure 4 This is a block diagram of a second-level computing node device provided by an embodiment of the present disclosure. Figure 4 As shown, the second-level computing node device 400 includes but is not limited to the following modules.
[0100] The second acquisition module 401 is configured to acquire the computing power requirement of the user node from the blockchain network when the second-level computing power node is a paired node, wherein the working state of the paired node is an activated state;
[0101] The quotation information determination module 402 is configured to determine the second quotation information according to the computing power capacity of the second-level computing power node.
[0102] The second sending module 403 is configured to send the second quotation information to the first-level computing power node.
[0103] It should be noted that the second-level computing power node device 400 can implement any one of the methods for selecting a computing power node applied to the second-level computing power node device in the present disclosure.
[0104] In this embodiment, when the second-level computing power node is a paired node (i.e., the working state is in an activated state), the second acquisition module is used to obtain the computing power requirements of the user node from the blockchain network to clarify the computing power required by the user node; the quotation information determination module is used to determine the second quotation information according to the computing power capacity of the second-level computing power node, and the second sending module is used to send the second quotation information to the first-level computing power node, so that the first-level computing power node can combine its own computing power capacity to provide computing power services for the user node and meet the computing power requirements of the user node.
[0105] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present disclosure, this embodiment does not introduce units that are not closely related to solving the technical problems proposed by the present disclosure, but this does not mean that there are no other units in this embodiment.
[0106] A third aspect of the embodiments of the present disclosure provides a system for selecting computing power nodes.
[0107] Figure 5 This is a block diagram of a system for selecting a computing power node provided by an embodiment of the present disclosure. Figure 5 As shown, the computing power node selection system includes: a user node 510 connected based on a blockchain network and at least two first-level computing power nodes (e.g., a first-level computing power node 521 and a first-level computing power node 522, etc.).
[0108] The user node 510 is used to publish computing power requirements. The first-level computing power node is used to implement any one of the methods for selecting computing power nodes applied to the first-level computing power nodes in the present disclosure.
[0109] Figure 6 A block diagram of another computing node selection system provided in an embodiment of the present disclosure. The computing node selection system includes: a user node 610, a first-level computing node 621, and a second-level computing node 622 connected based on a blockchain network.
[0110] Among them, the second-level computing power node 622 is a subordinate node of the first-level computing power node 621.
[0111] User node 610 is used to publish computing power requirements. First-level computing power node 621 is used to implement any method for selecting computing power nodes applied to first-level computing power nodes in the present disclosure. Second-level computing power node 622 is used to implement any method for selecting computing power nodes applied to second-level computing power nodes in the present disclosure.
[0112] In some exemplary embodiments, the computing power node selection system further includes:
[0113] The supervisory node (not shown in the figure) is used to generate a random factor corresponding to each activated computing node according to a preset algorithm within a preset period of time when the user node publishes its computing power requirements, and send the corresponding random factor to each computing node.
[0114] Among them, the computing power nodes include first-level computing power nodes and / or second-level computing power nodes.
[0115] The preset algorithm is an algorithm for randomly generating numbers (or fields). Based on the preset algorithm, the blockchain identifier of each activated computing node is processed to generate a random factor corresponding to each computing node (such as a random number, or a random field, etc.), so that each computing node can process its corresponding true bid value based on its corresponding random factor, thereby preventing its true bid value from being known by other computing nodes during the quotation process, thereby ensuring the fairness of the quotation.
[0116] In this embodiment, by adopting the connection method of the blockchain network, each node in the computing power node selection system can communicate with each other, and the computing power nodes based on different levels can adjust their working status according to the computing power requirements, so that multi-layer computing power nodes can determine the computing power capacity of the required computing power nodes according to the computing power requirements, avoid wasting computing power, and realize dynamic allocation of the computing power capacity of computing power nodes.
[0117] Figure 7 A block diagram of another computing power node selection system provided in an embodiment of the present disclosure. Figure 7 As shown, the computing power node selection system includes but is not limited to the following nodes: user node 710, multiple first-level computing power nodes (e.g., first-level computing power node 721, first-level computing power node 722, first-level computing power node 723, first-level computing power node 724, first-level computing power node 725, etc.), multiple second-level computing power nodes (e.g., second-level computing power node 731, second-level computing power node 732, etc.), and multiple third-level computing power nodes (e.g., third-level computing power node 741, third-level computing power node 742, third-level computing power node 743, third-level computing power node 744, etc.).
[0118] The user node 710 is connected to multiple first-level computing nodes using a blockchain network. Each first-level computing node can serve as a bookkeeping node of the blockchain network.
[0119] like Figure 7 As shown, the first-level computing power node 722 has two subordinate second-level computing power nodes (i.e., second-level computing power node 731 and second-level computing power node 732), the second-level computing power node 731 has two subordinate third-level computing power nodes (i.e., third-level computing power node 741 and third-level computing power node 742), and the second-level computing power node 732 has two subordinate third-level computing power nodes (i.e., third-level computing power node 743 and third-level computing power node 744).
[0120] In some embodiments, the first-level computing power node can be implemented using an intelligent computing center node, the second computing power node can be implemented using a computing power base node, and the third computing power node can be implemented using a computing power access node.
[0121] Among them, when the blockchain network is initially created, the genesis block includes multiple first-level computing power nodes, and each first-level computing power node corresponds to a blockchain identifier and public key.
[0122] During initialization, the working status of the second-level computing power nodes and the third-level computing power nodes are both in sleep mode to save energy consumption of the computing power nodes, and there is no need to synchronize the ledger information of the blockchain network.
[0123] In the subsequent computing power processing process, the working status of each second-level computing power node and the third-level computing power node can be determined by the upper-level computing power node (that is, the computing power nodes at each level have the characteristics of step-by-step communication and step-by-step awakening), or they can update themselves.
[0124] For example, a first-level computing power node can wake up each of its subordinate second-level computing power nodes, and each second-level computing power node can also wake up each of its subordinate third-level computing power nodes.
[0125] For another example, the first-level computing power node sends a broadcast message (the broadcast message includes the blockchain identifier of the first-level computing power node) to each of its subordinate second-level computing power nodes at a preset interval, so that each of its subordinate second-level computing power nodes knows that the first-level computing power node is in an activated state and obtains the computing power tasks issued by the first-level computing power node.
[0126] Figure 8 The following is a flowchart of a method for selecting a computing node provided by an embodiment of the present disclosure. Figure 8 As shown, the working method of the computing power node selection system includes but is not limited to the following steps.
[0127] Step S801, user node 710 publishes its computing power requirements to the blockchain network.
[0128] Among them, the computing power demand can reflect the computing power usage demand of the user node 710. For example, the user node 710 needs different levels of computing power to analyze whether there are anomalies in its business data.
[0129] In step S802, each first-level computing power node obtains the computing power demand of the user node 710 from the blockchain network, and determines whether its computing power capacity can meet the computing power demand based on the computing power demand.
[0130] Step S803, when the first-level computing power node 722 determines that its computing power capacity can meet the computing power requirements of the user node, the first-level computing power node 722 determines the first quotation information according to its computing power capacity.
[0131] In some embodiments, the blockchain network further includes: a supervisory node (not shown in the figure), which is used to generate a random factor corresponding to each active computing node according to a preset algorithm within a preset period of time when the user node 710 publishes its computing power demand, and send its corresponding random factor to each computing node;
[0132] Among them, the computing power nodes include at least one of the first-level computing power nodes, the second-level computing power nodes and the third-level computing power nodes.
[0133] For example, within a preset time period (e.g., within 10 minutes of the release of computing power requirements), the supervisory node generates a random factor corresponding to each computing power node based on a preset algorithm and the blockchain identifier of each activated computing power node; then, the random factor corresponding to each computing power node is encrypted separately, and the encrypted random factor is sent to its corresponding computing power node.
[0134] For example, the first-level computing power node 722 will obtain the random factor corresponding to the blockchain identifier of the first-level computing power node 722 sent by the supervisory node, so that the first-level computing power node 722 can process according to its corresponding random factor and its corresponding computing power capacity to generate the first quotation information.
[0135] In step S804, the first-level computing node 722 randomly selects a computing node from the blockchain network as a pairing node, and obtains the second quotation information of the pairing node.
[0136] Among them, the paired node is a computing power node in the blockchain network that meets the computing power requirements and is in an activated working state.
[0137] In some embodiments, the paired nodes may include a first-level computing power node, a second-level computing power node, and a third-level computing power node, each of which is in an activated working state.
[0138] When the number of active computing nodes in the blockchain network is an even number, the paired node is a node randomly selected from multiple active computing nodes;
[0139] When the number of active computing nodes in the blockchain network is an odd number and the current first-level computing node is the last computing node to publish a quotation, the pairing node is a randomly selected computing node that has published a quotation.
[0140] Step S805: The first-level computing power node 722 generates a first bid calculation value according to the first bid information and the second bid information, and sends the first bid calculation value to the blockchain network.
[0141] The first quotation calculation value is a value determined according to the difference between the first quotation information and the second quotation information.
[0142] For example, the first quotation information includes a first quotation value, and the second quotation information includes a second quotation value. The first quotation value is the difference between the true quotation value of the first-level computing power node 722 and the first random factor corresponding to the first-level computing power node 722; the second quotation value is the difference between the true quotation value of the paired node and the second random factor corresponding to the paired node.
[0143] When the first-level computing power node 722 obtains the second bid value, the first-level computing power node 722 calculates the difference between the first bid value and the second bid value, and then uses the difference as the first bid calculation value.
[0144] In some embodiments, each computing node may also encrypt its corresponding reported value, and then publish the encrypted result to the blockchain network.
[0145] For example, the pairing node uses the public key of the first-level computing power node 722 to encrypt the second reported value according to the first preset encryption algorithm, and then sends the generated first encryption result to the blockchain network so that the first-level computing power node 722 obtains the first encryption result.
[0146] When the first-level computing power node 722 obtains the first encryption result from the blockchain network, it will use its private key to decrypt the first encryption result, obtain the second quotation value, and calculate the difference between the first quotation value and the second quotation value, and then use the key of the user node 710 to encrypt the difference to generate a second encryption result. Furthermore, the first-level computing power node 722 uses its private key to sign the second encryption result, generate signature data, and broadcast the signature data to the blockchain network.
[0147] Step S806, when the first-level computing power node 722 determines that its computing power capacity cannot meet the computing power requirements of the user node 710, and the working status of all the second-level computing power nodes under the first-level computing power node 722 is in a dormant state, the first-level computing power node 722 sends a wake-up command to its subordinate second-level computing power nodes.
[0148] Among them, the wake-up instruction is used to adjust the working state of the second-level computing power node 731 (and / or the second-level computing power node 732) from a sleep state to an active state.
[0149] In some embodiments, the second-level computing power node 731 (and / or the second-level computing power node 732) can also autonomously switch the working state according to its idle computing power situation.
[0150] For example, when the second-level computing power node 731 is in a dormant state and the idle computing power of all third-level computing power nodes under the second-level computing power node 731 exceeds the first preset threshold, the working state of the second-level computing power node 731 is changed from a dormant state to an activated state.
[0151] Furthermore, the second-level computing power node 731 will also broadcast its working status to the blockchain network in the form of a private key signature, so that each node in the blockchain network can be informed of the update of its working status.
[0152] It should be noted that when the second-level computing power node 731 is in a dormant state, it will report a heartbeat message to its corresponding first-level computing power node 722 at a preset interval. The heartbeat message includes at least the identifier of the second-level computing power node 731 and its idle computing power capacity (such as the proportion of idle computing power to its total computing power, etc.). This allows the first-level computing power node 722 to learn about the computing power of the second-level computing power node 731 and receive the computing power tasks issued by the first-level computing power node 722.
[0153] In some embodiments, the second-level computing power node 731 will also send a broadcast message to its multiple third-level computing power nodes (e.g., third-level computing power node 741 and third-level computing power node 742) at preset intervals, and the broadcast message includes the identifier of the second-level computing power node 731, so that each of its third-level computing power nodes can be aware of the working status of the second-level computing power node 731.
[0154] For another example, when the third-level computing power node 741 is in a sleep state and the idle computing power corresponding to the third-level computing power node 741 exceeds the second preset threshold, the third-level computing power node 741 changes its working state from the sleep state to the active state.
[0155] Furthermore, the third-level computing power node 741 will also broadcast its working status to the blockchain network in the form of a private key signature, so that each node in the blockchain network can be informed of the update of its working status.
[0156] Correspondingly, when the third-level computing power node 741 is in a dormant state, it will report a heartbeat message to its corresponding second-level computing power node 731 at every preset interval. The heartbeat message includes at least the identifier of the third-level computing power node 741 and its idle computing power capacity (such as the proportion of idle computing power to its total computing power, etc.). This allows the second-level computing power node 731 to learn about the computing power of the third-level computing power node 741 and receive the computing power tasks issued by the second-level computing power node 731.
[0157] Step S807: The second-level computing power node 731 (and / or the second-level computing power node 732) responds to the wake-up instruction and adjusts its working state from the sleep state to the active state.
[0158] Step S808, the second-level computing power node 731 (and / or the second-level computing power node 732) obtains the computing power demand of the user node 710 from the blockchain network, and generates corresponding third quotation information according to its computing power capacity.
[0159] Step S809, the second-level computing power node 731 (and / or the second-level computing power node 732) selects a pairing node from the blockchain network and obtains the fourth quotation information of the pairing node.
[0160] It should be noted that the pairing node is selected in the same manner as the pairing node in step S804, and will not be described in detail herein.
[0161] In step S810, the second-level computing power node 731 (and / or the second-level computing power node 732) generates a second quotation calculation value based on the third quotation information and the fourth quotation information, and sends the second quotation calculation value to the blockchain network.
[0162] In step S811, the user node 710 obtains the bid calculation values of each computing power node and its paired node from the blockchain network, and selects the winning node based on multiple bid calculation values.
[0163] In some embodiments, after each computing power node publishes its corresponding bid calculation value, the blockchain founding node will publish the random factor corresponding to each computing power node in the blockchain network, so that the user node can determine the true bid value of each computing power node based on the random factor corresponding to each computing power node and each bid calculation value, and thus select the winning node based on the true bid value of each computing power node.
[0164] By adopting the above method to select the winning node, before each computing power node publishes its corresponding bid calculation value, no node can obtain the real bid of other computing power nodes, thereby achieving fairness in the bid and ensuring that the winning node finally selected is the best node.
[0165] Step S812: The winning node provides computing power to the user node 710 to meet its computing power requirements.
[0166] In this embodiment, the computing power capacity of each computing power node is determined hierarchically by the blockchain network. When each computing power node in an activated state obtains the computing power demand of the user node, it can give a corresponding quotation based on the computing power capacity of the computing power node, and then pair them up in pairs to publish the quotation calculation values of the two computing power nodes (that is, the quotation difference between the two computing power nodes can be reflected, and the real quotation of other computing power nodes is not known by any computing power node) to the blockchain network, so that the user node can select the best winning node based on multiple quotation calculation values, which can not only ensure the fairness of the quotation process, but also enable the computing power nodes at each level to be optimally processed, and ensure that the computing power resources of each computing power node in the blockchain network can be fully utilized.
[0167] In a fourth aspect, an embodiment of the present disclosure provides an electronic device, a computer-readable medium, and a computer program product.
[0168] Fig. 9 A block diagram of the composition of an electronic device provided in an embodiment of the present disclosure.
[0169] like Fig. 9 As shown, the electronic device includes: at least one processor 901, at least one memory 902, and one or more I / O interfaces 903. The processor 901, the memory 902, and the I / O interface 903 are interconnected via a bus 904. The memory 902 stores one or more computer programs, and the one or more computer programs are executed by at least one processor 901, so that the at least one processor 901 can implement any one of the methods for selecting a computing power node described in the above embodiments.
[0170] Each module in the above electronic device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0171] The embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements any one of the methods for selecting a computing power node described in the above embodiments. The computer-readable storage medium may be a volatile or non-volatile computer-readable storage medium.
[0172] The embodiments of the present disclosure also provide a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above-mentioned method for selecting a computing power node.
[0173] Those skilled in the art will appreciate that all or some of the steps, systems, and functional modules / units in the above disclosed methods may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation.
[0174] Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable storage medium, which can include a computer storage medium (or a non-temporary medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable program instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), flash memory or other memory technology, portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer-readable program instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0175] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0176] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0177] The computer program product described herein may be implemented in hardware, software, or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK), etc.
[0178] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0179] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0180] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0181] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, and the execution order between each box can be determined according to the functions involved in each box. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0182] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly noted, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present disclosure.
Claims
1. A method for selecting computing power nodes, applied to first-level computing power nodes, characterized in that: The method comprises: Obtaining computing power requirements of a user node from a blockchain network, wherein the blockchain network includes at least two first-level computing power nodes; Determine the computing power capacity of the first-level computing power node, and determine the first quotation information corresponding to the computing power capacity of the first-level computing power node; Obtaining second quotation information sent by a paired node from the blockchain network, and generating a quotation calculation value according to the first quotation information and the second quotation information; wherein the paired node is a computing power node in the blockchain network that meets the computing power requirement and whose working state is an activated state; The bid calculation value is sent to the blockchain network so that the user node can select a winning node based on at least one of the bid calculation values, and the winning node is used to provide computing power for the user node to meet its computing power requirements.
2. The method according to claim 1, characterized in that: The blockchain network further includes a second-level computing node, the second-level computing node is a subordinate node of the first-level computing node, and the working state of the second-level computing node includes the activation state or the dormant state; the method further includes: When the computing power capacity of the first-level computing power node does not meet the computing power requirement and the working state of the second-level computing power node is the dormant state, sending a wake-up instruction to the second-level computing power node, wherein the wake-up instruction is used to adjust the working state of the second-level computing power node from the dormant state to the activated state; In response to the wake-up response fed back by the second-level computing power node, the computing power capability of the second-level computing power node is determined.
3. The method according to claim 2, characterized in that The method further comprises: When the computing power capacity of the first-level computing power node does not meet the computing power requirement, sending a computing power task to the second-level computing power node in the activated state; Among them, the computing power task is used to request the second-level computing power node to assist the first-level computing power node to jointly complete the computing power requirement.
4. The method according to claim 1, characterized in that The first quotation information includes a first quotation value, the second quotation information includes a second quotation value, the second quotation value is a value determined by the paired node according to its real quotation value and a second random factor corresponding to the paired node, and the paired node is any one of the computing power nodes at different levels; The determining the first quotation information corresponding to the computing power capacity of the first-level computing power node includes: determining the first quotation value according to the computing power capacity of the first-level computing power node and a first random factor corresponding to the first-level computing power node; Generating a calculated quote value according to the first quote information and the second quote information includes: determining the calculated quote value according to a difference between the first quote value and the second quote value.
5. The method according to claim 4, characterized in that The sending the calculated quote value to the blockchain network includes: According to a preset encryption algorithm, the quotation calculation value is encrypted using the key of the user node to obtain an encrypted quotation calculation value; The encrypted quotation calculation value is signed using the private key of the first-level computing power node to generate signature data, and the signature data is broadcast to the blockchain network.
6. The method according to any one of claims 1 to 5, characterized in that When the number of computing nodes in the activated state in the blockchain network is an even number, the paired node is a node randomly selected from the plurality of computing nodes in the activated state; When the number of computing nodes in the activated state in the blockchain network is an odd number and the current first-level computing node is the last computing node to publish a quotation, the pairing node is a randomly selected computing node that has published a quotation.
7. A method for selecting a computing power node, applied to a second-level computing power node, characterized in that: The method comprises: In the case where the second-level computing power node is a paired node, the computing power requirement of the user node is obtained from the blockchain network, wherein the working state of the paired node is an activated state; Determining second quotation information according to the computing power capacity of the second-level computing power node; Send the second quotation information to the first-level computing power node.
8. The method according to claim 7, characterized in that When the working state of the second-level computing power node is a dormant state, the method further includes: Report a heartbeat message to the first-level computing power node at a preset interval; Among them, the heartbeat message includes at least the identification of the second-level computing power node and the idle computing power capacity it possesses.
9. The method according to claim 7, characterized in that: The blockchain network further includes at least one third-level computing power node, which is a subordinate node of the second-level computing power node; The method also includes: when the second-level computing power node is in a dormant state and the idle computing power of all third-level computing power nodes under the second-level computing power node exceeds a first preset threshold, changing the working state of the second-level computing power node from the dormant state to the activated state.
10. The method according to claim 9, characterized in that The method further comprises: When the third-level computing power node is in the sleep state and the idle computing power corresponding to the third-level computing power node exceeds a second preset threshold, the working state of the third-level computing power node is changed from the sleep state to the activated state.
11. A computing power node selection system, characterized in that: include: A user node and at least two first-level computing nodes connected based on a blockchain network, or a first-level computing node and a second-level computing node, where the second-level computing node is a subordinate node of the first-level computing node; The user node is used to publish computing power requirements; The first-level computing power node is used to implement the method for selecting a computing power node according to any one of claims 1 to 6; The second-level computing power node is used to implement the computing power node selection method as described in any one of claims 7 to 10.
12. The system according to claim 11, characterized in that The system further comprises: A supervisory node, configured to generate a random factor corresponding to each computing power node in the activated state according to a preset algorithm within a preset period of time when the user node publishes its computing power demand, and send the corresponding random factor to each computing power node; Among them, the computing power nodes include the first-level computing power nodes and / or the second-level computing power nodes.