Communication Model in IoT
Today we are learning about the communications Model.
- How will the communication Model happen?
- How does it follow the different standards to communicate the two or more devices for communication?
Today we discuss the communication Model which is used in IoT or IIOT. Before we discuss the communication model, we have to find
Why IoT communication Model is required?
To understand this let us suppose, How the data establish btw the source or destination?
- Whenever two or more devices want to transfer data with security, so we need to follow this Communication Model.
- We also need this because whenever we transfer or receive the data which is in the form of packets and they have to be successfully delivered.
- We also want this model because in IoT or IIoT the different machines work on operating frequency (diff. speed). Because we didn’t want to lose the data, that’s why we have to try they will synchronize it, So we need Communication Model.
- Different devices are works on different protocols. For example, some devices have HTTP and some are having HTTPS support, So when the machine works on different protocols to interface communication (data combination), So we need this communication Model.
Now we understand which type of different Models we have to learn.
IoT – Communication Model (Request Response)
In this, we clearly can see understood one device will send the request and another will take the send the response. Generally, we used this protocol in a web browser. In this we open our browser and the wherever domain will we search on that what will you do? You request the domain to get the information about the search.
How Request will be sent?
Firstly we search for something on the browser and domain request to the internet and transfer it to servers where all the data was stored. Then will respond or send the information through the internet and display the result to be used by the device ( pc, mobile). And we know this happened in just a second. But this model is based on Request or response. Here we follow the HTTP and HTTPS. It means one device is requested and another gives it a response. so that’s the type of working of this model.
IoT – Communication Model (Publisher subscriber)
Here by the name we see that there is one device will a publisher and another one is a subscriber. Publishers – who send the data are known as publishers. In IoT, all the sensors are our publishers and these sensors send the diff-diff values to brokers and Subscribers – who are interested in that data are known as subscribers. Broker – divide it into topic vice and the subscriber who subscribed the topic data was delivered to it. It is the same as a youtube channel if someone subscribes to the channel then it will get notified of that channel’s data.
IoT – Communication Model (Push-pull)
In the same way, you can see one device push the data and another device will pull it as per its name. we can understand it also like, I have a publisher who sends the message to queue. Because the speed of transmission of the data btw the transmitter and receiver are different as pr based on diff-diff devices. so here publisher works on sending the data one by one and consumers will acquire the information step by step.
Here in this model publisher send the data first to the yellow then blue, green and red then the consumer will acquire it. The consumer will send the data firstly to red then green, blue and yellow. Like first in first out.
IoT – Communication Model (Exclusive Pair)
Exclusive Pair – we use it in dedicated lease lines. whenever we want to data communicate btw clients or servers to such others we use this model.
- The client generates the request to start a connection.
- When its request will accept then the server sends a request accepting the request.
- The data transfer will start btw the client or server.
- Once the data transfer was completed the server send a request for data transmission.
- When the data transmission is done the client sends a request to the server for connection closed transmission.
- The server sends a request to the client for the close connection request.
Because data transmission btw the client or server is in the Full Duplex communication Model. It means Bidirectional communication so we can also be called it the Bidirectional Model.
So all of this we discuss in this video, which is given below.