Patent ID: 7561544
Filing Date: 2009-07-14
Classification: G01D,H04W

Abstract:
1. A wireless sensor node, comprising: a wireless transceiver to communicate over a wireless communication link with at least one other node in a wireless sensor network; a sensor interface to receive sensor data from a sensor; and a programmable processor coupled to the sensor interface and the wireless transceiver, wherein the programmable processor executes program instructions that implement a virtual machine for executing an event program that is generated from a query; wherein the event program comprises a plurality of instructions, each instruction being associated with an event; wherein the virtual machine allocates a token data structure for each event and manages the execution of the plurality of instructions using the token data structures; and wherein each of a subset of the events has an associated event handler, wherein each event handler has a set of input token data structures and an output token data structure associated therewith, wherein the virtual machine causes the event handler to be executed by the wireless sensor node when a predetermined logical relationship associated with that event handler exists between the set of input token data structures associated with that event handler.