Managing event-condition-action rules in a database system
First Claim
1. A method for managing expressions in a database system, the method comprising the computer-implemented steps of:
- receiving an expression that identifies an event structure, one or more related conditions and one or more related actions, wherein said event structure defines an event that corresponds with said event structure;
storing said expression in a table within said database;
during a database session, detecting an occurrence of said event by detecting when an event occurs that complies with said event structure, and determining whether said occurrence of said event satisfies any of said conditions; and
if said occurrence of said event satisfies any set of one or more conditions, of said conditions, that is associated with one or more corresponding actions, then causing performance of said one or more corresponding actions.
1 Assignment
0 Petitions
Accused Products
Abstract
Use of a database-enabled rules engine includes receiving and storing ECA expressions in the database. Such expressions specify (1) an event structure that defines an event that corresponds with the event structure; (2) conditions for evaluation with respect to occurrences of events that correspond with the event structure; and (3) actions for performance in response to events satisfying one or more of the conditions. Such expressions are stored in columns of a database table. Hence, during a database session in which the rules are evaluated with respect to one or more events, an event is detected based on the event'"'"'s compliance with the specified event structure and the conditions are evaluated by determining whether the event satisfies any of the conditions. If the event satisfies a set of one or more conditions that have a corresponding action, then the corresponding action is performed by the database or the database causes the action to be performed outside of the database.
-
Citations
41 Claims
-
1. A method for managing expressions in a database system, the method comprising the computer-implemented steps of:
-
receiving an expression that identifies an event structure, one or more related conditions and one or more related actions, wherein said event structure defines an event that corresponds with said event structure;
storing said expression in a table within said database;
during a database session, detecting an occurrence of said event by detecting when an event occurs that complies with said event structure, and determining whether said occurrence of said event satisfies any of said conditions; and
if said occurrence of said event satisfies any set of one or more conditions, of said conditions, that is associated with one or more corresponding actions, then causing performance of said one or more corresponding actions. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40)
-
-
41. A system comprising:
-
means for receiving an expression that identifies an event structure, one or more related conditions and one or more related actions, wherein said event structure defines an event that corresponds with said event structure;
means for storing said expression in a table within said database;
means for detecting, during a database session, an occurrence of said event by detecting when an event occurs that complies with said event structure, and means for determining, during said database session, whether said occurrence of said event satisfies any of said conditions; and
means for causing performance of said one or more corresponding actions if said occurrence of said event satisfies any set of one or more conditions, of said conditions, that is associated with one or more corresponding actions.
-
Specification