Context dependent transaction processing engine
AssigneeSalesforce, Inc.
InventorsRakesh Ganapathi Karanth, Parth Vaishnav, Chris Robison, Russ Halvorson
Life of this patent
Estimating the term…
Abstract
A contextual processing engine architecture. The architecture utilizes data objects retrieved from a database to form a new transactional item data structure as input into a contextual processing engine. The transactional data structure includes a prior context pointer to point to historical context. The historical context can be null for new transactions or one or more basis transaction item data structures for contextual transactions. The processing engine processes the input using process functions lists and aggregates the results for output.
Claims19
A method, comprising:
- retrieving a first data object stored in a database of a database system implemented using a server system;
- retrieving a second data object stored in the database;
- generating, using one or more processors, a transaction data structure using the first and second data objects, wherein the transaction data structure includes a prior context pointer, the prior context pointer being configured to point to a linked list of two or more basis transaction items that provide a historical context chain, wherein a next pointer in a first basis transaction item in the linked list points to a second basis transaction item, based on the second data object;
- loading the transaction data structure into a processing engine;
- outputting a current line item process based on the transaction data structure and a graphical representation of an ordered processing function list applicable for the current line item process, the ordered processing function list being generated based on the transaction data structure and a processing transaction type, the processing engine being configured to use the prior context pointer to apply only required processing functions of the ordered processing function list to the current line item process;
- and
- generating a processing plan that specifies an order of calculation for a plurality of transaction items within a transaction;
- wherein during execution of the processing plan, the processing engine dynamically updates the processing plan upon identifying a new transaction item dependency when a processing function for a first transaction item performs a lookup to a second transaction item.
A database system implemented using a server system, the database system configurable to cause:
- retrieving a first data object stored in a database of a database system implemented using a server system;
- retrieving a second data object stored in the database;
- generating, using one or more processors, a transaction data structure using the first and second data objects, wherein the transaction data structure includes a prior context pointer, the prior context pointer being configured to point to a linked list of two or more basis transaction items that provide a historical context chain, wherein a next pointer in a first basis transaction item in the linked list points to a second basis transaction item, based on the second data object;
- loading the transaction data structure into a processing engine;
- outputting a current line item process based on the transaction data structure and a graphical representation of an ordered processing function list applicable for the current line item process, the ordered processing function list being generated based on the transaction data structure and a processing transaction type, the processing engine being configured to use the prior context pointer to apply only required processing functions of the ordered processing function list to the current line item process;
- and
- generating a processing plan that specifies an order of calculation for a plurality of transaction items within a transaction;
- wherein during execution of the processing plan, the processing engine dynamically updates the processing plan upon identifying a new transaction item dependency when a processing function for a first transaction item performs a lookup to a second transaction item.
A computer program product comprising computer-readable program code capable of being executed by one or more processors when retrieved from a non-transitory computer-readable medium, the program code comprising instructions configurable to cause:
- retrieving a first data object stored in a database of a database system implemented using a server system;
- retrieving a second data object stored in the database;
- generating, using one or more processors, a transaction data structure using the first and second data objects, wherein the transaction data structure includes a prior context pointer, the prior context pointer being configured to point to a linked list of two or more basis transaction items that provide a historical context chain, wherein a next pointer in a first basis transaction item in the linked list points to a second basis transaction item, based on the second data object;
- loading the transaction data structure into a processing engine;
- outputting a current line item process based on the transaction data structure and a graphical representation of an ordered processing function list applicable for the current line item process, the ordered processing function list being generated based on the transaction data structure and a processing transaction type, the processing engine being configured to use the prior context pointer to apply only required processing functions of the ordered processing function list to the current line item process;
- and
- generating a processing plan that specifies an order of calculation for a plurality of transaction items within a transaction;
- wherein during execution of the processing plan, the processing engine dynamically updates the processing plan upon identifying a new transaction item dependency when a processing function for a first transaction item performs a lookup to a second transaction item.
Dependencies are inferred from the claim text.