120 likes | 308 Views
Universal Plug and Play. Cheng, Ming-Chun. Overview.
E N D
Universal Plug and Play Cheng, Ming-Chun
Overview • Universal Plug and Play (UPnP) is an architecture for pervasive peer-to-peer network connectivity of PCs of all form factors, intelligent appliances, and wireless devices. UPnP is a distributed, open networking architecture that leverages TCP/IP and the Web to enable seamless proximity networking in addition to control and data transfer among networked devices in the home, office, and everywhere in between.
Benefits • No device drivers - common protocols. • Media and low-level (transport and below) independent. • UPnP devices can be implemented using any programming language, and on any operating system. • UPnP leverages HTTP and the family of browser technologies. • UPnP enables vendor control over device UI and interaction using the browser.
Six basic functions(1/2) • device addressing • device discovery • device description • action invocation • event messaging • presentation human interface UPnP is a protocol for data transmission
Device addressing • The addressing layer is where control points and devices obtain their IP addresses. The addresses can be hardwired or come from a DHCP server, or devices can use Auto IP to assign an IP address.
Device discovery & description • When a device is added to a network, the device advertise itself. • A control point can search the network for devices. • Once a control point discovers a device, the device provides a description of itself and the services it provides. (XML document)
Action invocation • To initiate device action, a control point sends a control message using the definitions from the device-description document. To exchange information, the control layer uses a W3C (World Wide Web Consortium) draft standard, SOAP (Simple Object Access Protocol).
Event messaging • A device need to report its status to one or more control points. • It’s based on a basic push model. Device send events only to control points that subscribe to a device’s events.
Presentation human interface • Each device can have a unique presentation, or Web home page. It sends the home-page URL to control points as part of its description.