IoT Communication Protocols

20,774 views 27 slides Feb 27, 2018
Slide 1
Slide 1 of 27
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27

About This Presentation

This slide features the list of communication protocols that are suitable for Internet of things. It features from http to CoAP


Slide Content

IOT COMMUNICATION
PROTOCOLS
T S PRADEEP KUMAR
HTTP://WWW.NSNAM.COM

TSP
LINK LAYER PROTOCOLS
‣802.3 - Ethernet
‣802.11 - wifi
‣802.16 - WiMax
‣802.15.4 - Low Rate WPAN
‣2G/3G/4G - Mobile Communication

TSP
NETWORK LAYER PROTOCOLS
‣IPv4
‣Exhausted in 2011
‣32bit address
‣IPv6
‣128 bit addresses
‣6LoWPAN
‣Limited processing capability
‣Shows compression mechanism with IPv6 over 802.15.4

TSP
TRANSPORT LAYER PROTOCOL
‣TCP
‣UDP

TSP
APPLICATION LAYER PROTOCOL
‣HTTP
‣CoAP
‣WebSocket
‣MQTT
‣XMPP
‣DDS
‣AMQP

TSP
HTTP
▸Hyper text transfer protocol
▸GET, PUT, POST, DELETE, HEAD,
TRACE, OPTIONS, etc commands
▸Stateless (each request is different
of others)
▸HTTP client can be a browser or
application running on the client
▸Multiple headers (MIME)

TSP
COAP
▸Constrained Application Protocol
▸For Machine to Machine M2M
▸Request response model
▸Runs on UDP instead of TCP
▸GET , PUT, POST, DELETE, etc.

TSP
WEBSOCKET
▸Full Duplex communication over
single socket connection for
sending messages between client
and server
▸Its based on TCP
▸Client can be a browser, IoT Device
or a mobile application

TSP
MQTT
▸Message Queue Telemetry
Transport
▸Its based on publish subscribe
model
▸Use of MQTT broker (as a Server )
▸Useful for places where memory
and resources constraints are
limited

TSP
XMPP
▸Extensible Messaging and Presence
protocol
▸Real time communication and
streaming xml data between network
elements
▸Suitable for Voice/Video chats,
messaging, data syndication,
gaming, multi party chat
▸Its based on client server architecture
as well as server - server architecture

TSP
DDS
▸Data Distribution service
▸Its a middleware for D2D or M2M
▸Publish subscribe model
▸Provides QoS and configurable
reliability

TSP
AMQP
▸Advanced message queuing
protocol
▸Its for business messaging
▸Supports point to point and
publish subscribe, routing/queuing
▸Uses AMQP brokers
▸Messages are pushed by the
brokers or pulled by the
consumers.

FUNCTIONAL BLOCKS OF IOT
Pradeepkumar
TEXT

TEXT
FUNCTIONAL BLOCKS OF IOT
MANAGEMENT SECURITY
SERVICES
COMMUNICATION
APPLICATION
DEVICE

COMMUNICATION
MODELS OF IOT

COMMUNICATION MODELS
CLIENT SERVER MODEL
CLIENT SERVER RESOURCES

COMMUNICATION MODELS
PUBLISH SUBSCRIBE MODEL
PUBLISHER
SEND MESSAGES TO
TOPICS
BROKER
TOPIC 1
TOPIC 2
CONSUMER 1
CONSUMER 2
CONSUMER 3
Message
published
to topic 1
Message
published
to topic 2

COMMUNICATION MODELS
PUSH PULL MODEL
PUBLISHER
SEND MESSAGES TO
QUEUE
CONSUMER 1
CONSUMER 2
Message
pushed to
queues
Message pulled
from queues

COMMUNICATION MODELS
EXCLUSIVE PAIR COMMUNICATION MODEL
CLIENT SERVER
Request to Setup connection
Response accepting the request
Message from Client to Server
Message from Server to Client
Connection close request
Connection Close Response

IOT
COMMUNICATION
API

API
REST BASED COMMUNICATION APIS
HTTP CLIENT
REST AWARE
HTTP CLIENT
HTTP PACKET
GET, PUT, POST,
DELETE
REST PAYLOAD
JSON,XML
HTTP SERVER
AUTHORISATIO
N, REST-FUL
WEB SERVICE
RESOURCES
URI (REPRESENTATIONS, RESOURCES)

TEXT
REST COMMUNICATION APIS
‣Design web services and web APIs focuses on resources and how they are addressed and
transferred.
‣Client Server Concerns
‣Client not bother about the storage at the server
‣Server not bother about the user interface at the client
‣Stateless
‣State lies at the client
‣Cache-able
‣Layered system
‣Uniform interface
‣Code on demand

http
method
Resource type action Example
GET Collection URI
List all the rescuers
in a collection
http://example.com/api/tasks (list all
tasks)
GET Collection URI
Get info about a
resource
http://example.com/api/tasks (get info on
task 1)
POST Collection URI
Create a new
resource
http://example.com/api/tasks (create a
new task from the data provided in the
req)
POST Collection URIGenerally not used
PUT Collection URI
Replace the entire
collection with
another collection
http://example.com/api/tasks (replace
entire collection with data provided in the
request)
PUT
Collection URIUpdate a resource
http://example.com/api/tasks (delete all
tasks)
DELETE
Collection URI
Delete the entire
collection
http://example.com/api/tasks (lista ll
tasks)
DELETE
Collection URIDelete a resourcehttp://example.com/api/tasks (del task 1)

TEXT
WEBSOCKET BASED COMMUNICATION
CLIENT SERVER
Request to set up websocket
Response to acceptance
Data Frame
Data Frame
Data Frame
Data Frame
Request to close the connection
Connection close response

IOT ENABLING TECHNOLOGIES
\
TEXT

TEXT
IOT ENABLING TECHNOLOGIES
▸Wireless sensor networks
▸End nodes, routers and
coordinators
▸Cloud computing
▸Iaas, Paas, SaaS
▸Big Data analytics (Volume, velocity
and variety)
▸Communication protocols
▸Embedded Systems

THANK YOU