Ca5305.Lecture 4 Levels of Iot Based Systems: Instructor: Dr. M. Deivamani
Ca5305.Lecture 4 Levels of Iot Based Systems: Instructor: Dr. M. Deivamani
Lecture 4
Levels of IoT based systems
Readings
Arshdeep Bahga, Vijay Madisetti, “Internet of Things – A Hands-On Approach”, Universities Press, 2015
Physical Design of IoT
The "Things" in IoT usually refers to IoT devices which have unique identities and can perform
remote sensing, actuating and monitoring capabilities.
IoT devices can:
Exchange data with other connected devices and applications (directly or indirectly), or
Collect data from other devices and process the data locally or
Send the data to centralized servers or cloud-based application back-ends for processing
the data, or
Perform some tasks locally and other tasks within the IoT infrastructure, based on
temporal and space constraints
2
Generic block diagram of an IoT Device
3
IoT Protocols
Link Layer
802.3 – Ethernet
802.11 – WiFi
802.16 – WiMax
802.15.4 – LR-WPAN
2G/3G/4G
Network/Internet Layer ▪ Application Layer
IPv4 ▪ HTTP
IPv6 ▪ CoAP
▪ WebSocket
6LoWPAN
▪ MQTT
Transport Layer
▪ XMPP
TCP
▪ DDS 4
UDP
▪ AMQP
Logical Design of IoT
Logical design of an IoT system refers to an abstract representation of the entities and
processes without going into the low-level specifics of the implementation.
An IoT system comprises of a number of functional blocks that provide the system the
capabilities for identification, sensing, actuation, communication, and management.
5
Request-Response communication model
Request-Response is a communication model in which the client sends requests to the server and the
server responds to the requests.
When the server receives a request, it decides how to respond, fetches the data, retrieves resource
representations, prepares the response, and then sends the response to the client.
6
Publish-Subscribe communication model
Publish-Subscribe is a
communication model that
involves publishers, brokers
and consumers.
Publishers are the source of
data. Publishers send the
data to the topics which are
managed by the broker.
Publishers are not aware of
the consumers.
Consumers subscribe to the
topics which are managed
by the broker.
When the broker receives
data for a topic from the
publisher, it sends the data
to all the subscribed
consumers.
7
Push-Pull communication model
Push-Pull is a communication model in which the data producers push the data to queues
and the consumers pull the data from the queues. Producers do not need to be aware of the
consumers.
Queues help in decoupling the messaging between the producers and consumers.
Queues also act as a buffer which helps in situations when there is a mismatch between the
rate at which the producers push data and the rate at which the consumers pull data.
8
Exclusive Pair communication model
9
REST-based Communication APIs
11
IoT Levels & Deployment Templates
12
IoT Levels & Deployment Templates
Database: Database can be either local or in the cloud and stores the data generated by
the IoT device.
Web Service: Web services serve as a link between the IoT device, application, database
and analysis components. Web service can be either implemented using HTTP and REST
principles (REST service) or using WebSocket protocol (WebSocket service).
Analysis Component: The Analysis Component is responsible for analyzing the IoT data
and generate results in a form which are easy for the user to understand.
Application: IoT applications provide an interface that the users can use to control and
monitor various aspects of the IoT system. Applications also allow users to view the
system status and view the processed data.
13
IoT Level-1
14
IoT Level-2
15
IoT Level-3
16
IoT Level-4