Dynamic blockchain transactional policy management
AssigneeInternational Business Machines Corporation
InventorsVinayaka Pandit, Rishi Saket, Kameshwaran Sampath, Talha Ahmad Siddiqui
Life of this patent
Estimating the term…
Abstract
An example operation may include one or more of receiving a request to execute a blockchain transaction from a user device that is associated with a user account, determining whether to perform the blockchain transaction based on a dynamic participation policy of the user account, the dynamic participation policy being dynamically determined based on previous blockchain transactions of one or more of the user account and of other user accounts, and, in response to determining to perform the blockchain transaction, executing the blockchain transaction on behalf of the user account via a smart contract and storing information about the executed blockchain transaction.
Claims14
A blockchain processing method, comprising:
- storing, via a software program on a blockchain peer from among a plurality of blockchain peers which manage a blockchain, a dynamic participation policy which identifies a set of chaincodes of the blockchain which are enabled for access by a user;
- identifying a blockchain transaction of the user executed via a chaincode from among the set of chaincodes that is stored on the blockchain and that is not timely completed by the user;
- automatically disabling access to the chaincode via the blockchain peer from among the set of chaincodes by modifying, via the software program, the dynamic participation policy on the blockchain peer to indicate that access to the chaincode is not allowed to be accessed by the user based on the identified blockchian transaction on the blockchain that is not timely completed by the user;
- modifying a plurality of dynamic participation policies on the plurality of blockchain peers to include a replication of the modification to the dynamic participation policy of the user, respectively, in response to the modification of the dynamic participation policy;
- receiving a new blockchain transaction from a user device associated with the user;
- determining, via the software program, that the new blockchain transaction includes a request to access the chaincode;
- and
- in response to the determination, preventing the user device from accessing the chaincode based on the modified dynamic participation policy and transmitting a denial message from the blockchain peer to the user that submitted the new blockchain transaction.
A blockchain computing system, comprising:
- a network interface configured to receive blockchain transactions from a user device that is associated with a user;
- and
- a processor configured to
- store, via a software program of a blockchain computing peer from among a plurality of blockchain peers which manage a blockchain, a dynamic participation policy which identifies a set of chaincodes of a blockchain which are enabled for access by the user;
- identify a blockchain transaction of the user executed via a chaincode from among the set of chaincodes that is stored on the blockchain and that is not timely completed by the user;
- automatically disable access to the chaincode via the blockchain peer from among the set of chaincodes by modifying, via the software program, the dynamic participation policy on the blockchain peer to indicate that access to the chaincode is not allowed to be accessed by the user based on the identified blockchain transaction on the blockchain that is not timely completed by the user;
- determine, via the software program, that a new blockchain transaction includes a request to access the chaincode;
- and
- in response to the determination, prevent the user device from accessing the chaincode based on the modified dynamic participation policy and transmitting a denial message from the blockchain peer to the user that submitted the new blockchain transaction.
A non-transitory computer readable medium having stored therein program instructions that when executed cause a computer to perform a blockchain processing method comprising:
- storing, via a software program on a blockchain peer from among a plurality of blockchain peers which manage a blockchain, a dynamic participation policy which identifies a set of chaincodes of the blockchain which are allowed to be accessed by a user;
- identifying a blockchain transaction executed via a chaincode from among the set of chaincodes that is stored on the blockchain and that is not timely completed by the user;
- automatically disabling access to the chaincode via the blockchain peer from among the set of chaincodes by modifying, via the software program, the dynamic participation policy on the blockchain peer to indicate that access to the chaincode is not allowed to be accessed by the user based on the identified blockchain transaction on the blockchain that is not timely completed by the user;
- modifying a plurality of dynamic participation policies on the plurality of blockchain peers to include a replication of the modification to the dynamic participation policy of the user, respectively, in response to the modification to the dynamic participation policy;
- receiving a new blockchain transaction from a user device that is associated with the user;
- determining, via the software program, that the new blockchain transaction includes a request to access the chaincode;
- and
- in response to the determination, preventing the user device from accessing the chaincode and transmitting a denial message from the blockchain peer to the user that submitted the blockchain request.
Dependencies are inferred from the claim text.