IOT Module-1
IOT Module-1
Basics of Networking:
Introduction, Network Types, Layered network models
Emergence of IoT:
1. Point-to-point:
Point-to-point connections are used to establishdirect connections between two hosts.
Day-to-day systems such as a remote control for an air conditioner or television are a
point-to-point connection, where the connection has the whole channel dedicated to it
only.
2. Point-to-multipoint:
In a point-to-multipoint connection, more than two hosts share the same link.
This type of configuration is similar to the one-to-many connection type.
Point-to-multipoint connections find popular use in wireless networks and IP telephony.
The channel is shared between the various hosts.
1. Star Topology
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. This topology is cheaper and easier to set up.
Advantages
The main advantages of the star topology are easy installation,
The 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.
Disadvantages
Danger of a single point of failure. If the hub fails, the whole network fails.
2. Mesh Topology
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.
Advantages
The first significant advantage is the robustness and resilience of the system. Even if a
link is downor broken, the network is still fully functional as there remain other
pathwaysfor the traffic to flow through.
The second advantage is the security and privacyof the traffic as the data is only seen by
the intended recipients and not by allmembers of the network.
The third advantage is the reduced data load on a single host, as every host in this
network takes care of its traffic load.
Disadvantages
The massive number of links makes the mesh topology expensive.
3. Bus Topology
A bus topology follows the point-to-multipoint connection. A backbonecable 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.
The bus topologyhas 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.
Disadvantages
Restrictionon the length of the bus and the number of hosts that can be
simultaneouslyconnected to the bus due to signal loss over the extended bus.
The difficulty in fault localization within the network.
4. Ring 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.
Advantages
Fault identification and set up of the ring topology is quite simple and straightforward.
Disadvantages
The high probability of a single point of failure. If even one repeater fails, the whole
network goes down.
(i) 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. It enables the transmission of TCP/IP packets over the physical
medium. According to its design principles, the link layer is independent of the medium in use,
frame format, and network access, enabling it to be used with a wide range of technologies
such as the Ethernet, wireless LAN, and the asynchronous transfer mode (ATM).
(ii) Internet Layer: It is responsible for addressing, address translation, data packaging, data
disassembly and assembly, routing, and packet delivery tracking operations. Protocols
associated with this layer are address resolution protocol (ARP), Internet protocol (IP), Internet
control message protocol (ICMP), and Internet group management protocol (IGMP).
(iii) Transport Layer: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. Transmission control protocol (TCP) and user
datagram protocol (UDP) are the core protocols upon which this layer is built, which in turn
enables itto have the choice of providing connection-oriented or connectionless services
between two ormore hosts or networked devices.
(iv) Application Layer: The functionalities of the application layer, layer 4, of the TCP/IP
protocol suite are synonymous with the collective functionalities of the OSI model’s session,
presentation, and application layers. This layer enables an end-user to access the services of
the underlying layers and defines the protocols for the transfer of data. Hypertext transfer
protocol (HTTP), file transfer protocol (FTP), simple mail transfer protocol (SMTP), domain
name system (DNS), routing information protocol (RIP), and simple network management
protocol (SNMP) are some of the core protocols associated with this layer.A networked
communication between two hosts following the TCP/IP model isshown in Figure 1.4.
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.
Web
World Wide Web is a global information sharing and communication
platform.
The Web became operational for the first time in1991.
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.
Advantages
No need to manually submit readings.
Easy to monitor your energy usage and spending using in-home display.
Digital Locks
Digital locks can be considered as one 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 smart phones.
Connected Healthcare
Connected Vehicles
Smart Cities
A smart city is a municipality that uses information and communication
technologies (ICT) to increase operational efficiency, share information with
the public and improve both the quality of government services and citizen
welfare.
This is a citywide implementation of smart sensing, monitoring, and
actuation systems.
The citywide infrastructure communicating amongst them selves enables
unified and synchronized operations and information dissemination.
Some of the facilities, which may benefit, are parking, transportation, and
others.
Smart Dust
These are microscopic computers.
Smart dust is a system of many tiny micro electro mechanical systems such
as sensors, robots, or other devices, that can detect, for example, light,
temperature, vibration, magnetism, or chemicals.
Advantages
Light weight.
Can work without human intervention and are alert 24*7, when certain
conditions are met.
Can be programmed to monitor a variety of ecosystems in many industries.
Dramatically reduces human resources cost and increases safety and
compliance.
Smart dust can be sprayed to measure chemicals in the soil or even to
diagnose problems in the human body.
Smart Factories
An interconnected network of machines, communication mechanisms, and
computing power, the smart factory is a cyber-physical system that uses
advanced technologies such as artificial intelligence (AI) and machine
learning to analyze data, drive automated processes, and learn as it goes.
Smart manufacturing is a manufacturing approach that uses internet-
connected machinery to improve the efficiency and performance of the
production process.
This approach tries to identify any opportunities for automating operations,
optimizing production processes, and reducing the wastage of resources.
UAVs
An unmanned aerial vehicle, commonly known as a drone, is an aircraft
without any human pilot, crew, or passengers on board.
UAVs are a component of an unmanned aircraft system, which includes
adding a ground-based controller and a system of communications with the
UAV
UAVs or unmanned aerial vehicles have emerged as robust public domain
solutions tasked with applications ranging from agriculture, surveys,
surveillance, deliveries, stock maintenance, asset management, and other
tasks.
The interdependence and reach of IoT over various application domains
and networking paradigms
The present-day IoT spans across various domains and applications. The major highlight
of this paradigm is its ability to function as a cross-domain technology enabler. Multiple
domains can be supported and operated upon simultaneously over IoT-based platforms.
Support for legacy technologies and standalone paradigms, along with modern developments,
makes IoT quite robust and economical for commercial, industrial, as well as consumer
applications. IoT is being used invalid and diverse areas such as smart parking, smart phone
detection, traffic congestion, smart lighting, waste management, smart roads, structural
health, urban noise maps, river floods, water flow, silos stock calculation, water leakages,
radiation levels, explosive and hazardous gases, perimeter access control, snow. Figure 4.7
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.
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.
CPS
A cyber-physical system or intelligent system is a computer system in which a
mechanism is controlled or monitored by computer-based algorithms.
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.
IoE
The networked connection of people, process, data, and things.
The benefit of IoE is derived from the compound impact of connecting
people, process, data, and things, and the value this increased
connectedness creates as “everything” comes online.
The IoE paradigm is mainly concerned with minimizing and even reversing
the ill effects of the permeation of Internet-based technologies on the
environment.
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.
Industry 4.0
The previous revolutions chronologically dealt with mechanization, mass
production, and the industrial revolution, respectively.
Industry 4.0 is commonly referred to as the fourth industrial revolution
pertaining to digitization in the manufacturing industry.
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
IoP
IoP 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.
IoP has a technological focus. NGI needs to take into consideration many
aspects of the interactions between humans and Internet technologies, such
as adoption, policy, governance and legislative aspects, IoP is a strictly
technology-based approach to design NGI protocols and systems.
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 of WoT. 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 that added over
the network layer. The scope of IoT applications is much broader; IoT also which
includes non-IP-based systems that are not accessible through the web.
Local connectivity
The local connectivity is responsible for distributing Internet access to multiple local IoT
deployments.
This distribution may be on the basis of the physical placement of the things, on the
basis of the application domains, or even on the basis of providers of services.
Services such as address management, device management, security, sleep scheduling,
and others fall within the scope of this plane.
For example, in a smart home environment, the first floor and the ground floor may
have local IoT implementations, which have various things connected to the network via
low-power, low-range connectivity technologies.
The traffic from these two floors merges into a single router or a gateway. The total
traffic intended for the Internet from a smart home leaves through a single gateway or
router, which may be assigned a single global IP address (for the whole house).
The local connectivity plane falls under the purview of IoT management as it directly
deals with strategies to use/reuse addresses based on things and applications.
Global connectivity
Global connectivity plays a significant role in enabling IoT in the real sense by allowing
for worldwide implementations and connectivity between things, users, controllers, and
applications.
This plane also falls under the purview of IoT management as it decides how and when
to store data, when to process it, when to forward it, and in which form to forward it.
The Web, data-centers, remote servers, Cloud, and others make up this plane.
Processing
The final plane of processing can be considered as a top-up of the basic IoT networking
framework.
The continuous rise in the usefulness and penetration of IoT in various application areas
such as industries, transportation, healthcare, and others is the result of this plane. The
members in this plane may be termed as
The various sub-domains of this plane include intelligence, conversion (data and format
conversion, and data cleaning), learning (making sense of temporal and spatial data
patterns), cognition (recognizing patterns and mapping it to already known
patterns),algorithms (various control and monitoring algorithms), visualization
(rendering numbers and strings in the form of collective trends, graphs, charts, and
projections),and analysis (estimating the usefulness of the generated information,
making sense of the information with respect to the application and place of data
generation, and estimating future trends based on past and present patterns of
information obtained).
Various computing paradigms such as “big data”, “machine Learning”, and others, fall
within the scope of this domain.
IoT Node
These are the networking devices within an IoT LAN.
Each of these devices is typically made up of a sensor, a processor, and a radio, which
communicates with the network infrastructure (either within the LAN or out side it).
The nodes may be connected to other nodes inside a LAN directly or by means of a
common gateway for that LAN.
Connections outside the LAN are through gateways and proxies.
IoT Router
An IoT router is a piece of networking equipment that is primarily tasked with the
routing of packets between various entities in the IoT network;
it keeps the traffic flowing correctly within the network.
A router can be repurposed as a gateway by enhancing its functionalities.
IoT LAN
The local area network (LAN) enables local connectivity within the purview of a single
gateway.
It consist of short-range connectivity technologies.
IoT LANs may or may not be connected to the Internet.
Generally, they are localized within a building or an organization.
IoT WAN
The wide area network (WAN) connects various network segments such as LANs.
They are typically organizationally and geographically wide,with their operational range
lying between a few kilometers to hundreds of kilometers.
IoT WANs connect to the Internet and enable Internet access to the segments they are
connecting.
IoT Gateway
An IoT gateway is simply a router connecting the IoT LAN to a WAN or the Internet.
Gateways can implement several LANs and WANs.
Their primary task is to forward packets between LANs and WANs, and the IP layer using
only layer 3.
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.
The various IoT nodes within an IoT LAN are configured 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. Each IoT LAN has its own
unique identifier, which is denoted by IoT LAN-x A router acts as a connecting link between
various LANs by forwarding messages from the LANs to the IoT gateway or the IoT proxy. 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.