Vous êtes sur la page 1sur 16

Seminar Presentation

On
MOBILITY SUPPORT FOR
REPLICATED REAL TIME APPLICATIONS

Under the Guidance of


Mr. G. K. PATNAIK
Submitted By
VED PRAKASH GAZTA

Department of Computer Engineering


S.S.V.P.Ss B.S.D. COLLEGE OF ENGINEERING, DHULE
2003-04

B.E. COMPUTER SEMINAR

September 8th, 2003

OUTLINE
Introduction
Pocket Dream Team
Replication In Stationary Environment
Replication In Mobile Environment
Joining a Session
Role of Proxy
Consistency
Implementation
Conclusion
Ved Prakash Gazta

2/16

B.E. COMPUTER SEMINAR


Introduction

Replicated Architecture

No Central Server
State information on each participating site

REPLICATED
PROGRAM

REPLICATED
PROGRAM

REPLICATED
PROGRAM

September 8th, 2003

REPLICATED
PROGRAM

Ved Prakash Gazta

3/16

B.E. COMPUTER SEMINAR


Introduction(Contd.)

Requirements

Support for weakly connected devices.


Stationary and Mobile version should run in same
network.

Problem Areas

September 8th, 2003

Temporary disconnections and high latency.


High development costs.

Ved Prakash Gazta

4/16

B.E. COMPUTER SEMINAR


Pocket Dream Team

Runtime environment

Levels of Communication

September 8th, 2003

Session Manager
Connection Manager
Rendezvous Manager
Network Level
Platform Level
Application Level
Ved Prakash Gazta

5/16

B.E. COMPUTER SEMINAR


Replication in Stationary Environment
Resources
Intersite calls
Resource locking
request(L(R))
apply I(R) to resource R
multicast I(R)to other sites
release(L(R))

September 8th, 2003

Ved Prakash Gazta

6/16

B.E. COMPUTER SEMINAR


Replication in Mobile Environment

Conflicting Requirements

Resource updates to be distributed.


Disconnection is unavoidable.

Remote Proxy Pattern


Segments
Cached Resources

September 8th, 2003

Ved Prakash Gazta

7/16

B.E. COMPUTER SEMINAR


Joining a Session
Look up for a Proxy.
Proxy performs a Group Rendezvous.
Session Manager performs Join operation.

September 8th, 2003

Ved Prakash Gazta

8/16

B.E. COMPUTER SEMINAR


Role of the Proxy
Problems related to disabled Proxies

The Proxy disconnects from other session members, but still


has contact to the mobile device.
The Proxy disconnects from mobile user but still has contact
to the stationary segment.
The Proxy disconnects from from both segments or breaks
down.

September 8th, 2003

Ved Prakash Gazta

9/16

B.E. COMPUTER SEMINAR


Consistency

Hybrid approach for Concurrency control.


Thread 1:
do {
receive inter-site call I(R) from other site
// note: other site already requested the lock
apply I(R) to local resource R
increase T(R)
if (mobile device is on-line)
send state of R and T(R) to mobile device
else
store state and T(R) and send when device
connects
} until (session stops)

September 8th, 2003

Ved Prakash Gazta

10/16

re-

B.E. COMPUTER SEMINAR


Consistency(contd.)

Thread 2:
do {
receive inter-site call I(R) and T'(R) from mob.
device
request(L(R))
if (T'(R)<>T(R)) // i.e. conflict!
solve conflict
// i.e. generate new I(R) without conflicts
apply I(R) to resource R
increase T(R)
send state of R and T(R) to mobile device
multicast inter-site call I(R) to other sites
release(L(R))
} until (session stops)

September 8th, 2003

Ved Prakash Gazta

11/16

B.E. COMPUTER SEMINAR


Implementation Issues

Handheld devices small memory, slow CPU.


Crossing language borders.
Extra code for Conflict Resolution.

September 8th, 2003

Ved Prakash Gazta

12/16

B.E. COMPUTER SEMINAR


Conclusion

The design demonstrates how we could effectively extend a


distributed application platform for mobile usage.
The remote proxy pattern was used as a guideline for this
architecture. Mobile users can access high-demanding
applications through devices with low computational power.
For replication and consistency, the system offers generic
mechanisms, which a developer can adapt.

September 8th, 2003

Ved Prakash Gazta

13/16

B.E. COMPUTER SEMINAR


Bibliography
[1] Jorg Roth, Mobility Support for Replicated Real-Time
Applications, 58084 Hagen, Germany, June 22 ,2002 PP 181192.
[2]Jorg Roth, The Resource Framework for Mobile
Applications , 58084 Hagen, Germany. Jan 7, 2003.

September 8th, 2003

Ved Prakash Gazta

14/16

B.E. COMPUTER SEMINAR

QUESTIONS

September 8th, 2003

ANSWERS

Ved Prakash Gazta

DISCUSSIONS

15/16

B.E. COMPUTER SEMINAR

Thank you

September 8th, 2003

Ved Prakash Gazta

16/16

Vous aimerez peut-être aussi