DLNA 數位生活網路介紹 林文宗博士 明新科技大學資訊管理學系助理教授 清華大學自強工業基金會通訊類講師 工研院資通所無線通訊技術組顧問

Slides:



Advertisements
Similar presentations
Fall VoN 2000 SIP for IP Communications Jonathan Rosenberg Chief Scientist.
Advertisements

OneBridge Mobile Data Suite Product Positioning. Target Plays IT-driven enterprise mobility initiatives Extensive support for integration into existing.
UPnP AV WC Status Update (UPnP Summit 2003) John Ritchie – Intel Geert Knapen – Philips UPnP AV Co-chairs.
UPnP* AV: Easy Sharing of Digital Media Joe C. Pitarresi Business Development Intel Research & Development.
Lesson 01: The Digital Experience  Transition from traditional devices to multipurpose digital devices. Wired phones move to cell phones and now smart.
Digital Living Network Alliance: Building out the Digital Network Bob Taylor Member, DLNA Board of Directors March 2006.
Audio Video Update John Ritchie Intel Co-Chair Audio Video Committee.
Which server is right for you? Get in Contact with us
B. Fairman Sony US Advanced Technologies Center 1 Ubiquitous Video W3C Video on the Web Workshop
Windows OS support of UPnP Peter K. Jarvis UPnP Group Program Manager Microsoft Corporation.
Internet Gateway Device (IGD)
A New Computing Paradigm. Overview of Web Services Over 66 percent of respondents to a 2001 InfoWorld magazine poll agreed that "Web services are likely.
UPnP Device Management Andre Bottaro France Telecom Group UPnP DM co-chairman End User Device Management panel Sunday, January 11th, 2009 CCNC'09.
© 2009 Research In Motion Limited Methods of application development for mobile devices.
Virtual Meetings Increasing Collaboration While Reducing Costs and Ensuring Business Continuity Ram Narayanaswamy CTO 8x8, Inc.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
教育部顧問室 資通訊人才培育先導型計畫 寬頻有線教學推動聯盟中心 「多媒體數位家庭網路」課程 課程主持人:中華大學 資訊工程學系 劉懷仁 歡迎蒞臨指導.
DAKNET Presented By: rreema.
Printing & Imaging Update John Ritchie Intel Staff Engineer.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
Packetizer ® Copyright © 2009 H.325: An Application Platform A Closer Look at the “Container” Paul E. Jones Rapporteur Q12/16 April 7,
Application Standards for ‘Push’ Content and Streaming Media Hadi Partovi Microsoft Corporation.
Title goes here in Frutiger Bold, 25 points Subhead if any goes here in Frutiger Roman, 20 points Bullet copy in Frutiger Bold, 18 points Product Opportunities.
POLYCOM CONFIDENTIAL Polycom enables Alcatel Instant Video Solution by combining the power Alcatel IP Telephony with Polycom Unified Collaboration Solutions.
Partnering for Innovation Dr. Götz-Philip Brasche ATC 2005, Stockholm, October 18, 2005 Intelligent Web Services for Networked Home Environments.
Windows XP Home Networking Scott Manchester Technical Evangelist Home Networking.
Consumer Technologies For Windows ® Carl Stork General Manager Windows Operating System Division Microsoft Corporation.
Communications & Data Services The Evolution of Communications Cathy Avgiris EVP/GM May 10, 2012.
Windows Internet Connection Sharing Dave Eitelbach Program Manager Networking And Communications Microsoft Corporation.
1 Outlook Lesson 1 Outlook Basics and Microsoft Office 2010 Introductory Pasewark & Pasewark.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Two Deploying Windows Servers.
Introduction to Universal Plug and Play Modified by 강병우 Making the Dream a Reality.
Advanced Access Content System (AACS) Industry Briefing July 14, 2004.
MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective.
DLNA Confidential Who Owns the Home Network? Glen Stone Director, Standards & Strategy Sony Electronics Inc. Chair: DLNA Technical Committee Glen Stone.
Home API A Network-Independent Home Control Architecture Maurice Bizzarri Software Director Business Line Interconnectivity Philips Semiconductors.
Packetizer ® Copyright © 2008 H.325 Beyond Today’s Second Generation Systems Paul E. Jones Rapporteur, ITU-T Q12/16 1.
Mobile data. Introduction Wireless (cellular) communications has experienced a tremendous growth in this decade. Most of the wireless users also access.
Chapter 6 Configuring Windows Server 2008 Printing
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Microsoft Active Directory(AD) A presentation by Robert, Jasmine, Val and Scott IMT546 December 11, 2004.
Lector: Aliyev H.U. Lecture №15: Telecommun ication network software design multimedia services. TASHKENT UNIVERSITY OF INFORMATION TECHNOLOGIES THE DEPARTMENT.
DLNA 數位生活網路介紹 明新科技大學資訊管理學系助理教授 清華大學自強工業基金會通訊類講師 工研院資通所無線通訊技術組顧問 麟瑞科技顧問 & 摩鐵科技顧問 林文宗博士 URL:
WWSMM 2000 Next Generation Networking Device Ecosystem Jawad Khaki Corporate Vice President Windows Networking & Communications.
IT in Business Essentials of the Internet and World Wide Web.
IETF-50 UPnP Update Prakash Iyer Intel Corporation
Implementing Universal Plug And Play In Smart Objects And Intelligent Appliances Bengt Christensson CTO Axis Communications.
Copyright © 2004 by The Web Services Interoperability Organization (WS-I). All Rights Reserved 1 Interoperability: Ensuring the Success of Web Services.
Approaches to Home Connectivity T Research Seminar on Telecommunications Business Marko Berg.
DLNA Technology Kevin Liu Advisor Hsing Mei Web Computing Laboratory Graduate Institute of Applied Science and Engineering, Fu Jen Catholic University.
Computer Emergency Notification System (CENS)
MediaServer:1 Device Template Version 1.01 Date: June 25, 2002 For UPnP™ Version 1.0 Status: Standardized DCP File from: MediaServer1.0.pdf Author: John.
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
UPnP Introduction 教授 : 逄愛君 組員 : 資訊三 張弘霖 資訊四 陳錦翰 資訊四 蔡旻諧.
區域網路系統 明新技術學院資訊管理學系專任助理教授 工研院電通所無線通訊技術組顧問 清華大學資訊工程學系博士 林文宗博士 or
CES 99 Craig Mundie Senior Vice President Consumer Strategy Microsoft Corporation.
INTERNET. Objectives Explain the origin of the Internet and describe how the Internet works. Explain the difference between the World Wide Web and the.
Microsoft Confidential 1 WWSMM 2000 Next Generation Networking Device Ecosystem Shunichi Kajisa ( 加治佐 俊一 ) Director East Asia Windows Division Microsoft.
Internet of Things. IoT Novel paradigm – Rapidly gaining ground in the wireless scenario Basic idea – Pervasive presence around us a variety of things.
REST By: Vishwanath Vineet.
Providing web services to mobile users: The architecture design of an m-service portal Minder Chen - Dongsong Zhang - Lina Zhou Presented by: Juan M. Cubillos.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Sharing makes life beautiful ARKUDA STB SOLUTION.
History of Windows Operating System. Windows 1.0 Debuted in 1985 First version of Windows that was set up to use bitmap displays and mouse pointing devices.
HP Network and Service Provider Business Unit Sebastiano Tevarotto February 2003.
1 ISO/IEC VHN (Versatile Home Network) Real Time Systems Lab. Myung Jin, Lee [Reference] ISO/IEC JTC 1/SC 25 WG 1 N1140a - Interconnection of Information.
Tailor slide to customer industry/pain points
IMS & Wireline to Wireless Convergence
Introducing MagicInfo 6
Presentation transcript:

DLNA 數位生活網路介紹 林文宗博士 明新科技大學資訊管理學系助理教授 清華大學自強工業基金會通訊類講師 工研院資通所無線通訊技術組顧問 麟瑞科技顧問 & 摩鐵科技顧問 林文宗博士 E-mail: wtlin@must.edu.tw URL: http://wtlin.csie.must.edu.tw/

All rights reserved by Assistant Professor Wen-Tsung Lin. Agenda DLNA introduction DLNA home network architecture DLNA Device Model Guideline Terminology and Conventions UPnP Conclusion All rights reserved by Assistant Professor Wen-Tsung Lin.

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/ All rights reserved by Assistant Professor Wen-Tsung Lin.

Digital Living Network Alliance 影片介紹 DLNA introduction Digital Living Network Alliance 影片介紹

All rights reserved by Assistant Professor Wen-Tsung Lin. DLNA 源起 All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. The DLNA Visions All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Home Network All rights reserved by Assistant Professor Wen-Tsung Lin.

Digital Content Access All rights reserved by Assistant Professor Wen-Tsung Lin.

Accessing content with a mobile device All rights reserved by Assistant Professor Wen-Tsung Lin.

A Connected Environment PCs, appliances, and services interconnect Technologies converge, devices don’t Services We all want our own information to follow us from place to place and device to device These devices and services needs to be connected The Internet Protocol (IP) platform will deliver all of the services and applications for voice, video, and data to a wide range of intelligent devices The key will be to make the devices, easy to use, to manage and aware of who the user is   There are several different categories, where we can combine devices and the services of those traditional devices In the entertainment cluster, you can essentially see a blending between the multimedia capabilities of the computer and the traditional video and audio capabilities of the entertainment environment Focusing on communication, you can see an exchange of information between devices, whether they’re auto PCs or telephones or cell phones or paging devices, and the traditional form of personal computer There is an environment emerging today where the technologies that people use to implement all these things actually converge. The devices themselves can actually converge Cell phone used as a browser PDA becoming cell phone Cell phone becoming PDA One network can run several types of services Vo DLS Vo IP Multimedia information All rights reserved by Assistant Professor Wen-Tsung Lin.

Interest in Networking Entertainment Content All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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 All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Consumer Challenges 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. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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 All rights reserved by Assistant Professor Wen-Tsung Lin.

DLNA Interoperability Guidelines All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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. All rights reserved by Assistant Professor Wen-Tsung Lin.

Functional Components & Technology Ingredients All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Strategy To deliver interoperability in the digital home, DLNA has focused on three key elements. Industry collaboration Standards-based interoperability Compelling products All rights reserved by Assistant Professor Wen-Tsung Lin.

The DLNA Guidelines Creation Process All rights reserved by Assistant Professor Wen-Tsung Lin.

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 All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. DLNA Media Formats All rights reserved by Assistant Professor Wen-Tsung Lin.

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. All rights reserved by Assistant Professor Wen-Tsung Lin.

DLNA home network architecture

DLNA Home Network Architecture All rights reserved by Assistant Professor Wen-Tsung Lin.

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 All rights reserved by Assistant Professor Wen-Tsung Lin.

DLNA Device Model

All rights reserved by Assistant Professor Wen-Tsung Lin. 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 All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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. All rights reserved by Assistant Professor Wen-Tsung Lin.

DLNA Device Model Terms Hierarchy All rights reserved by Assistant Professor Wen-Tsung Lin.

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. All rights reserved by Assistant Professor Wen-Tsung Lin.

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). All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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]. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 裝置種類 裝置種類是用系統用法分享普通的環境特性 (需求)的一個裝置班級的配列. 家庭網路裝置 (HNDs) 移動的手提裝置(MHDs) 家庭下層構造裝置 (HID) All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 數位媒體伺服器(DMS) (HND) the 2-Box Pull System Usage 數位媒體播放器(DMP) (HND) 數位媒體發訊器(DMR) (HND) 數位媒體控制器(DMC) (HND) 數位媒體印表機(DMPr) (HND) 移動的數位媒體伺服器(M-DMS) 移動的數位媒體播放器(M-DMP) 移動的數位媒體上傳(M-DMU) 移動的數位媒體下載(M-DMD) 移動的數位媒體控制人員(M-DMC) All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 裝置能力和角色(II) 推動控制人員(+PU+) 推動當地內容到 DMR. 印刷控制人員-1 (+PR1+) 控制 DMPr 列印影像內容. 印刷控制人員-2 (+PR2+) 一個上傳控制人員(+UP+) 將內容送到 DMS 或 M-DMS 確認上傳. 一個下載控制人員(+DN+) 本身下載來自 DMS 或 M-DMS的內容. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 系統用法 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 All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 2-Box Pull System Usage 1.喚起 UPnP 行動瀏覽而且選擇內容. 2.請求錄音內容再生. 3.運送內容到 DMP 或 M-DMP. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 2-Box Push System Usage 1.喚起 UPnP 行動建立錄音再生會議. 2.請求錄音內容再生. 3.運送內容到 DMR. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 3-Box System Usage 1.喚起 UPnP 行動瀏覽而且選擇內容. 2.喚起 UPnP 行動查證 DMR 有能力提出挑選的內容然後建立一個為連接DMR 和 DMS 之間挑選的內容或 M-DMS. 3.請求錄音內容再生. 4.運送內容到 DMR. All rights reserved by Assistant Professor Wen-Tsung Lin.

2-Box Printing System Usage 1.喚起對 DMPr 的 UPnP 行動藉由提供網址開始印刷工作XHTML-印刷的文件. 2. DMPr 獲得來自印刷控制人員 -1 的 XHTML-印刷的文件. 3. DMPr 請求來自印刷控制人員 1 的影像內容. 4.印刷控制人員 1 以影像內容回應 . All rights reserved by Assistant Professor Wen-Tsung Lin.

3-Box Printing System Usage 1.喚起 UPnP 行動到 瀏覽而且選擇影像 內容. 2.為此準備網址 挑選的影像內容 而且在 XHTML-印刷的參考網址証明. 3.在 DMPr 上喚起 UPnP 行動藉由提供網址給 XHTML-印刷的文件開始印刷工作. 4. DMPr 獲得來自印刷控制人員 -2 的 XHTML-印刷的文件. 5. DMPr 請求來自 DMS 或 M-DMS 的影像內容. 6. DMS 或 M-DMS 以影像內容回應. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Download System Usage 1.喚起 UPnP 行動發現滿足的下載. 2.請求需要被下載的內容. 3.運送內容到下載控制人員或 M-DMD. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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. All rights reserved by Assistant Professor Wen-Tsung Lin.

Home Infrastructure Device (HID) System Usage (I) 2-Box Pull System Usage Interaction Model Between Device Categories All rights reserved by Assistant Professor Wen-Tsung Lin.

Home Infrastructure Device (HID) System Usage (II) M-NCF Bridging the Network Connectivity gap between MHD and HND Device Categories All rights reserved by Assistant Professor Wen-Tsung Lin.

Home Infrastructure Device (HID) System Usage (III) Media Interoperability Between Device Categories All rights reserved by Assistant Professor Wen-Tsung Lin.

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. All rights reserved by Assistant Professor Wen-Tsung Lin.

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. All rights reserved by Assistant Professor Wen-Tsung Lin.

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. All rights reserved by Assistant Professor Wen-Tsung Lin.

Guideline Terminology and Conventions DLNA XML Namespaces & Schemas All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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 All rights reserved by Assistant Professor Wen-Tsung Lin.

UPnP

All rights reserved by Assistant Professor Wen-Tsung Lin. 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. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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 All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Introduction Our vision of ubiquitous or pervasive computing is captured by the following quote from the IEEE Pervasive Computing Magazine… All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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 All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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 All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Protocol Stack All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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 All rights reserved by Assistant Professor Wen-Tsung Lin.

A Connected Environment PCs, appliances, and services interconnect Technologies converge, devices don’t Services We all want our own information to follow us from place to place and device to device These devices and services needs to be connected The Internet Protocol (IP) platform will deliver all of the services and applications for voice, video, and data to a wide range of intelligent devices The key will be to make the devices, easy to use, to manage and aware of who the user is   There are several different categories, where we can combine devices and the services of those traditional devices In the entertainment cluster, you can essentially see a blending between the multimedia capabilities of the computer and the traditional video and audio capabilities of the entertainment environment Focusing on communication, you can see an exchange of information between devices, whether they’re auto PCs or telephones or cell phones or paging devices, and the traditional form of personal computer There is an environment emerging today where the technologies that people use to implement all these things actually converge. The devices themselves can actually converge Cell phone used as a browser PDA becoming cell phone Cell phone becoming PDA One network can run several types of services Vo DLS Vo IP Multimedia information All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Simplicity Connectivity Tough problems… Reliability Privacy The Reality Community The reality that we face today is that there are some really tough problems Connectivity. The real improvement comes not from making any one of these devices smarter, but also by making them work with each other. Yet connectivity has become a fairly complicated technical problem. Today in the corporate environment, where people run big networks, certainly in the public network and Internet arena, it’s a very daunting path technologically and operationally to put together and administer these networks. So, if we talk about having literally tens or hundreds of devices in the home that are networked together, we need to come up with some new strategy, because it’s not going to be viable, even for those of us who have teenagers, to assume that they’re going to be the IT manager for the home and administer our network. Simplicity – We are going to have to use the computers and their capability to not only enhance the service that the device provides, but to do it in a way where it’s intuitive to use it, and very straightforward to adapt to it. Reliability – As we become increasingly dependent on all forms of utilities and, in fact, as computing itself perhaps becomes in that class of utilities, it has to be a reliable utility. That requires a level of engineering that we perhaps haven’t achieved up to this point. Privacy – As we put all of our personal information into these devices and depend on them to live our lives, privacy issues will continue to be an issue. Of course, in a network environment, privacy becomes even more challenging. Making it Meaningful to the Consumer – Research indicates that some areas that customers are interested in include products which increase personal security, communications tools, community enhancing products like web sites and bulletin boards, and products which make life more convenient. It seems as if much of our technology is going to be put to use to link everyone together in new and meaningful ways, just as the telephone linked families, friends and businesses over 100 years ago. Convenience Making it meaningful to consumers? Communication Personal security All rights reserved by Assistant Professor Wen-Tsung Lin.

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 This vision implies a network unified around IP based on UPnP. The network will have to be very simple to use and configure. You will need to be able to just plug a device into a socket – whether that’s power, phone, ethernet or some other medium doesn’t really matter – and have the device automatically attach to the network, and find and use services on the network. The services provided through the network will come in two flavors – private family services, like the calendar, finance, etc and services that are provided across the public internet such as email. Devices Just “Work” When They are Connected All rights reserved by Assistant Professor Wen-Tsung Lin.

Powerful, Invisible networking! 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 Complex networking! Powerful, Invisible networking! Internet Internet HomePNA* The dream behind home networking is to make it easy for the consumer and remove issues such as interoperability, multiple standards, network administration, etc. Thus, UPnP makes the different standards of home networking invisible to consumers and removes the headaches of interoperability and complexity of connecting multiple technologies. Without UPnP, we have a powerful but complex infrastructure, as pictured on the left, over various networking topologies (powerline, wireless, phoneline, IEEE 1394, and Cat. 5 cable) which require some advanced network administration to use and maintain the network. With UPnP the network becomes simple and the transport medium becomes invisible to the consumer (pictured right). UPnP is physical layer independent and will work with all standards of technology. Just plug a device into a socket, (whether that is power, phone, Ethernet or some other medium, it doesn’t really matter) Then the device will automatically attach to the network and to find and use services on the private family services (like the calendar, finance, etc.) and services that are provided across the public Internet such as email. PowerLine UPnP Network 802.11 Bluetooth* 1394 All rights reserved by Assistant Professor Wen-Tsung Lin.

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 The Universal Plug and Play Forum Defines UPnP Device and Service Descriptions according to a common device architecture contributed by Microsoft It is a group of companies that intend to play a leading role in the authoring of specifications of UPnP devices and services UPnP Standard The solution that the UPnP standard drives is leveraging the success and technology of the Internet Any computer can use the Internet regardless of operating system Any one browser could control any device. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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 UPnP is a protocol for data transmission UPnP does not move byte codes, ActiveX controls, … UPnP only requires version-compatibility at protocol level, not at programming environment / language / run-time / OS level UPnP does not introduce the kind of security issues that come from having to trust code (e.g., unauthorized access, unreasonable resource allocations, …) UPnP keeps implementation of protocol private. UPnP does not require vendors to develop on a specific OS, language, hardware. Those are vendor decisions and are completely transparent to the protocol. UPnP allows vendors to leverage Moore's law and their own engineering advances to build ever more efficient / capable / cost-effective solutions without affecting interoperability. UPnP does require agreeing on the meaning and format of the data transmitted Basis for this agreement is existing and proposed W3C and IETF Internet protocols. Domain- and device-specific agreement driven through the UPnP Forum. All rights reserved by Assistant Professor Wen-Tsung Lin.

Business Opportunities: Huge Growth! Source: Cahners-Instat 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 Huge Growth The emergence of new technologies such as non-PC devices has driven the technology market Smart technologies will combine with home networking to provide consumers with more control over their everyday lives The explosive growth in Internet usage has already surpassed any trend before seen in human history In the future, as broadband deployments become commonplace, user interaction with the Internet will grow richer, deeper and more frequent All rights reserved by Assistant Professor Wen-Tsung Lin.

UPnP Residential Gateway Example IP telephony application listens for incoming calls Internet Application re-configures, Internet Gateways, NAT and Firewall on a per-call basis 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. Most gateways today employ a specific technology that allows a single Internet connection to be shared by multiple computers in the home. NAT (network address translation) enables multiple computers over the same internet connection share files and the same connection. Applications that play each other on the same network have run into problems when talking to each other over the internet. For multi-player games, Internet telephony, Voice over IP applications (among others) to correctly traverse the NAT gateway, consumers must use web browsers and other tools and be knowledgeable about networking and gateway configurations. UPnP-enabled Internet gateways and UPnP support in Windows XP will enable multiple PCs and devices to share a single public IP address on a small network without encountering the configuration problems commonly confronted by home users today. Most broadband providers to homes supply a single IP address, UPnP enables individual applications to automatically navigate the gateway From a service provider perspective, less consumer confusion on getting these applications to work properly means less time and money spent on service calls and support. Also, the ease of use of these services will increase their popularity and over deployment amongst the consumer population. All rights reserved by Assistant Professor Wen-Tsung Lin.

UPnP devices added to network and discovers media content Audio & Video Example Discovery of devices and services Browsing of content Selection of streaming protocols Streaming and Playback (out of band*) CDs, DVDs, Flash Cards TV Picture Frame Remote Control Local Content Media Server UPnP devices added to network and discovers media content Stereo 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). UPnP allows the discovery of multiple A/V devices on the home network over multiple physical connections (IEEE 1394, USB, Bluetooth, 802.11, Ethernet, etc.). UPnP also uses meta-data and content services to discover multimedia content and allows playing the content from device to device within the home. Consumers can view their digital photos in the family room, on the big screen TV or listen to their MP3s on the house stereo system instead of the PC speakers. In combination with UPnP enabled residential gateway’s, these various A/V devices can now also subscribe to web entertainment services, such as internet radio, and stream the content to multiple devices in the home. UPnP A/V supports all media types and content, and A/V devices can either render content (display the content), content server (store and edit the content), or control point (play, fast forward, adjust settings, etc). Manufacturer and service provider benefits UPnP gives the manufacturer and service provider the most flexibility and security for multimedia digital files including music, movies, and pictures to name a few. The UPnP solution is a low cost implementation to a potentially high cost alternative in development for a proprietary system. All rights reserved by Assistant Professor Wen-Tsung Lin. * Out of band = not UPnP Constrained

All rights reserved by Assistant Professor Wen-Tsung Lin. UPnP Imaging Example Imaging devices are discovered and can immediately be used (no drivers or setup needed) Plug Printer/Scanner directly into any available network port UPnP Network New wireless devices enter network and have instant access to printer/scanner WiFi (802.11b) 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) Sharing printers is common in home networking, and with UPnP it removes the headaches of having to install print support drivers on all the PCs on the home network. Also, when adding a new PC to the network (such as a work laptop or iPAQ), it will automatically discover the printer or scanner and will have access to its services without any need for configuration. With an UPnP enabled printer or scanner, you can now have access to these services from a new set of devices (cell phones, PDAs, Web Tablets, Game consoles, etc.) that previously weren’t directly connected to a print or scan service. Currently, going through each network printer, you have to install and finalize the set-up process for adding a printer to the network. With UPnP this is removed, creating ease-of-use scenarios and better consumer experience. All rights reserved by Assistant Professor Wen-Tsung Lin.

UPnP bridge connects non-UPnP devices to network UPnP Automation Example Synchronize temperature settings with Outlook, the Internet (a weather web site) or other UPnP devices (UPnP alarm clock) HVAC Unit Thermostat UPnP Network UPnP bridge connects non-UPnP devices to network Use wireless device (Pocket PC) to control HVAC system from anywhere in the home 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 offers great benefits in the area of Home Automation and Security since there are multiple proprietary solutions out there and interoperability is low. With UPnP, devices from various vendors will interoperate with one another and allow control of the house from multiple control points (internet appliances, wireless devices, PC, control panels, etc.). The consumer can also automate multiple settings, such as “at Home” or “at Work”, in which case the house will adjust the temperature, turn security system on/off, dim the lights, turn on the washer or dryer, make sure stove is turned off, etc. The control of these appliances is done through UPnP. UPnP also allows different web services such as weather and traffic report to integrate within the home and adjust and automatically control devices within the home. For example, if there is a traffic delay en route to work, the PC can detect this and through UPnP adjust the water heater to start earlier, adjust the alarm on you clock for a new wake-up time, and adjust the house temperature. The security camera and motion sensors detect that you have left the house and then sets the alarm to ON, turns the coffee maker off, and makes sure the door is locked. For manufacturers and installers, UPnP removes the headaches of interoperability of multiple devices, especially in the home automation space. You have a guarantee that UPnP-compliant devices will communicate with one another and allow control of multiple appliances, security devices, motion detectors, motors, and other automated products. Also, control of the devices is centralized through the control point and offers a rich user interface for consumers to set the desired living conditions in their homes. All rights reserved by Assistant Professor Wen-Tsung Lin.

UPnP simplifies device connectivity for makers and users of devices Advantages 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 utilizes existing internet protocols and the forum has over 400 industry members and partners, thus there is huge support for the specification. It is physical layer independent and uses TCP/IP for network communication. •UPnP-compliant devices require no device configuration, drivers, or network administration; just plug the device in to the home network via any connection and start using the device immediately. •UPnP has a small software footprint for people to add to their appliances or embedded devices and services. •UPnP uses TCP/IP for LAN communication and other existing standards, such as HTTP, GEMA, SOAP, SSDP,… •UPnP works on any hardware platform (ARM, XScale, x86, PowerPC,…), uses any OS (Linux, Windows, Wind River,…), and communicates across any physical LAN connection (power line, phone line, ethernet, 1394, wireless, USB, etc.) •UPnP-compliant devices are tested for reliability and interoperability before given the UPnP logo – making sure they pass the extensive UPnP specific testing. •Devices bearing the UPnP logo will represent easy-to-use devices with extended consumer benefits, thus the logo will further enhance and promote the product. In addition, the UPnP Forum and UPnP Forum member companies will continue to promote the benefits and awareness of UPnP across the industry and at events. UPnP simplifies device connectivity for makers and users of devices All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Advantages UPnP is Cost Effective For Appliances and Smart Objects 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 •UPnP doesn’t require much additional hardware resources, thus keeping price points low and not adding significant cost to making appliance and devices UPnP-compliant. UPnP SDKs and other UPnP components have small footprints and are optimized for devices which have limited memory space. •UPnP is an open standard and there are no royalties for use of UPnP. •The use of a control points allows a rich user interface for consumer to control the numerous devices. This can be beneficial in that it could replace the high cost and hardware complexity of adding LCD displays and numerous control buttons on the device itself. In addition, a single control point can become the real “universal remote” and replace the many remotes consumers have for each device in their home. The user interface is authored by a common and easily understandable language (HTML) and allows for vendor specific creative control of the UI (through HTML 3.0 supported scripting). All rights reserved by Assistant Professor Wen-Tsung Lin.

UPnP adds value to your bottom line Bottom Line Impact Improving Your Business 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 significantly improves the end user experience. This will in result increase sales of your products and other devices bearing the UPnP logo. The main limiter of home networking growth is the complexity of setting up a home network for your average customer, and through UPnP this barrier is removed and allows for more sales and money in the home networking market space. •With UPnP you are guaranteed that your device will be able to work and interoperate with other UPnP devices. This will remove the guess work of wondering what devices work with one another. •With ease of use and automatic/invisible configuration, the consumer will have little to no need for service support or question, thus reducing money spent by the manufacturer on technical support calls and service trips to fix simple, common problems. •With availability of multiple SDKs, end-to-end UPnP solutions, and UPnP silicon products, a manufacturer or service provider interested in adding UPnP can do it in no time. •Gain traction from the marketing activities and evangelism of the UPnP Forum and over 400 member companies in promotion of UPnP and the brand recognition that comes with it. Also, there are multiple engineering only plug-fest that will allow developers to test the interoperability of their products. UPnP adds value to your bottom line All rights reserved by Assistant Professor Wen-Tsung Lin.

UPnP Control Point vs. Device How UPnP Works UPnP Control Point vs. Device Three Classes of UPnP Entity User Control Point Controlled Device Bridge Non-UPnP Device User Control Point Controlled Device There are three major classes of UPnP devices. •UCP – User/Universal Control Point – this is a device, such as a PC or PDA, which allows for control of other UPnP devices through the presentation page and rich display. •Controlled Device – any UPnP device that allows control or provides some sort of UPnP service to the rest of the home network (such as IGDs, A/V devices, security cameras, etc.) •Bridge – connects non-UPnP devices to the home network; in essence it speaks UPnP on one end and some proprietary language on the other end (some examples include proprietary lighting control, bluetooth, HAVi, etc…) User Control Point Controlled Device Bridge All rights reserved by Assistant Professor Wen-Tsung Lin.

Steps to UPnP Networking How UPnP Works Steps to UPnP Networking 0 Addressing 1 Discovery 2 Description 5 Presentation 4 Eventing 3 Control Roadmap for the talk. Will successively describe how networking is built up from bottom to top. Will eventually describe how control, eventing, and presentation are loosely coupled. 0 Control point and device obtain an address to participate in the network 1 Control point finds all devices and device advertises its availability 2 Control 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 All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. How UPnP Works UPnP Architecture Discovery: SSDP 3 Control 4 Eventing 5 Presentation 2 Description 1 Discovery 0 Addressing SCENARIO – A control points enters the network and performs a search for UPnP devices and services. A search request is sent out for all UPnP devices using SSDP and then the devices reply to the Control Point. In addition, once a new UPnP device enters the network, it advertises its services to other UPnP devices and control points on the network. When a device joins the UPnP network, the DISCOVERY protocol allows the device to advertise its services to control points across the network; and allows a control point to search for available services. This is accomplished by sending out a multicast search message (HTTP over UDP over IP). Replies from devices are UNICAST. The multicast address, as well as the mechanism for advertising, searching, and revoking, are defined by the SSDP (Simple Services Discovery Protocol). All devices must listen to the standard multicast address for these messages and must respond if any of their embedded devices or services match the search criteria in the discovery message. UPnP Network Search Request Device Reply All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. How UPnP Works UPnP Architecture Discovery: SSDP 3 Control 4 Eventing 5 Presentation 2 Description 1 Discovery 0 Addressing The control point can refine the search to just look for devices of a particular type (such as audio devices), particular services (such as clock services) or even a particular device. For the device to be found, it must send a response to the source IP address and port that sent the request to the multicast channel. The Multicast channel is as follows– 239.255.255.250:1900 ST – Search Target – can search for all devices and services, or any subset of these (such as root device only, particular device UUID, deviceTypes, or serviceTypes) UPnP Network Device Advertisement All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. How UPnP Works UPnP Architecture Description: XML 3 Control 4 Eventing 5 Presentation 2 Description 1 Discovery 0 Addressing Device Description XML Document SCENARIO – Up until now, very little is known of the device and what it can do. So the control point wants to know more about the services offered by the device, it requests the description document that is in XML format. It is a document that describes the device and all its embedded devices, services supported by the device, manufacturer information, version of device, device web site, serial numbers, etc. Control Point requests the desc.xml documents using HTTP over TCP. Device runs standard HTTP server and serves up the XML document The message is divided into two logical parts: device description (physical containers) and service descriptions (capabilities) UPnP Network Get Description All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. How UPnP Works UPnP Architecture Control: SOAP 3 Control 4 Eventing 5 Presentation 2 Description 1 Discovery 0 Addressing VCR Turns On Action Result SCENARIO – The control point wants to control one or more services provided by the UPnP device. Through the use of SOAP it can query or change the elements in a service’s state table, such as turning the device on or controlling the volume. The control point creates the XML document that contains the commands and posts it to the control URL for the service. On the UPnP device side, the control server waits for the control requests, performs the request and adjusts the value of the state variable, and send acknowledgement to the control point. Control point can ask the services to invoke actions and the control point can poll those services for the values of the state variables. SOAP defines the use of XML and HTTP for remote procedure calls. UPnP uses SOAP to deliver control messages to devices and return results or errors back to control points. When a run-time variable changes, then an event is generated and is published to all interested control points. It is the services responsibility to keep an updated table of values such that when a control point polls the device, it can receive the proper information. Messages are formatted using SOAP header and body elements and the messages are delivered over HTTP – TCP – IP. UPnP Network Action: SetPowerOn All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. How UPnP Works UPnP Architecture Eventing: GENA 3 Control 4 Eventing 5 Presentation 2 Description 1 Discovery 0 Addressing SCENARIO – Once a device or control point subscribes to the services of an UPnP devices, it can stay informed of the state of those services offered by that device. Interested CP or UPnP devices subscribe to the device’s event notification service URL and are then notified by the UPnP device once the state of the services changes. For example, another control point or UPnP device turns the VCR (UPnP device) “ON”, it notifies all subscribed UPnP control points and devices of this action. All UPnP devices create subscription tables and are aware of devices and control points subscribing to its services. When the state variables are evented (some action performed on them), then the service publishes updates when the value changes. To subscribe, a control point sends a SUBSCRIPTION MESSAGE with a particular time and time to renew. UPnP Network Subscribe All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. How UPnP Works UPnP Architecture Eventing: GENA 3 Control 4 Eventing 5 Presentation 2 Description 1 Discovery 0 Addressing Action: SetPowerOn VCR Turns On Event messages contain the name of the state variable and the current value. An initial event subscription response includes all names and states of the variables so the control point can create its model. Can define state variables as non-evented and never send event notifications or filter the amount of event updates sent Delivered via HTTP with GENA extended headers and methods UPnP Network Notify: PowerOn = True All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. How UPnP Works UPnP Architecture Presentation: HTML 3 Control 4 Eventing 5 Presentation 2 Description 1 Discovery                                           0 Addressing HTML UI Web Browser SCENARIO – The user through the control point (PC or handheld device) requests the Presentation page of the device or service. This is done by clicking on the device link in “My Network Places.” The device serves up the presentation page through HTTP. Presentation exposes a HTML-based user interface for controlling and viewing device status… presentations are complimentary to control and events… Presentation page is specified by UPnP vendor – the UPnP Architecture specifies that it must be in HTML and delivered via HTTP over TCP over IP To retrieve a presentation page, the control point issues a HTTP GET request to the presentation URL Must use HTML 3.0 or later, but vendor can choose to use scripting language and browser plug-ins, thus allowing for creative and rich user interfaces for controlling devices and services; UPnP Network Get Presentation All rights reserved by Assistant Professor Wen-Tsung Lin.

Anatomy of a UPnP Device How UPnP Works Anatomy of a UPnP Device Discovery Control & Eventing Networking stack Discovery server Description server Presentation server Control & Eventing Services Presentation Description HTTPMU HTTP UDP TCP As stated before, UPnP is based completely on open standards such as IP, TCP, UDP, HTTP and a variant of HTTP that works on top of UDP multicast (HTTPMU). A UPnP device consists of a set of HTTP servers. The first server is the Discovery Server that permits the device to be discovered through two means: Listens for discovery requests from control points Sends an advertisement, thereby announcing its presence, when it is plugged into a network The next server is the description server that serves the device description of the device. The device description is an XML file that characterizes the properties and services offered by a device. For a DVD player, possible properties might be its name, unique identifier, model name, model description etc. and the set of services could be the transport service, clock service etc. The presentation server is a web server that serves an HTML page to control the device. This HTML page could contain embedded scripts to control the device Finally, the control server handles all requests for controlling a service. An application, for instance, might want to set the time on the clock service. For this, it can invoke an action like “SetTime” on the clock service. This request will be received by the control server. IP All rights reserved by Assistant Professor Wen-Tsung Lin.

Microsoft Windows® UPnP Support How UPnP Works 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 Microsoft is incorporating UPnP into everything we do. The PC is not required, but it will add tremendous value to your home network. UPnP will be implemented for all Windows platforms Future PCs and devices based on Windows and embedded Windows versions will also include this support The plan is to support a richer set of capabilities for future Windows We expect to see a surge of products from the 200 member companies for upcoming holiday releases. All rights reserved by Assistant Professor Wen-Tsung Lin.

Windows UPnP Users Interface How UPnP Works Windows UPnP Users Interface Windows UPnP UI This is an illustration of what occurs when a UPnP device connects to the network. Simply click the device to use it. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. UPnP Forum The UPnP Forum 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 UPnP is based on open standards and leverages existing technologies, and permits device control in dynamic networks where devices and services come and go. UPnP Forum consists of companies that are working together to develop “standards” for describing devices. As a result of this, an application that is written to control one particular vendor’s device will automatically work with another vendor’s device as well. The application will not have to be modified in any way at all. All rights reserved by Assistant Professor Wen-Tsung Lin.

UPnP Resources – Tool kits to build products Advantages 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 Member companies have designed tool kits to aid in the adoption and deployment of UPnP technology for devices, services and control points. Allegro Software has developed a solution for embedded devices. Gatespace has built a solution to bridge OSGi enabled devices with UPnP enabled devices. Intel developed a solution for devices and control points running on the Linux platform. Metro link has a solution for Java 1.2 compliant networks Microsoft’s SDK is for developing UPnP Products on the Windows® platform Virata built an SDK as a turn-key solution for embedded devices. All rights reserved by Assistant Professor Wen-Tsung Lin.

Universal Plug and Play Forum UPnP Forum Universal Plug and Play Forum Participant Roles 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 The Steering Committee are elected member companies All rights reserved by Assistant Professor Wen-Tsung Lin.

Universal Plug and Play Forum UPnP Forum Universal Plug and Play Forum Participant Roles 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. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Discovery All rights reserved by Assistant Professor Wen-Tsung Lin.

Discovery: Protocol stack All rights reserved by Assistant Professor Wen-Tsung Lin.

Discovery: Protocol stack All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Description All rights reserved by Assistant Professor Wen-Tsung Lin.

Description: Protocol stack All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Control All rights reserved by Assistant Professor Wen-Tsung Lin.

Control: Protocol stack All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Eventing All rights reserved by Assistant Professor Wen-Tsung Lin.

Eventing: Protocol stack All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Presentation All rights reserved by Assistant Professor Wen-Tsung Lin.

Presentation: protocol stack All rights reserved by Assistant Professor Wen-Tsung Lin.

UPnP AV Architecture

All rights reserved by Assistant Professor Wen-Tsung Lin. 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. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. 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. All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Overview (I) All rights reserved by Assistant Professor Wen-Tsung Lin.

All rights reserved by Assistant Professor Wen-Tsung Lin. Overview (II) All rights reserved by Assistant Professor Wen-Tsung Lin.

Playback architecture All rights reserved by Assistant Professor Wen-Tsung Lin.

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 All rights reserved by Assistant Professor Wen-Tsung Lin.

Conclusion

All rights reserved by Assistant Professor Wen-Tsung Lin. Conclusions DLNA guidelines architecture device model UPnP device architecture SSDP GENA SOAP HTTP UPnP AV architecture All rights reserved by Assistant Professor Wen-Tsung Lin.