UPnP & DLNA Speaker: Yi-Lei Chang Advisor: Dr. Kai-Wei Ke 2012/03/27 1.

Slides:



Advertisements
Similar presentations
SIP, Presence and Instant Messaging
Advertisements

Presence and IM as SIP Services Jonathan Rosenberg Chief Scientist.
SIP and Instant Messaging. SIP Summit SIP and Instant Messaging What Does Presence Have to Do With SIP? How to Deliver.
Fall IM 2000 Introduction to SIP Jonathan Rosenberg Chief Scientist.
IM May 24, 2000 Introduction to SIP Jonathan Rosenberg Chief Scientist.
VON Europe /19/00 SIP and the Future of VON Protocols SIP and the Future of VON Protocols: Presence and IM Jonathan Rosenberg.
Fall VoN 2000 SIP for IP Communications Jonathan Rosenberg Chief Scientist.
An Overview of the DLNA Architecture
UPnP Device Architecture. Networking is easy, except… Ad hoc networks don't have resources just for the sake of the network E.g., DHCP, DNS, directory,
Universal Plug and Play protocol (UPnP)
UPnP Technology 2009/03/31 Hsin-Han Yang, Cheng-Yi Chien, Po-Cheng Huang.
Certification Test Tool Jon Wheeler Test Lead Microsoft Corporation.
TU/e Service Discovery Mechanisms: two case studies / IC2002 Service Discovery Mechanisms: Two case studies Control point Device UPnP Terminal Domain Host.
Overview of Web Services
Telecooperation Technische Universität Darmstadt Copyrighted material; for TUD student use only Telecooperation P4: Internet Praktikum Q&A Session Telecooperation.
Digital Living Network Alliance: Building out the Digital Network Bob Taylor Member, DLNA Board of Directors March 2006.
4.01 How Web Pages Work.
B. Fairman Sony US Advanced Technologies Center 1 Ubiquitous Video W3C Video on the Web Workshop
Lecture 5 Middleware: Peer-to-Peer Computing
Windows OS support of UPnP Peter K. Jarvis UPnP Group Program Manager Microsoft Corporation.
Doc.: IEEE /0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP Printer Discovery Date: Authors:
Rheeve: A Plug-n-Play Peer- to-Peer Computing Platform Wang-kee Poon and Jiannong Cao Department of Computing, The Hong Kong Polytechnic University ICDCSW.
XML Technologies and Applications Rajshekhar Sunderraman Department of Computer Science Georgia State University Atlanta, GA 30302
Session Initiation Protocol (SIP) By: Zhixin Chen.
Layer 7- Application Layer
Jacob Boston Josh Pfeifer. Definition of HyperText Transfer Protocol How HTTP works How Websites work GoDaddy.com OSI Model Networking.
PROGRESS project: Internet-enabled monitoring and control of embedded systems (EES.5413)  Introduction Networked devices make their capabilities known.
1 Extending SIP Speaker: Hsuan-Ming Chen Adviser: Ho-Ting Wu Date: 2005/04/26.
Universal Plug and Play (UPnP) Presented by: Kamal Kamal Kamal Kamal Mohammad Atieh Mohammad Atieh.
The Computer Communication Lab (236340) Spring 2005 Universal Plug and Play on Mobile Phone With Qualcomm - Device -
Certification Test Tool Update Toby Nixon Program Manager 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.
Device Servers Prasun Dewan Department of Computer Science University of North Carolina
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
Mobile Networking Challenges1 5.6 Mobile Ad Hoc Networks  Ad hoc network does not have any preexisting centralized server nodes to perform packet routing,
1 © NOKIA 1999 FILENAMs.PPT/ DATE / NN SIP Service Architecture Markus Isomäki Nokia Research Center.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Universal Plug and Play (UPnP) and XML Shridhar Bhat
Applied Communications Technology Voice Over IP (VOIP) nas1, April 2012 How does VOIP work? Why are we interested? What components does it have? What standards.
IETF-50 UPnP Update Prakash Iyer Intel Corporation
Approaches to Home Connectivity T Research Seminar on Telecommunications Business Marko Berg.
Certification Test Tool Sarat Manni Test Lead Microsoft Corporation.
INMIDIO: an INteroperable MIddleware for service Discovery and service InteractiOn Daniele Sacchetti
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.
UPnP Introduction 教授 : 逄愛君 組員 : 資訊三 張弘霖 資訊四 陳錦翰 資訊四 蔡旻諧.
Presented By Team Netgeeks SIP Session Initiation Protocol.
Power Management for Universal Plug and Play Jakob Klamra and Martin Olsson Department of Communication Systems Lund Institute of Technology Lund, Sweden.
Overview  Introduction  Sensor Network Management  Type of Sensor Network Management Model  UPnP-Based Sensor Network Management  Future Works/Plans.
Rhodes University 29 October 2002,Robert V MasangoCopyright 2002, Rhodes University, SIP User SIP User Agent The IRT is the oldest of the New York City.
Omar A. Abouabdalla Network Research Group (USM) SIP – Functionality and Structure of the Protocol SIP – Functionality and Structure of the Protocol By.
Voice-based generic UPnP Control Point Andreas BobekUniversity of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek, Hendrik.
Service Discovery Protocols Mobile Computing - CNT Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University.
Jini Architecture Introduction System Overview An Example.
UPnP AV Architecture - Generic Interface Design And Java Implementation Andreas BobekUniversity of Rostock Faculty of Computer Science and Electrical Engineering.
GENA (General Event Notification Architecture) RTLAB 이 남 지 2003/01/08.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
Doc.: IEEE /0067r0 Submission Jan 2014 Ping FANG, HuaweiSlide 1 Service Discovery for UPnP Printer Date: Authors:
Preview of Universal Plug and Play RTLAB 배대호
Java Web Services Orca Knowledge Center – Web Service key concepts.
4.01 How Web Pages Work.
UPnP Device Architecture
Introduction Web Environments
Networking for Home and Small Businesses – Chapter 6
Networking for Home and Small Businesses – Chapter 6
Network Connected Devices
Implementation and validation of UPnP in a home networking environment
Universal Plug and Play protocol (UPnP)
Networking for Home and Small Businesses – Chapter 6
4.01 How Web Pages Work.
Presentation transcript:

UPnP & DLNA Speaker: Yi-Lei Chang Advisor: Dr. Kai-Wei Ke 2012/03/27 1

Outline Introduction UPnP DLNA Example - DLNA Family Intercom System Reference 2

Introduction Networking is easy, except… – Network is unreliable – Programs need to talk to programs But software is heterogeneous – Must upgrade system piece at a time 3

UPnP UPnP  Universal Plug-and-Play Describe the protocols for communication between – Control point (CP) Controllers – Device Provide services – An actual device might contain both functions 4

UPnP - CP, Device & Service ? ? 5

UPnP - Protocol Stack 6

Steps to UPnP Networking Addressing – CP and device get addresses Discovery – CP finds interesting device Description – CP learns about device capabilities Control, Eventing and Presentation – CP invokes actions on device – CP listens to state changes of device – CP views device status using HTML UI 7

UPnP - Addressing Use DHCP If DHCP not work – Auto IP – Periodically try DHCP UPnP Device Architecture 1.1 Support IPv6 8

UPnP - Discovery Use SSDP (Simple Service Discovery Protocol) Control points – Find interesting device/service – All/filter Device – Advertise when added – Refresh advertisements – Cancel advertisements when removed – Response search request 9

Discovery - Protocol Stack 10

Discovery - Packet Advertising –NOTIFY * HTTP/1.1 –HOST: :1900 –LOCATION: URL for UPnP description for root device –NT: notification type –NTS: ssdp:alive Searching –M-SEARCH * HTTP/1.1 –HOST: :1900 –MAN: "ssdp:discover" –MX: seconds to delay response –ST: search target Responding –HTTP/ OK –LOCATION: URL for UPnP description for root device –ST: search target 11

Discovery - Sequence Diagram 12

UPnP - Description Control point – learns about device capability – Use URI from discovery step to get device description – Use URI from device description to get service description Device – Declare capability Type Physical Logical (Service) UI 13

Description - Protocol Stack 14

Description - Packet Description request –GET /descriptionPath HTTP/1.1 –HOST: hostname:portNumber –ACCEPT-LANGUAGE: language preferred by control point Description response –HTTP/ OK –CONTENT-LANGUAGE: language used in description –CONTENT-TYPE: text/xml; charset="utf-8" – XML Description 15

Description - Device Description <root ns="urn:schemas-upnp-org:device-1-0" configId="configuration number"> …… urn:schemas-upnp- org:device:deviceType:v …… uuid:UUID …… urn:schemas-upnp- org:service:serviceType:v 16

Description - Device Description urn:upnp-org:serviceId:serviceID/serviceId> URL to service description URL for control URL for eventing …… …… URL for presentation 17

Description - Service Description <scpd …… actionName argumentNameIn1 in stateVariableName 18

Description - Service Description …… variableName basic data type default value …… …… 19

Description - Sequence Diagram 20

UPnP - Control Use SOAP  Simple Object Access Protocol Control point – Invokes actions on device – Use URI from description step to send actions to device Device – Response action result 21

Control - Protocol Stack 22

Control - Packet Action invocation –POST path control URL HTTP/1.1 –HOST: hostname:portNumber –u:actionName xmlns:u="urn:schemas-upnp-org:service:serviceType:v –argumentName in arg value Action Response –HTTP/ OK –u:actionNameResponse xmlns:u="urn:schemas-upnp- org:service:serviceType:v –argumentName out arg value Action error response –HTTP/ Internal Server Error –Faultstring UPnPError –errorCode error code –errorDescription error string 23

Control - Sequence Diagram 24

UPnP - Eventing Use GENA  General Event Notification Architecture Control point – Use URI from description step to subscribe to events from device Device – Notify 25

Eventing - Protocol Stack 26

Eventing - Packet SUBSCRIBE with NT and CALLBACK –SUBSCRIBE publisher path HTTP/1.1 –CALLBACK: –NT: upnp:event –TIMEOUT: Second-requested subscription duration Response –HTTP/ OK –SID: uuid:subscription-UUID –TIMEOUT: Second-actual subscription duration 27

Eventing - Packet Event message –NOTIFY delivery path HTTP/1.1 –NT: upnp:event –NTS: upnp:propchange –SID: uuid:subscription-UUID –SEQ: event key –e:propertyset – e:property – variableName new value 28

Eventing - Sequence Diagram 29

UPnP - Presentation Control point – views device status using HTML agent Don not constrain implementation 30

Presentation - Protocol stack 31

DLNA DLNA  Digital Living Network Alliance Goal: Establish an ecosystem of compatible products for networked media devices Develops standards-based specifications – DLNA Guidelines 32

33

DLNA - Device Class Home Network Devices Digital Media ServerDigital Media PlayerDigital Media RendererDigital Media ControllerDigital Media Printer Mobile Handheld Device Mobile Digital Media Server Mobile Digital Media Player Mobile Digital Media Downloader Mobile Digital Media Uploader Mobile Digital Media Controller Home Infrastructure Device Mobile Interoperability Unit Mobile Network Connectivity Function 34

DLNA - Media Format For Home Device Media FormatsRequired Formats SetOptional Formats Set ImagingJPEGGIF.TIFF.PNG AudioLPCM( 2 Channel)MP3.WMA9. AC-3.AAC.ATRAC3plus VideoMPEG2 For Mobile/Handheld Devices Media FormatsRequired Formats SetOptional Formats Set ImagingJPEGGIF.TIFF.PNG AudioMP3 and MPEG4 AAC LCMPEG4 (HE AAC, AAC LTP, BSAC), AMR, ATRAC3plus, G.726, WMA, LPCM VideoMPEG4 AVC (AAC LC Assoc Audio) VC1, H.263, MPEG4 part 2, MPEG2, MPEG4 AVC (BSAC or other for Assoc. Audio) 35

DLNA - Work Model 2-Box Pull 36

DLNA - Work Model 2-Box Push 37

DLNA - Work Model 3-Box 38

An example - DFIS DFIS  DLNA Family Intercom System Traditional intercom system – Only allows place-to-place communication – Necessary to dial the extension number of a specific family member DFIS – Support user mobility – Without the knowledge of the extension number that caters to a fixed location 39

DFIS - System Architecture DFID  DLNA Family Intercom Device – User profile management – DFIS device discovery 40

DFIS - System Architecture Cont. DFIA  DLNA Family Intercom Adapter – PSTN Device Management (DM) Forward PSTN signal to UPnP DM (to convert PSTN devices to virtual DFIDs) Dial PSTN through FXS – UPnP DM Forward DFID list to SIP/PSTN DM (To convert DFIDs to virtual SIP/PSTN Device) Create virtual DFIDs for SIP/PSTN devices – SIP DM Forward SIP proxy registered message to UPnP DM (To convert SIP devices to DFIDs) Create virtual SIP devices for DFIDs UPnP2PSTN Bridge UPnP2SIP bridge 41

DFIS - Simulation environment 42

The basic flows of a simple call process 43

The message flows in UPnP utilizes events 44

Reference [1] Contributing Members of the UPnP Forum, “UPnP™ Device Architecture 1.1,” October 15, Retrieved March 18, 2012 from World Wide Web: DeviceArchitecture-v1.1.pdf. [2] Contributing Members of the UPnP Forum, “UPnP™ Device Architecture 1.0,” April 24, Retrieved March 10, 2012 from World Wide Web: DeviceArchitecture-v1.0.pdf. [3] Digital Living Network Alliance, “How It Works,” Retrieved March 10, 2012 from World Wide Web: [4] Allegro Software Development Corporation, “Networked Digital Media Standards: A UPnP/DLNA Overview,” Retrieved March 12, 2012 from World Wide Web: [5] Chin-Feng Lai, Hsien-Chao Huang, Yueh-Min Huang and Han-Chieh Chao, “Design and Implementation of the DLNA Family Intercom System for Smart Homes,” Computer Journal, Vol. 52, No. 8, pp

Thanks for Listening Q&A 46