Cross-mechanism cloud computing resource trusted sharing method and system
Through the trustworthy sharing method of cross-institutional cloud computing resources, the resource sharing alliance chain and tokenization mechanism are used to solve the shortcomings of the existing system in sustainable development and governance, and achieve fair and trustworthy resource sharing and circulation across institutions. , which improves the convenience and credibility of resource sharing.
Patent Information
- Application Number
- CN202410906059.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-01
AI Technical Summary
The existing cross-cloud computing resource sharing system has shortcomings in sustainable development and governance. It lacks a fair resource exchange mechanism and autonomous system management model at the institutional level, which affects the sustainable development and expansion of the system.
Adopting a trustworthy sharing method of cross-institutional cloud computing resources, the mortgage, tokenization and circulation of resources are realized through the resource sharing alliance chain. Institutional nodes can use tokens to circulate among personal accounts, institutional accounts, and custody accounts, realizing cross-institutional inter-agency Cloud computing resources are shared and the mortgage and redemption of resources are managed through smart contracts.
It provides a more convenient, faster and credible resource sharing technology, supports institutions to dynamically join the system, realizes fair and trustworthy resource exchange and circulation across institutions, and improves the convenience and credibility of resource sharing.
Smart Images

Figure CN118733272A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network resource sharing, and in particular to a cross-institutional cloud computing resource trusted sharing method and system. Background Art
[0002] The technology of cloud computing resource sharing has developed rapidly in the past decade and has become a cornerstone in the field of information technology. At present, scientific research institutions, government agencies and corporate units have built a large number of independent private clouds and public clouds to support key scientific research and business activities in various fields. However, a single private cloud or public cloud has problems such as platform lock-in and tidal effect, which can easily cause users and cloud service providers to have different degrees of reduced user experience and increased construction costs. For this reason, the academic and business communities have proposed a variety of cross-institutional cloud computing resource sharing systems and technical solutions such as hybrid cloud, federal cloud, decentralized cloud, and computing power network, aiming to achieve cross-cloud interconnection, intercommunication, and interoperability, and to pool resources from various suppliers to provide users with higher performance, richer resources, and lower-cost services.
[0003] However, the existing system implementations and technical solutions are mainly oriented to cross-cloud interface interoperability, metering and billing, identity authentication, network interconnection and other functions. There are obvious deficiencies in how to achieve sustainable development and governance of the system. There is a lack of fair resource exchange mechanisms and autonomous system management models at the institutional level, and a lack of fast resource sharing and circulation methods at the user level, which seriously affects the sustainable development and expansion of the system. Now there is an urgent need for a more convenient, fast and reliable resource sharing technology. Summary of the invention
[0004] The present invention describes a cross-institutional cloud computing resource trusted sharing method and system, which can solve the above technical problems.
[0005] According to a first aspect, a method for trusted sharing of cloud computing resources across institutions is provided, the method comprising:
[0006] The institutional node joins the resource sharing alliance chain; wherein the resource sharing alliance chain is a decentralized system composed of two or more institutional nodes;
[0007] The institutional node submits an application for internal cloud computing resource mortgage to the resource sharing alliance chain. After the mortgage application is approved, the institutional node calls the cloud platform API through the virtual cloud management to lock the corresponding amount of cloud computing resources and mortgage them for an equal amount of tokens. The tokens are then issued to the institutional node through the token contract; the tokens can be used to purchase an equal amount of cloud computing resources.
[0008] According to the circulation of tokens between personal accounts, institutional accounts, and custodial accounts, the institutional node calls the virtual cloud management internal cloud platform API to create or delete cloud computing resources for users, thereby realizing cross-institutional cloud computing resource sharing;
[0009] The institutional node redeems an equal amount of cloud computing resources through tokens. The smart contract deducts the amount of resources that the institutional node wants to redeem and the tokens of equal value to the redeemed resources from the mortgage record, so that the institutional node can recover part of the sharing rights.
[0010] The institutional node redeems all pledged cloud computing resources through tokens. The smart contract deducts all resource quantities and all tokens of the institutional node from the pledge record, so that the institutional node exits the resource sharing alliance chain.
[0011] In some embodiments, the process of the institution node joining the resource sharing alliance chain includes:
[0012] Deploy institutional nodes and generate public and private keys related to institutional node configuration;
[0013] The institutional node obtains the connection information of the resource sharing alliance chain from other institutional nodes, and uses the public key and private key of the institutional node to apply to join the resource sharing alliance chain;
[0014] After the institution node obtains approval from all institution nodes, the resource sharing alliance chain begins to deploy smart contracts;
[0015] The institutional node applies to the resource sharing alliance chain for registration of institutional information and cloud platform information.
[0016] In some embodiments, the process of issuing tokens includes:
[0017] The institutional node submits a mortgage issuance application to the resource sharing alliance chain, commits to the amount of cloud computing resources it pledges, and at the same time triggers a mortgage issuance event to notify each institutional node to perform availability testing on the mortgage application;
[0018] Each institution node calls the monitoring interface of the virtual cloud management to detect the cloud computing resources of the institution node applying for mortgage;
[0019] All institutional nodes will feed back the availability test results to the token issuance contract. If the test passes, tokens will be distributed; if the test fails, it will return to the previous step and continue the cycle test; if the number of consecutive failures is greater than or equal to P times, the token release will be terminated, and the released tokens will be liquidated according to the token usage status and resource status to restore the balance between collateral and released tokens.
[0020] In some embodiments, the method of token distribution includes:
[0021] The tokens are distributed to the institutional nodes in batches, and the number of tokens distributed can be calculated as follows:
[0022] H=B / T
[0023] H is the number of tokens issued this time; B is the number of tokens of equivalent value; T is the total batches released;
[0024] The tokens issued in each batch are divided into two parts. The first part of the tokens is issued to the institutional nodes that apply for mortgage, and the second part of the tokens is issued to the institutional nodes responsible for testing as certification fees.
[0025] In some embodiments, the calculation method for pledging internal resources as equivalent tokens is:
[0026] B=C+M+S
[0027] B is the number of equivalent tokens; C is the number of CPU cores; M is the number of memories; S is the number of storages;
[0028] In some embodiments, according to the circulation of tokens between personal accounts, institutional accounts, and escrow accounts, the institutional node calls the virtual cloud management internal cloud platform API to create or delete cloud computing resources for users, thereby realizing cross-institutional cloud computing resource sharing, specifically including:
[0029] Users apply for a corresponding number of tokens from the resource management system of their institution's node as needed. After approval by the resource administrator, the tokens are transferred from the institution's account to the user's personal account;
[0030] Users purchase cloud computing resources from various institutions on demand, generate orders and pay tokens equal to the resources. After successful payment, the tokens are transferred from the personal account to the escrow account. The institutional node that provides cloud computing resources creates cloud computing resources for users by calling the internal cloud platform API of the virtual cloud management system.
[0031] After the user has finished using the cloud computing resources, the resources are released. After the release, the tokens are transferred from the escrow account to the resource provider's institutional account. The institutional node that provides cloud computing resources deletes the cloud computing resources for the user by calling the internal cloud platform API of the virtual cloud management;
[0032] Any institution or user can transfer tokens from their accounts to each other's accounts according to specific scenarios, including: transfers between users, transfers between institutions, and transfers between institutions and users.
[0033] In some embodiments, the specific method for an institution node to redeem cloud computing resources through tokens includes:
[0034] The institutional node submits a resource redemption application to the resource sharing alliance chain and declares the amount of cloud computing resources it redeems;
[0035] The smart contract detects whether the account balance of the institution's node is sufficient to redeem the number of cloud computing resources it has declared to redeem. If the account balance is insufficient, it enters the token acquisition phase; the token acquisition phase refers to the institution's node acquiring sufficient tokens through account transfers and / or user resource release;
[0036] If the account balance of the institution's node is sufficient, the smart contract will check whether the remaining resources of the institution's node are sufficient. If the resources are sufficient, the pledged resources will be returned. The pledged resources will be returned when the smart contract deducts the amount of resources that the institution's node wants to redeem from the pledge record and deducts the tokens in the institution's account that are equal to the redeemed resources.
[0037] If resources are insufficient, after obtaining the user's consent, the institution's node will purchase cloud computing resources from other institution's nodes as agreed. Other institution's nodes will then provide the user with the same cloud computing resource running instances as those in this institution's node, and the resources previously purchased by the user in this institution's node will be released, and the mortgaged resource return phase will begin.
[0038] According to a second aspect, a cross-institutional cloud computing resource trusted sharing system includes:
[0039] The resource sharing alliance chain is a decentralized cooperative network composed of all institutional nodes, which is used to ensure the reliability and credibility of all business logic execution of cross-institutional resource sharing;
[0040] Institutional nodes are middleware used to connect users with cloud computing resources. Their main functions are to provide personalized cloud services to users within the institution, manage the institution’s internal cloud computing resources, and realize the issuance, circulation, and recovery of tokens.
[0041] In one embodiment, the resource sharing alliance chain includes:
[0042] Service contract: provides service registration and management functions. Service information mainly includes organization, location, maximum resource capacity, and remaining resource capacity.
[0043] Order contract: provides order generation and management functions. Order information mainly includes services, instance specifications, quantity, status, and amount.
[0044] Token contract: provides token issuance and redemption functions, and completes the conversion between the cloud computing resources of the institution's nodes and tokens;
[0045] Institutional Contract: Provides institutional registration and management functions. Institutional information mainly includes name, address, contact information, and sharing terms and conditions commitment;
[0046] Payment contract: provides order payment management functions, mainly including payment and status viewing operations;
[0047] Account contract: provides account balance management functions, mainly including balance viewing, transfer, and authorization operations.
[0048] In one embodiment, the organization node includes:
[0049] Cloud platform: A shared data center built by institutional nodes, using open source or commercial platform software such as Openstack, Vmware, Ceph, K8s, etc. to provide a variety of IAAS layer resource services such as virtual machines, object storage, and containers;
[0050] Business system module: It is used to provide users with an operational interface. Its core functions include service console, personal center, order center, and wallet management.
[0051] Virtual cloud management system module: It is used to provide cloud platform management services and functions for users and business system modules. Its core functions include: identity authentication, unified access, service metering, and service monitoring;
[0052] Resource sharing system module: It is used to provide resource exchange information and business logic control services and functions for users and business system modules. Its core functions include: service management, token management, order management, organization management, order management and account management.
[0053] The present invention provides a cross-institutional cloud computing resource trusted sharing method and system. The method supports institutions to dynamically join the system, issue tokens on demand, and use tokens as the main medium to achieve cross-institutional resource sharing full life cycle management. Each institution first deploys a sharing system as a peer node interconnected to form a shared alliance chain, and then registers the institution's shared cloud computing resource information to the shared alliance chain, and pledges its cloud computing resources to issue universal tokens; institutions and users can use tokens to purchase all shared cloud computing resources, and through the three key mechanisms of token issuance, token circulation, and token withdrawal, trusted resource sharing, exchange, and circulation between institutions are achieved, providing a fair and reliable resource exchange mechanism and a fast and convenient resource acquisition method for cross-institutional collaboration. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.
[0055] Figure 1 A schematic diagram of a process for a cross-organization cloud computing resource trusted sharing method provided in an embodiment of this specification is shown;
[0056] Figure 2A schematic diagram of a token issuance process provided by an embodiment of this specification is shown;
[0057] Figure 3 A schematic diagram of a token circulation process provided by an embodiment of this specification is shown;
[0058] Figure 4 A schematic diagram of a process of redeeming resources provided in an embodiment of this specification is shown;
[0059] Figure 5 A diagram showing an architecture of a cross-institutional cloud computing resource trusted sharing system provided by an embodiment of this specification. DETAILED DESCRIPTION
[0060] The solution provided in this specification is described below in conjunction with the accompanying drawings.
[0061] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0062] In the description of the embodiments of the present application, words such as "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a concrete way.
[0063] In the description of the embodiments of the present application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the term "plurality" means two or more.
[0064] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprises", "has" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0065] Figure 1 A flow chart of a cross-organization cloud computing resource trusted sharing method provided by an embodiment of this specification is shown as follows: Figure 1 As shown, the method comprises the following steps:
[0066] Step S101, the institutional node joins the resource sharing alliance chain; wherein the resource sharing alliance chain is a decentralized system composed of two or more institutional nodes.
[0067] In some embodiments, the process of an institution node joining a resource sharing alliance chain specifically includes:
[0068] Step S1011, deploying the organization node, and generating the public key and private key related to the organization node configuration.
[0069] Each institutional node needs to have a set of public and private keys for identity authentication, data encryption, and transaction signatures to ensure the security of network communications and the immutability of transactions. When an institutional node is deployed, it will generate a pair of public and private keys through encryption algorithms such as RSA, ECC, etc.
[0070] Step S1012, the institution node obtains the connection information of the resource sharing alliance chain from other institution nodes, and uses the public key and private key of the institution node to apply to join the resource sharing alliance chain.
[0071] In some embodiments, the newly joined institution node needs to contact other joined institution nodes to obtain the network parameters required for joining, including but not limited to the network address, channel information, chain code details, organizational structure, etc. of the alliance chain. Using the private key of the institution, the institution node signs a formal joining request, which includes but is not limited to the basic information of the institution, public key, MSP configuration, etc., and finally sends the joining request to the resource sharing alliance chain.
[0072] Step S1013, after the institution node obtains approval from all institution nodes, the resource sharing alliance chain begins to deploy the smart contract.
[0073] In some embodiments, the deployment of smart contracts can be achieved through the open source software Hyper ledger Fabric (enterprise-level distributed ledger technology platform), whose function is to ensure the reliability and credibility of all business logic execution processes of cross-institutional resource sharing through smart contracts.
[0074] Step S1014, the institution node applies to the resource sharing alliance chain for registration of institution information and cloud platform information.
[0075] In some embodiments, the organization node needs to summarize all necessary information, including the organization's legal name, registered address, business license number, contact information, official website, etc. For cloud platforms, it is necessary to provide the platform name, service type (such as IaaS, PaaS, SaaS), data center location, security certification, service level agreement (SLA), etc. Before submitting the registration information, the organization node will generate a pair of public and private keys, use the private key to sign the content of the registration request, and publish the public key to the resource sharing alliance chain or bind it with the registration information and send it to the resource sharing alliance chain.
[0076] The institution node joining the resource sharing alliance chain is the process of initiating the registration of the institution's shared cloud computing resources. After the registration is completed, the institution node establishes an interconnection with other institution nodes, and has the ability to provide external institution cloud computing resources to its internal users, the ability to exchange shared cloud computing resources, and the ability to manage cloud computing resources within the institution.
[0077] In step S102, the institutional node submits an application for internal cloud computing resource mortgage to the resource sharing alliance chain. After the mortgage application is approved, the institutional node calls the cloud platform API through the virtual cloud management to lock the corresponding amount of cloud computing resources, and mortgages them for an equal amount of tokens, and then issues the tokens to the institutional node through the token issuance contract; wherein the tokens can be used to purchase an equal amount of cloud computing resources.
[0078] Figure 2 A schematic diagram of a token issuance process provided by an embodiment of this specification is shown, such as Figure 2 As shown, the method comprises the following steps:
[0079] In step S1021, the institutional node submits a mortgage issuance application to the resource sharing alliance chain, commits to the amount of cloud computing resources it pledges, and simultaneously triggers a mortgage issuance event to notify each institutional node to perform availability detection on the mortgage application.
[0080] After the institutional node submits a mortgage issuance application to the resource sharing alliance chain and commits to the number of cloud computing resources it pledges, the institutional node calls the cloud platform API through the virtual cloud management to lock the number of cloud computing resources it pledges, triggering the institutional node's cloud computing resource pledge event. Based on this event, the resource sharing alliance chain notifies each institutional node to conduct a feasibility test on the cloud computing resources pledged by the institutional node.
[0081] In step S1022, each institutional node calls the monitoring interface of the virtual cloud management to detect the cloud computing resources of the institutional node applying for mortgage.
[0082] Specifically, the purpose of the test is to ensure the availability of the cloud computing resources pledged by the institutional node. The test content includes but is not limited to: whether the number of committed resources in the pledge application is correct, whether the cloud platform can be used normally, etc.
[0083] In step S1023, all institutional nodes feed back the availability test results to the token issuance contract. If the test passes, tokens are allocated; if the test fails, the process returns to the previous step and the test continues in a loop; if the number of consecutive failures is greater than or equal to P times, the token release is terminated, and the released tokens are liquidated according to the token usage status and resource status to restore the balance between the collateral and the released tokens.
[0084] In some embodiments, the method of allocating tokens is as follows:
[0085] In order to ensure the availability of its pledged resources during the entire token issuance period, the tokens will be issued to the institutional nodes in batches. The number of tokens issued in each batch can be calculated as follows:
[0086] H=B / T
[0087] H is the number of tokens issued this time; B is the number of tokens of equivalent value; T is the total batches released;
[0088] The tokens issued in each batch are divided into two parts. The first part of the tokens is issued to the institutional nodes that apply for mortgage, and the second part of the tokens is issued to the institutional nodes responsible for testing as certification fees.
[0089] Exemplarily, the institutional node will obtain 100 tokens by pledging cloud computing resources, which will be distributed to the structural node in 10 batches, with 10 tokens distributed in each batch, of which 8 tokens will be distributed to the institutional node, and 2 tokens will be distributed to the institutional node responsible for testing as certification fees.
[0090] In some embodiments, the calculation method of tokens pledging internal resources as equivalent tokens is:
[0091] B=C+M+S
[0092] B is the number of equivalent tokens; C is the number of CPU cores; M is the number of memories; S is the number of storages;
[0093] For example, the cloud computing resources of institution node A include: 100 CPU cores, 500G memory, and 100T storage. The institution node can exchange a total of 100+500+100=700 tokens by pledging its cloud computing resources.
[0094] In some embodiments, the detection fails when:
[0095] If the test fails, it returns to the previous step and continues the cycle test; if the number of consecutive failures is greater than or equal to P times, the token release is terminated, and the released tokens are liquidated according to the token usage status and resource status to restore the balance between the collateral and the released tokens.
[0096] For example, assuming that P times is 7 times, 3 batches of tokens have been issued to institution node A, but in the detection link of the next round of token issuance process, it is detected that the resources of the institution are unavailable, which is deemed to have failed the detection, and the cyclic detection is continued. When the 7th detection is performed, it is detected that the resources of the institution are available, and tokens are allocated to the institution; if it fails after 8 consecutive detections, the release of tokens to the institution is terminated, and the token usage status and resource status of the institution are cleared, that is, the cloud computing resources pledged by institution node A are recorded in the resource sharing alliance chain as follows: 30 CPU cores, 150G memory, 30T storage, and 210 tokens are exchanged. Because the subsequent cloud computing resources of the institution are unavailable, they will no longer be pledged, and tokens will no longer be issued to the institution.
[0097] In summary, this solution uses the method of pledging resources and releasing tokens in batches to issue tokens, and the smart contract coordinates all institutional nodes to jointly supervise the entire process, ensuring the credibility and availability of the resources pledged by each institutional node.
[0098] Step S103, based on the circulation of tokens between personal accounts, institutional accounts, and custodial accounts, the institutional node calls the virtual cloud management internal cloud platform API to create or delete cloud computing resources for users, thereby realizing cross-institutional cloud computing resource sharing.
[0099] Figure 3 A schematic diagram of a token circulation process provided by an embodiment of this specification is shown, such as Figure 3 As shown, the method comprises the following steps:
[0100] Step S1031, the user applies for a corresponding number of tokens from the resource management system of his or her institution's node as needed. After approval by the resource administrator, the tokens are transferred from the institution's account to the user's personal account.
[0101] Users apply for tokens equal to their needs from the resource management system of the institution's node. After the application is approved by the resource administrator, the tokens are transferred from the institution's account to the user's personal account through the resource management system.
[0102] For example, user A needs to use cloud computing resources, such as 5 CPU cores, 10G memory, and 10T storage. He needs to apply for 25 tokens from the resource management system of institution node A. After submitting the application to the resource management system of institution node A, the resource administrator will review and approve it, and then the 25 tokens will be transferred from the account of institution node A to user A's personal account through the resource management system.
[0103] In step S1032, the user purchases cloud computing resources from various institutions on demand, generates an order and pays tokens equal to the resources. After the payment is successful, the tokens are transferred from the personal account to the escrow account. The institutional node that provides cloud computing resources creates cloud computing resources for the user by calling the virtual cloud management internal cloud platform API.
[0104] In the process of generating an order, the user will fill in the name of the institutional node that will provide cloud computing resources, the type and quantity of cloud computing resources, and pay the tokens equal to the resources. After the payment is successful, the tokens will be transferred from the personal account to the escrow account. After the order is generated, the resource sharing alliance chain will notify the institutional node that will provide cloud computing resources through the order contract. The institutional node will call the internal cloud platform API through the virtual cloud management system to create cloud computing resources for the user. It should be noted that users can purchase cloud computing resources from any institutional node.
[0105] For example, user A wants to purchase cloud computing resources with 5 CPU cores, 10G memory, and 10T storage from institutional node B. He fills out an order through the business system and pays 25 tokens. After the payment is successful, the tokens are transferred from user A's personal account to the escrow account in the resource sharing alliance chain. Institutional node B monitors the order status in real time. After receiving the notification of successful order payment provided by the resource sharing alliance chain, institutional node B calls the internal cloud platform API through the virtual cloud management system to create cloud computing resources with 5 CPU cores, 10G memory, and 10T storage for user A.
[0106] Step S1033: After the user has finished using the cloud computing resources, the user releases the resources. After the release, the tokens are transferred from the escrow account to the resource provider's institutional account. The institutional node that provides the cloud computing resources deletes the cloud computing resources for the user by calling the virtual cloud management internal cloud platform API.
[0107] After the user has finished using the resources, the resources are released. The institutional node that provides the resources calls the node's internal cloud platform API through the virtual cloud management to delete virtual machines, cloud hard disks and other resources. After the resources are deleted, the user sends a confirmation instruction to the order contract that the order has been completed, and then the smart contract transfers the tokens in the order from the escrow account to the resource provider's institutional account.
[0108] For example, if user A no longer needs to use cloud computing resources or the resource usage time expires, the cloud computing resources with 5 CPU cores, 10G memory, and 10T storage will be released, and the institution node B that provides the resources will delete the cloud computing resources with 5 CPU cores, 10G memory, and 10T storage through the virtual cloud management calling the node's internal cloud platform API. After the resources are deleted, the smart contract transfers the 25 tokens in the order from the escrow account to the account of institution node B.
[0109] Step S1034: Any institution or user transfers tokens in their accounts to each other's accounts according to specific scenarios, including: transfers between users, transfers between institutions, and transfers between institutions and users.
[0110] Exemplarily, user A of institution node A and user B of institution node B trust each other and allow each other's cloud computing resources to be borrowed from each other. If user A's cloud computing resources are insufficient and he wants to borrow user B's cloud computing resources, user B will transfer tokens of equal value to user A; or, institution node A and institution node B trust each other and allow each other's cloud computing resources to be borrowed from each other. If institution node A wants to borrow the cloud computing resources of institution node B, then institution node B will transfer tokens of equal value to institution node A; or, institution node A and user B trust each other and allow each other's cloud computing resources to be borrowed from each other. If institution node A's cloud computing resources are insufficient and he wants to borrow user B's cloud computing resources, then user B will transfer tokens of equal value to institution node A.
[0111] In summary, by circulating tokens between personal accounts, institutional accounts, and custodial accounts, trusted resource sharing between institutions and users is achieved, and institutions and users can obtain the right to use resources by transferring tokens to each other according to specific scenarios. While ensuring the credibility of resources, the freedom of resource sharing is increased and the convenience of resource sharing is improved.
[0112] Step S104: The institutional node redeems an equal amount of cloud computing resources through tokens. The smart contract deducts the amount of resources that the institutional node wants to redeem and tokens of equal value to the redeemed resources from the mortgage record, so that the institutional node recovers part of the sharing rights.
[0113] Figure 4 A schematic diagram of a process of redeeming resources provided in an embodiment of this specification is shown, such as Figure 4 As shown, the method comprises the following steps:
[0114] Step 1041, the organization node submits a resource redemption application to the resource sharing alliance chain and declares the amount of cloud computing resources it redeems;
[0115] If an institutional node wants to redeem part of the cloud computing resources, it generates a pair of public and private keys and signs a redemption application with the private key. The application information includes a statement of the number of cloud computing resources it wants to redeem, the public key, etc. After signing, the application is sent to the resource sharing alliance chain.
[0116] In step 1042, the smart contract detects whether the account balance of the institution's node is sufficient to redeem the number of cloud computing resources it has declared to redeem. If its account balance is insufficient, it enters the token acquisition phase; the token acquisition phase refers to the institution's node acquiring sufficient tokens through account transfers and / or user release of resources.
[0117] For example, if the number of cloud computing resources pledged by institutional node A is: CPU 100 cores, memory 500G, storage 100T, and it wants to redeem cloud computing resources with CPU 10 cores, memory 10G, and storage 10T, but the smart contract detects that the institution's token balance is only 20 tokens, which is not enough to redeem cloud computing resources worth 30 tokens, then the institutional node enters the token acquisition stage: it can require user A who is using the resources of institutional node A to release resources worth 10 tokens, such as releasing 10G of memory, and its custodial account will transfer 10 tokens to institutional node A; or require institutional node B to transfer 10 tokens to it; or require user A to release resources worth 5 tokens, and at the same time require institutional node B to transfer 5 tokens to it.
[0118] Step S1043, if the account balance of the institution node is sufficient, the smart contract detects whether the remaining resources of the institution node are sufficient. If the resources are sufficient, it enters the mortgage resource return phase; mortgage resource return means that the smart contract deducts the amount of resources that the institution node wants to redeem from the mortgage record, and deducts tokens in the institution account that are equal to the redeemed resources.
[0119] It is worth noting that if an institution has an ongoing token issuance process, the mortgage resource return process should be suspended until the token issuance process is complete. In addition, multiple operations in the mortgage resource return process are the same transaction, which must ensure atomicity, consistency, persistence, and isolation.
[0120] For example, the account balance of institution node A is sufficient, and the smart contract detects that the resources of institution node A are sufficient to meet the resources that the institution node wants to redeem: 10 CPU cores, 10G memory, and 10T storage. The smart contract deducts the 10 CPU cores, 10G memory, and 10T storage pledged by institution node A in the unit from the mortgage record according to the redemption application, and directly modifies the resources pledged by institution node A in the resource sharing alliance chain to: 90 CPU cores, 490G memory, and 90T storage, and deducts 30 tokens from the institution's account.
[0121] Step S1044, if the resources are insufficient, after obtaining the user's consent, the organization node purchases cloud computing resources from other organization nodes as agreed, then other organization nodes will provide the user with the same cloud computing resource running instances as those in this organization node, and the resources previously purchased by the user in this organization node will be released, and enter the mortgage resource return stage.
[0122] For example, if the smart contract detects that the remaining mortgage resources of institutional node B are 5 CPU cores, 5G memory, and 10T storage, and the number of resources it wants to redeem is 5 CPU cores, 10G memory, and 10T storage, and its remaining resources are insufficient, then institutional node B, after obtaining the consent of user Ding who is using the institution's memory resources, uses 5 tokens to purchase 5G memory from institutional node A. Structural node A allocates the 5G memory resources to the user through the virtual cloud management, and the 5G memory previously purchased by user Ding from institutional node B is released. At this time, the remaining resources of the institutional node are 5 CPU cores, 10G memory, and 10T storage, which meets its resource redemption needs, and the next step is to enter the mortgage resource return link.
[0123] In summary, the method of redeeming cloud computing resources through tokens improves the convenience of resource recovery during the redemption process, while also ensuring the credibility of resource circulation between institutional nodes and users.
[0124] Step S105, the institutional node redeems all pledged cloud computing resources through tokens, and the smart contract deducts all resource quantities and all tokens of the institutional node from the pledge record, so that the institutional node exits the resource sharing alliance chain.
[0125] If an institutional node wants to exit the resource-sharing alliance chain, it needs to obtain approval from the resource-sharing alliance chain or other institutional nodes after applying to the resource-sharing alliance chain. After approval, the institutional node uses tokens to redeem all its cloud computing resources, and the smart contract deducts all the resources and all tokens of the institutional node from the mortgage record, after which it can exit the alliance chain.
[0126] For example, if institution node A wants to exit the resource sharing alliance chain, after the application is sent to the resource sharing alliance chain, it needs to obtain approval from the resource sharing alliance chain, and then declare that it agrees to the withdrawal of institution node A. After that, the smart contract detects the token balance and resource quantity of institution node A. If the token balance or resource quantity does not meet the conditions, it enters the token acquisition or resource redemption link (refer to step 104) until the conditions for redeeming all resources are met. After the conditions are met, the total number of resources of institution node A is deducted from the resource sharing alliance chain: CPU 100 cores, memory 500G, storage 100T, and 700 tokens in the institution account are deducted, and finally exit the resource sharing alliance chain.
[0127] based on Figure 1 The cross-institutional cloud computing resource trusted sharing method shown, on the other hand, an embodiment of the present application provides a cross-institutional cloud computing resource trusted sharing system. Figure 5 The following is a diagram showing an architecture of a cross-organization cloud computing resource trusted sharing system provided by an embodiment of this specification. Figure 5 As shown, the system includes:
[0128] Resource sharing alliance chain, the shared alliance chain is a decentralized system composed of all institutional nodes. Through the smart contract and blockchain storage function of the open source software Hyper ledger Fabric (open source distributed ledger technology), data decentralized storage and cross-institutional resource sharing business logic are realized to ensure the reliability and credibility of business data and business logic execution process. Among them, smart contracts include:
[0129] Service contract: provides service registration and management functions. Service information mainly includes organization, location, maximum resource capacity, and remaining resource capacity.
[0130] Order contract: provides order generation and management functions. Order information mainly includes services, instance specifications, quantity, status, and amount.
[0131] Token contract: provides token issuance and destruction functions, and completes the conversion between the cloud computing resources of the organization's nodes and tokens;
[0132] Institutional Contract: Provides institutional registration and management functions. Institutional information mainly includes name, address, contact information, and sharing terms and conditions commitment;
[0133] Payment contract: provides order payment management functions, mainly including payment and status viewing operations;
[0134] Account contract: provides account balance management functions, mainly including balance viewing, transfer, and authorization operations.
[0135] Institutional nodes are middleware used to connect users with cloud computing resources. Their main functions are to provide personalized cloud services to users within the institution, manage the institution’s internal cloud computing resources, and implement the issuance, circulation, and destruction of tokens. They mainly include:
[0136] Cloud platform: A shared data center built by institutional nodes, using open source or commercial platform software such as Openstack, Vmware, Ceph, K8s, etc. to provide a variety of IAAS layer resource services such as virtual machines, object storage, and containers;
[0137] Business system module: It is used to provide users with an operational interface. Its core functions include service console, personal center, order center, and wallet management.
[0138] Virtual cloud management system module: It is used to provide cloud platform management services and functions for users and business system modules. Its core functions include: identity authentication, unified access, service metering, and service monitoring;
[0139] Resource sharing system module: It is used to provide resource exchange information and business logic control services and functions for users and business system modules. Its core functions include: service management, token management, order management, organization management, order management and account management.
[0140] It is worth mentioning that Figure 5 The system shown is Figure 1 The method embodiments shown correspond to and can be applied to Figure 1 The institutional nodes in the illustrated method embodiment apply to join the resource sharing alliance chain, resource mortgage and token distribution, token circulation, mortgage resource redemption, and exit the resource sharing alliance chain related processes, which will not be repeated here. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0141] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the present invention can be implemented by hardware, software, firmware or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.
[0142] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.
Claims
1. A cross-institutional cloud computing resource trusted sharing method, characterized in that: The method comprises: The institutional node joins the resource sharing alliance chain; wherein the resource sharing alliance chain is a decentralized system composed of two or more institutional nodes; The institutional node submits an application for internal cloud computing resource mortgage to the resource sharing alliance chain. After the mortgage application is approved, the institutional node calls the cloud platform API through the virtual cloud management to lock the corresponding amount of cloud computing resources and mortgages them for an equal amount of tokens. The tokens are then issued to the institutional node through the token issuance contract; the tokens can be used to purchase an equal amount of cloud computing resources. According to the circulation of tokens between personal accounts, institutional accounts, and custodial accounts, the institutional node calls the virtual cloud management internal cloud platform API to create or delete cloud computing resources for users, thereby realizing cross-institutional cloud computing resource sharing; The institutional node redeems an equal amount of cloud computing resources through tokens. The smart contract deducts the amount of resources that the institutional node wants to redeem and the tokens of equal value to the redeemed resources from the mortgage record, so that the institutional node can recover part of the sharing rights. The institutional node redeems all pledged cloud computing resources through tokens. The smart contract deducts all resource quantities and all tokens of the institutional node from the pledge record, so that the institutional node exits the resource sharing alliance chain.
2. The method according to claim 1, characterized in that: The process of the institution node joining the resource sharing alliance chain includes: Deploy institutional nodes and generate public and private keys related to institutional node configuration; The institutional node obtains the connection information of the resource sharing alliance chain from other institutional nodes, and uses the public key and private key of the institutional node to apply to join the resource sharing alliance chain; After the institution node obtains approval from all institution nodes, the resource sharing alliance chain begins to deploy smart contracts; The institutional node applies to the resource sharing alliance chain for registration of institutional information and cloud platform information.
3. The method according to claim 1, characterized in that The token issuance process includes: The institutional node submits a mortgage issuance application to the resource sharing alliance chain, commits to the amount of cloud computing resources it pledges, and at the same time triggers a mortgage issuance event to notify each institutional node to perform availability testing on the mortgage application; Each institution node calls the monitoring interface of the virtual cloud management to detect the cloud computing resources of the institution node applying for mortgage; All institutional nodes will feed back the availability test results to the token issuance contract. If the test passes, tokens will be distributed; if the test fails, it will return to the previous step and continue the cycle test; if the number of consecutive failures is greater than or equal to P times, the token release will be terminated, and the released tokens will be liquidated according to the token usage status and resource status to restore the balance between collateral and released tokens.
4. The method according to claim 3, characterized in that Methods of token distribution include: The tokens are distributed to the institutional nodes in batches, and the number of tokens distributed can be calculated as follows: H=B / T H is the number of tokens issued this time; B is the number of tokens of equivalent value; T is the total batches released; The tokens issued in each batch are divided into two parts. The first part of the tokens is issued to the institutional nodes that apply for mortgage, and the second part of the tokens is issued to the institutional nodes responsible for testing as certification fees.
5. The method according to claim 3, characterized in that: The calculation method for pledging internal resources as equivalent tokens is: B=C+M+S B is the number of equivalent tokens; C is the number of CPU cores; M is the number of memories; S is the number of storages.
6. The method according to claim 1, characterized in that According to the circulation of tokens between personal accounts, institutional accounts, and custodial accounts, the institutional node calls the internal cloud platform API of the virtual cloud management to create or delete cloud computing resources for users, thereby realizing the sharing of cloud computing resources across institutions, including: Users apply for a corresponding number of tokens from the resource management system of their institution's node as needed. After approval by the resource administrator, the tokens are transferred from the institution's account to the user's personal account; Users purchase cloud computing resources from various institutions on demand, generate orders and pay tokens equal to the resources. After successful payment, the tokens are transferred from the personal account to the escrow account. The institutional node that provides cloud computing resources creates cloud computing resources for users by calling the internal cloud platform API of the virtual cloud management system. After the user has finished using the cloud computing resources, the resources are released. After the release, the tokens are transferred from the escrow account to the resource provider's institutional account. The institutional node that provides cloud computing resources deletes the cloud computing resources for the user by calling the internal cloud platform API of the virtual cloud management; Any institution or user can transfer tokens from their accounts to each other's accounts according to specific scenarios, including: transfers between users, transfers between institutions, and transfers between institutions and users.
7. The method according to claim 1, characterized in that The specific methods for institutional nodes to redeem cloud computing resources through tokens include: The institutional node submits a resource redemption application to the resource sharing alliance chain and declares the amount of cloud computing resources it redeems; The smart contract detects whether the account balance of the institution's node is sufficient to redeem the number of cloud computing resources it has declared to redeem. If the account balance is insufficient, it enters the token acquisition phase; the token acquisition phase refers to the institution's node acquiring sufficient tokens through account transfers and / or user resource release; If the account balance of the institution's node is sufficient, the smart contract will check whether the remaining resources of the institution's node are sufficient. If the resources are sufficient, the pledged resources will be returned. The pledged resources will be returned when the smart contract deducts the amount of resources that the institution's node wants to redeem from the pledge record and deducts the tokens in the institution's account that are equal to the redeemed resources. If resources are insufficient, after obtaining the user's consent, the institution's node will purchase cloud computing resources from other institution's nodes as agreed. Other institution's nodes will then provide the user with the same cloud computing resource running instances as those in this institution's node, and the resources previously purchased by the user in this institution's node will be released, and the mortgaged resource return phase will begin.
8. A cross-institutional cloud computing resource trusted sharing system, comprising: The resource sharing alliance chain is a decentralized cooperative network composed of all institutional nodes, which is used to ensure the reliability and credibility of all business logic execution of cross-institutional resource sharing; Institutional nodes are middleware used to connect users with cloud computing resources. Their main functions are to provide personalized cloud services to users within the institution, manage the institution’s internal cloud computing resources, and realize the issuance, circulation, and recovery of tokens.
9. The system according to claim 8, characterized in that Resource sharing alliance chain includes: Service contract: provides service registration and management functions. Service information mainly includes organization, location, maximum resource capacity, and remaining resource capacity. Order contract: provides order generation and management functions. Order information mainly includes services, instance specifications, quantity, status, and amount. Token contract: provides token issuance and redemption functions, and completes the conversion between the cloud computing resources of the institution's nodes and tokens; Institutional Contract: Provides institutional registration and management functions. Institutional information mainly includes name, address, contact information, and sharing terms and conditions commitment; Payment contract: provides order payment management functions, mainly including payment and status viewing operations; Account contract: provides account balance management functions, mainly including balance viewing, transfer, and authorization operations.
10. The system according to claim 8, characterized in that Institutional Node include: Cloud platform: A shared data center built by institutional nodes, using open source or commercial platform software such as Openstack, Vmware, Ceph, K8s, etc. to provide a variety of IAAS layer resource services such as virtual machines, object storage, and containers; Business system module: It is used to provide users with an operational interface. Its core functions include service console, personal center, order center, and wallet management. Virtual cloud management system module: It is used to provide cloud platform management services and functions for users and business system modules. Its core functions include: identity authentication, unified access, service metering, and service monitoring; Resource sharing system module: It is used to provide resource exchange information and business logic control services and functions for users and business system modules. Its core functions include: service management, token management, order management, organization management, order management and account management.
Citation Information
Cited By
Federal cloud service method and system based on alliance block chain
CN120075232A
A Federated Cloud Service Method and System Based on Consortium Blockchain
CN120075232B
