Documente Academic
Documente Profesional
Documente Cultură
Overview
2 Protocol
The UPnP architecture allows device-to-device networking of consumer electronics, mobile devices, personal
computers, and networked home appliances. It is a distributed, open architecture protocol based on established
standards such as the Internet Protocol Suite (TCP/IP),
HTTP, XML, and SOAP. UPnP control points (CPs) are
devices which use UPnP protocols to control UPnP controlled devices (CDs).[1]
The UPnP architecture supports zero conguration networking. A UPnP compatible device from any vendor
can dynamically join a network, obtain an IP address,
announce its name, advertise or convey its capabilities
upon request, and learn about the presence and capabilities of other devices. Dynamic Host Conguration Protocol (DHCP) and Domain Name System (DNS) servers
are optional and are only used if they are available on the
network. Devices can disconnect from the network auto- UPnP uses UDP port 1900 and all used TCP ports are
matically without leaving state information.
derived from the SSDP alive and response messages.[7]
UPnP was published as a 73-part international standard,
ISO/IEC 29341, in December, 2008.[2][3][4]
2.1 Addressing
2 PROTOCOL
2.4 Control
2.2
Discovery
2.3
Description
Another capability of UPnP networking is event notication, or eventing. The event notication protocol dened
in the UPnP Device Architecture is known as General
Event Notication Architecture (GENA). 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. The service
publishes updates by sending event messages. Event messages contain the names of one or more state variables and
the current value of those variables. These messages are
also expressed in XML. A special initial event message is
sent when a control point rst subscribes; this event message contains the names and values for all evented variables and allows the subscriber to initialize its model of
the state of the service. To support scenarios with multiple control points, eventing is designed to keep all control
points equally informed about the eects of any action.
Therefore, all subscribers are sent all event messages, subscribers receive event messages for all evented variables
that have changed, and event messages are sent no matter
why the state variable changed (either in response to a requested action or because the state the service is modeling
changed).
2.6 Presentation
The nal step in UPnP networking is 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 web browser, and depending on the capabilities of the
page, allow a user to control the device and/or view device status. The degree to which each of these can be
accomplished depends on the specic capabilities of the
presentation page and device.
4.2
Other components
UPnP AV standards
3
or hardware-based. Software-based UPnP AV media
servers can be run on a PC. Hardware-based UPnP AV
media servers may run on any NAS devices or any specic hardware for delivering media, such as a DVR. As
of May 2008, there were more software-based UPnP AV
media servers than there were hardware-based servers.
4
4.1
UPnP AV components
Media server
A UPnP AV media server is the UPnP-server (master device) that provides media library information
and streams media-data (like audio/video/picture/les) to
UPnP clients on the network. It is a computer system or
a similar digital appliance that stores digital media, such
as photographs, movies, or music and shares these with
other devices.
UPnP AV media servers provide a service to UPnP AV
client devices, so called control points, for browsing the
media content of the server and request the media server
to deliver a le to the control point for playback.
UPnP media servers are available for most operating
systems and many hardware platforms. UPnP AV media servers can either be categorized as software-based
7
Source Device (server-side/back-end) service
functions. With classes such as; Trac Class
that indicates the kind of trac in the trac
stream, (for example, audio or video). Trac
Identier (TID) which identies data packets
as belonging to a unique trac stream. Trafc Specication (TSPEC) which contains a
set of parameters that dene the characteristics of the trac stream, (for example operating requirement and scheduling). Trac
Stream (TS) which is a unidirectional ow of
data that originates at a source device and terminates at one or more sink device(s).
FUTURE DEVELOPMENTS
6.1
Authentication
See also
Comparison of UPnP AV media servers
Devices Prole for Web Services
Digital Living Network Alliance (DLNA)
List of UPnP AV media servers and clients
Zeroconf
References
[1] Using the UPnP Control Point API. Microsoft Developer Network. Retrieved 11 September 2014.
[19] Device Security and Security Console V 1.0. UPnP Forum. Retrieved 11 September 2014.
[21] Sales, Thiago; Sales, Leandro; Almeida, Hyggo; Perkusich, Angelo (November 2010). A UPnP extension for
enabling user authentication and authorization in pervasive systems. Journal of the Brazilian Computer Society (Springer-Verlag) 16 (4): 261277. Retrieved 11
September 2014.
[22] Eastep, Thomas M. (4 June 2014). Shorewall and
UPnP. Retrieved 11 September 2014.
[23] Linux UPnP Internet Gateway Device - Documentation
- Security. Retrieved 11 September 2014.
[24] Hacking The Interwebs. 12 January 2008. Retrieved 11
September 2014.
[25] Internet Gateway Device (IGD) V 1.0. UPnP Forum.
12 November 2001.
[27] US-CERT
Vulnerability
Note
VU#357851.
CERT/CC. 30 November 2012. Retrieved 11 September
2014.
11
[32] UPnP Forum Gateway Working Committee: IGD:2 Improvements over IGD:1. UPnP Forum. 10 March 2009.
Retrieved 11 September 2014.
10
Sources
11
External links
EXTERNAL LINKS
12
12.1
12.2
Images
12.3
Content license