Agent Mobility Software Agent 余萍 yuping@anjU.edu.cn
Agent Mobility 余萍 yuping@nju.edu.cn
Outline Code mobility Mobile agent Migration Mechanism in Mobile Agent System 2021/24 Institute of Computer Software, Nanjing University
Code Mobility Mobile Agent Migration Mechanism in Mobile Agent System 2021/2/4 Institute of Computer Software, Nanjing University 2
代码迁移技术( Code Mobility) What is code mobility? Code mobility is the capability to dynamically change the bindings between code fragments and the location where they are executed Involves a Change in bindings dynamically b Relocation of code Network nodea Node b 2021/24 Institute of Computer Software, Nanjing University
What is code mobility? ▪ Code mobility is the capability to dynamically change the bindings between code fragments and the location where they are executed. ▪ Involves: a. Change in bindings dynamically b. Relocation of code Network Node A Node B 2021/2/4 Institute of Computer Software, Nanjing University 3
Why Code Mobility Limitations and drawbacks with traditional approaches in large-scale distributed settings like the internet a. scalability (growing size of network, network partitions) b. Customizability (tailor functionality to specific needs) C. Flexibility (dynamic nature of comm. infrastructure) d. Extensibility (to add new features) 2021/24 Institute of Computer Software, Nanjing University
Limitations and drawbacks with traditional approaches in large-scale distributed settings like the Internet a. Scalability (growing size of network, network partitions) b. Customizability (tailor functionality to specific needs) c. Flexibility (dynamic nature of comm. infrastructure) d. Extensibility (to add new features) 2021/2/4 Institute of Computer Software, Nanjing University 4
Advent of Mobile Code Systems(MCS) Idea taken from process migration techniques used in distributed operating systems like a, locus b. emerald C COoL( Chorus) 2021/24 Institute of Computer Software, Nanjing University
Idea taken from process migration techniques used in distributed operating systems like: a. Locus b. Emerald c. COOL (Chorus) 2021/2/4 Institute of Computer Software, Nanjing University 5
Innovations of mcss Code mobility is exploited on Internet-scale Programming is location aware Mobility is under programmer s control Mobility is not performed just for load balancing service customization extensibility autonomy> fault-tolerance support for disconnected operations 2021/24 Institute of Computer Software, Nanjing University
Code mobility is exploited on Internet-scale Programming is location aware Mobility is under programmer’s control Mobility is not performed just for load balancing - service customization - extensibility - autonomy → fault-tolerance - support for disconnected operations 2021/2/4 Institute of Computer Software, Nanjing University 6
Benefits of mobile code Service customization Supports last phase of software development Deployment and maintenance(in distributed systems-to upgrade or add a new feature) Autonomy of application components Fault-tolerance Data management flexibility and protocol encapsulation 2021/24 Institute of Computer Software, Nanjing University
Service Customization Supports last phase of software development → Deployment and maintenance (in distributed systems – to upgrade or add a new feature) Autonomy of application components Fault-tolerance Data management flexibility and protocol encapsulation 2021/2/4 Institute of Computer Software, Nanjing University 7
Mobile Code applications Distributed Information Retrieval Active documents Advanced Telecommunication Services (video conferencing, video on demand) Remote Device Control and Configuration Workflow management and Cooperation Active networks E-Commerce 2021/24 Institute of Computer Software, Nanjing University 8
Distributed Information Retrieval Active Documents Advanced Telecommunication Services (video conferencing, video on demand) Remote Device Control and Configuration Workflow management and Cooperation Active networks E-Commerce 2021/2/4 Institute of Computer Software, Nanjing University 8
Dimensional classification Application Domains applications that share same general role >E-commerce, distributed information retrieval Technologies Classes of 2 Languages and systems that facilitate Applications code mobility Mechanisms or Technologies Design Paradigms 2 Identify specific configuration of Architectural Styles components and their interaction E.g. CS, P2P, etc 2021/24 Institute of Computer Software, Nanjing University
Application Domains → Applications that share same general role → E-commerce, distributed information retrieval Technologies → Languages and systems that facilitate code mobility Design Paradigms → Identify specific configuration of components and their interaction Classes of Applications Mechanisms or Technologies Architectural Styles E.g. CS, P2P, etc 2021/2/4 Institute of Computer Software, Nanjing University 9
Mobile Code Technologies Traditional Systems(e.g CORBA) omponent Component Component omponent True Distributed System Network Network Network Operating System Operating System Operating System Core Operating System Core Operating Syster Core Operating Syster Host 2021/24 Institute of Computer Software, Nanjing University
Traditional Systems (e.g. CORBA) 2021/2/4 Institute of Computer Software, Nanjing University 10