Agent Management 652

472 views
416 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
472
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
12
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Agent Management 652

  1. 1. Agent management LIFE CYCLE & LOG STRUCTURE YUOSEF M. RADI Research for CS 652 Dr. FATHI AL-BORAEI
  2. 2. Outline <ul><li>Introduction. </li></ul><ul><li>Agent management. </li></ul><ul><li>Life cycle. </li></ul><ul><li>Mobile agent life state log structure. </li></ul><ul><li>Storage method. </li></ul><ul><li>Proposal . </li></ul><ul><li>Question. </li></ul><ul><li>Reference. </li></ul>
  3. 3. Introduction <ul><li>An agent is created on a certain agent server and it will run autonomously. </li></ul><ul><li>Each agent has a life cycle, and each agent has several different life states during entire lifetime. </li></ul>
  4. 4. Introduction <ul><li>The mobile agent migrates among agent servers as needed to execute given tasks using different services provided by individual servers. </li></ul><ul><li>After accomplishing its given tasks, mobile agent terminates. </li></ul><ul><li>A “common ground” between these agents needs to be available to enable agent coordination. </li></ul>
  5. 5. Outline <ul><li>Introduction. </li></ul><ul><li>Agent management system. </li></ul><ul><ul><li>Agent Platform. </li></ul></ul><ul><ul><ul><li>FIBA standard. </li></ul></ul></ul><ul><ul><ul><li>Grasshopper standard. </li></ul></ul></ul><ul><li>Life cycle. </li></ul><ul><li>Mobile agent life state log structure. </li></ul><ul><li>Storage method. </li></ul><ul><li>Proposal . </li></ul><ul><li>Question. </li></ul><ul><li>Reference. </li></ul>
  6. 6. Agent Platform <ul><li>FIBA standard </li></ul><ul><ul><li>AMS ( Agent management system ) is recognized to be an important part of an agent platform. </li></ul></ul><ul><ul><li>Only one AMS will exist in a single AP. </li></ul></ul><ul><li>Agent Platform </li></ul>Message Transport System Agent Platform Security Manager Agent Management & Directory Facilitator Agent Application
  7. 7. Agent Platform <ul><li>The AMS is responsible for: </li></ul><ul><ul><li>managing the operation of an AP, such as: </li></ul></ul><ul><ul><ul><li>creation, deletion and migration of agents to and from the AP. </li></ul></ul></ul><ul><ul><li>Maintained an agent life cycle. </li></ul></ul><ul><ul><ul><li>understand the life cycle model for which an agent has been designed. </li></ul></ul></ul>
  8. 8. Agent Platform <ul><li>Grasshopper standard: </li></ul><ul><ul><li>Management Service: allow the monitoring and control of agents and places </li></ul></ul><ul><ul><li>create, remove, suspend and resume agents, services, and places. </li></ul></ul><ul><ul><li>get information about specific agents and services. </li></ul></ul><ul><ul><li>list all agents residing in a specific place, and to list all places of an agency. </li></ul></ul>
  9. 9. Outline <ul><li>Introduction. </li></ul><ul><li>Agent management. </li></ul><ul><li>Life cycle. </li></ul><ul><ul><li>Life cycle definition. </li></ul></ul><ul><ul><li>Life cycle in different technology. </li></ul></ul><ul><ul><li>Life cycle model. </li></ul></ul><ul><ul><li>Life cycle states. </li></ul></ul><ul><li>Mobile agent life state log structure. </li></ul><ul><li>Storage method. </li></ul><ul><li>Proposal . </li></ul><ul><li>Question. </li></ul><ul><li>Reference. </li></ul>
  10. 10. Life cycle definition <ul><li>An agent life cycle can be defined as: A series of stages through which an agent passes during its lifetime. </li></ul><ul><li>An agent’s state can be used to provide coordination mechanisms with useful status information. </li></ul>
  11. 11. Life cycle in different technology <ul><li>FIPA agents can be in one of the following states: </li></ul><ul><ul><li>Initiated. </li></ul></ul><ul><ul><ul><li>After creation, the agent is said to be in the initiated state. </li></ul></ul></ul><ul><ul><li>Active. </li></ul></ul><ul><ul><ul><li>After invoking the agent, it is active. </li></ul></ul></ul><ul><ul><ul><li>The central state of a FIPA agent is the so-called active state. </li></ul></ul></ul><ul><ul><ul><li>After moving into another state, agents always return to the active state before additional state transitions are possible. </li></ul></ul></ul><ul><ul><li>Transit. </li></ul></ul><ul><ul><ul><li>the move function failed on the original AP. </li></ul></ul></ul><ul><ul><ul><li>the agent was successfully started on the destination AP </li></ul></ul></ul><ul><ul><li>Suspended. </li></ul></ul>
  12. 12. Life cycle in different technology <ul><li>Pathfinder model consists of the following states and transitions between them: </li></ul><ul><ul><li>Stopped. </li></ul></ul><ul><ul><li>Running. </li></ul></ul><ul><ul><li>Suspended. </li></ul></ul><ul><ul><li>Aborted. </li></ul></ul><ul><ul><li>Completed. </li></ul></ul>
  13. 13. Life cycle in different technology <ul><li>MASIF includes the following functions: </li></ul><ul><ul><li>Creation. </li></ul></ul><ul><ul><li>Termination. </li></ul></ul><ul><ul><li>Suspension. </li></ul></ul><ul><ul><li>Transfer. </li></ul></ul><ul><ul><li>Resumption. </li></ul></ul>
  14. 14. Life cycle model <ul><li>Life cycle model as presented in the following research paper: </li></ul><ul><ul><li>Supporting Life Cycle Coordination in Open Agent Systems </li></ul></ul>
  15. 15. Life cycle model <ul><li>life cycle models are used by mobile management systems to: </li></ul><ul><ul><li>Monitor the state of agents. </li></ul></ul><ul><ul><li>Control agent-state changes. </li></ul></ul><ul><li>The basic life states are: </li></ul><ul><ul><li>Suspending the agent can not run and still stay within the agent server. </li></ul></ul><ul><ul><li>Activated running and able to perform actions. </li></ul></ul><ul><ul><li>Migrating travelling between two server. </li></ul></ul>Migration Suspend Activated Creation Termination Arrival Departure Run Finish Termination
  16. 16. Life cycle model <ul><li>From an agent’s perspective, the most important state is the active state, in which it can perform its tasks. </li></ul><ul><li>From a management perspective, the suspended state is the most important state. </li></ul><ul><li>Why? </li></ul><ul><ul><li>A management system can perform actions on the agent without interfering with its tasks. </li></ul></ul><ul><ul><ul><li>Security chicks on agent when it’s arrive to see if agent are carrying stolen or harm data. </li></ul></ul></ul>
  17. 17. Outline <ul><li>Introduction. </li></ul><ul><li>Agent management. </li></ul><ul><li>Life cycle. </li></ul><ul><li>Mobile agent life state log structure. </li></ul><ul><li>Storage method. </li></ul><ul><li>Proposal . </li></ul><ul><li>Question. </li></ul><ul><li>Reference. </li></ul>
  18. 18. Mobile agent life state log structure <ul><li>During its life cycle, a mobile agent may go through many states, In order to improve the mobile agent management, we have to record these states. </li></ul><ul><li>The mobile agent life state log structure is described as a four-items: </li></ul><ul><ul><li>Life_State_Log_Structure= (Agentld, State-Type, Time, Place) </li></ul></ul>
  19. 19. Mobile agent life state log structure <ul><li>Where: </li></ul><ul><ul><li>Agentld : identifies a log item belongs to which mobile agent. </li></ul></ul><ul><ul><li>State-Type : indicates the type of mobile agent life state. </li></ul></ul><ul><ul><li>Time : indicates the time when the mobile agent came to the current State Type. </li></ul></ul><ul><ul><li>Place : identifies the agent server where the mobile agent came to the current State-Type at the specific time. </li></ul></ul>
  20. 20. Outline <ul><li>Introduction. </li></ul><ul><li>Agent management. </li></ul><ul><li>Life cycle. </li></ul><ul><li>Mobile agent life state log structure. </li></ul><ul><li>Storage method. </li></ul><ul><li>Proposal . </li></ul><ul><li>Question. </li></ul><ul><li>Reference. </li></ul>
  21. 21. Storage method <ul><li>Agent life state log structure storage methods as discussed in the following research paper: </li></ul><ul><ul><li>Mobile Agent Life State Management </li></ul></ul>
  22. 22. Storage method <ul><li>The storage method of the agent life state log indicates that where the log was stored. </li></ul><ul><li>There are many places to store the logs in a mobile agent system: </li></ul><ul><ul><li>The agent server where the mobile agent is created. A necessary storage place. </li></ul></ul><ul><ul><li>The agent server where the mobile agent currently stays. One of its basic functions. </li></ul></ul><ul><ul><li>The mobile agent itself. Temporary place. </li></ul></ul>
  23. 23. Storage method
  24. 24. Storage method <ul><li>The agent server where the mobile agent is created: It is a necessary storage place because the mobile agent creator needs to know the status of its created agents during their life cycle. </li></ul><ul><li>The agent server to which the mobile agent migrates: Is a definite choice of place of life state log storage because managing the coming agent is one of its basic functions. </li></ul><ul><li>The mobile agent can take its life state logs too: but it is only temporary place because the mobile agent will be terminated at future time. </li></ul>
  25. 25. Outline <ul><li>Introduction. </li></ul><ul><li>Agent management. </li></ul><ul><li>Life cycle. </li></ul><ul><li>Mobile agent life state log structure. </li></ul><ul><li>Storage method. </li></ul><ul><li>Proposal . </li></ul><ul><li>Question. </li></ul><ul><li>Reference. </li></ul>
  26. 26. Proposal <ul><li>The storage strategy goes as follows: </li></ul><ul><ul><li>When a mobile agent migrates to an agent server, both the server and the mobile agent itself log the agent life state change. </li></ul></ul><ul><ul><li>When the agent returns to its creator server, the mobile agent transfers the logs to the server and deletes the same from its own storage. </li></ul></ul>
  27. 27. Proposal <ul><li>Advantage. </li></ul><ul><ul><li>The life state logs will be stores in many distributed places, so the reliability is increased. </li></ul></ul><ul><ul><li>The creator server can search and analyze locally life state logs of all the agents it created, which will decrease the network load and increase the search speed. </li></ul></ul>
  28. 28. Proposal
  29. 29. Example 00:03:00 00:09:00 Migration AGENT 1 MACHINE 2 00:02:20 00:06:40 Suspending AGENT 1 MACHINE 2 00:01:00 00:05:40 Activating AGENT 1 MACHINE 2 00:02:30 00:03:10 Suspending AGENT 1 MACHINE 2 00:00:25 00:02:45 Migration AGENT 1 MACHINE 1 00:00:40 00:02:05 Suspending AGENT 1 MACHINE 1 00:01:00 00:01:05 Activating AGENT 1 MACHINE 1 00:00:05 00:01:00 Suspending AGENT 1 MACHINE 1 00:00:40 00:00:20 Migration AGENT 1 MACHINE 0 00:00:10 00:00:10 Suspending AGENT 1 MACHINE 0 00:00:08 00:00:02 Activating AGENT 1 MACHINE 0 00:00:01 00:00:01 Suspending AGENT 1 MACHINE 0 Duration TIME STATE-TYPE AGENT-ID PLACE
  30. 30. Outline <ul><li>Introduction. </li></ul><ul><li>Agent management. </li></ul><ul><li>Life cycle. </li></ul><ul><li>Mobile agent life state log structure. </li></ul><ul><li>Storage method. </li></ul><ul><li>Proposal . </li></ul><ul><li>Question. </li></ul><ul><li>Reference. </li></ul>
  31. 31. Question <ul><li>Question </li></ul><ul><li>Objective </li></ul><ul><li>Comments </li></ul>
  32. 32. Outline <ul><li>Introduction. </li></ul><ul><li>Agent management. </li></ul><ul><li>Life cycle. </li></ul><ul><li>Mobile agent life state log structure. </li></ul><ul><li>Storage method. </li></ul><ul><li>Proposal . </li></ul><ul><li>Question. </li></ul><ul><li>Reference. </li></ul>
  33. 33. Reference <ul><li>Mobile Agent Life State Management. </li></ul><ul><li>Managing Agent Life Cycles in Open Distributed Systems </li></ul><ul><li>Supporting Life Cycle Coordination in Open Agent Systems </li></ul><ul><li>Design and implementation of a FIPA compliant. </li></ul><ul><li>Grasshopper A Universal Agent. </li></ul>

×