Вы находитесь на странице: 1из 26

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

HTT
P
▸ 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

CO
AP
▸ Constrained Application
Protocol

▸ For Machine to Machine M2M

▸ Request response model

▸ Runs on UDP instead of TCP

▸ GET , PUT, POST, DELETE, etc.


TSP

WEBSOCKE
T
▸ 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

MQT
T
▸ 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

XMP
P
▸ 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


TSP

DD
S
▸ Data Distribution service

▸ Its a middleware for D2D or


M2M

▸ Publish subscribe model

▸ Provides QoS and


configurable reliability
TSP

AMQ
P
▸ 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
TEXT

FUNCTIONAL BLOCKS OF
IOT
TEXT

FUNCTIONALBLOCKS OF
IOT

APPLICATION

SERVICES
MANAGEMENT SECURITY
COMMUNICATION

DEVICE
COMMUNICATI
ON MODELS
OF IOT
COMMUNICATION MODELS

CLIENT SERVER
MODEL

CLIEN SERVE RESOURCE


T R S
COMMUNICATION MODELS

PUBLISH SUBSCRIBE
MODEL

Message CONSUMER 1
published BROKE
to topic R
PUBLISHER 1 TOPIC
SEND MESSAGES 1 CONSUMER 2
TO TOPICS
Message
TOPIC
published 2
to topic
CONSUMER 3
2
COMMUNICATION MODELS

PUSH PULL
MODEL

CONSUMER 1
Message
PUBLISHER Message pulled
pushed
from queues
SEND MESSAGES to
TO QUEUE queues

CONSUMER 2
COMMUNICATION MODELS

EXCLUSIVEPAIR COMMUNICATION
MODEL

Request to Setup connection

Response accepting the

request Message from Client


Message
to Server from Server to
CLIEN SERVE
T Client Connection close R
request
Connection Close
Response
IOT
COMMUNICATI
ON API
API

REST BASED COMMUNICATION


APIS
HTTP PACKET
GET, PUT, HTTP
HTTP CLIENT POST,DELETE SERVER
REST AWARE
HTTP
AUTHORISA
CLIENT REST TIO N, REST-
PAYLOAD FUL WEB
JSON,XML SERVICE

RESOURCES
URI (REPRESENTATIONS, RESOURCES)
TEXT

REST COMMUNICATION
A P I
S
‣ 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
Resource type action Example
method
List all the http://example.com/api/tasks (list all
GE Collection
rescuers in a tasks)
URI
T collection
Get info about http://example.com/api/tasks (get info
GE Collection URI
a resource on task 1)
T http://example.com/api/tasks (create a
Create a
POS Collection URI
new
new task from the data provided in
the req)
T resource
POS Collection URI Generally not used
T Replace the http://example.com/api/tasks (replace
PU Collection URI entire collection entire collection with data provided in
with another the request)
T collection http://example.com/api/tasks (delete all
PU Collection URI Update a
tasks)
resource
T Delete the http://example.com/api/tasks (lista ll
DELETE Collection entire tasks)
URI collection
Delete a http://example.com/api/tasks (del task
DELETE Collection resource 1)
URI
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


TEXT

IOT ENABLING
TECHNOLOGE IS

\
TEXT

IOT ENABLING
TECHNOLOGE IS
▸ Wireless sensor networks

▸ End nodes, routers


and coordinators

▸ Cloud computing

▸ Iaas, Paas, SaaS

▸ Big Data analytics (Volume,


velocity and variety)

▸ Communication protocols
THANK
YOU

Вам также может понравиться