scieee AI-readable full text Open interactive document viewer

Deepint.net: A rapid deployment platform for smart territories

Corchado, Juan M.; Chamoso, Pablo; Hernández, Guillermo; Gutierrez, Agustín San Roman; Camacho, Alberto Rivas; González-Briones, Alfonso; Pinto-Santos, Francisco; Goyenechea, Enrique; Garcia-Retuerta, David; Alonso-Miguel, María; Hernandez, Beatriz Belli

Abstract

This paper presents an efficient cyberphysical platform for the smart management of smart territories. It is efficient because it facilitates the implementation of data acquisition and data management methods, as well as data representation and dashboard configuration. The platform allows for the use of any type of data source, ranging from the measurements of a multi-functional IoT sensing devices to relational and non-relational databases. It is also smart because it incorporates a complete artificial intelligence suit for data analysis; it includes techniques for data classification, clustering, forecasting, optimization, visualization, etc. It is also compatible with the edge computing concept, allowing for the distribution of intelligence and the use of intelligent sensors. The concept of smart cities is evolving and adapting to new applications; the trend to create intelligent neighbourhoods, districts or territories is becoming increasingly popular, as opposed to the previous approach of managing an entire megacity. In this paper, the platform is presented, and its architecture and functionalities are described. Moreover, its operation has been validated in a case study where the bike renting service of Paris—Vélib’ Métropole has been managed. This platform could enable smart territories to develop adapted knowledge management systems, adapt them to new requirements and to use multiple types of data, and execute efficient computational and artificial intelligence algorithms. The platform optimizes the decisions taken by human experts through explainable artificial intelligence models that obtain data from IoT sensors, databases, the Internet, etc. The global intelligence of the platform could potentially coordinate its decision-making processes with intelligent nodes installed in the edge, which would use the most advanced data processing techniques.

Full text

sensors Article Deepint.net: A Rapid Deployment Platform for Smart Territories Juan M. Corchado 1,2,3,*, Pablo Chamoso 1,2, Guillermo Hernández 2, Agustín San Roman Gutierrez 2, Alberto Rivas Camacho 1, Alfonso González-Briones 4, Francisco Pinto-Santos 1, Enrique Goyenechea 1, David Garcia-Retuerta 1, María Alonso-Miguel 1, Beatriz Bellido Hernandez 1, Diego Valdeolmillos Villaverde 1, Manuel Sanchez-Verdejo 2, Pablo Plaza-Martínez 1, Manuel López-Pérez 1, Sergio Manzano-García 1, Ricardo S. Alonso 2, Roberto Casado-Vara 1, Javier Prieto Tejedor 1,2, Fernando de la Prieta 1, Sara Rodríguez-González 1, Javier Parra-Domínguez 1, Mohd Saberi Mohamad 5, Saber Trabelsi 6, Enrique Díaz-Plaza 7, Jose Alberto Garcia-Coria 8, Tan Yigitcanlar 9, Paulo Novais 10 and Sigeru Omatu 11   Citation: Corchado, J.M.; Chamoso, P.; Hernández, G.; Roman, A.S.; Rivas, A.; González-Briones, A.; Pinto-Santos, F.; Goyenechea, E.; Garcia-Retuerta, D.; Alonso-Miguel, M.; et al. Deepint.net: A Rapid Deployment Platform for Smart Territories. Sensors 2021,21, 236. https://doi.org/10.3390/ s21010236 Received: 20 November 2020 Accepted: 28 December 2020 Published: 1 January 2021 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2021 by the authors. LicenseeMDPI, Basel, Switzerland. This articleisanopenaccessarticledistributed under the terms and conditions of the CreativeCommonsAttribution(CCBY) license(https://creativecommons.org/ licenses/by/4.0/). 1BISITE Research Group, University of Salamanca, 37007 Salamanca, Spain; [email protected] (P.C.); [email protected] (A.R.C.); [email protected] (F.P.-S.); [email protected] (E.G.); [email protected] (D.G.-R.); [email protected] (M.A.-M.); [email protected] (B.B.H.); [email protected] (D.V.V.); [email protected] (P.P.-M.); [email protected] (M.L.-P.); [email protected] (S.M.-G.); [email protected] (R.C.-V.); [email protected] (J.P.T.); [email protected] (F.d.l.P.); sr[email protected] (S.R.-G.); [email protected] (J.P.-D.) 2Air Institute, IoT Digital Innovation Hub, 37188 Salamanca, Spain; [email protected]g (G.H.); [email protected] (A.S.R.G.); [email protected] (M.S.-V.); [email protected]g (R.S.A.) 3Department of Electronics, Information and Communication, Faculty of Engineering, Osaka Institute of Technology, Osaka 535-8585, Japan 4Research Group on Agent-Based, Social and Interdisciplinary Applications (GRASIA), Complutense University of Madrid, 28040 Madrid, Spain; [email protected] 5Institute For Artificial Intelligence & Big Data, Universiti Malaysia Kelantan, Kelantan 16100, Malaysia; [email protected] 6Texas A&M University at Qatar, Doha 23874, Qatar; [email protected] 7IBM, 28108 Madrid, Spain; [email protected] 8Viewnext, 28036 Madrid, Spain; [email protected] 9School of Built Environment, Queensland University of Technology, 2 George Street, Brisbane, QLD 4000, Australia; [email protected] 10 ALGORITMI Centre/Department of Informatics, University of Minho, 4710-070 Braga, Portugal; [email protected] 11 Digital Manufacturing Education and Research Center, Division of Data Driven Smart System, Hiroshima University, Hiroshima 739-8511, Japan; [email protected] *Correspondence: cor[email protected] Abstract: This paper presents an efficient cyberphysical platform for the smart management of smart territories. It is efficient because it facilitates the implementation of data acquisition and data management methods, as well as data representation and dashboard configuration. The platform allows for the use of any type of data source, ranging from the measurements of a multifunctional IoT sensing devices to relational and non-relational databases. It is also smart because it incorporates a complete artificial intelligence suit for data analysis; it includes techniques for data classification, clustering, forecasting, optimization, visualization, etc. It is also compatible with the edge computing concept, allowing for the distribution of intelligence and the use of intelligent sensors. The concept of smart cities is evolving and adapting to new applications; the trend to create intelligent neighbourhoods, districts or territories is becoming increasingly popular, as opposed to the previous approach of managing an entire megacity. In this paper, the platform is presented, and its architecture and functionalities are described. Moreover, its operation has been validated in a case study where the bike renting service of Paris—Vélib’ Métropole has been managed. This platform could enable smart territories to develop adapted knowledge management systems, adapt them to new requirements and to use multiple types of data, and execute efficient computational and artificial intelligence algorithms. The platform optimizes the decisions taken by human experts through explainable artificial intelligence models that obtain data from IoT sensors, databases, the Internet, etc. The global intelligence of the platform could potentially coordinate its decision-making Sensors 2021,21, 236. https://doi.org/10.3390/s21010236 https://www.mdpi.com/journal/sensors Sensors 2021,21, 236 2 of 23 processes with intelligent nodes installed in the edge, which would use the most advanced data processing techniques. Keywords: smart cities; smart cyberphysical platform; data analysis; data visualization; edge computing; artificial intelligence; bike renting 1. Introduction A smart city (SC) is an environment that uses innovative technologies to make networks and services more flexible, effective, and sustainable with the use of information, digital and telecommunication technologies, improving the city operations for the benefit of its citizens. However, where does the concept of SCs and smart territories stand currently? The United Nations Educational, Scientific and Cultural Organization (UNESCO) gives us a fairly accurate view on this situation: “All the cities and territories who claim the Smart City status are merely patchworks of opportunistic modernization, which is not always coherent and is sometimes juxtaposed without any real unity of function or meaning” [1]. This proposal has been fully developed on the basis of this statement and the PIs have accordingly guided the choice of the concepts to be developed in this project. It is estimated that in 2030, the population density will increase by 30% in most cities, 60% of world population will live in cities, and there will be 43 megacities; these metropolitan zones will have more than 10 million residents [ 2 ]. Most experts agree on the fact that such population densities promote sustainable economic growth, which explains the increased mobility of the population from rural to urban areas. The downside of these advantages is the rise of uncontrollable sociological phenomena, such as urban violence and unhealthy crowding. Most cities face these issues, regardless of their political or economic regime. To counteract negative consequences, the emerging SCs have to adapt measures that will guarantee their economic attractiveness, and most importantly, they must meet the population’s high expectations regarding the quality of life. Contrary to the initial smart city concept, which favoured the modernization of leading cities in developed countries, the new trend consists in deploying smart micro territories (or villages) within megacities and in their neighbouring regions, serving as smart satellites. The ideas presented in this proposal follow this SC deployment policy. The majority of SC projects aim to achieve sustainability and control economic growth by avoiding the loss of the already invested resources, by maintaining an ecology-friendly environment and by striving towards social equity. However, in reality this turns out to be very utopian, and several worldwide experiences show that this theoretical balance has never been successful at the practical level. As a result, SC development tends to be geared towards only one of all the objectives, failing to adapt a comprehensive approach. We conceive the SC concept as a smart, realistic and technically balanced combination of the objectives and values described above. A SC should be thought out and deployed following the principles of modular design, where each module is implemented, tested and deployed independently so that it can be easily modified, replaced or exchanged. Thus, modules are defined as dynamic and evolutionary. Each module is dedicated to a particular task within the SC, such as Transportation Control, Logistics Planning, Traffic Control, Crowd Management, E-Health, etc. All modules interact and exchange the information collected within the SC through a centralized Management Platform. Deepint.net is the platform presented in this paper that is able to work independently and/or in collaboration with other (existing) SC platforms/IoT systems. Furthermore, the platform is equipped with the vast majority of the required connectors, facilitating its integration. Such is the added value of the data that not only cities/territories but also users and companies in all sectors have been interested in AI-based data analysis and visualization methodologies. This is because they are fully aware of the benefits of those processes. As a result, the Artificial Intelligence sector has enjoyed high demand in recent years. Sensors 2021,21, 236 3 of 23 In this research, a platform has been developed that is capable of applying the most well-known techniques within the data analysis sector in a way that is simple and userfriendly. The platform’s design makes it fully prepared for the management of SCs and territories, regardless the size of the territories and the origin of the data. Deepint.net not only processes data, but also automates its intake, visualization and integration with any other platform and dashboard. This platform is easy to use and does not require specialists in artificial intelligence, edge computing or machine learning. Deepint.net has been designed to provide managers with tools for data analysis and to help them generate models efficiently with no need for specialized data analysts or developers. The platform aids the data analysis process at different levels: (i) it gives computer support so that cities do not have to invest in infrastructure; (ii) it offers mechanisms for the ingestion of data from different sources (relational and non-relational databases, files, repositories based on CKAN, streaming data, multi-functional IoT sensors, social networks, etc.) and in different formats; (iii) it offers data processing mechanisms to all users who do not have knowledge of programming (information fusion, data filtering, etc.); (iv) it offers information representation techniques based on interactive graphics to help understand data, the results of analysis and rapid decision making; (v) it helps select the methodologies that can be applied to the data provided by the user and automatically searches for the configuration that provides the best results (through cross-validation), so that the user does not have to configure anything at all. The data management flow can be found in Figure 1. Figure 1. Data management flow in Deepint.net. The platform, therefore, includes signal processing methods capable of transforming and using data (even real-time data) from any given source: IoT sensors, advanced multifunctional sensors, smart edge nodes, next generation networks, etc. or even the data from relational and non-relational databases. The platform helps the users select and use the most adequate combination of mathematical models; dynamic data assimilation and neurosymbolic artificial intelligence systems are capable of working with knowledge and data; they adapt to new time constraints and can explain why a certain decision has been taken. Research into the creation of explainable adaptive mixtures of expert systems is the key innovation of this project together with its application in the smart logistics field. The platform has been used to develop several smart territory projects in the cities of Santa Marta and Carbajosa (Spain), in Caldas (Colombia), in Panama City, in Istanbul (Turkey), etc. The state of the art is reviewed in Section 2. Section 3presents Deepint.net as a platform for managing smart territory projects. The results obtained from the use of the platform in Paris (France) are outlined in Section 4. Finally, the conclusions and future lines of research are described in Section 5. 2. Smart Territory Platforms and the Edge Computing Approach It is expected that the world population will reach 9.7 billion in 2050. By then, twothirds of the population will live in urban environments [ 1 ]. The United Nations estimates that by 2030 there will be 43 megacities (defined as metropolitan areas with a population greater than 10 million), most of them in developing countries. Critical social and ecological challenges that cities will face may include urban violence, inequality, discrimination, unemployment, poverty, unsustainable energy and water use, epidemics, pollution, environmental degradation, and increased risk of natural disasters. The concept of SCs, which emerged in the early 2000s, attempts to provide solutions to these challenges by implementing information and communication technologies, improving the socio-ecological network of urban areas and the quality of life of its citizens. Sensors 2021,21, 236 4 of 23 The initial concept of SCs focused on the modernization of megacities. However, most of the so-called SCs are just cities with several smart projects [ 1 ]. The main reason for this is that existing cities are difficult to modernize, mostly because buildings are too old to renovate, or they are heritage-listed buildings (due to their historical value), so they cannot be rebuilt or demolished. To overcome these limitations, different approaches have been proposed. The most promising trend is the creation of smart micro-territories, defined as hi-tech small towns, districts or satellite towns near megacities [ 1 ]. Real-life examples include the Songdo City; a satellite village near Seoul, or the Cyberabad District in Hyderabad (India). This paper present Deepint.net as a platform for the efficient and dynamic management of smart territories. Given the availability of large amounts of data, the challenge is to identify intelligent and adaptive ways of combining the information to create valuable knowledge [ 3 ]. However, the implementation of SCs still poses several challenges, such as design and operational costs, sustainability, or information security. Thus, over the last few years, platforms have been designed and developed to provide innovative solutions to these problems. These platforms combine the data collected by electronic devices (sensors and actuators) with the data that has been generated by citizens and is stored on different types of databases. In general, SC management platforms focus on one or several of the following dimensions: Crowd Management, Traffic Control and Smart Logistics, or resource prioritization in emergency scenarios, etc. These modules interact and exchange information among them. Figure 2illustrates an architecture that is typical of these platforms, which normally work independently and/or in collaboration with other existing platforms and IoT systems. Figure 2. Smart city (SC) management architecture. Smart Mobility is probably considered one of the main dimensions of SCs. With the rapid population growth and its high concentration in urban environments, urban traffic congestion (which significantly lengthens waiting times) has a significant impact on the citizens’ daily life. To monitor and manage the state of road traffic, sensors are employed on road intersections and public transport vehicles, measuring location, speed, and density. Sensors 2021,21, 236 5 of 23 Aimed at supporting local authorities in traffic control, recent studies propose different systems and platforms which improve the safety and security of the commuter [ 4 – 8 ]. Another important aspect of Smart Mobility is last-mile delivery. With the exponential growth of e-commerce, the logistics sector is experiencing efficiency difficulties. Technologies such as the Internet of Things or Autonomous Delivery Vehicles are expected to have a positive impact on this industry [9]. In a smart transportation system, crowd management is a key variable, not only during commutes and regular travel, but also when an event takes place. Major events with large crowd gatherings (sport events, concerts, protests, etc.) are celebrated in urban areas every year. Overcrowding and the poor management of crowds can lead to threatening and unsafe situations, such as injuries, stampedes and crushing. Therefore, effective crowd management is a crucial task. Crowd management systems have been developed to support services and infrastructures devoted to managing and controlling crowds at any time, so that in case of emergency situations, crowds are well managed, while the dangers and risks are minimized. Current studies focus on crowd counting and monitoring models [ 10 ] and algorithms [ 11 ], and crowd flow prediction architectures [ 12 ], their aim is to provide the government and local authorities with valuable information on large crowds [13]. The objective of many SC projects is to prioritize the efficient use of resources: irrigation systems, energy consumption, or dealing with emergency scenarios, such as the one provoked by the current pandemic. Thousands of people have lost their lives in epidemics, pandemics, natural disasters (hurricanes, floods, fires) and human-induced disasters (stampedes, terrorist attacks or communicable diseases), and it is believed that a reasonable number of these fatalities are associated with the poor management of crowds and slow response to accidents. One of the key challenges involved in managing an emergency is minimizing the time it takes for the personnel and supplies to arrive at the scenario. Emergency services, such as health services, police, and fire departments, are expected to make critical decisions and to correctly prioritize the use of resources, using limited time and information. To facilitate this task, several systems have been proposed in recent years. Rego et al. [ 14 ] introduced an IoT-based platform that modifies the routes of normal and emergency road traffic to reduce the time it takes for resources to arrive at the scenario of an emergency. Rajak and Kushwaha [ 15 ] propose a framework capable of creating a “Green Corridor” for emergency vehicles. Ranga and Sumi [ 16 ] present a traffic management system that helps ambulances and fire trucks find the shortest routes. Social media data could be of much value when responding to an emergency. Alkhatib et al. [ 17 ] propose a novel framework for the management of incidents in SCs by using social media data; Perez and Zeadally [ 18 ] present a communication architecture for crowd management in disruptive emergency scenarios; and Kousiouris et al. [ 19 ] propose a tracking and monitoring system that identifies events of interest for Twitter users. Statistics from the Department of Economic and Social Affairs of the United Nations, DESAP, indicate that 68% of the world population will live in cities or urban areas by 2050 [ 20 ], which means rapid and even uncontrolled growth with consequent challenges for governments, for example: pollution, limited mobility due to traffic and congestion; high cost of housing, food and basic services; as well as security problems [21]. To address this growth, the SC concept emerged as the integration of the urban environment with information and communication technologies (ICTs), attracting the interest of all major sectors (governments, universities, research centres, etc.) in presenting solutions or developments that would make up a SC [ 22 ]. The objective of this paradigm is the effective management of the challenges associated with the growth of urban areas through the adoption of ICTs in developments, solutions, applications, services, or even in the design of state policies [23]. Currently, the term SC is widely used, for example in the systematic reviews of the literature there are more than 36 definitions that address different dimensions of the urban environment such as: mobility, technology, public services, economy, environment, quality of life or governance [ 24 ]. One of the most widely used definitions is the one Sensors 2021,21, 236 6 of 23 proposed by Elmaghraby and Losavio [ 25 ]: “an intelligent city is one that incorporates information and communication technologies to increase operational efficiency, shares information independently within the system and improves the overall effectiveness of services and the well-being of citizens”. However, the growth of the Internet of Things and of the devices permanently connected to the Internet has led to a growing interest in data management [23] and security [26] as new urban management challenges emerge. Ensuring the security of information, devices, infrastructure and users in an environment where large volumes of data are managed in real time is the objective of state-of-the-art research, because it is a critical element of any solution aimed at smart cities/territories [ 20 ]. This challenge has generated a research trend: Edge Computing and its integration with IoT, which is reflected in statistics and in the interest of large corporations in research, development and implementation opportunities in smart territory scenarios, so that they can increase their profits and market shares [ 27 – 33 ]. Table 1lists the researches that have employed Edge Computing in different SC scenarios. These proposals evidence the interest in this technology. Table 1. Edge Computing applied in SC/Territory environments. Field Solution Author Mobility · The study considered a SC/Territory scenario where vehicles ran applications that take data from the environment and send them to edge computing servers through roadside units. Premsankar et al., (2018) · The authors conduct a case study on the fog and edge computing requirements of the intelligent traffic light management system. Hussain et al., (2019) Tourism Mobile edge computing potential in making cities/territories smarter. Taleb et al., (2017) Industry and Augmented Reality Proposes the use of Edge Computing to enable intelligent management of industrial tasks. Schenider et al., (2017) Smart District (manhole cover) Edge computing servers interact with corresponding management personnel through mobile devices based on the collected information. A demo application of the proposed IMCS in the Xiasha District of Hangzhou, China, showed its high efficiency. Jia et al., (2018) In this context, most cities are not prepared and do not have the policies required to understand and ensure the confidentiality of a huge amount of data, as well as their correct processing and storage. Another important factor is the application of artificial intelligence techniques for the extraction of information which facilitates the management of key infrastructures, systems and devices in a district, making them functional and efficient. However, rapid response time is fundamental for the functioning of a Smart Territory. In addition, the large volume of data that is sent from a Smart Territory directly to the cloud has high associated and variable costs, forcing cities to seek solutions that reduce the cost of using cloud services, energy and bandwidth. In a Smart Territory scenario, the proposed architecture should be capable of managing the heterogeneity of the IoT devices in order to ensure the management system’s safety and efficiency. Although there are many proposals in the state of the art, Figure 3represents a general model of most architectures, where Blockchain technology may be implemented to preserve the safety and reliability of the sensitive data generated by IoT devices at the edge of the network. Edge nodes are also included in architectures of this type, using artificial intelligence and deep learning algorithms for filtering, real-time data processing and low latency [34]. Sensors 2021,21, 236 7 of 23 Figure 3shows a basic schema of an edge computing architecture with edge nodes that allow user application processes to be executed closer to the data sources [ 35 ]. The edge nodes perform computing tasks such as filtering, processing, caching, load balancing, requesting services and information, and reducing the amount of data that are sent or received from the cloud. Figure 3. Edge Computing for SCs [34]. Smart City Vertical Markets and Tools The development of a Smart City involves a series of phases, from planning to the selection of the most suitable tools. Both the citizens and the private sector have to be involved in the development of a Smart City, resulting in a connected, innovative, digital and successful city. The projects that constitute a Smart City can be classified as follows: Smart Governance, Smart Economy, Smart Mobility, Smart Environment, Smart People and Smart Living. On the basis of these indicators, a number of rankings classify the most advanced Smart Cities, which are the fruit of governance oriented towards innovation and digital inclusion. The highest scores have been obtained by London, Singapore, Seoul, New York and Helsinki. It should be noted that these cities also stand out for having one of the best open data portals, another Smart City pillar that favours innovation. In particular, the high quality of data available in several US cities has led to a number of Data Science competitions on the Kaggle platform to predict future demand for city bikes. In addition, Europe’s profits from the use of AI-based software are expected to reach a value of more than $1.5 billion by 2025, five times the amount obtained in 2020. Several companies have presented proposals related to smart city platforms and architectures, highlighting the Huawei Horizon@City, Toyota and NTT smart city platform and IBM City Operations Platform reference architecture proposals. The Deepint.net tool has been created as the starting point for the solution to these problems, facilitating the rapid and efficient development of the infrastructure that any Smart City requires. Smart City vertical markets and their domains can be found in Table 2. Sensors 2021,21, 236 8 of 23 Table 2. The vertical markets and domains of Smart Cities. Vertical Markets Domain Smart Governanca • Participation • Social Services • Transparency Smart Economy • Innovation • Productivity • Entrepreneurship • Flexible labour market Smart Mobility • Connected public transport • Multimodality • Logistics • Accessibility Smart Environment • Environmental protection • Resources management • Energy efficiency Smart People • Digital education • Creativity • Inclusive society Smart Living • Tourism • Security • Healthcare • Culture 3. Deepint.net Platform for Smart Territories Today, cities/territories are the largest data producers, and all major sectors can extract knowledge and benefit considerably from data analyses. Thanks to advances in computing such as distributed processing techniques, improved processing capabilities and cheaper technology, current artificial intelligence techniques can be applied to large volumes of data at a very fast pace; this would have been unthinkable less than a decade ago. As a result, large investments are being made in the information and computing sector, either through the acquisition of technology that allows for the recovery and processing of information, or by investing in hiring highly qualified scientists to carry out precise studies. Such staff is not always easy to find due to the scientific complexity involved and the peculiarities of the problem domain. Deepint.net is a platform that seeks to cover the current "gap" between the need to create smart territories and the big expenses that this normally entails in terms of tools and data scientists. This platform has been created for the managers of intelligent cities/territories, facilitating all aspects of data management, processing and visualization. Deepint.net is a platform deployed in a self-adapting cloud environment, which enables users to apply artificial intelligence methodologies to their data using the most widespread techniques (random forest, neural networks, etc.), even if they lack knowledge of their operation/configuration, or even programming skills. Deepint.net facilitates the construction of models for data processing, guiding the user through the process. It indicates how to ingest data, work with the data, visualize the information, apply a model and, finally, obtain, evaluate, interpret and use the results. The platform incorporates a wizard that automates the process, it is even able to select the configuration for the artificial Sensors 2021,21, 236 9 of 23 intelligence methodology that will provide the best solution to the problem the user is trying to solve. Furthermore, additional features enable users to exploit all the results through dynamic, reusable dashboards that can be shared and used by other SC tools. Moreover, the results can be exported in different formats for simple integration, for example, in a report. Figure 4shows elements and tools that can be used along the process of data management, from data intake, to the creation of scorecards or data exploitation. Figure 4. Data analysis flow and elements. Deepint.net is a platform created for managing and interpreting data in an efficient and simple way. It has been structured in five different functional layers as shown in Figure 4. Figure 5presents the elements of the data ingestion layer of Deepint.net. Figure 5. Data ingestion layer description. On Deepint.net, both static and dynamic data may be incorporated in the tool. Dynamic data are constantly updated. The data are stored as ’data sources’ as presented in Figure 5. The data sources on Deepint.net are elementary because they are the starting point of the rest of the functions that can be applied. To create a data source from data that are available elsewhere, the wizard asks the user to specify the type of media in which the original data is found, and the configuration associated with that type of media. For example, if it is a database, the user must indicate the host, username, password, database Sensors 2021,21, 236 16 of 23 Figure 14. High-level representation of the platform architecture. 4. Case Study This platform can be adapted for the development of vertical markets, as part of SC management. In general, vertical markets are associated with mobility, security, pollution, etc. The following is a case study on the use of the platform to develop a system for bicycle rental management in Paris. It allows the user to identify the areas of Paris in which they are more likely to find bicycles using historical data in order to predict areas with the highest bicycle density in real-time. The process is carried out using the Pareto optimal location algorithm. 4.1. Pareto Optimal Location Algorithm In this section, we present an algorithm for optimal geographically-distributed resource selection. Let {Ci}i be a set of locations offering the resources a user is seeking. For example, the resources might be public bike sharing stands. The user is interested in borrowing a bike, but they risk arriving at a location where there are no bikes available. The probability of one of those resources can be modeled as a set of functions {pi(t)}i , where t is the time. Such functions can be approximated using an existing dataset, where further dependence on other variables is allowed. For example, a set of models {pi(weekday , hour , weather)}i can be built using machine learning prediction algorithms. An example made with the Vélib dataset, available from the open data Paris portal, is shown in Figure 15. Sensors 2021,21, 236 17 of 23 Figure 15. The heat map of a probability model for the availability of bikes in the city of Paris. A smoothed plot has been generated by overlapping Gaussian kernels weighted with the estimated availability probability. While these models can be used to suggest the resource locations to the user, to maximize the probability of satisfying their need, it is necessary to address the interplay between distance to the resource and the likelihood of finding an available bike. A notion of Pareto optimality [ 36 ] can be introduced to reduce the choice to a smaller set of points. A resource location jdominates another one iif the following conditions apply: (d(x,Ci)≥d(x,Cj) pi(t+d(x,Ci)) ≤pj(t+d(x,Cj)) ⇔Ci≤Cj(1) where d is the estimated time to arrive at a given location, x is the user’s location, and, in the right-hand-side, a notation for this domination condition has been introduced. A location Ci in a set {Ci}(i∈I) , Pareto is optimal if there is no other point dominating it, i.e., @j∈I:j6=i,Ci≤Cj(2) A natural approximation for simplifying the model assumes the variations of probability are negligible on the time scale of displacement, i.e., pi(t+d(x,Ci)) ≈pi(t). (3) This allows to reduce the notion to a regular Pareto condition on the plane (d(x , Ci) , pi) . An example is shown in Figure 16, where optimal points are found in the upper left corner. A representation of the points in terms of real-world coordinates is shown in Figure 17. Finally, an ordered list of recommendations can be provided to the user by introducing a risk-aversion parameter ω∈R, so vi=pi−d(x,Ci) ω(4) defines a metric which serves to order the Pareto optimal points. Users with higher risk-aversion (larger ω ) tend to choose options with greater probabilities, while users with higher risk-tolerance (smaller ω ) tend to choose the closest resources. The choice of reasonable values for ω is scale-dependent and can be tuned by presenting sets of Pareto optimal points to the user and asking for their preference. Sensors 2021,21, 236 18 of 23 0.00 0.02 0.04 0.06 0.08 Time to reach [a.u.] 0.0 0.2 0.4 0.6 0.8 1.0 Probability of availableness Candidates Dominated Figure 16. Pareto optimal points on the time-probability plane. Figure 17. Real-world coordinates of the Pareto optimal points. The location of the user is shown as the black cross. Pareto-optimal choices are shown as blue dots, while sub-optimal locations are shown in orange. 4.2. Implementation with Deepint.net The algorithm described in the previous section was implemented using the Deepint.net platform, as well as specific deployments. An outline of the process is described in this section. Firstly, a prediction algorithm was built using tabulated historical data. A simple example of such data is shown in Figure 18. These data could be used to predict the probability of availability (ratio) as a function of the station, the weather conditions, and the date (here only distinguishing weekdays and weekends for simplicity). Sensors 2021,21, 236 19 of 23 Figure 18. Data uploaded on Deepint.net to build a prediction model. Regressors were built using these data with the assistance of the platform’s online wizard. Figure 19 shows a Random Forest model, including a predicted-observed diagram and an interactive form to invoke the model. Figure 19. Prediction model built on Deepint.net. Finally, a specially designed mobile application used the Deepint.net API (Figure 20) to retrieve the model predictions. This information was used to perform the Pareto optimization as described in the previous section, providing the user with an interactive map where they could choose their preferred option. The integration of the platform was completed with the construction of a set of dashboards which allowed to monitor the information, as shown in Figure 21. Sensors 2021,21, 236 20 of 23 Figure 20. Online documentation of the Deepint.net API. Figure 21. System dashboard built using the Deepint.net platform. 5. Platform Evaluation, Conclusions and Future Work Deepint.net is a platform that facilitates knowledge management and the creation of intelligent systems for managing territories efficiently. The platform facilitates the use of centralized intelligence and edge architectures, with intelligent nodes, allowing for both decentralized and centralized analyses. The implementation of smart territory management systems involves a reduction in costs associated with maintenance and resource management. Depending on its application, the platform can facilitate traffic optimization, create systems for analyzing the opinions citizens on social networks, or help assess and prevent pollution, etc. In general, the use of a platform of this type, which allows for the use of any cloud, reduces initial investment needs. Normally, costly infrastructures are required to analyze medium and large volumes, since the cost can be very high if 1GB is exceeded. This cost would be significantly reduced by processing the data in a remote cloud-based infrastructure tailored to the needs of each territory. The use of commercial infrastructures also reduces risks and increases the security of data management. Moreover, it is possible Sensors 2021,21, 236 21 of 23 to scale the infrastructure to the needs of each moment. The platform is designed to ingest and manage any type of infrastructure, such as intelligent nodes, facilitating the decentralization of intelligence and the creation of intelligent models distributed in edge computing mode. Similarly, the territories or cities in which this platform would be used would not need to have staff with programming or data analysis knowledge, Instead, they would only need to have knowledge of the information owned by their company. The user takes on the role of a data analysis expert; they work with the data and understand if the obtained results are satisfactory or not. This allows to focus on the result and not on the development costs, which would be negligible thanks to the proposed system. The system may be operated in real time by any user in the city. Users with no computer knowledge would only display the information on a real-time dashboard while managers would be in charge of monitoring the general performance of the company. All city stakeholders can benefit. The wizards offered by Deepint.net for the integration of data sources, creation of visualizations, dashboards and modelling, cover the entire ecosystem within the data analysis life cycle. This proposal has advantage over other commercial data analysis solutions which are much more limited in functionality and usability. The development process of this platform has been made efficient thanks to the use of Deepint.net. The platform also facilitated the carrying out of the case study in the city of Paris. Moreover, Deepint.net is high versatile and it is currently undergoing further development in order to incorporate new functionalities which can adapt to a wider range of smart territories, eventually aiming to become a comprehensive agent capable of speeding up the development of any smart city. Furthermore, in-depth research is being carried out on the many technologies which form deepint.net and the findings will be shared with the scientific community in future articles. Author Contributions: Conceptualization, A.R.C.; Formal analysis, R.C.-V. and J.P.-D.; Funding acquisition, J.P.T.; Investigation, G.H., M.S.-V., M.L.-P., S.M.-G., S.R.-G., M.S.M., E.D.-P., J.A.G.-C., T.Y., P.N. and S.O.; Methodology, A.G.-B., R.S.A., F.d.l.P. and S.T.; Project administration, J.M.C. and D.V.V.; Resources, E.G. and P.P.-M.; Software, P.C., A.S.R.G. and F.P.-S.; Visualization, M.A.-M. and B.B.H.; Writing–original draft, D.G.-R. All authors have read and agreed to the published version of the manuscript. Funding: This work has been partially supported by the European Regional Development Fund (ERDF) through the Interreg Spain-Portugal V-A Program (POCTEP) under grant 0677_DISRUP- TIVE_2_E, the project My-TRAC: My TRAvel Companion (H2020-S2RJU-2017), the project LAPASSION, CITIES (CYTED 518RT0558) and the company DCSC. Pablo Chamoso’s research work has been funded through the Santander Iberoamerican Research Grants, call 2020/2021, under the direction of Paulo Novais. Institutional Review Board Statement: Not applicable. Informed Consent Statement: Not applicable Data Availability Statement: Data available in a publicly accessible repository. The data presented in this study is openly available in app.deepint.net. Conflicts of Interest: The authors declare no conflict of interest. Appendix A. Allowed Data Formats The following data types can be used as inputs on deepint.net: SQLite, SQL, CSV, JSON or GeoJSON coming from local files or from S3, or http/https URLs/endpoints; in addition to MQTT, MongoDB, PostgreSQL, MySQL, MaríaDB, Oracle, Microsoft SQL Server. Sensors 2021,21, 236 22 of 23 References 1. UNESCO—United Nations Educational, Scientific and Cultural Organization. Smart Cities: Shaping the Society of 2030; Netexplo: París, France, 2019; ISBN 978-92-3-100317-2. 2. United Nations (UN). The World’s cities in 2018: Data booklet; UN: New York, NY, USA, 2018; p. 4. Available online: https: //www.un.org/en/events/citiesday/assets/pdf/the_worlds_cities_in_2018_data_booklet.pdf (accessed on 31 December 2020). 3. Silva, B.-N.; Khan, M.; Han, K. Towards sustainable smart cities: A review of trends, architectures, components, and open challenges in smart cities. Sustain. Cities Soc. 2018,38, 697–713. [CrossRef] 4. Latif, S.; Afzaal, H.; Zafar, N.-A. Intelligent traffic monitoring and guidance system for smart city. In Proceedings of the International Conference on Computing, Mathematics and Engineering Technologies (iCoMET), Sukkur, Pakistan, 3–4 March 2018 ; pp. 1–6. 5. Ning, Z.; Huang, J.; Wang, X. Vehicular Fog Computing: Enabling Real-Time Traffic Management for Smart Cities. IEEE Wirel. Commun. 2019,26, 87–93. [CrossRef] 6. Pan, X.; Zhou, W.; Lu, Y.; Sun, N. Prediction of Network Traffic of Smart Cities Based on DE-BP Neural Network. IEEE Access 2019,7, 55807–55816. [CrossRef] 7. Rehena, Z.; Janssen, M. Towards a Framework for Context-Aware Intelligent Traffic Management System in Smart Cities. In Proceedings of the Companion Web Conference 2018, Lyon, France, 23–27 April 2018; pp. 893–898. 8. Yao, H.; Gao, P.; Wang, J.; Zhang, P.; Jiang, C.; Han, Z. Capsule Network Assisted IoT Traffic Classification Mechanism for Smart Cities. IEEE Internet Things J. 2019,6, 7515–7525. [CrossRef] 9. Kapser, S.; Abdelrahman, M. Acceptance of autonomous delivery vehicles for last-mile delivery in Germany—Extending UTAUT2 with risk perceptions. Transp. Res. Part C Emerg. Technol. 2020,111, 210–225. [CrossRef] 10. Luo, A.; Yang, F.; Li, X.; Nie, D.; Jiao, Z.; Zhou, S.; Cheng, H. Hybrid Graph Neural Networks for Crowd Counting. arXiv 2020 , arXiv:2002.00092. 11. Kumar, S.; Datta, D.; Singh, S.-K.; Sangaiah, A.-K. An intelligent decision computing paradigm for crowd monitoring in the smart city. J. Parallel Distrib. Comput. 2018,118, 344–358. [CrossRef] 12. Zhao, L.; Wang, J.; Liu, J.; Kato, N. Routing for Crowd Management in Smart Cities: A Deep Reinforcement Learning Perspective. IEEE Commun. Mag. 2019,57, 88–93. [CrossRef] 13. Solmaz, G.; Wu, F.-J.; Cirillo, F.; Kovacs, E.; Santana, J.; Sánchez, L.; Sotres, P. Toward Understanding Crowd Mobility in Smart Cities through the Internet of Things. IEEE Commun. Mag. 2019,57, 40–46. [CrossRef] 14. Rego, A.; García, L.; Sendra, S.; Lloret, J. Software Defined Network-based control system for an efficient traffic management for emergency situations in smart cities. Future Gener. Comput. Syst. 2018,88, 243–253. [CrossRef] 15. Rajak, B.; Kushwaha, D.S. Traffic Control and Management Over IoT for Clearance of Emergency Vehicle in Smart Cities. In Information and Communication Technology for Competitive Strategies; Springer: Singapore, 2019; Volume 40. 16. Ranga, V.; Sumi, L. Intelligent Traffic Management System for Prioritizing Emergency Vehicles in a Smart City. Int. J. Eng. Trans. B Appl. 2018,31, 278–283. 17. Alkhatib, M.; Barachi, M.-E.; Shaalan, K. An Arabic social media based framework for incidents and events monitoring in smart cities. J. Clean. Prod. 2019,220, 771–785. [CrossRef] 18. Perez, A.-J.; Zeadally, S. A Communication Architecture for Crowd Management in Emergency and Disruptive Scenarios. IEEE Commun. Mag. 2019,57, 54–60. [CrossRef] 19. Kousiouris, G.; Akbar, A.; Sancho, J.; Ta-Shma, P.; Psychas, A.; Kyriazis, D.; Varvarigou, T. An Integrated Information Lifecycle Management Framework For Exploiting Social Network Data to Identify Dynamic Large Crowd Concentration Events in Smart Cities Applications. Future Gener. Comput. Syst. 2018,78, 516–530. [CrossRef] 20. O’Dwyer, E.; Pan, I.; Acha, S.; Shah, N. Smart energy systems for sustainable smart cities: Current developments, trends and future directions. Appl. Energy 2019,237, 581–597. [CrossRef] 21. Liu, Y.; Yang, C.; Jiang, L.; Xie, S.; Zhang, Y. Intelligent edge computing for IoT-based energy management in smart cities. IEEE Netw. 2019,33, 111–117. [CrossRef] 22. Ullah, Z.; Al-Turjman, F.; Mostarda, L.; Gagliardi, R. Applications of artificial intelligence and machine learning in smart cities. Comput. Commun. 2020,154, 313–323. [CrossRef] 23. Chamoso, P.; González-Briones, A.; De La Prieta, F.; Venyagamoorthy, G.K.; Corchado, J.M. Smart city as a distributed platform: Toward a system for citizen-oriented management. Comput. Commun. 2020,152, 323–332. [CrossRef] 24. Laufs, J.; Borrion, H.; Bradford, B. Security and the SC: A systematic review. Sustain. Cities Soc. 2020,55, 102023. [CrossRef] 25. Elmaghraby, A.S.; Losavio, M.M. Cyber security challenges in Smart Cities: Safety, security and privacy. J. Adv. Res. 2014 ,5, 491–497. [CrossRef] 26. Kitchin, R.; Dodge, M. The (in) security of smart cities: Vulnerabilities, risks, mitigation, and prevention. J. Urban Technol. 2019 , 26, 47–65. [CrossRef] 27. Khan, L.U.; Yaqoob, I.; Tran, N.H.; Kazmi, S.M.; Dang, T.N.; Hong, C.S. Edge Computing Enabled Smart Cities: A Comprehensive Survey. arXiv 2019, arXiv:1909.08747. 28. Jia, G.; Han, G.; Rao, H.; Shu, L. Edge computing-based intelligent manhole cover management system for smart cities. IEEE Internet Things J. 2017,5, 1648–1656. [CrossRef] Sensors 2021,21, 236 23 of 23 29. Premsankar, G.; Ghaddar, B.; Di Francesco, M.; Verago, R. Efficient placement of edge computing devices for vehicular applications in smart cities. In Proceedings of the NOMS 2018–2018 IEEE/IFIP Network Operations and Management Symposium, Taipei, Taiwan, 23–27 April 2018; pp. 1–9. 30. Schneider, M.; Rambach, J.; Stricker, D. Augmented reality based on edge computing using the example of remote live support. In Proceedings of the 2017 IEEE International Conference on Industrial Technology (ICIT), Toronto, ON, Canada, 22–25 March 2017; pp. 1277–1282. 31. Taleb, T.; Dutta, S.; Ksentini, A.; Iqbal, M.; Flinck, H. Mobile edge computing potential in making cities smarter. IEEE Commun. Mag. 2017,55, 38–43. [CrossRef] 32. Hussain, M.M.; Alam, M.S.; Beg, M.S. Fog computing model for evolving smart transportation applications. Fog Edge Comput. Princ. Paradig. 2019,2, 347–372. 33. Gheisari, M.; Wang, G.; Chen, S. An Edge Computing-enhanced Internet of Things Framework for Privacy-preserving in SC. Comput. Electr. Eng. 2020,81, 106504. [CrossRef] 34. Sittón-Candanedo, I.; Alonso, R.S.; García, Ó.; Muñoz, L.; Rodríguez-González, S. Edge computing, iot and social computing in smart energy scenarios. Sensors 2019,19, 3353 [CrossRef] 35. Sittón-Candanedo, I.; Alonso, R.S.; Corchado, J.M.; Rodríguez-González, S.; Casado-Vara, R. A review of edge computing reference architectures and a new global edge proposal. Future Gener. Comput. Syst. 2019,99, 278–294 36. Morris, P. Introduction to Game Theory; Springer Science & Business Media: New York, NY, USA, 2012.