Patent ID: 8615597

Claim:
A method of managing data streams from sensor devices received by a mobile client device, the method comprising: identifying a plurality of data streams each corresponding to a respective sensor device, each of the plurality of data streams being receivable by the mobile client device; determining a total weighted cost for each of the sensor devices to proactively transmit the respective sensor device data in predetermined data chunks, where weighting for the total weight cost is associated with a likelihood of individual tuples in a given data chunk being relevant to one or more queries processed by the event processing module and a communication cost involved in acquiring a given data chunk; sorting the total weighted costs for the respective data streams; and instructing the sensor devices to transmit their respective data streams according to the sorted total weight costs specifying an order for which each of the plurality of data streams is to be acquired or processed by an event processing module of the client device; using the specified order to receive the plurality of data streams; determining, by the event processing module, at least a partial result of a query predicate using data from the received plurality of data streams; and the event processing module dynamically modifying some property of a process by which a selected set of the plurality of data streams transmit their data to the event proceeding module.