航空学报 > 2003, Vol. 24 Issue (1): 57-61

基于面向对象PETRI网的移动式Agent系统

任爱华1, 焦晖2, 孙云峰1   

  1. 1. 北京航空航天大学软件所, 北京 100083;2. 空军第一航空学院, 河南信阳 464000
  • 收稿日期:2002-01-17 修回日期:2002-11-22 出版日期:2003-02-25 发布日期:2003-02-25

Modeling Mobile Agent with Object-Oriented PETRI Net

REN Ai-hua1, JIAO Hui2, SUN Yun-feng1   

  1. 1. Software Engineering Institute; Beijing University of Aeronautics and Astronautics; Beijing 100083; China;2. The First Aeronautic Institute of the Air Force; Xinyang Henan 464000; China
  • Received:2002-01-17 Revised:2002-11-22 Online:2003-02-25 Published:2003-02-25

摘要: 为了简化移动式Agent 的设计和实现,描述了以OOPN 为建模语言,建立移动式Agent 系统的基本原理。该系统提供了可视化系统建模、死锁检测和实际的系统运作功能。首先介绍OOPN 的基本概念和Agent 编程工具Aglets,在此基础上介绍如何通过OOPN 建模来生成移动式Agent 系统的具体实现机制,包括Agent 的远程创建和动态部署。最后通过生产者—消费者实例来说明整个系统的执行过程。

关键词: 系统建模, 面向对象PETRI网, 移动式Agent, Aglets

Abstract: In order to simplify the design and implementation of mobile agents systems, a principle of building a mobile Agent system based on the Object Oriented PETRI Nets that are used as a system modeling language is described in the paper. The developing environment mentioned in the paper consists of visual system modeling, deadlock detecting, and actual system enacting tools. The basic concepts of OOPN and Aglets of Agent programming library are introduced first in this paper. Then, the implementing mechanism of generating a mobile Agent systembased on OOPN is described, and algorithms for creating and deploying remote Agents are also introduced in the paper. Finally, an example on the producer and consumer problem is used to show the whole process of Agent systemperforming.

Key words: system modeling, object oriented PETRI net, mobile Agent, Aglets

中图分类号: