Block chain-based computing power resource supply method and system, terminal and medium
By registering computing nodes on the blockchain network and configuring smart contracts, the problems of resource waste and security risks in the traditional computing resource allocation model are solved, and efficient, transparent and secure computing resource transactions are achieved.
Patent Information
- Application Number
- CN202411740913.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-28
AI Technical Summary
The traditional computing resource allocation and trading model has problems such as resource waste, inefficiency, data security risks and billing complexity, making it difficult to achieve efficient, secure and transparent operations.
By building a blockchain network, computing power nodes are registered on the blockchain network, smart contracts are configured to determine node matching rules and computing power billing rules, and the allocation and use of computing power resources is achieved by using blockchain decentralized characteristics to ensure the authenticity and security of transactions.
It improves the efficiency of computing resources, ensures the transparency and fairness of transactions, reduces transaction risks, and achieves fast matching and accurate billing through smart contracts.
Smart Images

Figure CN119539805A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computing power, and specifically relates to a computing power resource supply method, system, terminal and medium based on blockchain. Background Art
[0002] With the development of cloud computing and big data technology, more and more computing tasks require huge computing power support. However, the traditional computing resource allocation and transaction model faces many challenges, which limit its efficient, secure and transparent operation.
[0003] First, large data centers and high-performance computing clusters are often concentrated in a few regions or institutions, while small and medium-sized enterprises and individual users find it difficult to obtain sufficient computing power support, resulting in waste of computing resources and inefficiency. Secondly, in the traditional computing power trading model, users usually need to rely on centralized trading platforms to buy and sell computing resources, which poses risks such as data leakage and fraud. Furthermore, the billing method of computing power resources is often complex and opaque, which affects the efficiency of computing power resource use. Summary of the invention
[0004] To solve the above problems, the present invention provides a computing power resource supply method, system, terminal and medium based on blockchain, which realizes the allocation and use of computing power resources through the blockchain network, improves the efficiency of computing power resource utilization, and based on the decentralized characteristics of blockchain, ensures that data cannot be tampered with or deleted, thereby ensuring the authenticity and security of computing power transactions and reducing transaction risks.
[0005] In a first aspect, the technical solution of the present invention provides a method for supplying computing resources based on blockchain, comprising the following steps: Build a blockchain network, and register computing nodes in the blockchain network; Configure the smart contract of the blockchain network to determine the node matching rules and computing power billing rules; Publish user computing power requirements through the computing power trading platform; The blockchain network responds to computing power demands and automatically matches computing power nodes that provide computing power to users based on node matching rules through smart contracts, and charges users for the computing power resources used based on computing power billing rules.
[0006] In an optional implementation, a blockchain network is constructed and a computing node is registered in the blockchain network, specifically including: Respond to the computing power node login request, parse the login request, and obtain the computing power node identity information contained in the login request; Check the legitimacy of the computing power node identity information; If the legality check fails, feedback is given to the computing power node that the computing power node is illegal; If the legitimacy check passes, the registration interface is fed back to the computing power node; Receive computing power node registration information through the registration interface; Check the correctness of the computing power node registration information; If the correctness check fails, the registration information error will be fed back to the computing power node; If the correctness check passes, the blockchain network is registered according to the registration information.
[0007] In an optional implementation, the smart contract of the blockchain network is configured to determine the node matching rules and computing power billing rules, specifically including: Define the interface and functions of the smart contract according to the determined node matching rules and computing power billing rules; Use smart contract development language to write smart contract programs; Deploy the smart contract program to the blockchain network.
[0008] In an optional implementation, the user's computing power demand is published through the computing power trading platform, specifically including: Receive user login request, parse the user login request to obtain user identity information; Conduct legitimacy checks on user identity information; If the legitimacy check fails, a login failure prompt will be given to the user; If the legality check passes, an interface for filling in computing power demand information will be provided to the user; Receive computing power requirement information filled in by the user through the computing power requirement information filling interface; Publish user computing power requirements based on computing power requirement information.
[0009] In an optional implementation, the computing power node that provides computing power to the user is automatically matched according to the node matching rules through the smart contract, specifically including: Analyze computing power demand information and extract target matching conditions from the computing power demand information; According to the registered computing power node information in the blockchain network, obtain the status information of each computing power node; According to the status information of each computing power node, at least one computing power node that meets the target matching condition is selected; Select one of the selected computing power nodes as the node that provides computing power to the user.
[0010] In an optional embodiment, the method further comprises the following steps: Receive and store the computing power node’s own status information uploaded periodically.
[0011] In an optional implementation, the computing resources used by the user are charged according to the computing power charging rules, specifically including: Real-time recording of computing resources used by users; According to the computing power billing rules, the recorded computing power resources are processed to calculate the fees in each billing cycle; Generate a cost bill based on the calculation results.
[0012] In a second aspect, the technical solution of the present invention provides a computing resource supply system based on blockchain, comprising: The computing power node registration module is used to build a blockchain network, and the computing power nodes are registered in the blockchain network; Smart contract configuration module, used to configure the smart contract of the blockchain network to determine the node matching rules and computing power billing rules; The computing power demand publishing module is used to publish user computing power demands through the computing power trading platform; The computing power calculation module is used for the blockchain network to respond to computing power needs. It automatically matches the computing power nodes that provide computing power to users according to the node matching rules through smart contracts, and charges the computing power resources used by users according to the computing power billing rules.
[0013] In a third aspect, the technical solution of the present invention provides a terminal, including: Storage device, used to store the computing power resource supply program based on blockchain; A processor is used to implement the steps of the blockchain-based computing resource supply method as described in any of the above items when executing the blockchain-based computing resource supply program.
[0014] In a fourth aspect, the technical solution of the present invention provides a computer-readable storage medium, on which a blockchain-based computing power resource supply program is stored. When the blockchain-based computing power resource supply program is executed by a processor, the steps of the blockchain-based computing power resource supply method as described in any one of the above items are implemented.
[0015] The present invention provides a method, system, terminal and medium for supplying computing power resources based on blockchain, which has the following beneficial effects compared with the prior art: constructing a blockchain network, computing power nodes can be registered on the blockchain network to provide resources, users publish computing power requirements through the computing power trading platform, and the blockchain network automatically processes the published computing power requirements, provides users with nodes that can support computing power requirements, and performs computing power resource billing at the same time. The present invention can ensure that the allocation process of computing power resources is not controlled by any single entity through the decentralized characteristics of the blockchain network, improve the transparency and fairness of the allocation, and can automatically match the most suitable computing power nodes according to user needs and the resource conditions of the computing power nodes through smart contracts, thereby improving the matching efficiency of computing power resources. Moreover, the fees to be paid are automatically calculated by the smart contract, which improves the accuracy of billing. Moreover, since the blockchain network has the characteristic that data cannot be tampered with, the computing power transaction data in the present invention cannot be tampered with or deleted once recorded on the blockchain, ensuring the authenticity and security of computing power transactions and reducing transaction risks. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 It is a flowchart of a method for supplying computing power resources based on blockchain provided in an embodiment of the present invention.
[0017] Figure 2 It is a schematic block diagram of the structure of a computing power resource supply system based on blockchain provided by an embodiment of the present invention.
[0018] Figure 3 It is a schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0019] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0021] Figure 1 This is a flowchart of a method for supplying computing resources based on blockchain provided by an embodiment of the present invention. Figure 1 The execution subject may be a computing power resource supply system based on blockchain. The computing power resource supply method based on blockchain provided in the embodiment of the present invention is executed by a computer device, and accordingly, the computing power resource supply system based on blockchain runs in the computer device. According to different requirements, the order of the steps in the flowchart can be changed, and some can be omitted.
[0022] like Figure 1 As shown, the method includes the following steps.
[0023] S1, build a blockchain network, and register computing nodes in the blockchain network.
[0024] First, we build a secure and scalable blockchain network, which consists of multiple nodes, each of which has computing power resources. The computing power nodes need to register with the blockchain network. During the registration process, the nodes need to submit their computing power resource information (such as computing power, storage capacity, etc.) and necessary authentication information to ensure the legitimacy and reliability of the nodes. The blockchain network will verify the registered computing power nodes. After the verification is passed, the node information will be recorded on the blockchain for subsequent management and matching. The specific steps include the following steps.
[0025] S1.1, respond to the computing power node login request, parse the login request, and obtain the computing power node identity information contained in the login request.
[0026] Exemplarily, log in using a management platform or portal provided by the blockchain network.
[0027] S1.2, check the legitimacy of the computing power node identity information.
[0028] S1.3: If the legitimacy check fails, feedback is given to the computing power node indicating that the computing power node is illegal.
[0029] S1.4, if the legitimacy check passes, the registration interface is fed back to the computing power node.
[0030] To ensure security, the identity information of the computing power node is first checked for legitimacy. After passing the review, the registration interface is fed back to the computing power node for registration.
[0031] S1.5, receiving computing power node registration information through the registration interface.
[0032] S1.6, check the correctness of the computing power node registration information.
[0033] S1.7: If the correctness check fails, the registration information error is fed back to the computing power node.
[0034] S1.8, if the correctness check passes, register the blockchain network according to the registration information.
[0035] The computing node manager fills in the relevant information of the node and submits the registration application. The administrator or operation team of the blockchain network will review the submitted registration application. After the review is passed, the computing node will be added to the blockchain network and obtain the corresponding permissions and configurations.
[0036] According to the configuration requirements of the blockchain network, perform necessary configuration on the computing power node. Connect the computing power node to the blockchain network to ensure that it can communicate and interact with other nodes.
[0037] In this embodiment, the computing power node periodically uploads its own status information so that the computing power node can be allocated to the user according to the node status information in the future, and the received computing power node periodically uploads its own status information is stored.
[0038] S2, configures the smart contract of the blockchain network to determine the node matching rules and computing power billing rules.
[0039] Smart contracts are deployed on the blockchain network. Smart contracts are computer programs that automatically execute, control or document legal events and actions.
[0040] In this embodiment, the node matching rules and computing power billing rules are defined in the smart contract. The node matching rules are used to determine which computing power nodes can meet the computing power requirements of the user, while the computing power billing rules are used to calculate the computing power fees that the user should pay. The rules can be set based on time requirements, such as the type, quantity, and usage time of computing power resources.
[0041] S2.1, define the interface and functions of the smart contract based on the determined node matching rules and computing power billing rules.
[0042] S2.2, use smart contract development language to write smart contract program.
[0043] Use smart contract development language to write code, ensure that the code logic is clear, the structure is reasonable, and contains necessary error handling and security measures.
[0044] S2.3, deploy the smart contract program to the blockchain network.
[0045] Use deployment tools such as Truffle and Hardhat. The deployment tools provide the function of deploying to a specific blockchain and support custom deployment scripts and automated testing. Use the deployment tools to deploy smart contracts to the selected blockchain network, ensuring that the contract address and related information are correctly recorded for subsequent use.
[0046] S3, publish user computing power requirements through the computing power trading platform.
[0047] S3.1, receiving a user login request, parsing the user login request to obtain user identity information.
[0048] S3.2, perform legitimacy check on user identity information.
[0049] S3.3: If the legitimacy check fails, a login failure prompt is given to the user.
[0050] S3.4, if the legality check passes, provide the user with an interface for filling in computing power demand information.
[0051] S3.5, receiving the computing power requirement information filled in by the user through the computing power requirement information filling interface.
[0052] S3.6, publish user computing power requirements based on computing power requirement information.
[0053] In this embodiment, users publish computing power requirements through the computing power trading platform (which can be a platform based on blockchain or integrated with blockchain network). When publishing requirements, users need to specify key information such as the type, quantity, and usage time of the required computing power resources. The computing power trading platform will verify the legitimacy of the user's identity information to ensure data security, and verify the submitted requirements to ensure their authenticity and rationality.
[0054] S4, the blockchain network responds to computing power demand, automatically matches computing power nodes that provide computing power to users according to node matching rules through smart contracts, and charges the computing power resources used by users according to computing power billing rules.
[0055] In this embodiment, when a user publishes a computing power demand, the blockchain network will immediately respond and process the demand. Through the node matching rules in the smart contract, the blockchain network will automatically filter out qualified nodes from the registered computing power nodes. The selected nodes will be used as candidate computing power nodes to provide the required computing power resources for the user. The specific steps include the following steps.
[0056] S4.11, parse the computing power demand information, and extract the target matching conditions from the computing power demand information.
[0057] S4.12, obtain the status information of each computing node based on the computing node information registered in the blockchain network.
[0058] S4.13, based on the status information of each computing power node, filter out at least one computing power node that meets the target matching condition.
[0059] S4.14, select one from the screened computing power nodes as a node to provide computing power to the user.
[0060] In a specific embodiment, the smart contract applies preset node matching rules, including multiple dimensions such as computing power size, response time, geographic location, price, etc., to screen and sort the available computing power nodes to find the node that best meets the user's needs. Once the matching result is verified, the smart contract will automatically notify the user and the matching computing power node. The user will receive a successful matching notification, including the information of the computing power node, the details of the computing power resources, and the subsequent transaction process. The computing power node will also receive a matching notification, informing it that it has been selected to provide computing power resources to the user.
[0061] In this embodiment, a connection will be established between the user and the candidate computing power node to facilitate the transmission and use of computing power resources. During the use of computing power resources, the blockchain network will perform real-time billing of the computing power resources used by the user through the computing power billing rules in the smart contract. The billing results will be recorded on the blockchain to ensure its transparency and non-tamperability. The specific steps include the following steps.
[0062] S4.21, real-time recording of computing resources used by users.
[0063] S4.22, according to the computing power billing rules, the recorded computing power resources are processed to calculate the fees in each billing cycle.
[0064] S4.23, generates a cost bill based on the calculation results.
[0065] In an optional implementation, the billing method can be determined based on user needs and the options provided by the service provider, such as post-core time billing, core time package for the year, core time package for nodes, monthly peak billing, or billing mode based on tasks / computing volume. The computing power resources used by users are recorded in real time, including the occupancy and usage time of resources such as CPU, memory, and storage. The computing power usage record is generated based on the monitoring data, including detailed information such as resource usage and usage time in each billing cycle. Then, according to the selected billing method and billing rules, the computing power usage record is processed to calculate the fees in each billing cycle, and a fee bill is generated based on the calculation results, including fee details, total fees, and payment deadlines in each billing cycle.
[0066] An embodiment of a blockchain-based computing power resource supply method is described in detail above. Based on the blockchain-based computing power resource supply method described in the above embodiment, an embodiment of the present invention also provides a blockchain-based computing power resource supply system corresponding to the method.
[0067] Figure 2 This is a schematic block diagram of the structure of a computing resource supply system based on blockchain provided by an embodiment of the present invention. In this embodiment, the computing resource supply system 200 based on blockchain can be divided into multiple functional modules according to the functions it performs. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory.
[0068] The computing power node registration module 210 is used to build a blockchain network, and the computing power nodes are registered in the blockchain network.
[0069] The smart contract configuration module 220 is used to configure the smart contract of the blockchain network to determine the node matching rules and computing power billing rules.
[0070] The computing power demand publishing module 230 is used to publish user computing power demands through the computing power trading platform.
[0071] The computing power calculation module 240 is used for the blockchain network to respond to computing power needs, automatically match computing power nodes that provide computing power to users according to node matching rules through smart contracts, and bill the computing power resources used by users according to computing power billing rules.
[0072] The blockchain-based computing power resource supply system of this embodiment is used to implement the aforementioned blockchain-based computing power resource supply method. Therefore, the specific implementation method of the system can be seen in the implementation example part of the blockchain-based computing power resource supply method in the previous text. Therefore, its specific implementation method can refer to the description of the corresponding embodiments of each part, which will not be elaborated here.
[0073] In addition, since the blockchain-based computing power resource supply system of this embodiment is used to implement the aforementioned blockchain-based computing power resource supply method, its function corresponds to that of the above-mentioned method and will not be repeated here.
[0074] Figure 3 A schematic diagram of the structure of a terminal 300 provided in an embodiment of the present invention includes: a processor 310, a memory 320 and a communication unit 330. The processor 310 is used to implement the following steps when implementing the blockchain-based computing resource supply program stored in the memory 320: Build a blockchain network, and register computing nodes in the blockchain network; Configure the smart contract of the blockchain network to determine the node matching rules and computing power billing rules; Publish user computing power requirements through the computing power trading platform; The blockchain network responds to computing power demands and automatically matches computing power nodes that provide computing power to users based on node matching rules through smart contracts, and charges users for the computing power resources used based on computing power billing rules. The terminal 300 includes a processor 310, a memory 320 and a communication unit 330. These components communicate via one or more buses. It can be understood by those skilled in the art that the structure of the server shown in the figure does not constitute a limitation of the present invention, and it can be a bus structure or a star structure, and can also include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0075] The memory 320 can be used to store the execution instructions of the processor 310, and the memory 320 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. When the execution instructions in the memory 320 are executed by the processor 310, the terminal 300 can perform some or all of the steps in the following method embodiments.
[0076] The processor 310 is the control center of the storage terminal, and uses various interfaces and lines to connect various parts of the entire electronic terminal. It runs or executes software programs and / or modules stored in the memory 320, and calls data stored in the memory to perform various functions of the electronic terminal and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 310 can only include a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0077] The communication unit 330 is used to establish a communication channel so that the storage terminal can communicate with other terminals, receive user data sent by other terminals or send user data to other terminals.
[0078] The present invention also provides a computer storage medium, wherein the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
[0079] The computer storage medium stores a computing power resource supply program based on blockchain, and when the computing power resource supply program based on blockchain is executed by the processor, the following steps are implemented: Build a blockchain network, and register computing nodes in the blockchain network; Configure the smart contract of the blockchain network to determine the node matching rules and computing power billing rules; Publish user computing power requirements through the computing power trading platform; The blockchain network responds to computing power demands and automatically matches computing power nodes that provide computing power to users based on node matching rules through smart contracts, and charges users for the computing power resources used based on computing power billing rules. Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention, in essence or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes, including several instructions for enabling a computer terminal (which can be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention.
[0080] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0081] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0082] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0083] The above disclosure is only a preferred embodiment of the present invention, but the present invention is not limited thereto. Any non-creative changes that can be thought of by a person skilled in the art, as well as several improvements and modifications made without departing from the principle of the present invention, should fall within the protection scope of the present invention.
Claims
1. A method for supplying computing resources based on blockchain, characterized in that: The following steps are involved: Build a blockchain network, and register computing nodes in the blockchain network; Configure the smart contract of the blockchain network to determine the node matching rules and computing power billing rules; Publish user computing power requirements through the computing power trading platform; The blockchain network responds to computing power demands and automatically matches computing nodes that provide computing power to users based on node matching rules through smart contracts, and charges users for the computing power resources used based on computing power billing rules.
2. The method for supplying computing resources based on blockchain according to claim 1, characterized in that: Build a blockchain network, and register computing nodes in the blockchain network, including: Respond to the computing power node login request, parse the login request, and obtain the computing power node identity information contained in the login request; Check the legitimacy of the computing power node identity information; If the legality check fails, feedback is given to the computing power node that the computing power node is illegal; If the legitimacy check passes, the registration interface is fed back to the computing power node; Receive computing power node registration information through the registration interface; Check the correctness of the computing power node registration information; If the correctness check fails, the registration information error will be fed back to the computing power node; If the correctness check passes, the blockchain network is registered according to the registration information.
3. The method for supplying computing resources based on blockchain according to claim 2 is characterized in that: Configure the smart contract of the blockchain network to determine the node matching rules and computing power billing rules, including: Define the interface and functions of the smart contract according to the determined node matching rules and computing power billing rules; Use smart contract development language to write smart contract programs; Deploy the smart contract program to the blockchain network.
4. The method for supplying computing power resources based on blockchain according to claim 3 is characterized in that: Publish user computing power requirements through the computing power trading platform, including: Receive user login request, parse the user login request to obtain user identity information; Conduct legitimacy checks on user identity information; If the legitimacy check fails, a login failure prompt will be given to the user; If the legality check passes, an interface for filling in computing power demand information will be provided to the user; Receive computing power requirement information filled in by the user through the computing power requirement information filling interface; Publish user computing power requirements based on computing power requirement information.
5. The method for supplying computing resources based on blockchain according to claim 4 is characterized in that: The computing power nodes that provide computing power to users are automatically matched according to the node matching rules through smart contracts, including: Analyze computing power demand information and extract target matching conditions from the computing power demand information; According to the registered computing power node information in the blockchain network, obtain the status information of each computing power node; According to the status information of each computing power node, at least one computing power node that meets the target matching condition is selected; Select one of the selected computing power nodes as the node that provides computing power to the user.
6. The method for supplying computing resources based on blockchain according to claim 5 is characterized in that: The method further comprises the following steps: Receive and store the computing power node’s own status information uploaded periodically.
7. The method for supplying computing resources based on blockchain according to claim 6 is characterized in that: The computing resources used by users are charged according to the computing power billing rules, including: Real-time recording of computing resources used by users; According to the computing power billing rules, the recorded computing power resources are processed and the fees for each billing cycle are calculated; Generate a cost bill based on the calculation results.
8. A computing resource supply system based on blockchain, characterized in that: include: The computing power node registration module is used to build a blockchain network, and the computing power nodes are registered in the blockchain network; Smart contract configuration module, used to configure the smart contract of the blockchain network to determine the node matching rules and computing power billing rules; The computing power demand publishing module is used to publish user computing power demands through the computing power trading platform; The computing power calculation module is used for the blockchain network to respond to computing power needs. It automatically matches the computing power nodes that provide computing power to users according to the node matching rules through smart contracts, and charges the computing power resources used by users according to the computing power billing rules.
9. A terminal, characterized in that: include: Storage device, used to store the computing power resource supply program based on blockchain; A processor, configured to implement the steps of the blockchain-based computing resource supply method as described in any one of claims 1 to 7 when executing the blockchain-based computing resource supply program.
10. A computer-readable storage medium, characterized in that: The readable storage medium stores a blockchain-based computing power resource supply program, and when the blockchain-based computing power resource supply program is executed by the processor, the steps of the blockchain-based computing power resource supply method as described in any one of claims 1-7 are implemented.