首页 | 本学科首页   官方微博 | 高级检索  
     

.NET平台下移动Agent迁移机制的实现
引用本文:朱文功,安文森,吴长征. .NET平台下移动Agent迁移机制的实现[J]. 计算机工程与设计, 2007, 28(7): 1727-1729
作者姓名:朱文功  安文森  吴长征
作者单位:1. 冶金自动化研究设计院,北京,100071
2. 冶金自动化研究设计院,北京,100071;中国科学技术大学,自动化系,安徽,合肥,230027
摘    要:对.NET平台下如何实现移动智能体的迁移进行了研究.介绍了智能体迁移的原理,并根据.NET平台提供的相关类库,研究了在.NET平台下移动智能体迁移机制的实现.在分析.NET提供的反射机制和通讯机制的基础上,利用动态链接库和XML文件保存智能体的状态,利用Socket类实现了文件的传送和接收,利用反射机制实现了智能体在新的运行环境中的重构.当智能体在新的环境中启动以后,即实现了智能体在不同主机间的迁移.

关 键 词:移动智能体  迁移机制  反射机制  分布计算  可扩展标记语言  平台  移动智能体  mobile Agent  迁移机制  mechanism  migration  Realization  主机  启动  运行环境  接收  文件保存  类实现  Socket  状态  动态链接库  利用  通讯机制  反射机制  分析
文章编号:1000-7024(2007)07-1727-03
修稿时间:2006-03-09

Realization of migration mechanism of mobile Agent on .NET platform
ZHU Wen-gong,AN Wen-sen,WU Chang-zheng. Realization of migration mechanism of mobile Agent on .NET platform[J]. Computer Engineering and Design, 2007, 28(7): 1727-1729
Authors:ZHU Wen-gong  AN Wen-sen  WU Chang-zheng
Affiliation:1. Automation Research and Design Institute of MetaUurgical Industry, Beijing 100071, China; 2. Department of Automation, University of Science and Technology of China, Hefei 230027, China
Abstract:How to realize the migration of mobile Agent on the .NET platform is studied. Firsyly, the migration principle of the Agent is introduced, and realization of the migration mechanism of mobile Agent is also studied based on the class libraries on the platform of the .NET framework. On the basis of analyzing the reflection mechanism and the communication mechanism provided by the .NET framework, the sending and the receiving of file are implemented by using Socket class, the saving of the state of Agent by dynamic-link library and files written by extensible markup language, and the reconstruction of the Agent in new environment is realized by using the reflection mechanism. After Agent start running in new environment, the migration of Agent among different host computer is realized.
Keywords:mobile Agent   migration mechanism   reflection mechanism   distribute calculation   XML
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号