Feedback

Faculté des Sciences appliquées
Faculté des Sciences appliquées
Mémoire
VIEW 149 | DOWNLOAD 690

Master thesis : MQTT broker with in-line, real-time data visualiser for the Internet of Things (IoT)

Detienne, Martin ULiège
Promoteur(s) : Leduc, Guy ULiège ; Tychon, Emmanuel
Date de soutenance : 27-jui-2022/28-jui-2022 • URL permanente : http://hdl.handle.net/2268.2/14496
Détails
Titre : Master thesis : MQTT broker with in-line, real-time data visualiser for the Internet of Things (IoT)
Auteur : Detienne, Martin ULiège
Date de soutenance  : 27-jui-2022/28-jui-2022
Promoteur(s) : Leduc, Guy ULiège
Tychon, Emmanuel 
Membre(s) du jury : Donnet, Benoît ULiège
Boigelot, Bernard ULiège
Langue : Anglais
Nombre de pages : 72
Mots-clés : [en] MQTT
[en] Viewer
[en] Broker
[en] Visualiser
[en] IoT
[en] Debug
[en] Analyse
[en] Tool
[en] JavaScript
[en] NodeJS
[en] Aedes
[en] React
Discipline(s) : Ingénierie, informatique & technologie > Sciences informatiques
Public cible : Chercheurs
Professionnels du domaine
URL complémentaire : https://gitlab.com/mqtt-broker-sniffer
Institution(s) : Université de Liège, Liège, Belgique
Diplôme : Master en sciences informatiques, à finalité spécialisée en "computer systems security"
Faculté : Mémoires de la Faculté des Sciences appliquées

Résumé

[en] Internet of Things (IoT) devices are more and more used in our today's life. However, as the amount of connected devices increases, the communications between them are more and more difficult to scale. The MQTT communication protocol has come to solve this issue. The MQTT protocol is a communication protocol between IoT devices that aims to centralise the communications inside one broker. However, a typical MQTT communication involves hundreds of messages per minute. This is then hard to analyse an MQTT communication with packet sniffer tools like Wireshark. The goal of this master thesis is to provide an appropriate and publicly available tool to visualise and analyse MQTT communications for debugging purposes. This report reviews the goals of this project: create several MQTT broker environments on the same system, display the set of published messages, the state of a broker, filter the published messages, and display telemetry on the number of published messages. This thesis report then goes through the MQTT protocol and its various types of packets. The high-level architecture is discussed with the first decisions for the role of each component that will be developed: a broker to record the MQTT data and a viewer to visualise it. We then decide on the type of database to store the recorded data persistently, the kind of data to record which is interesting to display to the user, and how this data should be stored. The architecture of the broker is reviewed as well as the technique used to manage the several independent MQTT broker environments. With this, we discuss how to save the events that happen in an MQTT broker and the techniques used to scale the project with a big amount of MQTT messages. To conclude the discussion about the architecture, we discuss the plugin system that allows extending the viewer, how the MQTT data should be stored and represented in the viewer, and how the user should have access to the required features. We then review how complex filters can be built into the viewer. We then discuss the development methodology of this project. The implementation details are then reviewed with the different technologies used in this project. We will talk about the difficulties encountered during the deployment and explanations on how to deploy this project easily. The results of this project are finally reviewed with the latencies encountered when the broker faces a lot of traffic and some screenshots of the viewer. A discussion is made about the further possible improvements on this project. Additional documents and documentation are provided at the end of this report.


Fichier(s)

Document(s)

File
Access MQTT_Visualiser.pdf
Description:
Taille: 1.86 MB
Format: Adobe PDF
File
Access MQTT_Visualiser_Summary.pdf
Description:
Taille: 64.15 kB
Format: Adobe PDF

Annexe(s)

File
Access Viewer.zip
Description:
Taille: 71.45 kB
Format: Unknown
File
Access Broker.zip
Description:
Taille: 13.87 kB
Format: Unknown

Auteur

  • Detienne, Martin ULiège Université de Liège > Master sc. informatiques, à fin.

Promoteur(s)

Membre(s) du jury

  • Donnet, Benoît ULiège Université de Liège - ULiège > Dép. d'électric., électron. et informat. (Inst.Montefiore) > Algorithmique des grands systèmes
    ORBi Voir ses publications sur ORBi
  • Boigelot, Bernard ULiège Université de Liège - ULiège > Dép. d'électric., électron. et informat. (Inst.Montefiore) > Informatique
    ORBi Voir ses publications sur ORBi
  • Nombre total de vues 149
  • Nombre total de téléchargements 690










Tous les documents disponibles sur MatheO sont protégés par le droit d'auteur et soumis aux règles habituelles de bon usage.
L'Université de Liège ne garantit pas la qualité scientifique de ces travaux d'étudiants ni l'exactitude de l'ensemble des informations qu'ils contiennent.