KEMBAR78
11-Iot Communication Models | PDF | Computer Engineering | Communications Protocols
0% found this document useful (0 votes)
69 views12 pages

11-Iot Communication Models

The document outlines four IoT communication models: Request-Response, Publish-Subscribe, Push-Pull, and Exclusive Pair. Each model has distinct characteristics, such as statelessness in Request-Response and bidirectional communication in Exclusive Pair. Examples of protocols for these models include HTTP for Request-Response and CoAP for Publish-Subscribe.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views12 pages

11-Iot Communication Models

The document outlines four IoT communication models: Request-Response, Publish-Subscribe, Push-Pull, and Exclusive Pair. Each model has distinct characteristics, such as statelessness in Request-Response and bidirectional communication in Exclusive Pair. Examples of protocols for these models include HTTP for Request-Response and CoAP for Publish-Subscribe.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

R-Pi

Team Emertxe
IoT Communication Models
Model-1: Request - Response
Communication Models
Model-1: Request - Response

 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.
 stateless communication model.
 Each request-response pair is independent of others.
 Example:
 HTTP works as a request-response protocol between a client and server.
 A web browser may be the client, and an application on a computer that hosts a web site may be the server.


Communication Models
Model-1: Request - Response

 Examples
 CoAP
 XMPP


Communication Models
Model-1: Request - Response


Communication Models
Model-2: Publish-Subscribe Model

 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 receive data for a topic from the publisher, it sends the data to all the subscribed consumers.


Communication Models
Model-2: Publish-Subscribe Model


Communication Models
Model-3: Push-Pull Model

 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 rate at which the consumer pull data.


Communication Models
Model-3: Push-Pull Model


Communication Models
Model-4: Exclusive Pair Model

 Exclusive Pair is a
 bidirectional
 fully duplex that uses a persistent connection between the client and server.
 Connection is setup 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.
 Stateful communication model and the server is aware of all the open connections.


Communication Models
Model-4: Exclusive Pair Model


THANK YOU

You might also like