Download as pdf or txt
Download as pdf or txt
You are on page 1of 26

UMT Artificial Intelligence Review (UMT-AIR)

Volume 3 Issue 1, Spring 2023


ISSN(P): 2791-1276 ISSN(E): 2791-1268
Homepage: https://journals.umt.edu.pk/index.php/UMT-AIR

Article QR

A Big Data Framework for Crowd Monitoring in Large Crowded


Title:
Events
Author (s): Naeem A. Nawaz1, Muhammad Abaidullah2, and Adnan Abid3
1
College of Computer and Information Systems, Umm Al-Qura University, Makkah Al
Affiliation (s): Mukarmah, Saudi Arabia
2
Conovo Technologies, Lahore, Pakistan
3
Department of Data Science, University of the Punjab, Lahore, Pakistan

DOI: https://doi.org/10.32350.umt-air.31.04

History: Received: March 20, 2023, Revised: April 26, 2023, Accepted: May 28, 2023, Published:
June 6, 2023
Citation: N. A. Nawaz, M. Abaidullah, and A. Abid, “A big data framework for crowd
monitoring in large crowded events,” UMT Artif. Intell. Rev., vol. 3, no. 1, pp.
51–76, June 2023, doi: https://doi.org/10.32350.umt-air.31.04

Copyright: © The Authors


Licensing: This article is open access and is distributed under the terms of
Creative Commons Attribution 4.0 International License
Conflict of
Interest: Author(s) declared no conflict of interest

A publication of
Department of Information System, Dr. Hasan Murad School of Management
University of Management and Technology, Lahore, Pakistan
Big Data Framework for Crowd Monitoring in Large Crowded
Events
Naeem A. Nawaz1*, Muhammad Abaidullah2, and Adnan Abid3
1
College of Computer and Information Systems, Umm Al-Qura University,
Makkah Al-Mukarmah, Saudi Arabia
2
Conovo Technologies, Lahore, Pakistan
3
Department of Data Science, University of the Punjab, Lahore, Pakistan
ABSTRACT The management of large events with hundreds of thousands of individuals
has remained a challenge over the years. Crushes and stampedes occurring in the events
of mass gathering have swallowed many valuable lives around the world. Considering the
substantial advancement in positional tracking, wearable technology, and wireless
communication, many event organizers are embracing the use of these technologies to get
assistance in managing large events. Intelligent monitoring of crowd movement and
timely analysis of evolving conditions may aid in early detection of critical situations.
The current research aims to propose a big data resource framework to model, simulate,
and visualize the crowd conditions for actual venue settings. A distributed framework has
been presented to monitor the movement and interaction of individuals in large crowded
events through localized sensing and geospatial analysis of massive positional data. The
pilgrimage (Hajj) has been considered as a case study for demonstrating the effectiveness
of the proposed framework. The proposed framework has been with the help of synthetic
data that covered some useful and frequent scenarios based on the case study of
pilgrimage (hajj), which is an annual event involving more than a million people.
INDEX TERMS agent-based modeling, big data, crowd simulation, crowd analytics,
crowd visualization, multi-agent System
I. INTRODUCTION strong chance that people may get
Crowd management in large events with disconnected from their main group.
hundreds of thousands or millions of Particularly, it is a common issue in case
individuals is a critical challenge for of Hajj where most of the pilgrims are old
authorities. For instance, physical and are not accustomed to use cell phones.
management and monitoring of individuals Technology has been used in many
in large events, such as the Olympics, different manifestations to manage these
Hajj, political gatherings, and live concerts large crowds. For instance, computer
is very tedious. The substandard route and vision based techniques have been used to
traffic management in such large events monitor the mobility and behaviors of
may result into congestion which, in turn, crowds. Despite the substantial
creates panic among individuals and advancement in this field, the methods
causes stampedes to occur. Such have turned out to be unproductive when
stampedes have been a major cause of applied at a large scale due to viewing
accidents resulting into injuries and deaths angles and ambiguous detection
of people. Furthermore, in the large scale limitations.
events that span for multiple days, for
instance Hajj and Olympics, there is a
*
Corresponding Author: nanawaz@uqu.edu.sa
UMT Artificial Intelligence Review
52 Volume 3 Issue 1, Spring 2023
Nawaz et al.

On the other hand, the evolving trend of visualization in large events. The
smart or context-aware environments has continuous tracking of individuals at a
led to the proposition of geographically massive scale can be done more efficiently
informative systems. In these systems, through a localized distributed sensing
advanced tracking technologies are used to infrastructure along with the existing
collect quantitative movement data. support of GPS.
Individuals within a crowd are observed as
The current research presents a big data
profiled users. Global Positioning System
resource framework that along with the
(GPS) localization [1] and proximity based
simulation of a physical sensing network
[2] tracking has been used to capture
includes a parallel computing
complex crowd dynamics during an event.
infrastructure to process large sets of
Although, implementing and evaluating
collected positional data for real-time
such systems yet adhere to many
analytics to provide a crowd-monitoring
challenges, such as gathering and
platform for the authorities in any
processing the data from heterogeneous
situation. The proposed framework has
sources and the expense of equipping the
been evaluated by simulating some useful
individuals or places with sensors.
scenarios from a case study of Hajj.
Simulation serves as a means to design
The rest of the study has been organized as
problematic scenarios and the mechanism
follows. Next section discusses the
in order to evaluate the behavior and
relevant literature. Some preliminary
operation of the opted solution or system.
information has been presented in the
Crowd simulation, in particular, attempts
subsequent section which defines the
to give an appropriate abstraction of the
proposed framework. The next section
domain as mentioned above. For the
provides complete details of the proposed
realistic simulation of such events, the
framework and its relevance to one of the
Multi-Agent System (MAS) approach is
frequently organized large-scale event,
considered suitable as the agents are
Hajj. Experiments conducted, for some
expected to move to their goals, interact
useful scenarios, involving spatio-temporal
with their environment, and respond to
analysis of the positional data generated by
each other. MAS is also postulated as a
the simulation for some useful and
preferred approach for emergency
frequently executable scenarios in Hajj,
evacuation [3] because MAS models
have been presented in the next section.
problems in terms of autonomous
While, the last section concludes the
interacting component agents, proving to
research.
be a more natural way of simulating the
un-predictability factor of large crowds. II. RELATED WORK
It is pertinent to mention that crowd Managing and monitoring of large crowded
simulation methods for controlling events has been discussed by many
individual agents in high-density researchers. Some the studies have
crowd,[4] interactive virtual environments, proposed multi-agent systems for crowd
[5] and position-based [6] solutions have simulation and management. While, others
already been proposed. The current study, have worked on managing crowd based on
however, distinguishes itself on the capacity of a venue with the help of
stipulations related to a systematic analysis video data processing and other with the
of the movement of crowds and its help of multi-agent systems. This section
Department of Information Systems
53
Volume 3 Issue 1, Spring 2023
Big Data Framework for Crowd Monitoring…

discusses many different studies which approach (SCA) and split cluster approach
focused on this problem in many different (SpCA) [14].
ways.
An interesting work on managing a massive
A framework for the simulation of crowd according to the capacity of the place
cooperative tasks, performed by agents, was by counting the number of persons getting
proposed by [7]. The proposed solution was in and out from the specific area by using
supportive of four basic actions based on WSN has been presented by [15]. Similarly,
real-life scenarios. Managing workers’ [16] proposed a WSN architecture to find
tasks, avoiding collision, state, and an efficient solution in order to provide
movement of workers was also managed by food items to the massive crowd. The
this framework. They presented an agent- supply of food conducted automatically in
based model to identify the factors which cluster form according to a given limit of
create panic among people. Additionally, time to avoid any food shortage. A real-
they presented a way for evacuating large time based crowd simulation solution
crowds during an unfortunate event [8]. proposed by authors. The presented model
based on the integration of the potential
A data-driven learning technique was
field method and agent-based method.
proposed for representing the information
Different fields are used to calculate the
pertaining to different scenarios of crowd
real-time interactions and prevent collision
simulation. A method based on the low
among agents [17]. Another relevant and
dimensional crowd space technique was
interesting study discussed the self
used to analyze crowd simulation accuracy
evacuation of passengers during panic and
[9].
its solution. For modeling of information,
Some other researchers also developed the spread ripple effect rule is used, a
agent-based simulation techniques by hypothesis is used to model individuals’
extracting the feature of the crowd from a behavior and decision-making during self-
video. For instance, [10] used global path evaluation [18].
planning and collision avoidance strategies
Another mobile phone-based crowd
for evacuating the crowd. A multi agent-
monitoring framework was proposed by
based model presented for evacuating the
[19] by using Wi-Fi and Bluetooth readings
crowd during a violent attack [11]. While,
to estimate the crowd and claim their
[12] proposed a framework based on multi-
solution is the better and low cost. While,
agent reinforcement learning to detect
an automated surveillance system by using
congestion in the crowd. Another agent-
a computational object recognition system
based crowd simulation framework hase
with a video stream was proposed by [20].
been proposed by [13] that employed
This system automatically tracks and
AnyLogic libraries for the simulation of a
identifies the individuals in the crowd by
crowd in runtime environment to simulate
using CNN. Similarly, another framework
emergency evacuation strategies. The
named ‘crowd Probe’ was proposed to
proposed framework based on analytical
monitor the crowd in indoor settings. It
simulation environment. A Cluster
utilizes hidden Markov model for extracting
Verification Model (CVM) proposed by
trajectories of individuals by using Wi-Fi
using a Wireless Sensor Network (WSN) to
monitor [21].
solve the aforementioned problem for
pandemic cases by using single cluster

UMT Artificial Intelligence Review


54 Volume 3 Issue 1, Spring 2023
Nawaz et al.

Another relevant work on the dynamic The proposed model is developed by using
positions and events to manage the large Unity 3D. A video of persons walking and
crowd according to the capacity to avoid interacting is used for simulation and the
causalities was proposed by [22]. They results are presented by using visualization
studied a smart queue approach at various techniques [30]. A framework named
entry points to reduce the waiting time in ‘icrowd’ proposed by authors for
the system as a function of the number of monitoring and tracking the individuals.
multiple entry/exit loops, social distancing, The proposed framework comprised of
and arrival rates of pilgrims [23]. The three layers and a real-time view of
authors designed a WSN based individuals is presented by this framework
identification model by using grouping using real-time location of individuals [31].
techniques and different operational phases In another effort, the authors presented a
to manage the crowd. Optimization of method to link the physics-based
crowd monitoring discussed by authors: a animations and multi-agent modeling to
solution for monitoring of crowd is improve the efficiency of crowd simulation
proposed based on Wi-Fi/Bluetooth [32].
interface. Firstly, a large number of datasets
An improved version of the multi-agent
are prepared and then localization and
reinforcement learning algorithm for
filtration are performed to estimate crowd
learning is done on extracted information
density [24]. In [25], the authors proposed a
from videos [33]. For simulation of crowd,
real-time surveillance-based system namely
an algorithm was proposed to utilize the
smartiSS. The proposed system worked on
trajectories of pedestrians from videos and
the basis of monitoring Mac ids of
simulate these in the form of agents in
individual devices.
simulation [34]. Similarly, a solution for
A spatio-temporal based visualization of simulation of a large number of agents
crowd movement, by using large-scale data based on nonvolatile ram (NVRAM) and
in the form of a transition graph, was agent based architecture for computing the
proposed [26]. A behavior analysis simulation at a large scale was proposed by
approach based on using generative model [35]. An agents based simulation
as Hidden Markov model to help crowd application was proposed by [36]. The
managers in order to make good decisions proposed method comprised of three
in invoking Internet-of-Things (IoT) modules including simulation environment
services. The proposed approach based on for simulating the agents, agent model, and
spatio-temporal flow-blocks for output for visualizing the simulated results.
marginalization of arbitrarily dense flow Mass-motion was used to optimize the
field [27]. The researchers studied about crowd flow rate with density restricted to a
adoption and utilization of fences to guide safe threshold value for efficient crowd
crowd movement. They focused on crowd management. A robust regression model
regarding the optimization of the fence was developed to guide the authorities for
layout for efficient crowd management by the safe and efficient operation of the
using simulation model [28]. The visiting corridor [37]. For the prediction of
researchers designed a smart image stampede in large crowd, authors proposed
enhancement and quality control system for an architecture by using mobile sensing
resource pooling and allocation and IoT network combined with wireless
applied to crowd management systems [29]. multimedia sensing network. They

Department of Information Systems


55
Volume 3 Issue 1, Spring 2023
Big Data Framework for Crowd Monitoring…

considered mobile devices as nodes for III. PRELIMINARY


crowd monitoring [38]. A vision-based
The applicable entities have been classified
method, to prevent the collision of agents in
as modeling layers. The individual model
simulation environment, was proposed by
decides what an individual should do
[39]. By using cognitive science, they also
provided the status of the entities around it.
predicted the upcoming collision among
The context layer approach smears the
agents. By using navigation fields, authors
relevant context of an individual, whereas
presented a method to direct the agents in
the venue model gives information of
the simulation environment to monitor the
surroundings as shown in Figure 1.
virtual crowds [40]. They proposed human-
like intelligent agents model governed by A. INDIVIDUAL
the rules of fuzzy-logic that model,
simulates and visualizes crowd dynamics Individuals in a crowd were proposed to be
applicable to emergency situations [41]. regarded as the agents in a world. Let’s
The researchers studied that heuristics have denote the person as p1, p2, p3,...........pn .
multiple roles in crowd management Every individual has some attributes and
including crowd recognition, tracking, behaviors with respect to their identities and
congestion etc. [42]. places. Let’s denote the identity of a person
with unique id as id1, id2, id3 .......... idm.
Literature review shows that multiple As every person has unique identity, let’s
solutions based on simulation and denote the person as referred in (1).
visualization methods have been proposed
for monitoring and evacuating individuals p1.id1, p2.id2, p3.id3 ................pn.i (1)
during any critical situation in large crowds. Attributes exist at more than one level. It
Some techniques involved real time crowd starts with a basic level of distinctiveness,
monitoring or using Wi-Fi/Bluetooth for for instance, name, age, and gender. On the
extracting user information or data next level, are some crowd-related
generated by simulator for simulation and attributes, for instance, location and
visualization of crowds. Certain limitations velocity. These multi-level attributes
were found in the existing systems as some collectively form a profile that helps in
were tested on limited datasets and were not identifying the individuals in a large crowd.
scalable for large crowds. Similarly, most Some general behaviors are associated with
of them did not discuss the context before the type of agents, while others are specific
and after any incident, and on the other to tasks and places. Many related actions
hand, some discussed only crowd are triggered when an individual performs a
simulation. The current research presented a certain task.
framework capable of modeling,
simulation, and visualization of large B. VENUE
crowds based on distributed approaches to Large crowds occur due to an event
monitor the movement and interaction of happening at a specific venue which is
individuals in large crowds through divided into regions. Let’s suppose the
localized sensing and geo-spatial analysis region as r1, r2, r3, ............. rk.
of massive positional data. Furthermore, the region is divided into
zones and pathways, respectively. Let’s
denote the zone in the region as z1, z2, z3,
............ zs. As one region can have many

UMT Artificial Intelligence Review


56 Volume 3 Issue 1, Spring 2023
Nawaz et al.

zones, let’s denote regions as referred in night the place is transformed into a party
(2), (3), and (4). area. Let’s pix denote the point of interest
as pi1, pi2, pi3 …….......pij are different
r1 = z1.r1, z2.r1; ..............z5. r1 (2)
points of interest in the scenario where the
r2 = z1.r2, z2.r2; ..............z9. r2 (3) value of x ranges from 1 to j.
rk = z1.rk., z2.rk...............zs.rk (4) 2) PATHWAYS
It shows that there are multiple zones in a The presence of walls enforces
region. The venue map is used as a constrictions on the area of movement for
background image in simulation calibrated individuals. These walls are created by
with real-word settings to associate pixel applying an alpha image of background in
values with specific places inside the which walls are white where individuals
simulated environment. The positional cannot walk. Whereas, the rest results in
coordinates of moving individuals are that pathways and points of interest to facilitate
of factual surroundings. An event, in the mobility of agents for their movements.
general, can hold many sub-events in Let’s pwk denote the pathways as pw1,
particular. Those sub-events can also be pw2 , pw3 ......... pwy. where the value of k
defined so that a specific place is created ranges between 1 and y. Since, it is a
for the event and when the sub-event ends, known fact that one zone may have many
the place is removed from simulation, pathways, therefore let’s pwi:zj denote the
respectively. The venue of an event pathway i in zone j. Thus, the pathways in
generally, has two substances, a point of different zones would be denoted as
interest for individuals and the available referred in (5), (6), and (7).
path to reach there.
z1 = pw1.z1, pw2. z1…….....pw5. z1 (5)
z2 = pw1.z2, pw2. z2; .......pw9. z2 (6)
zs = pw1.zs, pw2.zs; …......pwy.zs (7)
IV. PROPOSED ARCHITECTURAL
FRAMEWORK
This section explains all the components of
the proposed framework which follows a
layered architecture. The layers and
different components of the proposed
framework have been presented in Figure 2.
FIGURE 1. System Design A distributed positional sensing
1) POINT OF INTEREST infrastructure is placed at a physical layer
which is the quantitative movement data
It is considered as any place inside the source. A big data environment, containing
created world which may be an originating distributed computing platforms and a data
position for some and a destination site for ingestion component, accumulates the
others. Some places remain throughout the processing layer to systematically preserve
simulation, while others are occasional. For and process the anticipated massive geo-
instance, spring festival, in which there are spatial datasets. Multiple visualizations of a
bookstalls in a park during daytime and at moving crowd were proposed at the

Department of Information Systems


57
Volume 3 Issue 1, Spring 2023
Big Data Framework for Crowd Monitoring…

application layer by providing pre-analytics monitoring system at such a scale.


and post-analytics visualization modes. However, possible scenarios in a large
event if simulated and analyzed beforehand
A. PHYSICAL LAYER
can be useful in devising the appropriate
This layer consists of sensing infrastructure strategies to efficiently manage large
which contains devices capable of crowds on the day of the event.
transmitting positional data and crowd
B. PROCESSING LAYER
sensing nodes for the reception of that data.
Numerous techniques, to sense crowd The processing layer is composed of
movement by using location-aware devices several interdependent components. At the
have been suggested, such as RFID bottom of this layer is the data ingestion
wrist/ankle bands, and proximity-based and mapping component which spans from
sensing via Bluetooth [43]. The sensing the collection of data to its filtration and
infrastructure operates in a distributed modeling. An important component in this
fashion as distribution of operations is the layer is the big data environment,
essence of system design, maintained at specifically intended to incorporate the
every layer of the proposed architecture. composition of several distributed
processing frameworks. The layer is
1) CROWD SENSING NODE
designed in a way that the incorporation of
A sensing node is used to capture positional heterogeneous elements below and above
updates from location-aware devices. The this layer would not affect the transparency
node serves the purpose of collecting the of its operations. Each component of the
data under a certain vicinity and processes layer is described in detail below.
the local information about crowd
1) DATA COLLECTION SERVICE
conditions. The collected information, then
can further be sent to a nearby participant if A data collecting service is induced at the
requested by its connecting device. These bottom of the processing layer which is
nodes are placed at strategic junctions responsible for ingesting the data from
across the venue to cover the whole event. physical layer or simulator into the system.
These connected nodes gather crowd The service is generic to ensure that the
information, create swarms, and then system is not affected by the heterogeneity
periodically transmit to processing of devices in a physical sensing
infrastructure. infrastructure or the operational difference
of distributed processing frameworks.
2) SIMULATION FRAMEWORK
2) DATA FILTRATION
Simulation can be used to design a
problematic scenario and the mechanism to The collected data needs filtration on
evaluate the behavior and operation of the certain parameters to reduce the workload
opted solution or system. Crowd simulation of both storage and processing. Therefore,
attempts to give an appropriate abstraction essential features are extracted to uniquely
of this domain. Therefore, another aspect of identify the individuals and analyze crowd
the current research was to simulate large conditions. Rest of the data is filtered
events along with the usual amount of accordingly.
crowd they comprehend. Large events
cannot be recreated to deploy and test the
actual viability of the proposed crowd
UMT Artificial Intelligence Review
58 Volume 3 Issue 1, Spring 2023
Nawaz et al.

3) DATA MODELLING to be included in the system to be the


driving forces behind the extraction of
The data is modeled for identification of
value out of that humongous data.
individuals. It is event-specific based on
unique ID, group, nationality, age, gender, The environment contains MongoDB, a
participants’ location, and timestamp, as robust and scalable Non-SQL storage, and
shown in Figure 3. Data modeling is also Spark, an in-memory cluster computing
subjective to the nature of large events as framework for lighting fast analytics. They
well as the movement of the individual is together give a vigorous combination for
tied with the movement of groups which real-time analytics. Although, MongoDB
leads to identify the participants in a large itself has a wide array of query operations
crowd. that are efficient to work on a huge volume
of locational data. However, the inclusion
4) BIG DATA ENVIRONMENT
of Spark enhances the capabilities of the
The influx of the data from physical layer is environment as different levels of crowd
expected to be huge in terms of volume and information can be maintained by using
velocity. To process millions of records Spark for rich analytics at both crowd and
from the simulator and real-time, relational individual level. These frameworks use
data stores and warehouses have limitations multiple machines to manipulate the data
in latency and scalability. Therefore, big through distributed computing.
data processing frameworks were proposed

FIGURE 2. Proposed Architecture Framework


Department of Information Systems
59
Volume 3 Issue 1, Spring 2023
Big Data Framework for Crowd Monitoring…

5) REAL TIME ANALYTICS observers to effectively manage large


events, on top of it. The authorities can
The current study intended to enhance and
visualize crowd movement and formulated
ensure the safety of individuals involved in
analytics to have an insight on rapidly
an immensely crowded event. Therefore,
changing conditions as shown in Figure 4.
information on crowd situations in real-time
is of utmost importance. The data collected 1) PRE-ANALYTICS
by the system is analyzed and processed VISUALIZATIONS
concurrently to deduce the required output
The portrayal of the on-ground crowd
and have an insight into the crowd situation.
condition is important for the assessment of
6) REAL TIME ANALYTICS the situation before analysis. Pre-analytics
visualizations are, therefore, provided for
Stampedes and crushes can be avoided if
the thorough monitoring of crowd
crowd managers and authorities are
movement at large. The movement of
proactive in terms of devising strategies to
individuals, in a real crowd, can be
deal with critical situations. The imminent
observed as moving agents in a simulated
knowledge of crowd conditions attained
environment. The context of every
through predictive analytics can help them
individual is changed to its position, point
to a significant extent. These predictions are
of heading, or on-going activity. Therefore,
formulated by analyzing the previous data
information on the participant’s context is
and making models out of that data.
provided in a way that monitoring
authorities can specifically track a
participant.
2) POST-ANALYTICS
VISUALIZATIONS
The visualizations formulated after the
transformation and processing of
individuals’ positional data are of extreme
importance to monitor and organize
massive crowded events. These
visualizations are formed by deducing the
information on different crowd parameters,
such as crowd density and crowd flow. The
articulated graphics are relative to the
population of participants under a certain
vicinity over various time frames.
Heatmaps generated on crowd density can
give a bird’s eye view of the crowd
situation and perhaps allow crowd
FIGURE 3. Participant’s Data Model monitoring authorities to easily determine
the congested and free-flowing areas in
C. APPLICATION LAYER large events.
The purpose of setting up the processing
infrastructure is to build applications, which
enables the crowd modelers and crowd
UMT Artificial Intelligence Review
60 Volume 3 Issue 1, Spring 2023
Nawaz et al.

FIGURE 5. Location Aware Devices


Therefore, information on participant’s
context is provided in a way that
monitoring authorities can specifically track
a participant.
FIGURE 4. Crowd Movement
2) DATA COLLECTION NODES
V. IMPLEMENTATION DETAILS
A data collection node is used to capture the
A proof-of-concept cycle of the pro- positional updates from location-aware
posed framework has been presented in the devices. In notion of large events, a data
current study. The development work collection node serves the purpose of
includes simulation of large events, real- collecting the data under a certain vicinity
time analytics on positional data of and processes some local information about
individuals in those events, and multi- crowd condition. The collected information
dimensional visualizations on crowd can further be sent to a nearby participant if
conditions. Java is used as a development requested by its connecting device. These
language at every layer of the architecture nodes are placed at different junctions and
as comprehensive APIs of the opted distributed across the venue to cover the
frameworks were available in Java. whole event.
A. PHYSICAL LAYER 3) SIAFU TOOL FOR SIMULATION
JAVA based simulator has been used at the For the simulation of large crowds, a
physical layer, however, the proposed comprehensive tool named Siafu is used
architecture suggests the placement of which is a multi-agent system. The
distributed sensing infrastructure to gather simulation includes agents, the context
the positional data. therein. Siafu can generate its context .
1) LOCATION AWARE DEVICES Moreover, simultaneously it can also
augment real context coming from the
Numerous devices exist which are capable sensors. Simulation serves as a means to
of acting as location-aware gadgets, for design a problematic scenario and the
instance smartphones, smart devices, such mechanism to evaluate the behavior and
as GPS wrist/ankle bands, smartwatches, operation of the opted solution or system.
proximity-based sensing via Crowd simulation attempts to give an
Bluetooth/WLAN scanners, and infrared- appropriate abstraction of this domain.
based human presence sensors as shown in Therefore, the other aspect of the proposed
Figure 5. framework is to simulate large events along
with the usual amount of crowd they
comprehend. Firstly, large events cannot be

Department of Information Systems


61
Volume 3 Issue 1, Spring 2023
Big Data Framework for Crowd Monitoring…

recreated to deploy and test the proposed and the list is returned as explained in the
crowd monitoring system’s actual viability algorithm II.
at such a scale. Moreover, possible
scenarios in a large event if simulated and
analyzed beforehand can be useful in
devising the appropriate strategies to
efficiently manage a large crowd on the day
of the event.
A generic context simulator was used [44]
for the basic modeling of entities in a
scenario. The simulator itself is broad in
terms of information sources, however, it is
limited in terms of event-driven activities
and behaviors. The concept was extended
towards immensely crowded events and
activities of individuals that it
comprehends. The simulator works as a
Multi-Agent System (MAS). For the
realistic simulation of such events, MAS
approach is considered suitable as the
agents are expected to move to their goals,
interact with their environment, and
respond to each other. MAS is also
postulated as a preferred approach for
emergency evacuation simulations [3],
because it models the problems in terms of
autonomous interacting component-agents,
which is proving to be a more natural way
of simulating the unpredictability factor of
large crowds. The simulator can generate its
own context and at the same time can also
augment the context coming from real-time
data sensors. The simulated world includes
models for agents, the world, and the
context therein. In order to create random
participants, every participant is assigned a Algorithm I. Create Random Participants
unique ID, group ID, age, nationality, and
activity. The gender of the participant is MongoDB Java driver is selected as Java
assigned colors. Moreover, color is also the development language. It provides both,
assigned to the group leader as explained in synchronous and asynchronous interaction
algorithm I. To create random population with the application. Four shared
world w, the population count is assigned a collections are created to meet the required
variable C, group limit, and group check is functionality of the system. Collections
assigned variable L and G, respectively. with their primary function are shown in
After iteration, random agents are created Table I. Spherical GeoJSON objects are

UMT Artificial Intelligence Review


62 Volume 3 Issue 1, Spring 2023
Nawaz et al.

used to store the locational data. The used to write scripts to analyze the
participant’s position is stored as a point, operational data managed by MongoDB.
while zone bounds are saved as a polygon.
Every participant is assigned a unique ID,
group ID, and role object of MongoDB for
participant role. By using MongoDB query,
every participant with a unique ID, group
ID, role, location, and coordinates of the
participants are inserted in DB as shown in
Figure. 6 to continuously update the
information of individuals by which every
individual can be monitored and located
based on his/her trial. An inclusion
geospatial query, to find points confined in
a polygon, is executed which eventually
returns the number of participants in that
defined region. MongoDB creates a unique
index on ID field by default upon the
creation of a collection. A geo-spatial index
is created on the location field of a record
and a single field index on timestamp.
These indexes collectively increased the
performance of queries. Spark’s Java API is Algorithm II. Create Random Population

TABLE I
SHARED COLLECTION
Collection Primary Function Frequency of Use
To store participant’ data The records are inserted
Participant
record. continuously.
The records are inserted and
Zone To store information on zones. retrieved for zone based
crowd analysis.
To store crowd parametric
The results are stored and
Real-Time Analytics information with respect to
retrieved continuously.
zone or elsewise

To store predictive informationThe results are updated after a


Predictive Analytics
on crowd situation. certain time

B. APPLICATION LAYER is developed which intended to capitalize


the processing infrastructure and to give
The application layer plays an important
crowd modelers and authorities a platform
role in terms of modeling and monitoring of
in order to model and monitor the crowd
large events. Initially, a desktop application
movement at large.
Department of Information Systems
63
Volume 3 Issue 1, Spring 2023
Big Data Framework for Crowd Monitoring…

C. CROWD ANALYTICS 2) SIMULATION MODE


APPLICATION
Few batch scripts are created to resolve the
This application is developed by using dependencies involved in the working of a
JavaFX to build most of the extensive chart simulation. These scripts are triggered and
libraries. The application is categorized into run in the background while using the
three modes. Each mode is designed and functionalities given by the simulation
developed to give a specified set of mode. The simulation model is used to
functionalities. The whole application is update the simulation by loading the newly
built on a customized framework of screens created resources created in the deployment
to incorporate modifications and mode. The observer can start the simulation
adjustments with ease. once it is laden.
3) ANALYTIC MODE
This mode is developed for the monitoring
of crowds. Real-time information, on
several crowd parameters, can be observed.
The crowd observer can also get hold of the
historical crowd conditions. Moreover,
zone level analysis can also be articulated
to monitor the individual’s trial in case of
any critical misadventure or a violent
attack. Individuals existing at the place of
the crime scene before or after the crime
can be tracked from their trial. It is easier to
determine a critical situation when
extracted information from the data is
displayed in the form of graphs, maps, and
alerts are generated for the capacity
FIGURE 6. GeoJSON Objects and Query information. Zone on the image is assigned
values and the value of color is assigned by
1) DEPLOYMENT MODE a variable C as presented in algorithm III.
The application allows the modeler to
generate resources that are required in the
simulation. The modeler can specify
coordinates of the venue to get a real map
to be used as a background in the
simulation. Pathways and points of interest
can be created with just a mere click.
Moreover, the modeler can drag and drop a
polygon over the venue map to categorize
the venue into different zones. The
polygonal bounds attained in pixels are
converted into positional coordinates,
provided that bounds of the venue are Algorithm III: Heat Map Generation
defined.

UMT Artificial Intelligence Review


64 Volume 3 Issue 1, Spring 2023
Nawaz et al.

4) CROWD INFORMATION CHARTS 5) HEATMAPS


The information attained through analytics Heatmaps are based on crowd density of a
on positional data is portrayed in the form specific zone. Values are associated with
of charts given in Figure 7. A dynamic line five colors, that is, blue, cyan, green,
graph, illustrating real-time crowd flow, is yellow, and red. Red is the immensely
generated. Moreover, a static line graph, to populated area as shown in Figure 8.
show historical crowd flow with respect to Heatmaps depicting real time crowd
recorded timestamps, is also formulated. information are rendered in every iteration
For crowd information charts, zone area is of the
calculated as shown in the algorithm IV.
Simulation. Whereas, predictive heatmaps
are rendered after one hour to forecast the
next hour’s conditions. The results of
predictive analytics attained through Spark
are stored in a specified collection of
MongoDB which is queried for the
generation of a predictive heatmap
according to the number of participants in a
zone as shown in Figure 9.
Algorithm IV: Zone Area Calculation

FIGURE 8. Color Scheme to Illustrate


Crowd Density

FIGURE 7. Zone Population Over Time

FIGURE 9. Heatmaps Depicting Crowd Density in Two Different Zones


Department of Information Systems
65
Volume 3 Issue 1, Spring 2023
Big Data Framework for Crowd Monitoring…

6) ALERT GENERATION an event. Hajj is the annual pilgrimage of


Muslims to Makkah, Saudi Arabia. This
With the generation of heatmaps for crowd
pilgrimage contains more than 3 million
analysis, alerts are also being generated
Muslim participants from around the globe
based on crowd density in a zone, as zone
and is considered as one of the large mass
information is updated continuously in
gathering. It is conducted every year in the
shared collection. The system is designed in
last month of the Islamic calendar (Dhu-al-
such a way that the modeler can set the
Hijjah) on specified dates, that is, from 8th-
limits of participants in defined zones and
13th. Receiving, managing, and monitoring
easily manage and monitor the crowd. If the
this crowd with cameras and manually is
capacity of the moving crowd (number of
not feasible, as all the Islamic religious
the participants) approaches to maximum
activities of Hajj, named as rituals are
limit in a zone then, an alert would also be
required to be performed simultaneously
generated with the heatmap system as
and in the same place for all crowd. On one
shown in Figure 10. Additionally, by using
side, the organizers are struggling to
the breadth first search technique, the
conduct the event without the occurrence of
system suggests to modeler to redirect the
any accidents or critical incidents, such as
crowd towards nearby zones having
stampedes, fire, or medical emergencies.
maximum empty space (available capacity).
On the other side, the participants and their
For instance, zone capacity is 5000
local/native organizers struggle to keep
participants, when it reaches to 4000 it
their groups combined, avoid dispersing
would generate an alert that zone capacity
their groups during crowded rituals, finding
is approaching to its maximum. When it
the lost, and missing ones from their group.
reaches to 5000 approximately, then a No
Entry alert would be generated which The proposed system will be connected
would stop the crowd outside the zone. with a command and control center to share
the information of any disaster or mishap
with the authorities and official relevant
departments including rescue teams, police,
army, and fire brigade to start the rescue
operation. Since, the number of pilgrims
keep on increasing every year and to model
the event, some related activities of
individuals and places have been defined to
store the information of individuals for
FIGURE 10. Alert Showing Crowd finding, tracking, and trailing every
Capacity Warning individual and group leader. A pilgrim’s
unique profile comprises of their name, ID,
VI. CASE STUDY: HAJJ gender, origin, maktab, and location. Hajj
The venue holding large crowds contains has many sub-events, such as Situational
possible random events related to time and Context Tawaf, Rami, Halaq Analytics
place that can be known and unknown. Flow, and turbulence density. Therefore,
Situational contexts are regarded, such as Hajj areas have been divided into regions
location, environment, or state of the agent which are further divided into multiple
is dependent on the situation. The repertoire zones as shown in Figure 11.
of their behavior relies on the dynamicity of

UMT Artificial Intelligence Review


66 Volume 3 Issue 1, Spring 2023
Nawaz et al.

FIGURE 11. Sample Zone Division of Arafat Plain (Makkah)


A. ANALYTIC to estimate and visualize the possible
outcomes. For instance, an increase in
Productive information on the movement
crowd density at the junction of less
and influx of large crowd, in a simulated
capacity may result in an unfortunate event,
scenario, is attained by performing analytics
that is, stampede. Therefore, efficient
on parameters at both individual (agent) and
analytic plays an important role in seeing
crowd (multi-agent) level. Different
ahead of the ongoing state of affairs. The
functions are provided to analyze the
predicted upshot can also be communicated
movements of individuals as shown in
within individuals in a crowd for situation
Figure 12. Analytics can further be utilized
awareness and alertness.

FIGURE 12. Movement of Agents in Simulator


B. VISUALIZATION VII. RESULTS AND
EXPERIMENTAL SETUP
Visualization is an important aspect of
simulation since it is the form of graphical A. DATA SETS
communication. The interactive interface
The data generated by simulator is used to
allows users to analyze the status of an
conduct the experiments. Three different
individual with respect to different levels of
sets of operational data are selected based
information. Textual information is not
on crowd population, crowd observation
sufficient at times to realize the analytical
time, and data collection time difference for
spectrum of a situation. For that purpose,
each set as shown in Table II.
context overlays and heat maps are
provided to graphically signify the
surroundings.
Department of Information Systems
67
Volume 3 Issue 1, Spring 2023
Big Data Framework for Crowd Monitoring…

TABLE II
OPERATIONAL DATA
Parameters Data- I Data II Data III
Crowd Population 10,000 50,000 100,000
Crowd Observation
180 Min 180 Min 180 Min
Time
Data collection Time
3 Min 3 Min 3 Min
Difference
10000 x 180/3 = 50000 x 180/3 = 100,000 x 180/3 =
No. of Records
600,000 3,000,000 6,000,000
B. TESTING SCENARIOS 3) SCENARIO-III
The proposed framework has been The third scenario is related to data
evaluated on following three frequently analytics. It intends to find people near the
executing scenarios covering different place of any incident at the time of that
aspects of crowd monitoring, management, incident. This is a useful scenario that helps
and analytics. To this end, different in conducting the investigation of an
variations have been incorporated in the incident.
volumes of the data and indexes.
C. EVALUATION
1) SCENARIO-I
The performance of an index is evaluated
The first scenario aims to calculate the on three different volumes of data. The
number of people in a zone at a given point quantum of positional data varies with
in time. This, in turn, can help in calculating respect to the crowd population. The
the total population of a region. performance of a query with or without an
index is measured with respect to its
2) SCENARIO-II
execution time.
The second scenario is a very common
D. OPERATIONAL DATA
problem during the Hajj and helps finding
the lost individuals, as there are a large Queries execution times are given in Table
number of old-age personnel performing III.
Hajj and they get disconnected from their
caretakers very frequently due to many
reasons.
TABLE III
QUERY EXECUTION TIME
Query-I Parameter (Time Milliseconds) Data-I Data-II Data-III
Time (without Index) 550 3093 6484
Time (with Index) 53 788 1230

UMT Artificial Intelligence Review


68 Volume 3 Issue 1, Spring 2023
Nawaz et al.

Query-II Parameter (Time Milliseconds) Data-I Data-II Data-III


Time (without Index) 6123 23587 52138
Time (with Index)
Query-III Parameter (Time Milliseconds) Data-I Data-II Data-III
Time (without Index) 312 1596 3303
Time (with Index) 1 1 1
1) SCENARIO-I CALCULATING ZONE shows that the execution of query took 550
POPULATION milliseconds without an index, whereas 53
milliseconds with a compound index for
The compound query incorporating this
data set I. However, for data set II, it took
scenario was executed against different
3093 milliseconds without an index, and
sizes of positional data generated by the
788 milliseconds with a compound index.
simulator to calculate the number of
While, for data set III, it took 6484
participants present in a specified zone to
milliseconds without an index and 1230
ensure the number of participants is not
milliseconds with a compound index to
exceeding the zone’s defined capacity.
execute. The line graph presented in Figure
Since, the number of participants exceeds
14 shows that without the compound index,
the defined capacity, chances of stampede
the query response time grows
and crushes increase as well. The
exponentially, whereas with compound
performance of a query was measured with
index it grows linearly.
respect to its execution time. Figure 13

FIGURE 13. Query-I Participants Present in a Specified Region Within a Certain Time
Frame
Department of Information Systems
69
Volume 3 Issue 1, Spring 2023
Big Data Framework for Crowd Monitoring…

FIGURE 14. Query-I Participants Present in a Specified Region Within a Certain Time
Frame
2) SCENARIO-II LOCATE A LOST and 53 milliseconds with a single field
INDIVIDUAL DURING HAJJ index. Whereas, for Data-II, it took 1596
milliseconds without an index and 23
A compound query, incorporating scenario
milliseconds with a single field index.
II, was executed against different sizes of
While, with Data III, it took 1596
positional data generated by the simulator.
milliseconds without index and 11
It intends to locate the lost individual from
milliseconds with a single field index. It is
his/her current position and through the trial
important to mention that the data model is
of the individual’s movement. Since, it is
designed carefully to accommodate this use
almost impossible to locate a lost individual
case. As a matter of fact, each individual’s
in such a large crowd. The performance of a
trail is stored in a separate file along with
query is measured with respect to its
relevant meta information. Thus, finding an
execution time and the evaluation results
individual’s trail and current location are
are presented in Figure 15 and 16,
possible very quickly with the help of
respectively. The query execution time for
index.
Data-I is 312 milliseconds without an index

FIGURE 15. Query-II Participants Present at a Certain Distance from a Specified Point

UMT Artificial Intelligence Review


70 Volume 3 Issue 1, Spring 2023
Nawaz et al.

FIGURE 16. Query-II Participants Present at a Certain Distance From a Specified Point
3) SCENARIO-III PARTICIPANTS milliseconds without an index and 7800
PRESENT AT A CERTAIN DISTANCE milliseconds with a geospatial index.
FROM THE PLACE OF THE INCIDENT While, for data III it took 52,138
AT THE TIME OF THE EVENT milliseconds without an index and 18,022
milliseconds with a geospatial index point.
A compound query, incorporating scenario
On the other hand, it can be observed from
III, was executed against different sizes of
Figure 18 that the execution time without
positional data generated by the simulator
indexing is approaching to exponential
to locate the individuals and their distance
trend. While, the execution time with index
from specified points, such as boundary
is slightly higher than the linear behavior. It
walls, pathways, entry, and exit points
is pertinent to mention here that this query
defined in the region. This query helps to
is not meant for live data monitoring, rather
monitor the individuals present around the
it will be executed on analytical engine for
place of incident at the time when the event
post-incident investigations. The
took place. It is pertinent to note that such
performance of a query is measured with
queries will be executed on analytical
respect to its execution time and the
engine and not on real-time monitoring site.
evaluation results are presented in Figure 17
The performance of a query is measured
and 18, respectively. Data I includes
with respect to its execution time and the
positional data of 10,000 participants
evaluation results are presented in Figure 17
observed with a time difference of 3 mins
and 18, respectively. Figure 17 shows that
resulting in 0.6 million records. In this case,
for data I, the query execution time was
the query took 312 milliseconds without an
6123 milliseconds without an index,
index, whereas 53 milliseconds with a
whereas 2347 milliseconds with a geo-
single field index to execute.
spatial index. For data II, it took 23,587

Department of Information Systems


71
Volume 3 Issue 1, Spring 2023
Big Data Framework for Crowd Monitoring…

FIGURE 17. Query-III Trail of a Participant

FIGURE 18. Query-III Trail of a Participant


VIII. CONCLUSION graphs have been employed to visualize the
crowd movement and density in different
A big data resource framework has been
zones and regions at a given point in time.
presented in the current study to store and
The proposed processing infrastructure
analyze positional data of large crowds.
comprises of a) MongoDB a distributed
This framework allows the crowd modelers
data store to store the data and process
to model large events and enables them to:
geospatial queries; b) Spark a distributed
a) design event-centric simulation by using
processing framework for performing real-
a generic context simulator to incorporate
time and predictive analytics; c) a data
large events; and b) to crowd monitoring
ingestion component to facilitate pre-
authorities in order to analyze current
processing of data utilizing filtration and
crowd conditions to prevent any
modeling; and d) a simulation component
problematic situation. A proof of concept
to generate data. The efficiency of the
application has also been implemented to
proposed framework was evaluated on
model and simulate large events, analyze,
simulated data by executing geospatial
and visualize crowd dynamics from
queries for some frequently occurring
different aspects. Whereby, heatmaps and
UMT Artificial Intelligence Review
72 Volume 3 Issue 1, Spring 2023
Nawaz et al.

scenarios including visualizing crowd presented at Center for Human


density, locating an individual, and finding Modeling and Simulation, Aug. 3,
people near the place of an already occurred 2007.
event. To this end, the impact of indexes on
[5] B. Ulicny and D. Thalmann, “Crowd
different queries has also been assessed,
simulation for interactive virtual
which considers their frequent expected
environments and VR training
usage.
systems,” in Computer Animation and
In future, this work can be extended further Simulation, N. Magnenat-Thalmann
by implementing its physical layer to gather and D. Thalmann, Eds., Vienna,
real data. Whereby, the operations of the Austria: Spring, 2001, pp. 163–170.
developed infrastructure would be assessed
[6] T. Weiss, A. Litteneker, C. Jiang, and
as well on a real event in order to
D. Terzopoulos, “Position-based real-
practically evaluate the efficacies and
time simulation of large crowds,”
limitations of this system.
Comput. Graph., vol. 78, pp. 12–22,
REFERENCES Feb. 2019, doi: https://doi.org/10.1016
/j.cag.2018.10.008
[1] U. Blanke, G. Troster, T. Franke, and
P. Lukowicz, “Capturing crowd [7] S.-K. Wong, Y.-H. Chou, and H.-Y.
dynamics at large scale events using Yang, “A framework for simulating
participatory GPS-localization,” agent-based cooperative tasks in crowd
presented at IEEE Ninth International simulation,” in Proc. ACM
Conference on Intelligent Sensors, SIGGRAPH Symp. Interact. 3D Graph.
Sensor Networks and Information Games, 2018, pp. 1–10, doi: https://
Processing (ISSNIP). Singapore, Apr. doi.org/10.1145/3190834.3190839
21–24, 2014.
[8] A. Trivedi and S. Rao, “Agent-based
[2] M. Versichele, T. Neutens, M. modeling of emergency evacuations
Delafontaine, and N. Van de Weghe, considering human panic behavior,”
“The use of bluetooth for analysing IEEE Transact. Comput. Social Syst.,
spatiotemporal dynamics of human vol. 5, no. 1, pp. 277–288, Jan. 2018,
movement at mass events: A case https://doi.org/10.1109/TCSS.2017.278
study of the ghent festivities,” Appl. 3332
Geogr., vol. 32, no. 2, pp. 208–220,
[9] I. Karamouzas, N. Sohre, R. Hu, and S.
Mar. 2012, doi: https://doi.org/
J. Guy, “Crowd space: A predictive
10.1016/j.apgeog.2011.05.011
crowd analysis technique,” ACM
[3] J. E. Almeida, R. J. Rosseti, and A. L. Transac. Graph., vol. 37, no. 6, pp. 1–
Coelho, “Crowd simulation modeling 14, Dec. 2018, doi: https://doi.org
applied to emergency and evacuation /10.1145/3272127.3275079
simulations using multi-agent
[10] S. Zheng and H. Liu, “Improved multi-
systems,” arXiv:1303.4692, 2013, doi:
agent deep deterministic policy
https://doi.org/10.48550/arXiv.1303.46
gradient for path planning-based crowd
92
simulation,” IEEE Access, vol. 7, pp.
[4] N. Pelechano, J. M. Allbeck, and N. I. 147755–147770, Oct. 2019, doi:
Badler, “Controlling individual agents https://doi.org/10.1109/ACCESS.2019.
in high-density crowd simulation,” 2946659
Department of Information Systems
73
Volume 3 Issue 1, Spring 2023
Big Data Framework for Crowd Monitoring…

[11] Z. Fa, W. Songchun, and S. Zhihua, 2017, pp. 1–5, doi: https://doi.org/
“Evacuation during violent attacks: 10.1145/3018896.3025140
Agent-based modeling and
[17] G. Lu, L. Chen, and W. Luo, “Real-
simulation,” presented at IEEE 9th
time crowd simulation integrating
International Conference on Software
potential fields and agent method,”
Engineering and Service Science,
ACM Transac. Mod. Comput. Simulat.,
Beijing, China, Nov. 23–25, 2018.
vol. 26, no. 4, pp. 1–16, Mar. 2016,
[12] Q. Wang, H. Liu, K. Gao, and L. doi: https://doi.org/10.1145/2885496
Zhang, “Improved multi-agent
[18] L. Hong, J. Gao, and W. Zhu, “Self-
reinforcement learning for path
evacuation modelling and simulation
planning-based crowd simulation,”
of passengers in metro stations,” Saf.
IEEE Access, vol. 7, pp. 73841–73855,
Sci., vol. 110, pp. 127–133, Dec. 2018,
June 2019, doi: https://doi.org/
doi: https://doi.org/10.1016/j.ssci.
10.1109/ACCESS.2019.2920913
2018.05.013
[13] S. Kim, A. Bera, A. Best, R. Chabra,
[19] Y. Yuan, “Crowd monitoring using
and D. Manocha, “Interactive and
mobile phones,” presented at Sixth
adaptive data-driven crowd
International Conference on Intelligent
simulation,” presented at 2016 IEEE
Human-Machine Systems and
Virtual Reality (VR), Greenville, SC,
Cybernetics, Hangzhou, China, Aug.
USA, Mar. 19–23, 2016.
26–27, 2014, doi: https://doi.org/10.
[14] N. A. Nawaz, N. S. Alghamdi, H. 1109/IHMSC.2014.71
Karamti, and M. A. Khan, “An
[20] K. H. Cheong, et al., “Practical
intelligent cluster verification model
automated video analytics for crowd
using wsn to avoid close proximity and
monitoring and counting,” IEEE
control outbreak of pandemic in a
Access, vol. 7, pp. 183252–183261,
massive crowd,” Comput. Model. Eng.
Dec. 2019, doi: https://doi.org/
Sci., 2022, doi: https://doi.org/10.
10.1109/ACCESS.2019.2958255
32604/cmes.2022.020791
[21] H. Hong, G. D. De Silva, and M. C.
[15] N. A. H. Nawaz, H. R. Malik, A. J.
Chan, “Crowdprobe: Non-invasive
Alshaor, and K. Abid, “A simulation
crowd monitoring with wi-fi probe,” in
based proactive approach for smart
Proc. ACM Interact. Mobil Wear
capacity estimation in the context of
Ubiquit Technol., vol. 2, no. 3, pp. 1–
dynamic positions and events,” Adv.
23, Sep. 2018, doi: https://doi.org
Sci. Technol. Eng. Syst. J., vol. 5, no. 6,
/10.1145/3264925
pp. 423–438, Nov. 2020, doi:
https://dx.doi.org/10.25046/aj050651 [22] N. A. Nawaz, A. Waqas, Z. M. Yusof,
A. W. Mahesar, S. and A, Shah, “WSN
[16] N. A. Nawaz, A. Waqas, Z. M. Yusof,
based sensing model for smart crowd
and A. Shah, “A framework for smart
movement with identification: An
estimation of demand-supply for
extended study,” J. Theoret. Appl.
crowdsource management using
Inform. Technol., vol. 95, no. 5, 2017.
WSN,” in Proc. Second Int. Conf. Inter
Things Data Cloud Comput., Mar. [23] N. S. Alghamdi, M. A. Khan, H.
Karamti, and N. A. Nawaz, “Internet of

UMT Artificial Intelligence Review


74 Volume 3 Issue 1, Spring 2023
Nawaz et al.

Things (IoT) enabled smart queuing Comput. Elec. Mathemat. Sci. Eng.
model to support massive safe crowd at Divis., King Abdullah Univ. Sci.
Ka’aba,” Alexand Eng. J., vol. 62, no. Technol, 2023.
12, Dec. 2022, doi: https://doi.org/10.
[30] P. Knob, V. F. de Andrade Araujo, R.
1016/j.aej.2022.06.053
M. Favaretto, and S. R. Musse,
[24] J. Weppner, B. Bischke, and P. “Visualization of interactions in crowd
Lukowicz, “Monitoring crowd simulation and video sequences,” in
condition in public spaces by tracking 17th Braz. Symp. Comput. Games
mobile consumer devices with wifi Digi. Entertain. Oct. 29–Nov. 1, 2018,
inter-face,” in Proc. ACM Int. Joint pp. 250–25, doi: https://doi.org/10.
Conf. Pervasive Ubiquit Comput: 1109/SBGAMES.2018.00037
Adjunct, Sep. 2016, pp. 1363–1371,
[31] S. N. Saeed, A. Abid, E. U. Waraich,
doi: https://doi.org/10.1145/2968219.
S. Atta, A. Naseer, A. A. Sheikh, and
2968414
E. Felemban, “iCrowd—A framework
[25] T. Kulshrestha, D. Saxena, R. Niyogi, for monitoring of identifiable crowd,”
and J. Cao, “Real-time crowd presented at 12th International
monitoring using seamless indoor- Conference on Innovations in
outdoor localization,” IEEE Transac. Information Technology (IIT), Nov.
Mob. Comput., vol. 19, no. 3, pp. 664– 28–30, 2016, pp. 1–7, doi: https://
679, Feb. 2019, doi: https://doi.org doi.org/10.1109/INNOVATIONS.201
/10.1109/tmc.2019.2897561 6.7880036
[26] F. Wu, M. Zhu, Q. Wang, X. Zhao, W. [32] I. Mahmood, M. Haris, and H.
Chen, and R. Maciejewski, “Spatial– Sarjoughian, “Analyzing emergency
temporal visualization of city-wide evacuation strategies for mass
crowd movement,” J. Visualiz., vol. 20, gatherings using crowd simulation and
no. 2, pp. 183–194, 2017, doi: analysis framework: Hajj scenario,” in
https://doi.org/10.1007/s12650-016- Proc. 2017 ACM SIGSIM Conf.
0368-4 Princip. Adv. Discret. Simulat., 2017,
pp. 231–240, doi: https://doi.org/10.
[27] T. H. Noor, “Behavior analysis-based
1145/3064911.3064924
iot services for crowd management,”
Comput. J., June 2022, doi: https://doi. [33] T. Weiss, “Implementing position-
org/10.1093/comjnl/bxac071 based real-time simulation of large
crowds,” presented at IEEE
[28] X.-C. Liao, W.-N. Chen, X.-Q. Guo, J.
International Conference on Artificial
Zhong, and X.-M. Hu, “Crowd
Intelligence and Virtual Reality
management through optimal layout of
(AIVR), San Diego, CA, USA, Dec. 9–
fences: An ant colony approach based
10, 2019, doi: https://doi.org/10.1016
on crowd simulation,” IEEE Transac.
/j.cag.2018.10.008
Intell. Transpor. Syst., 2023, doi:
https://doi.org/10.1109/tits.2023.32723 [34] I. Karamouzas, N. Sohre, R. Narain,
18 and S. J. Guy, “Implicit crowds:
Optimization integrator for robust
[29] A. Hamrouni, “Socially connected
crowd simulation,” ACM Transac.
internet-of-things devices for crowd
Graph., vol. 36, no. 4, pp. 1–13, July
management systems,” M.S. thesis,
Department of Information Systems
75
Volume 3 Issue 1, Spring 2023
Big Data Framework for Crowd Monitoring…

2017, https://doi.org/10.1145/3072959. 244–254, 2010, https://doi.org/10.


3073705 1109/TVCG.2010.33
[35] A. Malinowski and P. Czarnul, “Multi- [41] M. N. Zali, A. M. Ibrahim, I. Venkat,
agent large-scale parallel crowd S. Omar, and B. Belaton, “Crowd
simulation with nvram-based management: Simulation modelling
distributed cache,” J Computat. Sci., and visualization via fuzzy agents,” in
vol. 33, pp. 83–94, 2019, doi: AIP Conf. Proc., 2023, doi:
https://doi.org/10.1016/j.procs.2017.05 https://doi.org/10.1063/5.0110450
.036
[42] A. M. Al-Shaery, M. O. Khozium, N.
[36] A. Malinowski, P. Czarnul, K. Czuryo, S. Farooqi, S. S. Alshehri, and M. A.
M. Maciejewski, and P. Skowron, M. B. Al-Kawa, “Problem Solving in
“Multi-agent large-scale parallel crowd Crowd Management Using Heuristic
simulation,” Proc. Comput. Sci., vol. Approach,” IEEE Access, vol. 10, pp.
108, pp. 917–926, 2017, doi: 25422–25434, Mar. 2022, doi:
https://doi.org/10.1016/j.procs.2017.05 https://doi.org/10.1109/ACCESS.2022.
.036 3156008
[37] H. M. Al-Ahmadi, I. Reza, A. Jamal, [43] A. Tufail, “Pilgrim tracking and
W. S. Alhalabi, and K. J. Assi, location based services using RFID and
“Preparedness for mass gatherings: A wireless sensor networks,” Int. J.
simulation-based framework for flow Comput. Sci. Netw. Secur., vol. 18, no.
control and management using crowd 6, pp. 112–119, June 2018.
monitoring data,” Arab. J. Sci. Eng.,
[44] M. Martin and P. Nurmi, “A generic
vol. 46, Jan. 2021, pp. 4985–4997, doi:
large scale simulator for ubiquitous
https://doi.org/10.1007/s13369-020-
computing,” presented at 3rd Third
05322-8
Annual International Conference on
[38] M. V. Ramesh, A. Shanmughan, and Mobile and Ubiquitous Systems:
R. Prabha, “Context aware ad hoc Networking & Services, San Jose, CA,
network for mitigation of crowd USA, 2006, pp. 1–3, doi:
disasters,” Ad. Hoc. Net., vol. 18, pp. https://doi.org/10.1109/MOBIQ.2006.3
55–70, July. 2014, doi: https://doi.org/ 40388
10.1016/j.adhoc.2013.02.006
[39] J. Ondˇrej, J. Pettre, A.-H. Olivier, and
S. Donikian, “A synthetic-vision based
steering approach for crowd
simulation,” ACM Transac. Graph.,
vol. 29, no. 4, pp. 1–9, July 2010, doi:
https://doi.org/10.1145/1778765.17788
60
[40] S. Patil, J. Van Den Berg, S. Curtis, M.
C. Lin, and D. Manocha, “Directing
crowd simulations using navigation
fields,” IEEE Transact. Visualiz.
Comput. Graph., vol. 17, no. 2, pp.
UMT Artificial Intelligence Review
76 Volume 3 Issue 1, Spring 2023

You might also like