Applications development on a rule-based WSN middleware

Wireless Sensor Network (WSN) middleware eases the WSN application development by providing an application programming interface (API). Rule-based WSN middleware enables the applications and users to program the behavior of the sensor nodes. REED (Rule Execution and Event Distribution) is such a middleware solution that allows sensor networks to be programmed at run time. In this paper, we propose a method of developing WSN applications that uses finite state machine (FSM) as a bridge between application logics and the rules running on the REED, and demonstrate that for applications, if their behaviors can be described using finite-state machine (FSM), they can be directly described using the rules and thus implemented on the REED; further, we argue that rule-based middleware is useful for implementing bio-inspired mechanisms, such as selforganization, on WSN systems. Two WSN applications are implemented, as examples, on the REED: one is the desynchronization of sensor nodes, and the other is the clustering-based self-organization. This paper is not aimed to study a specific application or control mechanism on WSNs, but to, via two prototype implementations, show that rulebased middleware such as the REED is useful and flexible enough to support the development of WSN applications, especially for bio-inspired mechanisms. Keywords-wireless sensor network; rules; finite state machine

[1]  Junichi Suzuki,et al.  BiSNET: A biologically-inspired middleware architecture for self-managing wireless sensor networks , 2007, Comput. Networks.

[2]  Radhika Nagpal,et al.  DESYNC: Self-Organizing Desynchronization and TDMA on Wireless Sensor Networks , 2007, International Symposium on Information Processing in Sensor Networks.

[3]  Timo Hämäläinen,et al.  A Survey of Application Distribution in Wireless Sensor Networks , 2005, EURASIP J. Wirel. Commun. Netw..

[4]  Xiang Fei,et al.  Development of a rule based wireless sensor network middleware , 2010 .

[5]  Kirsten Terfloth A rule based programming model for wireless sensor networks , 2009 .

[6]  Ian Marshall,et al.  A biologically-inspired clustering algorithm dependent on spatial data in sensor networks , 2005, Proceeedings of the Second European Workshop on Wireless Sensor Networks, 2005..

[7]  Luca Mottola,et al.  Programming wireless sensor networks , 2011, ACM Comput. Surv..

[8]  Biswanath Mukherjee,et al.  Wireless sensor network survey , 2008, Comput. Networks.

[9]  Xiang Fei,et al.  Rule Execution and Event Distribution Middleware for PROSEN-WSN , 2008, 2008 Second International Conference on Sensor Technologies and Applications (sensorcomm 2008).

[10]  Qi Zhang,et al.  Bioinspired Principles for Large-Scale Networked Sensor Systems: An Overview , 2011, Sensors.

[11]  Radhika Nagpal,et al.  Firefly-inspired sensor network synchronicity with realistic radio effects , 2005, SenSys '05.