• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (6): 72-78.doi: 10.3969/j.issn.1007130X.2011.

• 论文 • 上一篇    下一篇

面向Agent的软件设计模式

毛新军,常志明   

  1. (国防科学技术大学计算机学院,湖南 长沙 410073)
  • 收稿日期:2009-05-20 修回日期:2009-10-26 出版日期:2011-06-25 发布日期:2011-06-25
  • 作者简介:毛新军(1970),男,浙江江山人,博士,教授,博士生导师,研究方向为面向Agent软件工程,软件体系结构和模式等。常志明(1979),男,辽宁沈阳人,博士生,研究方向为面向Agent软件工程、软件体系结构等。
  • 基金资助:

    国家自然科学基金资助项目(60773018)

AgentOriented Software Design Patterns

MAO Xinjun,CHANG Zhiming   

  1. (School of Computer Science,National University of Defense Technology,Changsha 410073,China)
  • Received:2009-05-20 Revised:2009-10-26 Online:2011-06-25 Published:2011-06-25

摘要:

设计模式针对一类在特定上下文中反复出现的问题给出了通用解决方案,模式的提取和重用有助于提高软件开发的效率和质量,其思想和方法已在面向对象软件工程中得到广泛应用和验证。我们认为同一问题采用不同的实现技术往往具有不同的设计形态,不同软件开发范型也有其各自不同的设计模式。作为一种新颖的软件开发范型,近年来面向Agent软件工程的研究取得了长足进展,如何提高软件Agent技术实用性,发挥其技术潜力,扩大其应用范围成为当前人们关注的焦点。本文将模式思想引入到面向Agent软件工程,针对软件Agent技术的特点,从组织结构、交互协作和个体Agent体系结构三个视点提出了一组面向Agent的软件设计模式,以支持多Agent系统的设计;并进一步给出了面向Agent设计模式的描述框架,进行了典型设计模式和应用案例的分析。

关键词: Agent, 设计模式, 多Agent系统, 面向Agent软件工程

Abstract:

Design pattern gives general solutions to the repeatedlyoccuring problems on certain contexts. It has been widely used in objectoriented software engineering and proved to be helpful to improve the quality and efficiency of software development. We believe, the same design pattern will have various design details when adopting different implementation techniques, and different software development paradigms have their design patterns. As a novel paradigm, agentoriented software engineering has made great progress. Nowadays, many focuses have been put on how to improve its practices and to extend its applications. In this paper, pattern approach is integrated with agentoriented software engineering. Based on the characteristics of the agent technology, a number of agentoriented design patterns have been presented from multiple viewpoints such as structure, collaboration and agent architecture. A description framework for agentoriented design pattern is presented. An analysis of the typical agentoriented design pattern and its application case is conducted.

Key words: agent;design pattern;multiagent system;agent oriented software engineering