Blockchain-based method and system for immutable resource allocation in a cloud computing environment
AssigneeDell Products L.P.
InventorJohn Kelly
Life of this patent
Estimating the term…
Abstract
A blockchain-based method and system for immutable resource allocation in a cloud computing environment. Specifically, the method and system disclosed herein implement a marketplace solution which extends blockchain technology to the problem of information technology (IT) resources allocation in the cloud computing environment. In adapting blockchain technology, the method and system disclosed herein provide a mechanism for guaranteeing resource allocation without any implication of trust between resource providers and resource requestors or consumers.
Claims19
A method for enforcing smart contracts, comprising:
- receiving a first proposed block comprising a first proposed block header and a first proposed transaction set, wherein the first proposed transaction set comprises a first contract execution transaction (CET) that comprises a first encoded contract function call (CFC);
- making a first determination, based on a performing of a block validation process on the first proposed block, that the first proposed block is valid, wherein performing of the block validation process on the first proposed block, comprises:
- extracting, from the first proposed block header, a target criterion for the first proposed block;
- hashing at least a portion of the first proposed block header to obtain a proposed block hash;
- determining that the proposed block hash satisfies the target criterion;
- and
- identifying the first proposed block as valid based on the proposed block hash satisfying the target criterion;
- committing, based on the first determination, the first proposed block into a local blockchain copy (LBC);
- in response to committing the first proposed block, executing the first encoded CFC to obtain a data query response (DQR), wherein the DQR comprises reserved resources allocation information;
- and
- enforcing a smart contract based at least on the reserved resources allocation information, wherein enforcing the smart contract based at least on the reserved resources allocation information, comprises:
- obtaining a contract address specified in the first CET;
- identifying a smart contract account associated with the contract address, wherein the smart contract is associated with the smart contract account;
- retrieving, from the smart contract account, a contract token balance (CTB) specified therein;
- generating a transaction package based on the CTB;
- and
- broadcasting the transaction package to a set of peer blockchain nodes in a blockchain network.
A blockchain network, comprising:
- a plurality of blockchain nodes comprising a first blockchain node apprising a first role as a reserved resource provider (RRP) and a second blockchain node apprising a second role as a data feed service (DFS),
- wherein the first blockchain node comprises a processor coupled to a memory that is programmed to:
- receive, broadcasted from the second blockchain node, a first proposed block comprising a first proposed block header and a first proposed transaction set, wherein the first proposed transaction comprises a first contract execution transaction (CET) that comprises a first encoded contract function call (CFC);
- make a first determination, based on a performing of a block validation process on the first proposed block, that the first proposed block is valid, wherein performing of the block validation process on the first proposed block, comprises:
- extracting, from the first proposed block header, a target criterion for the first proposed block;
- hashing at least a portion of the first proposed block header to obtain a proposed block hash;
- determining that the proposed block hash satisfies the target criterion;
- and
- identifying the first proposed block as valid based on the proposed block hash satisfying the target criterion;
- commit, based on the first determination, the first proposed block into a local blockchain copy (LBC) residing on the first blockchain node;
- in response to committing the first proposed block, execute the first encoded CFC to obtain a data query response (DQR), wherein the DQR comprises reserved resources allocation information;
- and
- enforce a smart contract based at least on the reserved resources allocation information, wherein enforcing the smart contract based at least on the reserved resources allocation information, comprises:
- obtaining a contract address specified in the first CET;
- identifying a smart contract account associated with the contract address, wherein the smart contract is associated with the smart contract account;
- retrieving, from the smart contract account, a contract token balance (CTB) specified therein;
- generating a transaction package based on the CTB;
- and
- broadcasting the transaction package to a set of peer blockchain nodes in a blockchain network.
A non-transitory computer readable medium (CRM) comprising computer readable program code, which when executed by a computer processor, enables the computer processor to:
- receive a first proposed block comprising a first proposed block header and a first proposed transaction set, wherein the first proposed transaction comprises a first contract execution transaction (CET) that comprises a first encoded contract function call (CFC);
- make a first determination, based on a performing of a block validation process on the first proposed block, that the first proposed block is valid, wherein performing of the block validation process on the first proposed block, comprises:
- extracting, from the first proposed block header, a target criterion for the first proposed block;
- hashing at least a portion of the first proposed block header to obtain a proposed block hash;
- determining that the proposed block hash satisfies the target criterion;
- and
- identifying the first proposed block as valid based on the proposed block hash satisfying the target criterion;
- commit, based on the first determination, the first proposed block into a local blockchain copy (LBC);
- in response to committing the first proposed block, execute the first encoded CFC to obtain a data query response (DQR), wherein the DQR comprises reserved resources allocation information;
- and
- enforce a smart contract based at least on the reserved resources allocation information, wherein enforcing the smart contract based at least on the reserved resources allocation information, comprises:
- obtaining a contract address specified in the first CET;
- identifying a smart contract account associated with the contract address, wherein the smart contract is associated with the smart contract account;
- retrieving, from the smart contract account, a contract token balance (CTB) specified therein;
- generating a transaction package based on the CTB;
- and
- broadcasting the transaction package to a set of peer blockchain nodes in a blockchain network.
Dependencies are inferred from the claim text.