Keywords

1 Introduction

Sensing and monitoring of different aspects of a city (pollution, traffic, and heath) for improving the quality of citizens’ life is an essential component of building smart city environments. In recent years, Internet of things (IoT)-based crowdsensing has grown as a captivating approach for sensing and acquiring data for smart environments. Sensors and communication technologies incorporated in regularly utilized smart handheld devices (e.g., smartphones and tablet) and wearables are employed in crowdsensing systems. These devices typically include a large number of sensors, allowing them to acquire a variety of data such as image, audio, video, geo-location, and environmental information. In this context, these smart IoT devices could be utilized for effective monitoring of different dynamics, namely traffic and road condition, environmental pollution, smart home and health. More specifically, IoT-based crowdsensing is helpful to monitor and manage a city’s infrastructures as well as its resources efficiently based on the acquired sensor data.

IoT-based crowdsensing has several benefits over standard sensor networks that require the installation of a huge number of stationary wireless sensor units, especially in urban settings [1]. The widespread availability of smartphones and wearables, as well as a large number of built-in sensors, are unquestionably significant facilitators for the effectiveness of the crowdsensing paradigm. The sensors such as accelerometers, microphones, gyroscopes, and cameras are some of the examples that have aided the creation of a variety of applications in a variety of settings, including traffic and road conditions, environmental pollution, smart home, and health monitoring. A lot of crowdsensing-based applications were already designed and implemented in the past and are in use today. In order to provide representative examples, Nericel [2], Wolverine [3], and ScanTraffic [4] are some systems for traffic and road condition monitoring. For this purpose, these applications utilize smartphone-equipped sensors like accelerometers and GPS (global positioning system). On the other hand, applications like AirSense [5], HazeWatch [6], Common Sense [7], and GasMobile [8] develop light weight and low-cost devices for air quality assessment. These applications depend on citizens’ direct involvement in air quality monitoring, which necessitates the use of IoT-based modules to acquire data. Similarly, several applications are also available for health monitoring and smart home. HealthAware [9] and SPA [10] are examples of smartphone-assisted systems for health care and well-being. Dutta and Roy [11], Lee et al. [12], and Froiz-Míguez et al. [13] are some existing works on various smart home solutions.

In this chapter, the details of IoT-based crowdsensing applications for various city dynamics, available techniques, issues, and solutions are presented. A general four-layered architecture is presented in order to better illustrate different existing crowdsensing-based systems of different dynamics and their working methodology. More specifically, an IoT–cloud-based architecture is provided for this purpose consisting of four layers: sensing layer, communication layer, data processing, and application layer. Several existing crowdsensing-based systems are compared and analyzed in this chapter depending on various aspects such as techniques used, nature of the system, real-time behavior and types of sensors used. Moreover, some open research issues (namely incentives, reliability, privacy, security, and quality) and constraints are also presented to direct future researchers.

The rest of the chapter is organized in the following sections: Section 2 presents four applications of the smart environment of the city. Section 3 provides the system overview explaining the layered architecture and the components used in each layer. Section 4 elaborates the methodology and paradigms used for these applications. Section 5 highlights the current research issues for IoT-based crowdsensing and Sect. 6 concludes the chapter.

2 Smart City Application

2.1 Smart Home

In present days, improvements of low-cost sensors, remarkable progress in crowdsensing along with edge and cloud computing, and a new era of smart homes have been created. Previously in most of the cases, all smart home appliances used expensive controllers as the controlling mechanism. But with the use of IoT–cloud-based system, a wide range and less expensive solutions for smart home are possible. Moreover, in controller-driven systems, control operation is only possible in short-range communication. But for cloud-based systems, as we are using the Internet through our smartphones, it is possible to control the IoT device from anywhere in the world.

In [11], a prototype for smart building/home is generated using IoT, cloud, and fog computing. Different sensors like optical, ultrasound, and gas are used for automation and security of the building. Arduino-UNO is used as a cross-platform software for the connection of firmware attached to the sensors. In [12], an integrated solution for a cloud-based home management system is described. Home management system connected with surroundings generates a solution for community infrastructure, and a community broker is deployed to manage the architecture as a whole. A low-cost fog-based solution for smart home is presented in [13]. Due to fog computing, instead of cloud, the latency of the solution is greatly reduced. Other existing works for smart homes are presented in [14,15,16]. A review work on fog-based framework is presented in [17]. A detailed review of IoT-based application of smart homes and the related publication statistics are elaborated in [18].

2.2 Health Monitoring

Smart healthcare has gradually developed with the advent of paradigms evolved in computation and information technology. A real-time solution of the detection of medical emergencies can be possible through a smart healthcare system. Similarly, in the remote or ad hoc infrastructure, smart healthcare can be a solution in emergency medical situation.

There are several applications of smart healthcare systems like (i) Personalized smart device: in different standard smartwatches, like the Apple Watch and Galaxy Watch Active2, it can monitor heart rate and keep a step count and irregular heart rhythm notification; blood oxygen application is also available in these kinds of devices. It may be used for the recording of 30-second ECG (electrocardiogram). (ii) Safe home: smart homes for senior citizens and disabled persons with embedded medical facilities like medical sensors, and monitoring IoT devices. Deviations from the normal conditions are notified through the notification systems in cloud and appropriate authorities take the measures against the data. (iii) Patient monitoring system: patients can monitor their health conditions using different applications embedded in sensors and data are stored in cloud via IoT devices. The recommendation system of cloud analyzes the data and sends a warning in case of any anomaly from the normal distribution is recorded.

Several approaches of smart healthcare systems are proposed in different literature. In [19], the authors propose a health monitoring system based on certain basic parameters like heart rate, oxygen saturation, eye movement, and temperature. In [20], a patient and room conditions of the patients are monitored using an IoT environment. In [21], a survey on different aspects of smart healthcare is presented. This paper also discussed the threats related to security and data privacy of crowdsourcing-based health monitoring systems. In [22], using two smartphones a heart monitoring system is proposed. Several other applications of smart health monitoring systems are proposed in several research papers [23,24,25,26].

Another approach of smart healthcare systems is personalized health monitoring system known as digital twin. Combining machine learning and artificial intelligence in health centers led to the use of human health digital twin, also referred to as patient’s digital twin. In [27, 28], a framework for health twinning is designed for the citizen health and fitness. In [29], a smartphone-based digital framework is designed for smart city. Review works on health twinning have been presented in different recent literatures [30,31,32].

2.3 Traffic and Road Condition Monitoring

One of the key problems that the city authorities face is managing and tracking city traffic and road conditions. Specifically, effective monitoring of several dynamics like traffic flow, traffic density, aggressive driving, traffic jams and road conditions is proved to be a very important and challenging task these days. For instance, due to inadequate managing and tracking of city traffic, road traffic accidents (RTA) have become one of the world’s major causes of injury and death, that not only responsible for the loss of human lives but also result in considerable economic losses. According to the World Health Organization, RTAs claim the lives of about 1.35 million people per year. Additionally, non-fatal accidents affect approximately 20–50 million more individuals, with most of them resulting in disability due to injury. In the above-mentioned context, constant assessment of traffic and road conditions at a large scale is necessary for citizens and policy makers for better decision-making.

Several existing works [2,3,4, 33, 34] focus on building effective road traffic and road condition monitoring systems based on IoT devices. In [2], Mohan et al. developed a system called Nericel in order to monitor road and traffic conditions of a city using the inbuild sensors (e.g., accelerometer, and GPS) of a smartphone. They showed that Nericell could be used for monitoring chaotic traffic conditions (like honking and braking). Another interesting system named Wolverine [3] is presented by Bhoraskar et al. for estimating traffic and road conditions. Specifically, they utilized a variety of smartphone-equipped sensors (accelerometer, magnetometer, and GPS) for identifying congested traffic as well as road conditions (e.g., speed bumps).

Hull et al. introduced a mobile computing framework called CarTel [33] that acquires various sensor data from On-Board Diagnostic (OBD-II) interface on vehicles to monitor their movements. The task to collect, process, distribute, and view data in this environment has been simplified considerably by CarTel. In order to build an Intelligent Transport System (ITS), Alessandrelli et al. designed and implemented a system called ScanTraffic [4] using a network of smart cameras. For parking monitoring, the system collects vehicle flow data and parking area occupancy status. In [35], Thiagarajan et al. present a framework named VTrack for estimating road travel times based on smartphone sensors. Specifically, they focus on providing an energy-aware solution for traffic delay prediction. Moreover, there are several research works on estimating traffic flow [36] and driving patterns [34, 37]. The details of the applications are provided in Table 1 in terms of their contributions, end-to-end system, real-time monitoring, reference, and year.

Table 1 Details of the smart city applications for pollution monitoring, traffic and road condition monitoring, health monitoring, and smart home

2.4 Pollution Monitoring

The adverse effects of rapid urbanization and population growth have negative environmental consequences. The existing works highlight that urban air and noise pollution have become a growing source of concern for both the citizens and policymakers around the world [38,39,40,41,42]. In this context, several research activities and community-based initiatives are focused on pollution monitoring in smart cities. More specifically, various IoT-based applications are developed for continuous as well as high granular monitoring and mapping of air and noise pollution levels in smart cities. This subsection provides the details of existing IoT-based pollution monitoring applications.

Several approaches for air quality monitoring in smart cities are described in [5, 43,44,45,46,47]. To illustrate representative examples, the applications like AirSense [5], HazeWatch [6], Common Sense [7], and GasMobile [8] develop light weight and low-cost devices for urban air pollution monitoring. It is worth noting that those systems rely on the active participation of citizens for such monitoring where they need to carry IoT devices for collecting air pollution data. Also, there exist some systems like CUPUS [48] that makes use of wearable sensors to sense ambient air quality levels. Mobile air quality sensors, which are mounted on the tops of public transportation vehicles, are another important research direction that is currently being investigated [49]. Here, air pollution data are recorded as the vehicles travel around the city. Most of the above-mentioned applications employed cloud services from various cloud computing platforms (e.g., AWS—amazon web services [50], GCP—google cloud platform [51]) to store and analyze high granular data for exploring pollution dynamics of the city. Existing literature [52] also assesses urban air quality by combining traditional monitoring stations along with IoT-based air pollution monitoring. Similar to the air quality monitoring, several urban noise pollution monitoring applications [53,54,55,56] are available that acquire ambient sound levels to study noise pollution dynamics of the city. These applications mainly utilize citizens’ smartphones as IoT devices, which citizens are encouraged to carry for urban noise pollution data collection. For instance, an application called NoiseTube [53] uses GPS-equipped smartphones to collect geotagged ambient noise measurements as well as contextual inputs from the citizens. They provide PoI (point of interest) based pollution maps for visual assessment of urban noise pollution. Similarly, in [54], the authors developed an end-to-end framework called Ear-Phone for participatory-based urban noise mapping. Becker et al. created a smartphone application named the WideNoise [55], which allows citizens to participate in noise measurement activities. It was created to collect both the objective (i.e., ambient noise) and the subjective (feelings, opinions, and so on) data. Also, there are real-time noise monitoring systems like NoiseSPY [56] in which the developers performed experiments and displayed noise pollution maps. Finally, there are unified frameworks [57, 58] that can combine both air and noise pollution monitoring applications for smart city. For instance, in [58], an urban sensing system named JUSense combines applications like NoiseSense (for noise monitoring), and AirSense (for air pollution monitoring), to gain benefits from their interactions.

3 System Overview

This section presents the details of crowdsensing systems [11, 63, 64] that are used to study various dynamics of a city (e.g., pollution and traffic condition). As shown in Fig. 1, the crowdsensing system can be introduced as a layered architecture. The major parts (i.e., layers) of the architecture are arranged as follows. The bottom layer is the sensing layer that mainly includes the city, its dynamics, and the sensors used to sense those dynamics. The communication layer is the second layer of the architecture, which consists of communication technologies for delivering data from sensors. Data processing layer is the third layer, which has responsibility for the storage, analysis, and processing of the data that has been collected. The last layer is the application layer that includes top-level features like participant allocation, assignment of sensing tasks, and services. The following subsections present the major components of different layers in detail.

Fig. 1
A set of diagrams illustrates crowd sensing system framework. The diagrams are rectangular shapes with images and labels inside of them. Image 2 is labeled sensors I O T devices, image 3 is labeled city dynamics. On the left side are arrows, top arrow is labeled communication layer, the bottom arrow is labeled sensing layers.

Framework of crowdsensing system

3.1 Sensor

The sensors used for data collection are the heart of any crowdsensing-based smart city application. The sensing layer involves data acquisition from different dynamics (e.g., traffic dynamics, health dynamics, pollution dynamics, home dynamics, etc.) through IoT devices including smartphones. Specifically, smartphone-equipped sensors along with the specialized sensor modules are employed for the sensing tasks for various applications. Examples of smartphone-equipped sensors include microphones, magnetometers, GPS, gyroscopes, proximity sensors, accelerometers and light sensors. On the other hand, IoT-based external sensor modules often expand the sensing capacity of a smartphone by adding sensing capabilities that the smartphone alone does not provide. Table 2 presents the details of smartphone sensors as well as external sensors used in various applications of different city dynamics.

Table 2 The details of smartphone sensors as well as external sensors used in various applications of different city dynamics

3.1.1 Smartphone-Based Sensing

In this subsection, we will discuss how smartphone-equipped sensors are utilized to monitor different dynamics of a city.

As given in Table 2, the accelerometer and gyroscope sensors’ data were extensively studied as a potential means of developing methods for detecting traffic and road surface irregularities [3, 65]. Most existing traffic and road condition monitoring approaches require that the smartphone be kept in the proper orientation, with its axes aligned with the vehicle’s axis. The 3-axes accelerometer’s data indicate the acceleration of the vehicle in all three directions. Along with the accelerometer sensor, the GPS sensor is used in many applications for sensing the current location estimates (latitude and longitude) of the vehicle [66, 67]. Moreover, images captured from smartphone cameras are used in various applications to monitor road surface anomalies [65]. Similarly, in the case of city pollution monitoring, smartphone-based sensing is utilized to sense the ambient environment. For instance, environmental sound levels are collected using the microphone sensor of a smartphone along with the GPS location for ambient noise pollution monitoring and mapping. Smartphone sensing can also be used along with the IoT-based external sensor modules for monitoring citizens’ air pollution exposure (details are provided in Sect. 3.1.2). For example, in [5], ambient air pollution data (PM2.5 and PM10) are collected using DSM501 sensor along with the smartphone data (GPS, user context, and timestamp) for spatial and temporal air pollution monitoring. In smart home systems, different cross-platform software packages like Arduino IDE are used for code editing and compilation of different firmware attached with the sensors. It can be used as the web service and can be attached with smartphones with different applications. In health monitoring systems, smartphones can act as sensors or a sensor can be attached into smartphones. As the mobile device has an advantage of being easily carried out by patient all time, it is easy to collect data on 24X7 basis without restricting the movement. For example, in [22], two mobile phones are used to collect the ECG data, and data is delivered to the system, which enables an online detection (in the present scenario, holter monitoring is used to record continuous ECG data, which is very inconvenient to carry and the data can be retrieved only when all data are recorded and analyzed by a medical person; therefore, a real-time detection or measure of any anomaly is not possible). In [28], a smartphone-based twin network for fitness management of athletes is generated. An app is created in the framework, where athletes have to submit various inputs like their food, rest, practice schedule, and also some qualitative quantity like mood, for the analysis. Similar smart healthcare systems for the citizen based on smartphones are generated in [29], where five sensors collect the data and send the data in smartphones. In [68], the Google fit app is used for data collection, and smartphone sensors are used to capture the input data. Some smartphone-based data collection software packages used for health monitoring are described here: (i) Teamscope: it can be used in Android, iOS, and web applications. It is a secure and user-friendly app for the collection of sensitive clinical data. It is cross-platform software and has a high-security feature; (ii) Open data kit: it is open-source software used in Android applications. It is open-source and free software. A large community support is available for this software; (iii) Kobo ToolBox: it is free and open-source software used in Android and web. It is widely used in nonprofitable organizations for the collection of patient data; (iv) REDcap: this software can be used in Android, iOS, and web application. It is used for secure electronic data capture; (v) Magpi: it is a mobile data recording app used in Android and iOS. It can be used to generate excel data from different unstructured input; (vi) Jotform: it is used in Android, iOS, and web to collect different data types and organize the data. It can generate an alert system or notification to the end user; (vii) Survey CTO: it is a reliable, secure, and scalable mobile data collection app that can be used in Android and web for researchers and professionals; (viii) CommCare: it is a data collection platform in Android and web. It is widely used for medical data collection. The platform supports both cross-sectional and longitudinal data and data collection through web and is very user friendly.

3.1.2 Sensing Using IoT-Based External Sensor Module

IoT-based dedicated sensor modules are also popularly used for sensing various city dynamics. In the case of monitoring road and traffic conditions, a set of sensors/devices like on-board diagnostic (OBD) scanners, GPS, accelerometers and cameras, are installed in cars for monitoring the movements and behavior of vehicles. Note that OBD is a tool that can continuously monitor the status of the vehicle. Similarly, for different air pollution monitoring applications, several IoT-based external sensor modules are proposed in the literature. In [5], an IoT device called AQMD (air quality monitoring device) is developed that consists of a gas sensor (MQ-135) and a Bluetooth module (HC-05). Note that the MQ-135 is an air quality sensor that can detect the presence of various gaseous pollutants such as NH3, CO2 and NOx. There exist several other IoT-based systems such as HazeWatch [6] and JUSense [58] that also use MQ-135 for acquiring air quality data. Sensor modules like GP2Y1014AU0F and DSM501 are mainly used as dust sensors for measuring particulate matters (PM2.5, PM10). IoT-based external sensor modules containing MiCS-OZ-47 are used for the purpose of sensing the pollutant O3. Laser (used for security), DHT 11 (temperature and humidity), MQ2/MQ6/MQ7/MQ9 (gas sensor), and flame sensor (used for fire security) are some examples of commonly used sensors for smart homes.

In smart patient monitoring systems, sensors collect data from the patients and send it to some Wi-Fi systems, from where data are collected and processed in cloud. Smartphones are generally used for data collection and security. Some sensors like smartwatch are directly connected with mobile phones, and the information like heartbeats is continuously monitored through smartphones. Another application of mobile smartphones is that to collect data when patients are in a mobile state. Pressure sensors (used to measure blood pressures, almost similar to clinical meter but with a digital display), blood sugar monitoring sensors (used to collect data from blood about the sugar level), and pulse oximetry sensors (measure oxygen saturation and pulse rate) are commonly used sensors used to measure health condition in home. Force sensors (used on dialysis machine to monitor pressure and dialysate weight), thermistors (temperature control), and airflow sensors (detection of ultra-low levels of oxygen) are some of the sensors used in medical facilities. These sensors are Wi-Fi connected, and the data are warehoused in cloud/server for analysis.

3.2 Communication Technologies

The communication layer, depicted in the framework of Fig. 1, contains technologies and methodologies for delivering sensing data to the cloud from smartphones and other IoT devices. Smartphones and IoT-based external devices generally have many radio interfaces (like Bluetooth and Wi-Fi), and there are numerous optimizations that may be made to make the communication interfaces more effective such as avoiding repeated sensor measurements or encoding unnecessary data. The communication technologies could be broadly divided into two classes, namely (i) infrastructured and (ii) infrastructure-less. Cellular and WLAN (wireless local area network) are examples of infrastructured technologies, in which the network depends on the base stations or access points to create a communication connection. On the other hand, technologies like Bluetooth, Wi-Fi-Direct and LTE-Direct, come under infrastructure-less category to enforce proximity-based communication.

3.3 Computation Layer

The computation layer in a crowdsensing framework is mainly responsible for data management in cloud and data processing. The storage, format, and dimension of collected sensor readings are different aspects of data management. Both databases and data storage are usually employed to store the data collected via smartphones and external IoT devices. The data storage could be centralized or distributed depending on the applications. The format of the data on the other hand indicates whether the data is structured or unstructured. Another aspect of data management involves the data dimension that is associated with the types of data acquired. For instance, multidimensional data involves different types of data from different sensors; e.g., accelerometer data of vehicle and road segment images from dash camera creates a multidimensional dataset for monitoring road condition dynamics. A particular type of sensor, on the other hand, generates single-dimensional data, such as data produced by air quality sensors for air pollution dynamics.

In crowdsensing-based applications, data processing is a critical step. Preprocessing, analysis, and postprocessing are the three major components of data processing. Before analysis, preprocessing tasks are conducted on the acquired data. Frequently used preprocessing tasks in crowdsensing systems involve missing value imputation, context-aware data cleaning, calibration, and map-matching. Through a variety of methodologies, data analysis tries to extract and disclose valuable information. These methodologies generally include various statistical, machine learning and deep learning techniques. Also, several postprocessing tasks are performed for predictive analysis. For instance, in the case of air pollution dynamics, forecasting air pollution levels can be considered as a postprocessing task.

4 Methodologies

In this section, the details of the methods used in data preprocessing, analysis, and postprocessing is provided.

The raw sensor data from various city dynamics suffer from missing sensor readings due to the factors like power disruptions, device failure and irregular maintenance. The methods of imputation are roughly classified into two categories: univariate methods (use single predictor variable to estimate the missing values) and multivariate methods (use multiple predictor variables to estimate the missing values). Unconditional mean (UM), median (MD), last observation carried forward (LOCF), next observation carried backward (NOCB), auto regressive (AR), and auto regressive integrated moving average (ARIMA) are some examples of univariate methods of missing value imputation. On the other hand, several machine learning-based multivariate methods of imputation exist such as random forest (RF), artificial neural networks (ANN) and k-nearest neighbors (KNN). Now, context-aware data cleaning is a preprocessing task to eliminate inaccurate sensor readings not collected in the proper sensing context. Existing literature highlights that machine learning algorithms could be used to first identify the sensing contexts. If an identified sensing context is not appropriate, then the corresponding sensor readings are eliminated to enhance the quality of data. For example, in [72], Rana et al. developed a context discovery module using k-nearest neighbor (kNN) algorithm for noise pollution monitoring in urban areas. Now, calibration is also needed as a preprocessing task to estimate actual sensor readings from the responses of low-cost IoT devices. It is because low-cost IoT devices may not always provide precise, high-quality readings. The existing literature usually develops calibration models by estimating a relationship between the sensor readings and actual ground truth measurements [58]. In applications like pollution monitoring or traffic and road condition monitoring, map-matching is used as a preprocessing procedure that involves mapping raw sampling coordinates (i.e., places where sensor data samples were taken) onto existing road networks. Interactive-voting-based technique [73], probabilistic approach [74], force-directed technique [75], and feature-based technique are some examples of map matching approaches.

In the previous works, after data preprocessing step, several predictive methods are usually employed to perform analysis on the preprocessed data. The statistical, machine learning and deep learning techniques are popularly used as predictive methods. These methods are used to infer knowledge, spot patterns, and discover trends. Environmental pollution monitoring, traffic and road condition monitoring, smart health and smart home, are some of the city dynamics where the crowdsensing-based applications use these techniques. For instance, the application Wolverine [3] uses machine learning techniques in traffic and road condition monitoring. Specifically, they use models like K-means clustering and Support Vector Machine (SVM) to detect road bump, vehicle braking, etc. Statistical techniques like spatial and temporal interpolation are used in many applications of city pollution monitoring for air and noise pollution mapping [1, 58]. In [1], IDW (inverse distance weighting)- and OK (ordinary kriging)-based interpolation techniques are proposed for spatially continuous urban noise pollution mapping. In the case of smart health and smart home dynamics, machine learning- and deep learning-based techniques are frequently utilized for various event detection. For example, in [76], fall detection is performed using machine learning (SVM and NB) and deep learning models. Finally, postprocessing techniques are sometimes employed for predictive analysis, such as forecasting future values. In various application domains of city dynamics, statistical models (ARIMA, Seasonal ARIMA, etc.) as well as deep learning models (recurrent neural network (RNN), long short-term memory (LSTM), bidirectional-LSTM, etc.) are popularly used for forecasting future values [39,40,41].

5 Research Issues

In IoT-based smart sensing, there are several unresolved issues that required attention from the researchers. For crowdsensing, data are collected from user level, which is an uneven distribution set. It is important that users should participate in data collection, but it is obvious that everyone will not be enthusiastic in a similar manner. Therefore, it is required to device incentive strategies in such a way that quality information can be collected. Now uneven distribution of smart devices for data collection may reduce the reliability of the system. For example, smartphone sensors may vary in a wide range depending on the pricing. Security of the data of the crowd sense system is another research issue to be addressed. As data are stored in public or private cloud, it is difficult to maintain the security of the information both in plain or cryptic text. Sensitive data like medical records should be secured in IoT-based systems. Therefore, lots of research work addressed cloud security. Another research issue in this area is to maintain the quality of service (QoS) of the system. In each layer of the architecture, some quality control measures have to maintain, and it is a challenge for the researchers to improve the standard.

5.1 Incentive

As previously stated, crowdsensing (also known as participatory sensing) is a new paradigm of sensing in which participants acquire high granular data using IoT devices such as smart handheld devices. These data can then be used to investigate different aspects of a city’s dynamics (e.g., traffic condition, urban air and noise pollution and road condition). In the case of crowdsensing-based systems for collecting sufficient data for such investigations, active participation of a large number of participants is necessary. However, in crowdsensing-based monitoring of city dynamics, users incur costs because of the energy requirement, bandwidth requirements for sensing, processing, and uploading of data. Therefore, the users might not be able to contribute their resources as the cost issues demotivate them from actively participating in the sensing. In this context, a satisfactory reward or incentive would compensate users and encourage them to participate in the sensing process. An effective reward mechanism would therefore have an important role in sensing and overall performance of the crowdsensing systems for monitoring various city dynamics.

Several incentive strategies [77,78,79,80] for crowd/participatory sensing-based frameworks have been developed in the literature to motivate participants in the sensing task. It is observed that most of the existing incentive mechanisms come up with a game theoretic solution. For instance, in [80], Yang et al. introduced an incentive mechanism called IMCC based on a Stackelberg game. Some auction-based game theoretic models such as reverse auction and double auction-based models are also frequently used. Lee et al. [77] developed a dynamic price incentive mechanism with virtual participation credit using a reverse auction. In [81], Wang et al. developed a quality-aware, truthful, individual rational, and budget-balanced incentive mechanism called MeLoDy based on the reverse auction. They consider long-term characteristics of workers’ quality that can dynamically change over time. Table 3 provides a detailed list of existing literature that focuses on the issue of incentives in crowd/participatory sensing-based systems. Some attempts are also made to develop incentive mechanisms for air pollution monitoring [82], health monitoring [83] and traffic monitoring [84].

Table 3 A detailed list of works that focus on the issue of incentives, reliability, quality, privacy, and security in crowd/participatory sensing-based systems

5.2 Reliability

In crowdsourcing-based monitoring, reliability is an important criterion. In crowdsensing, one of the components is human entity. Therefore, the sensing can be biased, judgmental, or even mischievous [85]. For real-time crowd sense systems, another parameter that is connected with the reliability of the architecture is the response time and variation in delay. As the system includes different layers in the architecture, it faces congestion and other communication delays in the system. Delay can be reduced using larger bandwidth, load balancing, and other mechanisms, but variation in delay may cause a reduction of the reliability of the system. Different methodologies for assurance of reliability in crowdsensing-based systems are proposed and tested. Though the reliability of the system is very application specific and no common framework is emerged to date, a lot of research work has been done in that direction. In [86], a trust evaluation mechanism is proposed. In [87], a comprehensive survey on reliability based on the game is done. Another factor that may cause a lack of reliability is the sensor device used for input data collection. Unidrive is a consumer cloud storage application enhances the reliability of the cloud service [88].

5.3 Privacy and Security

The crowdsourcing-based mechanisms usually suffer from potential privacy and security problems because sensitive data of the users are disclosed. For instance, the sensed data might include location information that could implicitly reveal the mobility of a participant. Security refers to preventing illegal access, use, alteration, or damage of the acquired data. In addition to security, a crowdsourcing-based system should protect the privacy of both the users and the crowdsourcer. In most cases, privacy refers to an entity’s ability to choose whether, when, and to whom its information is shared or revealed. Hence, an effective crowdsourcing system should be able to handle security and privacy threats, keep the acquired data and processing results out of the hands of unauthorized users, and also keep the system running normally. Issues of security and privacy are becoming increasingly important and challenging in crowdsourcing systems because of human involvement, dynamic network topology and heterogeneity in various communication networks.

The scientific community has spent considerable time and effort in the last few years looking into privacy and security concerns [89,90,91,92,93,94]. Ding et al. [95] present an application for s-Health (i.e., smart health) and the associated privacy issues. The privacy-aware solution enables them to easily deal with people who have respiratory disorders by suggesting low-pollution paths for individuals in order to alleviate their respiratory-related issues. In [96], Xie et al. proposed a system called PAMS for privacy-aware traffic monitoring. They demonstrated that the collected information can preserve the location privacy of drivers while ensuring effective traffic monitoring. In [97], Zavalyshyn et al. developed a privacy-aware framework called HomePad for home environments. The framework intends to offer the users with control over how applications access and process confidential data acquired by smart devices (such as web cams), as well as to stop applications from running unless they adhere to the privacy constraints set by the users. Also, several other existing works [98,99,100] focus on the security aspect and privacy of IoT-based health and home environment. Some IoT-based pollution monitoring applications are also focused on privacy issues of the end users [56, 101]. In [27], the authors propose a security system in eight levels, which consider security in the system level, network security, users’ personal privacy, information, and application security. Another security system for patient body monitoring system is proposed as SecPMS [102], where a cryptosystem is generated both on user data and sensor data.

5.4 Quality

Quality of service is used to measure the overall service we are delivering through the smart system we are using. It depends on each component used in the system hierarchy. In crowdsourcing, input data are collected from sensors and transferred through a wireless communication system. Data of the crowd sending systems are generally stored in the cloud system, where the quality of service is dependent on the cloud service provider. Moreover, a huge data is processed for analytics in crowdsensing, which can lose the reliability of personalized information. Therefore, to maintain the overall quality, it is required to standardize each level.

5.4.1 Standardization of Sensor

Sensors used for collecting data input from the users are not very standardized in the present scenario. They are different proprietary devices and generate different standardization. ISO/IEEE11077(X73) is a standard protocol for the standardization of the sensors. But only a few devices are using this standardization. Therefore, the other devices have to be standardized. A proper calibration is required for this purpose. A standardization mechanism for sensors and communication link compliant with X73 is discussed in [27]. Quality control of sensors is a prospective research domain for future crowdsensing.

5.4.2 Standardization of Communication System

As discussed in the previous section, the hierarchy uses different kinds of communication link/systems. It can be structured wireless or mobile systems, or unstructured systems. For the unstructured communication, links are not always standardized and may cause interference. For example, Wi-Fi communication may create resonance to other devices used in medical infrastructure. This can be solved using other wireless technologies like Zigbee.

5.4.3 Expert System

Expert recommendation systems for the crowdsourcing data systems should be reliable and secured. The service we are delivering in crowdsensing is very much dependent on the expert systems we are generating. Statistical approaches or machine learning systems are dependent on the input feed used to train or learn the system. It cannot have 100% accuracy. Therefore, for surveillance systems, it can be used in a proper manner but where a critical decision has to be taken, a manual intervention along with the recommendation of an expert system is required. For statistical-based approaches, better interpolation and in machine learning, proper learning and training can deliver a precise recommendation system. Proper feedback from the user level also assures quality service from an expert system.

5.4.4 Cloud Infrastructure

Cloud services used for infrastructure services are not always maintained by all service providers. Moreover, security and privacy of user information are two important issues for quality services. There are different approaches like game theoretic approaches and load distribution algorithms to ensure the quality of services of cloud infrastructure [103]. Cloud federation is a concept where cloud providers share unused resources to generate a fault-tolerant system. It is important for the crowdsourcing system to access a reliable and fault-tolerant cloud hierarchy for storage and computation. In [104], the authors propose a proactive fault-tolerant system for enhancing cloud federation to ensure the reliability of the crowdsourcing system for a smart environment.

6 Conclusion

Crowdsensing and its application can be emerged as key components of the smart environment of a city. This chapter presents the details of crowdsensing systems that are used to explore city dynamics in forms of four applications: smart homes, smart health monitoring systems, air and noise pollution monitoring systems, and road and traffic condition monitoring systems. In this chapter, we introduce the crowdsensing system in a layered architecture. The lowermost layer is the sensing layer, which mainly includes the city, its dynamics, and the sensors used to sense those dynamics. It can be defined as the data collection layer. Both smartphone sensors as well as connected sensors are elaborated. The communication layer is the second layer of the architecture, which consists of communication technologies for delivering data from sensors. The third layer is the data processing layer, where all data preprocessing, analysis, and expert systems are generated. The topmost layer is the application layer that generates the services through the crowdsourcing systems.

In this chapter, we have classified sensors into two divisions: smartphone sensors, where built-in sensors of smartphones are used, and wearable sensors that are connected through IoT devices. A detailed discussion on the sensors generally used in four applications is presented. In the communication layer, both infrastructured and infrastructure-less wireless communication are used. In the computation layer, data is preprocessed and analyzed, and results are generated with feedback. All these components are discussed in the methodology section. Research issues related to crowdsensing are also presented in the chapter.

In crowdsourcing-based applications, paradigms like the IoT, mobile-based or Wi-Fi-enabled sensors, cloud, edge and fog computing, and big data analytics generate a big leap over existing technologies. Crowdsourcing is a concept where inputs are generated by the citizens of smart city collectively. Shared data generates a recommendation system. Sensors are utilized to acquire the data from the individuals. These sensors are cheap, easy to use, generally movable in nature, and connected or communicate with the smartphone device. These collected data are stored in cloud servers, and analytics are derived in the server. For thin client services, analytics can be performed in IoT devices also (fog or edge computing), which is very useful in real-time operation. Privacy, security, and quality of services are of great concern in the real-life implementation of crowdsensing-based infrastructure. Cloud service providers, public or private, are prone to security attack and a lack of data secrecy. Sensitive data can be hacked from the system. Another issue is the power consumption of IoT devices and consequent harm to the environment. Therefore, green computing is another aspect, where the focus should be concentrated.

An in-depth analysis of the chapter focuses and elaborates the scope, architecture, and recommendation system relevant to crowdsensing-based applications in smart city. The review in each topic of concern can serve as a reference for future research work in this area. Moreover, in the future, the research issues and challenges identified in this chapter may be useful to the research community in developing more robust IoT–cloud-based crowdsensing systems.