Mobile Agent
What is mobile agent ?
-Program that can migrate : where and how ?
-Performs some processing at each host
-Agent decides when and where to move next
-How it Move : on just three steps
*Save state
*Transport
*Resume
A Mobile Agent Dissected
AttributesStateCode
Program in a
suitable
Language to
define
The behavior of
Agent
-Set the internal
variables
-Resume it is
activity after
moving to
another host
-info describing
the agent
-It is origin ,
owner
-Movement
history
-Authentication
key
Levels of mobility
Weak
-when moving a mobile
agent Carrier (Code +
DateState)
-global or instance variables
-on moving , execution has
to start from the beginning
Strong
-when moving a mobile agent
Carrier (Code + DateState +
Execution State)
-global or instance variables
- Execution State :local variables
and threads
-on moving : execution can be
continue from the point it is
stopped on the previous point
Events in Mobile Agent
 Creation: a brand new agent is born and its state is
initialized.
 Dispatch: an agent travels to a new host.
 Cloning: a twin agent is born and the current state of the
original is duplicated in the clone.
 Deactivation: an agent is put to sleep and its state is saved
in persistent storage.
 Activation: a deactivated agent is brought back to life and
its state is restored from persistent storage.
Events in Mobile
 Retraction: an agent is brought back from a remote host along
with its state to the home machine.
 Disposal: an agent is terminated and its state is lost forever.
 Communication: Notifies the agent to handle messages
incoming from other agents , which is the primary means of
inter-agent correspondence.
Why mobile agent ?
-They reduce the network load
-they overcome network latency
-they encapsulate protocols
-they adapt dynamically
-they execute asynchronously and
autonomously
-they are natural heterogeneous
-they are fault tolerance
Demo
Team
Bahaa Alaa
Eslam Hamouda
Hossam Nabih
Mohamed Sha3lan
Mohamed Shaply
THANKS

Mobile Agent (AI)

  • 1.
  • 2.
    What is mobileagent ? -Program that can migrate : where and how ? -Performs some processing at each host -Agent decides when and where to move next -How it Move : on just three steps *Save state *Transport *Resume
  • 3.
    A Mobile AgentDissected AttributesStateCode Program in a suitable Language to define The behavior of Agent -Set the internal variables -Resume it is activity after moving to another host -info describing the agent -It is origin , owner -Movement history -Authentication key
  • 4.
    Levels of mobility Weak -whenmoving a mobile agent Carrier (Code + DateState) -global or instance variables -on moving , execution has to start from the beginning Strong -when moving a mobile agent Carrier (Code + DateState + Execution State) -global or instance variables - Execution State :local variables and threads -on moving : execution can be continue from the point it is stopped on the previous point
  • 5.
    Events in MobileAgent  Creation: a brand new agent is born and its state is initialized.  Dispatch: an agent travels to a new host.  Cloning: a twin agent is born and the current state of the original is duplicated in the clone.  Deactivation: an agent is put to sleep and its state is saved in persistent storage.  Activation: a deactivated agent is brought back to life and its state is restored from persistent storage.
  • 6.
    Events in Mobile Retraction: an agent is brought back from a remote host along with its state to the home machine.  Disposal: an agent is terminated and its state is lost forever.  Communication: Notifies the agent to handle messages incoming from other agents , which is the primary means of inter-agent correspondence.
  • 8.
    Why mobile agent? -They reduce the network load -they overcome network latency -they encapsulate protocols -they adapt dynamically -they execute asynchronously and autonomously -they are natural heterogeneous -they are fault tolerance
  • 9.
  • 10.
    Team Bahaa Alaa Eslam Hamouda HossamNabih Mohamed Sha3lan Mohamed Shaply
  • 11.