Skip to main content
Springer Nature - PMC COVID-19 Collection logoLink to Springer Nature - PMC COVID-19 Collection
. 2022 Jan 29;40(4):1009–1027. doi: 10.1007/s00354-021-00147-x

Shared Mobility Intelligence Using Permissioned Blockchains for Smart Cities

Shajulin Benedict 1,
PMCID: PMC8799448  PMID: 35125611

Abstract

Suggesting tourists/residents about the pollution-free locations and controlling the number of passengers in a shareable vehicle have become crucial tasks to smart city officials as they plummet health issues such as asthma or COVID-19. Recently, city authorities, transport logistic designers, and policymakers have tasked researchers/entrepreneurs to innovate in shared mobility systems. This paper proposes a Blockchain-Enabled Shared Mobility (BESM) architecture that allocates seats to residents/tourists in a shareable vehicle based on air quality and COVID-19 information of traveling locations. BESM involves smart city authorities, vehicle owners, hospital authorities, and residents using permissioned-blockchains to collaboratively decide on allocating travel seats. Experiments were carried out at the IoT Cloud research laboratory to manifest the allocation of seats. For instance, BESM excluded in allocating seats to asthma patients and limited the number of travelers in the cities where COVID-19 cases or pollution levels were higher in numbers using BESM. The pollution levels of cities were monitored using air quality monitoring sensors or predicted using a few prediction algorithms such as Random Forests (RF), Linear Regression (LR), Quantile Regression (QR), Ridge Regression (RR), Lasso Regression (LaR), ElasticNet Regression (ER), Support Vector Machine (SVM), and Recursive Partitioning (RP). In succinct, the article unfolded the primordial importance of the proposed BESM architecture for promoting efficient shared mobility aspects in smart cities.

Keywords: Blockchain, Intelligence, Machine learning, Smart city, Smart transportation, Tourism

Introduction

Owning vehicles for mobility no longer seems to be a major attraction for smart city officials/residents, given the hype around shared mobility advantages, especially when the near future automated vehicles are concerned. Sharing transportation services and vehicles can reduce the vehicle kilometer demand in major cities; it promotes productivity, improves vehicle utilization, increases economics, and lowers pollution by reducing traffic congestions.

Significant segments of researchers and startup enthusiasts reportedly contribute to enabling innovations in the existing shared mobility systems by foreseeing the substantial reduction in costs involved in accessing vehicles. For instance, innovations in shared mobility gave birth to several types of shareable vehicles: bike-sharing, scooter sharing, car sharing, bus sharing, ride sharing, public transiting, and so forth.

Recently, smart city policymakers and urban sustainability teams have ushered in some promotional schemes to innovate on-demand shared mobility practices. For instance, the Innovation and Knowledge acceleration program of the USA has strategically planned to use 100000 cars on-demand [25]; NITI Aayog of India has decided to reduce the overwhelming interests of citizens to own private vehicles by foreseeing the congestion/health hazards of emerging smart cities such as Bangalore, Chennai, Delhi, and Mumbai [34]. Precisely, there is a need for promoting shared mobility practices in cities to reduce pollution/congestion.

In fact, air pollution because of vehicles is a challenging health issue for the tourists/residents of smart cities. Notably, using deprecated vehicles, poor-quality fuels, and delirious driving practices could adversely increase air pollution rates in cities, especially in traffic-congested cities. When fuel burns, NO2 is formed which acutely affects the humans’ lung functions. Consequently, the asthma and bronchitis patients avoid urban living or city trips; besides, the patients are driven to lung or similar cancer diseases—a long-standing health concern to the urban residents. In addition, air pollution due to the emission of NO2 from vehicles remains a toxic element to plants which reduces the growth rate of plants or crop productions.

One aspect that has been widely practiced in many countries is to adopt policies and regulations to counteract the air pollution due to vehicles. For instance, Air Pollution Control Act, July 1955, was extended with several amendments, including the motor vehicle control act, by the US Congress; an Air Act of the parliament of India [3] was strengthened with several enforcement schemes to improve the air quality standards of over 102 cities that are below the National Ambient Air Quality Standards set by the US [33]; emissions of NO2 were controlled by Euro 5/6 regulation 715/2007/EC in Europe [18]. Unfortunately, not all countries are diligent to enforce the laws and procedures to a practical extent, especially in developing countries, owing to the poor availability of control measures or rigorous enforcement practices.

This article proposes a Blockchain-Enabled Shared Mobility (BESM) architecture that involves smart city authorities, vehicle owners, hospital management, and residents/tourists to decide on collaboratively utilizing a shareable vehicle in smart cities. BESM collaboratively allocates seats to travelers in a shareable vehicle depending on the air quality and COVID-19 cases of traveling destinations. The air quality information is obtained from air quality monitoring sites [4, 8] or predicted using prediction algorithms for the latitude or longitude of traveling locations.

Experiments were carried out at the IoT cloud research laboratory. The article discloses the evaluation results highlighting BESM architecture’s importance for practicing shared mobility in smart cities. A few case studies were presented to demonstrate the proposed BESM architecture. Besides, a comparison of various prediction algorithms was studied while predicting the air quality information of a location in BESM.

The primordial contributions of the work include:

  • A BESM architecture is proposed which includes smart city policymakers to quickly decide on the number of travelers on a shareable vehicle based on the air quality and COVID-19 information of smart cities or traveling locations.

  • A comparison of several prediction algorithms while predicting the air quality values of different traveling locations of a traveler was discussed.

  • The findings due to implementing a smart shared mobility system were detailed in the article with a few case studies.

The rest of the article is expressed as follows: the next section explores the state-of-the-art discussions on shared mobility systems of smart cities. The subsequent section explains the proposed BESM architecture and the associated entities involved in incorporating blockchain approach for shared mobility followed by which the prediction algorithms such as LR, QR, RR, LaR, ER, SVM, RP, and RF that are utilized in work and the blockchain processes of the architecture are described. The penultimate section manifests the importance of including BESM for shared mobility practices. The final section provides conclusions and a few insights on the future shared mobility research works based on BESM.

Related Works

Intelligent Transportation System (ITS) for societal improvements [1, 5, 10, 14, 19] has emerged in various sectors with a proliferation in topics such as shared mobility [13, 21], secured ITS, efficient vehicle utilization [27], and so forth. Officials and government agencies of several countries, including developing countries, have shown a keen interest in promoting the shared mobility practices in smart cities due to the associated economic and environmental benefits.

In the past, researchers and practitioners studied shared mobility in several research perspectives: (i) improving energy consumption of e-vehicles [17, 28], reducing traveling costs [39], collaborative or dynamic decision-making processes [43], learning the behavior of travelers by providing tourism tips [11, 21, 36], and so forth. An array of research works has been carried out to innovate transportation systems by augmenting intelligent mechanisms [31, 37, 42, 44] in shared mobility approaches such as e-bikes, shared dockless, e-scooters, shared taxis, public buses.

Besides, blockchains were incorporated in shared mobility solutions to provide immutable database and transferring route plans across organizations at ease. For instance, authors of Ao et al. [7] have applied blockchains to propagate keys across multi-security domains for an accelerated delivery of management keys. Similarly, the application of blockchains for enabling secured transactions in transportation systems have marked a magnified growth [41]. Authors of [16] have developed a token-based ethereum framework for allocating seats in shared vehicles. Recently, Nishant et al. [35] have studied the application of permissioned blockchains to share a vehicle among travelers by publishing the travel plan on the ledgers.

Although these works relate to the application of blockchains for the shared mobility aspects of transportation systems, the authors have not considered the inclusion of smart city officials considering the pollution or COVID-19 situations in sharing vehicles.

Establishing blockchain-enabled frameworks or providing intelligence to transportation systems considering the environmental aspects recently have attracted a large volume of researchers or environment-cautious practitioners. For instance, Gregorio et al. [22] have developed a solution to optimize road traffics considering air quality values of the city locations; Adriana et al. [2] have predicted the air quality values for a given traffic model of cities. However, these works have not considered the shared mobility aspects of Intelligent Transportation Systems.

In fact, the realization of changing policies in the existing transportation schedules or seat allocations in shared mobility practices expects local decisions from smart city officials[20]. Such decisions are predominantly crucial in situations such as COVID-19 where the shared mobility practices should be diligently dealt with by availing sufficient permissions from the smart city officials or travelers. Additionally, an air quality-aware decision-making process while allocating seats in shareable vehicles is not available in the existing shared mobility architectures/frameworks.

This article proposed BESM architecture that involves policymakers, smart city officials, travelers, and hospital authorities to jointly decide on allocating seats in a shareable vehicle for ensuring a robust shared mobility in smart cities.

Blockchain-Enabled Shared Mobility Architecture

This section provides a brief introduction to blockchains and explains the entities and the associated functionalities involved in the BESM architecture.

Blockchains

In short, blockchain is a distributed immutable ledger that is shared and replicated within participants. The ledger registers the information in a time-stamped series fashion. Broadly, blockchains are classified into public and private blockchains [23] depending on the number of participants involved in the process of enrolling information into the ledger—i.e., in public blockchains, any participant could decide to register information into the ledger; whereas, in private blockchains, only known participants are involved in the process of updating the ledger. Besides, hybrid and consortium modes of blockchains are practiced in the past for specific applications.

The important features of blockchains are:

  1. There is no central authority to control the registration of data in the ledger;

  2. Trust is leveraged by the collective involvement of the participants of blockchain networks as the trust involved in third parties such as governments or banks are no longer valid for the modern communities;

  3. Registration of data into the distributed ledger is dynamic or based on programs such as chaincodes;

  4. The data is cryptographically stored in the distributed database in a chained fashion—i.e., series of blocks;

  5. Tampering of distributed ledger is highly impossible owing to the involvement of multiple parties—i.e., manipulating a single record of a blockchain would modify the entire chain of blocks;

  6. The auditing costs of data in blockchains are comparatively low due to high transparency involved in the verification process of the information entered into the ledger; and, so forth.

BESM Entities

BESM adopts private blockchains in the proposed architecture (github.com /shajulin /iiitfabric and github.com/shajulin/shared-mobility). Private blockchains enable a speedy process of consensus during the decision to include data or information into the ledger. This is due to the fact that only a few participants, priorly known participants, are involved in the private blockchains. In addition, due to the involvement of government authorities or smart city officials in the process of blockchains, it is preferred to utilize private blockchains to avoid unnecessary havoc due to the public participants in the blockchains (Fig. 1).

Fig. 1.

Fig. 1

BESM architecture

The most important entities involved in the BESM architecture include

  1. Interface—Shared mobility travelers of smart cities register in the BESM architecture using the Interface. The interface connects not only the shared mobility travelers but also the smart city officials and the other crucial participants to enact policies as per their capacities.

  2. Peers—Peers are nodes that include ledgers and represent involving participant organizations of BESM. Peers could be established in a bare-metal system, virtual machines, or in docker container environments. Each organization could include more than one peer. Peers are responsible for executing chaincodes that dynamically decide on validating the information for registering the information into the ledger. One or more peers are designated as Orderer nodes in BESM which finally submits the information into the ledger as blocks in a time-stamped fashion.

  3. P2P Networks—Peers of BESM are connected in a P2P fashion—i.e., an overlay network would be laid on the connected network infrastructure. The advantages of establishing P2P networks are:
    • to quickly transfer files or ledger information directly between nodes instead of having a central node for it; and,
    • to formulate networks of peers depending on the applications.
  4. Chaincodes—Chaincodes are programs written in golang, nodejs, or python, which include business logic. For instance, Chaincodes in BESM has init and invoke methods that instantiate and process information for entering them into the ledger with specific business logic. Prior to these two mandatory methods, the appropriate golang packages such as shim, protos/peer, and so forth, are imported to the Chaincode and the data structure of BESM needs to be initialized.

    The invoke methods of Chaincode involve three major methods:
    • querySeatAlloted()—this method queries the confirmed seats from the ledger;
    • initLedger()—this method initializes the defined data structures of the ledger into the pre-defined channel; and,
    • allotSeat()—this piece of code of the chaincode represents/assesses the policies of different peer representations.
    The policies of the allotSeat() method of the chaincode varies between organizations. For instance, the policies adopted and approved by smart city officials endeavor to assign the number of travelers based on the COVID-19 situation; the policies that are approved by vehicle owners of the blockchain network corresponds with the seating capacity of vehicles; the hospital authorities confirms the seat allotment based on the asthma level of travelers; and, the policies of the travelers intend to avail seat in a shareable vehicle.

BESM Processes

BESM allocates the number of residents/tourists to travel in a shareable vehicle Vi of capacity Sc considering air quality parameters AQj and COVID-19 situations of a province/district/region Cs. The air quality parameters AQj consist of NO2, SO2, and so forth. The processes involved in BESM while permitting a resident/traveler to travel in a shareable vehicle of capacity Sc are listed as follows:

  1. Initialization—At first, the seat capacity Sc of a shareable vehicle Vi is initialized by the vehicle owner; and, a blockchain network Bn is initiated by smart city officials or the other permitted participants who are in the admin role of the blockchain network.

  2. Details Collection/Verification—Second, the latitude lsc and longitude losc of the smart city locations that the traveler would travel using the shareable vehicle Vi of capacity Sc are collected. This depends on the preference given by the traveler to reach a destination on the vehicle. Similarly, the information of a traveler Tsc, namely, the personal identification number is collected from smart city registries; besides, the current COVID-19 situation Cs for the given location or traveling locations is collected.

  3. AQj Measurement/Prediction—Third, for the given lsc and losc of the smart city and the entire route of the journey, AQj parameters such as NO2, SO2 are either measured using sensors or predicted using previous values of nearest locations of a region. Typically, air quality monitoring sensors are connected to cloud services or edge services through microcontrollers such as Arduino UNO and gateways. There are no monitoring sensors in some locations due to several reasons such as network or cost issues. In fact, it is not possible to provide monitoring sites in all possible locations of a widely spread region, especially in developing countries. Hence, prediction services need to be adopted for identifying the air quality parameter values. In order to predict the air quality parameter values, BESM utilizes several prediction algorithms such as LR, QR, RR, LaR, ER, RF, SVM, and RP algorithms. A detailed discussion on the prediction algorithms is discussed in Sect. 4.

  4. Travel Decision—Fourth, the traveler requests BESM to allot a seat in the shareable vehicle. The request is initiated as a blockchain transaction. This transaction is verified based on the input provided to the blockchain network such as traveler details, air quality values of the entire path of the journey, and the traveler/resident’s health concerns. Chaincodes are executed on the peers of the blockchain network, where the policies of smart city officials, tourists/resident willingness, hospital permissions, and vehicle owner consent are collectively approved in order to validate the seat allocation of a shareable vehicle.

  5. Anomaly Records—In general, vehicle owners might attempt to increase the number of travelers in their vehicle Vi; smart city officials or governments prefer to vary allocation policies in a dynamic fashion depending on various scenarios; hospital authorities might provide wrong recommendations; and, so forth. Anomalies of variations Av, if noticed, need to be issued as transactions in blockchains. For instance, a smart city official could inspect the over-crowded vehicle and raise an anomaly against the vehicle owner. This transaction would be recorded as an anomaly record in the blockchain database Bd similar to the traveler seat allocation transaction. The participants of BESM verify each transaction before they were recorded into the database.

Blockchain Intelligence

This section explains the prediction algorithms utilized in the BESM architecture to predict the air quality values of the traveling locations of residents/tourists. Smart city officials could utilize the prediction results to determine the travel recommendations (Fig. 2).

Fig. 2.

Fig. 2

BESM processes

Modeling and Predictions

Given (i) a dataset consisting of air quality values such as NO2 and SO2 of the city locations of a region and (ii) the corresponding latitude lsc and longitude losc of the city locations, the air quality values are either predicted or monitored in BESM.

The prediction processes are, in general, undertaken in three phases after the dataset was split into training, validating, and testing data:

  1. ModelingModeling is a mathematical representation of a real-world scenario. Modeling happens during the training phase of a prediction algorithm based on the given dataset. Modeling results in a trained model that could validate or test new input data. It is performed based on the knowledge of the independent and dependent variables of data.

  2. Validation—During the validation phase, the trained model is fine-tuned based on the input data and the output of the trained model. The validation phase enables a good prediction accuracy for the test dataset.

  3. Testing—In the Testing phase, the data, whose output values are unknown, are predicted based on the trained model while expecting an accuracy that is fine-tuned during the Validation phase.

The three phases are carried out using prediction algorithms such as LR, QR, RR, LaR, ER, RF, SVM, and RP in BESM architecture.

Prediction Algorithms

Depending on the input dataset and the distribution of data available for the independent/dependent variable of the dataset, the learning algorithms’ prediction accuracy differs.

Linear Regressions—(LR) and (LRM) LR prepares a trained model by finding the linear relationship between the dependent and independent variables of a given dataset—i.e., it formulates a least square method to calculate the value of the independent variable. If the dependent variable y intercepts properly to the independent variables x1...n, the quality of prediction accuracy would be predominantly high. However, it is not the reality in most of the dataset, including the prediction of NO2 or SO2 of air quality datasets. In such cases, an error term ϵ is introduced to deal with the offsets.

In the generalized version of linear regression, i.e., in LRM of BESM, the relationship between dependent and independent variables is enabled using a link function. Accordingly, a few non-linear portions of the dataset could fit well between the dependent and independent variables of BESM.

Quantile Regression (QR) QR is a variant of LR—i.e., instead of finding the median of the least-squares of the independent variable’s entire value, QR restricts to a quantile portion of the dataset. In doing so, the quantile portion of the data analysis is quickly possible using QR. In addition, the error percentage is also spread across the quantiles of the dataset. QR is sufficient for a dataset containing outliers that are possible in IoT-enabled measurements that emerge due to faulty sensors or communication protocols, including the air quality dataset.

Ridge Regression (RR) RR is another variant of LR. RR attempts to reduce the overfitting cases of trained models to attain more generalized learning in the trained model. In some cases, however, there is a possibility that the trained model fits very well during the training phase of predicting data. In fact, the prediction accuracy would not be as expected in the validation or the testing phases. This problem is defined as the overfitting problem. The overfitting problem is addressed by introducing loss functions while creating the trained model in RR—i.e., the sum of squares of errors of independent variables is reduced.

Lasso Regression (LaR) LaR is also a variant of LR. In LaR, as specified in LASSO’s name (Least Absolute Shrinkage and Selection Operator), penalty is added based on the absolute value of the severity of the coefficients—i.e., LaR attempts to set zero for some coefficients. LaR is designed to overcome the overfitting problem as similar to RR. The major difference of LaR compared to RR is the utilization of the absolute value of the coefficients in LaR instead of least squares of the coefficients in RR. LaR performs the variable selection mechanism in addition to solving the overfitting problem of trained models.

Elastic Regression (ER) LaR might specifically restrict the number of variables during the path to solve the overfitting problem. ER is an extension of LaR; it is designed to overcome the challenges of LaR and RR. In ER, shrinking coefficients and setting zero to some coefficients are performed—i.e., a combination of both RR and LaR. ER is therefore considered to be a more effective regression approach when compared to the previous regression approaches.

Support Vector Machine (SVM) SVM is a learning algorithm that applies hyperplanes to separate data with maximum distances. It attempts to plot separation lines in an n-dimensional dataset. Besides, it includes kernels such as linear, polynomial, sigmoid, and so forth, to convert low-dimensional input space to high dimensional data space—i.e., kernels enable quick identification of hyperplanes with a minimal computation cost. The continuity of the line in SVM is utilized for predicting the future data points of the regression problems.

Random Forest (RF) RF is an ensemble-based bagging technique to create models during the training phase. It constructs multiple decision RF trees; it bags data to appropriate trees while building the training model. RF is considered to reduce the overfitting problem during the training phase. It picks up a few samples from the training dataset and starts to create RF trees so that RF could average RF trees’ results. It is an attractive algorithm that maintains the prediction accuracy even if a sequence of data is missing while creating the training model from the training dataset.

Recursive Partitioning (RP) RP is more similar to RF—i.e., it establishes decision trees from the dataset. However, RF creates multiple decision trees to accomplish learning forests—a sort of ensemble learning process. In RP, being a single tree, the interpretation of arriving results is comparatively more straightforward, challenging the predictions’ accuracy.

Experimental Results

This section explains the experimental results carried out at the IoT cloud research laboratory to manifest the importance of the proposed BESM architecture. Initially, the experimental setup of the architecture was discussed; next, the evaluation of different prediction algorithms was analyzed; and, finally, a few cases, while applying the blockchain intelligence, were discussed.

Experimental Setup

To validate the proposed BESM architecture, the prediction algorithms utilized and their configurational settings are mentioned in Table 1.

Table 1.

Settings for prediction algorithms

Predictions Package R Settings
LR lm [30] Ind. Variables: SO2, NO2, LatLong
LRM glm [32] Ind. Variables: SO2, NO2, LatLong
Fischer Scoring Iteration: 2
QR quantreg [29] Ind. Variables: SO2, NO2, LatLong
Tau=0.25
RR cv.glmnet [26] Ind. Variables: SO2, NO2, LatLong
Alpha=0
LaR cv.glmnet [26] Ind. Variables: SO2, NO2, LatLong
Alpha=1
ER cv.glmnet [26] Ind. Variables: SO2, NO2, LatLong
Alpha=0.9
RF randomForest [9] Ind. Variables: SO2, NO2, LatLong
mtry=1, proximity=0
SVM e1071 [15] Ind. Variables: SO2, NO2, LatLong
Kernel=radial, cost=1, epsilon=0.1
RP rpart [40] Ind. Variables: SO2, NO2, LatLong
method=exp

Throughout the prediction-related experiments, the independent variables such as NO2, Latitude lsc, and Longitude losc of city locations were utilized for predicting SO2; and, the independent variables such as SO2, Latitude lsc, and Longitude losc of specific locations were utilized for predicting NO2. While validating the prediction algorithms, 50 percentages of data are utilized for creating a training model and the other 50 percentages of data are utilized for validating the data. The dataset is a mixture of the real-time collected sensor data from air quality monitoring sites and the dataset that is available at the Indian dataset repositories [8].

The dataset utilized in the experiments belongs to the air quality measurements carried out in the Kerala state of India. This is due to the fact that the air quality and COVID-19 aware allocation of seats in a shareable mobility vehicle was demonstrated for the Kerala state of India. The dataset was tidied by removing unspecified values and ordering datasets based on the measurement time. In addition, the values of latitude lsc and longitude losc for different city locations were included in the dataset so that the air quality values of specific travel locations of a traveler could be predicted depending on the corresponding independent variables.

The blockchain network of BESM architecture was established using docker containers on a Dell Precision Tower 7810 machine which consists of an Intel Xeon(R) CPU E5-2650 processor with 48 CPUs. The containers represent peer organizations such as smart cities, travelers, hospitals, and vehicle owners in BESM. The permissioned blockchain was executed using a hyperledger fabric v.1.4.1 [24] where the chaincodes represent the logic for deciding whether a traveler could be accommodated in a shareable vehicle or not. The chaincodes of BESM were written, compiled, and executed using golang v1.14.

Prediction Algorithms—Evaluations

For the given dataset, the prediction algorithms of consideration such as LR, LRM, QR, RR, LaR, ER, and RF were evaluated in two aspects: (i) Prediction Accuracy and (ii) Modeling Time.

Prediction Accuracy

The prediction of air quality values such as SO2 and NO2 for a given dataset was validated for different prediction algorithms by considering 50 percent of data for training and the other portion for testing. Figure 3 depicts on the training and testing dataset while applying different prediction algorithms. The red points represent the training data and the blue lines depict on the prediction data obtained for the testing data of air quality values while predicting SO2 and NO2 values.

Fig. 3.

Fig. 3

Validation of SO2 and NO2 using prediction algorithms

Figure 4 reveals the R2 values obtained while predicting the air quality parameters. The following points could be observed from the prediction results due to different algorithms of consideration:

  1. The R2 prediction accuracy values of NO2 are higher than SO2 for most of the algorithms—i.e., the lowest R2 value of NO2 was 84.16 for QR when compared to 36.31 for SO2.

  2. Among the seven different prediction algorithms of consideration, RF outperformed the other algorithms. Notably, RF showed 14 percentage prediction accuracy improvements over QR for NO2 and 63.17 percentage improvements for SO2 predictions.

Fig. 4.

Fig. 4

R2 accuracy values of predictions

The modeling and prediction time for different algorithms were analyzed. Table 2 highlights the values of them due to the prediction algorithms. The last two columns of the table express the time required for conducting the entire validation processes and prediction processes of algorithms. The validation processes, for example, include tidying data, splitting data into training and testing datasets, establishing models for the training dataset, and predicting data for the testing dataset. The prediction processes avoid splitting processes and testing 50 percent of data as carried out at the validation processes.

Table 2.

Modeling and prediction time of algorithms

Prediction Modeling NO2 Modeling SO2 Predict NO2 Predict SO2 Validation Prediction
Algorithms (in sec.) (in sec.) (in sec.) (in sec.) (in sec.) (in sec.)
LR 0.003 0.003 0.001 0.002 2.49 0.469
LRM 0.003 0.015 0.002 0.003 1.659 0.622
QR 0.058 0.043 0.001 0.06 2.069 1.246
RR 0.17 0.224 0.005 0.007 2.251 1.355
LaR 0.134 0.139 0.004 0.006 2.213 1.38
ER 4.112 4.284 0.016 0.02 10.079 13.78
RF 4.694 3.983 0.066 0.065 10.38 9.045
SVM 5.283 1.67 0.093 0.376 9.15 26.4
RP 0.042 0.042 0.007 0.008 2.55 0.58

As observed in Table 2, the time required for creating training models to train SO2 and NO2 was comparatively higher than the respective time for predictions. The validation and prediction times of SVM, ER and RF were higher than the other algorithms—notably, SVM had experienced 26.4 seconds for predicting the dependent variables. Succinctly, the prediction accuracy result of RF was better than the other algorithms of consideration as shown in Fig. 4.

Blockchains—Cases

Shared Vehicles (SVs) that travel in four different routes of Kerala, India, were studied with the application of blockchains. The routes of shared vehicles are listed in Table 3. Let us assume that the SVs utilized in the exploratory study consist of a maximum seating capacity of 26—i.e., Sc =26, including a driver; the smart city officials have fixed a policy of including half the seating capacity whenever the smart cities experience COVID-19 cases. In fact, the policies are subject to change based on the discretion of the concerning officials.

Table 3.

Routes of shareable vehicles

SV Travel routes
SV-1 Malappuram->Thrissur->Kochi->Alappuzha->Trivandrum
SV-2 Kottayam->Kollam->Trivandrum
SV-3 Kozhikode->Thrissur->Kochi->Alappuzha->Trivandrum
SV-4 Palakkad->Kochi->Alapuzha->Trivandrum

In this article, four different cases were explored while allotting seats in SVs for travelers/residents of smart cities as discussed below:

  1. Case 1: A traveler wishes to start a journey from Malappuram to Trivandrum on a vehicle V1 which has a seating capacity Sc=26. The request was given by the traveler to the BESM architecture when the seat allocation level SAl is 7—i.e., a few more seats are left in the vehicle V1.

  2. Case 2: Another traveler proposes a journey from Kottayam to Trivandrum on a shareable vehicle V2. The traveler is an asthma patient as specified by the hospital authorities—i.e., the traveler is sensitive to air polluted locations.

  3. Case 3: Assuming a traveler is willing to travel from Kozhikode to Trivandrum on a shareable vehicle V3, smart city official assigns policies to the city vehicles to restrict the number of seats to 5 in a vehicle having a seating capacity of 26 considering the increase in the COVID-19 situation of the smart city.

  4. Case 4: A shareable vehicle V4 is scheduled between Palakkad and Trivandrum with a permissible seat allocation of 5 by smart city officials. However, there is a possibility that the vehicle owner could allocate more travelers for increasing the profits due to travel. A surprise inspection by smart city officials could be initiated as a transaction. This case defines such a scenario to record the activities of defaulters in the blockchain of BESM so that sufficient actions could be taken against the vehicle owners.

The chaincodes of BESM architecture were designed such that smart city officials, vehicle owners, hospital authorities, and travelers/residents would collectively decide on registering the transaction into the ledger.

In Case 1, the preference of traveler/resident is issued as a transaction to allocate seats in the shareable vehicle V1. Although seats were available for the traveler in the vehicle for traveling from Malappuram to Trivandrum, the feasibility of accommodating the passenger in the shareable vehicle is cross-checked by other participants in the blockchain network, including smart city officials, vehicle owners, and hospital authorities.

Notably, the chaincode is designed such that the hospital authorities verify whether the traveler has health concerns; the vehicle owner verifies the seat availability concerning the maximum permissible limit of vehicle capacities as advised by smart city authorities; and, the smart city peer of the blockchain network would check if the travel needs to be restricted considering the impact due to COVID-19 for a particular city or similar health-related issues. Only if every stakeholder agrees on the policies in an automated fashion using the chaincode, the seat would be allocated for the traveler/resident—i.e., the transaction would be recorded in the blockchain database. Accordingly, as seen in Table 5, the seat allocation of a traveler is recorded into the blockchain database.

Table 5.

Cases recorded in permissioned blockchain

Prior conditions Smart city Vehicle Hospital Tourists/ Blockchain
Authorities Owner Management Residents
Case-I SC=26 Recorded
SAl=9;
Patient = NIL
Case-II Patient = Asthma; Checks AQ Recorded
SAl=9;
Case-III Patient = Asthma; policy changes Checks AQ ×
SAl=9; ×
Case-IV Verifications=3 Violation Checks
SAl=14; Recorded

For allocating seats, COVID-19 quarantine information of the Kerala state was collected from the database available in the public repository of cities [12]. The data was collected from March 2020 to June 2020 in order to detect/predict the COVID-19 situation of a particular city while allocating seats. Figure 5 reveals the mobility scenario due to COVID-19 quarantine undertaken in particular cities of Kerala. According to the COVID-19 numbers, smart city policies could be updated in chaincodes to automatically fine-tune the number of seats that might be allocated in shareable vehicles.

Fig. 5.

Fig. 5

COVID-19 situation of cities in Kerala

In Case 2, it was observed that the traveler wishes to travel from Kottayam to Trivandrum. However, being an asthma patient, the information is specified by hospital authorities suggesting that the patient should be permitted to travel only if the air quality values do not exceed a specific permissible limit. In this case, the permissible limit for asthma patients was fixed as follows by the hospital authorities: (i) SO2=20;SO2=40. The smart city organization’s peer invokes chaincode to evaluate the air quality parameter values for the traveling locations/cities—i.e., the air quality values of Kottayam, Kollam, and Trivandrum are predicted. In BESM, RF prediction algorithms would be utilized because the prediction accuracy is higher when compared to the other prediction algorithms as discussed in Sect. 5.2. For Case 2, the air quality values of the traveling cities of V2 is predicted as given in Table 4.

Table 4.

Prediction of SO2 and NO2 for Case-II Traveling Cities

Case-II SO2 NO2
Kottayam 5.901 20.49
Kollam 3.325 14.83
Trivandrum 7.946 24.1

Case 3 demonstrates a scenario where smart city officials could change the policies depending on the rising number of COVID-19 mobility aspects on cities; and in Case 4, a demonstration to record the anomalies of violators is illustrated.

Table 5 illustrates the different cases demonstrated using BESM architecture. It illustrates the scenarios for which the transactions were recorded. As seen, the travel request of a traveler, which is issued as transactions in Case-I, Case-II, and Case-IV, were recorded in the blockchain. In all these cases, the peers representing smart city authorities, vehicle owner, hospital management, and tourists/residents have not objected in issuing seats for the shareable vehicles—i.e., in Case-I, the traveler willing to travel in V1 does not have any health concerns apart from satisfying all prior requirements for traveling in the vehicle, including the COVID-19 conditions.

In cases Case-II and Case-III, the air quality parameter values of all cities that the vehicles V2 and V3 would travel are predicted by RF. This is due to the fact that the traveler is an asthma patient in these cases. However, the hospital management has approved the travelers as the air quality values of traveling locations are in the permissible range. In Case-III, however, the smart city officials of Kozhikode city have restricted the travel permission to the maximum of 5 seats in shareable vehicles. Accordingly, the peer representing smart city representatives has not approved the traveler to travel in V3. Consequently, BESM denied registering the traveler in V3.

In succinct, BESM architecture promotes a collaborative fashion of quickly allocating seats in a shareable vehicle considering air quality and COVID-19 situation of smart cities.

Conclusion

Shared mobility has proliferated in various dimensions, such as shared bikes, shared taxis, dockless scooters, and so forth, including public transits, for benefiting smart city residents/travelers at large. Air pollution-aware shared mobility or COVID-19-aware seat allocations for shareable vehicles could remain an effective approach to improving city residents/travelers’ health concerns. This work proposed a novel BESM architecture based on permissioned blockchains. BESM included smart city officials, travelers/residents, hospital management, and vehicle owners while allocating seats for travelers/residents collaboratively; it allocated seats in shareable vehicles based on air quality values and COVID-19 situations of the traveling locations of residents/travelers. The proposed mechanism was experimented at IoT Cloud Research Laboratory and manifested using four demonstration-oriented case studies. In the future, researchers could observe the emotions of travelers based on facial recognitions while allocating seats in a shareable vehicle.

Footnotes

This work is partially supported by the BEL consultancy work and AIM grants.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Abdallah, M., Abdallah, S., Parisa, H., Adel, L., Richard, B.: Edge-enabled V2X Service Placement for Intelligent Transportation Systems, in IEEE Transactions on Mobile Computing, arxiv:2001.06288.pdf, accessed in March 2020
  • 2.Adriana, S.M.: Mirian Benavides Ortiz, Mauricio Camargo, and Chen Cai, Predicting Air Quality by Integrating a Mesoscopic Traffic Simulation Model and Simplified Air Pollutant Estimation Models. International Journal of Intelligent Transportation Systems Research (2018). 10.1007/s13177-018-0160-z, pp. 1 - 17
  • 3.Air Act India, in http://moef.gov.in/environment/pollution/, accessed in June 2020
  • 4.Air Pollution Data, in https://data.gov.in/dataset-group-name/air-quality, accessed in June 2020
  • 5.Ajaya, K.T., Pradyumna, K.T., Niranjan, K.R., Saraju, P.M.: iTour: The Future of Smart Tourism, An IoT framework for the independent mobility of tourists in smart cities, in IEEE Consumer Electronics Mag., pp. 33 – 37, 10.1109/MCE.2018.2797758, May 2018
  • 6.Alex, W., Wilko, S., Javier, A.M., Daniela R.: Optimizing Multi-class fleet compositions for shared mobility-as-a-service, in proc. of 2019 IEEE Intelligent Transportation Systems Conference (ITSC), pp. 2998–3005, 2019
  • 7.Ao, L., Cruickshank, H., Cao, Y., Asuquo, P., Ogah, C.P.A., Sun, Z.: Blockchain-based dynamic key management for heterogeneous intelligent transportation systems. in IEEE Internet of Things Journal, vol. 4, no. 6, pp. 1832-1843, 10.1109/JIOT.2017.2740569, 2017
  • 8.Air Quality dataset of Indian Repository, https://data.gov.in/keywords/air-quality-index, accessed in June 2020
  • 9.Breiman, L., Adele, C.: Breiman and Cutler’s Random Forests for Classification and Regression, in https://cran.r-project.org/web/packages/randomForest/randomForest.pdf, accessed in June 2020
  • 10.Flores C, Merdrignac P, de Charette R, Navas F, Milanes V, Nashashibi F. A cooperative car-following/emergency braking system with prediction-based pedestrian avoidance capabilities. IEEE Trans. Intell. Transport. Syst. 2018;20(5):1837–1846. doi: 10.1109/TITS.2018.2841644. [DOI] [Google Scholar]
  • 11.Chin-I, L., Tse-Chih, H., Hsiang-Chih, H., Jing-Ya, L.: Ontology-based tourism recommendation system. in proc. of 4th Int. Conf. of industrial engineering and applications, 978-1-5090-6775-6/17, pp. 376–379, 2017
  • 12.COVID-19 dataset for Kerala State of India, in https://dashboard.kerala.gov.in/quarantined-datewise.php, accessed in June 2020
  • 13.Daniel, B., Philipp, S., Constantinos, S.: Concept of interlinking mobility services for urban transport towards intermodal mobility including private and shared electromobility, in proc. of 2019 Fourteenth International Conference on Ecological Vehicles and Renewable Energies (EVER), pp. 1-7, 10.1109/EVER.2019.8813511, 2019
  • 14.Fernandez-Llorca, D., Quintero Minguez, R.A.I., Lopez, C.: Ivan garcia daza S. Miguel-Angel, C. Cristina, Assistive Intelligent Transportation Systems: The Need for User Localization and Anonymous Disability Identification. IEEE Intelligent Transportation Systems Magazine, Vol. 9. pp. 25-40. 10.1109/mits.2017.2666579, 2017
  • 15.David, M., Evgenia, D., Kurt, H., Andreas, W., Friedrich, L., Chih-Chung, C., Chih-Chen, L.: Package e1071 – SVM, in https://cran.r-project.org/web/packages/e1071/e1071.pdf, accessed in Feb. 2021
  • 16.Dominic, P., Thomas, F., Harald, W., Christian S.: veLink - A Blockchain-based Shared Mobility Platform for Private and Commercial Vehicles utilizing ERC-721 Tokens, in 2021 IEEE 5th International Conference on Cryptography, Security and Privacy (CSP), pp. 62-67, 10.1109/CSP51677.2021.9357605, 2021
  • 17.Energy Efficient Mobility Systems, in https://www.energy.gov/eere/vehicles/energy-efficient-mobility-systems, accessed in June 2020
  • 18.Emissions in the Automotive Sector, in https://ec.europa.eu/growth/sectors/automotive/environment-protection/emissions_en, accessed in June 2020
  • 19.Ferdowsi A, Challita U, Saad W. Deep learning for reliable mobile edge analytics in intelligent transportation systems: an overview. IEEE Veh. Technol. Mag. 2019;14(1):62–70. doi: 10.1109/MVT.2018.2883777. [DOI] [Google Scholar]
  • 20.Forbes on Shared Mobility, in https://www.forbes.com/sites/forbestechcouncil/2020/05/18/the-future-of-urban-mobility/#3fe11ddd3362, accessed on June 2020
  • 21.McKenzie G. Urban mobility in the sharing economy: A spatiotemporal comparison of shared mobility services. Comput. Environ. Urban Syst. 2020;79(101418):1–10. [Google Scholar]
  • 22.Diaz, G., Macia, H., Valero, V., Boubeta-Puig, J., Cuartero, F.: An Intelligent Transportation System to control air pollution and road traffic in cities integrating CEP and Colored Petri Nets. Neural Computing and Applications (2018). 10.1007/s00521-018-3850-1, pp. 1-22
  • 23.Hitoshi, O., Yamasaki, S., Bracamonte, V.: Proposed classification of blockchains based on authority and incentive dimensions, 2017 19th International Conference on Advanced Communication Technology (ICACT), Bongpyeong, pp. 593-597, 10.23919/ICACT.2017.7890159, 2017
  • 24.Hyperledger Fabric Documentation, in https://hyperledger-fabric.readthedocs.io/, accessed in June 2020
  • 25.Shared Mobility of IKA, in https://sharedusemobilitycenter.org/ika/, accessed in May 2020
  • 26.Jerome, F.,Trevor, H., Rob, T., Balasubramanian, N., Kenneth, T., Noah, Si., Junyang, Q.: Lasso and Elastic-Net Regularized Generalized Linear Models, in https://cran.r-project.org/web/packages/glmnet/glmnet.pdf, accessed in June 2020
  • 27.Wang J, Cheng P, Zheng L, Feng C, Chen L, Lin X, Wang Z. Demand-aware route planning for shared mobility services. Proc.VLDB Endowment. 2020;13(7):979–991. doi: 10.14778/3384345.3384348. [DOI] [Google Scholar]
  • 28.Joshua, A., Auld, F.S., Annesha, E., Mahmoud, J., Monique, S., Omer, V., Aymeric, R.: Exploring the mobility and energy implications of shared versus private autonomous vehicles, in proc. of 2019 IEEE Intelligent Transportation Systems Conference (ITSC), Auckland, NZ, pp. 1691–1696, 2019
  • 29.Koenker RW. Quantile Regression. Cambridge U: Press; 2005. [Google Scholar]
  • 30.Linear Regression using R, in https://stat.ethz.ch/R-manual/R-devel/library/stats/html/lm.html, accessed in June 2020
  • 31.Maxime, G., Ivana, D.: SAMoD: Shared Autonomous Mobility-on-Demand using Decentralized Reinforcement Learning, in 21st International Conference on Intelligent Transportation Systems (ITSC), USA, pp. 1558–1563, 2018
  • 32.Marschner IC. glm2: Fitting generalized linear models with convergence problems. RJ. 2011;3(2):12–15. doi: 10.32614/RJ-2011-012. [DOI] [Google Scholar]
  • 33.National Ambient Air Quality standards, in https://www.epa.gov/criteria-air-pollutants/naaqs-table, accessed in June 2020
  • 34.NITI Aayog for Smart Mobility, in https://niti.gov.in/writereaddata/files/document_publication/Shared-mobility.pdf, accessed in May 2020
  • 35.Nishant, S., Carlos, R., Anandakumar, P., Spiros, K., Mirsat, S., Antorweep, C., Zhiming, Z., Aleksandar, K., Radu, P.: The ARTICONF Approach to Decentralized Car-Sharing, in Blockchain: Research and Applications, Vol. 100013, 10.1016/j.bcra.2021.100013, 2021
  • 36.Qian, Y., Xiaohong, C., Hua, Z., Kaan, O., Fan, Z.: Public concerns and response pattern toward shared mobility security using social media data. in proc. of 2019 IEEE Intelligent Transportation Systems Conference (ITSC), pp. 619 – 624, 2019
  • 37.San, Y., Abdul, A.H.M., Sanjay, M.: Activity-based shared mobility model for smart transportation. in 20th IEEE International Conference on Mobile Data Management (MDM), pp.599–604, 2019
  • 38.Shajulin, B.: Serverless blockchain enabled architecture for IoT societal applications. accepted in IEEE Transactions on Computational Social Systems, 10.1109/TCSS.2020.3008995, 2020
  • 39.Stephens, T.S., Gonder, J., Chen, Y., Lin, Z., Liu, C., Gohlke, D.: Estimated bounds and important factors for fuel use and consumer costs of connected and automated vehicles. in TR/NREL/TP-5400-67216, pp. 1–58, 2016
  • 40.Terry, T., Beth, A., Brian, R.: Package rpart – Recursive Partitioning for Classification, Regression, and Survival Trees, in https://cran.r-project.org/web/packages/rpart/rpart.pdf, accessed in Feb. 2021
  • 41.Tianqi, Z., Jian, S., Yongjun, R., Sai, J.: in Security and Communication Networks, Vol. 2021, No. 1864514, pp. 1–8, 10.1155/2021/1864514, 2021
  • 42.Li W, Kamargianni M. An integrated choice and latent variable model to explore the influence of attitudinal and perceptual factors on shared mobility choices and their value of time estimation. Transport. Sci. 2019 doi: 10.1287/trsc.2019.0933. [DOI] [Google Scholar]
  • 43.Yue, G., Anuradha, M.A., Eric Tseng, H.: Cumulative prospect theory based dynamic pricing for shared mobility on demand services. in Proc. of IEEE 58th Conference on Decision and Control (CDC), France, pp. 2239 – 2244, 2019
  • 44.Zhongju, Z., Daoqin, T., Wencong, C.: Consumer behavior choice in the era of shared mobility: the role of proximity, competition, and quality. in Proceedings of the 53rd Hawaii International Conference on System Sciences, pp. 814–821, 2020

Articles from New Generation Computing are provided here courtesy of Nature Publishing Group

RESOURCES