skip to main content
10.1145/3210284.3210289acmconferencesArticle/Chapter ViewAbstractPublication PagesdebsConference Proceedingsconference-collections
research-article

Multimodal Complex Event Processing on Mobile Devices

Published: 25 June 2018 Publication History

Abstract

Mobile devices are increasingly being used in edge and fog computing environments to process contextual data collected by sensors. Although complex event processing (CEP) is a suitable approach for realizing context-aware services on mobile devices in these environments, existing mobile CEP engines do not leverage the full potential of modern mobile hardware/software architectures. In this paper, we present multimodal CEP, a novel approach to process streams of events on-device in user space (user mode), in the operating system (kernel mode), on the Wi-Fi chip (Wi-Fi mode), and/or on a sensor hub (hub mode), providing significant improvements in terms of power consumption and throughput. Multimodal CEP automatically breaks up CEP queries and selects the most adequate execution mode for the involved CEP operators. Filter, aggregation, and correlation operators can be expressed in a high-level language without requiring system-level domain-specific knowledge. Multimodal CEP enables developers to efficiently detect user activities, collect environmental conditions, or interpret operating system and network events. Furthermore, it facilitates novel context-aware services, demonstrated by a use case for gathering and analyzing mobility data by Wi-Fi probe request tracking.

References

[1]
Zaafar Ahmed, Muhammad Hamad Alizai, and Affan A. Syed. 2016. InKeV: In-Kernel Distributed Network Virtualization for DCN. SIGCOMM Comput. Commun. Rev. 46, 3 (July 2016), 1--6.
[2]
Adnan Akbar, Francois Carrez, Klaus Moessner, Juan Sancho, and Juan Rico. 2015. Context-Aware Stream Processing for Distributed IoT Applications. In Proceedings of the IEEE 2nd World Forum on Internet of Things. 663--668.
[3]
A. Antonić, K. Roankovic, M. Marjanović, and I. Pripžuić, K. and Žarko Podnar. 2014. A Mobile Crowdsensing Ecosystem Enabled by a Cloud-based Publish/Subscribe Middleware. In Int. Conf. on Future Internet of Things and Cloud. 107--114.
[4]
Arvind Arasu, Shivnath Babu, and Jennifer Widom. 2006. The CQL Continuous Query Language: Semantic Foundations and Query Execution. VLDB Journal 15, 2 (2006), 121--142.
[5]
Paolo Bellavista, Antonio Corradi, Mario Fanelli, and Luca Foschini. 2012. A Survey of Context Data Distribution for Mobile Ubiquitous Systems. ACM Comput. Surv. 44, 4, Article 24 (Sept. 2012), 45 pages.
[6]
Irina Botan, Younggoo Cho, Roozbeh Derakhshan, Nihal Dindar, Laura Haas, Kihong Kim, Chulwon Lee, Girish Mundada, M C Shan, and Nesime Tatbul. 2009. Design and Implementation of the MaxStream Federated Stream Processing Architecture. Technical Report. ETH Zurich, Department of Computer Science.
[7]
K. Cheng and Y. Cui. 2012. Design and Implementation of Network Packets Collection Tools Based on the Android Platform. In 9th International Conference on Fuzzy Systems and Knowledge Discovery. 2166--2169.
[8]
Mathieu Cunche, Mohamed-Ali Kaafar, and Roksana Boreli. 2014. Linking Wireless Devices Using Information Contained in Wi-Fi Probe Requests. Pervasive and Mobile Computing 11 (2014), 56--69.
[9]
Julien Freudiger. 2015. How Talkative is Your Mobile Device?: An Experimental Study of Wi-Fi Probe Requests. In Proc. 8th ACM Conf. on Security & Privacy in Wireless and Mobile Networks. ACM, New York, NY, USA, 8:1--8:6.
[10]
M. S. Ul Haq, L. Liao, and M. Lerong. 2016. Design and Implementation of a Sandbox Technique for Isolated Applications. In 2016 IEEE Information Technology Networking, Electronic and Automation Control Conference. 557--561.
[11]
Mikkel Baun Kjærgaard, Jakob Langdal, Torben Godsk, and Thomas Toftkjær. 2009. EnTracked: Energy-Efficient Robust Position Tracking for Mobile Devices. In Proc. 7th Int. Conf. on Mobile Systems, Applications, and Services. 221--234.
[12]
Jürgen Krämer and Bernhard Seeger. 2009. Semantics and Implementation of Continuous Sliding Window Queries over Data Streams. ACM Transactions on Database Systems 34, 1 (2009).
[13]
Matthew Lentz, James Litton, and Bobby Bhattacharjee. 2015. Drowsy Power Management. In Proc. 25th Symp. on Operating Systems Principles. 230--244.
[14]
P. Levis, S. Madden, J. Polastre, R. Szewczyk, K. Whitehouse, A. Woo, D. Gay, J. Hill, M. Welsh, E. Brewer, and D. Culler. 2005. TinyOS: An Operating System for Sensor Networks. In Ambient Intelligence. Springer Berlin Heidelberg, Berlin, Heidelberg, 115--148.
[15]
Daniyal Liaqat, Silviu Jingoi, Eyal de Lara, Ashvin Goel, Wilson To, Kevin Lee, Italo De Moraes Garcia, and Manuel Saldana. 2016. Sidewinder: An Energy Efficient and Developer Friendly Heterogeneous Architecture for Continuous Mobile Sensing. In Proc. 21st Int. Conf. on Architectural Support for Programming Languages and Operating Systems. ACM, 205--215.
[16]
Hong Lu, Jun Yang, Zhigang Liu, Nicholas D Lane, Tanzeem Choudhury, and Andrew T Campbell. 2010. The Jigsaw Continuous Sensing Engine for Mobile Phone Applications. In 8th ACM Conference on Embedded Networked Sensor Systems. ACM, 71--84.
[17]
Samuel R. Madden, Michael J. Franklin, Joseph M. Hellerstein, and Wei Hong. 2005. TinyDB: An Acquisitional Query Processing System for Sensor Networks. ACM Trans. Database Syst. 30, 1 (March 2005), 122--173.
[18]
M. Marjanović, L. Skorin-Kapov, K. Pripužić, A. Antonić, and I. Podnar Žarko. 2016. Energy-aware and Quality-driven Sensor Management for Green Mobile Crowd Sensing. J. Netw. Comput. Appl. 59, C (Jan. 2016), 95--108.
[19]
Emiliano Miluzzo, Nicholas D Lane, Kristóf Fodor, Ronald Peterson, Hong Lu, Mirco Musolesi, Shane B Eisenman, Xiao Zheng, and Andrew T Campbell. 2008. Sensing Neets Mobile Social Networks: The Design, Implementation and Evaluation of the Cenceme Application. In 6th ACM Conference on Embedded Networked Sensor Systems. 337--350.
[20]
Beate Ottenwälder, Boris Koldehofe, Kurt Rothermel, and Umakishore Ramachandran. 2013. MigCEP: Operator Migration for Mobility Driven Distributed Complex Event Processing. In Proceedings of the 7th ACM International Conference on Distributed and Event-Based Systems (DEBS 2013). 183--194.
[21]
Marcus Pinnecke and Bastian Hoßbach. 2015. Query Optimization in Heterogenous Event Processing Federations. Datenbank Spektrum 15, 3 (2015), 193--202.
[22]
Rodrigo Roman, Javier Lopez, and Masahiro Mambo. 2018. Mobile Edge Computing, Fog et al.: A Survey and Analysis of Security Threats and Challenges. Future Generation Computer Systems 78, Part 2 (2018), 680 -- 698.
[23]
Haichen Shen, Aruna Balasubramanian, Anthony LaMarca, and David Wetherall. 2015. Enhancing Mobile Apps to Use Sensor Hubs Without Programmer Effort. In Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing (UbiComp '15). ACM, 227--238.
[24]
Mathy Vanhoef, Célestin Matte, Mathieu Cunche, Leonardo S. Cardoso, and Frank Piessens. 2016. Why MAC Address Randomization is Not Enough: An Analysis of Wi-Fi Network Discovery Mechanisms. In Proc. 11th ACM Asia Conf. on Computer and Communications Security. ACM, 413--424.
[25]
Segev Wasserkrug, Avigdor Gal, Opher Etzion, and Yulia Turchin. 2008. Complex Event Processing over Uncertain Data. In Proceedings of the Second International Conference on Distributed Event-based Systems (DEBS '08). ACM, 253--264.

Cited By

View all
  • (2025)Efficient Event Processing on Modern HardwareScalable Data Management for Future Hardware10.1007/978-3-031-74097-8_3(65-89)Online publication date: 24-Jan-2025
  • (2022)Towards Semantic Management of On-Device Applications in Industrial IoTACM Transactions on Internet Technology10.1145/351082022:4(1-30)Online publication date: 14-Nov-2022
  • (2022)Scalable real-time health data sensing and analysis enabling collaborative care deliverySocial Network Analysis and Mining10.1007/s13278-022-00891-y12:1Online publication date: 20-Jun-2022
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
DEBS '18: Proceedings of the 12th ACM International Conference on Distributed and Event-based Systems
June 2018
289 pages
ISBN:9781450357821
DOI:10.1145/3210284
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 25 June 2018

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Complex Event Processing
  2. Edge/Fog Computing
  3. Mobile Device

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Conference

DEBS '18

Acceptance Rates

DEBS '18 Paper Acceptance Rate 12 of 31 submissions, 39%;
Overall Acceptance Rate 145 of 583 submissions, 25%

Upcoming Conference

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)17
  • Downloads (Last 6 weeks)0
Reflects downloads up to 18 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2025)Efficient Event Processing on Modern HardwareScalable Data Management for Future Hardware10.1007/978-3-031-74097-8_3(65-89)Online publication date: 24-Jan-2025
  • (2022)Towards Semantic Management of On-Device Applications in Industrial IoTACM Transactions on Internet Technology10.1145/351082022:4(1-30)Online publication date: 14-Nov-2022
  • (2022)Scalable real-time health data sensing and analysis enabling collaborative care deliverySocial Network Analysis and Mining10.1007/s13278-022-00891-y12:1Online publication date: 20-Jun-2022
  • (2021)The synergy of complex event processing and tiny machine learning in industrial IoTProceedings of the 15th ACM International Conference on Distributed and Event-based Systems10.1145/3465480.3466928(126-135)Online publication date: 28-Jun-2021
  • (2019)Reactive-based Complex Event ProcessingProceedings of the XXXIII Brazilian Symposium on Software Engineering10.1145/3350768.3352492(84-93)Online publication date: 23-Sep-2019
  • (2019)Self-Adaptive Data Stream Processing in Geo-Distributed Computing EnvironmentsProceedings of the 13th ACM International Conference on Distributed and Event-based Systems10.1145/3328905.3332304(276-279)Online publication date: 24-Jun-2019
  • (2019)Reinforcement Learning Based Policies for Elastic Stream Processing on Heterogeneous ResourcesProceedings of the 13th ACM International Conference on Distributed and Event-based Systems10.1145/3328905.3329506(31-42)Online publication date: 24-Jun-2019
  • (2019)Aves: A Decision Engine for Energy-efficient Stream Analytics across Low-power Devices2019 IEEE International Conference on Big Data (Big Data)10.1109/BigData47090.2019.9005607(441-448)Online publication date: Dec-2019

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media