Internet of Things: Haripriya V Asst - Professor, Dept. of CS & IT
Internet of Things: Haripriya V Asst - Professor, Dept. of CS & IT
Internet of Things: Haripriya V Asst - Professor, Dept. of CS & IT
1
Haripriya V Asst.Professor, Dept. of CS & IT
MODULE I
INTRODUCTION TO IOT
2
Haripriya V Asst.Professor, Dept. of CS & IT
# INTRODUCTION- IOT
Internet connects all people “Internet of People”
IoT connects all things “Internet of Things”
3
Haripriya V Asst.Professor, Dept. of CS & IT
• The Internet of Things (IoT) is the network of physical objects or
"things" embedded with electronics, software, sensors, and
network connectivity, which enables these objects to collect and
exchange data.
• These devices collect useful data with the help of various existing
technologies and then autonomously flow the data between other
devices.
4
Haripriya V Asst.Professor, Dept. of CS & IT
IOT − KEY FEATURES
5
Haripriya V Asst.Professor, Dept. of CS & IT
CONTN..
6
Haripriya V Asst.Professor, Dept. of CS & IT
VARIOUS NAMES, ONE CONCEPT
7
Haripriya V Asst.Professor, Dept. of CS & IT
HISTORY OF IOT
8
Haripriya V Asst.Professor, Dept. of CS & IT
HOW IOT WORKS?
• The entire IOT process starts with the devices themselves like
smartphones, smartwatches, electronic appliances like TV,
Washing Machine which helps you to communicate with the IOT
platform.
Here, are four fundamental components of an IoT system:
1) Sensors/Devices: Sensors or devices are a key component
that helps you to collect live data from the surrounding
environment. All this data may have various levels of complexities.
It could be a simple temperature monitoring sensor, or it may be in
the form of the video feed.
9
Haripriya V Asst.Professor, Dept. of CS & IT
CONTN..
10
Haripriya V Asst.Professor, Dept. of CS & IT
CONTN..
4)User Interface: The information needs to be available to the
end-user in some way which can be achieved by triggering
alarms on their phones or sending them notification through email
or text message. The user sometimes might need an interface
which actively checks their IOT system. For example, the user
has a camera installed in his home. He wants to access video
recording and all the feeds with the help of a web server.
However, it's not always one-way communication. Depending on
the IoT application and complexity of the system, the user may
also be able to perform an action which may create cascading
effects.
For example, if a user detects any changes in the temperature of
the refrigerator, with the help of IOT technology the user should
able to adjust the temperature with the help of their mobile phone.
11
Haripriya V Asst.Professor, Dept. of CS & IT
ADVANTAGES AND DISADVANTAGES OF (IOT)
12
Haripriya V Asst.Professor, Dept. of CS & IT
DISADVANTAGES OF IOT
13
Haripriya V Asst.Professor, Dept. of CS & IT
GROWTH OF IOT
14
Haripriya V Asst.Professor, Dept. of CS & IT
#PHYSICAL DESIGN
• Physical Design of IoT refers to IoT Devices and IoT Protocols.
• Things are Node device which have unique identities and can perform remote
sensing, actuating and monitoring capabilities.
• Communication established between things and cloud based server over the
Internet by various IoT protocols.
• Things :
• Basically Things refers to IoT Devices which have unique identities and
can perform remote sensing, actuating and monitoring capabilities.
• Things are is main part of IoT Application. IoT Devices can be various
type, Sensing Devices, Smart Watches, Smart Electronics appliances,
Wearable Sensors, Automobiles, and industrial machines.
• These devices generate data in some forms or the other which when
processed by data analytics systems leads to useful information to
guide further actions locally or remotely.
15
Haripriya V Asst.Professor, Dept. of CS & IT
16
Haripriya V Asst.Professor, Dept. of CS & IT
• An IoT device may consist of several interfaces for connections to
other devices both wired and wireless.
• I/O interfaces for sensors
• Interfaces for internet connectivity
• Memory and storage interfaces
• Audio/video interfaces
17
Haripriya V Asst.Professor, Dept. of CS & IT
IOT PROTOCOLS
18
Haripriya V Asst.Professor, Dept. of CS & IT
The IoT Data Link communication protocol provides service to the
Network Layer. There are various protocols and standard technologies
specified by the different organization for data link protocols.
The network layer is responsible for connecting to other smart things,
network devices, and servers. Its features are also used for transmitting
and processing sensor data.
The transport layer transfers the sensor data from the perception layer to
the processing layer and vice versa through networks such as wireless,
3G, LAN, Bluetooth, RFID, and NFC.
The application layer is responsible for delivering application specific
services to the user. It defines various applications in which the Internet
of Things can be deployed, for example, smart homes, smart cities, and
smart health.
The perception layer is the physical layer, which has sensors for sensing
and gathering information about the environment. It senses some
physical parameters or identifies other smart objects in the environment.
19
Haripriya V Asst.Professor, Dept. of CS & IT
Link Layer Network/ Transport Application
Internet Layer Layer Layer
802.3 – Ethernet IPv4 TCP HTTP
802.11 – WiFi IPv6 UDP CoAP
20
Haripriya V Asst.Professor, Dept. of CS & IT
Activity: Write brief notes on each
protocol and their applications.
21
Haripriya V Asst.Professor, Dept. of CS & IT
#LOGICAL DESIGN OF IOT
• Logical design of an IoT system refers to an abstract
representation of the entities and processes without going
into the low-level specifics of the implementation.
• An IoT system comprises a number of functional blocks
that provide the system the capabilities for identification,
sensing, actuation, communication and management.
22
Haripriya V Asst.Professor, Dept. of CS & IT
Device : Devices such as sensing, actuation, monitoring and
control functions.
• Communication : IoT Protocols
• Services like device monitoring, device control services, data
publishing services and device discovery
• Management : Functions to govern the system
• Security : Functions as authentication, authorization, message
and content integrity, and data security
• Applications
23
Haripriya V Asst.Professor, Dept. of CS & IT
#IOT ENABLING TECHNOLOGIES
24
Haripriya V Asst.Professor, Dept. of CS & IT
WIRELESS SENSOR NETWORKS
25
Haripriya V Asst.Professor, Dept. of CS & IT
SOME EXAMPLES OF WSNS USED IN IOT SYSTEMS ARE
DESCRIBED AS FOLLOWS:
• Weather monitoring system use WSNs in which the nodes
collect temperature humidity and other data which is
aggregated and analyzed.
• Indoor air quality monitoring systems use WSNs to collect data
on the indoor air quality and concentration of various gases
• Soil moisture monitoring system use WSNs to monitor soil
moisture at various locations.
• Surveillance system use WSNs for collecting Surveillance data
(such as motion detection data)
• Smart grid use WSNs for monitoring the grid at various points.
• Structural health monitoring system use WSNs to monitor the
health of structures ( buildings, bridges) by collecting vibration
data from sensor nodes de deployed at various points in the
structure.
26
Haripriya V Asst.Professor, Dept. of CS & IT
CLOUD COMPUTING
27
Haripriya V Asst.Professor, Dept. of CS & IT
Cloud computing services are offered to
users in different forms:
28
Haripriya V Asst.Professor, Dept. of CS & IT
BIG DATA ANALYTICS
• Big Data analytics is the process of collecting, organizing and
analyzing large sets of data (called Big Data) to discover
patterns and other useful information.
• Big Data analytics can help organizations to better understand
the information contained within the data and will also help
identify the data that is most important to the business and
future business decisions.
• Analysts working with Big Data typically want
the knowledge that comes from analyzing the data.
• Some examples of big data generated by IoT systems are
described as follows:
• Sensor data generated by IoT system such as weather
monitoring stations.
29
Haripriya V Asst.Professor, Dept. of CS & IT
EG. CONTND…
30
Haripriya V Asst.Professor, Dept. of CS & IT
COMMUNICATION PROTOCOLS
31
Haripriya V Asst.Professor, Dept. of CS & IT
EMBEDDED SYSTEMS
• Embedded means something that is attached to another thing. An embedded
system can be thought of as a computer hardware system having software
embedded in it.
• An embedded system can be an independent system or it can be a part of a
large system.
• An embedded system is a controller programmed and controlled by a real-time
operating system (RTOS) with a dedicated function within a larger mechanical
or electrical system, often with real-time computing constraints.
• It is embedded as part of a complete device often including hardware and
mechanical parts.
An embedded system has three components −
• It has hardware.
• It has application software.
• It has Real Time Operating system (RTOS) that supervises the application
software and provide mechanism to let the processor run a process as per
scheduling by following a plan to control the latencies.
• RTOS defines the way the system works.
• It sets the rules during the execution of application program. A small scale
embedded system may not have RTOS.
32
Haripriya V Asst.Professor, Dept. of CS & IT
#IOT LEVELS & DEPLOYMENT
TEMPLATES
An IoT system comprises of the following components:
• Device: An IoT device allows identification, remote sensing,
actuating and remote monitoring capabilities.
• Resource: Resources are software components on the IoT
device for accessing, processing, and storing sensor
information, or controlling actuators connected to the
device. Resources also include the software components
that enable network access for the device.
• Controller Service: Controller service is a native service that
runs on the device and interacts with the web services.
Controller service sends data from the device to the web
service and receives commands from the application (via
web services) for controlling the device.
33
Haripriya V Asst.Professor, Dept. of CS & IT
CONTN..
• Database: Database can be either local or in the cloud and
stores the data generated by the IoT device.
• Web Service: Web services serve as a link between the IoT
device, application, database and analysis components. Web
service can be either implemented using HTTP and REST
principles (REST service) or using WebSocket protocol
(WebSocket service).
• Analysis Component: The Analysis Component is responsible
for analyzing the IoT data and generate results in a form which
are easy for the user to understand.
• Application: IoT applications provide an interface that the users
can use to control and monitor various aspects of the IoT
system. Applications also allow users to view the system status
and view the processed data.
34
Haripriya V Asst.Professor, Dept. of CS & IT
IOT LEVEL - 1
A level - 1 IoT system has a
single node/device that
performs sensing and/or
actuation, stores data,
performs analysis and hosts
the application .
• Level - 1 IoT systems are
suitable for modelling low - cost
and low -complexity solutions
where the data involved is not
big and the analysis
requirements are not
computationally intensive .
35
Haripriya V Asst.Professor, Dept. of CS & IT
36
Haripriya V Asst.Professor, Dept. of CS & IT
IOT LEVEL - 2
A level-2 IoT system has a single
node that performs sensing
and/or actuation and local
analysis.
• Data is stored in the cloud and
the application is usually cloud-
based.
• Level -2 IoT systems are
suitable for solutions where the
data involved is big; however, the
primary analysis requirement is
not computationally intensive and
can be done locally.
37
Haripriya V Asst.Professor, Dept. of CS & IT
38
Haripriya V Asst.Professor, Dept. of CS & IT
IOT LEVEL - 3
A level-3 IoT system has a
single node. Data is stored
and analyzed in the cloud
and the application is cloud -
based.
• Level-3 IoT systems are
suitable for solutions where
the data involved is big and
the analysis requirements are
computationally intensive.
.
39
Haripriya V Asst.Professor, Dept. of CS & IT
40
Haripriya V Asst.Professor, Dept. of CS & IT
IOT LEVEL - 4
41
Haripriya V Asst.Professor, Dept. of CS & IT
42
Haripriya V Asst.Professor, Dept. of CS & IT
IOT LEVEL - 5
• A level-5 IoT system has
multiple end nodes and one
coordinator node.
• The end nodes that perform
sensing and/or actuation.
• Coordinator node collects
data from the end nodes and
sends to the cloud.
• Data is stored and analyzed
in the cloud and application is
cloud-based.
• Level-5 IoT systems are
suitable for solutions based
on wireless sensor networks,
in which the data involved is
big and the analysis
requirements are
computationally intensive.
43
Haripriya V Asst.Professor, Dept. of CS & IT
44
Haripriya V Asst.Professor, Dept. of CS & IT
IOT LEVEL - 6
•A level-6 IoT system has
multiple independent end
nodes that perform sensing
and/or actuation and send data
to the cloud.
• Data is stored in the cloud
and the application is cloud -
based.
• The analytics component
analyzes the data and stores
the results in the cloud
database.
• The results are visualized with
the cloud
-based application.
• The centralized controller is
aware of the status of all the
end nodes and sends control
commands to the nodes.
45
Haripriya V Asst.Professor, Dept. of CS & IT
46
Haripriya V Asst.Professor, Dept. of CS & IT
#DOMAIN SPECIFIC IOTS
IoT Applications for :
• Home
• Cities
• Environment
• Energy Systems
• Retail
• Logistics
• Industry
• Agriculture
• Health & Lifestyle
47
Haripriya V Asst.Professor, Dept. of CS & IT
IOT APPLICATIONS FOR SMART HOMES:
48
Haripriya V Asst.Professor, Dept. of CS & IT
CONTN..
49
Haripriya V Asst.Professor, Dept. of CS & IT
FOR CITIES:
a) Smart Parking: make the search for parking space easier and
convenient for drivers.
Smart parking are powered by IoT systems that detect the no. of empty
parking slots and send information over internet to smart application
backends.
b) Smart Lighting: for roads, parks and buildings can help in saving
energy.
c) Smart Roads: Equipped with sensors can provide information on
driving condition, travel time estimating and alert in case of poor driving
conditions, traffic condition and accidents.
d) Structural Health Monitoring: uses a network of sensors to monitor
the vibration levels in the structures such as bridges and buildings.
e) Surveillance: The video feeds from surveillance cameras can be
aggregated in cloud based scalable storage solution.
f) Emergency Response: IoT systems for fire detection, gas and water
leakage detection can help in generating alerts and minimizing their
effects on the critical infrastructures.
50
Haripriya V Asst.Professor, Dept. of CS & IT
SMART CITIES NEED SMART PARKING
51
Haripriya V Asst.Professor, Dept. of CS & IT
FOR ENVIRONMENT:
52
Haripriya V Asst.Professor, Dept. of CS & IT
CONTN..
53
Haripriya V Asst.Professor, Dept. of CS & IT
FOR ENERGY:
54
Haripriya V Asst.Professor, Dept. of CS & IT
CONTN..
55
Haripriya V Asst.Professor, Dept. of CS & IT
FOR RETAIL:
a) Inventory Management: IoT systems enable remote
monitoring of inventory using data collected by RFID readers.
Radio-frequency identification (RFID) uses electromagnetic
fields to automatically identify and track tags attached to
objects.
b) Smart Payments: Solutions such as contact-less payments
powered by technologies such as Near Field
Communication(NFC) and Bluetooth.
Near-Field-Communication is a set of communication
protocols for communication between two electronic devices
over a distance of 4 cm or less.
c) Smart Vending Machines: Sensors in a smart vending
machines monitors its operations and send the data to cloud
which can be used for predictive maintenance.
56
Haripriya V Asst.Professor, Dept. of CS & IT
FOR LOGISTICS:
a) Route generation & scheduling: IoT based system backed
by cloud can provide first response to the route generation
queries and can be scaled up to serve a large transportation
network.
b) Fleet Tracking: Use GPS to track locations of vehicles in
real-time.
c) Shipment Monitoring: IoT based shipment monitoring
systems use sensors such as temp, humidity, to monitor the
conditions and send data to cloud, where it can be analyzed
to detect food spoilage.
d) Remote Vehicle Diagnostics: Systems use on-board IoT
devices for collecting data on Vehicle operations(speed, RPM
etc.,) and status of various vehicle subsystems.
57
Haripriya V Asst.Professor, Dept. of CS & IT
FOR AGRICULTURE, INDUSTRY AND HEALTH
AND LIFE STYLE
Agriculture:
a) Smart Irrigation: to determine moisture amount in
soil.
b) Green House Control: to improve productivity.
Industry:
a) Machine diagnosis and prognosis
b) Indoor Air Quality Monitoring
Health and Life Style:
a) Health & Fitness Monitoring
b) Wearable Electronics
58
Haripriya V Asst.Professor, Dept. of CS & IT
#IOT AND M2M
M2M : Machine-to-Machine (M2M) refers to networking of
machines(or devices) for the purpose of remote monitoring and
control and data exchange.
(or) Machine -to-Machine (M2M) refers to the communication or
exchange of data between to two or more machines without human
interfacing or interaction.
The communication in M2M may be wired or wireless systems.
The M2M uses a device such as sensor, RFID, meter, etc. to capture
an ‘events’ like temperature, inventory level, etc., which is relayed
through a network i.e., wireless, wired or hybrid to an application
(software program), that translates the captured event into
meaningful information.
• Term which is often synonymous with IoT is Machine-to-Machine
(M2M).
• IoT and M2M are often used interchangeably.
59
Haripriya V Asst.Professor, Dept. of CS & IT
Fig. Shows the end-to-end architecture of M2M systems
comprises of M2M area networks, communication networks and
application domain.
60
Haripriya V Asst.Professor, Dept. of CS & IT
MACHINE-TO-MACHINE (M2M)
An M2M area network comprises of machines (or M2M nodes) which
have embedded hardware modules for sensing, actuation and
communication.
• Various communication protocols can be used for M2M local area
networks such as ZigBee, Bluetooth, M-Bus, Wireless M-Bus, Power Line
Communication (PLC), 6LoWPAN(IPv6 over Low -Power Wireless
Personal Area Networks) , IEEE 802.15.4, etc.
• The M-Bus is a fieldbus for recording consumption data from
electricity, heat, gas and water meters, as well as from sensors and
actuators.
• The communication network provides connectivity to remote M2M area
networks.
• The communication network can use either wired or wireless networks
(IP- based).
• While the M2M area networks use either proprietary or non-IP based
communication protocols, the communication network uses IP-based
networks.
61
Haripriya V Asst.Professor, Dept. of CS & IT
M2M SYSTEM ARCHITECTURE
62
Haripriya V Asst.Professor, Dept. of CS & IT
M2M AREA NETWORKS
• M2M network area consists of machines or M2M nodes which
communicate with each other. The M2M nodes embedded with
hardware modules such as sensors, actuators and
communication devices.
• M2M uses communication protocol such as ZigBee, Bluetooth,
Power line communication (PLC) etc. These communication
protocols provide connectivity between M2M nodes within
M2M area network.
• The M2M nodes communicate within one network can’t
communicate with external network node. To enable the
communication between remote M2M area networks, M2M
gateways are used.
63
Haripriya V Asst.Professor, Dept. of CS & IT
M2M GATEWAYS
64
Haripriya V Asst.Professor, Dept. of CS & IT
CONTN..
65
Haripriya V Asst.Professor, Dept. of CS & IT
COMMUNICATION NETWORKS
66
Haripriya V Asst.Professor, Dept. of CS & IT
DIFFERENCE BETWEEN IOT AND M2M
M2M and IoT both are used when electronic devices are
connected and share data with each other. There are some
differences between IoT and M2M based on technologies, system
architectures and types of applications.
M2M IoT
It is Machine to Machine communication and It’s Machine to Machine, Machine to
completely hardware based. sensors, or Humans to Machines. And
software based.
M2M is a point to point communication and Its uses IP networks and protocols as
uses non–IP protocols. the communication is multipoint.
These devices don’t rely on internet. Devices required internet connections.
Data can be stored locally Data can be stored locally and also in
cloud.
Limited integration option devices must have Unlimited integration option, but
corresponding communication standards requires a solutions that can manage
all the communication.
67
Haripriya V Asst.Professor, Dept. of CS & IT
#IOT SYSTEM MANAGEMENT WITH NETCONF-
YANG
68
Haripriya V Asst.Professor, Dept. of CS & IT
YANG(YET ANOTHER NEXT GENERATION)
• YANG is a data modeling language used to model
configuration and state data manipulated by the NETCONF
protocol
• YANG modules contain the definitions of the configuration
data, state data, RPC calls that can be issued and the format
of the notifications.
• YANG modules defines the data exchanged between the
NETCONF client and server.
69
Haripriya V Asst.Professor, Dept. of CS & IT
IOT SYSTEMS MANAGEMENT WITH NETCONF-YANG
The generic approach of IoT device management with NETCONF-YANG.
70
Haripriya V Asst.Professor, Dept. of CS & IT
ROLES OF VARIOUS COMPONENTS ARE:
1) Management System
2) Management API
3) Transaction Manager
4) Rollback Manager
5) Data Model Manager
6) Configuration Validator
7) Configuration Database
8) Configuration API
9) Data Provider API
71
Haripriya V Asst.Professor, Dept. of CS & IT
1) Management System : The operator uses a management
system to send NETCONF messages to configure the IoT device
and receives state information and notifications from the device as
NETCONF messages.
2) Management API : allows management application to start
NETCONF sessions.
3) Transaction Manager: executes all the NETCONF transactions
and ensures that ACID properties hold true for the transactions.
4) Rollback Manager : is responsible for generating all the
transactions necessary to rollback a current configuration to its
original state.
5) Data Model Manager : Keeps track of all the YANG data models
and the corresponding managed objects. Also keeps track of the
applications which provide data for each part of a data model.
72
Haripriya V Asst.Professor, Dept. of CS & IT
CONTN…
73
Haripriya V Asst.Professor, Dept. of CS & IT
#IOT PLATFORMS DESIGN METHODOLOGY
• Purpose & Requirements Specification
• Process Specification
• Domain Model Specification
• Information Model Specification
• Service Specifications
• IoT Level Specification
• Functional View Specification
• Operational View Specification
• Device & Component Integration
• Application Development
74
Haripriya V Asst.Professor, Dept. of CS & IT
IOT DESIGN METHODOLOGY - STEPS
75
Haripriya V Asst.Professor, Dept. of CS & IT
STEP 1: PURPOSE & REQUIREMENTS SPECIFICATION
76
Haripriya V Asst.Professor, Dept. of CS & IT
Step 3: Domain Model Specification
The third step in the IoT design methodology is to define the
Domain Model.
The domain model describes the main concepts, entities and
objects in the domain of IoT system to be designed.
Domain model defines the attributes of the objects and
relationships between objects.
Domain model provides an abstract representation of the
concepts, objects and entities in the IoT domain,
independent of any specific technology or platform.
With the domain model, the IoT system designers can get an
understanding of the IoT domain for which the system is to
be designed
77
Haripriya V Asst.Professor, Dept. of CS & IT
Step 4: Information Model Specification
The fourth step in the IoT design methodology is to define
the Information Model.
Information Model defines the structure of all the information
in the IoT system, for example, attributes of Virtual Entities,
relations, etc.
Information model does not describe the specifics of how the
information is represented or stored.
To define the information model, we first list the Virtual
Entities defined in the Domain Model.
Information model adds more details to the Virtual Entities
by defining their attributes and relations.
78
Haripriya V Asst.Professor, Dept. of CS & IT
Step 5: Service Specifications
The fifth step in the IoT design methodology is to define the
service specifications.
Service specifications define the services in the IoT system,
service types, service inputs/output, service endpoints, service
schedules, service preconditions and service effects.
Step 6: IoT Level Specification
The sixth step in the IoT design methodology is to define the IoT
level for the system.
Step 7: Functional View Specification
The seventh step in the IoT design methodology is to define the
Functional View.
The Functional View (FV) defines the functions of the IoT systems
grouped into various Functional Groups (FGs).
Each Functional Group either provides functionalities for
interacting with instances of concepts defined in the Domain
Model or provides information related to these concepts.
79
Haripriya V Asst.Professor, Dept. of CS & IT
Step 8: Operational View Specification
The eighth step in the IoT design methodology is to define
the Operational View Specifications.
In this step, various options pertaining to the IoT system
deployment and operation are defined, such as, service
hosting options, storage options, device options, application
hosting options, etc.
Step 9: Device & Component Integration
• The ninth step in the IoT design methodology is the
integration of the devices and components.
Step 10: Application Development
• The final step in the IoT design methodology is to develop
the IoT application.
80
Haripriya V Asst.Professor, Dept. of CS & IT
CASE STUDY
81
Haripriya V Asst.Professor, Dept. of CS & IT