Actor model payment processing engine
AssigneeRoyal Bank of Canada
InventorsShangjia Jiang, Sohan Ganapathy, Raju Marimuthu
Life of this patent
Estimating the term…
Abstract
Methods, systems, and techniques for using an actor model payment processing engine to process payments. A payment instruction is received. An event corresponding to the payment instruction is stored in an event journal. The payment processing engine, which is event-sourced and actor-based, performs the payment instruction. Performing the payment instruction involves transitioning the engine through one or more states in response to the payment instruction, and may involve performing actions with non-event sourced and event sourced actors in both stateless and stateful environments.
Claims17
A payment processing method comprising:
- (a) receiving a payment instruction;
- (b) storing, in an event journal, an event corresponding to the payment instruction;
- and
- (c) performing the payment instruction using an event-sourced, actor-based system, wherein performing the payment instruction comprises:
- transitioning the actor-based system through one or more states in response to the payment instruction;
- and
- performing at least one action in a stateless environment comprising at least one non-event sourced actor and, subsequently, at least one action in a stateful environment comprising at least one event sourced actor, wherein a payment is made in response to the payment instruction in the stateful environment;
- (d) publishing, by the at least one non-event sourced actor, at least one command into a command store, the command store storing the at least one command and dividing processing of the payment instruction between the stateless environment and the stateful environment;
- and
- (e) retrieving, by the at least one event sourced actor, the at least one command from the command store.
A payment processing system comprising:
- (a) an event journal;
- (b) an event-sourced, actor-based payment processing engine configured to perform a method comprising:
- (i) receiving a payment instruction;
- (ii) storing, in the event journal, an event corresponding to the payment instruction;
- and
- (iii) performing the payment instruction, wherein performing the payment instruction comprises:
- transitioning the payment processing engine through one or more states in response to the payment instruction;
- and
- performing at least one action in a stateless environment comprising at least one non-event sourced actor and, subsequently, at least one action in a stateful environment comprising at least one event sourced actor, wherein a payment is made in response to the payment instruction in the stateful environment;
- (iv) publishing, by the at least one non-event sourced actor, at least one command into a command store, the command store storing the at least one command and dividing processing of the payment instruction between the stateless environment and the stateful environment;
- and
- (v) retrieving, by the at least one event sourced actor, the at least one command from the command store.
A non-transitory computer readable medium having encoded thereon computer program code that is executable by a processor and that, when executed, causes the processor to perform a payment processing method comprising:
- (a) receiving a payment instruction;
- (b) storing, in an event journal, an event corresponding to the payment instruction;
- and
- (c) performing the payment instruction using an event-sourced, actor-based system, wherein performing the payment instruction comprises:
- transitioning the actor-based system through one or more states in response to the payment instruction;
- and
- performing at least one action in a stateless environment comprising at least one non-event sourced actor and, subsequently, at least one action in a stateful environment comprising at least one event sourced actor, wherein a payment is made in response to the payment instruction in the stateful environment;
- (d) publishing, by the at least one non-event sourced actor, at least one command into a command store, the command store storing the at least one command and dividing processing of the payment instruction between the stateless environment and the stateful environment;
- and
- (e) retrieving, by the at least one event sourced actor, the at least one command from the command store.
Dependencies are inferred from the claim text.