An algorithm for sink positioning in bus-assisted smart city sensing

https://doi.org/10.1016/j.future.2017.09.018Get rights and content

Highlights

  • The communication delay of a mobile WSN is affected by sink positioning.

  • The sink positioning problem with delay minimization can be modeled as an ILP.

  • Our positioning algorithm finds results close to the optimal, in polynomial time.

  • We can reduce 84% of sinks with less than 10% growth in the maximum delay.

Abstract

Smart Cities use data obtained from different sensors to offer better services. Such data is usually sent to sinks, using the paradigm of Internet of Things. However, covering the whole city area with static sensors might be expensive. This paper addresses the utilization of the public transportation system as a mobility platform for sensor nodes and bus stops acting as sinks. This platform can improve the coverage of a sensor network and take advantage of opportunistic communication. Since this platform can be used for delay-constrained applications, we propose an algorithm to choose sensor sinks in the bus stops of a smart city that minimizes the maximum delay when delivering messages. We compare our solution with an optimal formulation and use real data, obtained in buses from Rio de Janeiro, as an input of our algorithm. Our experiments show that we can use approximately 16% of bus stops as sinks, having less than 10% of increase in the network maximum delay and no significant loss in the spatial coverage.

Introduction

Projections show that human population should reach 8.5 billion people by 2030, mainly in urban areas,1 posing many challenges to the cities and directly affecting the well-being of citizens. Smart Cities are an umbrella of different technologies to answer to those challenges. A recurrent strategy is to gather information about the city and intelligently use it to improve the services offered to the citizens, or create new services [1]. There are possible applications in weather, surveillance, pollution monitoring, and others [2]. Naturally, gathering data about a whole city is a huge challenge, and an infrastructure based on the Internet of Things (IoT) [3] is an important tool. The IoT paradigm is often denoted as the enhancement of daily-life objects with sensing, actuation, and communication capabilities [4]. In many scenarios, wireless sensor networks (WSN) are part of the IoT infrastructure [5]. WSNs are usually composed of many sensing nodes that sense data about the environment and send this data to one or more sinks. The sink, then, sends data to a so-called task manager node, responsible for storing, processing and serving data to the users [6].

Including mobile nodes in the wireless sensing network is a way to enlarge the sensed area [7]. In the context of a city, it is an alternative to having a (potentially expensive) fixed sensor network covering the whole city. In that scenario, mobile sensors opportunistically deliver data to gateways or to sinks [8]. In this paper, we depart from the observation that different metropolises count on bus lines on their public transportation system. We therefore build upon the idea of having buses as mobile sensing nodes. In the considered application scenario, buses are elements of the IoT infrastructure. This setup enables applications in the smart city dimensions of smart mobility, smart environment, and smart living [9]. Then, the problem of where and when buses will deliver data to the Internet arises. We assume that there will be sinks located at bus stops to receive the data and deliver it to the place in the cloud where the data will be concentrated, and decisions made based on the information gathered, such as taking actions over the city infrastructure. Another advantage of this sensing bus network is that bus mobility is predictable; buses are already part of the public infrastructure, meaning that the mobile nodes come for free, and the additional cost of having a bus carrying a sensor is small.

One of the issues with the opportunistic communication performed by sensor nodes embedded in buses is the delay to deliver data. Sensors have to wait until the bus is close to a sink in order to deliver the gathered data. On the other hand, the type of application defines the freshness required for the information to be useful [10]. Therefore, in this paper we analyze the communication latency experienced in a citywide sensing bus network. We consider a mobile WSN where sensor nodes are on board buses and sinks are located on a subset of the bus stops. Thus, we model the delay when the number of sinks is constrained, as an Integer Linear Programming (ILP) problem, and also propose an approximate polynomial algorithm to locate sinks at some of the bus stops. The polynomial algorithm is executed using as input real data of all the buses and bus stops of Rio de Janeiro. Our results show that installing sinks in only 16% of bus stops can increase network maximum delay in less than 10% with no loss to the area covered.

The paper is organized as follows. Section 2 presents related work and positions our proposal within the literature of the field. Section 3 models the application scenario of our sensing bus network. In Section 4, we model the problem of positioning sinks in the network as an ILP problem. In Section 5 we propose an approximate algorithm to select bus stops to install sinks, minimizing the network maximum delay and compare its performance with the optimal solution. In Section 6 we run the algorithm for a real dataset. Section 7 concludes the work and points out future directions for our work.

Section snippets

Related work

There is a rich literature on sink positioning for static WSNs, with focus on different quality of service metrics. Wong et al. propose an algorithm to decide a location for the sinks on a WSN that achieves the lowest latency possible [11]. The work shows that an optimal solution is not always feasible because of its time complexity and proposes an approximation algorithm, capable of obtaining a satisfactory solution in a feasible time. Since the time to store and forward data is usually higher

Network and delay model

This paper considers a sensing bus network: a mobile wireless sensor network where sensing nodes are embedded into buses and sink nodes are installed on bus stops. In the studied scenario, illustrated in Fig. 1, the buses carry nodes capable of sensing environmental data. This data is stored in the buses and transmitted to a sink node through a wireless interface. The sink nodes, located at bus stops, receive data and send them to the Task Manager node through the Internet. The sink nodes might

Formulation of the optimal solution

The problem formulated in this work chooses Nbudget sinks, given all S bus stops. This choice minimizes the maximum delay between two sinks in the network, which is defined by Eq. (2). The optimal solution for this problem is obtained through an ILP problem, modeled as follows: minimizeDmax subject tosSxs=Nbudget; qSbsaybsq=xsbB,sSbp; qSbspybqs=xsbB,sSba; DmaxqSbsadbsqybsq0bB,sSbp; xs=1sI; DmaxZ;ybij{0,1}bB,i,jS;xs{0,1}sS.

The objective of this ILP, given

A fast algorithm for sink selection

The optimal problem is an ILP, therefore, NP-Hard. Hence, the solution of this problem in real life scenarios might not be feasible. Therefore, this work proposes a greedy solution, specified in Algorithm 1, that is initialized as if every sink candidate was an actual sink. At every iteration, the algorithm removes the sink candidate with the minimum removal delay, defined in Eq. (6). The algorithm terminates when the set of sink candidates has Nbudget elements or when every bus route has only

Real scenario case study

Our case study consists in running Algorithm 1 using a dataset containing the positions of buses and bus stops in the city of Rio de Janeiro. The instant GPS position of buses3 and the position of bus stops4 are published in the website of the Rio de Janeiro’s Federation of Passenger Transportation Companies (FETRANSPOR in the Brazilian acronym). Bus positions are collected and stored in one file with all

Conclusions and future work

In this work, we have considered a bus sensing network where buses play the role of mobile sensors, improving the coverage of a citywide wireless sensor network. While on the one hand the opportunistic communication provided by buses reduce costs, on the other hand it may impact the communication latency, since the sensor node has to wait for the next contact opportunity with a sink node located at a bus stop.

Therefore, we assumed a network where mobile nodes traverse the city at regular

Acknowledgments

The authors would like to thank CAPES, CNPq and FAPERJ for their financial support to this work.

Pedro Cruz is pursuing his Doctor of Science degree in Electrical Engineering at UFRJ. His research interests include sensor networks and fog computing. Cruz has a Computing and Information Engineering degree from UFRJ.

References (26)

  • EkiciE. et al.

    Mobility-Based communication in wireless sensor networks

    IEEE Commun. Mag.

    (2006)
  • AlbinoV. et al.

    Smart cities: Definitions, dimensions, performance, and initiatives

    J. Urban Technol.

    (2015)
  • WongJ.L. et al.

    Gateway placement for latency and energy efficient data aggregation

  • Cited by (9)

    • Bus-arrival time prediction using bus network data model and time periods

      2020, Future Generation Computer Systems
      Citation Excerpt :

      Population of global urban area is expected to grow approximately 1.5% per year until 2030 [1], posing many challenges to the cities and directly affecting the well-being of citizens [2].

    • A delay-aware coverage metric for bus-based sensor networks

      2020, Computer Communications
      Citation Excerpt :

      Hence, SensingBus explores delay-tolerant communication. In another work, the authors propose a model for the delays and a selection algorithm to choose bus stops to place fog nodes minimizing the delivery delay respecting budget constraints [18]. The present work is in the same context of SensingBus, and has as main objective to discover the coverage provided by systems similar to SensingBus.

    • A Systematic Literature Review of Current IoT-Based Approaches for Improving Sustainable Public Transportation in Smart Cities

      2022, Proceedings - 2022 IEEE 46th Annual Computers, Software, and Applications Conference, COMPSAC 2022
    • Bus arrival time prediction based on wavelet neural network optimized by Beetle Antennae Search

      2022, Jilin Daxue Xuebao (Gongxueban)/Journal of Jilin University (Engineering and Technology Edition)
    • Smart bus transportation for tracking system: A study case in Indonesia

      2021, IOP Conference Series: Earth and Environmental Science
    View all citing articles on Scopus

    Pedro Cruz is pursuing his Doctor of Science degree in Electrical Engineering at UFRJ. His research interests include sensor networks and fog computing. Cruz has a Computing and Information Engineering degree from UFRJ.

    Rodrigo S. Couto is an Associate Professor with Universidade do Estado do Rio de Janeiro (UERJ). His research interests include data center networks, cloud computing, network reliability, and network virtualization. Couto has a Doctor of Science degree in Electrical Engineering from Universidade Federal do Rio de Janeiro (UFRJ). He is a member of IEEE.

    Luís Henrique M.K. Costa is an Associate Professor with UFRJ. His research interests include routing, wireless networks, and future Internet. Costa has a Doctor degree in Computer Science from Universit Pierre et Marie Curie (UPMC). He is a Senior Member of IEEE and Member of ACM.

    View full text