Wireless Sensor Networks : Technology, Protocols, and Applications
Wireless Sensor Networks : Technology, Protocols, and Applications
Wireless Sensor Networks : Technology, Protocols, and Applications
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
EXISTING MIDDLEWARE 255<br />
reasonable response times [8.2]. IrisNet is not designed specifically for resourcelimited<br />
WSNs. For example, IrisNet has not considered localized algorithms or possible<br />
WSN application features.<br />
8.4.3 AMF (Adaptive Middleware Framework)<br />
The adaptive middleware framework (AMF) proposed in [8.3] exploits ‘‘resource<br />
<strong>and</strong> application QoS trade-offs’’ <strong>and</strong> ‘‘predictability of sensor readings’’ to reduce<br />
the energy consumed in the process of information collection. The assumption is<br />
that it is possible to collect approximate data at predetermined accuracy levels<br />
while satisfying an application’s QoS. AMF has ‘‘sensor-side’’ <strong>and</strong> ‘‘server-side’’<br />
components which bridge the application layer with the underlying sensor network<br />
infrastructure. It supports both precision- <strong>and</strong> prediction-based adaptation. Serverside<br />
components include application quality, data quality requirement translation,<br />
adaptive precision setting, sensor selection, sensor data management, <strong>and</strong> fault tolerance.<br />
<strong>Sensor</strong>-side components include sensor-state management <strong>and</strong> precisiondriven<br />
adaptation. AMF has an energy-efficient message-updating mode, where<br />
the sensor sends an update to the server only when the measurement value exceeds<br />
the previous value or the value predicted beyond a given error level [8.3]. The server<br />
maintains a list of active sensors (active list) <strong>and</strong> a list of historic values for each<br />
sensor over a specified time period. To support prediction-based adaptations, a sensor<br />
<strong>and</strong> the server store a set of prediction models <strong>and</strong> choose the best one according<br />
to the network status. AMF attempts to trade off between resource <strong>and</strong> quality<br />
during information collection. In this context it reduces sampling frequency without<br />
compromising the accuracy of results [8.5].<br />
8.4.4 DSWare (Data Service Middleware)<br />
DSWare [8.4] resides between the application <strong>and</strong> network layers, integrates various<br />
real-time data services, <strong>and</strong> provides a database-like abstraction to applications. It<br />
includes several components: data storage, data caching, group management, event<br />
detection, data subscription, <strong>and</strong> scheduling. In DSWare [8.4], data are replicated in<br />
multiple physical nodes mapped to a single logical node using a hash-based mapping.<br />
Queries are directed to any of the nodes to avoid collision <strong>and</strong> to balance the<br />
load among the nodes. A data caching service in DSWare monitors the current use<br />
of copies <strong>and</strong> determines whether to increase or reduce the number of copies <strong>and</strong><br />
whether to move some copies to another location by exchanging information in the<br />
neighborhood [8.4]. DSWare incorporates group management to provide localized<br />
cooperation among sensor nodes <strong>and</strong> to perform a global objective. It also performs<br />
real-time scheduling for queries in WSN. A data subscription service in DSWare<br />
minimizes communication among sensor nodes.<br />
DSWare provides a novel event-detection mechanism that is reliable <strong>and</strong> energy<br />
efficient. As described earlier, a compound event is assumed to include subevents<br />
that may be correlated, <strong>and</strong> its occurrence can be measured by a confidence<br />
function. The result of the confidence function is called confidence. When the<br />
confidence is greater than a threshold minimal confidence, a compound event is