IoT
• Internet OfThings is Fully Networked and Connected Devicessending
analytics data back to cloud or datacenter.
• The definition of Internet of things is that it is the network in which
every object or thing is provided unique identifier and data is
transferred through anetwork without any verbalcommunication.
• Scope of IoT is not justlimited to justconnecting things to the
internet, but it allows these things to communicate and
exchange data, process them as well as control them while
executing applications.
6.
Formal Definition ofIoT
• A dynamic global network infrastructure with self- configuring
capabilities based on standard and interoperable communication
protocols, where physical and virtual “things” have identities, physical
attributes, and use intelligent interfaces, and are seamlessly integrated
into information network that communicate data with users and
environments.
7.
Characteristics of IoT
•Dynamic Global network & Self-Adapting : Adapt thechanges
w.r.t changing contexts
• Self Configuring : Eg.Fetching latest s/w updates without manual
intervention.
• Interoperable Communication Protocols : Communicate
through various protocols
• Unique Identity : SuchasUnique IPAddress or a URI
• Integrated into Information Network : Thisallows tocommunicate
and exchange data with other devices to perform certainanalysis.
Buliding Blocksof IoT…..Sensors
•Sensors are the front end of the IoT devices. They really mean
“things” in IoT.
• Their main task is to get necessarydata from surroundings and passit
further to database or processingsystems.
• Theymust be uniquely findable from there IPaddress becausethey
are basic front end interface in the large network of other devices.
• Sensorscollect real time data and caneither work autonomous or can
be user controlled.
• Examplesof sensorsare: gassensor,water quality sensor,moisture
sensor, etc.
10.
Buliding Blocksof IoT…..Processors
•Processorsare the brain of the IoTsystem.
• Themain job of processors it to process raw data collected by the
sensorsand transforms them to some meaningful information and
knowledge. In short, we cansaythat its job is togive intelligence to
the data.
• Processorsare easily controllable by applications and their onemore
important job is to securing data. Theyperform encryption and
decryption of data.
• Microcontroller, embedded hardware devices, etc canprocess the
data using processors attached within the devices.
11.
Buliding Blocksof IoT…..Gateways
Maintask of gateways is to route the processed data and transfer it to
proper databases or network storage for properutilization. Other words,
Communication gateway helps in communication of the data.
Examplesof gateways are LAN,WAN,PAN, etc.
12.
Buliding Blocksof IoT…..Applications
•Applications are another end of an IoT system. Applications do proper
utilization of all the data collected and provide interface to users to
interact with that data. These applications could be cloud based
applications which are responsible for rendering data collected.
Applications are user controllable and are delivery points of particular
services.
• Examples of applications are: smart home apps, security system
control applications, industrial control hub applications,etc.
Things in IoT
•Refers to IoT devices which have unique identities that can perform
sensing, actuating and monitoring capabilities.
• IoT devices can exchange data with other connected devices or collect
data from other devices and process the data either locally or send
the data to centralized servers or cloud – based application back-ends
for processing the data.
15.
Generic Block Diagramof an IoTDevice
• An IoTdevice may consist of
several interfaces for
connections to otherdevices,
both wired andwireless.
• I/O interfaces for sensors
• Interfaces for internet
connectivity
• Memory and storageinterfaces
• Audio/video interfaces
IoT Protocols…Link Layer…Ethernet
Sr.NoStandard Shared medium
1 802.3 Coaxial Cable…10BASE5
2 802.3.i Copper Twisted pair …..10BASE-T
3 802.3.j Fiber Optic……10BASE-F
4 802.3.ae Fiber…..10Gbits/s
Data Ratesare provided from 10Gbit/s to 40Gb/s andhigher
18.
IoT Protocols…Link Layer…WiFi
Sr.NoStandard Operates in
1 802.11a 5 GHzband
2 802.11b
and 802.11g
2.4GHzband
3 802.11.n 2.4/5 GHzbands
4 802.11.ac 5GHzband
5 802.11.ad 60Hz band
• Collection of WirelessLAN
• Data Ratesfrom 1Mb/s to 6.75Gb/s
19.
IoT Protocols…Link Layer…WiMax
Sr.NoStandard Data Rate
1 802.16m 100Mb/s for mobilestations
1Gb/s for fixedstations
• Collection of Wireless Broadbandstandards
• Data Ratesfrom 1.5Mb/s to 1Gb/s
20.
IoT Protocols…Link Layer…LR-WPAN
•Collection of standards for low-rate wireless personalarea
networks
• Basisfor high level communication protocols suchasZigbee
• Data Ratesfrom 40Kb/s to 250Kb/s
• Provide low-cost and low-speed communication for power
constrained devices
21.
IoT Protocols…Link Layer…2G/3G/4G–Mobile
Communication
Sr.No Standard Operates in
1 2G GSM-CDMA
2 3G UMTSand CDMA 2000
3 4G LTE
• Data Ratesfrom 9.6Kb/s (for 2G)to up to 100Mb/s (for4G)
22.
IoT Protocols…Network/Internet Layer
•Responsible for sending of IPdatagrams from source to destination
network
• Performs the host addressing and packet routing
• Host identification is done using hierarchical IPaddressing schemessuch
asIPV4or IPV6
23.
Parameter EtherNet WiFiWiMax LR-
WPAN(ZigBee)
Cellular
Used Inside offices
and houses
Outside offices
and houses
Outside offices
and houses
Outside offices
and houses
Outside offices
and houses
IEEE
Standards:
802.3 802.11 802.16 802.15.4
Range 100mtrs 100 mrts 80-90kms 10-100 mtrs 1-5kms
Data Transfer
Rate
10Mbps-
100Mbp
s
54Mbps 40Mbps 250kbit/s 100Kbps
-
1MBps
Application Houses, Offices,
Industries
Mobile
Applications,
Video
Conferenci
ng
MetroPolitan
Area Network
Smart Metering,
Home
Automation
(Alexa), Smart
Asset Tracking
Camera on
Traffic Light,
Video on
Demand
24.
IoT Protocols…Network Layer
•IPV4
• Usedto identify thedevices on anetwork using hierarchical addressing scheme
• Uses32-bit address scheme
• IPV6
• Uses128-bit address scheme
• 6LoWPAN(IPV6over Low power Wireless PersonalArea Network)
• Usedfor devices with limited processingcapacity
• Operates in 2.4Ghz
• Data Ratesof 250Kb/s
25.
IoT Protocols…Transport Layer
•Provide end-to-end messagetransfer capability independent of
the underlying network
• It provides functions suchaserror control, segmentation,flow-
control and congestioncontrol
26.
IoT Protocols…TCP
• TransmissionControl Protocol
• Connection Oriented
• EnsuresReliable transmission
• Provides Error Detection Capability toensure no duplicacy of packets and retransmit
lost packets
• Flow Control capability to ensure the sending data rate is not too high for the receiver
process
• Congestion control capability helps in avoiding congestion which leads todegradation
of n/w performance
IoT Protocols…Application Layer…HyperTransfer
Protocol
•Forms foundation of World WideWeb(WWW)
• Includes commands such asGET
,PUT
,POST
,HEAD,OPTIONS,TRACE..etc
• Follows arequest-response model
• UsesUniversal Resource Identifiers(URIs) to identify HTTPresources
29.
IoT Protocols…Application Layer…CoAP
•ConstrainedApplication Protocol
• Usedfor Machine to machine (M2M) applications meant forconstrained
devices and n/w’s
• Web transfer protocol for IoTand usesrequest-response
model
• Usesclient –server architecture
• Supports methods suchasGET
,POST
,PUTandDELETE
30.
IoT Protocols…Application Layer…WebSocket
•Allows full-duplex communication over singlesocket
• Basedon TCP
• Client canbe abrowser, IoTdevice or mobile application
IoTProtocols…Application Layer…MQTT
• MessageQueue Telemetry Transport , light-weight messagingprotocol
• Basedon publish-subscribe model
• Well suited for constrained environments where devices have limited processing,low
memory and n/w bandwithrequirement
31.
IoT Protocols…Application Layer…XMPP
•Extensible messagingand presence protocol
• For Realtime communication and streaming XMLdata between n/w
entities
• Usedfor Applications such asMulti-party chat and voice/video calls.
• Decentralized protocol and usesclient server architecture.
32.
IoT Protocols…Application Layer…DDS
•Data Distribution service is adata-centric middleware standard for
device-to-device or machine-to-machine communication.
• Publish subscribe model where publishers create topics to which
subscribers can use.
• Provides Quality-of-service control and configurable reliability.
33.
IoT Protocols…Application Layer…AMQP
•Advanced Messaging Queuing Protocol used for business messaging.
• Supports both point-to-point and publisher/subscriber models, routing
and queuing
• Broker here receives messagesfrom publishers and route them over
connections to consumers through messagingqueues.
34.
Parameter HTTP CoAPXMPP(Op
e n
XML)
DDS AMQP MQTT
Protocol TCP UDP TCP TCPand
UDP
TCP TCP
Networ
k Layer
IP 6LowPAN IP IP IP IP
Architect
u re
Client
-
Server
Client-
Server and
Publish-
Subscribe
Client-
Server and
Publish-
Subscribe
Publish-
Subscrib
e
Client
-
Server
Publish-
Subscrib
e
Synchro
ni zation
Needed No Need Needed Sometime
s Needed,
Sometime
s Not
Needed Needed
Designe
d for
Internet IoT/M2M IoT/M2M RealTime
SYstems
M2M IoT/M2M
Applicati
o n
WWW Retrievin
g Sensor
Data
WhatsApp
, Gaming,
Google
Volswagen
Smart Cars
for Video
Googl
e
Cloud
Facebook
Messenge
r
ComparisonBasedon REST Websocket
StateStateless Stateful
Directional Unidirectional Bidirectional
Req-Res/FullDuplex Follow Request ResponseModel Exclusive Pair Model
TCPConnections Each HTTPrequest 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 overhead of
headers.
Scalability Both horizontal and verticalare
easier
Only Vertical is easier
Difference between RESTand WebSocket-based
Communication APIs
WSN
• Distributed Deviceswith sensors used to monitor theenvironmental
and physical conditions
• Consistsof several end-nodes acting as routers or coordinatorstoo
• Coordinators collects data from all nodes / acts as gateway that
connects WSNtointernet
• Routers route the data packets from end nodes tocoordinators.
49.
Exampleof WSNs inIoT& Protocols used
Example
• Weather monitoring system
• Indoor Air quality monitoring system
• Soil moisture monitoring system
• Survelliance systems
• Health monitoring systems
Protocols
• Zigbee
50.
CloudComputing
• Deliver applicationsand services overinternet
• Provides computing, networking and storage resources on demand
• Cloud computing performs servicessuch asIaas,Paasand Saas
• Iaas : RentInfrastructure
• Paas: supply an on-demand environment for developing, testing,
delivering and managing software applications.
• Saas: method for delivering software applications over theInternet,
on demand and typically on asubscription basis.
51.
Big DataAnalytics
• Collectionof data whose volume, velocity or variety is too large and
difficult to store, manage, process and analyze the data using
traditional databases.
• It involves data cleansing, processing andvisualization
• Lots of data is being collected andwarehoused
• Web data, e-commerce
• purchases at department/ grocerystores
• Bank/Credit Cardtransactions
• Social Network
IoT Issuesand Challenges
Security
•CyberAttacks, Data Theft
Privacy
• Controlling accessand ownership of data.
InterOperability
• Integration Inflexibility
Legality and Rights
• Data Protection laws be followed, Data Retention and destruction policies
Economyand Development
• Investment Incentives, Technical Skill REquirement