Data server with data probes employing predicate tests in rule statements
First Claim
1. A method of operating a data base, comprising the steps of:
- applying a rule statement, including a predicate test for specified data, to a data server from a user application;
storing the rule statement by rule name in a rule table in the data server;
applying an inquiry statement, referencing the rule statement by rule name, to the data server from the user application;
invoking an Event level data probe from the data server, in response to the data specified by the rule statement, to collect data from an appropriate data source and to emit the collected data to the data server;
testing the collected data emitted by the Event level data probe at the data server in accordance with the predicate test;
determining the occurrence of an event represented by the predicate test; and
invoking an Advisor level probe from the data server to return data passing the predicate test to the user application in response to the inquiry statement if and only if the event was determined to have occurred.
2 Assignments
0 Petitions
Accused Products
Abstract
A data server data base system is enhanced by the inclusion of Event processing in which the occurrence of an event based on a predicate test is determined by the data server without requiring attention of the user application. In particular, the user application stores a rule statement in the data server and then references that statement by name in a data inquiry. An event level data probe is invoked to collect the data referenced in the rule statement and the collected data is tested in accordance with the rule statement to determine if the event has occurred. Data passing the rule statement test is returned to the user application if the event is determined to have occurred unless Delta processing is invoked in which case only data representing a transition from Event true to Event false or Event false to Event true is returned.
-
Citations
8 Claims
-
1. A method of operating a data base, comprising the steps of:
-
applying a rule statement, including a predicate test for specified data, to a data server from a user application; storing the rule statement by rule name in a rule table in the data server; applying an inquiry statement, referencing the rule statement by rule name, to the data server from the user application; invoking an Event level data probe from the data server, in response to the data specified by the rule statement, to collect data from an appropriate data source and to emit the collected data to the data server; testing the collected data emitted by the Event level data probe at the data server in accordance with the predicate test; determining the occurrence of an event represented by the predicate test; and invoking an Advisor level probe from the data server to return data passing the predicate test to the user application in response to the inquiry statement if and only if the event was determined to have occurred. - View Dependent Claims (2, 3)
-
-
4. A method of operating a data base, comprising the steps of:
-
receiving a rule statement from a user application at a data server; invoking a data probe from the data server, in response to the received rule statement, to collect data specified by the rule statement and to emit the data to the data server; testing the collected data at the data server in accordance with the rule statement to determine whether a predicate test within the rule statement is satisfied by the collected data; returning the collected data from the data server to the user application when the predicate test within the rule statement is satisfied by the collected data; and inhibiting the return of the collected data from the data server to the user application when the predicate test within the rule statement is not satisfied by the collected data. - View Dependent Claims (5, 6, 7)
-
-
8. A method of operating a data base, comprising the steps of:
-
forming a rule statement in the form of a predicate test defining an event for a user application related to specified data in a data base; invoking a data probe from the data server, in response to the rule statement, to collect the specified data by the rule statement and to emit the data to the data server; testing the collected data at the data server in accordance with the rule statement to determine whether a predicate test in the rule statement is satisfied by the collected data; returning the collected data from the data server to the user application if and only if the predicate test is satisfied by the collected data; and inhibiting the return of the collected data from the data server to the user application when the predicate test within the rule statement is not satisfied by the collected data.
-
Specification