Universal Plug and Play (UPnP) and XML Shridhar Bhat

Slides:



Advertisements
Similar presentations
Copyright © 2002, Peter Kriens, All Rights Reserved OSGi versus UPnP??? There is no "versus" here. OSGi is fully complimentary to UPnP. No overlap. UPnP.
Advertisements

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.
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
General introduction to Web services and an implementation example
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
Extensible Networking Platform IWAN 2005 Extensible Network Configuration and Communication Framework Todd Sproull and John Lockwood
Notes to the presenter. I would like to thank Jim Waldo, Jon Bostrom, and Dennis Govoni. They helped me put this presentation together for the field.
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
Comparison of the RMI and the socket APIs
PROGRESS project EES5413: Internet Control and Monitoring of Embedded Systems System Architecture and Networking Affiliation 1) Eindhoven University of.
Slide 1 EE557: Server-Side Development Lecturer: David Molloy Room: XG19 Mondays 10am-1pm Notes:
PROGRESS project: Internet-enabled monitoring and control of embedded systems (EES.5413)  Introduction Networked devices make their capabilities known.
Web Services Seppo Heikkinen MITA seminar/TUT
SOAP Chandra Dutt Yarlagadda Introduction  Why ?  What ?  How ?  Security Issues in SOAP  Advantages  Uses  Conclusion.
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 -
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
TP2653 Adv Web Programming SOAP and WSDL. SOAP Simple Object Access Protocol – Lightweight XML-based messaging protocol – A protocol for accessing a Web.
Universal Plug and Play Dirk Grunwald University of Colorado.
Discovering E-Services Using UDDI in SELF-SERV Quan Z. Sheng, Boualem Benatallah, Rayan Stephan, Eileen Oi-Yan Mak, Yan Q. Zhu School of Computer Science.
Device Servers Prasun Dewan Department of Computer Science University of North Carolina
SOAP Tutorial Ching-Long Yeh 葉慶隆 Department of Computer Science and Engineering Tatung University
Web services: Why and How OOPSLA 2001 F. Curbera, W.Nagy, S.Weerawarana Nclab, Jungsook Kim.
Enabling Workflow in UPnP Networks Andreas BobekUniversity of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek, Hendrik Bohn,
1 G52IWS: Distributed Computing Chris Greenhalgh.
Enabling Embedded Systems to access Internet Resources.
UPnP & DLNA Speaker: Yi-Lei Chang Advisor: Dr. Kai-Wei Ke 2012/03/27 1.
Outline  Enterprise System Integration: Key for Business Success  Key Challenges to Enterprise System Integration  Service-Oriented Architecture (SOA)
Web Services (SOAP, WSDL, and UDDI)
1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo.
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
Simple Object Access Protocol (SOAP) Mark H Needleman Data Research Associates, Inc. ZIG Meeting December 2000.
CSC8530 Distributed Systems XML Web Services David Vaglia.
Lecture 15 Introduction to Web Services Web Service Applications.
IETF-50 UPnP Update Prakash Iyer Intel Corporation
Doc.: IEEE /0961r0 Submission July 2012 Alex Ashley, NDS LtdSlide 1 Layer 2 Service Discovery Protocols Date: Authors:
INMIDIO: an INteroperable MIddleware for service Discovery and service InteractiOn Daniele Sacchetti
RVP Protocol for Real-Time Presence Information Sonu Aggarwal Lead Program Manager, Exchange Instant Messaging Microsoft Corporation
UPnP Introduction 教授 : 逄愛君 組員 : 資訊三 張弘霖 資訊四 陳錦翰 資訊四 蔡旻諧.
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
 Contains services or interfaces that can be accessed over Internet.  Provides certain functionalities and attributes for other applications.  Application.
Web Services. Abstract  Web Services is a technology applicable for computationally distributed problems, including access to large databases What other.
Voice-based generic UPnP Control Point Andreas BobekUniversity of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek, Hendrik.
1 Web Services Web and Database Management System.
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
Service Discovery Protocols Mobile Computing - CNT Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University.
UPnP AV Architecture - Generic Interface Design And Java Implementation Andreas BobekUniversity of Rostock Faculty of Computer Science and Electrical Engineering.
Kemal Baykal Rasim Ismayilov
JS (Java Servlets). Internet evolution [1] The internet Internet started of as a static content dispersal and delivery mechanism, where files residing.
Web Services Part 1 -- Qinwei Zhu Part 2 – Yongqun He.
Overview of Jini CS Fall 2000 Jason I. Hong.
A quick overview of Network communications A quick overview of Network communications Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France.
GENA (General Event Notification Architecture) RTLAB 이 남 지 2003/01/08.
A SOAP Binding for NETCONF Ted Goddard draft-goddard-netconfsoap-00.txt.
1 Service Oriented Architecture SOA. 2 Service Oriented Architecture (SOA) Definition  SOA is an architecture paradigm that is gaining recently a significant.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
RPC 6/14/20161BALAJI K - AP. Design issues of RPC Programming with interfaces Call Semantics associated with RPC Transparency and related to procedure.
Software Architecture Patterns (3) Service Oriented & Web Oriented Architecture source: microsoft.
UPnP Device Architecture
Sabri Kızanlık Ural Emekçi
WEB SERVICES.
Network Connected Devices
Implementation and validation of UPnP in a home networking environment
Universal Plug and Play protocol (UPnP)
Presentation transcript:

Universal Plug and Play (UPnP) and XML Shridhar Bhat

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 Motivation XML can be used in innovative ways to achieve platform independent and flexible application-layer protocol communication

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 UPnP Architecture Internet Network2 Network1 Control Point (Manager) Device1Device2 Fig.1: Typical Universal Plug and Play system architecture

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 UPnP Terminology Addressing –IP address binding Discovery –advertisements by the devices –search requests from the control points Description –stuff to be advertised Control –requests for actions from the control points to the devices Eventing –subscription for events by the control points –notification of events by the device Presentation (control point) –GUI to the user by the control point

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 Addressing DHCPAuto-IP Network Device code Description Events generated by the device Events notification Eventing Event subscription Control Request Control Response Action Request Action Response Discovery Device Advertisements over SSDP channel Discovery Search Device side of the UPnP Subsystem

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 Control Point side of the UPnP Subsystem Addressing DHCPAuto-IP Network Discovery Search Discovery Response Discovery Control Request ControlEventing Event subscription Events notification Control Response Presentation Control point user

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 Description Device Description –defines logical devices e.g. VCR –contains URLs for service description, control, eventing and presentation –provided during the advertisements Services descriptions –e.g. play, rewind, stop etc. –tells how to form a request for a service –events that can be subscribed to by control points –fetched using HTTP GET

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 XML in UPnP: Device Description 1 0 urn:schemas-upnp-org:service:serviceType:v urn:upnp-org:serviceId:serviceID URL to service description URL for control URL for eventing Declarations for other services defined by a UPnP Forum (if any) go here Declarations for other services added by UPnP vendor (if any) go here Description of embedded devices defined by a UPnP Forum (if any) go here Description of embedded devices added by UPnP vendor (if any) go here URL for presentation

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 XML in UPnP: Service Description actionName formalParameterName in or out stateVariableName variableName variable data type default value enumerated value

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 Control Uses Simple Object Access Protocol (SOAP) Control points –fetch the URL for control –construct requests (RPC calls) using SOAP –send the requests over HTTP –wait for the SOAP responses from devices Devices –parse the SOAP requests –carry out the required action and return responses in SOAP messages

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 XML in UPnP: SOAP Uses XML and HTTP for RPC calls SOAP request POST path of control URL HTTP/1.1 HOST: host of control URL:port of control URL CONTENT-LENGTH: bytes in body CONTENT-TYPE: text/xml; charset="utf-8" SOAPACTION: "urn:schemas-upnp-org:service:serviceType:v#actionName” in arg value other in args and their values go here, if any

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 Eventing Device publishes a list of events for which control points can subscribe and get notifications Control points subscribe with the devices for the events published Event notifications by the devices over TCP to control points

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 XML in UPnP: Event Notification NOTIFY delivery path HTTP/1.1 HOST: delivery host:delivery port CONTENT-TYPE: text/xml CONTENT-LENGTH: Bytes in body NT: upnp:event NTS: upnp:propchange SID: uuid:subscription-UUID SEQ: event key new value Other variable names and values (if any) go here.

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 Why XML? Platform independence Communication over HTTP –penetrates the firewalls without extra efforts –no need to run services on special ports Provides the level of expressiveness and extensibility needed to describe devices and their services forgiving technology :-)

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 Challenges Ahead No consideration for security in the UPnP specification IP over electric distribution network?? Scarcity of IP addresses –IPv6

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 Competing technology Jini –uses Java interfaces instead of XML –enjoys benefits of object oriented programming –works at higher level of abstraction –easier to define interfaces than protocols –needs JVM, Object serialization and RMI APIs on the devices and control points

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 Conclusion XML can be useful in defining application level protocol communication XML allows a light-weight implementation for UPnP devices

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 References Universal Plug and Play forum, http;// UPnP architecture, Intel’s UPnP SDK for Linux, Simple object access protocol, IETF draft on ‘Multicast and Unicast UDP HTTP Messages’,

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 Questions?

PSPL, 2000 XML Workshop, IIT Powai 30th Sept., 2000 Thank you :-)