IoT
•Internet Of Things is Fully Networked and Connected Devices sending
analytics data back to cloud or datacenter.
•ThedefinitionofInternetofthingsisthatitisthenetworkinwhich
every object or thing is provided unique identifier and data is
transferred through a network without any verbalcommunication.
•Scope of IoT is not just limited to just connecting things to the
internet, but it allows these things to communicate and
exchange data, process them as well as control them while
executing applications.
Characteristics ofIoT
•Dynamic Global network & Self-Adapting : Adapt thechanges
w.r.t changingcontexts
•Self Configuring:Eg.Fetching latest s/w updates withoutmanual
intervention.
•Interoperable Communication Protocols : Communicate
through variousprotocols
•Unique Identity : Such as Unique IP Address or aURI
•Integrated into Information Network : This allows tocommunicate
and exchange data with other devices to perform certainanalysis.
Building Blocks ofIoT
Buliding
Blocksof
IoT
Sensors
Processors
Applications
Gateway
Buliding Blocks of IoT…..Sensors
•SensorsarethefrontendoftheIoTdevices.Theyreallymean
“things” inIoT.
•Their main task is to get necessary data from surroundings and pass it
further to database or processingsystems.
•They must be uniquely findable from there IP address because they
arebasicfrontendinterfaceinthelargenetworkofotherdevices.
•Sensors collect real time data and can either work autonomous orcan
be usercontrolled.
•Examples of sensors are: gas sensor, water quality sensor, moisture
sensor,etc.
Buliding Blocks of IoT…..Processors
•Processors are the brain of the IoTsystem.
•The main job of processors it to process raw data collected by the
sensors and transforms them to some meaningful information and
knowledge. In short, we can say that its job is togive intelligence to
thedata.
•Processors are easily controllable by applications and their onemore
important job is to securing data. They perform encryption and
decryption ofdata.
•Microcontroller, embedded hardware devices, etc can process the
data using processors attached within thedevices.
Buliding Blocks of IoT…..Gateways
Main task of gateways is to route the processed data and transfer itto
proper databases or network storage for properutilization.Other words,
Communication gatewayhelpsin communication ofthedata.
Examples of gateways are LAN, WAN, PAN,etc.
Things inIoT
•ReferstoIoTdeviceswhichhaveuniqueidentitiesthatcanperform
sensing,actuatingandmonitoringcapabilities.
•IoTdevicescanexchangedatawithotherconnecteddevicesorcollect
datafromotherdevicesandprocessthedataeitherlocallyorsend
thedatatocentralizedserversorcloud–basedapplicationback-ends
forprocessingthedata.
Generic Block Diagram of an IoTDevice
•An IoT device may consist of
several interfaces for
connections to otherdevices,
both wired andwireless.
•I/O interfaces forsensors
•Interfaces forinternet
connectivity
•Memory and storageinterfaces
•Audio/videointerfaces
IoT Protocols…LinkLayer…Ethernet
Sr.NoStandardSharedmedium
1 802.3 Coaxial Cable…10BASE5
2 802.3.iCopper Twisted pair…..10BASE-T
3 802.3.jFiberOptic……10BASE-F
4 802.3.aeFiber…..10Gbits/s
Data Rates are provided from 10Gbit/s to 40Gb/s andhigher
IoT Protocols…LinkLayer…WiFi
Sr.NoStandardOperatesin
1 802.11a5 GHzband
2 802.11b
and802.11g
2.4GHzband
3 802.11.n2.4/5 GHzbands
4 802.11.ac5GHzband
5 802.11.ad60Hzband
•Collection of WirelessLAN
•Data Rates from 1Mb/s to 6.75Gb/s
IoT Protocols…LinkLayer…WiMax
Sr.NoStandardDataRate
1 802.16m100Mb/s for mobilestations
1Gb/s for fixedstations
•Collection of Wireless Broadbandstandards
•Data Rates from 1.5Mb/s to 1Gb/s
IoT Protocols…LinkLayer…LR-WPAN
•Collection of standards for low-rate wireless personalarea
networks
•Basis for high level communication protocols such asZigbee
•Data Rates from 40Kb/s to250Kb/s
•Provide low-cost and low-speed communication forpower
constraineddevices
IoT Protocols…Link Layer…2G/3G/4G –Mobile
Communication
Sr.NoStandardOperatesin
1 2G GSM-CDMA
2 3G UMTS and CDMA2000
3 4G LTE
•Data Rates from 9.6Kb/s (for 2G) to up to 100Mb/s (for4G)
IoT Protocols…Network/InternetLayer
•Responsible for sending of IP datagrams from source todestination
network
•Performs the host addressing and packetrouting
•Host identification is done using hierarchical IP addressing schemes such
as IPV4 orIPV6
Parameter EtherNet WiFi WiMax LR-
WPAN(ZigBee)
Cellular
Used Insideoffices
andhouses
Outsideoffices
andhouses
Outsideoffices
andhouses
Outsideoffices
andhouses
Outsideoffices
andhouses
IEEE
Standards:
802.3 802.11 802.16 802.15.4
Range 100mtrs 100mrts 80-90kms 10-100mtrs 1-5kms
DataTransfer
Rate
10Mbps-
100Mbp
s
54Mbps 40Mbps 250kbit/s 100Kbps
-
1MBps
Application Houses, Offices,
Industries
Mobile
Applications,
Video
Conferenci
ng
MetroPolitan
AreaNetwork
SmartMetering,
Home
Automation
(Alexa), Smart
AssetTracking
Camera on
TrafficLight,
Video on
Demand
IoT Protocols…NetworkLayer
•IPV4
•Used to identify thedevices on a network using hierarchical addressing scheme
•Uses 32-bit addressscheme
•IPV6
•Uses 128-bit addressscheme
•6LoWPAN (IPV6 over Low power Wireless Personal AreaNetwork)
•Used for devices with limited processingcapacity
•Operates in 2.4Ghz
•Data Rates of250Kb/s
IoT Protocols…TransportLayer
•Provide end-to-end message transfer capability independentof
the underlyingnetwork
•It provides functions such as error control, segmentation,flow-
control and congestioncontrol
IoTProtocols…TCP
•Transmission ControlProtocol
•ConnectionOriented
•Ensures Reliabletransmission
•Provides Error Detection Capability toensure no duplicacy of packets and retransmit
lostpackets
•FlowControlcapabilitytoensurethesendingdatarateisnottoohighforthereceiver
process
•Congestion control capability helps in avoiding congestion which leads todegradation
of n/wperformance
IoTProtocols…UDP
•User DatagramProtocol
•Connectionless
•Does not ensures Reliabletransmission
•Does not do connection beforetransmitting
•Does not provide proper ordering ofmessages
•Transaction oriented andstateless
IoT Protocols…Application Layer…Hyper Transfer
Protocol
•Forms foundation of World WideWeb(WWW)
•Includes commands such as GET,PUT, POST, HEAD, OPTIONS,TRACE..etc
•Follows a request-responsemodel
•Uses Universal Resource Identifiers(URIs) to identify HTTPresources
IoT Protocols…ApplicationLayer…CoAP
•Constrained ApplicationProtocol
•Used for Machine to machine (M2M) applications meant forconstrained
devices andn/w’s
•Web transfer protocol for IoT and uses request-response
model
•Uses client –serverarchitecture
•Supports methods such as GET,POST, PUT andDELETE
IoT Protocols…ApplicationLayer…WebSocket
•Allows full-duplex communication over singlesocket
•Based onTCP
•Client can be a browser, IoT device or mobileapplication
IoT Protocols…ApplicationLayer…MQTT
•Message Queue Telemetry Transport , light-weight messagingprotocol
•Based on publish-subscribemodel
•Well suited for constrained environments where devices have limited processing,low
memory and n/w bandwithrequirement
IoT Protocols…ApplicationLayer…XMPP
•Extensible messaging and presenceprotocol
•For Real time communication and streaming XML data between n/w
entities
•Used for Applications such as Multi-party chat and voice/videocalls.
•Decentralized protocol and uses client serverarchitecture.
IoT Protocols…ApplicationLayer…DDS
•Data Distribution service is a data-centric middleware standard for
device-to-device or machine-to-machinecommunication.
•Publish subscribe model where publishers create topics towhich
subscribers canuse.
•Provides Quality-of-service control and configurablereliability.
IoT Protocols…ApplicationLayer…AMQP
•Advanced Messaging Queuing Protocol used for businessmessaging.
•Supports both point-to-point and publisher/subscriber models, routing
andqueuing
•Broker here receives messages from publishers and route themover
connections to consumers through messagingqueues.
Parameter HTTP CoAP XMPP(Op
e n
XML)
DDS AMQP MQTT
ProtocolTCP UDP TCP TCP and
UDP
TCP TCP
Networ
k Layer
IP 6LowPAN IP IP IP IP
Architect
u re
Client
-
Server
Client-
Serverand
Publish-
Subscribe
Client-
Serverand
Publish-
Subscribe
Publish-
Subscrib
e
Client
-
Server
Publish-
Subscrib
e
Synchro
ni zation
Needed NoNeed Needed Sometime
s Needed,
Sometime
s Not
Needed Needed
Designe
d for
InternetIoT/M2M IoT/M2M RealTime
SYstems
M2M IoT/M2M
Applicati
o n
WWW Retrievin
g Sensor
Data
WhatsApp
, Gaming,
Google
Talk
Volswagen
SmartCars
for Video
Assistance
Googl
e
Cloud
Facebook
Messenge
r
Comparison Basedon REST Websocket
State Stateless Stateful
Directional Unidirectional Bidirectional
Req-Res/FullDuplex Follow Request ResponseModel Exclusive PairModel
TCPConnections Each HTTP request involves setting
up a new TCPConnection
Involves a single TCP
Connection for allrequests
HeaderOverhead Each request carries HTTPHeaders,
hence not suitable forreal-time
Does not involve overheadof
headers.
Scalability Both horizontal and verticalare
easier
Only Vertical iseasier
Difference between REST and WebSocket-based
CommunicationAPIs
WSN
•Distributed Devices with sensors used to monitor theenvironmental
and physicalconditions
•Consists of several end-nodes acting as routers or coordinatorstoo
•Coordinators collects data from all nodes /acts as gateway that
connects WSN tointernet
•Routers route the data packets from end nodes tocoordinators.
ExampleofWSNsinIoT&Protocolsused
Example
•Weather monitoringsystem
•Indoor Air quality monitoringsystem
•Soil moisture monitoringsystem
•Survelliancesystems
•Health monitoringsystems
Protocols
•Zigbee
CloudComputing
•Deliver applications and services overinternet
•Provides computing, networking and storage resources ondemand
•Cloud computing performs services such as Iaas, Paas andSaas
•Iaas: RentInfrastructure
•Paas : supply an on-demand environment for developing, testing,
delivering and managing softwareapplications.
•Saas : method for delivering software applications over theInternet,
on demand and typically on a subscriptionbasis.
Big DataAnalytics
•Collectionofdatawhosevolume,velocityorvarietyistoolargeand
difficult to store, manage, process and analyze the data using
traditionaldatabases.
•It involves data cleansing, processing andvisualization
•Lots of data is being collected andwarehoused
•Web data,e-commerce
•purchases at department/ grocerystores
•Bank/Credit Cardtransactions
•SocialNetwork
Big DataAnalytics
Variety Includes different types ofdata
•Structured
•Unstructured
•SemiStructured
•All ofabove
Big DataAnalytics
Velocity Refers to speed at which data isprocessed
•Batch
•Real-time
•STreams
Big DataAnalytics
Volume refers to the amount ofdata
•Terabyte
•Records
•Transactions
•Files
•Tables