UNIT 1 IoT Introduction 1
UNIT 1 IoT Introduction 1
TECHNOLOGY
21IT6201
INTERNET OF THINGS
PREPARED BY
Prof C.D.PREMKUMAR
ASSISTANT PROFESSOR/IT
UNIT -I
INTRODUCTION
IoT Protocols:
• These protocols are used to establish communication between a
node device and a server over the internet.
• It helps to send commands to an IoT device and receive data from
an IoT device over the internet.
• we use different types of protocols that are present on both the
server and client side and these protocols are managed by network
layers like application, transport, network, and link layer.
Application Layer:
• In this layer, protocols define how the data can be sent over the network with
the lower layer protocols using the application interface.
• It is the most visible layer to end users.
Protocols:
HTTP – For transmitting media documents. Used to communicate between web
browsers and servers. Also it makes a request to a server and then waits
till it receives a response.
MQTT – It is a publish-subscribe protocol. It maintain a continuous connection
with the server
Web Sockets – Web Sockets are a protocol that allows for real-time, two-way
communication between a server and client. Its commonly used
by web browsers.
DDS(Data Distribution Service) - share the right data at the right place at the
right time.
AMQP(Advanced Message Queuing Protocol) - It has guaranteed message
delivery.
Transport Layer:
• Provides end-to-end message transfer capability independent of the
underlying n/w.
• Set up on connection with ACK as in TCP and without ACK as in
UDP .
• Provides functions such as error control, segmentation, flow control
and congestion control.
Protocols:
TCP (Transmission Control Protocol)
-Connection-based protocol
- Sends packets and waits for acknowledgements.
UDP (User Datagram Protocol)
- Connectionless
- Sends packets without waiting for an acknowledgement.
Network Layer:
• Responsible for sending IP datagrams from source n/w to destination n/w.
• Performs the host addressing and packet routing.
• Host identification is done using hierarchical IP addressing schemes such as
IPV4 or IPV6
Protocols:
Link Layer:
• Protocols are used to send data over the network’s physical layer.
• It also determines how the packets are coded and signaled by the
devices.
• Local network connect to which host is attached.
• Hosts on the same link exchange data packets over the link layer
using link layer protocols.
Protocols:
Ethernet: -Used primarily in LANs.
-It defines the physical layer and the medium access control for
wired ethernet networks.
WiFi – Set of LAN protocols and specifies the set of media access control
and physical layer protocols for implementing wireless local area
networks.
802.3 Ethernet
802.11 WiFi
802.16 WiMax
802.15.4 LR-WPAN
2G/3G/4G-Mobile Communication
Logical design of IoT
Logical design of IoT
Request-Response Model:
• Request-response model 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 representation, prepares the
response, and then sends the response to the client.
• Request-response is a stateless communication model and each
request-response pair is independent of the others.
• HTTP works as a request-response protocol between a client and a
server.
• A web browser may be the client, and an application on a computer
that hosts a website may be the server.
IoT Communication Models
Publisher-Subscriber Model:
• There are three essential elements in the publisher-subscriber
Model, as given below.
• Publisher: It transfers data to the broker. Publishers don’t
know about consumers.
• Broker: It accepts publisher data and sends it to the
appropriate subscriber.
• Subscriber: It consumes the topics that the broker manages.
IoT Communication Models
Push-Pull 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 (Subscribers).
• 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 rate at which the consumers pull data.
IoT Communication Models
-IoT Level 1
-IoT Level 2
-IoT Level 3
-IoT Level 4
-IoT Level 5
-IoT Level 6
IoT levels and Deployment
An IoT system comprises the following components:
Device
Resource
Controller Service
Database
Web service
Analysis Component
Application
IoT Level-1
IoT Level-2
IoT Level-3
IoT Level-4
IoT Level-5
IoT Level-6