Internet of Things | Tutorial #8 | IoT Protocols – DDS



hi guys welcome to yet another video based on IOT so today in this video we'll be seeing what does the DDS service or protocol in IOT which is used for device to device communication that is the type of m2m interactions in IOT so you guys ready to understand what this VDS so let's get started so this VDS is data distribution service in DDS and this is the architecture or the framework you can say like how it works the DDS works in the real life IOT systems so basically we have these many entities like you have a hospital integrations you have car systems your automotives your industry as well as defense of your country and then you have this entity this big entity now this contains like a this is a buzz basically so the upper parts are basically different monitoring systems or storage systems and the down part are basically sensors and actuators which are used for performing different actions on the environment like you have a real-time analytics and control for monitoring and call purposes you have operator HMI that is human machine interaction for doing some kind of activities like if there is a scenario of driving a car then there is a driver and the machine so it's like human to machine interaction so all those activities which the human does on that particular machine is being monitored or it's being locked inside this specimen or it operates via this interface so that this HMI so operator sits over here so it's a operator H in my next you have IT and or cloud integration like all these details which is being generated throughout the day it's being deposited at the cloud at the end of the day or at the end of the co be closure of the business of that particular activity so this is the architecture or small overview of the data distribution service like how it works so let's go to the name data distribution service so from the name itself we can say that it is a service that distribute data now what data it is a device data now what does device data like for example take a scenario of an Android smartphone it want to communicate with another device like you have Google Alexa and Siri for example so these two devices wants to communicate with each other so the device data can include the kernel version the OS version the baseband version like many other things like which type of operating system it is using or the model number of it basically so those are different kinds of device data which you can say so this basically or this service basically targets devices that directly use device data so it's like a pure of m2m communications machine-to-machine no human is for between any of this scenario so it distributes data to other devices like I said these are the different kinds of device data it has and you can consider it as a device centric middleware altogether which has its roots in high-performance defense you can use in defense activities military activities or industrial applications so these are the places or the applications usage where this DDS is mostly used now this processes our publisher or subscriber architecture which can transfer millions of messages per second to many receivers like I have discussed in my MQTT protocol video on IOT like it is a publisher and subscriber mechanism like it will create one message and if there are n number of subscribers here then publishers will send that message once then it can ditch to millions across different destinations at any point of time next it demands data differently than the IT infrastructure this means that there are two kinds of way or two mechanisms like how the data is distributed like for example you have a device at another end and you have your IT infrastructure then the way or the mechanism between how the data exchange takes place this is completely different for IT and device like if there are two different devices then that communication is also completely different now since we are talking about distribution so devices has got two peculiarities like devices are mostly first any device if it's configured in proper environment it has to perform efficiently so devices are fast and its response time in real-life scenarios are in measured in microseconds so that's very fast so these two things you have to highlight upon while you use DDS service now since they need to communicate with the multiple other device from the world like since I've discussed in IOT there are around 20 million devices and so you are using ipv6 protocol so there will be multiple other devices in the world or in the universe so if you go with the or use it over the TCP protocol and if you use the person-to-person streams for that communication then it will be restrictive like at some point of time you have to adopt some other protocol so that you don't want to include in this in DDS so what DDS has it has got its own key strength that is a fan out fan out this or terming electronics which means that there is one single point and there are n number of inputs and these inputs can be appended to one point which directs to one output so like there are n number of different inputs coming and you have one single output output stream so it's like a multiplexer you can say so fan out this one key strength of DDS like you have n number of subscribers subscribing to one particular destination and then it's being sended or routed to one particular channel or one particular tunnel now I possesses a very powerful and it filters and selects data which goes there and thousands of million of the destinations now one peculiarity of DDS is that what every data it has it sends across different number of channels now it has the knowledge or it has the monitoring capability of which data goes at what destination at what point of time so it has the complete transparency of what data is reached at which point at which time so it everything has got the it's now like there are n number of big big devices dude aces are mostly used for supercomputers and other all big devices now in the world you have n number of small T measures and as well like for example some sometimes you may have a drone or you have a Fitbit band or you have a Bluetooth earphones headphones and all so these are small small devices as compared to supercomputers so what DDS has to offer is that it has a lightweight version of its DDS like to work in a constrained environment consider environment is like home and mine mine we used Fitbit band or Bluetooth connectivity while using headphones and all so DDS has got that as well now since we have talked about the publisher and subscriber architecture about framework it has a hub-and-spoke now like since we have spoke about publisher and subscriber if we use or if we go with the hub-and-spoke model it is not possible like for every device to use every other devices data so it's limited to one particular incident like for example say you have one particular center repository like a ledger is there and if there are n number of simultaneous users accessing it so like everybody don't have particular privileges or they met a lower privilege so each of them can manipulate or either change their data so that thing should not happen in details so what DDS has it has got its own D to D that is device to device data bus so it possesses a data bus which provides control and access to data and updates by simultaneous user so like it has restricted to only particular users like these many users can only update or only access data at particular instant of them and not all the time now talking about the applications small applications are there it has applications in military systems Hospital integrations then medical imaging system asset tracking and some automotive test and safety place activities so well that's all about the data distribution service in IOT system so hope you enjoyed this video if you got educated by watching this video please hit the like button and don't forget to subscribe to my channel thank you very much for watching this video

One Comment

  1. Talha Laiq said:

    great video.. nice job.. and great efforts

    June 28, 2019
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *