Internet of Things BETCK105H Module - 1
Internet of Things BETCK105H Module - 1
Internet of Things BETCK105H Module - 1
Course objectives
Understand about the fundamentals of Internet of Things and its
building blocks along with their characteristics.
Basics of Networking:
Introduction
Network Types
Layered network models
Emergence of IoT:
Introduction
Evolution of IoT
Enabling IoT and the Complex Interdependence of
Technologies, IoT Networking Components
Basics of Networking:
Introduction:
In the present era of data- and information-centric operations,
everything—right from agriculture to military operations—relies heavily
on information.
The quality of any particular information is as good as the variety and
strength of the data that generates this information.
Additionally, the speed at which data is updated to all members of a
team (which may be a group of individuals, an organization, or a
country) dictates the advantage that the team has over others in
generating useful information from the gathered data.
Considering the present-day global scale of operations of various
organizations or militaries of various countries, the speed and nature of
germane information are crucial for maintaining an edge over others in
the same area.
To sum it up, today’s world relies heavily on data and networking,
which allows for the instant availability of information from anywhere
on the earth at any moment.
The above figures a & b are Network types based on connection types
2) Physical topology:
Depending on the physical manner in which communication paths
between the hosts are connected, computer networks can have the
following four broad topologies-
a) Star
b) Mesh
c) Bus
d) Ring
a) Star:
In a star topology, every host has a point-to-point link to a central
controller or hub. The hosts cannot communicate with one another
directly; they can only do so through the central hub. The hub acts as the
network traffic exchange.
For large-scale systems, the hub, essentially, has to be a powerful
server to handle all the simultaneous traffic flowing through it. However,
as there are fewer links (only one link per host), this topology is cheaper
and easier to set up.
Advantages of star Topology:
1) easy installation
2) ease of fault identification within the network.
If the central hub remains uncompromised, link failures between
a host and the hub do not have a big effect on the network, except for
the host that is affected. However, the main disadvantage of this
topology is the danger of a single point of failure. If the hub fails, the
whole network fails.
Figure: Star Topology
b) Mesh:
In a mesh topology, every host is connected to every other host using a
dedicated link (in a point-to-point manner).
This implies that for n hosts in a mesh, there are a total of n(n-1)/2
dedicated full duplex links between the hosts.
This massive number of links makes the mesh topology expensive.
However, it offers certain specific advantages over other topologies.
Advantages:
1) The first significant advantage is the robustness and resilience of the
system. Even if a link is down or broken, the network is still fully
functional as there remain other pathways for the traffic to flow through.
2) The second advantage is the security and privacy of the traffic as the data is
only seen by the intended recipients and not by all members of the network.
3) The third advantage is the reduced data load on a single host, as every host in
this network takes care of its traffic load. However, owing to the complexities
in forming physical connections between devices and the cost of establishing
these links, mesh networks are used very selectively, such as in backbone
networks.
Figure: Star Topology
A bus topology follows the point-to-multipoint connection. A backbone
cable or bus serves as the primary traffic pathway between the hosts. The
hosts are connected to the main bus employing drop lines or taps.
Advantages:
The main advantage of this topology is the ease of installation.
However, there is a restriction on the length of the bus and the number of
hosts that can be simultaneously connected to the bus due to signal loss
over the extended bus.
The bus topology has a simple cabling procedure in which a single bus
(backbone cable) can be used for an organization.
Multiple drop lines and taps can be used to connect various hosts to the
bus, making installation very easy and cheap.
Drawback:
However, the main drawback of this topology is the difficulty in fault
localization within the network.
Figure: Bus Topology
A ring topology works on the principle of a point-to-point connection.
Here, each host is configured to have a dedicated point-to-point
connection with its two immediate neighboring hosts on either side of it
through repeaters at each host.
The repetition of this system forms a ring. The repeaters at each host
capture the incoming signal intended for other hosts, regenerates the bit
stream, and passes it onto the next repeater.
Fault identification and set up of the ring topology is quite simple and
straightforward.
Disadvantages:
However, the main disadvantage of this system is the high probability of
a single point of failure. If even one repeater fails, the whole network
goes down.
Figure: Ring Topology
Table : Network topology comparison
Network reachability:
Computer networks are divided into four broad categories based
on network reachability:
a) Personal area networks (PAN)
b) Local area networks (LAN)
c) Wide area networks(WAN)
d) Metropolitan area networks(MAN)
a) Personal area networks (PAN) :
As MANs are costly, they may not be owned by individuals or even
single organizations. Typical networking devices/components in MANs
are modems and cables. MANs tend to have moderate fault tolerance
levels.
Layered Network Models:
The intercommunication between hosts in any computer network, be it a
large-scale or a small-scale one, is built upon the premise of various task-
specific layers.
Two of the most commonly accepted and used traditional layered
network models are -
the open systems interconnection developed by the International
Organization of Standardization (ISO-OSI) reference model and
the Internet protocol suite.
OSI Model:
The ISO-OSI model is a conceptual framework that partitions any
networked communication device into seven layers of abstraction, each
performing distinct tasks based on the underlying technology and
internal structure of the hosts.
This layer is a media layer and layer 3 of the OSI model. It provides a
means of routing data to various hosts connected to different networks
through logical paths called virtual circuits.
These logical paths may pass through other intermediate hosts (nodes)
before reaching the actual destination host.
The primary tasks of this layer include addressing, sequencing of
packets, congestion control, error handling, and Internetworking.
The protocol data unit associated with this layer is referred to as a
packet.
4) Transport Layer:
This is layer 4 of the OSI model and is a host layer. The transport layer
is tasked with end-to-end error recovery and flow control to achieve a
transparent transfer of data between hosts.
This layer is responsible for keeping track of acknowledgments during
variable-length data transfer between hosts.
In case of loss of data, or when no acknowledgment is received, the
transport layer ensures that the particular erroneous data segment is re-
sent to the receiving host.
The protocol data unit associated with this layer is referred to as a
segment or datagram
5) Session Layer:
6) Presentation Layer:
Figure: Networked communication between two hosts following the OSI model
The below table summarizes the OSI layers and their features,
where PDU stands for Protocol Data Unit.
Table: Summary of the OSI layers and their features
Internet protocol suite:
The Internet protocol suite is yet another conceptual framework
that provides levels of abstraction for ease of understanding and
development of communication and networked systems on the Internet.
The Internet protocol suite predates the OSI model and provides
only four levels of abstraction
The TCP/IP protocol suite comprises the following four layers:
1) Link layer
2) Internet layer,
3) transport layer
4) application layer.
This collection of protocols is commonly referred to as the
TCP/IP protocol suite as the foundation technologies of this suite are
transmission control protocol (TCP) and Internet protocol (IP).
1) Link Layer:
The first and base layer of the TCP/IP protocol suite is also known as
the network interface layer.
This layer is synonymous with the collective physical and data link
layer of the OSI model.
Some core protocols associated with this layer are address resolution
protocol (ARP), Internet protocol (IP), Internet control message protocol
(ICMP), and Internet group management protocol (IGMP).
This layer is tasked with the functions of error control, flow control,
congestion control, segmentation, and addressing in an end-to-end
manner; it is also independent of the underlying network.
Figure: Networked communication between two hosts following the TCP/IP suite
Emergence of IoT:
Introduction :
The modern-day advent of network-connected devices has given
rise to the popular paradigm of the Internet of Things (IoT). Each second,
the present-day Internet allows massively heterogeneous traffic through
it.
This network traffic consists of images, videos, music, speech,
text, numbers, binary codes, machine status, banking messages, data
from sensors and actuators, healthcare data, data from vehicles, home
automation system status and control messages, military
communications, and many more.
This huge variety of data is generated from a massive number of
connected devices, which may be directly connected to the Internet or
connected through gateway devices. According to statistics from the
Information Handling Services, the total number of connected devices
globally is estimated to be around 25 billion.
This figure is projected to triple within a short span of 5 years by
the year 2025. the below Figure shows the global trend and projection for
connected devices worldwide.
Figure: 10-year global trend and projection of connected devices (statistics sourced from
the Information Handling Services
IoT is an anytime, anywhere, and anything network of Internet-
connected physical devices or systems capable of sensing an
environment and affecting the sensed environment intelligently.
This is generally achieved using low-power and low-form-
factor embedded processors on-board the “things” connected to the
Internet.
In other words, IoT may be considered to be made up of
connecting devices, machines, and tools; these things are made up of
sensors/actuators and processors, which connect to the Internet
through wireless technologies.
Another school of thought also considers wired Internet access to
be inherent to the IoT paradigm. we will consider any technology
enabling access to the Internet—be it wired or wireless—to be an IoT
enabling technology.
However, most of the focus on the discussion of various IoT
enablers will be restricted to wireless IoT systems due to the much
more severe operating constraints and challenges faced by wireless
devices as compared to wired systems.
Typically, IoT systems can be characterized by the following features
Associated architectures, which are also efficient and scalable.
Figure: The global IoT spending across various organizations and industries and its
subsequent projection until the year 2021 (sourced from International Data Corporation)
Figure: The compound annual growth rate (CAGR) of the IoT
Figure: The IoT market share across various industries (statistics sourced from
International Data Corporation)
Evolution of IoT:
The IoT, as we see it today, is a result of a series of technological
paradigm shifts over a few decades.
The technologies that laid the foundation of connected systems
by achieving easy integration to daily lives, popular public acceptance,
and massive benefits by using connected solutions can be considered as
the founding solutions for the development of IoT.
The below Figure shows the sequence of technological
advancements for shaping the IoT as it is today.
Figure: The sequence of technological developments leading to the shaping of the modern-
day IoT
ATM: ATMs or automated teller machines are cash distribution
machines, which are linked to a user’s bank account. ATMs dispense
cash upon verification of the identity of a user and their account through
a specially coded card. The central concept behind ATMs was the
availability of financial transactions even when banks were closed
beyond their regular work hours. These ATMs were ubiquitous money
dispensers. The first ATM became operational and connected online for
the first time in 1974.
Web: World Wide Web is a global information sharing and
communication platform. The Web became operational for the first time
in 1991. Since then, it has been massively responsible for the many
revolutions in the field of computing and communication.
Smart Meters: The earliest smart meter was a power meter, which
became operational in early 2000. These power meters were capable of
communicating remotely with the power grid. They enabled remote
monitoring of subscribers’ power usage and eased the process of billing
and power allocation from grids.
Digital Locks: Digital locks can be considered as on of the earlier
attempts at connected home-automation systems. Present-day digital
locks are so robust that smart phones can be used to control them.
Operations such as locking and unlocking doors, changing key codes,
including new members in the access lists, can be easily performed, and
that too remotely using smartphones.
Figure: The interdependence and reach of IoT over various application domains and
networking paradigms
The above figure shows the various technological interdependencies of
IoT with other domains and networking paradigms such as
M2M, CPS, the Internet of environment (IoE), the Internet of people
(IoP), and Industry 4.0. Each of these networking paradigms is a massive
domain on its own, but the omnipresent nature of IoT implies that these
domains act as subsets of IoT. The paradigms are briefly discussed here:
a) M2M:
The M2M or the machine-to-machine paradigm signifies a system of
connected machines and devices, which can talk amongst themselves
without human intervention. The communication between the machines
can be for updates on machine status (stocks, health, power status, and
others), collaborative task completion, overall knowledge of the systems
and the environment, and others.
b) CPS:
The CPS or the cyber physical system paradigm insinuates a closed control
loop—from sensing, processing, and finally to actuation—using a feedback
mechanism. CPS helps in maintaining the state of an environment through the
feedback control loop, which ensures that until the desired state is attained, the
system keeps on actuating and sensing. Humans have a simple supervisory role
in CPS-based systems; most of the ground-level operations are automated.
c) IoE:
The IoE paradigm is mainly concerned with minimizing and even reversing
the ill-effects of the permeation of Internet-based technologies on the
environment [3]. The major focus areas of this paradigm include smart and
sustainable farming, sustainable and energy-efficient habitats, enhancing the
energy efficiency of systems and processes, and others. In brief, we can safely
assume that any aspect of IoT that concerns and affects the environment, falls
under the purview of IoE.
d) Industry 4.0:
Industry 4.0 is commonly referred to as the fourth industrial revolution
pertaining to digitization in the manufacturing industry. The previous
revolutions chronologically dealt with mechanization, mass production, and the
industrial revolution, respectively. This paradigm strongly puts forward the
concept of smart factories, where machines talk to one another without much
human involvement based on a framework of CPS and IoT. The digitization and
connectedness in Industry 4.0 translate to better resource and workforce
management, optimization of production time and resources, and better upkeep
and lifetimes of industrial systems.
e) IoP:
IoP (Internet of People) is a new technological movement on the Internet
which aims to decentralize online social interactions, payments, transactions,
and other tasks while maintaining confidentiality and privacy of its user’s data.
A famous site for IoP states that as the introduction of the Bitcoin has severely
limited the power of banks and governments, the acceptance of IoP will limit
the power of corporations, governments, and their spy agencies [4].
IoT versus M2M:
M2M or the machine-to-machine paradigm refers to communications
and interactions between various machines and devices. These interactions can
be enabled through a cloud computing infrastructure, a server, or simply a local
network hub. M2M collects data from machinery and sensors, while also
enabling device management and device interaction.
Telecommunication services providers introduced the term M2M, and
technically emphasized on machine interactions via one or more
communication networks (e.g., 3G, 4G, 5G, satellite, public networks).
M2M is part of the IoT and is considered as one of its sub-domains, as
shown in above Figure, M2M standards occupy a core place in the IoT
landscape.
However, in terms of operational and functional scope, IoT is vaster
than M2M and comprises a broader range of interactions such as the
interactions between devices/things, things, and people, things and applications,
and people with applications; M2M enables the amalgamation of workflows
comprising such interactions within IoT. Internet connectivity is central to the
IoT theme but is not necessarily focused on the use of telecom networks.
IoT versus CPS:
Cyber physical systems (CPS) encompasses sensing, control, actuation,
and feedback as a complete package. In other words, a digital twin is attached
to a CPS-based system.
As mentioned earlier, a digital twin is a virtual system–model relation,
in which the system signifies a physical system or equipment or a piece of
machinery, while the model represents the mathematical model or
representation of the physical system’s behavior or operation.
Many a time, a digital twin is used parallel to a physical system,
especially in CPS as it allows for the comparison of the physical system’s
output, performance, and health.
Based on feedback from the digital twin, a physical system can be
easily given corrective directions/commands to obtain desirable outputs. In
contrast, the IoT paradigm does not compulsorily need feedback or a digital
twin system. IoT is more focused on networking than controls.
Some of the constituent sub-systems in an IoT environment (such as
those formed by CPS-based instruments and networks) may include feedback
and controls too. In this light, CPS may be considered as one of the sub-
domains of IoT, as shown in the above Figure.
IoT versus WoT:
From a developer’s perspective, the Web of Things (WoT) paradigm
enables access and control over IoT resources and applications. These resources
and applications are generally built using technologies such as HTML 5.0,
JavaScript, Ajax, PHP, and others. REST (representational state transfer) is one
of the key enablers ofWoT.
The use of RESTful principles and RESTful APIs (application program
interface) enables both developers and deployers to benefit from the
recognition, acceptance, and maturity of existing web technologies without
having to redesign and redeploy solutions from scratch. Still, designing and
building the WoT paradigm has various adaptability and security challenges,
especially when trying to build a globally uniform WoT.
As IoT is focused on creating networks comprising objects, things, people,
systems, and applications, which often do not consider the unification aspect
and the limitations of the Internet, the need for WoT, which aims to integrate
the various focus areas of IoT into the existing Web is really invaluable.
Technically, WoT can be thought of as an application layer-based hat added
over the network layer. However, the scope of IoT applications is much
broader; IoT also which includes non-IP-based systems that are not accessible
through the web.
Enabling IoT and the Complex Interdependence of Technologies:
6) IoT Proxy: Proxies actively lie on the application layer and performs
application layer functions between IoT nodes and other entities.
Typically, application layer proxies are a means of providing security
to the network entities under it ; it helps to extend the addressing
range of its network.
In the above figure, the various IoT nodes within an IoT LAN are
configured to to one another as well as talk to the IoT router whenever they are
in the range of it.
The devices have locally unique (LU-x) device identifiers. These
identifiers are unique only within a LAN. There is a high chance that these
identifiers may be repeated in a new LAN. Each IoT LAN has its own unique
identifier, which is denoted by IoT LAN-x in the above Figure.
A router acts as a connecting link between various LANs by forwarding
messages from the LANs to the IoT gateway or the IoT proxy.
As the proxy is an application layer device, it is additionally possible to
include features such as firewalls, packet filters, and other security measures
besides the regular routing operations.
Various gateways connect to an IoT WAN, which links these devices to
the Internet. There may be cases where the gateway or the proxy may directly
connect to the Internet. This network may be wired or wireless; however, IoT
deployments heavily rely on wireless solutions.
This is mainly attributed to the large number of devices that are
integrated into the network; wireless technology is the only feasible and neat-
enough solution to avoid the hassles of laying wires and dealing with the
restricted mobility rising out of wired connections.
Knowledge is Power…
Learning is Super Power…