0% found this document useful (0 votes)
103 views8 pages

A Comprehensive Study of Communication Protocols of Internet of Things

The document discusses communication protocols for internet of things (IoT). It analyzes protocols like MQTT, CoAP, AMQP and compares them based on properties like security, reliability, range of communication. The objective is to identify the most suitable protocol for use in automated systems by evaluating protocols on speed, frequency and accuracy.

Uploaded by

Naveed Afzal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views8 pages

A Comprehensive Study of Communication Protocols of Internet of Things

The document discusses communication protocols for internet of things (IoT). It analyzes protocols like MQTT, CoAP, AMQP and compares them based on properties like security, reliability, range of communication. The objective is to identify the most suitable protocol for use in automated systems by evaluating protocols on speed, frequency and accuracy.

Uploaded by

Naveed Afzal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

A Comprehensive Study of Communication Protocols of Internet Of

Things

By

Student’s Name Rimsha Arshad

Registration # 2016-GCUF-36954

Synopsis submitted in partial fulfillment of

the requirements for the degree of

M.Sc.

in

COMPUTER SCIENCE

DEPARTMENT OF COMPUTER SCIENCE

GOVT. COLLEGE UNIVERSITY, FAISALABAD

April 2021
ABSTRACT
Internet of Things (IoT) is the future of all the present-day devices around the globe.
Giving them internet connectivity makes IoT the next frontier of technology. Possibilities are
limitless as the devices communicate and interact with each other which make it even more
interesting for the global markets. For example, Rolls-Royce announced that it would use the
Microsoft Azure IoT suite and also the Intelligence suite of Cortana to keep track of the fuel
usage, for performance analysis, to optimize the fly routes etc. which improves the airline
efficiency. The devices must communicate with each other, the data from these devices must
be collected by the servers, and the data is then analyzed or provided to the people. For all
this to happen, there is a need for efficient protocols to ensure that the communication is
secure and to avoid loss of data. This research is about the selection and analysis of best
protocol for implementation that can be used for the most efficient communication in IoT.
Various protocols with various capabilities are required for different environments. The
internet today supports hundreds of protocols from which choosing the best would be a great
challenge. But each protocol is different in its own way when we have the specifics like
security, reliability, range of communication etc. This research emphasizes on the best
available protocols and the environments that suit them the most. It provides an
implementation of best protocols and analyzes the protocols according to the results obtained.
The data collected from the sensors/devices through a protocol is also subject to predictive
analysis which improves the scope of the project to performing data analysis on the data
collected through IoT. In this research, we are going to compare the most effective and
efficient protocols on the basis of some facts like range, data rate power and many more. Our
main objective is to identify the most suitable and efficient communication protocol among
all to be implemented on automated systems by comparing these protocols .
Introduction:

The protocols of The Internet of Things (IoT) consists of a wide variety of


heterogeneous devices, ranging from wireless sensors to smart home appliances connected to
the global IP network and is expected to include many other types of machines that were
typically not connected so far. IoT is a networked interconnection of objects which have
inbuilt intelligence that aims to integrate the objects’ interaction via embedded systems with
the communicating device or human beings. IoT has offered tremendous opportunities to
communicate and connect with the global network with the aid of an array of devices. Most
of the communication process in IoT happens among the machines, which is called Machine
to Machine (M2M).
The major challenge is, the machines are low power devices and operates in a
constrained network conditions. The Standards Developing Organizations (SDOs) like IETF,
ITU-T, and OneM2M published various requirements of IoT applications as M2M Use
Cases. Wide range of protocols was developed by the Development Organizations to meet
communication requirements of the constrained devices. These protocols belong to certain
messaging styles like Publish-Subscribe model, Request-Response model and Peer to Peer
model. This paper suggests an architecture that helps to assess the performance of IoT
communication protocols in a constrained network condition based on the Use Cases.
Communication protocols such as Message Queue Telemetry Transport (MQTT), Advanced
Message Queuing Protocol (AMQP) and CoAP (Constrained Application Protocols) are used
for the performance evaluation.
This research will review and compare between IoT communication protocol which
is realized as a clear insight for the readers of different IoT communication protocol vision,
their pros and cons, and their power speed and range consumption.

Problem Statement:
Different IoT technologies and protocols exist. So it’s become difficult to select which one is
best for practical implementation. There are many properties and characteristics of different
protocols and it’s become very difficult to choose best from them for the automated devices.
So in our research, we will compare different protocols suitable communication and
networking protocol that facilitates best to the device on their work in speed, frequency and
accuracy level. We will try to identify the protocol that can provide environment for devices
to work more efficiently.

Objective:
Our objective is to compare different protocols on the basis of different aspects. We will try
to identify suitable communication protocol that facilitates best to devices on their working
speed, frequency and accuracy level. We will try to identify the protocol that can provide
environment for devices to work more efficiently.

Literature Review:
This section presents some previous works analyzing some communication protocols’
performance in the literature. I'll handle the various data protocols XMPP, CoAP, AMQP,
MQTT, DDS and MQTT-SN in the IoT concept. Authors aim to compare the functionality of
each data protocol with the other data protocols according to performance metrics such as
packet loss rate, message size, bandwidth consumption and latency. Each protocol’s
performance is evaluated depending on the application. Besides, XMPP has better
performance results due to its XML stanza based transmitting for instant messaging
applications over the internet.
I aim to determine which protocol is more suited for different application areas with
constrained devices by comparing XMPP and CoAP. Android O/S and Intel X86 systems are
used to perform protocol’s evaluations. The software technologies for implementation are
‘libcoap’ library for CoAP and ‘Mosquitto’ project for MQTT. Also, Wireshark is used to
analyze the network traffic. Protocols are compared in terms of energy consumption,
bandwidth utilization, and reliability. According to the results, CoAP is better than MQTT
with regard to optimize energy usage.
I perform a comprehensive survey to compare performances of CoAP, MQTT addressing the
bandwidth consumption, latency and packet loss metrics on a real-time, DDS and a custom
UDP-based protocol in medical monitoring application bydata which is collected from
patients. Also, I'll clarify how protocols perform their functions under a constrained, low
quality wireless networks. The hardware technologies are Raspberry Pi model 2, Arduino
Uno revision 3 and Windows laptop ASUS Zenbook. The software technologies for
implementation are “Californium CoAP” for CoAP server and client), “HiveMQ” for MQTT
server implementation, “Mosquitto” for Broker and MQTT clients (both subscriber and
publisher), “OpenDDS” for DDS server and client. Performances of protocols are analyzed
with “TBF”, “NetEM” and “Wireshark” tools. Performance results show that both TCP-
based protocols (DDS and MQTT) are more reliable than UDP-based protocols (Custom-
UDP and CoAP) in low quality wireless networks. However, TCP-based protocols have more
latency than UDP-based protocols in the same network condition. In addition, DDS performs
better than MQTT in poor network conditions.

Sikandar evaluate and compare the performances of MQTT and CoAP protocols in terms of
packet-loss, retransmitting messages delay, data transferred per message. The authors
especially focus on the data transmission between sensors at the gateway node to the back-
end server for CoAP or broker for MQTT. A laptop as a server, a BeagleBoard-xM for
middleware implementation and a netbook for Wide Area Network (WAN) emulator are used
as the hardwaretechnologies. The software technologies are "Wanem” (the wide area network
emulator) to transfer messages, “Mosquitto” project for MQTT Broker, “libcoap” library for
CoAP and “Wireshark” to measure metrics. Results show that MQTT messages have lower
delays than CoAP for lower packet loss. On the other hand, MQTT has higher delays than
CoAP for higher packet loss. Also, CoAP has less traffic when message size is smaller and
packet loss rate is less.
Methodology
In IoT communication, there are many protocols like LoWPAN, ZigBee, BlueTooth LE,
RFID, NFC, SigFox, Cellular, Z-Wave in which we will try to find out which will be best on
the basis of following aspects:
• Standard
• Frequency Bands
• Network
• Topology
• Range
• Security
• Spreading
• Modulation Type
• Features
• Power

Expected Findings
In this paper, we prove that protocols are essentially required for the IoT devices to
collect environmental data in real-time. According to the requirements, we examine the
performance metrics of CoAP, MQTT, and XMPP and by comparing these
performance metrics, we aim to reveal the differences of these protocols in a real-time
communication environment. Protocols are compared by packet creation time, packet
delivery speed metrics to determine the delay differences in the real-time communication
environment. As a result, MQTT has better packet creation and transmission time than
other protocols, although CoAP is UDP-based protocol. Moreover, the MQTT delivers its
packets two times faster than the CoAP. MQTT is better than other protocols due to several
reasons such as the network has wide bandwidth, the packets being transfer are at a
lower size and the COAP is less standardized. When XMPP is examined in such a
network, it has a slowing structure like XML stanza, which causes extra latency when
compared to the other protocols. Our future plan is to measure presented protocols for
different conditions such as low bandwidth, high collision rate and expand the environment
to collect environmental continuous data from different locations.

References

 M. Anusha, E. S. Babu, L. S. M. Reddy, A. V. Krishna and B. Bhagyasree,


“Performance Analysis of Data Protocols of Internet of Things: Qualitative Review,”
International Journal of Pure and Applied Mathematics, vol. 115, no. 6, pp. 37-47,
2017.
 S. Bandyopadhyay and A. Bhattacharyya, “Lightweight Internet Protocols for Web
Enablement of Sensors using Constrained Gateway Devices,” IEEE 2013
International Conference on Computing, Networking and Communications (ICNC),
pp. 334-340, Jan. 2013.
 L. Atzori, A. Iera, and G. Morabito, “The Internet of Things: A survey,” Computer
Networks, vol. 54, no. 15, pp. 2787–2805, Oct. 2010.
 Al-Fuqaha, M. Guizani, M. Mohammadi, M. Aledhari, and M. Ayyash, “Internet of
Things: A Survey on Enabling Technologies, Protocols, and Applications,” IEEE
Communication Surveys & Tutorials, vol. 17, no. 4, pp. 2347-2376, Jun. 2015.
 V. Karagiannis, P. Chatzimisios, F. Vazquez-Gallego, J. Alonso-Zarate. “A Survey on
Application Layer Protocols for the Internet of Things,” Transaction on IoT and
Cloud Computing, vol. 3, no. 1, pp. 11-17, 2015.
 Z. Sheng, S. Yang, Y. YU, A. V. Vasilakos, J. A. Mccann and K. K. Leung, “A
Survey on the IETF Protocol Suite for the Internet of Things: Standards, Challenges
and Opportunities,” IEEE Wireless Communications, vol. 20, no. 6, pp. 91-98, Dec.
2017.
 P. Kayal and H. Perros, “A Comparison of IoT application layer protocols through a
smart parking implementation,” IEEE 2017 20th Conference on Innovations in
Clouds, Internet and Networks (ICIN), Mar. 2017, pp. 331336.
 Bormann, A. P. Castellani, and Z. Shelby, “Coap: An application protocol for billions
of tiny internet nodes,” IEEE Internet Computing, vol. 16, no. 2, pp. 62-67, Mar.
2012.
 Z. Shelby, K. Hartke and C. Bormann, “The Constrained Application Protocol,”
Internet Engineering Task Force (IETF), Request for Comments: 7252, Jun. 2014.
 Y. F. Gomes, D. F. Santos, H. O. Almeida and A. Perkusich, “Integrating MQTT and
ISO/IEEE 11073 for health information sharing in the Internet of Things,” IEEE 2015
International Conference on Consumer Electronics (ICCE), pp. 200-201, Jan. 2015.
 Tabish, R., Mnaouer, A. B., Touati, F. &Ghaleb, A. M. 2013. A comparative analysis
of BLE and 6LoWPAN for U-HealthCare applications. GCC Conference and
Exhibition (GCC), 2013 7th IEEE: 286–291.
 Al-Fuqaha, A., Guizani, M., Mohammadi, M., Aledhari, M. &Ayyash, M. 2015.
Internet of things: A survey on enabling technologies, protocols, and applications.
IEEE Communications Surveys \& Tutorials, 17(4): 2347–2376.
 Kuzlu, M., Pipattanasomporn, M. &Rahman, S. 2015. Review of communication
technologies for smart homes/building applications. Innovative Smart Grid
Technologies-Asia (ISGT ASIA), 2015 IEEE: 1–6.
 Samuel, S. S. I. 2016. A review of connectivity challenges in IoT-smart home. Big
Data and Smart City (ICBDSC), 2016 3rd MEC International Conference on: 1–4.
[20] Raza, U., Kulkarni, P. &Sooriyabandara, M. 2017. Low Power Wide Area
Networks: An Overview. IEEE Communications Surveys \& Tutorials.
 Frantz, T. L. &Carley, K. M. 2005. A formal characterization of cellular networks.

You might also like