Internet of Things – 7th Semester : Rajasthan Technical University | Bikaner Technical University – Full Course (7CS4-01)
About Lesson

IoT Communication Models

IoT devices are found everywhere and will enable circulatory intelligence in the future. For operational perception, it is important and useful to understand how various IoT devices communicate with each other. IoT allows people and things to connect any time, in any space, with anything and anyone, using any network and service. IoT communication models also promote technological innovation and open opportunities for commercial growth.

The 4 main types of IoT communication models are:

a.) Request and Response Model :

This model follows a client-server architecture. The client, when required, requests the information from the server. This request is usually in the encoded format. It is a stateless communication model and each request-response pair is independent of others. On receiving a request, the server fetch necessary data from the site or database and gets ready to respond. After preparing, It is transferred in an encoded format to the client who receives the data and eventually can see the response.

Request Response Commuication Model

Request Response Communication Model

b.) Publish – Subscribe Model :

There are three entities involved in this communication model : Publishers, Brokers, and Consumers.

Publishers are the primary source of data in this model. It sends the data to the topic which are managed by the broker.

Brokers manage the data received from publishers without knowing anything about consumers. 

Consumers subscribe to the particular topics which are managed by the broker.

Therefore, it is the responsibility of the brokers to receive data from publishers and send it to eligible consumers. The broker only has the information regarding the consumer to which a particular topic belongs to which the publisher is unaware.

Publish Subscribe Communication Model

Publish Subscribe Communication Model

c.) Push – Pull Model :

The push-pull model involves data publishers, data consumers, and data queues. Publishers and Consumers are unaware of each other. Publishers push data to queues and Consumers pull data from the queues. Therefore, the line acts as a message bar. Publishers do not need to aware of the consumers. Queues help in decoupling the message between the producers and consumers.

Push Pull Communication Model

Push Pull Communication Model

d.) Exclusive Pair Model :

Exclusive Pair Model is the bi-directional, fully duplex communication model that uses a persistent connection between the client and server. Once connection is set up it remains open until the client send a request to close the connection. It is a state-full communication model and server is aware of all the open connections. WebSocket based communication API is fully based on this model.

Exclusive Pair Communication Model

Exclusive Pair Communication Model

Exercise Files
No Attachment Found
No Attachment Found
Join the conversation