11
Mobile Agent

Mobile Agent (AI)

Embed Size (px)

Citation preview

Page 1: Mobile Agent (AI)

Mobile Agent

Page 2: Mobile Agent (AI)

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

Page 3: Mobile Agent (AI)

A Mobile Agent Dissected

Attributes State Code

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

Page 4: Mobile Agent (AI)

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

Page 5: Mobile Agent (AI)

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.

Page 6: Mobile Agent (AI)

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.

Page 7: Mobile Agent (AI)
Page 8: Mobile Agent (AI)

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

Page 9: Mobile Agent (AI)

Demo

Page 10: Mobile Agent (AI)

Team

Bahaa Alaa Eslam Hamouda Hossam Nabih

Mohamed Sha3lanMohamed Shaply

Page 11: Mobile Agent (AI)

THANKS