Patent ID: 8027280

Claim:
A wireless sensor network comprising: a plurality of nodes that communicate over wireless communication links, wherein at least one of the plurality of nodes receives sensor data from a sensor; wherein the wireless sensor network is queried by specifying a set of events of interest; and wherein for each event of interest included in the set of events of interest, a producer node included in the plurality of nodes identifies when that event of interest occurs and, when that event of interest occurs, transmits event data related to that event of interest to a consumer node included in the plurality of nodes; wherein the wireless sensor network further comprises a data management stack that comprises a plurality of layers, wherein the plurality of layers comprises an execution layer that executes on each producer node included in the plurality of nodes; and wherein for each event of interest included in the set of events of interest, the execution layer executing on the producer node for that event of interest identifies when that event of interest occurs.