# US 2022/0291924 A1 · Calculation engine for performing calculations based on dependencies in a self-describing data system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0291924 A1
- Document ID: US20220291924A1
- Status: Published application
- Kind: A1
- Application number: 17/825,816
- Filed: 2022-05-26
- Published: 2022-09-15
- Earliest claimed: 2019-06-28
- Assignees: Aras Corporation
- Applicants: Aras Corporation
- Inventors: Sean Coleman
- Web page: https://patentgrep.com/patent/US20220291924A1

## CPC

- G06F 9/30029: {Logical and Boolean instructions, e.g. XOR, NOT}
- G06F 16/83: Querying
- G06F 9/3001: {Arithmetic instructions}
- G06F 9/30021: {Compare instructions, e.g. Greater-Than, Equal-To, MINMAX}
- G06F 9/30087: {Synchronisation or serialisation instructions}
- G06F 9/3838: {Dependency mechanisms, e.g. register scoreboarding}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F 16/24564: {Applying rules; Deductive queries}
- G06F 16/24566: {Recursive queries}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes receiving a request to modify a first value of a first field of a first item in a self-describing data system, and obtaining a domain comprising items in the self-describing data system. The first item and a second item are included in items, and the second item comprises a second field having a second value. The method includes calculating, based on a rule of the second field, a dependency of the second value on the first value. The rule specifies how the second value is to be calculated using the first value. The method includes modifying, based on the request, the first value. The method includes receiving an event triggered by the modification to the first value. The method includes, responsive to the event, calculating the second value based on the rule, and storing the second value in the second field.

## Claims

### Claim 1

A method, comprising:
modifying a first value of a first field of a first item in a self-describing data system;
obtaining a domain comprising a plurality of items in the self-describing data system, wherein the plurality of items includes the first item and each item of the plurality of items includes a field having a value;
generating a representation of the domain, the representation comprising a plurality of nodes representing the plurality of items of the domain;
traversing, beginning at a first node representing the first item, the representation to determine a subset of nodes having values with direct or indirect dependencies on the first value, wherein each item of the plurality of items is represented as a node included in the subset of nodes;
synchronizing the representation when dependencies between items change in the subset of nodes or new items with new dependencies are added to the subset of nodes; and
storing the subset of nodes in memory to be referenced when a subsequent request is received to modify a value of a field of an item represented by the subset of nodes.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining an optimal traversal path to calculate values of the subset of nodes, wherein the optimal traversal path comprises an order to update the values of the subset of nodes; and
calculating, based on a respective rule of each of the subset of nodes, a respective value for each of the values of the subset of nodes using the optimal traversal path; and
storing the respective value for each of the values of the subset of nodes in a field corresponding to the respective value.

### Claim 3 (depends on 1)

The method of claim 1, further comprising, while traversing the representation:
storing an indication for each node of the plurality of nodes when the node is traversed for a first time; and
throwing, based on the indication, an error if the node is encountered again during traversal.

### Claim 4 (depends on 1)

The method of claim 1, wherein the representation is generated each time a request is received to modify a value of a field of an item in the domain.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving a request to modify the first value of the first field of the first item in the self-describing data system, wherein a second item is included in the plurality of items and the second item comprises a second field having a second value;
calculating, based on a rule of the second field of a second item, a dependency of the second value on the first value, wherein the rule specifies how the second value of the second field is to be calculated using the first value of the first field;
modifying, based on the request, the first value of the first field;
receiving an event triggered by the modification to the first value of the first field;
responsive to the event, calculating the second value of the second field based on the rule;
storing the second value in the second field;
calculating, based on another rule of a third field of a third item included in the plurality of items, a dependency of a third value on the second value of the second field, wherein the another rule specifies how the third value of the third field is to be calculated using the second value of the second field;
receiving another event triggered by the modification to the second value of the second field;
responsive to the another event, calculating the third value of the third field based on the another rule; and
storing the third value in the third field.

### Claim 6 (depends on 5)

The method of claim 5, wherein the second field is a property in the self-describing data system, and the property has a data type that indicates the second value is calculated.

### Claim 7 (depends on 5)

The method of claim 5, wherein the rule specifies calculating the second value using the first value by performing a Boolean operation, a date calculation operation, a summation operation, or a conversion operation.

### Claim 8 (depends on 5)

The method of claim 5, further comprising:
comparing the second value to an initial target value of the second item; and
responsive to determining the second value differs from the initial target value, providing a notification indicating there is a difference between the second value and the initial target value.

### Claim 9

A tangible, non-transitory computer-readable medium storing instructions that, when executed, cause a processing device to:
modify a first value of a first field of a first item in a self-describing data system;
obtain a domain comprising a plurality of items in the self-describing data system, wherein the plurality of items includes the first item and each item of the plurality of items includes a field having a value;
generate a representation of the domain, the representation comprising a plurality of nodes representing the plurality of items of the domain;
traverse, beginning at a first node representing the first item, the representation to determine a subset of nodes having values with direct or indirect dependencies on the first value, wherein each item of the plurality of items is represented as a node included in the subset of nodes;
synchronize the representation when dependencies between items change in the subset of nodes or new items with new dependencies are added to the subset of nodes; and
store the subset of nodes in memory to be referenced when a subsequent request is received to modify a value of a field of an item represented by the subset of nodes.

### Claim 10 (depends on 9)

The computer-readable medium of claim 9, wherein the processing device is further caused to:
determine an optimal traversal path to calculate values of the subset of nodes, wherein the optimal traversal path comprises an order to update the values of the subset of nodes; and
calculate, based on a respective rule of each of the subset of nodes, a respective value for each of the values of the subset of nodes using the optimal traversal path; and
store the respective value for each of the values of the subset of nodes in a field corresponding to the respective value.

### Claim 11 (depends on 9)

The computer-readable medium of claim 9, wherein the processing device is further caused to, while traversing the representation:
store an indication for each node of the plurality of nodes when the node is traversed for a first time; and
throw, based on the indication, an error if the node is encountered again during traversal.

### Claim 12 (depends on 9)

The computer-readable medium of claim 9, wherein the representation is generated each time a request is received to modify a value of a field of an item in the domain.

### Claim 13 (depends on 9)

The computer-readable medium of claim 9, wherein the processing device is further caused to:
receive a request to modify the first value of the first field of the first item in the self-describing data system, wherein a second item is included in the plurality of items and the second item comprises a second field having a second value;
calculate, based on a rule of the second field of a second item, a dependency of the second value on the first value, wherein the rule specifies how the second value of the second field is to be calculated using the first value of the first field;
modify, based on the request, the first value of the first field;
receive an event triggered by the modification to the first value of the first field;
responsive to the event, calculate the second value of the second field based on the rule;
store the second value in the second field;
calculate, based on another rule of a third field of a third item included in the plurality of items, a dependency of a third value on the second value of the second field, wherein the another rule specifies how the third value of the third field is to be calculated using the second value of the second field;
receive another event triggered by the modification to the second value of the second field;
responsive to the another event, calculate the third value of the third field based on the another rule; and
store the third value in the third field.

### Claim 14 (depends on 13)

The computer-readable medium of claim 13, wherein the second field is a property in the self-describing data system, and the property has a data type that indicates the second value is calculated.

### Claim 15 (depends on 13)

The computer-readable medium of claim 13, wherein the rule specifies calculating the second value using the first value by performing a Boolean operation, a date calculation operation, a summation operation, or a conversion operation.

### Claim 16 (depends on 13)

The computer-readable medium of claim 13, wherein the processing device is further caused to:
comparing the second value to an initial target value of the second item; and
responsive to determining the second value differs from the initial target value, providing a notification indicating there is a difference between the second value and the initial target value.

### Claim 17

A system, comprising:
a memory device storing instructions; and
a processing device communicatively coupled to the memory device, wherein the processing device executes the instructions to:
modify a first value of a first field of a first item in a self-describing data system;
obtain a domain comprising a plurality of items in the self-describing data system, wherein the plurality of items includes the first item and each item of the plurality of items includes a field having a value;
generate a representation of the domain, the representation comprising a plurality of nodes representing the plurality of items of the domain;
traverse, beginning at a first node representing the first item, the representation to determine a subset of nodes having values with direct or indirect dependencies on the first value, wherein each item of the plurality of items is represented as a node included in the subset of nodes;
synchronize the representation when dependencies between items change in the subset of nodes or new items with new dependencies are added to the subset of nodes; and
store the subset of nodes in memory to be referenced when a subsequent request is received to modify a value of a field of an item represented by the subset of nodes.

### Claim 18 (depends on 17)

The system of claim 17, wherein the processing device is further configured to:
determine an optimal traversal path to calculate values of the subset of nodes, wherein the optimal traversal path comprises an order to update the values of the subset of nodes; and
calculate, based on a respective rule of each of the subset of nodes, a respective value for each of the values of the subset of nodes using the optimal traversal path; and
store the respective value for each of the values of the subset of nodes in a field corresponding to the respective value.

### Claim 19 (depends on 17)

The system of claim 17, wherein the processing device is further configured to, while traversing the representation:
store an indication for each node of the plurality of nodes when the node is traversed for a first time; and
throw, based on the indication, an error if the node is encountered again during traversal.

### Claim 20 (depends on 17)

The system of claim 17, wherein the representation is generated each time a request is received to modify a value of a field of an item in the domain.
