Download presentation
Presentation is loading. Please wait.
Published byLogan Fields Modified over 9 years ago
1
DLNA 數位生活網路介紹 明新科技大學資訊管理學系助理教授 清華大學自強工業基金會通訊類講師 工研院資通所無線通訊技術組顧問 麟瑞科技顧問 & 摩鐵科技顧問 林文宗博士 E-mail: wtlin@must.edu.twwtlin@must.edu.tw URL: http://wtlin.csie.must.edu.tw/http://wtlin.csie.must.edu.tw/
2
All rights reserved by Assistant Professor Wen-Tsung Lin. 2 Agenda DLNA introduction DLNA home network architecture DLNA Device Model Guideline Terminology and Conventions UPnP Conclusion
3
All rights reserved by Assistant Professor Wen-Tsung Lin. 3 References Acquisition 85 reference items. https://www.bluetooth.org/ IEEE (802.1D/1Q/802.3/802.11) http://www.wi-fi.org (Test Plan/Spec.) http://www.icea.net/ ISO/IEC, IETF RFCs http://www.upnp.org/ http://www.w3.org/ http://www.microsoft.com/ http://www.atsc.org/ http://www.3gpp.org/ http://thomas.loc.gov http://www.opengroup.org/
4
DLNA introduction Digital Living Network Alliance 影片介紹
5
All rights reserved by Assistant Professor Wen-Tsung Lin. 5 DLNA 源起
6
All rights reserved by Assistant Professor Wen-Tsung Lin. 6 The DLNA Visions
7
All rights reserved by Assistant Professor Wen-Tsung Lin. 7 Home Network
8
All rights reserved by Assistant Professor Wen-Tsung Lin. 8 Digital Content Access
9
All rights reserved by Assistant Professor Wen-Tsung Lin. 9 Accessing content with a mobile device
10
All rights reserved by Assistant Professor Wen-Tsung Lin. 10 A Connected Environment Services PCs, appliances, and services interconnect Multimediainformation Technologies converge, devices don’t
11
All rights reserved by Assistant Professor Wen-Tsung Lin. 11 Interest in Networking Entertainment Content
12
All rights reserved by Assistant Professor Wen-Tsung Lin. 12 Trends Consumers are acquiring, viewing and managing an increasing amount of digital media on devices in the CE, mobile and PC domains (see Figure 1). They want to enjoy this content easily and conveniently – regardless of the source – across different devices and locations in the home. This trend is fueled by the proliferation of digital media and IP networking and supported by several leading market indicators. Digital device sales: music players, cameras, camcorders, DVD players, multimedia mobile phones and personal video recorders. Broadband adoption: DSL and cable Home network adoption: wired and wireless; ad-hoc and infrastructure configurations
13
All rights reserved by Assistant Professor Wen-Tsung Lin. 13 Problem Three islands exist in the home The PC Internet World where PC and PC peripherals communicate. The CE Broadcast World of set-top boxes and traditional consumer electronics. The Mobile World of multimedia mobile phones, personal digital assistants, MP3 players, laptop computers and similar devices provides unparalleled connectivity and freedom of movement into and out of the home environment. Consumers want devices in these three islands to work together in the home, but expectations have largely been unfulfilled.
14
All rights reserved by Assistant Professor Wen-Tsung Lin. 14 Consumer Challenges Products designed for the home should be easy to install, provide obvious user value and be affordable. Digital home products must interoperate with each other and with existing CE devices such as TVs and stereos. Product Developer’s Dilemma Open industry standards are often too flexible – products built by different vendors all too often fail to interoperate well. Design choices should be narrowed through industry consensus to better achieve interoperability. Current end-to-end solutions based on proprietary vertical implementations bring products to market early but have little impact on rapidly establishing a new category of products.
15
All rights reserved by Assistant Professor Wen-Tsung Lin. 15 DLNA Introduction The Digital Living Network Alliance (DLNA) is a cross-industry organization of leading consumer electronics, computing industry and mobile device companies. DLNA shares a vision of a wired and wireless interoperable network of Personal Computers (PC), Consumer Electronics (CE) and mobile devices in the home and on the road, enabling a seamless environment for sharing and growing new digital media and content services. DLNA is focused on delivering interoperability guidelines based on open industry standards to complete the cross industry digital convergence. In the DLNA digital home, it will be common for consumers to: Easily acquire, store and access digital music from almost anywhere in the home Effortlessly manage, view, print and share digital photos Take favorite content anywhere to share with family and friends Enjoy distributed, multi-user content recording and playback
16
All rights reserved by Assistant Professor Wen-Tsung Lin. 16 DLNA Interoperability Guidelines
17
All rights reserved by Assistant Professor Wen-Tsung Lin. 17 Introduction The DLNA Home Networked Device Interoperability Guidelines are use case driven and specify the interoperable building blocks that are available to build platforms and software infrastructure. They are focused on interoperability between the devices for personal media uses involving imaging, audio and video. The DLNA Home Networked Device Interoperability Guidelines has been created in a unique cross-industry effort that combined the efforts of over 100 Consumer Electronics, PC industry and Mobile Device companies from around the world who worked together with the aim of achieving the world's first substantial platform for true interoperability between personal computer and consumer electronic devices. The Interoperability Guidelines provide product developers with a long-term architectural view, plus specific guidance for IP-networked platforms, devices and applications in the home.
18
All rights reserved by Assistant Professor Wen-Tsung Lin. 18 Functional Components & Technology Ingredients
19
All rights reserved by Assistant Professor Wen-Tsung Lin. 19 Strategy To deliver interoperability in the digital home, DLNA has focused on three key elements. Industry collaboration Standards-based interoperability Compelling products
20
All rights reserved by Assistant Professor Wen-Tsung Lin. 20 The DLNA Guidelines Creation Process
21
All rights reserved by Assistant Professor Wen-Tsung Lin. 21 Key Technology Components Networking and Connectivity Device and Service Discovery and Control Media Format and Transport Model Media Management, Distribution, and Control Digital Rights Management / Content Protection Manageability
22
All rights reserved by Assistant Professor Wen-Tsung Lin. 22 DLNA Media Formats
23
All rights reserved by Assistant Professor Wen-Tsung Lin. 23 DRM and Link Protection Link protection allows for secure play out of premium content hosted in a DRM system. For example, a link protection enabled DMP (player) can play DRM-protected content that is stored on a DMS (server). Figure illustrates examples of devices that contain DRM and devices that only support link protection.
24
DLNA home network architecture
25
All rights reserved by Assistant Professor Wen-Tsung Lin. 25 DLNA Home Network Architecture
26
All rights reserved by Assistant Professor Wen-Tsung Lin. 26 DLNA Home Network Architecture Networking and Connectivity Wired/Wireless IPv4 protocol suite Network Quality of Service Device Discovery and Control UPnP Device Architecture Media Management UPnP AV v1 Printer Media Formats Image Audio XHTML Print documents Media Transport HTTP 1.0/1.1 RTP
27
DLNA Device Model
28
All rights reserved by Assistant Professor Wen-Tsung Lin. 28 DLNA Device Model These guidelines address the requirements of devices with differing environmental characteristics. home network devices mobile handheld devices Home Network Devices (HNDs) and Mobile Handheld Devices (MHDs) are Device Categories that have a differing set of requirements in media formats and network connectivity. To support interoperability between Home Network Devices and Mobile Handheld Devices, a Home Network Device to meet all the requirements for the corresponding Mobile Handheld Device a Mobile Handheld Device to meet all the requirements for the corresponding Home Network Device
29
All rights reserved by Assistant Professor Wen-Tsung Lin. 29 Device Categories In most cases that may not be feasible, so another way to achieve interoperability is via a group of devices that will be able to provide bridging or content transformation services between these two Device Categories. Bridging network connectivity between the MHD and the HND Device Categories Media format interoperability services between the MHD and the HND Device Categories In summary, Each is uniquely optimized for the requirements of a particular environment. The device guidelines focus on interoperability of devices within a Device Category. There are guidelines for devices which facilitate interoperability between Device Categories. A device may choose to be a member of multiple Device Categories.
30
All rights reserved by Assistant Professor Wen-Tsung Lin. 30 DLNA Device Model Terms Hierarchy
31
All rights reserved by Assistant Professor Wen-Tsung Lin. 31 Device Model Elements (I) Device Category An aggregation of device classes with common environmental characteristics (e.g. mobile devices) and sharing System Usages that enable home networking use case scenarios. A single physical device may fall into multiple Device Categories. System Usage describes a device interaction model between Device Classes and/or Device Capabilities. System Usages are derived when enabling home networking use case scenarios. Device Class Device Functions (at least one) aggregated to be used in a System Usage that enables home networking AV use case scenarios.
32
All rights reserved by Assistant Professor Wen-Tsung Lin. 32 Device Model Elements (II) Device Function A Device Function is an operational component at the Device Discovery and Control layer of the DLNA architecture such as a "UPnP Device". Device Classes and Device Capabilities are composed of a set of Device Functions. Device Capability is a set of Device Functions (at least one) aggregated to be used in a System Usage that is enabling home networking AV use case scenarios. Device Option Provides optional extensibility to an existing Device Class definition, such as upload functionality added to a MediaServer Device (MSD), or it provides a new optional Device Function to the DLNA architecture, such as RTP. A Device Option differs from a Device Class or Device Capability in that it normally enables a Device Class or Device Capability to perform an existing System Usage in a different way (e.g., RTP).
33
All rights reserved by Assistant Professor Wen-Tsung Lin. 33 Device Functions IP Connectivity Network Connectivity and Network stack (Section 7.1). UPnP Device and UPnP Control Point (UPnP CP) Device Discovery and Control based upon the UPnP Device Architecture (Section 7.2). UPnP AV MediaServers (MSD), UPnP AV MediaServer Control Point (MSCP), UPnP AV MediaRenderer (MRD), UPnP AV MediaRenderer Control Point (MRCP), UPnP Printer Device (PrD), and UPnP Printer Control Point (PrCP) Media Management (Section 7.3). Media Transport Server and Media Transport Client Media Transport (Section 7.4). Content Interoperability Guidelines Media Formats volume [77].
34
All rights reserved by Assistant Professor Wen-Tsung Lin. 34 Device Categories 設備類別是編組與系统用法分享共同的環境特徵 的設備分類。 家庭網絡設備 (HNDs) 移動型手持式設備 (MHDs) 家庭基礎設施設備 (HID)
35
All rights reserved by Assistant Professor Wen-Tsung Lin. 35 Device Classes and Roles (I) 數位媒體伺服器 (DMS) (HND) the 2-Box Pull System Usage 移動式數位媒體播放器 (DMP) (HND) the 2-Box Pull System Usage 數位媒體 Renderer (DMR) (HND) 數位媒體控制器 (DMC) (HND) 數位媒體印表機 (DMPr) (HND) A Mobile Digital Media Server (M-DMS) 移動式數位媒體播放器 (M-DMP) A Mobile Digital Media Uploader (M-DMU) A Mobile Digital Media Downloader (M-DMD) A Mobile Digital Media Controller (M-DMC)
36
All rights reserved by Assistant Professor Wen-Tsung Lin. 36 Device Capabilities and Roles (II) A Push Controller (+PU+) pushing its local content to a DMR. A Printing Controller-1 (+PR1+) controlling a DMPr to print image content. A Printing Controller-2 (+PR2+) controlling a DMPr to print image content. An Upload Controller (+UP+) sending content to a DMS or M-DMS with upload functionality. A Download Controller (+DN+) downloading content from a DMS or M-DMS to itself.
37
All rights reserved by Assistant Professor Wen-Tsung Lin. 37 System Usages 2-Box Pull System Usage 2-Box Push System Usage 3-Box System Usage 2-Box Printing System Usage 3-Box Printing System Usage Download System Usage Upload System Usage
38
All rights reserved by Assistant Professor Wen-Tsung Lin. 38 2-Box Pull System Usage 1. Invoke UPnP actions to browse and select content. 2. Request the content for playback. 3. Transport the content to the DMP or the M-DMP.
39
All rights reserved by Assistant Professor Wen-Tsung Lin. 39 2-Box Push System Usage 1. Invoke UPnP actions to set up a playback session. 2. Request the content for playback. 3. Transport the content to the DMR.
40
All rights reserved by Assistant Professor Wen-Tsung Lin. 40 3-Box System Usage 1. Invoke UPnP actions to browse and select content. 2. Invoke UPnP actions to verify that the DMR has the capability to render the selected content and then set up a connection for the selected content between the DMR and the DMS or the M-DMS. 3. Request the content for playback. 4. Transport the content to the DMR.
41
All rights reserved by Assistant Professor Wen-Tsung Lin. 41 2-Box Printing System Usage 1. Invoke UPnP actions to the DMPr to initiate the print job by providing the URL to the XHTML-Print document. 2. The DMPr acquires the XHTML-Print document from the Printing Controller-1. 3. The DMPr requests the Image content from the Printing Controller 1. 4. The Printing Controller 1 responds with the Image content.
42
All rights reserved by Assistant Professor Wen-Tsung Lin. 42 3-Box Printing System Usage 1. Invoke UPnP actions to browse and select image content. 2. Get the URLs for the selected image content and reference the URLs in the XHTML-Print document. 3. Invoke UPnP actions on a DMPr to initiate the print job by providing the URL to the XHTML- Print document. 4. The DMPr acquires the XHTML-Print document from the Printing Controller-2. 5. The DMPr requests the Image content from the DMS or M-DMS. 6. The DMS or M-DMS responds with the Image content.
43
All rights reserved by Assistant Professor Wen-Tsung Lin. 43 Download System Usage 1. Invoke UPnP actions to find content to download. 2. Request the content that needs to be downloaded. 3. Transport content to the Download Controller or the M-DMD.
44
All rights reserved by Assistant Professor Wen-Tsung Lin. 44 Upload System Usage 1. Invoke UPnP actions to create a CDS entry for the content to be uploaded. 2. Transport the content being uploaded to the DMS or the M-DMS.
45
All rights reserved by Assistant Professor Wen-Tsung Lin. 45 Home Infrastructure Device (HID) System Usage (I) 2-Box Pull System Usage Interaction Model Between Device Categories
46
All rights reserved by Assistant Professor Wen-Tsung Lin. 46 Home Infrastructure Device (HID) System Usage (II) M-NCF Bridging the Network Connectivity gap between MHD and HND Device Categories
47
All rights reserved by Assistant Professor Wen-Tsung Lin. 47 Home Infrastructure Device (HID) System Usage (III) Media Interoperability Between Device Categories
48
All rights reserved by Assistant Professor Wen-Tsung Lin. 48 Guideline Terminology and Conventions Guideline Font Usage Conventions Hyperlinks to reference citations are indicated as [number]. For example [1], [20], … HTTP headers and methods are always in bold font, such as CACHE-CONTROL. UPnP action names are indicated as: [Service acronym]:[action name], such as CDS:Browse. Special terms may be italicized. Sometimes a guideline requirement will define a term for use within that guideline and the term will be italicized.
49
All rights reserved by Assistant Professor Wen-Tsung Lin. 49 Guideline Terminology and Conventions Guideline Syntax Notation Conventions Linear whitespace (LWS) characters, such as carriage returns, spaces, tabs, or line feeds, are not implied anywhere in any of the syntax (BNF) definitions used within the Interoperability Guidelines. The use of LWS characters is restricted within the DLNA Interoperability Guideline unless explicitly specified in any of the syntax definitions with reference to UPnP HTTP communications.
50
All rights reserved by Assistant Professor Wen-Tsung Lin. 50 Guideline Terminology and Conventions Guideline Normative and Informative Text Conventions Normative text includes introductory text before guideline requirement tables, but testable requirements are only contained within guideline requirement table entries.
51
All rights reserved by Assistant Professor Wen-Tsung Lin. 51 Guideline Terminology and Conventions DLNA XML Namespaces & Schemas
52
All rights reserved by Assistant Professor Wen-Tsung Lin. 52 Appendix Network Infrastructure Device (NID) Tuner Representation UPnP Devices with Multiple Network Interfaces Printer Support Example Applications of the Uniform Client Data Availability Model Auto-IP Developer Guidance Mobile Network Connectivity and Power Saving Operation Principles RTP Protocol Stack and SDP/RTSP/RTCP Parameters
53
UPnP
54
All rights reserved by Assistant Professor Wen-Tsung Lin. 54 Abstract UPnP is a distributed computing framework based on Web technologies that is intended for use in local area networks -- especially home networks. Over the years, valuable lessons have been learned from the efforts of various companies to develop and deploy products based on this technology.
55
All rights reserved by Assistant Professor Wen-Tsung Lin. 55 Introduction Digital Content: audio, images, MP3, web content, etc. Games and entertainment Home automation (remote controls, security, environmental controls, etc.) Communication: VOIP, video calls, instant messaging, tele-presence, ambient presence Home office applications Health Care in place (assisted living and care-giving) Education Automobiles as an integrated, though mobile, part of homes
56
All rights reserved by Assistant Professor Wen-Tsung Lin. 56 Introduction Our vision of ubiquitous or pervasive computing is captured by the following quote from the IEEE Pervasive Computing Magazine…
57
All rights reserved by Assistant Professor Wen-Tsung Lin. 57 Challenges Consumers make bad network and security administrators Security issues are not limited privacy or confidentiality, they include physical safety Access control must be flexible enough to accommodate different roles including owner, family, friend, visitor, maintenance/support, hostile, unknowns Smart homes will be incrementally deployed and their configuration will be moderately dynamic
58
All rights reserved by Assistant Professor Wen-Tsung Lin. 58 Challenges Transient connectivity will be a recurring problem Whenever possible no infrastructure services should be assumed Legacy products need to be supported and new products should be future proof Third party interoperability is essential Components will fail – someone has to figure out what is broken and how to fix it
59
All rights reserved by Assistant Professor Wen-Tsung Lin. 59 UPnP forum UPnP – Universal Plug and Play is a technology intended for smart homes, small offices and other types of local area networks. It was originally created by Microsoft Corporation in 1999. UPnP is now under the control of the UPNP forum (http://www.upnp.org), an independent organization with over 770 members.
60
All rights reserved by Assistant Professor Wen-Tsung Lin. 60 DLNA The Digital Living Network Alliance (DLNA) a consortium of over 240 consumer electronics companies whose goal is to develop the standards needed for interoperable networked products for Digital Homes.
61
All rights reserved by Assistant Professor Wen-Tsung Lin. 61 Protocol Stack
62
All rights reserved by Assistant Professor Wen-Tsung Lin. 62 Brief summery Discovery is Step 1 in UPnP networking. Discovery comes after addressing (Step 0) where devices get a network address. Through discovery, control points find interesting devices. Discovery enables description (Step 2) where control points learn about device capabilities, control (Step 3) where a control point sends commands to devices eventing (Step 4) where control points listen to state changes in devices presentation (Step 5) where control points display a user interface for devices.
63
All rights reserved by Assistant Professor Wen-Tsung Lin. 63 UPnP 0. Addressing IPv4 and IPv6 auto-configuration protocols 1. Discovery SSDP (Simple Service Discovery Protocol) 2. Description XML, data types, device and service descriptions 3. Control SOAP (Simple Object Access Protocol) 4. Events GENA (General Event Notification Architecture) 5. Presentation HTML and vendor extensions
64
All rights reserved by Assistant Professor Wen-Tsung Lin. 64 A Connected Environment Services PCs, appliances, and services interconnect Multimediainformation Technologies converge, devices don’t
65
All rights reserved by Assistant Professor Wen-Tsung Lin. 65 The Reality Tough problems… Connectivity Simplicity Reliability Privacy Making it meaningful to consumers? Community Convenience Communication Personal security
66
All rights reserved by Assistant Professor Wen-Tsung Lin. 66 UPnP: Invisible Networking Enable devices to be automatically configured when they… Connect to a network Communicate their capabilities Control information to any appropriate control application Devices Just “Work” When They are Connected
67
All rights reserved by Assistant Professor Wen-Tsung Lin. 67 802.11 PowerLine Internet HomePNA * * Bluetooth * 1394 Complex networking! Powerful, Invisible networking! UPnP Network Internet Vision Create a Plug and Play experience for consumers to: Easily share an Internet connection Enjoy digital multimedia content on preferred devices Securely access content in the home from anywhere
68
All rights reserved by Assistant Professor Wen-Tsung Lin. 68 What is Universal Plug and Play Technology? Provides invisible home networking Architectural framework for self- configuring, self-describing devices Leverages existing Internet technologies Enables dynamic peer-to-peer networking Key to making the connected home experience Affordable, mainstream reality for users Significant opportunity for the industry
69
All rights reserved by Assistant Professor Wen-Tsung Lin. 69 UPnP Strategy Just send data over the network No executables Minimize version issues Minimize security issues Allows implementation to be platform & vendor specific Be agnostic re: programming language, OS Update implementation w/o (without) affecting interop Improve performance Reduce footprint Improve capabilities Agree on meaning / format of data Choose substrate of proven protocols Define device (service) specific protocols in a Forum
70
All rights reserved by Assistant Professor Wen-Tsung Lin. 70 Business Opportunities: Huge Growth! Non-PC devices (4 billion embedded microprocessors in 1999) Rapidly increasing Internet adoption rates Strong uptake in Internet broadband deployments 64% of U.S. PC homes have television and PC in the same room 34% of U.S. PC homes have 2 or more computers By 2004 27MM networks installed 48.5MM nodes / year run rate Services a $3BB / yr business Source: Cahners-Instat
71
All rights reserved by Assistant Professor Wen-Tsung Lin. 71 IP telephony application listens for incoming calls UPnP Residential Gateway Example End User Benefits : Automates real-time setup and configuration of Internet applications Multi-player gaming, streaming audio/video, VoIP Enables software to automatically setup and configure the NAT and Firewall End user no longer needs to configure network Service Provider Benefits: Eliminates support calls for NAT, firewall, gaming configuration Enables customer self-provisioning for enhanced services Reduces barriers to deploy voice, video, gaming, etc. Application re-configures, Internet Gateways, NAT and Firewall on a per- call basis Internet
72
All rights reserved by Assistant Professor Wen-Tsung Lin. 72 Audio & Video Example Media Server 1.Discovery of devices and services 2.Browsing of content 3.Selection of streaming protocols 4.Streaming and Playback (out of band*) CDs, DVDs, Flash Cards Local Content End User Benefits: Discover A/V content on all UPnP devices and PCs and share across home network Stream content easily from any device to any device on home network Control point offers rich, easy to use interface for creating and managing media Supports DVD, CD, play list, photo album, live broadcast, etc Manufacturer and Service Provider Benefits: Highly extensible – any data type, any transfer protocol, any combination of server, render, and control point Highly scalable – ultra low resource devices (cameras, EPF) up to high-end servers (PCs, media servers, Internet, broadcasts, PVR). Stereo TV Picture Frame Remote Control * Out of band = not UPnP Constrained UPnP devices added to network and discovers media content
73
All rights reserved by Assistant Professor Wen-Tsung Lin. 73 End User Benefits No need to install or share printer on the PC or and manually connect all devices to the network (no networking knowledge needed) Automatically discover printer/scanner and no need to search for new imaging devices added to the network. Manufacturer and Retailer Benefits Reduce customer and service support with driver questions and how to network printer on home network Ability to print and scan from an extended range of devices not support previously (Pocket PCs, Cell Phones, Web Tablets) UPnP Imaging Example UPnP Network Plug Printer/Scanner directly into any available network port Imaging devices are discovered and can immediately be used (no drivers or setup needed) New wireless devices enter network and have instant access to printer/scanner WiFi (802.11b)
74
All rights reserved by Assistant Professor Wen-Tsung Lin. 74 End User Benefits Customizable and easy control of heating, venting, AC unit, motion sensors, lighting and security (personal environment presets) Save money on energy bills (set temperature automatically from occupancy or depending on outside temperature) Synchronize home settings with PC programs (Outlook calendar, Internet weather) Enable secure remote access into the home via the Internet and control UPnP devices. Manufacturer and Retailer Benefits UPnP enabled automation systems add much more functionality over existing proprietary control panels (more desirable over existing technology) New opportunities for manufacturers to extend additional features available to the PC, Internet, or other devices (more revenue with new business models, software and service offerings) UPnP Automation Example HVAC Unit Thermostat UPnP Network UPnP bridge connects non-UPnP devices to network Synchronize temperature settings with Outlook, the Internet (a weather web site) or other UPnP devices (UPnP alarm clock ) Use wireless device (Pocket PC) to control HVAC system from anywhere in the home
75
All rights reserved by Assistant Professor Wen-Tsung Lin. 75 Benefits of UPnP Widely supported networking specification No device configuration, just Plug and Play Small footprint software component on the device Utilizes standard Internet protocols to talk to LAN Independent of OS, language, or physical connectivity Robust and dependable Growing value of UPnP logo UPnP simplifies device connectivity for makers and users of devices Advantages
76
All rights reserved by Assistant Professor Wen-Tsung Lin. 76 UPnP is Cost Effective Lightweight by Today’s Standards TCP/IP stack is about 35K bytes of x86 code and 29K gates Embedded HTTP Web server is about 25K bytes of x86 code and 64K gates An entire OS can fit into one Read Only Memory (ROM) No Royalties for Basic UPnP Interoperability Other proprietary solutions require significant royalties UPnP Enables Remote User Interface Via Browser Cheaper than integrated LCD panels and keypads Authored with HTML, XML, and scripting For Appliances and Smart Objects Advantages
77
All rights reserved by Assistant Professor Wen-Tsung Lin. 77 Bottom Line Impact Improve customer experience = repeat sales Enhance interop between your devices and others Expand relationships with other Forum members Reduce $$ spent on customer support Reduce your time to market UPnP adds value to your bottom line Improving Your Business
78
All rights reserved by Assistant Professor Wen-Tsung Lin. 78 UPnP Control Point vs. Device Three Classes of UPnP Entity User Control Point Controlled Device Bridge Controlled Device User Control Point User Control Point Controlled Device Bridge Non-UPnP Device How UPnP Works
79
All rights reserved by Assistant Professor Wen-Tsung Lin. 79 Steps to UPnP Networking 0 Control point and device obtain an address to participate in the network 1 Control point finds all devices and device advertises its availability 2Control point learns about device capabilities 3 Control point invokes actions on device 4 Control point listens to state changes of device 5 Control point controls device and/or views device status using an HTML UI 0 Addressing 1 Discovery 2 Description 5 Presentation 4 Eventing 3 Control How UPnP Works
80
All rights reserved by Assistant Professor Wen-Tsung Lin. 80 UPnP Architecture 0 Addressing 1 Discovery 2 Description 5 Presentation 4 Eventing 3 Control UPnP Network Search Request Device Reply How UPnP Works Discovery: SSDP
81
All rights reserved by Assistant Professor Wen-Tsung Lin. 81 UPnP Architecture 0 Addressing 1 Discovery 2 Description 5 Presentation 4 Eventing 3 Control UPnP Network Device Advertisement How UPnP Works Discovery: SSDP
82
All rights reserved by Assistant Professor Wen-Tsung Lin. 82 Description: XML 0 Addressing 1 Discovery 2 Description 5 Presentation 4 Eventing 3 Control UPnP Network Get Description Device Description XML Document UPnP Architecture How UPnP Works
83
All rights reserved by Assistant Professor Wen-Tsung Lin. 83 Control: SOAP 0 Addressing 1 Discovery 2 Description 5 Presentation 4 Eventing 3 Control UPnP Network Action: SetPowerOn Action Result VCR Turns On UPnP Architecture How UPnP Works
84
All rights reserved by Assistant Professor Wen-Tsung Lin. 84 Eventing: GENA 0 Addressing 1 Discovery 2 Description 5 Presentation 4 Eventing 3 Control UPnP Network Subscribe UPnP Architecture How UPnP Works
85
All rights reserved by Assistant Professor Wen-Tsung Lin. 85 UPnP Architecture 0 Addressing 1 Discovery 2 Description 5 Presentation 4 Eventing 3 Control UPnP Network Action: SetPowerOn Notify: PowerOn = True VCR Turns On Eventing: GENA How UPnP Works
86
All rights reserved by Assistant Professor Wen-Tsung Lin. 86 UPnP Architecture UPnP Architecture 0 Addressing 1 Discovery 2 Description 5 Presentation 4 Eventing 3 Control UPnP Network HTML UI Get Presentation Web Browser How UPnP Works Presentation: HTML
87
All rights reserved by Assistant Professor Wen-Tsung Lin. 87 Control & Eventing Networking stack Discovery server Description server Presentation server Control & Eventing Services IP TCPUDP HTTPMUHTTP Discovery Presentation Description Anatomy of a UPnP Device How UPnP Works
88
All rights reserved by Assistant Professor Wen-Tsung Lin. 88 Microsoft Windows® UPnP Support Windows ME First operating system to include UPnP support Control Point API Rich set of interfaces for discovering, controlling and receiving events from devices. Shell integration UPnP device icons displayed in My Network Places folder Double clicking on the device permits Web-based control Windows XP Expands UPnP support beyond Windows ME Provides UPnP-enabled NAT traversal support Complements other extensive home networking support How UPnP Works
89
All rights reserved by Assistant Professor Wen-Tsung Lin. 89 Windows UPnP Users Interface How UPnP Works
90
All rights reserved by Assistant Professor Wen-Tsung Lin. 90 Non-profit industry standards consortium Framework for efficient industry collaboration Develop Device Control Protocols (DCPs) for a broad class of devices Provide for the test qualification and interoperability of UPnP devices A market development organization Promotion, evangelism and marketing activities to promote UPnP brand recognition worldwide Pragmatic Open to all No cost to participate in Forum Simple intellectual property policies The UPnP Forum UPnP Forum
91
All rights reserved by Assistant Professor Wen-Tsung Lin. 91 UPnP Resources – Tool kits to build products UPnP Forum www.upnp.org Allegro Software www.allegrosoft.com Gatespace www.gatespace.com Intel www.intel.com/ial/upnp Metro link www.metrolink.com Microsoft www.microsoft.com/hwdev/upnp www.microsoft.com/homenet Virata www.virata.com/products/upnp.htm Advantages
92
All rights reserved by Assistant Professor Wen-Tsung Lin. 92 Universal Plug and Play Forum Steering Committee Provide leadership Introduce working groups, appoint chairpersons, and monitor progress Help accelerate schedules and resolve any working committee logjams Approve standardization of device schema submitted by working groups Working Groups Groups consist of: A/V, Appliances, Home Automation & Security, Imaging, and Internet Gateway Create device schema Submit device schema for standardization Participant Roles UPnP Forum
93
All rights reserved by Assistant Professor Wen-Tsung Lin. 93 Universal Plug and Play Forum Technology Committee Works directly with the various working groups to produce efficient standards for each class of device Assists in the development and guidance of developing UPnP technology for new working groups Marketing Committee Builds the brand of UPnP for logo’s products Creates programs for UPnP Forum Member companies to become involved through various activities. UPnP Forum Participant Roles
94
All rights reserved by Assistant Professor Wen-Tsung Lin. 94 Discovery
95
All rights reserved by Assistant Professor Wen-Tsung Lin. 95 Discovery: Protocol stack
96
All rights reserved by Assistant Professor Wen-Tsung Lin. 96 Discovery: Protocol stack
97
All rights reserved by Assistant Professor Wen-Tsung Lin. 97 Description
98
All rights reserved by Assistant Professor Wen-Tsung Lin. 98 Description: Protocol stack
99
All rights reserved by Assistant Professor Wen-Tsung Lin. 99 Control
100
All rights reserved by Assistant Professor Wen-Tsung Lin. 100 Control: Protocol stack
101
All rights reserved by Assistant Professor Wen-Tsung Lin. 101 Eventing
102
All rights reserved by Assistant Professor Wen-Tsung Lin. 102 Eventing: Protocol stack
103
All rights reserved by Assistant Professor Wen-Tsung Lin. 103 Presentation
104
All rights reserved by Assistant Professor Wen-Tsung Lin. 104 Presentation: protocol stack
105
UPnP AV Architecture
106
All rights reserved by Assistant Professor Wen-Tsung Lin. 106 Introduction This document describes the overall UPnP AV Architecture, which forms the foundation for the UPnP AV Device and Service templates. The AV Architecture defines the general interaction between UPnP Control Points and UPnP AV devices. It is independent of any particular device type, content format, and transfer protocol. It supports a variety of devices. The following sections describe the AV Architecture and how the various UPnP AV devices and services work together to enable various end-user scenarios.
107
All rights reserved by Assistant Professor Wen-Tsung Lin. 107 Goals To support arbitrary transfer protocols and content formats. To enable the AV content to flow directly between devices without any intervention from the Control Point. To enable Control Points to remain independent of any particular transfer protocol and content format. This allows Control Points to transparently support new protocols and formats. Scalability, i.e. support of devices with very low resources, especially memory and processing power as well as full-featured devices.
108
All rights reserved by Assistant Professor Wen-Tsung Lin. 108 Overview (I)
109
All rights reserved by Assistant Professor Wen-Tsung Lin. 109 Overview (II)
110
All rights reserved by Assistant Professor Wen-Tsung Lin. 110 Playback architecture
111
All rights reserved by Assistant Professor Wen-Tsung Lin. 111 Playback architecture (cont’d) Media Server Content Directory Service ConnectionManager Service (Optional) AVTransport Service(Optional) Media Renderer RenderingControlService ConnectionManager Service AVTransport Service (Optional) Control Point
112
Conclusion
113
All rights reserved by Assistant Professor Wen-Tsung Lin. 113 Conclusions DLNA guidelines architecture device model UPnP device architecture SSDP GENA SOAP HTTP UPnP AV architecture
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.