Service Discovery Protocols Mobile Computing - CNT 5517-5564 Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University.

Slides:



Advertisements
Similar presentations
Universal Plug and Play protocol (UPnP)
Advertisements

TU/e Service Discovery Mechanisms: two case studies / IC2002 Service Discovery Mechanisms: Two case studies Control point Device UPnP Terminal Domain Host.
TSpaces Services Suite: Automating the Development and Management of Web Services Presenter: Kevin McCurley IBM Almaden Research Center Contact: Marcus.
5/30/2012. Provides a method for finding services/data on the Exchange Network – discover data. Supports User Friendly Tools Can automatically collect.
Lecture 5 Middleware: Peer-to-Peer Computing
THE JINI TECHNOLOGY Alessio Zumbo
Service Discovery Protocols Mobile Computing - CNT
Distributed components
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.
Embedded Network Controller with Web Interface Bradley University Department of Electrical & Computer Engineering By: Ed Siok Advisor: Dr. Malinowski.
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.
Jaringan Komputer Dasar
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #13 Web Caching Protocols ICP, CARP.
PROGRESS project: Internet-enabled monitoring and control of embedded systems (EES.5413)  Introduction Networked devices make their capabilities known.
Week 2 IBS 685. Static Page Architecture The user requests the page by typing a URL in a browser The Browser requests the page from the Web Server The.
Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.
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 -
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
Web Proxy Server Anagh Pathak Jesus Cervantes Henry Tjhen Luis Luna.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Chapter 10 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain how the functions of the application layer,
思科网络技术学院理事会. 1 Application Layer Functionality and Protocols Network Fundamentals – Chapter 3.
Presented by Mark Miyashita
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
Introduction - What is Jini Technology?
Enabling Workflow in UPnP Networks Andreas BobekUniversity of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek, Hendrik Bohn,
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols.
Enabling Embedded Systems to access Internet Resources.
Nov 6, 2000CS851 Ubiquitous Computing1 The Jini Architecture Speaker: Weisheng Si Dept. of Computer Science University of Virginia.
1 Vrijendra Gokhale, Bernard Menezes K. R. School of Information Technology IIT Bombay User Interfaces for Jini Services The Jini Pattern Language Workshop.
Implementing Universal Plug And Play In Smart Objects And Intelligent Appliances Bengt Christensson CTO Axis Communications.
Doc.: IEEE /0961r0 Submission July 2012 Alex Ashley, NDS LtdSlide 1 Layer 2 Service Discovery Protocols Date: Authors:
Wireless Networks of Devices (WIND) Hari Balakrishnan and John Guttag MIT Lab for Computer Science NTT-MIT Meeting, January 2000.
Web Services Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
INMIDIO: an INteroperable MIddleware for service Discovery and service InteractiOn Daniele Sacchetti
11/13/00 1 Design of a Home Network Rajesh Rajamani
UPnP Introduction 教授 : 逄愛君 組員 : 資訊三 張弘霖 資訊四 陳錦翰 資訊四 蔡旻諧.
INTERNET AND ADHOC SERVICE DISCOVERY BY: NEHA CHAUDHARY.
Module 3: Configuring a Client IP Address. Overview Configuring a Client to Use a Static IP Address Configuring a Client to Obtain an IP Address Automatically.
Guide to TCP/IP, Third Edition Chapter 8: The Dynamic Host Configuration Protocol.
INTERNET. Objectives Explain the origin of the Internet and describe how the Internet works. Explain the difference between the World Wide Web and the.
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
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.
1 Registry Services Overview J. Steven Hughes (Deputy Chair) Principal Computer Scientist NASA/JPL 17 December 2015.
Overview of Jini CS Fall 2000 Jason I. Hong.
Allocating IP Addressing by Using Dynamic Host Configuration Protocol.
Improving SLP Efficiency and Extendability by Using Global Attributes and Preference Filters Weibin Zhao Henning Schulzrinne
Web Services An Introduction Copyright © Curt Hill.
Case Study PrintService -dynamically networked products, services, and applications -network computer / consoles (powerful processor, several MB of memory)
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Enterprise Computing with Jini Technology Mark Stang and Stephen Whinston Jan / Feb 2001, IT Pro presented by Alex Kotchnev.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
UPnP Device Architecture
Web Programming Developing Web Applications including Servlets, and Web Services using NetBeans 6.5 with GlassFish.V3.
z/Ware 2.0 Technical Overview
WEB SERVICES.
Net 431 D: ADVANCED COMPUTER NETWORKS
Service Discovery Middleware
Network Connected Devices
Bina Ramamurthy Chapter 9
Unit V Mobile Middleware.
Bina Ramamurthy Chapter 9
Bina Ramamurthy Chapter 9
Universal Plug and Play protocol (UPnP)
JINI ICS 243F- Distributed Systems Middleware, Spring 2001
Allocating IP Addressing by Using Dynamic Host Configuration Protocol
Computer Networks Protocols
Presentation transcript:

Service Discovery Protocols Mobile Computing - CNT Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University of Florida, Gainesville, FL

Overview Jini UPnP Service Location Protocols Bluetooth SDP SDP in Ad-hoc and P2P Systems Future of SDP 2

SDP for Mobile Computing Mobility means getting away from configured environments and into foreign networks with unknown infrastructures. However, because a mobile computer can’t predict such infrastructures, it might not know to take advantage of them or even have the capabilities to interact with them. For example, a mobile computer might not be able to use a nearby printer because it does not have the appropriate printer driver, or perhaps a PDA will experience slow Web access because it is not aware of a nearby Web proxy caching server. With the advent of location-based services and peer-to-peer computing, service discovery is taking on new importance as a critical middleware for mobile computing, and is enabling “opportunistic” new models of programming and application development. 3

SDP for Pervasive Computing Service discovery also benefits pervasive computing environments, where numerous computing elements, sensors, actuators, and users often must interact to achieve the desired functionality and intelligence. In such environments, self-advertisement and peer discovery can enable the pervasive space to autonomically integrate, and to dynamically change and evolve without major system reengineering or reconfiguration. 4

Jini Sun Microsystems introduced Jini, based on the Java technology, in 1998 The heart of Jini is a trio of protocols: discovery, join, and lookup. A pair of these protocols—discovery and join— occurs when you plug a Jini device into a network (registration) Lookup occurs when a client or user locates and invokes a service described by its interface type (written in the Java programming language) and possibly other attributes. For a client in a Jini community to use a service 5

Jini Registration & Lookup (a) A service provider registers a service object and its service attributes with the lookup service. (b) A client requests a service from service attributes, and a copy of the service object moves to the client. 6

Jini Registration & Lookup The service provider must locate a lookup service by multicasting a request on the local network or a remote lookup service known to it a priori The service provider must register a service object and its service attributes with the lookup service. This service object contains the Java interface for the service, including the methods that users and applications will invoke to execute the service, along with any other descriptive attributes A client then requests a service by invoking its interface and perhaps other service attributes. The lookup server ships a copy of the service object over the network to the client, who uses it to talk to the service The client interacts directly with the service via the service object. 7

Jini Leases Jini grants access to its services on a lease basis. A client can request a service for a desired time period, and Jini will grant a negotiated lease for that period. This lease must be renewed before its expiration; otherwise, Jini will release the resources associated with the service. Leasing lets Jini be robust and maintenance-free when faced with abrupt failures or the removal of devices and services. 8

Universal Plug & Play Microsoft-initiated standard that extends the Microsoft Plug-and-Play peripheral model In UPnP, a device can dynamically join a network, obtain an IP address, convey its capabilities on request, and learn about the presence and capabilities of other devices. A device can also leave a network smoothly and automatically without leaving any unwanted state behind. UPnP leverages TCP/IP and Web technologies, including IP, TCP, UDP, HTTP, XML and SOAP. 9

UPNP Protocol Stack 10

Joining & Discovery JOINING: A joining device sends out an advertisement (ssdp:alive) multicast message to advertise its services to control points Control points function similar to Jini’s lookup services. A control point, if present, can record the advertisement, but other devices might also directly see this multicast message. DISCOVERY: UPnP sends a search (ssdp:discover) multicast message when a new control point is added to a network. Any device that hears this multicast will respond with a unicast response message. In contrast to Jini, UPnP can work with or without control points (lookup service). 11

XML Based Protocol UPnP uses XML to describe device features and capabilities. An advertisement message contains a URL that points to an XML file in the network that describes the UPnP device’s capability. By retrieving this XML file, other devices can inspect the advertised device’s features and decide whether it is important or relevant to them. XML allows complex and powerful description of device and service capability as opposed to Jini’s simple service attribute. 12

UPnP Service Description A UPnP description for a service includes a list of actions (control) to which the service responds and a list of variables that model the service’s state at runtime. The service publishes updates when these variables change, and a control point can subscribe to receive this information. Updates are published by sending event messages that contain the names and values of one or more state variables. These messages are also expressed in XML and formatted using the GENA Architecture. 13

UPnP Service Description Control is expressed as a collection of Simple Object Access Protocol (SOAP) objects and their URLs in the XML file. To use a specific control, a SOAP message is sent to the SOAP control object at the specified URL. The device or the service returns action- specific values. 14

UPnP User Control UPnP features an additional higher-level description of services in the form of a user interface. This feature lets the end user directly control the service. If a device or service has a presentation URL, then the control point can retrieve a page from this URL, load the page into a browser, and (depending on the page’s capabilities) let a user control the device or view the device’s status. 15

Automatic Configuration of IP When a device connects to the network, it tries to acquire an IP address from a Dynamic Host Configuration Protocol server. However, in the absence of a DHCP server, an IP address is claimed automatically from a reserved range for local network use. The device claims an address by randomly choosing one from the reserved range and then making an ARP request to see if anyone else has already claimed that address 16