Abstract
In this chapter, we design and develop an IoT ecosystem for pervasive and crowd-sensing computing, which is based on HTML5 APIs. Our platform is interfaced with the real world through the sensors of various IoT devices in order to group and graphically present the retrieved data following statistical processing. The platform consists of two application-specific components: the first, the client part, runs in the user devices in order to collect sensor data and transmit them to the server; the second, the server part, runs in a cloud computing environment and is responsible for processing, analyzing, and visualizing the Big Data collected from all end devices in a human friendly format, e.g., a map. The application is multisensor as it can collect data from almost all sensors of mobile devices and is totally based on HTML5 features. In the first part of the proposed chapter we will present a brief description of the above platform architecture. Then, we will present an evaluation of the platform’s performance under various wireless access networks (e.g., Wi-Fi, 2G, 3G) in terms of latency. Finally, we will use the platform as a tool for benchmarking various database ecosystems in order to find the pros and cons of adopting different database philosophies in such a web crowd-sensing environment. The tests contain basic commands such as insert data, read data, and search data and some more advanced such as data reading with sorting and data aggregation tests. The database implementations we are benchmarking include both NoSQL (Mongo DB, Redis DB) and SQL approaches (MySQL).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Wikipedia.: Internet of Things. http://en.wikipedia.org/wiki/Internet_of_Things Retrieved 2015-03-20
Jun-Wei, H., Shouyi, Y., Leibo, L., Zhen, Z., Shaojun, W.: A crop monitoring system based on wireless sensor network. Procedia Environ. Sci. 11, 558–565 (2011)
Hammes, D., Hiram, M., Harrison, M.: Comparison of NoSQL and SQL Databases in the Cloud. In: Southern Association for Information Systems (SAIS) Proceedings. Paper 12 (2014)
Guinard, D., Vlad, T.: Towards the web of things: Web mashups for embedded devices. In: Workshop on Mashups, Enterprise Mashups and Lightweight Composition on the Web (MEM 2009), in proceedings of WWW (International World Wide Web Conferences), Madrid, Spain (2009)
Vakintis, I., Spyros, P.: “Middleware platform for mobile crowd-sensing applications using HTML5 Apis and web technologies”, Accepted for publication as chapter contribution in the HandBook “Internet of Things (IoT) in 5G Mobile Technologies”. Springer (2016)
Thiagarajan, A. et al.: VTrack: accurate, energy-aware road traffic delay estimation using mobile phones. In: Proceedings of the 7th ACM Conference on Embedded Networked Sensor Systems. ACM (2009)
UC Berkeley/Nokia/NAVTEQ.: Mobile Millennium. http://traffic.berkeley.edu/. Accessed 10 March 2015
Maisonneuve, N., Matthias, S., Bartek, O.: Participatory noise pollution monitoring using mobile phones. Inform. Polity 15(1), 51–71 (2010)
D’Hondt, E., Matthias, S.: Participatory noise mapping. In: Demo Proceedings of the 9th International Conference on Pervasive (2011)
D’Hondt, E., Matthias, S., An J.: An: Participatory noise mapping works! An evaluation of participatory sensing as an alternative to standard techniques for environmental monitoring. Pervasive Mob. Comput. 9(5), 681–694 (2013)
Maisonneuve, N. et al.: NoiseTube: Measuring and mapping noise pollution with mobile phones. Information Technologies in Environmental Engineering, pp. 215–228. Springer, Berlin, Heidelberg (2009)
Maisonneuve, N. et al.: Citizen noise pollution monitoring. In: Proceedings of the 10th Annual International Conference on Digital Government Research: Social Networks: Making Connections between Citizens, Data and Government. Digital Government Society of North America (2009)
Drosatos, G. et al.: A privacy-preserving cloud computing system for creating participatory noise maps. In: Computer Software and Applications Conference (COMPSAC), 2012 IEEE 36th Annual. IEEE (2012)
Mun, M. et al. PEIR, the personal environmental impact report, as a platform for participatory sensing systems research. In: Proceedings of the 7th International Conference on Mobile Systems, Applications, and Services. ACM (2009)
Consolvo, S. et al.: Activity sensing in the wild: a field trial of ubifit garden. In: Proceedings of the SIGCHI Conference on Human Factors in Computing Systems. ACM (2008)
Andreas, K., Eric, H., Aman, K., Feng, Z.: Toward community sensing. In: Proceedings of the 7th International Conference on Information Processing in Sensor Networks, p. 481–492, 22–24 April 2008
Miluzzo, E. et al.: Sensing meets mobile social networks: the design, implementation and evaluation of the cenceme application. In: Proceedings of the 6th ACM Conference on Embedded Network Sensor Systems. ACM (2008)
Campbell, A.T. et al.: The rise of people-centric sensing. Int. Computi. IEEE 12.4, 12–21 (2008)
Pintus, A. et al.: Connecting smart things through web services orchestrations. Springer, Berlin, Heidelberg (2010)
Dutta, P. et al.: Common sense: participatory urban sensing using a network of handheld air quality monitors. In: Proceedings of the 7th ACM Conference on Embedded Networked Sensor Systems. ACM (2009)
Panagiotakis, S. et al.: Towards Ubiquitous and Adaptive Web-Based Multimedia Communications via the Cloud. In: Resour. Manage. Mob. Cloud Comput. Networks Environ. 307 (2015)
http://www.labnol.org/internet/web-3-concepts-explained/8908/. Accessed 10 Dec 2015
WikiPedia, Multitier architecture. http://en.wikipedia.org/wiki/Multitier_architecture. Accessed 10 March 2015
Meteor official website. https://www.meteor.com/. Accessed 10 Dec 2015
Sabari website. http://www.sabarimarketing.com/blog/html5-the-fifth-revision-of-the-hypertext-markuplanguage-html. Accessed 10 Dec 2015
W3C, HTML5. http://www.w3.org/2014/10/html5-rec.html.en. Accessed 10 Dec 2015
W3C, HTML5 recommendation. http://www.w3.org/html/wg/drafts/html/master/. Accessed 10 Dec 2015
WikiPedia, HTML5. http://en.wikipedia.org/wiki/HTML5. Accessed 10 Dec 2015
W3C, Geolocation API. http://www.w3.org/TR/geolocation-API/. Accessed 10 Dec 2015
W3C, Ambient light. http://www.w3.org/TR/ambient-light/. Accessed Dec 2015
W3C, Media capture and streams. http://www.w3.org/TR/mediacapture-streams/. Accessed Dec 2015
W3C, Network information API. http://www.w3.org/TR/netinfo-api/. Accessed 10 Dec 2015
Websocket official webpage. https://www.websocket.org/. Accessed 10 Dec 2015
HTML5rocks, websockets. http://www.html5rocks.com/en/tutorials/websockets/basics/. Accessed 10 Dec 2015
Google maps official webpage. https://www.google.gr/maps/. Accessed 10 Dec 2015
WikiPedia, Geocoding process. http://en.wikipedia.org/wiki/Geocoding/. Accessed 10 Dec 2015
The Google Geocoding API. https://developers.google.com/maps/documentation/geocoding/. Accessed 10 Dec 2015
WikiPedia, Geo-fence. http://en.wikipedia.org/wiki/Geo-fence. Accessed 10 Dec 2015
WikiPedia, JSON. http://en.wikipedia.org/wiki/JSON. Accessed 10 Dec 2015
WikiPedia, BSON. http://en.wikipedia.org/wiki/BSON. Accessed 10 Dec 2015
WikiPedia, GeoJSON. http://en.wikipedia.org/wiki/GeoJSON. Accessed 10 Dec 2015
WikiPedia, Ext_JS framework. http://en.wikipedia.org/wiki/Ext_JS. Accessed 10 Dec 2015
Ext JS, documentation. http://docs.sencha.com/extjs/4.2.1/#/guide/charting. Accessed 10 Dec 2015
W3C, HTML5. http://www.w3.org/html/wg/drafts/html/master/. Accessed 10 Dec 2015
WEB3D. http://www.web3d.org/wiki/index.php/X3D_and_HTML5. Accessed 16 Dec 2015
Wingate, proxyserver. http://www.wingate.com/download/wingate/download.php
Heroku, NoSQL databases. https://blog.heroku.com/archives/2010/7/20/nosql. Accessed 10 March 2015
Moniruzzaman, A.B.M., and Syed Akhter, H.: Nosql database: New era of databases for Big Data analytics-classification, characteristics and comparison. arXiv:1307.0191 (2013)
Reactive MySQL for Meteor. https://github.com/numtel/meteor-mysql
Redis Livedata. https://github.com/meteor/redis-livedata
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing AG
About this chapter
Cite this chapter
Vakintis, I., Panagiotakis, S., Mastorakis, G., Mavromoustakis, C.X. (2016). Evaluation of a Web Crowd-Sensing IoT Ecosystem Providing Big Data Analysis. In: Pop, F., Kołodziej, J., Di Martino, B. (eds) Resource Management for Big Data Platforms. Computer Communications and Networks. Springer, Cham. https://doi.org/10.1007/978-3-319-44881-7_22
Download citation
DOI: https://doi.org/10.1007/978-3-319-44881-7_22
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-44880-0
Online ISBN: 978-3-319-44881-7
eBook Packages: Computer ScienceComputer Science (R0)