Value based windows on relations in continuous data streams
First Claim
Patent Images
1. A computer-implemented method, comprising:
- receiving a continuous input data stream related to an application;
generating an input relation from the continuous input data stream, the input relation being a bounded set of data records of the continuous input data stream;
storing the input relation as an external data source in a database of historical data;
receiving a continuous query that identifies the input relation and a range value window operator associated with the input relation;
executing the continuous query to generate an output relation, the continuous query executed by applying the range value window operator on an attribute of the input relation to generate the output relation, the attribute comprising a characteristic of an event associated with the input relation;
determining whether the event associated with the input relation occurs within a specified time range defined by the range value window operator;
inserting or removing the event with respect to the output relation based at least in part on the determination of whether the event associated with the input relation occurs within the specified time range; and
providing data records of the output relation, the output relation comprising at least the event when the event was inserted based at least in part on being within the specified range defined by the range value window operator.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for managing value-based windows on relations are provided. In some examples, an input relation is generated. The input relation is a bounded set of data records related to an application. A continuous query that identifies the input relation may be received. Additionally, a configurable window operator associated with processing the input relation may be identified. Then, the continuous query may be executed based at least in part on the configurable window operator to generate an output relation. Further, in some instances, the data records of the output relation may be provided based at least in part on execution of the continuous query.
511 Citations
17 Claims
-
1. A computer-implemented method, comprising:
-
receiving a continuous input data stream related to an application; generating an input relation from the continuous input data stream, the input relation being a bounded set of data records of the continuous input data stream; storing the input relation as an external data source in a database of historical data; receiving a continuous query that identifies the input relation and a range value window operator associated with the input relation; executing the continuous query to generate an output relation, the continuous query executed by applying the range value window operator on an attribute of the input relation to generate the output relation, the attribute comprising a characteristic of an event associated with the input relation; determining whether the event associated with the input relation occurs within a specified time range defined by the range value window operator; inserting or removing the event with respect to the output relation based at least in part on the determination of whether the event associated with the input relation occurs within the specified time range; and providing data records of the output relation, the output relation comprising at least the event when the event was inserted based at least in part on being within the specified range defined by the range value window operator. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer-readable memory storing a plurality of instructions executable by one or more processors, the plurality of instructions comprising:
-
instructions that cause the one or more processors to receive a continuous input data stream related to an application; instructions that cause the one or more processors to generate an input relation from the continuous input data stream; instructions that cause the one or more processors to store the input relation as an external data source in a database of historical data; instructions that cause the one or more processors to receive a continuous query that identifies the input relation and a range value window operator associated with the input relation; instructions that cause the one or more processors to execute the continuous query to generate an output relation, the continuous query executed by applying the range value window operator on an attribute of the input relation to generate the output relation, the attribute comprising a characteristic of an event associated with the input relation; instructions that cause the one or more processors to determine whether the event associated with the input relation occurs within a specified time range defined by the range value window operator; instructions that cause the one or more processors to determine inserting or removing the event with respect to the output relation based at least in part on the determination of whether the event associated with the input relation occurs within the specified time range; and instructions that cause the one or more processors to provide data records of the output relation, the output relation comprising at least the event when the event was inserted based at least in part on being within the specified range defined by the range value window operator. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A system, comprising:
-
a memory storing a plurality of instructions; and one or more processors configured to access the memory, wherein the one or more processors are further configured to execute the plurality of instructions to at least; generate an input relation from a continuous input data stream; store the input relation as an external data source in a database of historical data; receive a continuous query that identifies the input relation and a range value window operator associated with the input relation; execute the continuous query to generate an output relation, the continuous query executed by applying the range value window operator on an attribute of the input relation to generate the output relation, the attribute comprising a characteristic of an event associated with the input relation; determine whether the event associated with the input relation occurs within a specified time range defined by the range value window operator; insert or remove the event with respect to the output relation based at least in part on the determination of whether the event associated with the input relation occurs within the specified time range; and provide data records of the output relation, the output relation comprising at least the event when the event was inserted based at least in part on being within the specified range defined by the range value window operator. - View Dependent Claims (15, 16, 17)
-
Specification