SlideShare a Scribd company logo
Book website: http://www.internet-of-things- Bahga & Madisetti, ©
Chapter 1
Introduction to IoT
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
Outline
• IoT definition
• Characteristics of IoT
• Physical Design of IoT
• Logical Design of IoT
• IoT Protocols
• IoT Levels & Deployment Templates
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
Definition of IoT
A dynamic global network infrastructure with self-configuring
capabilities based on standard and interoperable communication
protocols where physical and virtual "things" have identities, physical
attributes, and virtual personalities and use intelligent interfaces, and
are seamlessly integrated into the information network, often
communicate data associated with users and their environments.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
Characteristics of IoT
• Dynamic & Self-Adapting
• Self-Configuring
• Interoperable Communication Protocols
• Unique Identity
• Integrated into Information Network
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
Physical Design of IoT
• The "Things" in IoT usually refers to IoT devices which have unique
identities and can perform remote sensing, actuating and monitoring
capabilities.
• IoT devices can:
• Exchange data with other connected devices and applications (directly or
indirectly), or
• Collect data from other devices and process the data locally or
• Send the data to centralized servers or cloud-based application back-ends for
processing the data, or
• Perform some tasks locally and other tasks within the IoT infrastructure,
based on temporal and space constraints
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
Generic block diagram of an IoT Device
• 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.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
IoT Protocols
• Link Layer
• 802.3 – Ethernet
• 802.11 – WiFi
• 802.16 – WiMax
• 802.15.4 – LR-WPAN
• 2G/3G/4G
• Network/Internet Layer
• IPv4
• IPv6
• 6LoWPAN
• Transport Layer
• TCP
• UDP
• Application Layer
• HTTP
• CoAP
• WebSocket
• MQTT
• XMPP
• DDS
• AMQP
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
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 of a
number of functional blocks
that provide the system the
capabilities for identification,
sensing, actuation,
communication, and
management.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
Request-Response communication model
• Request-Response is a
communication model in which
the client sends requests to the
server and the server responds
to the requests.
• When the server receives a
request, it decides how to
respond, fetches the data,
retrieves resource
representations, prepares the
response, and then sends the
response to the client.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
Publish-Subscribe communication model
• Publish-Subscribe is a
communication model that
involves publishers, brokers
and consumers.
• Publishers are the source of
data. Publishers send the data to
the topics which are managed by
the broker. Publishers are not
aware of the consumers.
• Consumers subscribe to the
topics which are managed by the
broker.
• When the broker receives data
for a topic from the publisher, it
sends the data to all the
subscribed consumers.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
Push-Pull communication model
• Push-Pull is a communication
model in which the data
producers push the data to
queues and the consumers
pull the data from the queues.
Producers do not need to be
aware of the consumers.
• Queues help in decoupling the
messaging between the
producers and consumers.
• Queues also act as a buffer which
helps in situations when there is
a mismatch between the rate at
which the producers push data
and the rate rate at which the
consumers pull data.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
Exclusive Pair communication model
• Exclusive Pair is a
bidirectional, fully duplex
communication model that
uses a persistent connection
between the client and
server.
• Once the connection is setup
it remains open until the
client sends a request to
close the connection.
• Client and server can send
messages to each other after
connection setup.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
REST-based Communication APIs
• Representational State Transfer
(REST) is a set of architectural
principles by which you can
design web services and web APIs
that focus on a system’s resources
and how resource states are
addressed and transferred.
• REST APIs follow the request-
response communication model.
• The REST architectural
constraints apply to the
components, connectors, and
data elements, within a
distributed hypermedia system.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
WebSocket-based Communication APIs
• WebSocket APIs allow bi-
directional, full duplex
communication between
clients and servers.
• WebSocket APIs follow the
exclusive pair
communication model
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
Exclusive Pair communication model
• Exclusive Pair is a
bidirectional, fully duplex
communication model that
uses a persistent connection
between the client and
server.
• Once the connection is setup
it remains open until the
client sends a request to
close the connection.
• Client and server can send
messages to each other after
connection setup.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
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. You learned about various examples of
IoT devices in section
• 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.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
IoT Levels & Deployment Templates
• 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.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
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 modeling low-
cost and low-complexity
solutions where the data
involved is not big and
the analysis requirements
are not computationally
intensive.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
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
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 itself.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
IoT Level-3
• A level-3 IoT system has a
single node. Data is stored
and analyzed in the cloud
and 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.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
IoT Level-4
• A level-4 IoT system has multiple
nodes that perform local
analysis. Data is stored in the
cloud and application is cloud-
based.
• Level-4 contains local and cloud-
based observer nodes which can
subscribe to and receive
information collected in the
cloud from IoT devices.
• Level-4 IoT systems are suitable
for solutions where multiple
nodes are required, the data
involved is big and the analysis
requirements are computationally
intensive.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
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.
Bahga & Madisetti, ©
Book website: http://www.internet-of-things-
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 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.

More Related Content

PDF
IoT material revised edition
PDF
IoT - Unit 1 Chapter 1 (Introduction to Embedded Systems) - PPT.pdf
PDF
Chapter-1_embedded syustem iot.pdf
PDF
Chapter-1.pdf
PDF
unit 3.pdf
PPTX
unit1-iot introduction,logical design ,physical design
PDF
Chapter 1 updated.pdf
PPTX
IoT heap 1
IoT material revised edition
IoT - Unit 1 Chapter 1 (Introduction to Embedded Systems) - PPT.pdf
Chapter-1_embedded syustem iot.pdf
Chapter-1.pdf
unit 3.pdf
unit1-iot introduction,logical design ,physical design
Chapter 1 updated.pdf
IoT heap 1

Similar to U 1 Physical and logical.RGPV internet of things notes (20)

PPTX
Chapter-1 - Internet of Things: A Hands-on Approach
PPTX
Chapter - 1.pptx
PPTX
Iot unit i present by JAVVAJI VENKATRAO SVEC,TIRUPATI
PPTX
Iot unit i
PPTX
IoT.pptx
PPTX
Introduction to Internet of things Introduction to Internet of things
PPTX
1427264023243345TGFGBBGHGJKU6Y767GGGBGGH
PPTX
chapter-1_iot.pptx
PPT
IOT UNIT 1B.ppt
PDF
intro to iot.pdf
PPTX
Introduction to Internet of thingsT-Unit-1.pptx
PPTX
ppt-3-iotlogicdesign-210125034351.pptx
PPTX
IT18503 Internet of Things unit-1 introduction.pptx
PPTX
Ppt 3 - IOT logic design
PPTX
Chapter-1.pptx
PDF
iot unit1.pdf
PDF
Design patternsforiot
PPTX
INTERNET OF THINGS.pptx
PPTX
Introduction to IoT.pptx for btech students
PPTX
Logical Design Architecture in Internet of Things
Chapter-1 - Internet of Things: A Hands-on Approach
Chapter - 1.pptx
Iot unit i present by JAVVAJI VENKATRAO SVEC,TIRUPATI
Iot unit i
IoT.pptx
Introduction to Internet of things Introduction to Internet of things
1427264023243345TGFGBBGHGJKU6Y767GGGBGGH
chapter-1_iot.pptx
IOT UNIT 1B.ppt
intro to iot.pdf
Introduction to Internet of thingsT-Unit-1.pptx
ppt-3-iotlogicdesign-210125034351.pptx
IT18503 Internet of Things unit-1 introduction.pptx
Ppt 3 - IOT logic design
Chapter-1.pptx
iot unit1.pdf
Design patternsforiot
INTERNET OF THINGS.pptx
Introduction to IoT.pptx for btech students
Logical Design Architecture in Internet of Things
Ad

Recently uploaded (20)

PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Current and future trends in Computer Vision.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Construction Project Organization Group 2.pptx
PPTX
Artificial Intelligence
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
737-MAX_SRG.pdf student reference guides
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
UNIT 4 Total Quality Management .pptx
Internet of Things (IOT) - A guide to understanding
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Sustainable Sites - Green Building Construction
Fundamentals of safety and accident prevention -final (1).pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Current and future trends in Computer Vision.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Construction Project Organization Group 2.pptx
Artificial Intelligence
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Model Code of Practice - Construction Work - 21102022 .pdf
CYBER-CRIMES AND SECURITY A guide to understanding
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
737-MAX_SRG.pdf student reference guides
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
UNIT 4 Total Quality Management .pptx
Ad

U 1 Physical and logical.RGPV internet of things notes

  • 1. Book website: http://www.internet-of-things- Bahga & Madisetti, © Chapter 1 Introduction to IoT
  • 2. Bahga & Madisetti, © Book website: http://www.internet-of-things- Outline • IoT definition • Characteristics of IoT • Physical Design of IoT • Logical Design of IoT • IoT Protocols • IoT Levels & Deployment Templates
  • 3. Bahga & Madisetti, © Book website: http://www.internet-of-things- Definition of IoT A dynamic global network infrastructure with self-configuring capabilities based on standard and interoperable communication protocols where physical and virtual "things" have identities, physical attributes, and virtual personalities and use intelligent interfaces, and are seamlessly integrated into the information network, often communicate data associated with users and their environments.
  • 4. Bahga & Madisetti, © Book website: http://www.internet-of-things- Characteristics of IoT • Dynamic & Self-Adapting • Self-Configuring • Interoperable Communication Protocols • Unique Identity • Integrated into Information Network
  • 5. Bahga & Madisetti, © Book website: http://www.internet-of-things- Physical Design of IoT • The "Things" in IoT usually refers to IoT devices which have unique identities and can perform remote sensing, actuating and monitoring capabilities. • IoT devices can: • Exchange data with other connected devices and applications (directly or indirectly), or • Collect data from other devices and process the data locally or • Send the data to centralized servers or cloud-based application back-ends for processing the data, or • Perform some tasks locally and other tasks within the IoT infrastructure, based on temporal and space constraints
  • 6. Bahga & Madisetti, © Book website: http://www.internet-of-things- Generic block diagram of an IoT Device • 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.
  • 7. Bahga & Madisetti, © Book website: http://www.internet-of-things- IoT Protocols • Link Layer • 802.3 – Ethernet • 802.11 – WiFi • 802.16 – WiMax • 802.15.4 – LR-WPAN • 2G/3G/4G • Network/Internet Layer • IPv4 • IPv6 • 6LoWPAN • Transport Layer • TCP • UDP • Application Layer • HTTP • CoAP • WebSocket • MQTT • XMPP • DDS • AMQP
  • 8. Bahga & Madisetti, © Book website: http://www.internet-of-things- 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 of a number of functional blocks that provide the system the capabilities for identification, sensing, actuation, communication, and management.
  • 9. Bahga & Madisetti, © Book website: http://www.internet-of-things- Request-Response communication model • Request-Response is a communication model in which the client sends requests to the server and the server responds to the requests. • When the server receives a request, it decides how to respond, fetches the data, retrieves resource representations, prepares the response, and then sends the response to the client.
  • 10. Bahga & Madisetti, © Book website: http://www.internet-of-things- Publish-Subscribe communication model • Publish-Subscribe is a communication model that involves publishers, brokers and consumers. • Publishers are the source of data. Publishers send the data to the topics which are managed by the broker. Publishers are not aware of the consumers. • Consumers subscribe to the topics which are managed by the broker. • When the broker receives data for a topic from the publisher, it sends the data to all the subscribed consumers.
  • 11. Bahga & Madisetti, © Book website: http://www.internet-of-things- Push-Pull communication model • Push-Pull is a communication model in which the data producers push the data to queues and the consumers pull the data from the queues. Producers do not need to be aware of the consumers. • Queues help in decoupling the messaging between the producers and consumers. • Queues also act as a buffer which helps in situations when there is a mismatch between the rate at which the producers push data and the rate rate at which the consumers pull data.
  • 12. Bahga & Madisetti, © Book website: http://www.internet-of-things- Exclusive Pair communication model • Exclusive Pair is a bidirectional, fully duplex communication model that uses a persistent connection between the client and server. • Once the connection is setup it remains open until the client sends a request to close the connection. • Client and server can send messages to each other after connection setup.
  • 13. Bahga & Madisetti, © Book website: http://www.internet-of-things- REST-based Communication APIs • Representational State Transfer (REST) is a set of architectural principles by which you can design web services and web APIs that focus on a system’s resources and how resource states are addressed and transferred. • REST APIs follow the request- response communication model. • The REST architectural constraints apply to the components, connectors, and data elements, within a distributed hypermedia system.
  • 14. Bahga & Madisetti, © Book website: http://www.internet-of-things- WebSocket-based Communication APIs • WebSocket APIs allow bi- directional, full duplex communication between clients and servers. • WebSocket APIs follow the exclusive pair communication model
  • 15. Bahga & Madisetti, © Book website: http://www.internet-of-things- Exclusive Pair communication model • Exclusive Pair is a bidirectional, fully duplex communication model that uses a persistent connection between the client and server. • Once the connection is setup it remains open until the client sends a request to close the connection. • Client and server can send messages to each other after connection setup.
  • 16. Bahga & Madisetti, © Book website: http://www.internet-of-things- 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. You learned about various examples of IoT devices in section • 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.
  • 17. Bahga & Madisetti, © Book website: http://www.internet-of-things- IoT Levels & Deployment Templates • 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.
  • 18. Bahga & Madisetti, © Book website: http://www.internet-of-things- 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 modeling low- cost and low-complexity solutions where the data involved is not big and the analysis requirements are not computationally intensive.
  • 19. Bahga & Madisetti, © Book website: http://www.internet-of-things- 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 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 itself.
  • 20. Bahga & Madisetti, © Book website: http://www.internet-of-things- IoT Level-3 • A level-3 IoT system has a single node. Data is stored and analyzed in the cloud and 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.
  • 21. Bahga & Madisetti, © Book website: http://www.internet-of-things- IoT Level-4 • A level-4 IoT system has multiple nodes that perform local analysis. Data is stored in the cloud and application is cloud- based. • Level-4 contains local and cloud- based observer nodes which can subscribe to and receive information collected in the cloud from IoT devices. • Level-4 IoT systems are suitable for solutions where multiple nodes are required, the data involved is big and the analysis requirements are computationally intensive.
  • 22. Bahga & Madisetti, © Book website: http://www.internet-of-things- 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.
  • 23. Bahga & Madisetti, © Book website: http://www.internet-of-things- 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 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.