SlideShare a Scribd company logo
Vivek .P
S7 CSE
Roll No :68
Plug and Play

Plug and Play (PnP) means that you can connect a device or insert a card
into your computer and it is automatically recognized and configured to work
in your system
Universal Plug and Play (UPnP)

Universal Plug and Play (UPnP) extends this simplicity to include the entire network,
enabling discovery and control of devices, including networked devices and services,
such as network-attached printers, Internet gateways.
1. Universal Plug and Play (UPnP) is a set of networking protocols that permits
networked devices, such as personal computers, printers, Internet gateways, Wi-Fi
access points and mobile devices to seamlessly discover each other's presence on
the network and establish functional network services for data sharing,
communications, and entertainment.
With UPnP
 A device can dynamically join a network, obtain an IP address.
 Convey its capabilities, and learn about the presence and capabilities
of other devices.
 All automatically; truly enabling zero configuration networks.
Who Defines UPnP?
The Universal Plug and Play Forum defines UPnP Device and Service Descriptions
(originally called Device Control Protocols or DCPs)

The Universal Plug and Play Forum is a group of companies and individuals across the
industry that intend to play a leading role in the authoring of specifications for UPnP
devices and services.
Components of a UPnP Network
Devices, Services and Control Points

The basic building blocks of a UPnP network are devices, services and control
points
Devices
 A UPnP device is a container of services and nested devices.
 Different categories of UPnP devices will be associated with different
sets of services and embedded devices
 Consequently, different working groups will standardize on the set of
services that a particular device type will provide
 All of this information is captured in
an XML device description document
that the device must host
Services
 The smallest unit of control in a UPnP network is a service. A service exposes
actions and models its state with state variables.
 Similar to the device description, this information is part of an XML service
description standardized by the UPnP forum.
 A service in a UPnP device consists of a state table, a control server and an
event server.
o The state table models the state of the service through state
variables and updates them when the state changes
o The control server receives action requests (such as set_time),
executes them, updates the state table and returns responses.
o The event server publishes events to interested subscribers
anytime the state of the service changes.
Control Points
A control point in a UPnP network is a controller capable of discovering and controlling
other devices. After discovery, a control point could:
Retrieve the device description and get a list of associated services.
Retrieve service descriptions for interesting services.
Invoke actions to control the service.
Subscribe to the service’s event source. Anytime the state of the service changes, the
event server will send an event to the control point.
Protocols Used by UPnP
UPnP leverages many existing, standard protocols.
Using these standardized protocols aids in ensuring interoperability between vendor
implementations
The protocols used to implement UPnP are found in use on the Internet and on local
area networks everywhere.
This prevalence ensures that there is a large pool of people knowledgeable in
implementing and deploying solutions based on these protocols.
Upnp
TCP/IP
The TCP/IP networking protocol stack serves as the base on which the rest of the
UPnP protocols are built.
 UPnP devices can use many of the protocols in the TCP/IP stack including TCP,
UDP, IGMP, ARP and IP as well as TCP/IP services such as DHCP and DNS.
 Since TCP/IP is one of the most ubiquitous networking protocols, locating or
creating an implementation for a UPnP device that is tuned for footprint and/or
performance is relatively easy.
HTTP, HTTPU, HTTPMU
 HTTP, which is hugely responsible for the success of the Internet, is also a core
part of UPnP.
 All aspects of UPnP build on top of HTTP or its variants.
 HTTPU (and HTTPMU) are variants of HTTP defined to deliver messages on top
of UDP/IP instead of TCP/IP.

GENA
Generic Event Notification Architecture (GENA) was defined to provide the ability to
send and receive notifications using HTTP over TCP/IP and multicast UDP.
SSDP
 Simple Service Discovery Protocol (SSDP), as the name implies, defines how
network services can be discovered on the network.
 SSDP is built on HTTPU and HTTPMU and defines methods both for a control
point to locate resources of interest on the network, and for devices to
announce their availability on the network.
 By defining the use of both search requests and presence announcements,
SSDP eliminates the overhead that would be necessary if only one of these
mechanisms is used
 As a result, every control point on the network has complete information on
network state while keeping network traffic low.
 A UPnP control point, upon booting up, can send an SSDP search request (over
HTTPMU), to discover devices and services that are available on the network.
SOAP
Simple Object Access Protocol (SOAP) defines the use of Extensible Markup
Language (XML) and HTTP to execute remote procedure calls.
 It is becoming the standard for RPC based communication over the Internet.
By making use of the Internet’s existing infrastructure, it can work effectively with
firewalls and proxies.
 Each UPnP control request is a SOAP message that contains the action to invoke
along with a set of parameters.
Steps Involved in UPnP Networking
Addressing

 The foundation for UPnP networking is the TCP/IP protocol suite and the key to
this suite is addressing.
 Each device must have a Dynamic Host Configuration Protocol (DHCP) client
and search for a DHCP server when the device is first connected to the
network.
 If a DHCP server is available, the device must use the IP address assigned
to it.
 A device may implement higher layer protocols outside of UPnP that use friendly
names for devices
 In these cases, it becomes necessary to resolve friendly host (device) names
to IP address
 Domain Name Services (DNS) are usually used for this.
Discovery

 Once devices are attached to the network and addressed appropriately,
discovery can take place.
 When a device is added to the network, SSDP allows that device to
advertise its services to control points on the network.
 When a control point is added to the network, SSDP allows that control
point to search for devices of interest on the network.
 The fundamental exchange in both cases is a discovery message
containing a few, essential specifics about the device or one of its services,
for example its type, identifier, and a pointer to its XML device description
document.
Description

 After a control point has discovered a device, the control point still knows
very little about the device.
 For the control point to learn more about the device and its capabilities, or to
interact with the device, the control point must retrieve the device's
description from the URL provided by the device in the discovery message.
 The UPnP description for a device is expressed in XML and includes vendorspecific, manufacturer information including the
 model name and number,
 serial number,
 manufacturer name,
 URLs to vendor-specific Web sites,
Control

 To control a device, a control point sends an action request to a device's
service.
 To do this, a control point sends a suitable control message to the control
URL for the service (provided in the device description).
 Control messages are also expressed in XML using SOAP.

 In response to the control message, the service returns action specific
values or fault codes
Eventing

 A UPnP description for a service includes a list of actions the service
responds to and a list of variables that model the state of the service at
run time.
 The service publishes updates when these variables change, and a control
point may subscribe to receive this information.
 Event messages contain the names of one of more state variables and the
current value of those variables.
 These messages are also expressed in XML and formatted using GENA.
Presentation

If a device has a URL for presentation, then the control point can retrieve
a page from this URL, load the page into a browser, and depending on
the capabilities of the page, allow a user to control the device and/or
view device status.
Future scope
The scope of UPnP is large enough to encompass many existing, as well as
new and exciting scenarios including home automation, printing and
imaging, audio/video entertainment, kitchen appliances, automobile
networks, and proximity networks in public venues.
 Universal Plug and Play (UPnP) is a set of networking protocols that permits
networked devices
 Universal Plug and Play is an open initiative to take existing standards, existing
technologies and existing knowledge, re-purpose it, and deliver on the promise
and opportunity of the networked world.
 Standards-based, simple enough for the smallest appliances to implement,
powerful enough to scale to the global Internet, and based on the proven
approach of Internet protocols.
 Universal Plug and Play is an incremental approach, but an approach that has
been proven to work.
Upnp
Upnp

More Related Content

PPTX
Automatic Railway Gate Control System with Arduino
PPT
Optical network architecture
PPTX
Vehicle Tracking and Locking System
PPTX
Wireless Mesh Network
PPT
wireless electronics notice board using GSM
PDF
Iot based digital notice board with arduino
PPTX
LTE ADVANCED PPT
PDF
Vehicle Theft control system
Automatic Railway Gate Control System with Arduino
Optical network architecture
Vehicle Tracking and Locking System
Wireless Mesh Network
wireless electronics notice board using GSM
Iot based digital notice board with arduino
LTE ADVANCED PPT
Vehicle Theft control system

What's hot (20)

PPTX
Interfacing bluetooth with arduino
PPTX
Smart IoT Device for Vehicle Theft
PPTX
EC8791 UML-model train controller
PPTX
Smart surveillance monitoring system using raspberry pi and
PPTX
Vehicle tracking and locking system based on GSM and GPS
PPTX
Smart dustbin using arduino and ultrasonic sensor
PPT
Real Time Operating system (RTOS) - Embedded systems
PDF
L8 understanding-atmega328 p-1
PPTX
Case study of Adaptive Cruise Control
PDF
Case Study of Embedded Systems
PPTX
Arduino bt mobile robot r2.0
PPTX
Advanced Wireless Technologies
DOCX
Wireless Electronic Notice Board
PPTX
Embedded system seminar
PDF
Embedded System Case Study
PPTX
PDF
Project report on wireless based traffic control for emergency vehicle
PPTX
IoT BASED SMART HOME USING ARDUINO
PPTX
DSR Protocol
PPT
Inter vehicle communication
Interfacing bluetooth with arduino
Smart IoT Device for Vehicle Theft
EC8791 UML-model train controller
Smart surveillance monitoring system using raspberry pi and
Vehicle tracking and locking system based on GSM and GPS
Smart dustbin using arduino and ultrasonic sensor
Real Time Operating system (RTOS) - Embedded systems
L8 understanding-atmega328 p-1
Case study of Adaptive Cruise Control
Case Study of Embedded Systems
Arduino bt mobile robot r2.0
Advanced Wireless Technologies
Wireless Electronic Notice Board
Embedded system seminar
Embedded System Case Study
Project report on wireless based traffic control for emergency vehicle
IoT BASED SMART HOME USING ARDUINO
DSR Protocol
Inter vehicle communication
Ad

Similar to Upnp (20)

PDF
UpnP in Digital Home Networking
PDF
UPnP Forum Overview - H Elenbaas
PDF
Extending UPnP for Application Interoperability in a Home Network
PDF
X-Device Service Discovery
PDF
From Home Enabled Personal Media To Instant Personal Media Sharing
PPT
Let's Talk About SOAP, Baby. Let's Talk About UPnP.
PDF
DEF CON 23 - Rickey Lawshae - lets talk about soap
PPTX
JavaScript powering the dream of the connected home
PPTX
PlatCon-19 ICMPv6SD
PDF
A survey of service Discovery Architecture of MANET with AODV-SD
PPTX
PPTX
Internet Internet Protocols.pptx( technology)
PPTX
10. tcp ip and do d model
PDF
Data Networking Concepts
PDF
Internet of things protocols for resource constrained applications
PDF
U Plug, We Play - NED Summit. Cork, Ireland
PDF
UPnP and DLNA in the home network v2
PPTX
Module-1_Introduction to Data Communications.pptx
PDF
Protocol and Integration Challenges for SDN
PPTX
Transport layer
UpnP in Digital Home Networking
UPnP Forum Overview - H Elenbaas
Extending UPnP for Application Interoperability in a Home Network
X-Device Service Discovery
From Home Enabled Personal Media To Instant Personal Media Sharing
Let's Talk About SOAP, Baby. Let's Talk About UPnP.
DEF CON 23 - Rickey Lawshae - lets talk about soap
JavaScript powering the dream of the connected home
PlatCon-19 ICMPv6SD
A survey of service Discovery Architecture of MANET with AODV-SD
Internet Internet Protocols.pptx( technology)
10. tcp ip and do d model
Data Networking Concepts
Internet of things protocols for resource constrained applications
U Plug, We Play - NED Summit. Cork, Ireland
UPnP and DLNA in the home network v2
Module-1_Introduction to Data Communications.pptx
Protocol and Integration Challenges for SDN
Transport layer
Ad

Recently uploaded (20)

PDF
Empowerment Technology for Senior High School Guide
PPTX
Computer Architecture Input Output Memory.pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PPTX
20th Century Theater, Methods, History.pptx
PDF
My India Quiz Book_20210205121199924.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Empowerment Technology for Senior High School Guide
Computer Architecture Input Output Memory.pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx
History, Philosophy and sociology of education (1).pptx
AI-driven educational solutions for real-life interventions in the Philippine...
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
20th Century Theater, Methods, History.pptx
My India Quiz Book_20210205121199924.pdf
Chinmaya Tiranga quiz Grand Finale.pdf
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Unit 4 Computer Architecture Multicore Processor.pptx
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf

Upnp

  • 2. Plug and Play Plug and Play (PnP) means that you can connect a device or insert a card into your computer and it is automatically recognized and configured to work in your system
  • 3. Universal Plug and Play (UPnP) Universal Plug and Play (UPnP) extends this simplicity to include the entire network, enabling discovery and control of devices, including networked devices and services, such as network-attached printers, Internet gateways.
  • 4. 1. Universal Plug and Play (UPnP) is a set of networking protocols that permits networked devices, such as personal computers, printers, Internet gateways, Wi-Fi access points and mobile devices to seamlessly discover each other's presence on the network and establish functional network services for data sharing, communications, and entertainment. With UPnP  A device can dynamically join a network, obtain an IP address.  Convey its capabilities, and learn about the presence and capabilities of other devices.  All automatically; truly enabling zero configuration networks.
  • 6. The Universal Plug and Play Forum defines UPnP Device and Service Descriptions (originally called Device Control Protocols or DCPs) The Universal Plug and Play Forum is a group of companies and individuals across the industry that intend to play a leading role in the authoring of specifications for UPnP devices and services.
  • 7. Components of a UPnP Network
  • 8. Devices, Services and Control Points The basic building blocks of a UPnP network are devices, services and control points
  • 9. Devices  A UPnP device is a container of services and nested devices.  Different categories of UPnP devices will be associated with different sets of services and embedded devices  Consequently, different working groups will standardize on the set of services that a particular device type will provide  All of this information is captured in an XML device description document that the device must host
  • 10. Services  The smallest unit of control in a UPnP network is a service. A service exposes actions and models its state with state variables.  Similar to the device description, this information is part of an XML service description standardized by the UPnP forum.  A service in a UPnP device consists of a state table, a control server and an event server. o The state table models the state of the service through state variables and updates them when the state changes o The control server receives action requests (such as set_time), executes them, updates the state table and returns responses. o The event server publishes events to interested subscribers anytime the state of the service changes.
  • 11. Control Points A control point in a UPnP network is a controller capable of discovering and controlling other devices. After discovery, a control point could: Retrieve the device description and get a list of associated services. Retrieve service descriptions for interesting services. Invoke actions to control the service. Subscribe to the service’s event source. Anytime the state of the service changes, the event server will send an event to the control point.
  • 13. UPnP leverages many existing, standard protocols. Using these standardized protocols aids in ensuring interoperability between vendor implementations The protocols used to implement UPnP are found in use on the Internet and on local area networks everywhere. This prevalence ensures that there is a large pool of people knowledgeable in implementing and deploying solutions based on these protocols.
  • 15. TCP/IP The TCP/IP networking protocol stack serves as the base on which the rest of the UPnP protocols are built.  UPnP devices can use many of the protocols in the TCP/IP stack including TCP, UDP, IGMP, ARP and IP as well as TCP/IP services such as DHCP and DNS.  Since TCP/IP is one of the most ubiquitous networking protocols, locating or creating an implementation for a UPnP device that is tuned for footprint and/or performance is relatively easy.
  • 16. HTTP, HTTPU, HTTPMU  HTTP, which is hugely responsible for the success of the Internet, is also a core part of UPnP.  All aspects of UPnP build on top of HTTP or its variants.  HTTPU (and HTTPMU) are variants of HTTP defined to deliver messages on top of UDP/IP instead of TCP/IP. GENA Generic Event Notification Architecture (GENA) was defined to provide the ability to send and receive notifications using HTTP over TCP/IP and multicast UDP.
  • 17. SSDP  Simple Service Discovery Protocol (SSDP), as the name implies, defines how network services can be discovered on the network.  SSDP is built on HTTPU and HTTPMU and defines methods both for a control point to locate resources of interest on the network, and for devices to announce their availability on the network.  By defining the use of both search requests and presence announcements, SSDP eliminates the overhead that would be necessary if only one of these mechanisms is used  As a result, every control point on the network has complete information on network state while keeping network traffic low.  A UPnP control point, upon booting up, can send an SSDP search request (over HTTPMU), to discover devices and services that are available on the network.
  • 18. SOAP Simple Object Access Protocol (SOAP) defines the use of Extensible Markup Language (XML) and HTTP to execute remote procedure calls.  It is becoming the standard for RPC based communication over the Internet. By making use of the Internet’s existing infrastructure, it can work effectively with firewalls and proxies.  Each UPnP control request is a SOAP message that contains the action to invoke along with a set of parameters.
  • 19. Steps Involved in UPnP Networking
  • 20. Addressing  The foundation for UPnP networking is the TCP/IP protocol suite and the key to this suite is addressing.  Each device must have a Dynamic Host Configuration Protocol (DHCP) client and search for a DHCP server when the device is first connected to the network.  If a DHCP server is available, the device must use the IP address assigned to it.  A device may implement higher layer protocols outside of UPnP that use friendly names for devices  In these cases, it becomes necessary to resolve friendly host (device) names to IP address  Domain Name Services (DNS) are usually used for this.
  • 21. Discovery  Once devices are attached to the network and addressed appropriately, discovery can take place.  When a device is added to the network, SSDP allows that device to advertise its services to control points on the network.  When a control point is added to the network, SSDP allows that control point to search for devices of interest on the network.  The fundamental exchange in both cases is a discovery message containing a few, essential specifics about the device or one of its services, for example its type, identifier, and a pointer to its XML device description document.
  • 22. Description  After a control point has discovered a device, the control point still knows very little about the device.  For the control point to learn more about the device and its capabilities, or to interact with the device, the control point must retrieve the device's description from the URL provided by the device in the discovery message.  The UPnP description for a device is expressed in XML and includes vendorspecific, manufacturer information including the  model name and number,  serial number,  manufacturer name,  URLs to vendor-specific Web sites,
  • 23. Control  To control a device, a control point sends an action request to a device's service.  To do this, a control point sends a suitable control message to the control URL for the service (provided in the device description).  Control messages are also expressed in XML using SOAP.  In response to the control message, the service returns action specific values or fault codes
  • 24. Eventing  A UPnP description for a service includes a list of actions the service responds to and a list of variables that model the state of the service at run time.  The service publishes updates when these variables change, and a control point may subscribe to receive this information.  Event messages contain the names of one of more state variables and the current value of those variables.  These messages are also expressed in XML and formatted using GENA.
  • 25. Presentation If a device has a URL for presentation, then the control point can retrieve a page from this URL, load the page into a browser, and depending on the capabilities of the page, allow a user to control the device and/or view device status.
  • 27. The scope of UPnP is large enough to encompass many existing, as well as new and exciting scenarios including home automation, printing and imaging, audio/video entertainment, kitchen appliances, automobile networks, and proximity networks in public venues.
  • 28.  Universal Plug and Play (UPnP) is a set of networking protocols that permits networked devices  Universal Plug and Play is an open initiative to take existing standards, existing technologies and existing knowledge, re-purpose it, and deliver on the promise and opportunity of the networked world.  Standards-based, simple enough for the smallest appliances to implement, powerful enough to scale to the global Internet, and based on the proven approach of Internet protocols.  Universal Plug and Play is an incremental approach, but an approach that has been proven to work.