CAMeL: A Self-Adaptive Framework for Enriching Context-Aware Middlewares with Machine Learning Capabilities

Context-aware middlewares support applications with context management. Current middlewares support both hardware and software sensors providing data in structured forms (e.g., temperature, wind, and smoke sensors). Nevertheless, recent advances in machine learning paved the way for acquiring context from information-rich, loosely structured data such as audio or video signals. This paper describes a framework (CAMeL) enriching context-aware middlewares with machine learning capabilities. The framework is focused on acquiring contextual information from sensors providing loosely structured data without the need for developers of implementing dedicated application code or making use of external libraries. Nevertheless the general goal of context-aware middlewares is to make applications more dynamic and adaptive, and the proposed framework itself can be programmed for dynamically selecting sensors and machine learning algorithms on a contextual basis. We show with experiments and case studies how the CAMeL framework can (i) promote code reuse and reduce the complexity of context-aware applications by natively supporting machine learning capabilities and (ii) self-adapt using the acquired context allowing improvements in classification accuracy while reducing energy consumption on mobile platforms.

[1]  Beatrice Lazzerini,et al.  An adaptive rule-based approach for managing situation-awareness , 2012, Expert Syst. Appl..

[2]  Laura Ferrari,et al.  Classification and prediction of whereabouts patterns from the Reality Mining dataset , 2013, Pervasive Mob. Comput..

[3]  Alex Pentland,et al.  Social fMRI: Investigating and shaping social mechanisms in the real world , 2011, Pervasive Mob. Comput..

[4]  Noël Crespi,et al.  Programmable context awareness framework , 2014, J. Syst. Softw..

[5]  Tao Gu,et al.  A service-oriented middleware for building context-aware services , 2005, J. Netw. Comput. Appl..

[6]  Ye Li,et al.  Physical Activity Recognition Utilizing the Built-In Kinematic Sensors of a Smartphone , 2013, Int. J. Distributed Sens. Networks.

[7]  Philipp Gutheim,et al.  An ontology-based context inference service for mobile applications in next-generation networks , 2011, IEEE Communications Magazine.

[8]  Simon A. Dobson,et al.  Situation identification techniques in pervasive computing: A review , 2012, Pervasive Mob. Comput..

[9]  Ian H. Witten,et al.  The WEKA data mining software: an update , 2009, SKDD.

[10]  Wazir Zada Khan,et al.  Mobile Phone Sensing Systems: A Survey , 2013, IEEE Communications Surveys & Tutorials.

[11]  Juan M. Corchado,et al.  Context-based information fusion , 2015, Inf. Fusion.

[12]  Ichiro Fujinaga,et al.  jMIR: Tools for Automatic Music Classification , 2009, ICMC.

[13]  Feng Xia,et al.  Context-Aware Mobile Cloud Computing and Its Challenges , 2015, IEEE Cloud Computing.

[14]  Daqing Zhang,et al.  Sparse mobile crowdsensing: challenges and opportunities , 2016, IEEE Communications Magazine.

[15]  Youngki Lee,et al.  A Scalable and Energy-Efficient Context Monitoring Framework for Mobile Personal Sensor Networks , 2010, IEEE Transactions on Mobile Computing.

[16]  Maximilian Schirmer,et al.  SenST*: Approaches for Reducing the Energy Consumption of Smartphone-Based Context Recognition , 2011, CONTEXT.

[17]  Franco Zambonelli,et al.  Detecting activities from body-worn accelerometers via instance-based algorithms , 2010, Pervasive Mob. Comput..

[18]  Harry Chen,et al.  Intelligent Agents Meet the Semantic Web in Smart Spaces , 2004, IEEE Internet Comput..

[19]  Kin K. Leung,et al.  Context-Awareness for Mobile Sensing: A Survey and Future Directions , 2016, IEEE Communications Surveys & Tutorials.

[20]  Andy Hopper,et al.  The active badge location system , 1992, TOIS.

[21]  Xin Li,et al.  Context Aware Middleware Architectures: Survey and Challenges , 2015, Sensors.

[22]  Inbal Nahum-Shani,et al.  Visualization of time-series sensor data to inform the design of just-in-time adaptive stress interventions , 2015, UbiComp.

[23]  Zhigang Liu,et al.  The Jigsaw continuous sensing engine for mobile phone applications , 2010, SenSys '10.

[24]  Suman Nath ACE: Exploiting Correlation for Energy-Efficient and Continuous Context Sensing , 2013, IEEE Trans. Mob. Comput..

[25]  Anind K. Dey,et al.  Understanding and Using Context , 2001, Personal and Ubiquitous Computing.

[26]  Roy H. Campbell,et al.  Gaia: enabling active spaces , 2000, ACM SIGOPS European Workshop.

[27]  Arkady B. Zaslavsky,et al.  Context Aware Computing for The Internet of Things: A Survey , 2013, IEEE Communications Surveys & Tutorials.

[28]  Lawrence Wai-Choong Wong,et al.  A context realization framework for ubiquitous applications with runtime support , 2011, IEEE Communications Magazine.

[29]  Gerd Kortuem,et al.  Designing Pervasive Interactions for Ambient Guidance with Situated Flows , 2010, 2010 IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology.

[30]  Seth J. Teller,et al.  The cricket compass for context-aware mobile applications , 2001, MobiCom '01.

[31]  Corina Nüesch,et al.  Measuring joint kinematics of treadmill walking and running: Comparison between an inertial sensor based system and a camera-based system. , 2017, Journal of biomechanics.