LEARNING OBJECTIVES
2
•Students able to state the TCP/IP layered and IoT protocol stack
•Students able to describe challenges and requirements impact the protocols which operate at
respective layer.
INTRODUCTION
3
INTRODUCTION
4
The IoT protocol stack can be visualized as an extension of the TCP/IP layered protocol model and
is comprised of the following layers
Figure 1: IoT protocol stack
LINK LAYER CHALLENGES
5
Figure 2: Link layer challenges. (Source Cisco BRKIOT-2020, 2015)
APPLICATION PROTOCOL LAYER-DATA SERIALIZATION FORMATS
11
•should be able to interpret the data from IoT devices with minimal format translations and a priori
knowledge
Mapping between the formats
•Data formats influence device resource usage in two facets: in local processing demands and
communication efficiency.
•The local processing demands include the processing required to serialize memory objects into
data encoded in messages
•The processing required to parse the encoded messages into memory objects.
The impact on device resource utilization
•When devices are connected over low-bandwidth wireless links, the data serialization format of
application protocols should be chosen carefully to maximize the use of the available bandwidth.
the impact have on network bandwidth utilization
APPLICATION PROTOCOL LAYER-COMMUNICATION PARADIGMS
12
Application protocols support different communication patterns. These patterns enable varying
paradigms of interaction between IoT applications and devices.
1.Request/Response Versus Publish/Subscribe
2.Blocking Versus Non-blocking
RESTFUL CONSTRAINT
17
Some application protocols adhere to a set of constraints defined by the representational state transfer
(REST) architectural paradigm.
REST is a distributed
client-server software
architecture style
concluded on a set of constraints
that collectively define the REST
architectural style
ROY FIELDING
FORMAL REST CONSTRAINTS
18
Client-Server
Communication
Model
Stateless
Communication
Cacheable
Communication
Layered
Architecture
Uniform
Interfaces
Code on
Demand
FORMAL REST CONSTRAINTS
19
1.Client-Server Communication Model: server focuses on functions such as data storage,
whereas clients focus on the user interface and user state.
2.Stateless Communication: Session state is maintained by the client, which passes all the
information necessary to service a particular request in the request itself.
3.Cacheable Communication: Responses from the server may be cacheable by clients and
intermediate nodes
4.Layered Architecture: the system comprised of a layered architecture that includes clients,
servers, and potentially multiple intermediate nodes interspersed between them for better
scalability.
5.Uniform Interfaces: Means server responses should announce available actions and resources.
All interactions between clients and servers are governed by uniform interfaces.
6.Code on Demand: Client functionality may be extended or modified by the server through the
transfer of executable pieces of code that can be executed on the client