Académique Documents
Professionnel Documents
Culture Documents
Hrushikesha Mohanty1
hmcs@uohyd.ernet.in
Satyajit Acharya1
s.acharya@ieee.org
1
Dept. of Comp. & Info. Sciences
University of Hyderabad, Hyderabad
Faculty of TCS
TIFR, Mumbai
Abstract
We discuss the specialty and the limitations found in
mobile computing environment to motivate the readers on
the necessity of having methods for developing mobile
computing application in the object oriented paradigm. It
is shown that existing specification model like
Objectchart do not model the effects due to location
awareness and other typical phenomena like hands-off
and hands-on. We have shown Mobichart can address the
drawbacks of Objectchart and can be used to model
mobile computing applications.
Keywords: Notational Specification, Objectcharts,
Mobicharts, Mobile Computing, Container, Migration,
Disconnected Operation.
1.
R.K. Shyamasundar2
shyam@tcs.tifr.res.in
INTRODUCTION
Advances in wireless communication and computing
technologies have engendered a new paradigm of
computing, called Mobile Computing, which allows
mobility of user (and his/her portable computing devices)
thereby providing anytime anywhere computing. Backed
with technological advances, this distributed computing
paradigm promises several applications. But this
paradigm is plagued with several limitations [1] found in
mobile computing environment. Moreover, in order to
take the benefit of the paradigm, a computation has to be
location aware as well as sensitive to its ambients. A task
may migrate from one mobile host to another or it can
move from one place to another along with the host that is
the ambient of the task.
Although, it is natural for designers to abstractly
visualize tasks and their ambients as objects, still
Objectcharts [2] [11] formalism that models object based
systems fails to model essential features of mobile
computing environment. In this work, through Mobichart
[3], we provide mechanisms to model applications based
on event-action architecture and to specify application
behavior in response to typical features like location
awareness, migration, cloning, disconnected operations,
hoarding. We extend the specification of an object with a
R.K. Ghosh3
rkg@cse.iitk.ernet.in
3
Dept. of CSE
IIT, Kanpur
MOTIVATION
In spite of the above limitations, the mobile
computing environment is useful for location aware
computing/ubiquitous computing [4]. In literature it is
shown that a distributed computation needs to be
restructured [5] into lightweight (to run on hosts) and
heavyweight (to run on MSSs) computations. Again an
application should have contingency plans to adapt to the
abnormal environmental situations.
A mobile computing application can be modeled by a
set of interoperable objects located in different mobile
hosts and collaborate by passing messages among
themselves. While objects may move to different hosts,
hosts can also change locations. We refer to this type of
computations as mobile computing tasks. Keeping
lightweight computation in view we propose to model a
MOBICHARTS
In this section we introduce Mobichart after showing
inadequacy of Objectchart in modeling a mobile task.
A task is modeled into an object and we follow
Objectchart to show task activities. An object engaged in
computation at a host might have been originated at or
migrated to the host. At higher level, object may assume
Active/Passive/Join/Leave/ Terminated states as shown in
Task<name>
Wakeup signal
From MSS
Active/
Wakeup
Passive
State
user.kill/Finish
Active State
Monitor
Terminated
Compute
Doze/move
Migrate
Leave
Collect
information
Join
5.
MOBICHARTS SERVICES
All mobile objects/tasks have certain essential
functionality/services that are required for objects to
adapt to typical environment situations. The services that
can be used on demand are: Migration, Inheritance,
Hoarding, Cloning, Sharing and Synchronization. Some
of these aspects are discussed below. Details about other
services are given in [3].
(a) Migration: Every task has to migrate from one host to
another or from a host to a MSS and vice-versa at some
inherit
variables;
Loc: <currloc>
Device id: <ID>
Active
inherit variables;
NewTask
inherit
variables;
Clone
Loc: <currloc>
Device id: <ID>
Frozen
Clone
Join
New
Task
Loc: <currloc>
Device id: <ID>
Frozen
Leave
Loc: <NewLoc>
Device id: <NewID>
Active
Transit
Loc: <newloc>
Frozen
(Newloc)
Join (Newloc);
6.
CONCLUSION
The classical design approaches are not suitable to
model typical characteristics of mobile computing
environment viz. location awareness, migration, cloning,
and disconnection management. In the proposed
Mobicharts an extension of Objectchart has visual
specifications to model these characteristics. Hence, an
application designer not only can use Mobicharts to
specify state changes of objects participating in this
application but also can model system behaviors during
REFERENCES
Container Handle
Loc: <currloc>
Join Host
Disconnected
DisconnectedExecute
Connected
ExecuteTask
Check
Not Empty
cannot
continue,
hoarded
data not
enough
CheckMsgQ
WaitForReconnection
Not Empty
CheckMsgQ
Empty, goto
passive
Reconnect
Host
Hoard
HoardData
Hoarding
Complete
receive events
Monitor Activities/Events
create actions