Testing context-aware services based on smartphones by agent based social simulation

Smartphones are increasingly popular each year and have more and better sensors. These sensors are a rich information source for creating context-aware applications. Testing these applications directly in living labs is very expensive since it involves, among other things, setting up a reproduction of the environment where the application or service under test will be executed. This paper proposes the UbikMobile architecture which aims to provide developers with tools to test context-aware services based on smartphones in a simulated environment. The primary goal in UbikMobile is to reduce the faults in the software as much as possible. The main contribution is that a real smartphone, and not only an emulator, can be connected to the simulated world to conduct: 1 manual tests i.e. the developer controls an avatar in the simulation; and, 2 automatic tests i.e. agents in the simulation are capable of interacting automatically with the smartphone. This paper shows the main design decisions in the architecture presented to allow the interested reader to reproduce or to extend our results. It Also includes a number of case studies to illustrate how to use the architecture.

[1]  Leena Ventä-Olkkonen,et al.  User evaluation of mobile augmented reality scenarios , 2012, J. Ambient Intell. Smart Environ..

[2]  Andreas Möller,et al.  Developing Intelligent Environments: A Development Tool Chain for Creation, Testing and Simulation of Smart and Intelligent Environments , 2011, 2011 Seventh International Conference on Intelligent Environments.

[3]  Emile H. L. Aarts,et al.  A development support bubble for children , 2011, J. Ambient Intell. Smart Environ..

[4]  Keiichi Yasumoto,et al.  UbiREAL: Realistic Smartspace Simulator for Systematic Testing , 2006, UbiComp.

[5]  John J. Barton,et al.  UBIWISE, A Ubiquitous Wireless Infrastructure Simulation Environment , 2002 .

[6]  Sean Luke,et al.  MASON: A New Multi-Agent Simulation Toolkit , 2004 .

[7]  Steve Mcconnel,et al.  Code complete, 2nd ed. , 2014 .

[8]  Juan A. Botía Blaya,et al.  Chronobiology applied to the development of human behavior computational models , 2012, J. Ambient Intell. Smart Environ..

[9]  Glenford J. Myers,et al.  Art of Software Testing , 1979 .

[10]  Gregor Schiele,et al.  Situation-Based Design: A Rapid Approach for Pervasive Application Development , 2012, 2012 9th International Conference on Ubiquitous Intelligence and Computing and 9th International Conference on Autonomic and Trusted Computing.

[11]  Paulo Novais,et al.  A survey of software engineering best practices for the development of smart applications in Ambient Intelligence , 2012, J. Ambient Intell. Smart Environ..

[12]  G. Nigel Gilbert,et al.  Simulation for the social scientist , 1999 .

[13]  Steve McConnell,et al.  Code Complete, Second Edition , 2004 .

[14]  Hussein T. Mouftah,et al.  Pervasive Communications Handbook , 2011 .

[15]  Tao Gu,et al.  Toward an OSGi-based infrastructure for context-aware applications , 2004, IEEE Pervasive Computing.

[16]  Huaglory Tianfield,et al.  Multi-agent Modeling and Simulation for Petroleum Supply Chain , 2006, ICIC.

[17]  Osgi Alliance,et al.  Osgi Service Platform, Release 3 , 2003 .

[18]  Juan A. Botía Blaya,et al.  Towards Socio-Chronobiological Computational Human Models , 2012, IBERAMIA.

[19]  Nick Collier,et al.  Repast: An extensible framework for agent simulation , 2001 .

[20]  Reto Meier Professional Android Application Development , 2008 .

[21]  Juan A. Botía Blaya,et al.  Simulation of human behaviours for the validation of Ambient Intelligence services: A methodological approach , 2012, J. Ambient Intell. Smart Environ..

[22]  Irene Luque Ruiz,et al.  Identification system based on color sequence and mobile phones , 2012, J. Ambient Intell. Smart Environ..

[23]  Juan A. Botía Blaya,et al.  Simulation Based Software Development for Smart Phones , 2012, ISAmI.

[24]  Juan A. Botía Blaya,et al.  Validating ambient intelligence based ubiquitous computing systems by means of artificial societies , 2013, Inf. Sci..

[25]  Jukka Vanhala,et al.  Capacitive indoor positioning and contact sensing for activity recognition in smart homes , 2012, J. Ambient Intell. Smart Environ..

[26]  P. Davidsson,et al.  Scalability in Distributed Multi-Agent Based Simulations: The JADE Case , 2008, 2008 Second International Conference on Future Generation Communication and Networking Symposia.

[27]  Andreas Möller,et al.  Towards a holistic approach for mobile application development in intelligent environments , 2011, MUM.

[28]  Martin Klepal,et al.  A testbed for evaluating human interaction with ubiquitous computing environments , 2005, First International Conference on Testbeds and Research Infrastructures for the DEvelopment of NeTworks and COMmunities.

[29]  Hojung Cha,et al.  LifeMap: A Smartphone-Based Context Provider for Location-Based Services , 2011, IEEE Pervasive Computing.

[30]  Millán Arroyo,et al.  Agent-based modelling and simulation for the analysis of social patterns , 2008, Pattern Recognit. Lett..