Communication Models in IoT (Internet of Things ) Last Updated : 09 Mar, 2021 Comments Improve Suggest changes Like Article Like Report 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. Communication models used in IoT have great value. The IoTs allow people and things to be connected any time, any space, with anything and anyone, using any network and any service. Types of Communication Model : 1. Request & 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.This model is stateless since the data between the requests is not retained and each request is independently handled.The server Categories the request, and fetches the data from the database and its resource representation. This data is converted to response and is transferred in an encoded format to the client. The client, in turn, receives the response.On the other hand — In Request-Response communication model client sends a request to the server and the server responds to the request. When the server receives the request it decides how to respond, fetches the data retrieves resources, and prepares the response, and sends it to the client. 2. Publisher-Subscriber Model -This model comprises three entities: Publishers, Brokers, and Consumers. Publishers are the source of data. It sends the data to the topic which are managed by the broker. They are not aware of consumers.Consumers subscribe to the topics which are managed by the broker.Hence, Brokers responsibility is to accept data from publishers and send it to the appropriate consumers. The broker only has the information regarding the consumer to which a particular topic belongs to which the publisher is unaware of. 3. Push-Pull Model - The push-pull model constitutes data publishers, data consumers, and data queues. Publishers and Consumers are not aware of each other.Publishers publish the message/data and push it into the queue. The consumers, present on the other side, pull the data out of the queue. Thus, the queue acts as the buffer for the message when the difference occurs in the rate of push or pull of data on the side of a publisher and consumer.Queues help in decoupling the messaging between the producer and consumer. Queues also act as a buffer which helps in situations where there is a mismatch between the rate at which the producers push the data and consumers pull the data. 4. Exclusive Pair - Exclusive Pair is the bi-directional model, including full-duplex communication among client and server. The connection is constant and remains open till the client sends a request to close the connection.The Server has the record of all the connections which has been opened.This is a state-full connection model and the server is aware of all open connections.WebSocket based communication API is fully based on this model. Comment More infoAdvertise with us Next Article Sensors in Internet of Things(IoT) P piyushji2000 Follow Improve Article Tags : Technical Scripter Computer Science Fundamentals Technical Scripter 2020 IoT Similar Reads Challenges in Internet of things (IoT) Introduction : The Internet of Things (IoT) refers to the interconnectivity of physical devices, vehicles, home appliances, and other items embedded with electronics, software, sensors, and connectivity which enables these objects to connect and exchange data. The IoT concept involves extending Inte 15+ min read Types of Communications in IOT IoT Communication: IoT is the connection of devices over the internet, where these smart devices communicate with each other , exchange data , perform some tasks without any human involvement. These devices are embedded with electronics, software, network and sensors which help in communication. Com 4 min read Types of Communications in IOT IoT Communication: IoT is the connection of devices over the internet, where these smart devices communicate with each other , exchange data , perform some tasks without any human involvement. These devices are embedded with electronics, software, network and sensors which help in communication. Com 4 min read Sensors in Internet of Things(IoT) Generally, sensors are used in the architecture of IOT devices. Sensors are used for sensing things and devices etc. A device that provides a usable output in response to a specified measurement.The sensor attains a physical parameter and converts it into a signal suitable for processing (e.g. elect 7 min read Kotlin for IoT (Internet of Things) Development Kotlin has emerged as a powerful and efficient programming language in recent years, because of its powerful features such as concise syntax, null safety, coroutine support, and more. Kotlin's usage is not limited to Android development nowadays. Kotlin is used in other domains such as server-side d 7 min read Internet of Things (IoT) Enabling Technologies IoT(internet of things) enabling technologies are Wireless Sensor NetworkCloud ComputingBig Data AnalyticsCommunications ProtocolsEmbedded System 1. Wireless Sensor Network(WSN) :A WSN comprises distributed devices with sensors which are used to monitor the environmental and physical conditions. A w 3 min read Like