Skip to main content
Log in

Overcrowding detection in indoor events using scalable technologies

  • Original Article
  • Published:
Personal and Ubiquitous Computing Aims and scope Submit manuscript

Abstract

The increase in the number of large-scale events held indoors (i.e., conferences and business events) opens new opportunities for crowd monitoring and access controlling as a way to prevent risks and provide further information about the event’s development. In addition, the availability of already connectable devices among attendees allows to perform non-intrusive positioning during the event, without the need of specific tracking devices. We present an algorithm for overcrowding detection based on passive Wi-Fi requests capture and a platform for event monitoring that integrates this algorithm. The platform offers access control management, attendees monitoring and the analysis and visualization of the captured information, using a scalable software architecture. In this paper, we evaluate the algorithm in two ways: First, we test its accuracy with data captured in a real event, and then we analyze the scalability of the code in a multi-core Apache Spark-based environment. The experiments show that the algorithm provides accurate results with the captured data, and that the code scales properly.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Data from 4YFN 2015 Monday

Fig. 9

Data from 4YFN 2015 Tuesday

Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17

Similar content being viewed by others

Notes

  1. Cloudera—http://www.cloudera.com.

  2. Hue—http://gethue.com.

  3. Django—https://www.djangoproject.com.

  4. Sicafe stands for SIstema de Control de Acceso y Flujo a Eventos, the Spanish for Event flow and access control system.

  5. R-tree—https://pypi.python.org/pypi/Rtree.

  6. Shapely—https://pypi.python.org/pypi/Shapely.

  7. Leaflet— http://leafletjs.com.

  8. MaskCanvas— https://github.com/domoritz/leaflet-maskcanvas.

  9. 4YFN— https://4yfn.com.

  10. MWC— https://www.mobileworldcongress.com.

  11. http://aditium.com/en/success-cases/4yfn-2015-2.

  12. Pymobility— https://github.com/panisson/pymobility.

  13. http://blog.cloudera.com/blog/2015/03/how-to-tune-your-apache-spark-jobs-part-1.

  14. collectd—https://collectd.org.

  15. Prometheus— https://prometheus.io.

  16. Grafana—http://grafana.org.

  17. Overcrowding algorithm source code— https://github.com/morelab/overcrowd-simulator.

  18. HDP— http://hortonworks.com/hdp.

  19. MapR — https://www.mapr.com.

  20. Elastic Stack—https://www.elastic.co.

References

  1. Abdul Rasheed MM (2013) Fedora commons with apache hadoop: a research study. Code Lib J 22. http://journal.code4lib.org/articles/8988

  2. Barbera MV, Epasto A, Mei A, Perta VC, Stefa J (2013) Signals from the crowd: uncovering social relationships through smartphone probes. In: Proceedings of the 2013 conference on internet measurement conference, IMC ’13, ACM, New York, NY, pp 265–276

  3. Bettstetter C, Resta G, Santi P (2003) The node distribution of the random waypoint mobility model for wireless ad hoc networks. IEEE Trans Mobile Comput 2(3):257–269

    Article  Google Scholar 

  4. Cassavia N, Dicosta P, Masciari E, Sacca D (2015) Improving tourist experience by big data tools. In: 2015 international conference on high performance computing simulation (HPCS), pp 553–556

  5. Dean J, Ghemawat S (2008) Mapreduce: simplified data processing on large clusters. Commun ACM 51(1):107–113

    Article  Google Scholar 

  6. Fang BT (1986) Trilateration and extension to global positioning system navigation. J Guid Control Dyn 9(6):715–717

    Article  Google Scholar 

  7. Fard HK, Chen Y, Son KK (2015) Indoor positioning of mobile devices with agile ibeacon deployment. In: 2015 IEEE 28th Canadian conference on electrical and computer engineering (CCECE), pp 275–279

  8. George L (2011) HBase: the definitive guide. O’Reilly Media, Inc, Sebastopol, CA

    Google Scholar 

  9. Guttman A (1984) R-trees: A dynamic index structure for spatial searching. In: SIGMOD ’84 Proceedings of the 1984 ACM international conference on management of data, ACM, New York, NY, pp 47–57

  10. Hoffman S (2013) Apache Flume: distributed log collection for Hadoop. Packt Publishing Ltd, Birmingham, UK

    Google Scholar 

  11. International Congress and Convention Association (2015) ICCA Statistics Report: The International Association Meetings Market 2014. Tech. rep, ICCA

  12. Kasavajhala V (2011) Solid state drive vs. hard disk drive price and performance study. Tech. rep., Dell PowerVault Storage Systems

  13. Li M, Tan J, Wang Y, Zhang L, Salapura V (2015) Sparkbench: A comprehensive benchmarking suite for in memory data analytic platform spark. In: Proceedings of the 12th ACM international conference on computing frontiers, CF ’15, ACM, New York, NY, pp 53.1–53.8

  14. Liu H, Darabi H, Banerjee P, Liu J (2007) Survey of wireless indoor positioning techniques and systems. IEEE Trans Syst Man Cybern Part C (Appl Rev) 37(6):1067–1080

    Article  Google Scholar 

  15. Lo BPL, Velastin SA (2001) Automatic congestion detection system for underground platforms. In: 2001 international symposium on intelligent multimedia, video and speech processing, pp 158–161

  16. Musa ABM, Eriksson J (2012) Tracking unmodified smartphones using wi-fi monitors. In: Proceedings of the 10th ACM conference on embedded network sensor systems, SenSys ’12, ACM, New York, NY, pp 281–294

  17. O’hara B, Petrick A (2005) IEEE 802.11 handbook: a designer’s companion. IEEE Standards Association

  18. Schauer L, Werner M, Marcus P (2014) Estimating crowd densities and pedestrian flows using wi-fi and bluetooth. In: Proceedings of the 11th international conference on mobile and ubiquitous systems: computing, networking and services, MOBIQUITOUS ’14, ICST, Brussels, Belgium, pp 171–177

  19. Shahi D (2015) Apache Solr: a practical approach to enterprise search. Apress, berkeley

    Book  Google Scholar 

  20. Shchekotov M (2014) Indoor localization method based on wi-fi trilateration technique. In: Proceedings of the 16th conference of open innovations association FRUCT, pp 177–179

  21. Velastin SA, Boghossian BA, Lo BPL, Sun J, Vicencio-Silva MA (2005) Prismatica: toward ambient intelligence in public transport environments. IEEE Trans Systems Man Cybern Part A Syst Hum 35(1):164–182

    Article  Google Scholar 

  22. Versichele M, Neutens T, Delafontaine M, de Weghe NV (2012) The use of bluetooth for analysing spatiotemporal dynamics of human movement at mass events: a case study of the ghent festivities. Appl Geogr 32(2):208–220

    Article  Google Scholar 

  23. Weppner J, Lukowicz P (2013) Bluetooth based collaborative crowd density estimation with mobile phones. In: 2013 IEEE International conference on pervasive computing and communications (PerCom), pp 193–200

  24. Zaharia M, Chowdhury M, Franklin MJ, Shenker S, Stoica I (2010) Spark: Cluster computing with working sets. In: Proceedings of the 2Nd USENIX conference on hot topics in cloud computing, HotCloud’10, USENIX Association, Berkeley, CA, USA, pp 10–10

Download references

Acknowledgements

The authors would like to thank Dr. Carlos Pérez-Miguel for his aid in this work and the anonymous reviewers for their insightful comments.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Unai Lopez-Novoa.

Additional information

This work has been partially supported by the Basque Country Government under the Gaitek funding program (IG-2014/00172) and the Spanish Ministry of Economy and Competitiveness (Grant Number TIN2013-47152-C3-3-R).

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Lopez-Novoa, U., Aguilera, U., Emaldi, M. et al. Overcrowding detection in indoor events using scalable technologies. Pers Ubiquit Comput 21, 507–519 (2017). https://doi.org/10.1007/s00779-017-1012-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00779-017-1012-6

Keywords

Navigation