CN-121981723-A - Method for trading computing power resources and block chain system
Abstract
The embodiment of the disclosure provides a computing power resource transaction method and a blockchain system, wherein the method comprises the steps that a first blockchain node receives a creation request of a computing power resource transaction order, generates order information according to a resource identifier and the number of resources and returns the order information to a client, the first blockchain node belongs to an order channel, a second blockchain node receives a payment request, generates a payment acceptance certificate according to the order information and returns the payment acceptance certificate to the client, the second blockchain node belongs to a payment channel, the first blockchain node receives a payment success synchronization request, updates the order information according to the payment completion certificate and returns the updated order information to the client, a third blockchain node receives a computing power resource scheduling request, performs computing power resource scheduling according to the updated order information, and the third blockchain node belongs to a computing power resource management channel, wherein the order channel, the payment channel and the computing power resource management channel are mutually and mutually data-isolated. By the embodiment, the data security of the transaction of the computing power resource is improved.
Inventors
- LIU HUIKUN
- Jin tianjiao
- WANG HEZHOU
- ZHAO YUXIANG
Assignees
- 中国移动通信集团浙江有限公司
- 中国移动通信集团有限公司
- 中国移动(浙江)创新研究院有限公司
- 浙江移动数智科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251223
Claims (11)
- 1. A method for trading computing resources applied to a blockchain system, comprising: the method comprises the steps that a first block chain link point receives a creation request of an account resource transaction order sent by a client, generates order information according to a resource identifier and a resource quantity in the creation request and returns the order information to the client; A second blockchain node receives a payment request sent by the client, generates a payment acceptance certificate according to order information in the payment request and returns the payment acceptance certificate to the client; The first block link point receives a payment success synchronization request sent by the client, updates the order information according to a payment completion certificate in the payment success synchronization request, and returns the updated order information to the client; And a third block chain node receives the computing power resource scheduling request sent by the client and performs computing power resource scheduling according to the updated order information in the computing power resource scheduling request, the third block chain node belongs to a computing power resource management channel in the block chain system, and the order channel, the payment channel and the computing power resource management channel are mutually and mutually data-isolated.
- 2. The method according to claim 1, wherein the method further comprises: the system comprises a client, a third block chain node, a fourth block chain node, a third block chain node and a fourth block chain node, wherein the client is used for receiving an audit request sent by the client, the audit request comprises authority certificates and audit information of audit organizations, and the third block chain node belongs to one of an order channel, a payment channel and a computing power resource management channel; Performing authority authentication on the authority credentials to obtain an authority authentication result; and if the authority authentication result indicates that the authority authentication passes, performing auditing processing according to the auditing information to obtain an auditing result and returning the auditing result to the client.
- 3. The method of claim 2, wherein the blockchain system further comprises an audit channel, wherein after the audit processing is performed according to the audit information to obtain an audit result and the audit result is returned to the client, the method further comprises: And a fifth block link point receives the auditing result sent by the client and performs data uplink processing according to the auditing result, wherein the fifth block link point belongs to the auditing channel.
- 4. The method of claim 1, wherein the blockchain system further comprises a user channel, wherein a blockchain ledger of the user channel includes user identity information for each user, and wherein the method further comprises: A sixth block link point receives a data processing request sent by the client, and returns a user information acquisition request to the client according to a user identifier in the data processing request; A seventh block link point receives the user information acquisition request sent by the client, and queries user identity information of a corresponding user in the block chain account according to the user identification in the user information acquisition request to obtain target user identity information and returns the target user identity information to the client; And the sixth block link point receives the target user identity information sent by the client, performs identity verification according to the target user identity information to obtain an identity verification result, and if the identity verification result indicates that the identity verification is passed, executes the data processing operation corresponding to the data processing request.
- 5. The method of claim 1, wherein the blockchain system further includes a detection channel, the method further comprising: the eighth block chain link point receives the operation and maintenance index data, wherein the eighth block chain node belongs to the detection channel; performing abnormality detection processing according to the operation and maintenance index data to obtain a detection result; and carrying out data uplink processing according to the detection result.
- 6. The method of claim 1, wherein after the first block link point receives the creation request of the computing power resource trade order sent by the client, the method further comprises: the first block link point sends a resource check instruction to a client according to the resource identifier and the resource quantity; The third block link point receives a resource check request sent by a client, performs resource check processing according to the resource check request, obtains a resource check result and returns the resource check result to the client, wherein the resource check result indicates whether the number of idle resources of the computing power resource management channel meets the resource number requirement of the computing power resource transaction order; The generating order information according to the resource identification and the resource quantity in the creation request comprises the following steps: Receiving the resource verification result sent by the client; And generating the order information according to the resource verification result, the resource identification and the resource quantity.
- 7. The method of claim 1, wherein the client stores authorization information for each channel in the blockchain system, the authorization information indicating a range of interactions the client is authorized to interact with the corresponding channel.
- 8. A blockchain system, comprising: The system comprises a first block chain node, a second block chain node, a third block chain node, a fourth block chain node and a third block chain node, wherein the first block chain node is used for receiving a creation request of an algorithm resource transaction order sent by a client, generating order information according to a resource identifier and the number of resources in the creation request and returning the order information to the client; The second blockchain node is used for receiving a payment request sent by the client, generating a payment acceptance certificate according to order information in the payment request and returning the payment acceptance certificate to the client; The first blockchain node is further used for receiving a payment success synchronization request sent by the client, updating the order information according to a payment completion certificate in the payment success synchronization request, and returning the updated order information to the client; The third block chain node is used for receiving the computational power resource scheduling request sent by the client and carrying out computational power resource scheduling according to the updated order information in the computational power resource scheduling request, belongs to a computational power resource management channel in the block chain system, and is mutually and mutually data-isolated.
- 9. An electronic device comprising a memory and a processor, the memory having stored thereon computer executable instructions that, when run on the processor, are capable of implementing the method of any of the preceding claims 1-7.
- 10. A computer readable storage medium having stored therein computer executable instructions which, when executed by a processor, are capable of carrying out the method of any one of the preceding claims 1-7.
- 11. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the method of any of the preceding claims 1-7.
Description
Method for trading computing power resources and block chain system Technical Field The present document relates to the field of blockchain, and in particular, to a method and a blockchain system for trading computing resources. Background In the related art, the transaction of the computing power resource refers to a transaction mode that takes computing power as a transaction object, and the yielding and the circulation of the virtual power use right are realized through a digital platform and are charged according to the use amount. The transaction of the computing power resource is related to a plurality of data parties such as a computing power provider, a computing power demand party and the like, the transaction process possibly involves the circulation of sensitive data, and the data security has high requirements. Therefore, the problem of how to improve the data security of the transaction of the computing resources is becoming more and more interesting. Disclosure of Invention The embodiment of the disclosure provides a computing resource transaction method and a blockchain system to solve the problem of how to improve the data security of computing resource transactions. In a first aspect, an embodiment of the present disclosure provides a method for trading an computing resource, applied to a blockchain system, including: the method comprises the steps that a first block chain link point receives a creation request of an account resource transaction order sent by a client, generates order information according to a resource identifier and a resource quantity in the creation request and returns the order information to the client; A second blockchain node receives a payment request sent by the client, generates a payment acceptance certificate according to order information in the payment request and returns the payment acceptance certificate to the client; The first block link point receives a payment success synchronization request sent by the client, updates the order information according to a payment completion certificate in the payment success synchronization request, and returns the updated order information to the client; And a third block chain node receives the computing power resource scheduling request sent by the client and performs computing power resource scheduling according to the updated order information in the computing power resource scheduling request, the third block chain node belongs to a computing power resource management channel in the block chain system, and the order channel, the payment channel and the computing power resource management channel are mutually and mutually data-isolated. In a second aspect, embodiments of the present disclosure provide a blockchain system including: The system comprises a first block chain node, a second block chain node, a third block chain node, a fourth block chain node and a third block chain node, wherein the first block chain node is used for receiving a creation request of an algorithm resource transaction order sent by a client, generating order information according to a resource identifier and the number of resources in the creation request and returning the order information to the client; The second blockchain node is used for receiving a payment request sent by the client, generating a payment acceptance certificate according to order information in the payment request and returning the payment acceptance certificate to the client; The first blockchain node is further used for receiving a payment success synchronization request sent by the client, updating the order information according to a payment completion certificate in the payment success synchronization request, and returning the updated order information to the client; The third block chain node is used for receiving the computational power resource scheduling request sent by the client and carrying out computational power resource scheduling according to the updated order information in the computational power resource scheduling request, belongs to a computational power resource management channel in the block chain system, and is mutually and mutually data-isolated. In a third aspect, an embodiment of the present disclosure provides an electronic device comprising a memory, a processor, and computer-executable instructions stored on the memory and executable on the processor, which when executed by the processor, implement a method as described in the first aspect above. In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium for storing computer-executable instructions that, when executed by a processor, implement a method as described in the first aspect above. In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising a computer program which, when executed by a processor, implements the method of the first aspect described above. In one or more embodiments of the dis