Notification-based forward chaining
First Claim
1. At a computer system including a processor and a memory, in a computer networking environment including a plurality of computing systems, a computer-implemented method for implementing dynamic forward chaining in ruleset execution using a data-change notification system, the method comprising:
- an act of determining that a first rule in a ruleset comprising a plurality of rules is to be executed, the first rule including at least one condition and at least one action that is to be performed when the first rule'"'"'s condition is met;
an act of dynamically modifying the first rule'"'"'s condition to include a portion of software code configured to monitor and receive notifications from a data-change notification system, the notifications indicating that data values associated with the first rule'"'"'s condition have changed;
an act of executing the dynamically modified first rule;
an act of executing at least a second rule in the ruleset such that at least one of the second rule'"'"'s actions is performed;
an act of receiving a notification from the data-change notification system indicating that execution of the second rule'"'"'s action has modified one or more data values being monitored by the first rule'"'"'s software code portion and that, as a result of the modification, the first rule is to be re-executed; and
an act of re-executing the first rule based on the received notification.
2 Assignments
0 Petitions
Accused Products
Abstract
In an embodiment, a computer system determines that a first rule in a ruleset comprising a plurality of rules is to be executed, where the first rule includes a condition and an action that is to be performed when the first rule'"'"'s condition is met. The computer system dynamically modifies the first rule'"'"'s condition to include a portion of software code configured to monitor and receive notifications from a data-change notification system. The computer system executes the dynamically modified first rule and executes a second rule in the ruleset. The computer system receives a notification from the data-change notification system indicating that execution of the second rule'"'"'s action has modified data values being monitored by the first rule'"'"'s software code portion and that, as a result of the modification, the first rule is to be re-executed. The computer system also re-executes the first rule based on the received notification.
-
Citations
20 Claims
-
1. At a computer system including a processor and a memory, in a computer networking environment including a plurality of computing systems, a computer-implemented method for implementing dynamic forward chaining in ruleset execution using a data-change notification system, the method comprising:
-
an act of determining that a first rule in a ruleset comprising a plurality of rules is to be executed, the first rule including at least one condition and at least one action that is to be performed when the first rule'"'"'s condition is met; an act of dynamically modifying the first rule'"'"'s condition to include a portion of software code configured to monitor and receive notifications from a data-change notification system, the notifications indicating that data values associated with the first rule'"'"'s condition have changed; an act of executing the dynamically modified first rule; an act of executing at least a second rule in the ruleset such that at least one of the second rule'"'"'s actions is performed; an act of receiving a notification from the data-change notification system indicating that execution of the second rule'"'"'s action has modified one or more data values being monitored by the first rule'"'"'s software code portion and that, as a result of the modification, the first rule is to be re-executed; and an act of re-executing the first rule based on the received notification. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer program product for implementing a method for implementing dynamic forward chaining in ruleset execution using a data-change notification system, the computer program product comprising one or more computer-readable storage media having stored thereon computer-executable instructions that, when executed by one or more processors of the computing system, cause the computing system to perform the method, the method comprising:
-
an act of determining that a first rule in a ruleset comprising a plurality of rules is to be executed, the first rule including at least one condition and at least one process that includes multiple execution paths, wherein the process is executed when the first rule'"'"'s condition is met; an act of dynamically modifying the first rule'"'"'s condition to include a portion of software code configured to monitor data changes caused by the subsequent execution of one or more other rules, wherein data-change notifications generated by the added software code portion identify when and if the first rule is to be re-executed; an act of executing the dynamically modified first rule; an act of executing a second rule in the ruleset such that the second rule'"'"'s multipath process is executed; an act of receiving from the data-change notification system a data-change notification indicating that, as a result of the second rule'"'"'s execution, one or more portions of data being monitored by the added software code were changed; and an act of re-executing the first rule'"'"'s multipath process based on the received data-change notification. - View Dependent Claims (15, 16, 17, 18)
-
-
19. A computer system comprising the following:
-
one or more processors; system memory; one or more computer-readable storage media having stored thereon computer-executable instructions that, when executed by the one or more processors, causes the computing system to perform a method for implementing dynamic forward chaining in ruleset execution using a data-change notification system, the method comprising the following; an act of determining that a first rule in a ruleset comprising a plurality of rules is to be executed, the first rule including at least one condition and at least one action that is to be performed when the first rule'"'"'s condition is met; an act of dynamically modifying the first rule'"'"'s condition to include a portion of software code configured to monitor and receive notifications from a data-change notification system, the notifications indicating that data values associated with the first rule'"'"'s condition have changed; an act of executing the dynamically modified first rule; an act of executing at least a second rule in the ruleset such that at least one of the second rule'"'"'s actions is performed; an act of receiving a notification from the data-change notification system indicating that execution of the second rule'"'"'s action has modified one or more data values being monitored by the first rule'"'"'s software code portion and that, as a result of the modification, the first rule is to be re-executed; and an act of re-executing the first rule based on the received notification. - View Dependent Claims (20)
-
Specification