在分布式的网络中,传统的搜寻方法复杂性过高,搜索时间较长,而且往往不能适应网络动态的变化.基于遗传过程,提出了一种快速服务发现算法(QSFA).在Mobile Agent(移动代理)和服务节点交互的过程中,QSFA根据访问的结果来动态地改变每条服务记录适应值的高低,从而使得有效的信息能够在网络中保留较长的时间,而过时的、错误的服务信息会在网络中较快地消亡.实验仿真的结果表明,Mobile Agent能够在分布式网络中较快速地发现所需的服务资源.
In distributed network, the traditional search method will take much time and can't adjust to the change of environment. According to the theory of Genetic Algorithm, Quick Service Find Algorithm (QSFA) is proposed. When Mobile Agent interacts with Service Node, QSFA will change the fitness of service information according to the visit result, so that, proper service information can remain longer in the network and invalid ones will disappear quickly. The result of simulation reveals that Mobile Agent can find service in the distributed network quickly and properly.