Application Protocol Not Present
Application Protocol Not Present
summary, TCP and UDP are the two main choices at the transport layer for
the TCP/IP protocol. The performance and scalability of IoT constrained
devices and networks is impacted by which one of these is selected.
While many constrained devices, such as sensors and actuators, have adopted
deployments that have no application layer, this transportation method has not
been standardized. This lack of standardization makes it difficult for generic
implementations of this transport method to be successful from an
interoperability perspective.
Imagine expanding Example 6-1 to different kinds of temperature sensors
from different manufacturers. These sensors will report temperature data in
varying formats. A temperature value will always be present in the data
transmitted by each sensor, but decoding this data will be vendor specific. If
you scale this scenario out across hundreds or thousands of sensors, the
problem of allowing various applications to receive and interpret temperature
values delivered in different formats becomes increasingly complex. The
solution to this problem is to use an IoT data broker, as detailed in Figure 6-1.
An IoT data broker is a piece of middleware that standardizes sensor output
into a common format that can then be retrieved by authorized applications.
(The concept of the IoT data broker is introduced in Chapter 1, “What Is
IoT?”)
Figure 6-1 IoT Data Broker
In Figure 6-1, Sensors X, Y, and Z are all temperature sensors, but their
output is encoded differently. The IoT data broker understands the different
formats in which the temperature is encoded and is therefore able to decode
this data into a common, standardized format. Applications A, B, and C in
Figure 6-1 can access this temperature data without having to deal with
decoding multiple temperature data formats.
You should note that IoT data brokers are also utilized from a commercial
perspective to distribute and sell IoT data to third parties. Companies can
provide access to their data broker from another company’s application for a
fee. This makes an IoT data broker a possible revenue stream, depending on
the value of the data it contains.
In summary, while directly transporting data payload without a structured
network stack clearly optimizes data transmission over low-data-rate
networks, the lack of a data model implies that each application needs to
know how to interpret the data-specific format. This becomes increasingly
complex for larger networks of devices with different data payload formats.
Furthermore, it makes the IoT application environment challenging in terms
of evolution, development, interoperability, and so on, and often calls for
structured data models and data broker applications.
SCADA
In the world of networking technologies and protocols, IoT is relatively new.
Combined with the fact that IP is the de facto standard for computer
networking in general, older protocols that connected sensors and actuators
have evolved and adapted themselves to utilize IP.
A prime example of this evolution is supervisory control and data acquisition
(SCADA). Designed decades ago, SCADA is an automation control system
that was initially implemented without IP over serial links, before being
adapted to Ethernet and IPv4.