Final IoT Protocol Stack
Final IoT Protocol Stack
Presented By:
Bimal Patel
Assistant Professor
Department of I.T.
CSPIT,CHARUSAT
Outline of Presentation
4
Layer 1: Physical Devices and
Controllers Layer
• This layer is home to the “things” in the IoT,
including various endpoint devices & sensors
• Size of these “things” can range from almost
tiny sensors to huge machines in factory
• Their primary function is generating data and
being capable of being controlled over
network
7
Layer 2: Connectivity Layer
8
Layer 3: Edge Computing Layer
9
Upper Layers: Layers 4–7
10
Protocol Stack
14
IEEE 802.15.4
Version Feature
802.15.4 Basic version. The modulation schemes and data rates were
- 2003 fixed for different frequency band – 868, 915 MHz, and
2.4 GHz.
802.15.4 - Also known as 802.15.4b. Provides higher data rate even on
2006 the
lower frequency bands. In the 868 MHz, the data
transmission rate is up to 100 kb/s while in 915 MHz, the
data transmission rate is up to 250 kb/s. Uses OQPSK for all
the frequency bands.
802.15.4 a Increases range capability. Defines two new physical layers –
Direct Sequence ultra-wideband (UWB) – 249.6 - 749.6 MHz
(sub-gigahertz band), 3.1 - 4.8 GHz (low band), and 6 - 10 GHz
(high band). Chirp spread spectrum (CSS) approach in ISM
band at 2.4 GHz.
802.15.4 c This version provides 780 MHz band in China. It uses either
O-QPSK or MPSK (Multiple frequency-shift keying) using
data transmission rate 250 kb/s.
15
IEEE 802.15.4
Version Feature
802.15.4 d This version provides 950 MHz band in Japan. It uses either
GFSK (Gaussian frequency-shift keying) using data rate
100 kb/s or BPSK using data rate 20 kb/s.
802.15.4e Defines MAC developments to IEEE 802.15.4 towards ISA
SP100.11a application (industrial applications).
802.15.4f Defines fresh PHYs for 433 MHz frequency band (RFID
applications), 2.4 GHz frequency band and UWB.
802.15.4g Defines fresh PHYs for smart utility networks for 902 - 928
MHz band (smart grid applications, majorly for the energy
industry).
16
802.15.4
802.15.4
RPL concepts
RPL concepts
Working of RPL
DIO 1
DIO
DIO
DIO 2
1 1 DIO
DIO DIO 2
DIO DIO
DIO
2 3
2
2 DIO DIO
3
3 3 3
Feature Description
Target Network LLN:IPv6/6LowPAN networks
Routing Type Source-routing,Distance-Vector
Topology Mesh,Hierarchical based on DAG
Traffic Flows MP2P,P2MP and P2P
Message update Trickle Timer
Control Messages DIO,DAO,DIS
Transmission Unicast and Multicast
Metrics and Dynamic, based on OF and Rank
Constraints
Modes Storing and non-storing
RPL Implementation at various OS/Simulation Tools
MQTT Model
AMQP Model
IoT Protocols…Application Layer…AMQP
• 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.
• 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.
• Exclusiv Pair is a
bidirectional,
ecommunicationfully duplex
model
uses
that 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.
Response
• 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
implemented using HTTP and REST principles (REST service) or using
the WebSocket protocol (WebSocket service).
• Analysis Component: This is responsible for analyzing the IoT data and
generating results in a form that is 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 the processed data.