一组移动代理的行为设计模式  被引量:1

A Group of Action Design Patterns for Mobile Agents

在线阅读下载全文

作  者:李钢[1] 李增智[1] 王宇[1] 王立[1] 

机构地区:[1]西安交通大学系统结构与网络研究所,西安710049

出  处:《计算机学报》2002年第12期1331-1337,共7页Chinese Journal of Computers

基  金:国家"八六三"高技术研究发展计划重点项目 ( 86 3-511-946 -0 0 8)资助

摘  要:模式是开发应用程序时所用方法和指导原则的总称 ,它表达了人们在进行软件开发过程中常用的一些设计思想 .通过分析移动代理的运行过程 ,提出了一组行为设计模式 ,其核心思想就是将系统易变的部分与不变的部分进行分离 ,将系统不同层次的功能进行分离 .具体来说 ,就是按照从上到下的顺序 ,将移动代理的行为分成任务流、协作交流和基础功能三层 ,并针对不同的层提出了相应的设计思想 .利用这些模式 ,人们可以解决移动代理系统设计过程中遇到的许多问题 ,因此具有很高的实用价值和理论价值 .By analyzing mobile agent's running process, this paper gives a group of action design patterns, its core thinking is the separation of variable parts and non-variable parts, and the separation of functions at different layers of the system. In detail, these patterns, in up-to-down order, divide mobile agent' behavior into three layers: task flow, cooperation and communion, basic function. At first, task flow layer describes mobile agent's high-level behavior, namely, mobile agent's behavior can be seen as performing corresponding task on every agent execution environment, which can be devised using order itinerary pattern and finite state itinerary pattern according to concrete application. Secondly, mobile agent collaborate with other mobile agents and local services, which is the task of cooperation and communication layer, separation pattern and union collaboration pattern can fit it, wherein, separation pattern is responsible for the separation of agent collaboration function and basic function, here, agent collaboration functions are encapsulated into a single object, through dynamically binding the object, mobile agent can complete corresponding collaboration task, on the other hand, union collaboration pattern introduces a middle layer to deal with the details of collaboration. At last, mobile agent's behavior is based on its basic functions at basic function layer such as security, control, mobility etc., which can be solved using MVC-based pattern. MVC-based pattern separate agent's interface with its implementation, thereby complexity is encapsulated into local, extensibility is gotten. By using these design patterns, high development efficiency, high portability, and maintainable, flexible application framework can be got during the design of mobile agents based system, so they have fine practical and theoretical values.

关 键 词:移动代理 行为设计模式 应用程序 软件 计算机网络 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象