• 论文 •    

基于变长基因算法的服务质量驱动多路径Web服务组合

姜红红,杨小虎,徐远,柯杰瑞   

  1. 1.浙江大学 计算机科学与技术学院,浙江杭州310027;2.道富信息科技(浙江有限公司,浙江杭州310030
  • 出版日期:2011-06-15 发布日期:2011-06-25

QoS-aware multi-path Web Service composition using variable length chromosome genetic algorithm

JIANG Hong-hong, YANG Xiao-hu, XU Yuan, CRISTOFORO Jerry A   

  1. 1.College of Computer Science and Technology, Zhejiang University, Hangzhou 310027, China;2.State Street Technology (Zhejiang
  • Online:2011-06-15 Published:2011-06-25

摘要: 为解决在不同服务组合结构(路径)上的服务质量驱动服务组合问题,提出了一种结合Petri网的变长基因算法。用Petri网描述子服务的各种组合结构,列举出所有路径上能实现功能需求的服务执行序列,进一步找出并添加执行序列中的服务并发执行结构,以修正执行序列使之与路径对应,唯一代表路径;而变长基因算法则用不同长度的染色体代表不同路径上的组合服务,并通过服务参数的匹配实现基因的交叉互换,以最终实现在不同路径上搜寻服务质量最优的组合服务。基于所提算法,提出增强初始群体、优化中间群体两点改进,以提高算法稳定性。理论证明该算法具有良好的扩展性,且与传统遗传算法的对比验证了算法的有效性。

关键词: 服务组合, Petri网, 遗传算法, 多路径, 变长染色体, Web服务

Abstract: Combined with Petri net, a variable length chromosome Genetic Algorithm (GA) was proposed to handle QoS-aware service composition among multiple composite structures (paths) problem. Petri net was used to express kinds of Web Service composite structures. It listed all the execution sequences of Web Service to fulfill the user's functional requirements. Subsequently, parallel service execution structures were found out and added into execution sequence so as to modify execution sequence to represent the unique path. Based on paths from Petri net, the variable length chromosome GA represented composited services in multiple paths by variable length chromosomes and conducted the gene crossover operation by service parameters matching to implement the optimum Quality of Service (QoS) composition service search in multi-path. Based on the proposed algorithm, two improvements were put forward to enhance the stability of the algorithm. One was used to choose better initial generation and the other was to optimize the stage generations. Scalability of the algorithm was analyzed theoretically and experimental results demonstrated its effectiveness by comparing to traditional GA.

Key words: service composition, Petri nets, genetic algorithms, multi-path, variable length chromosome, Web Service

中图分类号: