WO2019228551A2

System and method for registering subscribable states in blockchain

Abstract

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for recording states that can be written into a blockchain are disclosed. One of the methods includes: obtaining a request to register a workflow comprising one or more states; generate a blockchain contract including the workflow; and deploying the blockchain contract into a blockchain, the deployed blockchain contract being executable to update a current state of the workflow among the at least one state.

WO2019228551A2, drawing sheet 1
Sheet 1 of 13

Term

No projected expiry on record.

  1. Priority and filed
  2. Published
  3. Today

19 claims: 10 independent, 9 dependent

  1. 1
    A computer-implemented method for registering subscribable states in blockchain, comprising:obtaining a request for registering a workflow comprising one or more states;generating a blockchain contract comprising the workflow;anddeploying the blockchain contract in a blockchain, wherein the deployed blockchain contract is executable to update a current state of the workflow among the one or more states.
  2. 3
    The method of any of claims 1-2, further comprising:obtaining information in one or more blocks of the blockchain to determine the current state.
  3. 6
    The method of any of claims 4-5, wherein:the locally-maintained state machine comprises one or more local states respectively mapped to the one or more states of the workflow registered in the blockchain.
  4. 9
    The method of any of claims 8, further comprising:obtaining a request for deactivating the one state;andin response to the request for deactivating the one state: generating a blockchain transaction for shortcutting the one state from the another cyclic trigger flow, and transmitting the generated blockchain transaction to one or more blockchain nodes to add to the blockchain;andshortcutting a local state mapped to the one state from the cyclic trigger flow.
  5. 11
    The method of any of claims 1-10, wherein:each of the one or more states is configurable by a subscriber to one or more sub-states to comprise the one or more sub-states;andthe method further comprises: establishing an association between the subscriber and the one or more sub-states for transmitting notifications associated with the one or more sub-states to the subscriber.
  6. 13
    The method of any of claims 1-12, wherein:obtaining the request for registering the one or more states corresponding to the workflow comprises: obtaining from an administrator of the workflow the request for registering the one or more states corresponding to the workflow;andthe blockchain comprises a consortium blockchain.
  7. 14
    The method of any of claims 1-13, wherein:obtaining the request for registering the one or more states corresponding to the workflow comprises: obtaining a request for registering a state group comprising the one or more states corresponding to the workflow.
  8. 17
    A system for registering subscribable states in blockchain, comprising:one or more processors;andone or more computer-readable memories coupled to the one or more processors and having instructions stored thereon that are executable by the one or more processors to perform the method of any of claims 1 to 16.
  9. 18
    An apparatus for registering subscribable states in blockchain, comprising a plurality of modules for performing the method of any of claims 1 to 16.
  10. 19
    A non-transitory computer-readable medium having stored therein instructions that, when executed by a processor of a device, cause the device to perform the method of any of claims 1 to 16.