语义Web服务自动组合的关键技术研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
Web服务组合是将多个功能单一的Web服务按照一定的逻辑顺序进行组合,通过服务间的调用关系顺利执行从而满足复杂功能需求的一种实现技术。随着互联网的快速发展,尤其是云计算和移动计算等技术的出现,越来越多的组织和个人把他们的业务能力以Web服务的形式放置在互联网或者云端,这些服务除了满足自身业务需求外,还对外提供服务,从而形成了一种开放式的互联网应用环境,为按需服务组合奠定了基础。在这种应用环境中,由于服务提供者和服务请求者众多,手动服务组合显然无法满足应用的需要,因此自动服务组合便成为服务组合发展的主要趋势。
     本文针对自动服务组合中的几个关键问题开展研究,以语义Web服务为切入点,以提高服务组合的自动化程度,优化服务组合性能,确保服务组合的正确性和改善服务组合的执行成功率为目标,从以下几个方面开展了系统研究。
     首先,为了提高服务依赖图的构建效率并且自动识别逻辑流程的控制结构,通过为Web服务构建语义描述,在描述输入输出等参数语义的前提下,基于输入集倒排索引表和输出集哈希表实现了满足用户输入输出请求的服务依赖图的快速构建,并基于服务接口处的语义匹配关系自动识别流程控制结构,以语义匹配度为寻优目标,采用改进的广度优先搜索算法实现了优化路径搜索。
     其次,为了确保组合功能真正的满足用户的功能需求,引入了功能本体概念,增加对Web服务功能的动作特征描述,基于功能本体关系构建功能本体层次图,在此基础上,构建服务组合路径与功能本体图的映射关系,调用功能本体图中的功能合并机制,实现了服务组合路径的功能正确性验证。
     再次,为了实现基于服务质量的Web服务多路径全局优化,提出了一种路径模板编码机制实现了遗传算法的多路径统一定长编码,通过路径模板控制初始种群的生成和交叉变异的产生,通过设计多路径选择结构的服务质量聚合公式,得到了多路径统一的适应度函数,从而能够通过单次运行实现多路径全局优化。另外,为了恰当的描述服务质量中的不确定信息和用户偏好的模糊性,将模糊集理论引入基于服务质量的组合优化中,对于不适合精确表示的服务质量属性和用户偏好等信息用三角模糊数表示,通过改写pareto支配关系,设计了模糊多目标遗传算法,实现了多路径前提下的多服务质量属性的全局优化。
     最后,为了解决服务执行过程中的消息异构问题,本文首先分析了消息异构的表现形式,并基于本体匹配构建的纵横映射机制,实现了消息元素的语义异构匹配,在此基础上,基于消息实例测试和服务替换机制提出了语法异构的解决方法,实验证明,该方法可以有效的提高组合服务的执行成功率,降低数据失真率。
Web service composition is a technology that composes multiple Web services withsingle function according to certain logical order and is smooth executed by callingrelationships between services to meet the complex functional requirement. With the rapiddevelopment of the Internet, especially the emergence of cloud computing and mobilecomputing technology, more and more organizations and individuals place their businessin the form of Web service in the Internet or the cloud. These services can not only meettheir own business needs but also provide services to the outsize world. An open Internetapplication environment is formed, and which laid the foundation for the on-demandservice composition. In this environment, there are too many service providers and servicerequestors to meet the needs of the application by manual service composition. Automaticservice composition has become the main trend of the service composition.
     This paper carries out research for several key issues in automatic servicecomposition. In order to increase the degree of automation of the service composition,optimize the performance of service composition, ensure the correctness of servicecomposition and improve the success rate of service composition, the following studiesare carried out based on semantic Web service.
     Firstly, in order to improve efficiency of building service dependency graph andidentify the control structure of the logic flow automatically, service dependency graphthat meet input-output request is established quickly based on input set inverted indextable and output set hash table. The flow control structure is identified automatically basedon the semantic matching relationship on service interface. Put semantic matching degreeas the optimization goal, the improved breadth-first search algorithm is designed toachieve optimal path search.
     Secondly, in order to ensure that the composition function real meets user functionalrequirement, this paper introduces the function ontology to describe the actioncharacteristics of the Web service. And then a hierarchical graph of the function ontologyis built based on the relationship between the function ontology, the function mergence mechanism in function ontology graph is invoked, so that the function correctness of eachcomposition path is verified.
     Thirdly, in order to achieve Web services multipath global optimization based onQuality of Service(QoS), a path template mechanism is designed to achieve unifiedmultipath fixed-length encoding of genetic algorithm, the path template mechanism isused to control the generation of individuals in the initial population as well as incrossover and mutation, by defining the QoS aggregation formula of multipath choicestructure, the unified multipath fitness function is designed, so that the multipath globaloptimization is realized by a single running. Moreover, in order to fully reflect theuncertainty of quality of service and the ambiguity of user preferences, this paperintroduces the fuzzy sets theory into QoS-based Web services composition, the QoSattributes and user preferences that are not suitable for accurate representation aredescribed by triangular fuzzy number. Then fuzzy multi-objective genetic algorithm isdesigned by rewriting the Pareto dominance relationship, the multipath and multiple QoSglobal optimization is realized.
     Finally, in order to solve the problem of the message heterogeneous during theexecution of composite service, this paper first analyzes the manifestations of messageheterogeneous, and then a vertical and horizontal mapping mechanism is built based onontology matching, semantics heterogeneous match of message elements is realized. Onthis basis, the syntax heterogeneous solution method is designed based on the the messageinstance testing and service replacement mechanism. The experiment shows that thismethod can effectively improve the execution success rate and reduce the data distortionrate of the composite service.
引文
[1] M.P.Papazoglou, P.Traverso, S. DustdarF.Leymann. Service-Oriented Computing: State of theArt and Researeh Challenges[J]. Computer.2007,40(11):38-45.
    [2] Nils Joachim, Daniel Beimborn, Tim Weitzel. The influence of SOA governance mechanisms onIT flexibility and service reuse[J]. The Journal of Strategic Information Systems.2013,22(1):86-101.
    [3] F. Curbera, M Duftler, R. Khalaf, W. Nagy, N. Mukhi, S. Weerawarana. Unraveling the WebServices Web:An Introduction to SOAP, WSDL and UDDI. IEEE Internet Computing[J],2002,6(2):86-93.
    [4]岳昆,王晓玲,周傲英. Web服务核心支撑技术:研究综述[J].软件学报,2004,15(3):428442.
    [5] Alessandro Lapadula, Rosario Pugliese, Francesco Tiezzi. Using formal methods to developWS-BPEL applications[J]. Science of Computer Programming,2012,77(3):189-213.
    [6] Cardoso J, Sheth A. Semantic e-workflow composition. Journal of Intelligent Information System,2003,12(3):191225.
    [7]陈康,郑纬民.云计算:系统实例与研究现状[J].软件学报,2009,20(5):1337-1348.
    [8] Daniele Angeli, Enrico Masala.A cost-effective cloud computing framework for acceleratingmultimedia communication simulations[J]Journal of Parallel and Distributed Computing,2012,72(10):1373-1385
    [9] Saurabh Kumar Garg, Steve Versteeg, Rajkumar Buyya.A framework for ranking of cloudcomputing services[J].Future Generation Computer Systems,2013,29(4):1012-1023
    [10] David Martin,Mark Burstein,Jerry Hobbs,et al. OWL-S: Semantic Markup for WebServices[EB/OL].(2004-11-22)[2012-3-16] http://www.w3.org/Submission/OWL-S/.
    [11] Pascal Hitzler,Markus Kr tzsch,Bijan Parsia,et al. OWL2Web Ontology Language Primer(Second Edition)[EB/OL].(2012-12-11)[2013-1-10] http://www.w3.org/TR/owl2-primer/.
    [12] Hai H. Wang, Nick Gibbins, Terry R. Payne,et al. A formal model of the Semantic Web ServiceOntology (WSMO)[J].Information Systems,2012,37(1):33-60.
    [13]郝身刚,张丽.基于WSDL-S的轻量级语义Web服务匹配模型[J].计算机工程与设计,2010,31(9):2147-2150.
    [14]曾伟,金杨恒. Web服务集成的策略规划[J].计算机集成制造系统,2008,14(2):403-406.
    [15] Cagla Okutan, Nihan Kesim Cicekli. A monolithic approach to automated composition ofsemantic web services with the Event Calculus[J]. Knowledge-Based Systems,2010,23(5):440-454.
    [16] Esra Kirci Ozorhana, Esat Kaan Kubanb, Nihan Kesim Cicekli. Automated composition of webservices with the abductive event calculus[J]. Information Sciences,2010,180(19):3589-3613.
    [17]杨博,张选平,邵利平.采用PDDL的Web服务组合方法研究[J].西安交通大学学报,2011,45(2):22-26.
    [18] Peer J. A PDDL Based Tool for Automatic Web Service Composition [C].//Ohlbach, HJ. Proc. ofWorkshop on Principles and Practice of Semantic Web Reasoning at the20th InternationalConference on Logic Programming. Berlin: Springer-Verlag,2004:149-163.
    [19] Sirin E, Parsia B, Wu D, et al. HTN Planning for Web Service Composition Using SHOP2[J].Journal of Web Semantics,2004,1(4):377-396.
    [20]史忠植,常亮.基于动态描述逻辑的语义Web服务推理[J].计算机学报,2008,31(9):1599-1611.
    [21]刘思培,刘大有,齐红,关菁华.基于描述逻辑规则的语义Web服务组合[J].计算机研究与发展,2011,48(5):831-840
    [22] Chen Kun,Xu Jiuyun, Stephan R M. Markov-HTN planning approach to enhance flexibility ofautomatic Web Service Composition[C].//Proceedings of IEEE International Conference on WebService. Washington, D.C.,USA:IEEE,2009:9-16.
    [23] Mayer W, Thiagarajan R,Stumptner M. Service composition as generative constraintsatisfaction[C].//Proceedings of IEEE International Conference on Web Service. Washington,D.C.,USA: IEEE,2009:888-895.
    [24] Kona S, Bansal A, Gupta G. Automatic composition of semantic Web services[C].//Proceedingsof2007IEEE International Conference on Web Services. Piscataway: Inst. of Elec. and Elec. Eng.Computer Society,2007:150-158.
    [25]刘家茂,顾宁,施伯乐.基于Mediator的Web Services无回溯反向链动态合成[J].计算机研究与发展,2005,42(7):11531158.
    [26] Mohamadel, Bouzid M, Mouaddib A I, et al. A distributed planning approach for Web ServiceComposition[C].//Proceedings of IEEE International Conference on Web Service.Washington,D.C.,USA:IEEE,2010:337-344.
    [27]邝砾,邓水光,李莹,吴健,吴朝晖.使用倒排索引优化面向组合的语义服务发现[J].软件学报,2007,18(8):1911-1921.
    [28] Lang QHA, Su SYW. AND/OR graph and search algorithm for discovering composite webservices[J]. International Journal of Web Services Research,2005,2(4):46-64.
    [29] Zhifeng Gu, Juanzi Li, Bin Xu. Automatic Service Composition Based on Enhanced ServiceDependency Graph[C].//2008IEEE International Conference on Web Services (ICWS2008).September23-26, Beijing, China.2008:246-263.
    [30] Yue Ni, Yushun Fan.Model transformation and formal verification for Semantic Web Servicescomposition[J]. Advances in Engineering Software,2010,41(6):879-885.
    [31]罗楠,严隽薇,刘敏.一种基于有色Petri网的语义Web服务组合验证机制[J].计算机集成制造系统,2007,(11):2203-2210.
    [32]怀进鹏,邓婷,李先贤,杜宗霞,郭慧鹏.一种具有正确性保证的组合Web服务自动合成方法[J].中国科学(F辑:信息科学),2009,39(9):990-1002.
    [33]肖芳雄,李燕,黄志球,曹子宁,陈哲,范大娟.基于时间概率代价进程代数的Web服务组合建模和分析[J].计算机学报,2012,35(5):918-936.
    [34] Dong-Hoon Shin, Kyong-Ho Lee, Tatsuya Suda. Automated generation of composite webservices based on functional semantics[J]. Web Semantics: Science, Services and Agents on theWorld Wide Web,2009,7(4):332-343.
    [35]叶世敏.基于功能性需求的服务组合模型研究[D].上海:上海交通大学学位论文,2011:15-34..
    [36] Zeng LZ, Benatallah B, Ngu AH. QoS-aware middleware for Web services composition[J].Software Engineering,2004,30(5):311-327.
    [37]李祯,杨放春,苏森.基于模糊多属性决策理论的语义Web服务组合算法[J].软件学报,2009,2003:583-596.
    [38]叶世阳,魏峻,李磊.支持服务关联的组合服务选择方法研究[J].计算机学报,2008,31(8):1383-1397.
    [39] Gerardo Canfora, Massimiliano Di Penta, Raffaele Esposito, et a1.An Approach for QoS-awareService Composition based on Genetic Algorithms[C]. Proceedings of Genetic and EvolutionaryComputation Conference, Washington DC: ACM,2005:1069-1075.
    [40]胡焕耀,董渭清,符锐,张星,赵晓昳.面向Pareto最优遗传算法的服务组合方法[J].西安交通大学学报,2009,43(12):50-54.
    [41]夏虹,李增智.粒子群算法求解Web服务组合中基于QoS的服务选择[J].北京邮电大学学报,2009,32(4):63-67.
    [42]刘书雷,刘云翔,张帆,唐桂芬,景宁.一种服务聚合中QoS全局最优服务动态选择算法[J].软件学报,2007,18(3):646-656.
    [43]张成文,苏森,陈俊亮.基于遗传算法的QoS感知的Web服务选择[J].计算机学报,2006,29(7):1029-1037.
    [44] Canfora G, Penta M. Di, Esposito R, Villani ML. A lightweight approach for QoS-aware servicecomposition[C].//Proceedings of the2nd International Conference on Service OrientedComputing, New York,USA,2004:36-47.
    [45]姜红红,杨小虎,徐远,柯杰瑞.基于变长基因算法的服务质量驱动多路径Web服务组合[J].计算机集成制造系统,2011,17(6):1334-1343.
    [46] Maximilien EM, Singh MP. A framework and ontology for dynamic Web services selection[J].IEEE Internet Computing,2004,8(5):84-93.
    [47] Wang X, Vitvar T, Kerrigan M, Toma I. Synthetical evaluation of multiple qualities for serviceselection[C]. In: Asit D, Winfried L, eds.//Proc. of the ICSOC2006. LNCS4294, Heidelberg:SpringerVerlag,2006:152-162.
    [48] Dragan C, Ian P. Evolutionary design and multi-objective optimization[C].//Proceedings of theSixth European Congress on Intelligent Techniques and Soft Computing (EUFIT), Aachen:Verlag Mainz,1998:397–401.
    [49] Deb K, Sundar J, Udaya BRN, Chaudhuri S. Reference Point Based Multi-ObjectiveOptimization Using Evolutionary Algorithms[J]. International Journal of ComputationalIntelligence Research.2006,2(3):273-286.
    [50]王永坡,邓家褆.动态联盟产品数据集成框架研究[J].计算机集成制造系统,2007,13(5):905-910.
    [51]王毅,易树平,龙跃,张力,唐平.基于SOA的整车企业技术数据集成研究[J].湖南大学学报(自然科学版),2010,37(5):35-39.
    [52] H. R. Motahari Nezhad, A. Martens, F. Curbera,et al. Semi-Automated Adaptation of ServiceInteractions[C].//Proceeding WWW '07Proceedings of the16th international conference onWorld Wide Web,2007:993-1002.
    [53]杨文军.Web服务组装关键技术研究[D].北京:清华大学学位论文,2005:78-96.
    [54]转永光.基于本体和Web Service的数据交换的研究与实现[D].南京:南京航空航天大学学位论文,2008:29-51.
    [55]吴孟泉,宋晓东,崔伟宏.基于本体的异构空间数据的集成研究[J].武汉大学学报(信息科学版).2007,32(10):915-918.
    [56] Matjaz B. Jurica, Ana Sasab, Bostjan Brumena, Ivan Rozmana. WSDL and UDDI extensions forversion support in web services[J]. Journal of Systems and Software,2009,82(8):1326-1343.
    [57] Chen Wu.WSDL term tokenization methods for IR-style Web services discovery[J].Science ofComputer Programming,2012,77(3):355-374.
    [58] Gerhard Smiatek.SOAP-based web services in GIS/RDBMS environment[J].EnvironmentalModelling&Software,2005,20(6):775-782.
    [59] G. Meditskos, N. Bassiliades.A combinatory framework of Web2.0mashup tools, OWL-S andUDDI[J]. Expert Systems with Applications,2011,38(6):6657-6668.
    [60]杨丹,周刚.基于UDDI服务订阅的Web服务推荐机制[J].华中科技大学学报(自然科学版),2003,1:362-364.
    [61]赵娟,郝克刚,葛玮.语义Web在Web服务中的应用[J].计算机技术与发展,2006,2:7-9,13
    [62] Aidan Hogan, Andreas Harth, Jürgen Umbrich, etal. Searching and browsing Linked Data withSWSE: The Semantic Web Search Engine [J]. Web Semantics: Science, Services and Agents onthe World Wide Web,2011,9(4):365-401.
    [63]李剑.基于分布RDF(S)模型的信息查询与集成[J].软件学报,2008,2:369-378
    [64] Charlotte Jenkins, Mike Jackson, Peter Burden, Jon Wallis.Automatic RDF metadata generationfor resource discovery[J].Computer Networks,1999,31(11-16):1305-1320.
    [65] Elena Simperl.Reusing ontologies on the Semantic Web: A feasibility study [J]. Data&Knowledge Engineering,2009,68(10):905-925.
    [66] Aditya Kalyanpur, Bijan Parsia, Evren Sirin Debugging unsatisfiable classes in OWL ontologies[J].Web Semantics: Science, Services and Agents on the World Wide Web,2005,3(4):Pages268-293.
    [67]杜小勇,李曼,王珊.本体学习研究综述[J].软件学报,2006,17(9):1837-1847.
    [68] Ian Horrocksa, Peter Patel-Schneider.Reducing OWL entailment to description logicsatisfiability[J].Web Semantics: Science, Services and Agents on the World WideWeb,2004,1(4):345-357.
    [69]许卓明,董逸生,陆阳.从ER模式到OWL DL本体的语义保持的翻译[J].计算机学报,2006,29(10):1786-1796.
    [70]宋峻峰,张维明,姚莉,肖卫东. OWL DL的形式化基础研究[J].小型微型计算机系统,2005,26(2):297-301.
    [71]邱田,胡晓惠,李鹏飞,马恒太.基于OWL-S的服务发现语义匹配机制[J].电子学报,2010,38(1):42-47.
    [72]尹超,夏卿,黎振武.基于OWL-S的云制造服务语义匹配方法[J].计算机集成制造系统,2012,18(7):1494-1502.
    [73] Matthias Kluscha, Benedikt Friesb, Katia Sycara.OWLS-MX: A hybrid Semantic Web servicematchmaker for OWL-S services[J].Web Semantics: Science, Services and Agents on the WorldWide Web,2009,7(2):121-133.
    [74] Mirko Viroli, Enrico Denti, Alessandro Ricci.Engineering a BPEL orchestration engine as amulti-agent system[J].Science of Computer Programming,2007,66(3):226-245.
    [75] Wil M.P. van der Aalsta, Kristian Bisgaard Lassenb.Translating unstructured workflow processesto readable BPEL: Theory and implementation[J]. Information and Software Technology,2008,50(3):131-159.
    [76]宋巍,唐金辉,张功萱,马晓星. WS-BPEL服务可替换性分析[J].中国科学:信息科学,2012,42(3):264-279.
    [77]李曼,王大治,杜小勇,王珊.基于领域本体的Web服务动态组合[J].计算机学报,2005,28(4):644-650.
    [78] John H Gennaria, Mark A Musenb, Ray W Fergerson.et al.The evolution of Protégé: anenvironment for knowledge-based systems development[J].International Journal ofHuman-Computer Studies,2003,58(1):89-123.
    [79]许斌,李涓子,王克宏. Web服务语义标注方法[J].清华大学学报(自然科学版),2006,10:1784-1787,1792.
    [80] Eran Tocha, Iris Reinhartz-Bergerb, Dov Doric.Humans, semantic services and similarity: A userstudy of semantic Web services matching and composition[J].Web Semantics: Science, Servicesand Agents on the World Wide Web,2011,9(1):16-28.
    [81]张佩云.基于语义的Web服务组合研究[D].南京:南京理工大学学位论文,2006:28-32.
    [82]代钰,杨雷,张斌,高岩.支持组合服务选取的QoS模型及优化求解[J].计算机学报,2006,29(7):1167-1178.
    [83] Garey MR, Johnson DS. Computers and Intractability:A Guide to the Theory ofNP-Completeness[M]. New York: W.H.Freeman and Company,1979:10-320.
    [84]公茂果,焦李成,杨咚咚,马文萍.进化多目标优化算法研究[J].软件学报,2009,20(2):271-289.
    [85] Deb K. Multi-Objective Optimization Using Evolutionary Algorithms[M]. Chichester: JohnWiley&Sons,2001:13-45.
    [86] DEB K, PRATAP A, AGARWAL S, et al. A fast and elitist multi-objective genetic algorithm:NSGA-II[J]. IEEE transactions on evolutionary compution,2002,6(2):182-197.
    [87] Erahm, P A Bernstein. A survey of approaches to automatic schema matching[J]. VLDB Journal,2001,10(4):334-350.
    [88]张军.异构数据源之间的数据转换方法[J].计算机应用,2005,1:175-180.
    [89] Eric Pardede, J. Wenny Rahayu, David Taniar. XML data update management in XML-enableddatabase [J]. Journal of Computer and System Sciences,2008,74(2):170-195.
    [90] Sven Groppe, Stefan B ttcher, Georg Birkenheuer, etal. Reformulating XPath queries and XSLTqueries on XSLT views [J].Data&Knowledge Engineering,2006,57(1):64-110
    [91]陈奇. XSLT、XPath和DOM的应用研究[J].计算机工程,2003,03:14-1544.
    [92]王强,武港山.对XPath模式定位能力的扩充[J].计算机研究与发展,2001,38(6):674-678.
    [93] Massimo Paolucci1, Takahiro Kawamura, Terry R. Payne1, Katia Sycara. Semantic Matching ofWeb Services Capabilities[C].//Proceeding of the First International Semantic Web Conference,Berlin:Springer-Verlag,2002:333-347.
    [94] OWLS-TC [EB/OL].(2010-9-21)[2012-6-28] http://projects.semwebcentral.org/projects/owls-tc/.
    [95]蒋哲远,韩江洪,王钊.动态的QoS感知Web服务选择和组合优化模型[J].计算机学报,2009,32(5):1014-1025.
    [96] Tien-Chin Wang, Yueh-Hsiang Chen.Applying fuzzy linguistic preference relations to theimprovement ofconsistency of fuzzy AHP[J]. Information Sciences,2008,178(19):3755-3765.
    [97] L. Mikhailova, P. Tsvetinov.Evaluation of services using a fuzzy analytic hierarchy process[J].Applied Soft Computing,2004,5(1):23-33.
    [98] Buckley JJ. Fuzzy hierarchical analysis[J]. Fuzzy Sets and Systems,1985,17(3):233–247.
    [99] Lee ES, Li RL. Comparision of Fuzzy Numbers Based on the Probability Measure of FuzzyEvents[J]. Computer and Mathematics with Applications,1988,15(10):887-896.
    [100]高荣,王治森.基于XML的数控功能集成技术[J].北京工业大学学报,2011,37(2):173-179.
    [101] I Constantinescu,B Faltings, W Binder.Type based service composition[C].//Proc.of WorldWide Web Conf.(WWWZOO4),NewYork,USA,2002:268-269.
    [102]李瑞敏,史其信.基于虚拟数据仓库和XML的城际交通综合信息平台[J].清华大学学报(自然科学版),2005,45(6):745-748.
    [103]杨文军,李涓子,王克宏.基于关系树模型实现XML数据转换[J].计算机科学,2004,31(11):114-117.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700