Keywords : MQTT
IRAQI JOURNAL OF COMPUTERS, COMMUNICATIONS, CONTROL AND SYSTEMS ENGINEERING,
2020, Volume 20, Issue 1, Pages 53-67
The MQTT protocol is one of the Internet of Things (loT) application protocols. It is based on publishing/subscribing messaging patterns. This protocol uses a broker to manage the communication between the subscribers and the publishers over the internet. There were two problems associated with the implementation of this protocol. The first one, there are many sensors generating huge data using the very simple IoT architecture. These big data may lead to congestion on the internet and thus will cause several disadvantages such as decreasing throughput, packet loss, and delay, which in turn may affect the performance of the MQTT broker, thus affecting the mechanism of the performance of the IoT application. The second problem, the MQTT protocol does not contain a priority management algorithm which is considered a very important and special issue in health applications. In this paper, a smart gateway is designed to enhance the MQTT networks. This work introduced the smart e-health gateway used in MQTT based remote Electrocardiogram (ECG) monitoring system. A new architecture has been implemented that contains two new components, the local broker and the publisher /subscriber (pub/sub) models. The local broker works in the local network and the publisher /subscriber (pub/sub) model is responsible for the process of smart in the gateway. One of the smart applications was used is a filter application. We’ve taken the data filtering side and give it a priority, as an example in order to know the possibility of achieving the architecture of the gateway that was created in our work. And is this architecture valid to work or invalid. Therefore, we conducted a test using the application of ECG signal filtration and give priority to patients according to the case of an urgent for each patient. The R-peaks were calculated from the ECG signals-peaks for the identification of heart rate. The urgent level will be classified depending on the beats rate feature. The proposed smart gateway function is to manage the data rate that will pass through to the internet. In the case of high urgent level, all the packets will be passed, while in case of a low level, the least possible data will be passed. The proposed system scenarios are designed and evaluated by using the OMNET simulation environment and Inet4 framework. The simulation results are shown by the evaluation methods used (delay, throughput, packets sent, and packets received). These results proved the success of the architectural work that was implemented in the system.