This paper presents a publish-subscribe architecture designed to support information level interoperability in smart space applications in the Internet of Things (IoT). The architecture is built on top of a generic SPARQL endpoint where publishers and subscribers use standard SPARQL Updates and Queries. Notifications about events [i.e., changes in the resource description framework (RDF) knowledge base] are expressed in terms of added and removed SPARQL binding results since the previous notification, limiting the network overhead and facilitating notification processing at subscriber side. A novel event detection algorithm, tailored on the IoT specificities (i.e., heterogeneous events need to be detected and continuous updates of few RDF triples dominate with respect to more complex updates), is presented along with the envisioned application design pattern and performance evaluation model. Eventually, a reference implementation is evaluated against a benchmark inspired by a smart city lighting case. The performance evaluation results show the capability to process up to 68k subscriptions/s triggered by simple single-lamp updates and up to 3.8k subscriptions/s triggered by more complex updates (i.e., 10 to 100 lamps).
- Internet of Things
- performance evaluation
- semantic event processing
- smart space applications
Roffia, L., Morandi, F., Kiljander, J., D'Elia, A., Vergari, F., Viola, F., Bononi, L., & Cinotti, T. S. (2016). A semantic publish-subscribe architecture for the Internet of Things. IEEE Internet of Things Journal, 3(6), 1274-1296. https://doi.org/10.1109/JIOT.2016.2587380