Preprocessing data on sensor device

Information

  • Patent Application
  • 20070179730
  • Publication Number
    20070179730
  • Date Filed
    February 02, 2006
    18 years ago
  • Date Published
    August 02, 2007
    17 years ago
Abstract
A method of providing sensor-based information from a sensor device to an application program includes receiving, in a sensor device, sensor data obtained using a sensor. The method includes determining, in the sensor device, whether the sensor data meets a predefined condition associated with an application program in a computer system. If the sensor data meets the predefined condition, the method includes forwarding an event message associated with the predefined condition from the sensor device for receipt by the application program. A sensor device includes a sensor configured to make sensor readings of a physical characteristic, and a data processing component configured to forward, if the sensor data meets the predefined condition, an event message associated with the predefined condition for receipt by the application program. A system includes a computer system configured to execute an application program, a first sensor device and a second sensor device.
Description
TECHNICAL FIELD

The description relates to processing data on a sensor device.


BACKGROUND

Systems exist for integrating data acquisition devices such as environmental devices or radiofrequency identification (RFID) tag readers with enterprise software applications that make use of the collected data. The processing of sensor data in such integration systems typically takes place at different system levels on top of the actual sensor devices. For this, the sensor devices always need to send all raw sensor data to the integration system via some form of network.


This requires significant network resources to transmit data even if it is, for example, filtered out in the integration system. This problem is even more severe for environmental sensors, that unlike RFID readers usually emit a periodic stream of sensor readings, e.g. every n seconds. For example, temperature sensors generally emit a continuous stream of temperature values, perhaps one every few milliseconds. The enterprise applications, however, may not be interested in the individual temperature values and may only be interested in higher-level events like the sudden rise of temperature in a refrigeration unit. Such an exceptional situation can now be determined directly on the sensor device and only a “temperature to high” event needs to be signaled from the sensor devices to the integration system. There exists sensor devices, so-called Motes or Smart Its, that in addition to the actual at least one sensor also provide limited data storage and processing capabilities. Motes, for example, usually have multiple different sensor tags per device, such as temperature, light, and humidity to name a few examples. These sensor nodes can for so-called (wireless) sensor networks solve simple processing in cooperation.


SUMMARY

The invention relates to processing sensor data on a sensor device.


In a first general aspect, a method of providing sensor-based information from a sensor device to an application program includes receiving, in a sensor device, sensor data obtained using a sensor. The method includes determining, in the sensor device, whether the sensor data meets a predefined condition associated with an application program in a computer system. If the sensor data meets the predefined condition, the method includes forwarding an event message associated with the predefined condition from the sensor device for receipt by the application program.


Implementations may include any or all of the following features. The sensor data may include several sensor readings of a physical characteristic. The event message may include at least a portion of the several sensor readings. The method may further include aggregating the several sensor readings to obtain the portion of the several sensor readings. The method may further include filtering the several sensor readings to obtain the portion of the several sensor readings. The event message may be generated by processing the several sensor readings at the sensor device and then consolidating the processed sensor readings at the sensor device. The event message may be generated by consolidating the several sensor readings at the sensor device and then processing the consolidated sensor readings at the sensor device. Receiving the sensor data may include receiving at least one of the several sensor readings at the sensor device from another sensor device that is networked with the sensor device. The several sensor readings may be obtained at the sensor device using the sensor. Receiving the sensor data may further include at least two kinds of sensor data. The method may further include enhancing the sensor data to generate the event message. Determining whether the sensor data meets the predefined condition may include performing an interpretation of the sensor data in the sensor device. An outcome of the interpretation may be included in the event message before it is forwarded.


In a second general aspect, a sensor device includes a sensor configured to make sensor readings of a physical characteristic, and a data processing component. The data processing component is configured to determine whether sensor data meets a predefined condition associated with an application program in a computer system. The data processing component is also configured to forward, if the sensor data meets the predefined condition, an event message associated with the predefined condition for receipt by the application program.


Implementations may include any or all of the following features. The sensor data may include several sensor readings of a physical characteristic, and the data processing component may further include a filtering component configured to filter the several sensor readings to obtain the event message. The sensor data may include several sensor readings of a physical characteristic, and the data processing component may further include an aggregation component configured to aggregate the several sensor readings to obtain the event message. The sensor data may include several sensor readings of a physical characteristic, and the sensor device may receive at least one of the several sensor readings from another sensor device with which the sensor device is networked.


In a third general aspect, a system using sensor-based information includes a computer system configured to execute an application program, a first sensor device and a second sensor device. The first sensor device is configured to generate first sensor data, and the second sensor device is configured to generate second sensor data and to forward the second sensor data to the first sensor device. The first sensor device determines whether the first and second sensor data meet a predefined condition associated with the application program. The first sensor device also forwards, if the first and second sensor data meet the predefined condition, an event message associated with the predefined condition to the computer system for receipt by the application program.


Implementations may include any or all of the following features. The first sensor device may further include a filtering component configured to filter the first and second sensor data to obtain the event message. The first sensor device may further include an aggregation component configured to aggregate the first and second sensor data to obtain the event message.


The implementations may provide any or all of the following advantages: Providing that sensor data aggregation or preprocessing can be performed directly on sensor devices; reducing the amount of data that has to be transmitted from the sensor devices to the integration; transmitting only relevant data in the right format; improving scalability of the overall system since a larger number of sensor devices can be handled; allowing the use of redundant sensor devices to provide failover solutions; reducing the data traffic in the system and also reducing the workload of higher-level applications in the system; providing a more scalable, reliable, accurate and efficient system; providing a network of cooperating devices that share and consolidate data; provide some useful preprocessing even if the sensor device is temporarily disconnected from the higher system layers.


The details of one or more embodiments of the invention are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the invention will be apparent from the description and drawings, and from the claims.




BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram showing multiple sensor devices configured to make sensor readings of a physical characteristic and to provide information to an application program in a computer system.



FIG. 2 is a block diagram of a sensor device.



FIG. 3 is a flow chart of exemplary operations that can be performed to provide sensor-based information from a sensor device for receipt by an application program.




Like reference numerals in the various drawings indicate like elements.


DETAILED DESCRIPTION


FIG. 1 shows an exemplary block diagram of a system 100. There, a sensor device 102 is configured to make sensor readings of a physical characteristic and to provide information to an application program 104 in a computer system 108. Physical characteristics may include, but are not limited to: temperature, pressure, acceleration, or humidity readings to name a few examples. The sensor device 102 preprocesses the sensor data to determine whether at least one predefined condition associated with the application program 104 has been met. If the predefined condition has been met, the sensor device 102 forwards an event message, schematically shown by an arrow 109, for receipt by that particular application program. The application program 104 contains one or more predefined actions 110 to be performed if the predefined condition is met. For example, when the sensor device 102 senses a critical temperature, the predefined action in the application program 104 may be to turn on a cooling system to lower the temperature in the area around the sensor device 102.


Event messages may include a combination of some or all of the actual sensor data or may be a combination of multiple preprocessed sensor readings. For example, the preprocessing could include aggregating, filtering or otherwise enhancing raw sensor readings. Multiple sensor readings may be consolidated and processed on one or more sensor devices before the event message is created and forwarded to the computer system 108. In addition, multiple types of sensor data may be combined to generate the event message.


Several sensor devices may be included in a network 106 for sharing sensor data. For example, one sensor device 102 can preprocess sensor data from several other sensor devices and send one or more event messages as necessary. The sensor devices may be networked using any type of communication format or protocol, for example in a wireless network.



FIG. 2 is a block diagram of the sensor device 102. The sensor device 102 includes an environmental sensor 204 that measures an environmental condition within a specified area. For example, the sensor 204 can measure environmental conditions such as temperature, humidity, acceleration, pressure, light, position, movement or sound. In general, a sensor device can have several different sensors.


The sensor device 102 also includes a data processing component 206 that processes sensor data. This may be data collected from the sensor 204 in the sensor device, data from another sensor of the sensor device 102, data from another sensor in the network 106, or a combination thereof. That is, the data processing component 206 may process first sensor data 208 that was generated locally or second sensor data 210 that was generated remotely, or both. The data processing component 206 also includes a definition of a predefined condition 212, an aggregation component 214, a filtering component 216 and an enhancing component 218. The components 214-218 may be used for processing sensor data. Other implementations may have more or fewer components.


The predefined condition 212 may specify a condition for sending the event message to the computer system 108. The predefined condition 212 can be implemented on the sensor device 102 to send the event message. For example, the predefined condition 212 may cause the sensor device to trigger the event message if a maximum threshold is reached, if a typical or faulty value is obtained, or if a specified time has passed.


The aggregation component 214 can include one or more types of aggregators, each configured to identify different types of business events. Exemplary types of aggregators include a threshold value aggregator, a constant value aggregator, a changed value aggregator, a rising edge aggregator, and a falling edge aggregator. Other aggregator types are possible.


A threshold value aggregator detects threshold value events. A threshold value event occurs when the sensor data values reach a predefined threshold value. The threshold value is supplied as input to the aggregator. An additional input parameter to the aggregator specifies whether the threshold is an upper bound, a lower bound, or any type of bound.


In one implementation, the threshold value aggregator behaves according to the following algorithm, expressed in pseudo-code. In this pseudo-code, “xi” represents the sensor data value at time i and, assuming: nεN number of sensor devices to provide sensor readings for a physical property at time i, X i represents the “consolidated” (e.g., average or median of all measured values Xi from the device 1 . . . n. There are multiple ways to “consolidate’ readings from multiple sensing devices. One could be:
x_:=j=1nxin

or with Xi the min and Xn the max values:
x_:=j=2n-1xin-2

Others are possible.


loop forever {

    • at time now get sensor data Xnow-1, Xnow
    • if (Direction==‘rising’) AND
      • ( Xnow-1<Threshold) AND
      • ( Xnow≧Threshold)
    • then issue ‘Maximum Value Alert’ message
    • if (Direction==‘falling’) AND
      • ( Xnow-1>Threshold) AND
      • ( Xnow≦Threshold)
    • then issue ‘Minimum Value Alert’ message
    • if (Direction==‘any’) AND
      • (( Xnow-1<Threshold) AND ( Xnow≧Threshold) OR
      • ( Xnow-1>Threshold) AND ( Xnow≦Threshold))
    • then issue ‘Value Reached Alert’ message }


This algorithm can also be expressed mathematically as follows. In these mathematical expressions, “xi” represents the sensor data value at time i and “c” represents the threshold value.


For upper bounds:

(xnow≧c)ˆ(xnow-1<c)


For lower bounds:

(xnow≧c)ˆ(xnow-1<c)


For either:

((xnow≧c)ˆ(xnow-1<c))custom character((xnow≦c)ˆ(xnow-1>c))


A constant value aggregator detects constant value events. A constant value event occurs when sensor data values remain constant for a specified time interval. This time interval is specified as an input to the constant value aggregator. The constant value aggregator can be configured to tolerate a certain degree of variance. If the data values change, but by no more than the tolerated degree of variance, then the data values will be considered to be constant. The variance can be specified as an additional input parameter to the constant value aggregator.


In one implementation, the constant value aggregator behaves according to the following algorithm, expressed in pseudo-code. In this pseudo-code, “xi” represents the sensor data value at time i.

Window_Size := [Sensor_Sample_Rate * Idle_Time]loop forever { Constant_Value := TRUE at time now get sensor data Xnow−WindowSize+1, ..., Xnow−1, Xnow Tolerance := ( Xnow/100) * Variance for (i:=0; i < Window_Size; i++) {  if ( Xnow−i < Xnow−Tolerance) AND ( Xnow−i > Xnow+Tolerance)  then set Constant_Value := FALSE } if (Constant_Value == TRUE)  then issue ‘Value Constant for Idle Time Alert’ message}


This algorithm can also be expressed mathematically as follows. In this mathematical expression, “xi” represents the sensor data value at time i and “v” represents the variance. Window size “w” is calculated by multiplying the idle time parameter with the sensor sampling rate.
now-1i=now-w+1x_i:(x_i<x_now(1+1100v))(x_i>x_now(1-1100v))


A changed value aggregator detects changed value events. A changed value event occurs when the sensor data values change within a specified time interval. This time interval is specified as input to the changed value aggregator.


In one implementation, the change must be significant, that is, the change must be more than a certain minimum level of change. The required minimum level of change can be specified as an additional input to the changed value aggregator.


In one implementation, the changed value aggregator behaves according to any one of the following three algorithms, expressed in pseudo-code. In this pseudo-code, “xi” represents the sensor data value at time i.


Algorithm 1:

Window_Size := [Sensor_Sample_Rate * Idle_Time]loop forever { All_Above := TRUE All_Below := TRUE at time now get sensor data Xnow−WindowSize+1, ..., Xnow−1, Xnow Tolerance := ( Xnow/100) * Variance for (i:=0; i < Window_Size; i++) {  if ( Xnow−i Xnow−WindowSize+1+Tolerance)   then set All_Above := FALSE  if ( Xnow−i Xnow−WindowSize+1−Tolerance)   then set All_Below := FALSE } if (All Above == TRUE) OR (All_Below == TRUE)  then issue ‘Value Changed’ message}


Algorithm 2:

Window_Size := [Sensor_Sample_Rate * Wait_Time]loop forever { Changed_Value := TRUE at time now get sensor data Xnow−WindowSize+1, ..., Xnow−1, Xnow Tolerance := ( Xnow/100) * Variance for (i:=0; i < Window_Size; i++) {  if ( Xnow−i > Xnow−WindowSize+1+Tolerance) OR   ( Xnow−i < Xnow−WindowSize+1−Tolerance)   then set Changed_Value := FALSE } if (Changed_Value == TRUE)  then issue ‘Value Changed’ message}


Algorithm 3:

Window_Size := [Sensor_Sample_Rate * Wait_Time]loop forever {X_Average := 0 at time now get sensor data Xnow−WindowSize+1, ..., Xnow−1, Xnow for (i:=0; i < Window_Size; i++)   X_Average := X_Average + Xnow−i {if ( X_Average > Xnow−WindowSize+1+Tolerance) OR  ( X_Average < Xnow−WindowSize+1−Tolerance) then issue ‘Value Changed’ message}


These algorithms can also be expressed mathematically as follows. In these mathematical expressions, “xi” represents the sensor data value at time i and “v” represents the variance, or the minimal level of change required to be significant.


Algorithm 1:
(nowi=now-w+2x_i:x_i>x_now-w+1(1+1100v))(nowi=now-w+2x_i:x_i<x_now-w+1(1-1100v))


Algorithm 2:
nowi=now-w+2x_i:x_i>x_now-w+1(1+1100v)x_i<x_now-w+1(1-1100v)


Algorithm 3:
x_:=i=now-w+1nowx_iw;x_>x_now-w+1(1+1100v)x_<x_now-w+1(1-1100v)


A rising edge aggregator detects rising edge events. A rising edge event is an event that occurs when the sensor data values rise faster than a given rate. The rising edge aggregator requires input specifying a window size and a steepness value. The window size indicates the number of sensor data values to be considered and the steepness value indicates the minimal steepness required of the rising edge.


In one implementation, the rising edge aggregator behaves according to the following algorithm, expressed in pseudo-code. In this pseudo-code, “xi” represents the sensor data value at time i.

loop forever { Delta = Xnow − Xnow−Window_Size+1 if (Delta/Window_Size ≧Steepness)  then issue ‘Value Raised’ message}


This algorithm can also be expressed mathematically as follows. In this mathematical expression, “xi” represents the sensor data value at time i, “s” represents the steepness value, and “w” represents the window size.
sxnow-xnow-w+1w


A falling edge aggregator detects falling edge events. A falling edge event occurs when the sensor data values fall faster than a given rate. The falling edge aggregator requires input specifying a window size and a steepness value. The window size indicates the number of sensor data values to be considered and the steepness value indicates the minimal steepness required of the falling edge.


In one implementation, the falling edge aggregator behaves according to the following algorithm, expressed in pseudo-code. In this pseudo-code, “xi” represents the sensor data value at time i.

loop forever { Delta = Xnow−WindowSize+1 − Xnow if (Delta/Window_Size ≧Steepness)  then issue ‘Value Fell’ message}


This algorithm can also be expressed mathematically as follows. In this mathematical expression, “xi” represents the sensor data value at time i, “s” represents the steepness value, and “w” represents the window size.
sxnow-w+1-xnoww


Any or all of the above-described sensor data aggregators can be implemented in one or more sensor devices. Particularly, any or all of them can be implemented in the sensor device 102 to preprocess data from the network 106.


The data processing component 206 includes the filtering component 216, which may discard sensor data that is irrelevant for the corresponding application program. The filtering component 216 may filter several sensor readings to obtain a portion of the original sensor data. For example, filtering may include discarding faulty, unreliable or redundant data. In this scenario, a sensor reading “xnow” is discarded if it is considered typical or non-exceptional. A value is considered typical if it corresponds to the average of the values in a specified window size. A typical window size in this scenario may be greater than 20.


This algorithm to discard a typical value can be expressed mathematically as follows. In this mathematical expression, “x” represents the sensor data value, “v” represents the variance, or the minimal level of change required to be significant and “w” represents the window size.
X_:=i=now-w+1nowxiw;X_>Xnow(1+1100v)X_<Xnow(1-1100v)


This algorithm to discard a duplicate value can be expressed mathematically as follows:
i=now-w+1now-1Xi:Xi<Xnow(1+1100v)Xi<Xnow(1-1100v)


The enhancing component 218 prepares or transforms the sensor data to make it more suitable to the respective application program. For example, the enhancing component 218 may convert a temperature reading to an appropriate unit of measure such as converting a received sensor data value to a degrees Fahrenheit or degrees Kelvin format. Additionally, the enhancing component 218 may combine the sensor data to create averages or specific diagnostic data for each network of sensor devices. For example, a humidity reading, a temperature reading and a movement reading may be combined to detect the presence of a moving life form in the physical environment surrounding the sensors.


The sensor device 102 may combine at least two kinds of sensor data to create the event message. For example, two sensor devices may sense two different physical characteristics in the environment, such as temperature and humidity. The temperature sensor may share sensor data with the humidity sensor and vice versa for purposes of combining the two values to create one interpretation of the physical environment. For example, combining temperature and humidity values between sensors may determine an inappropriate storage event for a particular product. Additionally, the sensor device 102 may send event messages to the computer system 108 upon combining sensor data and meeting a predefined condition 212. For example, one sensor may take measurements of different physical characteristics to meet one or more predefined conditions.


The data processing component 106 also includes a communication component 220 used to communicate with other sensor devices that are within range and to send event messages to the computer system 108. The communication component 220 may transmit the event message based on preprocessed data, such as aggregated, filtered or enhanced sensor data. Each sensor device 102 may communicate with other sensor devices in the network through their respective communication components.


The above-described combination of two kinds of sensor data is one example of preprocessing. Particularly, preprocessing may involve combining received data values into one or more consolidated values. Data consolidations may be done, for example, within the first sensor data 208 or between the first sensor data 208 and second sensor data 210. Data consolidations may also be done between several other sensor devices in the network 106. One or more algorithms may be implemented to perform the consolidation of data. A consensus-based algorithm is one example of a type of algorithm used to consolidate data to achieve higher reliability and accuracy from the sensor network. The consensus-based algorithms may determine or filter outlier values that do not fit the predefined condition 212 in the sensor device 102, or may simply send an alert message when the outlier value readings exist. Additionally, sensor data filtering and aggregation may be done efficiently based on a sensor network by using different network topologies and distributed and parallel data processing on the individual sensor device(s) 102.


Preprocessing techniques may be performed on several sensor data values to obtain relevant data for a particular application program. The processing and consolidation of one or more sensor readings at the sensor device 102 can cause transmission of the event message. For example, one or more sensor readings may first be processed, and thereafter be consolidated at the sensor device 102. For example, several temperature and humidity readings may be collected at the sensor device 102, and filtered for a specified time period. Upon filtering out the sensor readings that do not occur during the time period, the sensor device 102 may consolidate the remaining sensor readings. The consolidation activity may cause the predefined condition 212 to trigger the event message. As another example, one or more sensor readings may first be consolidated, and thereafter be processed at the sensor device 102. For example, several temperature readings may be collected and combined on a particular sensor device, and they may be processed at a later time, such as when an atypical temperature reading is received. If receiving an atypical temperature reading meets the predefined condition 212, the event message may be transmitted.



FIG. 3 is a flow chart of exemplary operations 300 that can be performed to provide sensor-based information from a sensor device for receipt by an application program. The operations 300 can be performed by a processor executing instructions stored in a computer program product. The operations 300 begin in step 302 with receiving, in the sensor device, sensor data obtained using a sensor. For example, the sensor device 102 may receive the first sensor data 208 from the sensor 204 and the second sensor data 210 from other networked sensor devices. If new sensor data is not received in step 302, the operations wait until new sensor data is received.


Optional steps 304-308 may be performed to aggregate, filter or enhance the sensor data. In step 304, the operations comprise aggregating the sensor data. For example the aggregation component 214 may aggregate several sensor readings to obtain the event message. For example, the first sensor data 208 may be combined with the second sensor data 210 to determine the appropriate event message. In step 306, the operations comprise filtering the sensor data. For example, the filtering component 216 may filter the several sensor readings to obtain the event message. For example, the filtering component 216 may filter out temperature readings that fall in a typical range, thereby generating the event message when an atypical reading is obtained. In step 308, the operations comprise enhancing the sensor data to generate the event message. For example, the enhancing component 218 may preprocess data by averaging several readings over the last hour, thereby enhancing the raw data before sending the event message.


In step 310, the operations comprise inquiring if the sensor data meets the predefined condition. This may be done using consolidated data, data from several sensor devices, or consolidated data from several sensor devices to name some examples. If the predefined condition has been met, the sensor device forwards the event message associated with the predefined condition from the sensor device for receipt by the application program in step 312. If the predefined condition has not been met, the operations return to step 302 to await the receipt of new sensor data.


A number of embodiments of the invention have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the invention. Accordingly, other embodiments are within the scope of the following claims.

Claims
  • 1. A method of providing sensor-based information from a sensor device to an application program, the method comprising: receiving, in a sensor device, sensor data obtained using a sensor; determining, in the sensor device, whether the sensor data meets a predefined condition associated with an application program in a computer system; and if the sensor data meets the predefined condition, forwarding an event message associated with the predefined condition from the sensor device for receipt by the application program.
  • 2. The method of claim 1, wherein the sensor data comprises several sensor readings of a physical characteristic.
  • 3. The method of claim 2, wherein the event message includes at least a portion of the several sensor readings.
  • 4. The method of claim 3, further comprising aggregating the several sensor readings to obtain the portion of the several sensor readings.
  • 5. The method of claim 3, further comprising filtering the several sensor readings to obtain the portion of the several sensor readings.
  • 6. The method of claim 2, wherein the event message is generated by processing the several sensor readings at the sensor device and then consolidating the processed sensor readings at the sensor device.
  • 7. The method of claim 2, wherein the event message is generated by consolidating the several sensor readings at the sensor device and then processing the consolidated sensor readings at the sensor device.
  • 8. The method of claim 2, wherein receiving the sensor data comprises receiving at least one of the several sensor readings at the sensor device from another sensor device that is networked with the sensor device.
  • 9. The method of claim 2, wherein the several sensor readings are obtained at the sensor device using the sensor.
  • 10. The method of claim 1, wherein receiving the sensor data further comprises combining at least two kinds of sensor data.
  • 11. The method of claim 1, further comprising enhancing the sensor data to generate the event message.
  • 12. The method of claim 1, wherein determining whether the sensor data meets the predefined condition comprises performing an interpretation of the sensor data in the sensor device.
  • 13. The method of claim 12, further comprising including an outcome of the interpretation in the event message before forwarding it.
  • 14. A sensor device comprising: a sensor configured to make sensor readings of a physical characteristic; and a data processing component configured to (1) determine whether sensor data meets a predefined condition associated with an application program in a computer system, and (2) forward, if the sensor data meets the predefined condition, an event message associated with the predefined condition for receipt by the application program.
  • 15. The sensor device of claim 14, wherein the sensor data comprises several sensor readings of a physical characteristic, and wherein the data processing component further comprises a filtering component configured to filter the several sensor readings to obtain the event message.
  • 16. The sensor device of claim 14, wherein the sensor data comprises several sensor readings of a physical characteristic, and wherein the data processing component further comprises an aggregation component configured to aggregate the several sensor readings to obtain the event message.
  • 17. The sensor device of claim 14, wherein the sensor data comprises several sensor readings of a physical characteristic, and wherein the sensor device receives at least one of the several sensor readings from another sensor device with which the sensor device is networked.
  • 18. A system using sensor-based information, the system comprising: a computer system configured to execute an application program; a first sensor device configured to generate first sensor data; and a second sensor device configured to generate second sensor data and to forward the second sensor data to the first sensor device; wherein the first sensor device (1) determines whether the first and second sensor data meet a predefined condition associated with the application program, and (2) forwards, if the first and second sensor data meet the predefined condition, an event message associated with the predefined condition to the computer system for receipt by the application program.
  • 19. The system of claim 18, wherein the first sensor device further comprises a filtering component configured to filter the first and second sensor data to obtain the event message.
  • 20. The system of claim 18, wherein the first sensor device further comprises an aggregation component configured to aggregate the first and second sensor data to obtain the event message.