Patent ID: 7599913

Claim:
An apparatus for monitoring time series, comprising: one or more registers each comprising a ring buffer for simultaneously storing a set of a plurality of received data points of a corresponding time series, wherein at least one register comprises one or more windows each corresponding to a subset of the set of received data points of the registers corresponding time series and wherein the subset chances with each received data point of the corresponding time series, each window for maintaining statistics for the corresponding subset and updating the statistics via online computation to account for data points of the corresponding time series moving into and out of the corresponding subset; means for receiving data points of one or more time series and storing the received data points in the corresponding registers; means for receiving query strings representing queries; means for compiling the received query strings into persistent queries; at least one said persistent query, each defining a query represented by received said query strings, each persistent query being a function of the time series of corresponding one or more trigger registers of the one or more registers, and wherein at least one persistent query defines an event condition and a payload specification of the defined query and at least one of the event condition and the payload specification of the at least one persistent query is a function of the statistics maintained by at least one window of at least one of the corresponding one or more trigger registers; means, responsive to storing of a received data point in a trigger register, for evaluating each persistent query corresponding to the trigger register; and means for outputting a payload of each evaluated persistent query whose event condition has a first value.