IOT Communication Models



IoT allows to connect multiple devices (things) to communicate with each other. So, There are four basic types of IOT communication Models as given below

1. Request-Response Model 

In IoT, The client-device sends a request to the server. The request may be a upload or transfer of data. Then Server responds to the request. The server may be remote or local which can handle requests of multiple clients. Server receives the request, process (decide) the response of that request and fetch the data from resources (i.e. database).

IoT Request-Response Model

Note: The Request-Response model is a stateless where each request is independently handled.

2. Publisher-Subscriber Model

There are three basic elements in publisher-subscriber Model as given below



  • Publisher: It transfers data to broker. Publishers don’t know about consumers.
  • Broker: It is responsible to accept data from publishers and send it to the appropriate subscriber.
  • Subscriber: It consumes the topics which are managed by the broker.

Detail diagram of publisher subscriber model is given below

Publisher - Subscriber Model

Broker holds the table of information as given below

Example: just to understand we can say, if a person upload an article on a certain website and any third person read that topic from website then article up-loader will be publisher,  website is a broker and third person will be consumer.

3 Push-Pull Model 

There are three basic elements also in Push-Pull Model as given below

  • Publisher: It pushes the data in Message Queue
  • Message Queue: it is a buffer which stored data, pushed by publisher
  • Subscriber: It pulls data from message queue.

Publisher and Subscriber are unaware to each other. Push-Pull Model is explained under

Push-Pull Model

4. Exclusive Pair

It is a bi-directional (full duplex) commination model. In Exclusive-pair ,Client establishes a connection with server by sending a request and this connection remains open until client sends a request to close the connection.  Detail diagram is given below

Exclusive Pair Model

 

Help Other’s By Sharing…

Contact Us

Burewala, Vehari, Punjab, Pakistan

cstaleem1@gmail.com

Website: CStaleem.com

Pin It on Pinterest