Both sides previous revisionPrevious revisionNext revision | Previous revision |
en:iot-open:networking2:stack [2023/11/11 09:29] – pczekalski | en:iot-open:networking2:stack [2023/11/23 16:11] (current) – pczekalski |
---|
===== Networking Overview ===== | |
<box #5374d5></box> | |
<box #5374d5></box> | |
| |
| ====== Communication Stack ====== |
| {{:en:iot-open:czapka_b.png?50| General audience classification icon }}{{:en:iot-open:czapka_m.png?50| General audience classification icon }}{{:en:iot-open:czapka_e.png?50| General audience classification icon }}\\ |
IoT devices are not separated from the global networking environment that nowadays is highly integrated, connecting various wired and wireless transmission standards into one network called the Internet. Indeed, some networks are separated because of security and safety reasons and regulations, yet they usually share the same standards as global Internet networks. | IoT devices are not separated from the global networking environment that nowadays is highly integrated, connecting various wired and wireless transmission standards into one network called the Internet. Indeed, some networks are separated because of security and safety reasons and regulations, yet they usually share the same standards as global Internet networks. |
| |
In a similar way to regular Internet networking, IoT networking is implemented using a (usually simplified) layered stack, similar to the regular ISO/OSI 7-layer networking stack well known to all IT students ((https://support.microsoft.com/en-gb/help/103884/the-osi-model-s-seven-layers-defined-and-functions-explained)), where the lowest 3 levels constitute so-called Media layers of the stack (recommendation X.200).\\ | In a similar way to regular Internet networking, IoT networking is implemented using a (usually simplified) layered stack, similar to the regular ISO/OSI 7-layer networking stack well known to all IT students ((https://support.microsoft.com/en-gb/help/103884/the-osi-model-s-seven-layers-defined-and-functions-explained)), where the lowest 3 levels constitute so-called Media layers of the stack (recommendation X.200).\\ |
<figure networking-ISO-OSI> | <figure networking-ISO-OSI> |
{{ :en:iot-open:communications_and_communicating_sut:grafika2.png?300 |}} | {{ :en:iot-open:communications_and_communicating_sut:grafika2.png?270 | ISO/OSI multi-layer Internet networking protocol stack}} |
<caption>ISO/OSI multi-layer Internet networking protocol stack</caption> | <caption>ISO/OSI multi-layer Internet networking protocol stack</caption> |
</figure> | </figure> |
Level 1 is a Physical Layer (PHY). On top of it, level 2 is the Data Link Layer with Media Access Control and Logical Link Control (MAC/LLC). Level 3 is the Networking layer (NET) where packets are formed and routed as presented in Figure {{ref>networking-ISO-OSI}}. ISO-OSI model was designed and implemented for dedicated network controller chips and powerful processors; thus, not all IoT devices can fully implement this model, mainly because of constrained RAM and storage memory sizes. Also, this model requires an instant connection to the remote node (PHY dependent), so it strongly impacts the battery drain in the case of constrained-power devices. | Level 1 is a Physical Layer (PHY). On top of it, level 2 is the Data Link Layer with Media Access Control and Logical Link Control (MAC/LLC). Level 3 is the Networking layer (NET) where packets are formed and routed as presented in figure {{ref>networking-ISO-OSI}}. ISO-OSI model was designed and implemented for dedicated network controller chips and powerful processors; thus, not all IoT devices can fully implement this model, mainly because of constrained RAM and storage memory sizes. Also, this model requires an instant connection to the remote node (PHY dependent), so it strongly impacts the battery drain in the case of constrained-power devices. |
| |
A quick overview of popular communication technologies for the Internet is presented in Figure {{ref>networking-wireless-poster}}. Note wide distance range between nodes of the Wireless devices regarding protocol used (primarily because of the PHY nature) where it varies from some meters in case of piconets up to some 180–2000 km when considering LEO (Low Earth Orbit) satellites, e.g. communicating through Iridium network and even up to about 35 786 km in case of the use of the geostationary satellites ((https://earthobservatory.nasa.gov/Features/OrbitsCatalog/)).\\ | A quick overview of popular communication technologies for the Internet is presented in figure {{ref>networking-wireless-poster}}. Note wide distance range between nodes of the Wireless devices regarding protocol used (primarily because of the PHY nature) where it varies from some meters in case of piconets up to some 180–2000 km when considering LEO (Low Earth Orbit) satellites, e.g. communicating through Iridium network and even up to about 35 786 km in case of the use of the geostationary satellites ((https://earthobservatory.nasa.gov/Features/OrbitsCatalog/)).\\ |
| |
Another factor is the communication bandwidth. Fortunately, IoT devices usually do not require high bandwidth – a couple of kbps is enough; thus, almost all protocols apply here. | Another factor is the communication bandwidth. Fortunately, IoT devices usually do not require high bandwidth – a couple of kbps is enough; thus, almost all protocols apply here. |
| |
<figure networking-wireless-poster> | <figure networking-wireless-poster> |
{{ :en:iot-open:communications_and_communicating_sut:grafika.png?500 |}} | {{ :en:iot-open:communications_and_communicating_sut:grafika.png?500 | Popular wireless networking standards}} |
<caption>Popular wireless networking standards</caption> | <caption>Popular wireless networking standards</caption> |
</figure> | </figure> |
| |
In many cases, IoT remote, distant nodes do not need constant communication, i.e. weather sensing would better communicate on a datagram communication model (UDP rather than TCP) ((http://web.mit.edu/modiano/www/6.263/lec22-23.pdf)). | In many cases, IoT remote, distant nodes do not need constant communication, e.g. weather sensing would better communicate on a datagram communication model (UDP rather than TCP) ((http://web.mit.edu/modiano/www/6.263/lec22-23.pdf)). |
In such cases, IoT devices utilize a simplified IoT stack, as presented in Figure {{ref>IoTStack}}. | In such cases, IoT devices utilize a simplified IoT stack, as presented in figure {{ref>IoTStack}}. |
<figure IoTStack> | <figure IoTStack> |
{{ :en:iot-open:communications_and_communicating_sut:grafika6.png?300 |}} | {{ :en:iot-open:communications_and_communicating_sut:grafika6.png?300 | Simplified, IoT-oriented implementation of the protocol stack (using UDP)}} |
<caption>Simplified, IoT-oriented implementation of the protocol stack (using UDP)</caption> | <caption>Simplified, IoT-oriented implementation of the protocol stack (using UDP)</caption> |
</figure> | </figure> |