{"title":"PSWare: A publish / subscribe middleware supporting composite event in wireless sensor network","authors":"S. Lai, Jiannong Cao, Yuan Zheng","doi":"10.1109/PERCOM.2009.4912862","DOIUrl":null,"url":null,"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.","PeriodicalId":322416,"journal":{"name":"2009 IEEE International Conference on Pervasive Computing and Communications","volume":"81 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-03-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"30","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 IEEE International Conference on Pervasive Computing and Communications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PERCOM.2009.4912862","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 30
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.