IoT - Module 4
IoT - Module 4
Module 4
Syllabus
IP as IoT Network layer Application Protocols for IoT IP as IoT Network layer
SCADA
SCADA is an automation control system used to gather data in real-time from remote
locations in order to control equipment and conditions.
SCADA networking protocols are well-structured protocols. SCADA systems collect sensory
data and telemetry from remote devices, while also providing the ability to control them.
SCADA systems allow real-time, data-driven decisions to be made regarding business processes.
2. The next field in the MQTT header is DUP (Duplication flag). This flag, when set,
allows the client to notate that the packet has been sent previously, but an
acknowledgement was not received.
3. The QoS (Quality of Service) header field allows for the selection of three different
QoS levels:
a. QoS 0: QoS 0 level ensures “at most once delivery”. The publisher sends its
message one time to a server, which transmits it once to the subscribers. No
response is sent by the receiver, and no retry is performed by the sender. The
message arrives at the receiver either once or not at all.
b. QoS 1: QoS 1 level ensures that the message delivery between the publisher and
server and then subscribers occurs at least once. Packet identifier is included. If
the message is not acknowledged by a PUBACK packet, it is sent again. This
level guarantees “at least once” delivery.
c. QoS 2: In this level, neither loss nor duplication of message is acceptable.
Packet identifier and optional variable header leads to increased overhead.
This level provides a guaranteed service known as exactly once delivery, with
no consideration for the number of retries as long as the message is delivered
once.
4. The next field is the Retain flag. Retain flag notifies the server to hold onto a message
data. This allows new subscribers to instantly receive the last known value without
having to wait for the next update from the publisher.
5. The last mandatory field in the MQTT message header is the remaining length. This
field specifies the number of bytes in the MQTT packet following this field.
6. MQTT sessions between each client and server consist of four phases: session
establishment, authentication, data exchange, and session termination. Each client
has a unique client ID.
Comparison between CoAP and MQTT
Structured data: Structured data means that the data follows a model or schema that defines
how the data is represented or organized. Thus, it fits well with a traditional relational database
management system (RDBMS). Eg: Data in a simple tabular form - a spreadsheet. Structured
data can be found in most computing systems and includes everything from banking transactions
and invoices to computer log files and router configurations. IoT sensor data often uses
structured values, such as temperature, pressure, humidity, and so on. Structured data is easily
formatted, stored, queried, and processed. For these reasons, structured data has been the core
type of data used for making business decisions. A wide array of data analytics tools are readily
available for processing structured data.
Unstructured data: Unstructured data lacks a logical schema for understanding and decoding
the data through traditional programming means. Eg: Text, Speech, Images, Video. Data that
does not fit neatly into a predefined data model is classified as unstructured data. According
to some estimates, around 80% of a business’s data is unstructured.
Semi-structured data: Hybrid of structured and unstructured data and shares characteristics of
both. Eg: Email - Fields are well defined but the content contained in the fields and attachments
is unstructured.
Smart objects in IoT networks generate both structured and unstructured data. Structured data
is more easily managed and processed due to its well-defined organization. On the other hand,
unstructured data can be harder to deal with and typically requires very different analytics
tools for processing the data.