Systems and methods for automatic detection and processing of instances of business rules
First Claim
1. A method of processing instances of business rule for implementation by one or more data processors forming part of at least one computing system, the method comprising:
- providing, by at least one data processor, a business rule;
parsing, by at least one data processor, the business rule to extract links to hierarchical business entities as rule parts;
creating, by at least one data processor, a hierarchical entity buffer indicating the entities used as the rule parts and identifying instances of each of the entities, instances of a parent, if any, for each of the entities, and real data corresponding to each of the identified instances of the entities;
creating, by at least one data processor, a step result table indicating instances of the business rule and information identifying the real data in the hierarchical entity buffer used by each of the instances of the business rule, the step result table being created by determining a lowest common leaf in the hierarchical entity buffer for each combination of rule parts;
creating, by at least one data processor, a temporary step table for a first rule part identifying the first rule part and all lowest common parent rule parts that the first rule part has in common with any other rule parts;
comparing, by at least one data processor, the step result table to the temporary step table instance by instance;
determining, by at least one data processor, for at least one new instance added to the step result table that a leaf in the temporary step table is not in the step result table; and
adding, by at least one data processor, the leaf to the step result table if a leaf in the temporary step table is not in the step result table.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for processing instances of business rules, includes providing a business rule, parsing the business rule to extract entities used as rule parts, creating a hierarchical entity buffer indicating the entities used as the rule parts and identifying instances of each of the entities and real data corresponding to each of the identified instances of the entities and creating a step result table indicating instances of the business rule and information identifying the real data in the hierarchical entity buffer used by each of the instances of the business rule.
-
Citations
12 Claims
-
1. A method of processing instances of business rule for implementation by one or more data processors forming part of at least one computing system, the method comprising:
-
providing, by at least one data processor, a business rule; parsing, by at least one data processor, the business rule to extract links to hierarchical business entities as rule parts; creating, by at least one data processor, a hierarchical entity buffer indicating the entities used as the rule parts and identifying instances of each of the entities, instances of a parent, if any, for each of the entities, and real data corresponding to each of the identified instances of the entities; creating, by at least one data processor, a step result table indicating instances of the business rule and information identifying the real data in the hierarchical entity buffer used by each of the instances of the business rule, the step result table being created by determining a lowest common leaf in the hierarchical entity buffer for each combination of rule parts; creating, by at least one data processor, a temporary step table for a first rule part identifying the first rule part and all lowest common parent rule parts that the first rule part has in common with any other rule parts; comparing, by at least one data processor, the step result table to the temporary step table instance by instance; determining, by at least one data processor, for at least one new instance added to the step result table that a leaf in the temporary step table is not in the step result table; and adding, by at least one data processor, the leaf to the step result table if a leaf in the temporary step table is not in the step result table. - View Dependent Claims (2, 3)
-
-
4. A non-transitory computer storage medium including computer executable for processing instances of business rules, comprising:
-
code for providing a business rule; code for parsing the business rule to extract links to hierarchical business entities as rule parts; code for creating a hierarchical entity buffer indicating; the entities used as the rule parts in a first column, instances of each of the entities in a second column, instances of a parent, if any, for each of the entities in the second column in a third column, and real data corresponding to each of the identified instances of the entities in a fourth column; code for creating a step result table indicating instances of the business rule and information identifying the real data in the hierarchical entity buffer used by each of the instances of the business rule; code for creating the step result table comprises code for determining a lowest common leaf in the hierarchical entity buffer for each combination of rule parts; code for creating a temporary step table for a first rule part identifying the first rule part and all lowest common parent rule parts that the first rule part has in common with any other rule parts; and code for comparing the step result table to the temporary step table instance by instance. - View Dependent Claims (5, 6, 7, 8)
-
-
9. A system comprising:
-
at least one data processor; and memory storing instructions, which when executed by the at least one data processor, result in operations comprising; providing a business rule; parsing the business rule to extract links to hierarchical business entities as rule parts; creating a hierarchical entity buffer indicating the entities used as the rule parts and identifying instances of each of the entities, instances of a parent, if any, for each of the entities, and real data corresponding to each of the identified instances of the entities; creating a step result table indicating instances of the business rule and information identifying the real data in the hierarchical entity buffer used by each of the instances of the business rule, the step result table being created by determining a lowest common leaf in the hierarchical entity buffer for each combination of rule parts; creating a temporary step table for a first rule part identifying the first rule part and all lowest common parent rule parts that the first rule part has in common with any other rule parts; comparing the step result table to the temporary step table instance by instance; determining for at least one new instance added to the step result table that a leaf in the temporary step table is not in the step result table; and adding the leaf to the step result table if a leaf in the temporary step table is not in the step result table. - View Dependent Claims (10, 11, 12)
-
Specification