Agents & Mobile Agents.

Slides:



Advertisements
Similar presentations
DISTRIBUTED COMPUTING PARADIGMS
Advertisements

Additional Topics ARTIFICIAL INTELLIGENCE
Mobile Agents Mouse House Creative Technologies Mike OBrien.
Agent agent Outline of Presentation Introduction: Inter-Agent Message Passing ARP: Design and Analysis Generalization: A Generic Framework Conclusion.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2. Outline Agents and environments Agents and environments Rationality Rationality PEAS (Performance measure, Environment,
Agents and Intelligent Agents  An agent is anything that can be viewed as  perceiving its environment through sensors and  acting upon that environment.
28.2 Functionality Application Software Provides Applications supply the high-level services that user access, and determine how users perceive the capabilities.
AI CSC361: Intelligent Agents1 Intelligent Agents -1 CSC361.
Network Operating Systems Users are aware of multiplicity of machines. Access to resources of various machines is done explicitly by: –Logging into the.
Technical Architectures
Context-based Information Sharing and Authorization in Mobile Ad Hoc Networks Incorporating QoS Constraints Sanjay Madria, Missouri University of Science.
© nCode 2000 Title of Presentation goes here - go to Master Slide to edit - Slide 1 Reliable Communication for Highly Mobile Agents ECE 7995: Term Paper.
Software Engineering and Middleware: a Roadmap by Wolfgang Emmerich Ebru Dincel Sahitya Gupta.
ICS-171: Notes 2: 1 Intelligent Agents Chapter 2 ICS 171, Fall 2005.
Intelligent Agents Chapter 2 ICS 171, Fall 2005.
Intelligent Agents Chapter 2.
AgentOS: The Agent-based Distributed Operating System for Mobile Networks Salimol Thomas Department of Computer Science Illinois Institute of Technology,
16: Distributed Systems1 DISTRIBUTED SYSTEM STRUCTURES NETWORK OPERATING SYSTEMS The users are aware of the physical structure of the network. Each site.
DISTRIBUTED PROCESS IMPLEMENTAION BHAVIN KANSARA.
Distributed Process Implementation Hima Mandava. OUTLINE Logical Model Of Local And Remote Processes Application scenarios Remote Service Remote Execution.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
CPSC 7373: Artificial Intelligence Jiang Bian, Fall 2012 University of Arkansas at Little Rock.
1 Chapter Client-Server Interaction. 2 Functionality  Transport layer and layers below  Basic communication  Reliability  Application layer.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
COMP 4640 Intelligent & Interactive Systems Cheryl Seals, Ph.D. Computer Science & Software Engineering Auburn University Lecture 2: Intelligent Agents.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Other Topics RPC & Middleware.
1 Chapter 38 RPC and Middleware. 2 Middleware  Tools to help programmers  Makes client-server programming  Easier  Faster  Makes resulting software.
Source: George Colouris, Jean Dollimore, Tim Kinderberg & Gordon Blair (2012). Distributed Systems: Concepts & Design (5 th Ed.). Essex: Addison-Wesley.
Part 3: Internetworking Internet architecture, addressing, encapsulation, reliable transport and the TCP/IP protocol suite.
Intelligent Agents Chapter 2 Some slide credits to Hwee Tou Ng (Singapore)
Lection 3. Part 1 Chapter 2 of Russel S., Norvig P. Artificial Intelligence: Modern Approach.
Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types Artificial Intelligence.
Intelligent Agents Chapter 2. CIS Intro to AI - Fall Outline  Brief Review  Agents and environments  Rationality  PEAS (Performance measure,
Chapter 5.4 DISTRIBUTED PROCESS IMPLEMENTAION Prepared by: Karthik V Puttaparthi
DISTRIBUTED COMPUTING PARADIGMS. Paradigm? A MODEL 2for notes
Chapter 2: System Models. Objectives To provide students with conceptual models to support their study of distributed systems. To motivate the study of.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
MOBILE AGENTS What is a software agent ? Definition of an Agent (End-User point of view): An agent is a program that assists people and acts on their behalf.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Intelligent Agents Chapter 2. Agents An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment.
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Chapter 2 Hande AKA. Outline Agents and Environments Rationality The Nature of Environments Agent Types.
Transparent Mobility of Distributed Objects using.NET Cristóbal Costa, Nour Ali, Carlos Millan, Jose A. Carsí 4th International Conference in Central Europe.
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
Shuman Guo CSc 8320 Advanced Operating Systems
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 13. Review Shared Data Software Architectures – Black board Style architecture.
Introduction of Intelligent Agents
Instructional Objective  Define an agent  Define an Intelligent agent  Define a Rational agent  Discuss different types of environment  Explain classes.
INTELLIGENT AGENTS. Agents  An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through.
JS (Java Servlets). Internet evolution [1] The internet Internet started of as a static content dispersal and delivery mechanism, where files residing.
REST By: Vishwanath Vineet.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Institute for Visualization and Perception Research 1 © Copyright 1999 Haim Levkowitz Java-based mobile agents.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
1/23 Intelligent Agents Chapter 2 Modified by Vali Derhami.
CSC 9010 Spring Paula Matuszek Intelligent Agents Overview Slides based in part on Hwee Tou Ng, aima.eecs.berkeley.edu/slides-ppt, which are in turn.
CPSC 420 – Artificial Intelligence Texas A & M University Lecture 2 Lecturer: Laurie webster II, M.S.S.E., M.S.E.e., M.S.BME, Ph.D., P.E.
Intelligent Agents. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Hong Cheng SEG4560 Computational Intelligence for Decision Making Chapter 2: Intelligent Agents Hong Cheng
Intelligent Agents Chapter 2.
Mobile Agents.
Mobile Agents M. L. Liu.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Presentation transcript:

Agents & Mobile Agents

Agents An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators Human agent: eyes, ears, and other organs for sensors; hands, legs, mouth, and other body parts for actuators Robotic agent: cameras and infrared range finders for sensors; various motors for actuators

Agents and environments The agent function maps from percept histories to actions: [f: P*  A] The agent program runs on the physical architecture to produce f agent = architecture + program

Vacuum-cleaner world Percepts: location and contents, e.g., [A,Dirty] Actions: Left, Right, Suck, NoOp

Agents - what are they?

Objects and Agents – An Analogy Objects encapsulate state, Agents encapsulate state + execution behaviour Objects have no control over the execution of methods Invocation of method m on object o – involuntary – whether object o likes it or not

Objects and Agents – An Analogy Agents have control of whether or not to perform any given action Request actions rather than invoke methods

Microsoft Agent persons Microsoft Agent

Basic Definitions

Rational agents An agent should strive to "do the right thing", based on what it can perceive and the actions it can perform. The right action is the one that will cause the agent to be most successful Performance measure: An objective criterion for success of an agent's behavior E.g., performance measure of a vacuum-cleaner agent could be amount of dirt cleaned up, amount of time taken, amount of electricity consumed, amount of noise generated, etc.

Simple reflex agents

Agents - Applications many due to: agent research spans disciplines: artificial intelligence, distributed computing, software engineering (ABSE), sociology, psychology, economics, object-oriented systems, artificial life, game theory, ... a sampling... 12

What is a Mobile Agent ?

What is a Mobile Agent ? Software program Moves from machine to machine under its own control…. Suspend execution at any point in time, transport itself to a new machine and resume execution Once created, a mobile agent autonomously decides which locations to visit and what instructions to perform Continuous interaction with the agent’s originating source is not required HOW? Implicitly specified through the agent code Specified through a run-time modifiable itinerary

Mobile Agent Derives from AI and distributed systems Agent that migrates under its own control in a heterogeneous environment Mobility can be Strong: move code with current execution state Weak: move only code Agent Server Client Server

Evolution Mobile Agent – transfers BOTTOMLINE: Mobile Agents are a distributed computing paradigm End point in the incremental evolution of mobile abstractions such as mobile code, mobile objects, mobile processes. Mobile Code – transfers code Mobile Object – transfers code + data Mobile Process – transfers code + data + thread state Mobile Agent – transfers code + data + thread + authority of its owner

Inter-Agent Message Passing - Requirements Efficiency Low location updating overhead Low message delivery overhead Asynchrony Asynchronous execution Little constraint on the mobile agent mobility. Adaptability Suit different Communication and Migration Pattern

Inter-Agent Message Passing - Requirements Location Transparency Message sender does not need to know the physical location of the receiver agent, whose address changes frequently by moving from one host to another. Reliability The concurrent and asynchronous nature of message forwarding and agent migration may cause message loss or chasing problem. By reliability we mean the message can reach the target agent by a bounded number of forwarding.

RPC Vs Mobile Agents Mobile Agents Instead of calling a procedure, supply the procedure as well Messages: Mobile Agent ( procedure + data + state) “Sending” computer may have begun the procedure and the receiving computer will continue the procedure On-going interaction, but NO on-going communication Requests include data which are sent as arguments to the procedure Responses include data which are sent as results Protocol for communication : which procedures are remotely accessible, the types of arguments and results CLIENT SERVER network Mobile Agent Service

Applets, Servlets and Mobile Agents Applet – Downloaded from server to client Servlet – Uploaded from client to server Mobile Agents – Detached from client, can have multiple hops

Advantages of the Mobile Agent Paradigm reduce bandwidth consumption and network loads allow dynamic deployment of application components to arbitrary network sites encapsulate protocols execute asynchronously and autonomously can adapt by moving run on heterogeneous platforms most distributed applications fit naturally into the mobile agent model intuitively suitable for mobile users and disconnected operations Mobile agents combine the strengths of techniques such as RPC, java applets etc. into a single, convenient framework

Levels of Mobility Weak Mobility When moving a mobile agent carries code + data state On moving, execution has to start from the beginning

Levels of Mobility Strong Mobility When moving a mobile agent carries code + data state + execution state Execution State – local variables and threads On moving, execution can continue from the point it stopped on the previous host

MAP ? MAP MAP MAP

Design of ARP (Adaptive and Reliable Protocol) Mobile IP solution Extention1: Mobile IP + Synchronization Extension2: Distributed Home Scheme Extension3: Mailbox-Based Scheme = ARP

Mobile IP Solution MAP MAP-Home Reg MAP MAP

Design of ARP Mobile IP solution No Reliability Support Extention1: Mobile IP +Synchronization The agent home coordinates message passing and agent migration Extension2: Distributed Home Scheme Extension3: Mailbox-Based Scheme = ARP

Mobile IP + Synchronization MAP MAP-Home Reg ACK Dereg MAP MAP

Mobile IP + Synchronization MAP MAP-Home Reg ACK Dereg MAP MAP

Caching Mechanism MAP-1 MAP-2 MAP-3

Properties of ARP Location Transparency Reliability Home + Caching Mechanism Reliability Synchronization is used Asynchronous Migration Adaptability Mobile IP + Synchronization Distributed Home Scheme Efficiency

IBM’s Aglet Toolkit An Applet-like programming model for mobile agents Java (as many mobile agent toolkits are! ) Aglet = Agent + Applet Aglet’s API facilitates mobile technology Aglet: mobile java object that visits aglet enabled hosts in a computer network An Aglet = Instance of a Java class extending the Aglet Class

IBM’s Aglet Toolkit An Aglet =Aglet state (values in variables) + Aglet code (class implementation) Autonomous – runs its own thread after arriving at a host Reactive – responds to incoming messages Weak Mobility

Thank you for lessening