| Literature DB >> 31426586 |
Abstract
Exploring Internet of Things (IoT) data streams generated by smart cities means not only transforming data into better business decisions in a timely way but also generating long-term location intelligence for developing new forms of urban governance and organization policies. This paper proposes a new architecture based on the edge-fog-cloud continuum to analyze IoT data streams for delivering data-driven insights in a smart parking scenario.Entities:
Keywords: IoT architecture; IoT data streams; cloud computing; edge computing; fog computing; smart parking; streaming analytics
Year: 2019 PMID: 31426586 PMCID: PMC6720178 DOI: 10.3390/s19163594
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Overview of streaming tasks.
Figure 2The proposed Internet of Things (IoT) architecture for our Analytics Everywhere framework.
Figure 3Geographical Distribution of the edge-fog-cloud nodes for the smart parking application.
The overview of the compute nodes.
| Edge Node | Fog Node | Cloud Node | |
|---|---|---|---|
| OS | Ubuntu Mate | Window Server | CentOS 7.0 (x86_64) |
| CPU | ARM Cortex-A53 | Intel Xeon E5-2623 v3 | Intel Xeon E5-2650 v2 |
| # of Core | 4 (1.4 GHz 64-bit) | 4 (3.00 GHz 64-bit) | 8 (2.60 GHz 64-bit) |
| RAM | 1 GB | 30 GB | 30 GB |
| Disk | 32 GB | 1 TB | 1 TB |
| Hardware | Raspberry Pi 3 B+ | Commodity Server | Virtual Machine |
Figure 4Implementation of the architecture for the smart parking application.
Software used for the modules implementation.
|
|
| |
|
| ||
|
| ||
|
|
| |
|
| ||
|
| ||
|
| ||
|
|
| |
|
| ||
|
| ||
|
| Aiming to mitigate difficulties in managing, distributing and updating the system, we have installed Apache Ambari and Apache Zookeeper in our network of compute nodes. The Apache Ambari package is then used to configure and install the other main modules of our IoT architecture. | |
|
| For the security, we have also configured Wazuh which is an open source system for integrity monitoring, and threat and intrusion detection to protect our compute nodes. It consists of many functions such as security analytics, vulnerability detection, file integrity monitoring, and configuration assessment. | |
Figure 5Overview of the implemented data life-cycle.
The description of data tuples.
| Data Fields | Attribute Name | Description |
|---|---|---|
| Parking Event | spot_id | The parking spot ID in the parking event table |
| length | Total parking duration (hours) when a driver parks his/her vehicle | |
| startTime | A timestamp indicating the start time of the parking process | |
| vehicle_id | Vehicle ID in the parking event table | |
| Spot Entity | lat | Latitude of the parking spot |
| long | Longitude of the parking spot | |
| spot_name | The conventional name of the parking spot given by the City |
Figure 6The process of computing an Empty event at the fog.
Figure 7Sequence diagram for pushing the IoT data stream to the edge, fog, and cloud using Advanced Message Queuing Protocol (AMQP) protocol.
Figure 8Latency Patterns.
Figure 9Memory Consumption Overview.
Figure 10Parking usage pattern of the 25 most used parking spots.
Figure A1Parking usage pattern at each spot on 14 May 2019.
Figure 11Usage patterns of the top 50 vehicles.
Figure 12The dendrogram of the first observation week (13 May–19 May).
Figure A2Dendrogram of clusters.
Figure 13Clustering result of the first observation week (13 May–19 May).
Figure A3Clustering results for the 2nd week.
Figure A4Clustering results for the 3rd week.
Figure A5Clustering results for the 4th week.
Figure A6Clustering results for the 5th week.
Figure 14Principle Component Analysis over the aggregated data.
Figure 15The dendrogram of the first observation week for the top 5 principle components.
Figure 16Temporal patterns of occupied/empty events that were computed at the fog node.
Figure A7Clustering results using PCA for the 2nd week.
Figure A8Clustering results using PCA for the 3rd week.
Figure A9Clustering results using PCA for the 4th week.
Figure A10Clustering results using PCA for the 5th week.
Figure 17Incremental predictive learning results.
Figure 18F1, Precision and Recall score of our predictive model.