Title :
PSWare: A publish / subscribe middleware supporting composite event in wireless sensor network
Author :
Lai, Steven ; Cao, Jiannong ; Zheng, Yuan
Author_Institution :
Hong Kong Polytech. Univ., Hong Kong
Abstract :
Middleware for wireless sensor network (WSN) has been proposed as an effective solution to ease the application development by providing high-level abstractions. One of the important tasks of middleware in WSN is to support event service. As an important paradigm for event service, publish / subscribe (pub/sub) can support the asynchronous data exchange for applications and has received a lot of attention in traditional distributed systems. In WSNs, however, the design of pub/sub, especially on composite events, has not been adequately addressed. In this paper, we present the design and implementation of PSWare, a pub / sub middleware for WSN which can support both primitive and composite events. Our contribution mainly includes three parts. First, we propose an event definition language (EDL), which is specifically tailored to WSNs and can achieve high expressiveness and availability in the definition of primitive and composite events. The application programmers of PSWare can use the proposed EDL to define events in a simple manner. We implemented a compiler to compile the program written in EDL into byte codes. Second, we develop a runtime environment on sensor nodes, which provide a platform to run the compiled byte codes. Finally, we propose a composite event detection protocol to detect the events in an energy-efficient fashion.
Keywords :
message passing; middleware; program compilers; protocols; wireless sensor networks; PSWare design; asynchronous data exchange; byte code; composite event; distributed system; event definition language; event detection protocol; program compiler; publish-subscribe middleware; runtime environment; wireless sensor network; Availability; Event detection; Intelligent sensors; Intelligent transportation systems; Middleware; Monitoring; Program processors; Programming profession; Runtime environment; Wireless sensor networks; Middleware; Publish / Subscribe; Wireless Sensor Network;
Conference_Titel :
Pervasive Computing and Communications, 2009. PerCom 2009. IEEE International Conference on
Conference_Location :
Galveston, TX
Print_ISBN :
978-1-4244-3304-9
Electronic_ISBN :
978-1-4244-3304-9
DOI :
10.1109/PERCOM.2009.4912862