Design of Iot Full
Design of Iot Full
Physical Design
IoT Protocols
Design of IOT
IoT Functional Blocks
• 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.
IOT Protocols
1. Link Layer
(Ethernet)
Sl.No. Standard Shared medium
• Ethernet is a type of computer network
1 802.3 Coaxial Cable…10BASE5
technology that are use to connect devices to
2 802.3.i Copper Twisted pair …..10BASE-T
form a local area network.
3 802.3.j Fibre Optic……10BASE-F
• Data Rates are provided from 10Gbit/s to 40Gb/s
4 802.3.ae Fibre Optic…..10Gbits/s
and higher
(WiFi)
Sl.No. Standard Shared medium
• A WiFi connection transmits data via wireless
1 802.11a 5 GHz band
signals providing greater mobility for users who
2 802.11b & 802.11g 2.4GHz band
can connect to a network.
3 802.11.n 2.4/5 GHz bands
• It’s a collection of Wireless LAN and provides
4 802.11.ac 5GHz band
Data Rates from 1Mb/s to 6.75 Gb/s
5 802.11.ad 60Hz band
(WiMax)
• WiMax stands for Worldwide Interoperability for Sr.No Standard Shared medium
Microwave Access. 1 802.16m 100Mb/s for mobile stations 1Gb/s for
• It’s a collection of Wireless Broadband standards fixed stations
that provides Data Rates from 1.5Mb/s to 1
Gb/s.
(LR-WPAN)
• Collection of standards for low-rate wireless personal area
networks.
• Basis for high level communication protocols such as Zigbee.
• Data Rates from 40Kb/s to 250Kb/s
• Provide low-cost and low-speed communication for power
constrained devices.
(2G/3G/4G/5G)
• These are Mobile Communication technologies which can Sl.No. Standard Shared medium
provide Data Rates from 9.6Kb/s (for 2G) to up to 100Mb/s 1 2G GSM-CDMA
(for 4G). 2 3G UMTS and CDMA 2000
• 5G has a theoretical peak data rate of 20 gigabits per 3 4G LTE
second (Gbps). However, real-world speeds are usually
between 100 Mbps and 3 Gbps. GSM - Global System for Mobile Communications
CDMA - Code-Division Multiple Access
UMTS - Universal Mobile Telecommunications System
LTE - Long Term Evolution
2. Network/Internet Layer
• Responsible for sending of IP datagram's from source to destination network
• Performs the host addressing and packet routing
• Host identification is done using hierarchical IP addressing schemes such as IPV4 or IPV6
(IPv4) (IPv6)
• 32-bit, leads to address exhaustion. • 128-bit, solves address exhaustion.
• Relies on external measures for security and Less • Integrates IPsec for enhanced security and More
scalable due to address limitations. scalable, accommodating IoT growth.
• Widely used in IoT for existing infrastructure but • Allows more direct connections without NAT as it
dependent on NAT due to limited address space. removes need for NAT, simplifies configuration.
• May require complex designs for IoT. • Simplifies designs with more addresses.
(6LoWPAN)
• IPV6 over Low power Wireless Personal Area Network, Operates in 2.4 Ghz with a Data Rates of 250Kb/s .
• allows small, low-power devices to communicate with wireless networks via the IPv6 protocol.
• It provides a low-cost, scalable, and secure solution for IoT applications by enabling mesh networking and
interoperability with multiple devices.
3. Transport Layer
• Provide end-to-end message transfer capability independent of the underlying network.
• It provides functions such as error control, segmentation, flow control and congestion control.
• 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.
4. Exclusive Pair Communication Model
• Exclusive Pair is a bidirectional, fully duplex communication model that uses a persistent connection between the client
and the server.
• Once the connection is set up it, remains open until the client sends a request to close the connection.
• Client and server can send messages to each other after connection setup.
Communication APIs
1. REST-based Communication APIs
• Representational State Transfer (REST) is a set of architectural principles by which you can design web services
and web APIs that focus on a system’s resources and how resource states are addressed and transferred.
• REST APIs follow the request–response communication model.
• REST architectural constraints apply to the components, connectors and data elements within a distributed
hypermedia system.
• Client – Server
• Stateless
• Cacheable
• Layered System
• Uniform Interface
• Code on demand
2. WebSocket-based Communication APIs
• WebSocket APIs allow bidirectional, full duplex communication between clients and servers.
• WebSocket APIs follow the exclusive pair communication model.
Difference between REST and WebSocket-based Communication APIs
S.NO. REST API WEB SOCKET API
1. It is Stateless protocol. It will not store the data. It is Stateful protocol. It will store the data.
It is Uni-directional. Only either server or client It is Bi-directional. Messages can be received or sent
2.
will communicate. by both server or client.
HTTP request contains headers like head section, It is suitable for real-time applications. It does not
4.
title section. have any overhead.
It depends upon the HTTP methods to retrieve the It depends upon the IP address and port number to
6.
data.. retrieve the data
It is slower than web socket regarding the web socket transmits messages very fastly than REST
7.
transmission of messages. API.