dr. rahul banerjee computer science group

19
Dr. Rahul Banerjee Computer Science Group Birla Institute of Technology & Science, Pilani, India Email: [email protected] , [email protected] Fundamentals of Pervasive Computing : Communication & Connectivity Aspects Lecture-2 August-6, 2007 1 (c) Dr. Rahul Banerjee, BITS- Pilani, India

Upload: dominque23

Post on 26-Jun-2015

650 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Dr. Rahul Banerjee Computer Science Group

Dr. Rahul BanerjeeComputer Science Group

Birla Institute of Technology & Science, Pilani, India

Email: [email protected], [email protected]

Fundamentals of Pervasive Computing :

Communication & Connectivity Aspects

Lecture-2 August-6, 2007

1 (c) Dr. Rahul Banerjee, BITS-Pilani, India

Page 2: Dr. Rahul Banerjee Computer Science Group

2

Interaction PointsInteraction Points•Introduction to Communication & Connectivity Needs

•Select Fundamentals specific to:

•Pervasive Communication Architecture

•Device Connectivity for Pervasive Computing

•Connectivity & Service Discovery in Pervasive Computing

•Importance of Self-configuration

•Protocols and Mechanisms For Self-Configuration

•Importance of Self-Healing

•Summary2

(c) Dr. Rahul Banerjee, BITS-Pilani, India

Page 3: Dr. Rahul Banerjee Computer Science Group

3 (c) Rahul Banerjee, BITS, Pilani, India

The pervasive computing system needs at least two basic elements to be pervading everywhere they are required to pervade:Computing elements to take care of computational needs; and,Communication elements to interconnect these computing

elements either through wires or wirelessly (with / without mobility).

From the end user’s perspective and in many a practical situations, the wireless communication based mobile computing is becoming increasingly important.

From the back-end systems’ viewpoint, however, due to its sheer traffic volume, low error rates, better noise immunity and low cost, the wireline communication based computing still remains an attractive option.

Therefore, hybrid architectures will possibly continue to exist even though end users may not be even aware of it.

Page 4: Dr. Rahul Banerjee Computer Science Group

4 (c) Rahul Banerjee, BITS, Pilani, India

First Generation Global Mobile Radio standard : 1GOnly voice, No data

Second Generation Global Mobile Radio standard : 2G GSM: 9.6 Kbps <circuit switched voice / data>Enhanced Second Generation Global Mobile Radio

standard : 2.5G GSM-GPRS <combination of circuit and packet switched voice /

data>GPRS-136: <100Kbps <packet switched>

Third Generation Global Mobile Radio standard: 3G CDMA2000, =< 2Mbps <packet switched voice / data>

Fourth Generation Global Mobile Radio standard : 4G (near future)? 20-40 Mbps <packet switched voice / data>

Page 5: Dr. Rahul Banerjee Computer Science Group

5 (c) Rahul Banerjee, BITS, Pilani, India

What is 3G?Stands for the Third Generation,Used in the context of new wireless mobile

communication systems / services,Leverages the progress made in cellular technologies

with the advances made in the Internet-based communication / services and the fixed wireline communication technologies,

Is a general-purpose communication network / service architecture,

Allows freedom to end users from being aware of location of request / provision of services,

Puts more emphasis on the services than on the underlying delivery technologies,

Aims to play a key role in aiding the On-Demand service paradigm.

Is not a single-technology architecture; instead allows a multi-technology solution.

Page 6: Dr. Rahul Banerjee Computer Science Group

6(c) Rahul Banerjee, BITS, Pilani, India

Summary: Several generationsGradual enhancements

SecuritySpeedDiscovery

Coexistence & transitionTransition form ‘No IP’ to IPv4 to IPv6

2GGSM

GSM / GPRS

GSM/EGPRS/EDGE

3GUMTS / CDMA 2K /IMT 2K

Page 7: Dr. Rahul Banerjee Computer Science Group

Any questions?

Let’s move to the next point of discussion!

Page 8: Dr. Rahul Banerjee Computer Science Group

Self-Configuration & its Importance

In order too achieve the pervasive computing system design goals (simplicity, versatility and pleasurability) the appliances and the networks comprising of these appliance nodes must be able to:

automatically discover other o Devices,o Services and o Parameters

In addition, they should be able to carry out unattended negotiation amongst themselves if needed.

Systems that can self-configure help bridge the gap among early users and the normal consumers.

Page 9: Dr. Rahul Banerjee Computer Science Group

Discovery Protocols & Mechanisms

Discovery is a term used to describe the protocols and mechanisms by which a network connected device or software service becomes aware of the network to which it is connected and discovers which network services are available.

Service discovery can be all pre-configured (as in DHCP, DNS and LDAP)

For a relatively static system with infrequent addition of new devices or software services, this may be a viable approach. For relatively static networks where central administration is needed or desirable, this sort of pre-configured service discovery may be appropriate.

Mobile devices can enter and leave a home network quite frequently.

Closed systems violate the axiom of versatility, as they are not amenable to easily adding new functionality. In these situations, it is difficult to rely on manual configuration of the network services without violating the axioms of simplicity, versatility and pleasurability.

Therefore, we need service discovery in the home, mobile, and similar environments to be self-configuring.

Page 10: Dr. Rahul Banerjee Computer Science Group

Common Features of SDPThe discovery protocols discussed above share

some common attributes, which could form the basis for a high degree of interoperability.

Let's examine a set of common characteristics of self-configuring service discovery protocols:Client agent: The client agent is a software component that runs in

a device and searches the network to find services needed by applications running in the device. Note that services themselves can be clients of other services.

Service agent: For devices that provide services to other devices, the service agent is a software component that advertises the services provided by the device. In the case where a service provider implementation does not require hardware, a service agent can be based entirely in software.

Registry: In order to provide efficiency and scalability, some of these protocols provide for a (perhaps optional) registry where information about available services is maintained. Typically a registry contains an entry for each service advertised by a service provider. The registry can be centralized or decentralized (distributed).

Registry update mechanism: This pertains to the protocols the service agents use to update their entries in a registry.

Page 11: Dr. Rahul Banerjee Computer Science Group

Common Features of S D P …Registry cleanup: This topic addresses how obsolete or

incorrect information is purged from the registry.Discovery mechanism: The discovery mechanism is

that part of a service discovery protocol that specifies how a client locates the service discovery infrastructure such as a registry.

Client lookup mechanism: The client lookup mechanism defines how a client queries the registry (if there is one) to locate a service it needs, and how it locates the service in the absence of a registry.

Client access to service: This topic addresses how a client, once it has located the service that it needs, negotiates access to the service, including "quality of service" issues and security issues.

Client use of services: Once a client has located a service, and has successfully negotiated access to the service, it must determine (and perhaps acquire) the protocols to actually interact with the service (for instance: IPP, LPR, HTTP, FTP, Java RMI).

Page 12: Dr. Rahul Banerjee Computer Science Group

Select Protocols at Different Levels with Service Discovery FeaturesUPnPSalutationSLPJINIHAViBluetoothIPv6

(c) Dr. Rahul Banerjee, BITS-Pilani© Rahul Banerjee, BITS-Pilani, India, 2003-200512

Page 13: Dr. Rahul Banerjee Computer Science Group

Salutation Service Discovery Architecture

SalutationSalutation is an architecture for looking up, discovering,

and accessing services and information. The Salutation architecture defines abstractions for

devices, applications, services; a capabilities exchange protocol; a service request protocol; "personalities" (standardized protocols for common services);

and APIs for information access and session management.

Its heritage has been (and most implementations to date have focused on) enabling access to office equipment (FAX, printers, scanners, and so on).

However, the architecture also supports other information appliances such as telephones and PDAs through definitions for telephony, scheduling, and address book.

Details on Salutation can be found at www.salutation.org.

Page 14: Dr. Rahul Banerjee Computer Science Group

Service Location Protocol & JINISLP

Service Location Protocol (SLP)3 is a standard developed by a working group of the Internet Engineering Task Force (IETF).

SLP addresses the problem of self-configuring service discovery by applying existing Internet standards to the problem.

SLP is designed to be a lightweight, decentralized protocol with minimal administration requirements.

JiniSun Microsystems developed its Jini technology to

address service discovery needs for networks of Java-enabled devices.

Jini addresses the axioms of simplicity and versatility directly.

Leveraging the Java platform, Jini uses very simple techniques to solve the hard problem of distributed service discovery.

Jini is described at www.sun.com/jini/.

Page 15: Dr. Rahul Banerjee Computer Science Group

Home Audio Video Interoperability & Bluetooth

SchemesHAVi

Home Audio/Video Interoperability (HAVi) is a consortium of consumer electronics companies organized to define the interoperability standards among next generation network-

connected &digital home entertainment products.

HAVi has its own proprietary service discovery protocol. HAVi is described at www.havi.org.

BluetoothBluetooth is a a short-range wireless communication protocol. As part of this effort, the Bluetooth Software Special Interest Group

is defining several layers of a software stack - one of these layers is Service Discovery.

It is optimized for the highly dynamic nature of Bluetooth networks, and is a simple, efficient protocol that allows Bluetooth devices to discover services offered by or through other Bluetooth devices.

Details on Bluetooth can be found at www.bluetooth.com/default.asp.

Page 16: Dr. Rahul Banerjee Computer Science Group

Which one to dominate?

None of these discovery protocols is likely to dominate. Some of these protocols (SLP, Salutation) are deployed primarily within the enterprise or office environment, reducing the likelihood of penetrating the home networking market.

Other technologies like Jini, UPnP and Bluetooth were conceived for a more informal, casually connected environment, which could include networked vehicles and small offices as well as home networks. Each has its strengths, and none has a dominant position in the marketplace.

Consequently, good consumer networking solutions should be able to accommodate heterogeneity, both in terms of underlying connectivity, and in terms of the discovery infrastructure that is supported.

Page 17: Dr. Rahul Banerjee Computer Science Group

Any questions?

Let’s move to the next point of discussion!

Page 18: Dr. Rahul Banerjee Computer Science Group

© Rahul Banerjee, BITS-Pilani, India, 2003-2006

Interfacing technologies

Navigation technologiesHaptic interfacing technologiesOn-screen / Touch-panel technologiesVoice interfacing technologiesVideo-interfacing technologiesHandwriting-based interfacing technologiesHybrid interfacing technologies

Page 19: Dr. Rahul Banerjee Computer Science Group

Any questions?

Let’s move to the next point of discussion!