Universal Plug and Play: Difference between revisions
WhosAsking (talk | contribs) |
WhosAsking (talk | contribs) |
||
Line 144: | Line 144: | ||
*[[File Area Networking]] |
*[[File Area Networking]] |
||
*[[Storage area network]] |
*[[Storage area network]] |
||
*[[Network attached storage]] |
|||
*[[Data Storage Server]] |
*[[Data Storage Server]] |
||
*[[List of network protocols]] |
*[[List of network protocols]] |
Revision as of 04:10, 1 May 2007
Universal Plug and Play (UPnP) is a set of computer network protocols promulgated by the UPnP Forum. The goals of UPnP are to allow devices to connect seamlessly and to simplify the implementation of networks in the home (data sharing, communications, and entertainment) and corporate environments. UPnP achieves this by defining and publishing UPnP device control protocols built upon open, Internet-based communication standards.
The term UPnP is derived from Plug-and-play, a technology for dynamically attaching devices to a computer directly.
Overview
The UPnP architecture allows peer-to-peer networking of PCs, networked appliances, and wireless devices. It is a distributed, open architecture based on TCP/IP, UDP and HTTP.
UPnP enables communication between any two devices under the command of any control device on the network (LAN). Among its features are:
- Media and device independence. UPnP technology can run on many media including phone lines, power lines (PLC), Ethernet, IR (IrDA), RF (Wi-Fi, Bluetooth), and FireWire. No device drivers are used; common protocols are used instead.
- User interface (UI) Control. UPnP architecture enables vendor control over device user interface and interaction using the web browser.
- Operating system and programming language independence. Any operating system and any programming language can be used to build UPnP products. UPnP does not specify or constrain the design of an API for applications running on control points; OS vendors may create APIs that suit their customer's needs. UPnP enables vendor control over device UI and interaction using the browser as well as conventional application programmatic control.
- Internet-based technologies. UPnP technology is built upon IP, TCP, UDP, HTTP, and XML, among others.
- Programmatic control. UPnP architecture also enables conventional application programmatic control.
- Extensibility. Each UPnP product can have device-specific services layered on top of the basic architecture.
The UPnP architecture supports zero-configuration, "invisible networking" and automatic discovery for many device categories from a range of vendors; any device can dynamically join a network, obtain an IP address, announce its name, convey its capabilities upon request, and learn about the presence and capabilities of other devices. DHCP and DNS servers are optional and are only used if they are available on the network. Devices can leave the network automatically without leaving any unwanted state information behind.
The foundation for UPnP networking is IP 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 no DHCP server is available, that is, the network is unmanaged, the device must assign itself an address. If during the DHCP transaction, the device obtains a domain name, for example, through a DNS server or via DNS forwarding, the device should use that name in subsequent network operations; otherwise, the device should use its IP address.
Protocol
Discovery
Given an IP address, the first step in UPnP networking is discovery. When a device is added to the network, the UPnP discovery protocol allows that device to advertise its services to control points on the network. Similarly, when a control point is added to the network, the UPnP discovery protocol 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 more detailed information. The UPnP discovery protocol is based on the Simple Service Discovery Protocol (SSDP).
Description
The next step in UPnP networking is 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 vendor-specific, manufacturer information like the model name and number, serial number, manufacturer name, URLs to vendor-specific web sites, etc. The description also includes a list of any embedded devices or services, as well as URLs for control, eventing, and presentation. For each service, the description includes a list of the commands, or actions, to which the service responds, and parameters, or arguments, for each action; the description for a service also includes a list of variables; these variables model the state of the service at run time, and are described in terms of their data type, range, and event characteristics.
Control
The next step in UPnP networking is control. After a control point has retrieved a description of the device, the control point can send actions 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 the Simple Object Access Protocol (SOAP). Like function calls, in response to the control message, the service returns any action-specific values. The effects of the action, if any, are modeled by changes in the variables that describe the run-time state of the service.
Event notification
The next step in UPnP networking is event notification, or "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. 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 and formatted using the General Event Notification Architecture (GENA). A special initial event message is sent when a control point first 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 effects 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).
Presentation
The final 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 specific capabilities of the presentation page and device.
UPnP AV (Audio and Video) standards
UPnP AV stands for UPnP Audio and Video, and is a grouping within the UPnP standards supervised by the DLNA (Digital Living Network Alliance), (formely: Digital Home Working Group), which is a forum of vendors and manufacturers who work in the home entertainment industry, and offer a "DLNA CERTIFIED™" branding for those products which follow their Networked Device Interoperability Guidelines. The DLNA forum members "share a vision of a wired and wireless interoperable network of Personal Computers (PC), Consumer Electronics (CE) and mobile devices in the home enabling a seamless environment for sharing and growing new digital media and content services", and is "DLNA is focused on delivering an interoperability framework of design guidelines based on open industry standards to complete the cross-industry digital convergence". On the 12th of July 2006 the UPnP Forum announced the release of 'Enhanced AV Specifications', this release was version 2 of the UPnP Audio and Video specifications (UPnP AV v2), with new MediaServer version 2.0 and MediaRenderer version 2.0 classes. These enhancements are created by adding capabilities to the UPnP AV MediaServer and MediaRenderer device classes that allow a higher level of interoperability between MediaServers and MediaRenderers from different manufacturers.
UPnP AV components
- UPnP MediaServer DCP - which is the UPnP-server (a 'slave' device) that share/stream media-data (like audio/video/picture/files) to UPnP-clients on the network).
- UPnP MediaServer ControlPoint - which is the UPnP-client (a 'master' device) that can auto-detect UPnP-servers on the network to browse and stream media/data-files from them.
- UPnP MediaRenderer DCP - which is a 'slave' device that can render content.
- UPnP RenderingControl DCP - control MediaRenderer settings; volume, brightness, RGB, sharpness, and more).
- UPnP Remote User Interface (RUI) client/server - which sends/receives control-commands between the UPnP-client and UPnP-server over network, (like record, schedule, play, pause, stop, etc.).
- Web4CE (CEA 2014) for UPnP Remote UI[1] - CEA-2014 standard designed by Consumer Electronics Association's R7 Home Network Committee. Web-based Protocol and Framework for Remote User Interface on UPnP Networks and the Internet (Web4CE). This standard allows a UPnP-capable home network device to provide its interface (display and control options) as a web page to display on any other device connected to the home network. That means that you can control a home networking device through any web-browser-based communications method for CE devices on a UPnP home network using ethernet and a special version of HTML called CE-HTML.
- QoS (Quality of Service) - an is an important (but not mandatory) service function for use with UPnP AV (Audio and Video). QoS (Quality of Service) refers to control mechanisms that can provide different priority to different users or data flows, or guarantee a certain level of performance to a data flow in accordance with requests from the application program. Since UPnP AV is mostly to deliver streaming media that is often near real-time or real-time audio/video data which it is critical to be delivered within a specific time or the stream is interrupted. QoS (Quality of Service) guarantees are especially important if the network capacity is limited, for example public networks, like the internet.
- QoS (Quality of Service) for UPnP consist of Sink Device (client-side/front-end) and Source Device (server-side/back-end) service funtions. With classes such as; Traffic Class that indicates the kind of traffic in the traffic stream, (for example, audio or video). Traffic Identifier (TID) which identifies data packets as belonging to a unique traffic stream. Traffic Specification (TSPEC) which contains a set of parameters that define the characteristics of the traffic stream, (for example operating requirement and scheduling). Traffic Stream (TS) which is a unidirectional flow of data that originates at a source device and terminates at one or more sink device(s).
NAT traversal
UPnP comes with a solution for NAT (Network Address Translation) traversal: IGD (Internet Gateway Device) protocol. NAT traversal for UPnP enables UPnP packages to pass through a router or firewall without problems and without user interaction, (that is if that router or firewall supports NAT).
Problems with UPnP
- UPnP uses HTTP over UDP (known as HTTPU and HTTPMU for unicast and multicast), even though this is not standardized and is specified only in an Internet-Draft that expired in 2001. [1]
- UPnP does not have a lightweight authentication protocol, while the available security protocols are complex. As a result, many UPnP devices ship with UPnP turned off by default as a security measure.
- For unknown reasons, running SSDP and UPnP services in some Windows XP installations often cause taskbar icons to disappear [2].
Future Developments
The standard Devices Profile for Web Services or short DPWS, is a candidate successor for UPnP. It solves many of the problems of UPnP. A DPWS client is included in Microsoft Windows Vista as part of the Windows Rally technologies.
UPnP AV MediaServers
UPnP AV MediaServers store and share digital media, such as photographs, movies, or music. There are UPnP MediaServers available for most operating-systems and many hardware-platforms. UPnP AV MediaServers can either be categorized as software-based or hardware-based. Software-based UPnP AV MediaServers can be run on PCs (Personal-Computers), mainly on Microsoft Windows, Linux, BSD, Unix or Mac OS X. Hardware-based UPnP AV MediaServers may run on any NAS (Network Attached Storage) devices or any specific hardware for delivering media, such as a PVR (Personal Video Recorder). Currently, there are more software-based UPnP AV MediaServers than there are hardware-based, but chances are that will change in the future.
UPnP AV MediaServer software
- XBMC (Xbox Media Center), a free, open-source software media-player/media-center for Microsoft's Xbox game-console.
- XBMC built-in UPnP client and UPnP server code are from Platinum UPnP C++ SDK (open source under GPL).
- Windows Media Connect from Microsoft - free UPnP AV MediaServer and Control Point (server and client) for Microsoft Windows
- Windows Media Connect (WMC) version 2.0 can be installed for usage with Windows Media Player 10 for Windows XP
- Windows Media Connect (WMC) version 3.0 can be installed for usage with Windows Media Player 11 for Windows XP
- Windows Media Connect (WMC) version 4.0 already comes pre-installed on Windows Vista with its WMP version 11
- FreeNAS, a free operating-system/software, enabling you to turn any x86-based computer into a dedicated stand-alone NAS (Network-Attached Storage) device. (FreeNAS UPnP server code is from the Portable Universal Plug and Play (UPnP) SDK project).
- AwoX mediaCTRL, a commercial DLNA 1.5 Controller, Renderer and Server for Microsoft Windows.
- MythTV, an open source HTPC and PVR software for Linux, with a built-in UPnP AV MediaServer.
- SnapStream Beyond TV (BTV), a commercial Media Control/Renderer/Server and PVR software for Windows.
- Musicmatch Jukebox, a commercial MediaServer UPnP MediaServer and music-player for Windows, (also features media organizing functionality).
- Rhapsody, by RealNetworks, a commercial UPnP MediaServer (with a online music service) for Win/Mac, (Rhapsody requires an WMDRM-ND encrypted DRM connection).
- GeeXboX, an opensource lightweight Media center has uShare for Linux.
- MediaTomb - free, open source (GPL) UPnP AV MediaServer for Linux, Mac OS X, FreeBSD and Cygwin which also runs on NAS devices. Allows users to define a custom container layout by the means of JavaScript, has a nice AJAX based UI.
- TwonkyMedia - Commercial and light-weight UPnP AV Server for Windows, Linux and embedded systems. Can be installed for instance on an NSLU2.
- Nero MediaHome - Commercial media-player/media-center software for Windows which is shipped as part of the Nero product suite, it includes a UPnP AV Server (and a UPnP AV Client). The latest version is able to capture and stream live TV and transcodes all common source file formats in real-time to other UPnP AV Clients via the UPnP AV Server.
- Fuppes - free open source UPnP MediaServer, supports transcoding of diverse audio formats to mp3. Only directory browsing supported.
- TVersity - free closed source UPnP MediaServer, currently in beta, which allows on-the-fly transcoding to wmv.
- SimpleCenter is a Java-based UPnP AV MediaServer
- Philips Media Manager is a free closed source UPnP AV MediaServer for Windows and Macintosh that is based on Streamium
UPnP AV MediaServer hardware
- Xbox game-console with XBMC (Xbox Media Center) software, which is a free open-source software multimedia-player.
- XBMC built-in UPnP client and UPnP server code are from Platinum UPnP C++ SDK (open source under GPL).
- FreeNAS, a free operating-system/software, enabling you to turn any x86-based computer into a dedicated stand-alone NAS (Network-Attached Storage) device. (FreeNAS UPnP server code is from the Portable Universal Plug and Play (UPnP) SDK project).
- ICY BOX IB-NAS1000, smal SOHO NAS with a 30 days trial version of TwonkyMedia (can be activated for liftime)
- ICY BOX IB-NAS2000, smal SOHO NAS with 30 days trial version of TwonkyMedia (can be activated for liftime)
- NSLU2, a hacked/modded version running ushare (a free open source UPnP MediaServer for Linux), (connect USB 2.0 drives to the NSLU2 and share).
- HP Media Vault, a NAS box from HP has a built-in UPnP AV server.
- UPnP Home Automation system, UPnP domotics.
- Infrant ReadyNAS NV+, a NAS box from Infrant Technologies that supports UPnP AV.
- DLink - DNS-323 and DSM-G600, NAS boxes from D-Link that support UPnP AV.
- Linksys WRTSL54GS, All-in-one internet-sharing router, access point, and network storage link.
- Synology DS-106 Disk Station, a NAS from Synology that supports UPnP AV.
- Maxtor Shared Storage Plus drive includes a built-in Mediabolic UPnP server. The Twonky UPnP server is also available for this drive.
UPnP AV Clients (ControlPoint)
UPnP MediaServer ControlPoint is the UPnP-client (a 'master' device) that function as digital audio/video players, which can auto-detect UPnP-servers on the network to browse and stream media/data-files from them.
UPnP Control Points and Player Software
- XBMC (Xbox Media Center), a free, open-source software media-player/media-center for Microsoft's Xbox game-console.
- XBMC built-in UPnP client and UPnP server code are from Platinum UPnP C++ SDK (open source under GPL).
- InterVideo WinDVD, a commercial DVD-Video and video-files playback software for Windows.
- CyberLink PowerDVD, a commercial DVD-Video and video-files playback software for Windows.
- AwoX mediaCTRL, a commercial DLNA 1.5 Controller, Renderer and Server for Microsoft Windows.
- Musicmatch Jukebox, a commercial MediaServer UPnP MediaServer and music-player for Microsoft Windows.
- Yahoo! Music Jukebox, a free MediaServer UPnP MediaServer and music-player for Microsoft Windows.
- VideoLAN Network Client (VLC), a free, open-source and cross-platform media player that has a UPnP-client (via the CyberLink UPnP plugin).
- Winamp, a free media player for Microsoft Windows, using the commercial On2Share UPnP plug-in.
- Windows Media Player, included with Windows, using the free Windows Media Connect or the commercial On2Share UPnP plug-in.
- GeeXboX, an open source lightweight Media center Livecd no installation required.
- Cidero, an opensource UpnP Control Point and an UPnP internet radio gateway.
- Nero MediaHome - Commercial media-player/media-center software for Windows which is shipped as part of the Nero product suite, it includes a UPnP AV Client (and a UPnP AV Server). The latest version is able to capture and stream live TV and transcodes all common source file formats in real-time to other a UPnP AV Clients via the UPnP AV Server.
- Nero ShowTime a commercial media-player.
- Windows Media Connect from Microsoft - free UPnP AV MediaServer and Control Point (server and client) for Microsoft Windows
- Windows Media Connect (WMC) version 2.0 can be installed for usage with Windows Media Player 10 for Windows XP
- Windows Media Connect (WMC) version 3.0 can be installed for usage with Windows Media Player 11 for Windows XP
- Windows Media Connect (WMC) version 4.0 already comes pre-installed on Windows Vista with its WMP version 11
UPnP Control Points and Player Hardware
- D-Link MediaLounge Series of home media players (includes the DSM-320, DSM-320RD, DSM-510, and DSM-520)
- Buffalo LinkTheater High-Definition Wireless Media Player
- Philips RC9800i
- TerraTec Noxon 2 audio [2]
See also
You must add a |reason=
parameter to this Cleanup template – replace it with {{Cleanup|reason=<Fill reason here>}}
, or remove the Cleanup template.
- Zeroconf
- Bonjour
- NAT-PMP
- Jini
- SNMP
- OSGi
- Service Location Protocol
- Salutation
- CORBA
- a list of Service discovery protocols (including SSDP, used by UPnP)
- for a list of technologies, applications and products that support UPnP, see the linked pages to this article
- File Area Networking
- Storage area network
- Network attached storage
- Data Storage Server
- List of network protocols
- Protocol (computing)
- Network architecture
- Connection-oriented protocol
- Connectionless protocol
- Congestion collapse
- Tunneling protocol
References
- UPnP™ Forum Universal Plug and Play Device Architecture
- Golden G. Richard: Service and Device Discovery : Protocols and Programming, McGraw-Hill Professional, ISBN 0-07-137959-2
- Michael Jeronimo, Jack Weast: UPnP Design by Example: A Software Developer's Guide to Universal Plug and Play, Intel Press, ISBN 0-9717861-1-9
- ^ {{cite web | url = http://www.ce.org/standards | title = Web4CE (CEA 2014) for UPnP Remote UI (www.ce.org/standards)
- ^ Systray Icons Missing SSDP and UPnP services: one major reason for the annoying disappearance of systray icons. Several workarounds to make them reappear.
External links
Documentation
- UPnP™ Forum
- DLNA (Digital Living Network Alliance)
- The Jini, Vision
- technique comparison
- Microsoft WHDC UPnP webpage & links
- Universal Plug and Play in Windows XP
News
- Security firm predicts [Microsoft Windows UPnP exploit by the end of the week ] at The Inquirer (Wednesday, 11 April 2007)
- Microsoft security updates for April 2007 to fix the above Microsoft Windows UPnP security issue.