UPnP Introduction 教授 : 逄愛君 組員 : 資訊三 張弘霖 資訊四 陳錦翰 資訊四 蔡旻諧.

Slides:



Advertisements
Similar presentations
웹 서비스 개요.
Advertisements

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.
Fall VoN 2000 SIP for IP Communications Jonathan Rosenberg Chief Scientist.
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)
TU/e Service Discovery Mechanisms: two case studies / IC2002 Service Discovery Mechanisms: Two case studies Control point Device UPnP Terminal Domain Host.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Telecooperation Technische Universität Darmstadt Copyrighted material; for TUD student use only Telecooperation P4: Internet Praktikum Q&A Session Telecooperation.
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
Lecture 5 Middleware: Peer-to-Peer Computing
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.
Layer 7- Application Layer
PROGRESS project EES5413: Internet Control and Monitoring of Embedded Systems System Architecture and Networking Affiliation 1) Eindhoven University of.
Introduction to Web Database Processing
PROGRESS project: Internet-enabled monitoring and control of embedded systems (EES.5413)  Introduction Networked devices make their capabilities known.
Introduction to Web Interface Technology (CSE2030)
Wi-Fi Structures.
Introduction 2: Internet, Intranet, and Extranet J394 – Perancangan Situs Web Program Sudi Manajemen Universitas Bina Nusantara.
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 -
Internet Basics.
Application Standards for ‘Push’ Content and Streaming Media Hadi Partovi Microsoft Corporation.
A global, public network of computer networks. The largest computer network in the world. Computer Network A collection of computing devices connected.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Enabling Workflow in UPnP Networks Andreas BobekUniversity of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek, Hendrik Bohn,
1.1 What is the Internet What is the Internet? The Internet is a shared media (coaxial cable, copper wire, fiber optics, and radio spectrum) communication.
Enabling Embedded Systems to access Internet Resources.
UPnP & DLNA Speaker: Yi-Lei Chang Advisor: Dr. Kai-Wei Ke 2012/03/27 1.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
Web Page Design I Basic Computer Terms “How the Internet & the World Wide Web (www) Works”
Web Services Description Language (WSDL) Jason Glenn CDA 5937 Process Coordination in Service and Computational Grids September 30, 2002.
Universal Plug and Play (UPnP) and XML Shridhar Bhat
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
Web Server Administration Web Services XML SOAP. Overview What are web services and what do they do? What is XML? What is SOAP? How are they all connected?
Lecture 15 Introduction to Web Services Web Service Applications.
IETF-50 UPnP Update Prakash Iyer Intel Corporation
Implementing Universal Plug And Play In Smart Objects And Intelligent Appliances Bengt Christensson CTO Axis Communications.
Web Services Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
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.
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
Lab Assignment 15/ INF5060: Multimedia data communication using network processors.
Voice-based generic UPnP Control Point Andreas BobekUniversity of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek, Hendrik.
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
TCP/IP (Transmission Control Protocol / Internet Protocol)
Service Discovery Protocols Mobile Computing - CNT Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Protocols COM211 Communications and Networks CDA College Olga Pelekanou
UPnP AV Architecture - Generic Interface Design And Java Implementation Andreas BobekUniversity of Rostock Faculty of Computer Science and Electrical Engineering.
Kemal Baykal Rasim Ismayilov
7DS - Node Cooperation and Information Exchange in Mostly Disconnected Networks Suman Srinivasan, Arezu Moghadam, Se Gi Hong, Henning Schulzrinne IRT Lab,
CS1001 Lecture 7. Overview Computer Networks Computer Networks The Internet The Internet Internet Services Internet Services Markup Languages Markup Languages.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
GENA (General Event Notification Architecture) RTLAB 이 남 지 2003/01/08.
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.
Copyright © 2002 Pearson Education, Inc. Slide 3-1 Internet II A consortium of more than 180 universities, government agencies, and private businesses.
Exploring Mobile Device Networking Lesson 4. Exam Objective Matrix Skills/ConceptsMTA Exam Objectives Understanding Networking for Mobile Devices Network.
Preview of Universal Plug and Play RTLAB 배대호
Java Web Services Orca Knowledge Center – Web Service key concepts.
Instructor Materials Chapter 5 Providing Network Services
UPnP Device Architecture
Sabri Kızanlık Ural Emekçi
z/Ware 2.0 Technical Overview
Web Server Administration
Network Connected Devices
Web Design & Development
Universal Plug and Play protocol (UPnP)
JINI ICS 243F- Distributed Systems Middleware, Spring 2001
Presentation transcript:

UPnP Introduction 教授 : 逄愛君 組員 : 資訊三 張弘霖 資訊四 陳錦翰 資訊四 蔡旻諧

UPnP Universal Plug and Play Discovery and control of networked devices and services Zero-configuration, "invisible" networking, automatic discovery devices from wide range vendors Intelligent appliances, wireless devices, and PCs of all form factors Standard TCP/IP and Internet protocols Independent of particular operating system, programming language, or physical medium

UPnP Forum Formed on October 18, 1999 Group of companies and individuals, more than 340 vendors across the industry Defining and publishing UPnP Device and Service Descriptions built on open, Internet-based communication standards Enable the emergence of easily connected devices and to simplify the implementation of networks in the home and corporate environments.

UPnP Enabled Scenarios Internet Connection Sharing Baby Monitoring and Surveillance Camera Synchronize Your Clocks The New Printer Out of Storage Space Again The Master Switch

Components of a UPnP Network Device Container of services and nested devices ex. VCR device may consist of a tape transport service, a tuner service, and a clock service. Different categories of UPnP devices associated with different sets of services and embedded devices. captured in an XML (eXtensible Markup Language) device description document that the device must host In addition to the set of services, the device description also lists the properties associated with the device. ex. such as device name and icons

Service(1/2) The smallest unit of control in a UPnP network Exposes actions and models its state with state variables ex. a clock service could be modeled as having a state variable: current_time : defines the state of the clock, set_time and get_time : allow you to control the service. Information is part of an XML service description standardized by the UPnP forum. similar to the device description A pointer (URL) to these service descriptions is contained within the device description document. devices may contain multiple services.

Service(2/2) A service in a UPnP device consists of a state table, a control server and an event server state table : models the state of the service through state variables and updates them when the state changes. control server : receives action requests (such as set_time), executes them, updates the state table and returns responses event server : publishes events to interested subscribers anytime the state of the service changes.

Control Points A controller capable of discovering and controlling other devices After discovery, a control point could: 1. Retrieve the device description and get a list of associated services. 2. Retrieve service descriptions for interesting services. 3. Invoke actions to control the service. 4. Subscribe to the service's event source. Anytime the state of the service changes, the event server will send an event to the control point. Peer-to-peer networking

Steps Involved in UPnP Networking Addressing Discovery Description Control Eventing Presentation

UPnP Specific Protocols TCP/IP HTTP, HTTPU, HTTPMU HTTP Multicast over UDP, HTTP Unicast over UDP. IETF Draft. SSDP Simple Service Discovery Protocol. IETF Draft. GENA General Event Notification Architecture. IETF Draft. SOAP Simple Object Access Protocol. IETF draft and W3C Technical Report. XML Extensible Markup Language. W3C recommendation

HTTP, HTTPU, HTTPMU All aspects of UPnP build on top of HTTP or its variants HTTPU HTTPMU : ◆ HTTP Multicast over UDP, HTTP Unicast over UDP ◆ variants of HTTP, IETF Draft ◆ deliver messages on top of UDP/IP ◆ used by SSDP, does not require the overhead associated with reliability

SSDP Simple Service Discovery Protocol ◆ defines how network services can be discovered on the network ◆ IETF Draft built on HTTPU and HTTPMU ◆ SSDP search request (over HTTPMU) : for a control point to locate resources of interest on the network ◆ SSDP response (over HTTPU) : for devices to announce their availability on the network ◆ SSDP presence announcements (over HTTPMU) : for devices to advertise the services it supports

GENA General Event Notification Architecture ◆ provide the ability to send and receive notifications using HTTP over TCP/IP and multicast UDP ◆ defines the concepts of subscribers and publishers of notifications to enable events ◆ IETF Draft In UPnP ◆ create the presence announcements to be sent using SSDP ◆ provide the ability to signal changes in service state for UPnP eventing ◆ control point subscribe to event sources by sending a request that includes the service of interest, a location to send the events to and a subscription time for the event notification

SOAP Simple Object Access Protocol ◆ defines the use of Extensible Markup Language (XML) and HTTP to execute remote procedure calls ◆ IETF draft and W3C Technical Report In UPnP ◆ deliver control messages to devices and return results or errors back to control points ◆ Each UPnP control request is a SOAP message that contains the action to invoke along with a set of parameters ◆ The response is a soap message as well and contains the status, return value and any return parameters

XML Extensible Markup Language ◆ use the W3C definition, is the universal format for structured data on the Web ◆ XML is a way to place nearly any kind of structured data into a text file ◆ uses tags and attributes like HTML, actually quite different in that these tags and attributes are not globally defined as to their meaning, but are interpreted within the context of their use Core part of UPnP used in device and service descriptions, control messages and eventing

A family want to see a DVD movie, but they don’t have a DVD player. So the father purchases a new UPnP enabled DVD player. Addressing Get address An Internet Gateway Addressing Discovery Description Presentation Control Event

Discovery-advertising multicast advertising Dad wants to start his favorite DVD movie playing. He starts a video control application on his laptop Discovery-search search Response (unicast) multicast Addressing Discovery Description Presentation Control Event

A control point needs more information on a device The control point only knows the device’s UPnP type, a URL to the device’s UPnP description Issues a HTTP GET request on the URL from the discovery message UPnP description for root device Addressing Discovery Description Presentation Control Event

Presentation request Presentation page Control and status The capabilities of the presentation page are completely specified by the UPnP vendor Issue an HTTP GET request to the presentation URL Addressing Discovery Description Presentation Control Event

Action request result Query variable Variable value Addressing Discovery Description Presentation Control Event

Subscription request Subscription(uuid:1) Addressing Discovery Description Presentation Control Event

Some question of msn Behind nat ?  Upnp enable gateway?  Message or voice Without upnp messaging can work  Why ?

Nat problems for msn Instant messaging  Follow the same path of client to MSN server  MSN server forwarding Audio and Video  Sip signaling (sdp)  Private address (invalid) Static ports for particular feature  Only one user behind nat can work

Msn solution for Nat traversal Using UPnP API  Detect Msn client behind Nat  retrieve address  Obtain port-mapping for dynamic allocated ports  Detect whether msn peer is behind same nat How did msn use UPnP architecture  Cd -- UPnP enable Nat gateway  Cp – msn client

Instant Message route msn login Internet Ip routing

Voice route Internet Ip routing Upnp enable Public ip port Private ip mapping Public ip port Private ip mapping

Compare msn with skype Supernode vs. msn server  Voice forwarding ?  Count  Functionality Something interesting of msn  In the same nat  AV v.s instant messaging

Thank for your listenning Q&A