Loading...

Media is loading
 

Abstract

This work proposes a two-layer communication architecture based on fog computing for smart cities. The architecture aims to store, process, and aggregate sensor data. To choose the most suitable communication protocol for the proposed architecture, we analyze the performance of the two most popular protocols for Internet of Things (IoT), the Message Queuing Telemetry Transport (MQTT) and the Constrained Application Protocol (CoAP). We considered latency, bandwidth consumption, efficiency in case of data loss, and energy efficiency as performance metrics. After the protocol is chosen, we employ a topic-based publish/subscribe system for sending and receiving messages, as well as issuing alerts based on received information. Two case studies on monitoring are shown: water quality in reservoirs and city air conditions. Results show that the application is able to receive data and issue alerts for both case studies.

Share

COinS
 

When commenting on articles, please be friendly, welcoming, respectful and abide by the AIS eLibrary Discussion Thread Code of Conduct posted here.