Flux: A Platform for Dynamically Reconfigurable Mobile Crowd-Sensing

Flux is a platform for dynamically reconfigurable crowd-sensing using mobile devices like smartphones and tablets, programmed under a notion of region-based sensing. Each region is defined by a set of physical constraints that determine the sensing scope, e.g., based on device position or other environmental variables, plus a set of periodic tasks that perform the actual sensing. The resulting behavior is inherently dynamic: as a device’s state changes, e.g., moves in space, it enters and/or leaves different regions, thereby changing the set of active tasks; moreover, regions can be added, deleted, and reprogrammed on-the-fly. Flux makes use of a domain-specific language for sensing tasks that is compiled into abstract bytecode, later executed by a low-footprint virtual machine within a device, guaranteeing runtime safety by construction. For region/task dissemination, Flux employs a broker that holds a changeable region configuration plus gateways that mirror the configuration throughout different network access points to which devices connect. Sensing data is streamed by devices to gateways and then back to the broker. Live or archived data streams are in turn fed by the broker to data-processing clients, which interface with the broker using a publish/subscribe API. We conducted two case-study experiments illustrating Flux: a single-region deployment to monitor WiFi signal quality, and a multi-region deployment to monitor noise, temperature, and places-of-interest based on device movement.

[1]  D. Gática-Pérez,et al.  Towards rich mobile phone datasets: Lausanne data collection campaign , 2010 .

[2]  Margaret Martonosi,et al.  SignalGuru: leveraging mobile phones for collaborative traffic signal schedule advisory , 2011, MobiSys '11.

[3]  Swarat Chaudhuri,et al.  A Study of Android Application Security , 2011, USENIX Security Symposium.

[4]  David E. Culler,et al.  The nesC language: A holistic approach to networked embedded systems , 2003, PLDI.

[5]  Matti Siekkinen,et al.  Smartphone Energy Consumption: Modeling and Optimization , 2014 .

[6]  Margaret Martonosi,et al.  SARANA: language, compiler and run-time system support for spatially aware and resource-aware mobile computing , 2008, Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences.

[7]  Shuvendu K. Lahiri,et al.  Back to the future: revisiting precise program verification using SMT solvers , 2008, POPL '08.

[8]  Alastair R. Beresford,et al.  Device analyzer: large-scale mobile data collection , 2014, PERV.

[9]  Alastair R. Beresford,et al.  Security Metrics for the Android Ecosystem , 2015, SPSM@CCS.

[10]  Fernando M. A. Silva,et al.  Towards a middleware for mobile edge-cloud applications , 2017, MECC@Middleware.

[11]  Minho Shin,et al.  Anonysense: privacy-aware people-centric sensing , 2008, MobiSys '08.

[12]  Matt Welsh,et al.  Programming Sensor Networks Using Abstract Regions , 2004, NSDI.

[13]  Emiliano Miluzzo,et al.  A survey of mobile phone sensing , 2010, IEEE Communications Magazine.

[14]  René Mayrhofer,et al.  A Large-Scale, Long-Term Analysis of Mobile Device Usage Characteristics , 2017, Proc. ACM Interact. Mob. Wearable Ubiquitous Technol..

[15]  Francisco Martins,et al.  A safe-by-design programming language for wireless sensor networks , 2016, J. Syst. Archit..

[16]  Hengchang Liu,et al.  SmartRoad , 2015, ACM Trans. Sens. Networks.

[17]  Ian F. Akyildiz,et al.  Sensor Networks , 2002, Encyclopedia of GIS.

[18]  Shanta Rangaswamy,et al.  CroTIS-Crowdsourcing Based Traffic Information System , 2013, 2013 IEEE International Congress on Big Data.

[19]  Ryan Newton,et al.  Region streams: functional macroprogramming for sensor networks , 2004, DMSN '04.

[20]  Alastair R. Beresford,et al.  Device Analyzer: Understanding Smartphone Usage , 2013, MobiQuitous.

[21]  C. Mass,et al.  Surface Pressure Observations from Smartphones: A Potential Revolution for High-Resolution Weather Prediction? , 2014 .

[22]  Colin Price,et al.  Using smartphone data for studying natural hazards , 2017 .

[23]  A. Overeem,et al.  Crowdsourcing urban air temperatures from smartphone battery temperatures , 2013 .

[24]  Fernando M. A. Silva,et al.  Using Edge-Clouds to Reduce Load on Traditional WiFi Infrastructures and Improve Quality of Experience , 2017, 2017 IEEE 1st International Conference on Fog and Edge Computing (ICFEC).

[25]  Jacques Klein,et al.  FlowDroid: precise context, flow, field, object-sensitive and lifecycle-aware taint analysis for Android apps , 2014, PLDI.

[26]  Vikas Agarwal,et al.  USense -- A Smartphone Middleware for Community Sensing , 2013, 2013 IEEE 14th International Conference on Mobile Data Management.

[27]  Luís M. B. Lopes,et al.  Towards Out-of-the-Box Programming of Wireless Sensor-Actuator Networks , 2015, 2015 IEEE 18th International Conference on Computational Science and Engineering.

[28]  Fernando M. A. Silva,et al.  Video Dissemination in Untethered Edge-Clouds: A Case Study , 2018, DAIS.

[29]  David De Roure,et al.  Zooniverse: observing the world's largest citizen science platform , 2014, WWW.

[30]  Zhu Wang,et al.  Mobile Crowd Sensing and Computing , 2015, ACM Comput. Surv..

[31]  Lothar Thiele,et al.  Participatory Air Pollution Monitoring Using Smartphones , 2012 .

[32]  Mahesh K. Marina,et al.  Pazl: A mobile crowdsensing based indoor WiFi monitoring system , 2013, Proceedings of the 9th International Conference on Network and Service Management (CNSM 2013).

[33]  Gianluca Demartini,et al.  NoizCrowd: A Crowd-Based Data Gathering and Management System for Noise Level Data , 2013, MobiWIS.

[34]  Ramachandran Ramjee,et al.  PRISM: platform for remote sensing using smartphones , 2010, MobiSys '10.

[35]  Ramesh Govindan,et al.  Medusa: a programming framework for crowd-sensing applications , 2012, MobiSys '12.

[36]  Etienne Huens,et al.  Data for Development: the D4D Challenge on Mobile Phone Data , 2012, ArXiv.

[37]  Chenyang Lu,et al.  Agilla: A mobile agent middleware for self-adaptive wireless sensor networks , 2009, TAAS.

[38]  Yu Huang,et al.  Sensus: a cross-platform, general-purpose system for mobile crowdsensing in human-subject studies , 2016, UbiComp.