Web服务组合中若干问题的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
在面向服务的计算(SOC)中,服务已成为Web应用中的最主要的元素。网络技术和因特网的广泛应用方便了客户对Web服务的访问,也使得各个公司能够以非常灵活的方式合作,将他们的服务整合起来,以提供更加复杂的、增值的产品和服务。服务的协作和组合同时带来了很多问题和挑战,突出表现为服务的可组合性、同步性、协调性、正确性验证等等。近年来,很多研究者为此展开了相关研究工作,已经产生一些研究成果。鉴于其潜在的应用价值和存在的难点问题,引起了学术界和工业界的普遍关注,成为一个研究热点。
     本文围绕Web服务及组合展开论文的相关工作,主要工作如下:
     1)对Web服务描述语言进行了广泛的分析与研究,提出了扩展静态的WSDL以描述服务动态行为的策略,并提出了从扩展的WSDL语言到TLA语言转换算法,从而用TLA对服务进行形式化描述和规范。
     2)基于服务的有限状态自动机(FSA)模型,对服务进行组合,通过对各个服务的TLA规范按不同组合方式进行组合和变换就得到了描述服务组合过程进行TLA规范,并对之提出了相应的组合算法。
     3)针对上面的组合规范,用TLC模型检验器遍历模型,检验规范是否成立,验证组合系统的安全性、正确性、灵活性等问题。
     4)讨论了从BPEL4WS到TLA的转变算法,并基于上述算法开发从BPEL4WS自动转变到TLA的工具。
     5)使用定性方法来表示各个用户的偏好;并提出了多用户不完全偏好情形下的推理算法;还提出了用户的偏好序列中存在冲突时的处理方法和相应的算法。
     6)扩展了F. Rossi等人提出的Rank机制,提出了Subrank机制,并给出了一个实例说明以上方法如何用于实际的服务选择中。
In the literature of Service-Objected-Computing (SOC), service has been a primary element in Web application. As the widespread use of Web technology and Internet, on one hand, they facilitate clients'access to Web Service; on the other hand, it not only becomes more flexible for the cooperation between one company and another, but also enables each company to provide more complicated value-added products and service via combining the company's service of different kinds. However, how to coordinate and combine between service are confronted with a lot of issues and challenges at the same time, which highlight such questions as compos-ability, synchronism capacity, coordination capacity, correctness checking of Service, and so on. Motivated by these, many researchers have been devoted to try to overcome the above difficulties, as a result, quite a few preliminary progresses in this field have been made, which means plenty of extensive and comprehensive researches are still needed in this field. So, Web service has been, and will still be a extremely hot topic in the future between the academic and industry community due to its vast applied values and its inherent difficulty. This paper is intended to solve several critical problems plaguing the Web service community, our main contribution are as follows:
     1) On basis of analyzing and exploring the Web service description language extensively and comprehensively, firstly, we bring forward several strategies to describe service dynamic behavior by extending static WSDL, and meanwhile, bring forward the corresponding converted algorithm from extended WSDL language to TLA language, consequently, TLA language can be used to formulate and normalize service.
     2) Based on the Finite State Automata (FSA) model of service, we make combinations between services, and by assembling and converting the TLA norm of every service via different means of combination, the TLA norm used to describe the process of service combination can be obtained, and furthermore, the corresponding combination algorithm has been put forth.
     3)With respect to the above combination norm, we traverse the whole model using TLC model checker, to check whether the norm is right or not, and to substantiate the security, correctness, activity and so on, of the combination system.
     4) We explore the converted algorithm from BPEL4WS to TLA firstly, and then develop a tool, which can convert from BPE14WS to TLA automatically, on basis of such algorithm.
     5) The preference of each user is represented by qualitative method, and then a reasoning algorithm, under the condition that there are multiple users with their preference incomplete, is provided. And furthermore, the addressing strategy and corresponding algorithm when there are conflicts among the sequences of users'preference are also proposed.
     6) By extending the Rank mechanism proposed by F. Rossi, we bring forward a Subrank mechanism. In addition, an example is given for the purpose of showing how the above method can be applied in choosing service in real world.
引文
[AA 2001]Arkin A, Askary S, Fordin S, etc. Web Service Choreography Interface (WSCI) 1.0. W3C Document. http://www.w3.org/TR/wsci/, May 2001.
    [AT 2003]Andrews T, Curbera F, Dholakia H, etc. Business Process Execution Language for Web Services (Version 1.1). IBM Document. http://www.ibm.com/developerworks/library/ws-bpel/,2003.
    [BB 2003]Boualem Benatallah, Quan Z. Sheng, Marion Dumas. The Self-Serv Environment for Web Services Composition. IEEE INTERNET COMPUTING, Vol 7, Issue 1,2003, pp. 40-48
    [BD 2004]Berardi D, Rosa FD, Santis LD,etc. Finite State Automata as Conceptual Model for Services. Integrated Design and Process Technology, Vol 8, no 2,2004, pp.105-121.
    [BD 2007]Booth D, Liu CK. Web Services Description Language (WSDL) Version 2.0 Part 0: Primer. W3C Proposed Recommendation. http://www.w3.org/TR/wsd120-primer/, May 2007.
    [BM 1994]B. Moszkowski, "chapter Some very Compositional temporal Properties," in IFIP1994, North-Holland,1994, pp.307-326.
    [BM 1996]B. Moszkowski, "Compositionality:The Significant Difference," in Compositional reasoning using Interval Temporal Logic and Tempura. vol.1536:Springer Verlag,1996, pp. 439-464.
    [BPEL2003]BPEL4WS, Business Process Execution Language for Web Service, http://www.siebel.com/bpel,2003.
    [CB 1999b]C. Boutilier, R. Brafman, H. Hoos, and D. Poole. Reasoning with conditional ceteris paribus preference statements. In Proceedings of the Fifteenth Annual Conference on Uncertainty in Artificial Intelligence, pages 71-80. Morgan Kaufmann Publishers,1999.
    [CB 2004]Craig Boutilier, Ronen I. Brafman, Carmel Domshlak, et al. CP-nets:A tool for representing and reasoning with conditional ceteris paribus preference statements [J]. Journal of Artificial Intelligence Research,2004,21(2):135-191.
    [CE 2001]Christensen E, Curbera F, Meredith G, etc. Web Services Description Language (WSDL) 1.1, W3CNote 15, http://www.w3.org/TR/wsdl, March 2001.
    [CG 2006]Chunming Gao et al. A Model Checking Tool Embedded into Services Composition Environment. Proceedings of the Fifth International Conference on Grid and Cooperative Computing table of contents,2006,pp.355-362
    [CL 2010]常亮,史忠植,陈立民,牛温佳,”一类扩展的动态描述逻辑,”软件学报,vol.21,pp.1-13,2010.
    [CR 2007]Chinnici R, Moreau JJ, Ryman A, etc. Web Services Description Language (WSDL) Version 2.0 Part 1:Core Language. W3CProposed Recommendation. http://www.w3.org/TR/wsd120/, May 2007.
    [DA 2007]D. Ardagna and B. Pernici, "Adaptive Service Composition in Flexible Processes," IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, vol.33, no.6, June 2007
    [DF 2003]D. Fensel, J. A. Hendler, H. Lieberman, and W. Wahlster, Spinning the Semantic Web: Bringing t he World Wide Web to It's Full Potential:Boston:MIT Press,2003.
    [DM 2000]D.Mennie and B.Pagurek, "An Architecture to Support Dynamic Composition of Service Components," in Proceedings of the Fifth International Workshop on Component-Oriented Programming (WCOP), Sophia Antipolis 2000.
    [DM 2001]D. Mennie and B. Pagurek, "A Runtime Composite Service Creation and Deployment Infrastructure and its Applications in Internet Security E-Commerce, and Software Provisioning," in the 25th International Computer Software and Applications Conference on Invigorating Software Development, Washington,DC,USA,2001, pp.371-376.
    [EC 2001]E. Christensen, F. Curbera, G. Meredith, and S. Weerawarana, "Web Services Des_c_r_i_p_tion Language." vol. (WSDL)1.1:W3CNote,2001.
    [ES 2003]E. Sirin, J. Hendler, and B. Parsia, "Semi-automatic com-position of Web services using semantic des_c_r_i_p_tions," in WSMAI2003,2003.
    [FC 2002]Fabio Casati, Ming-Chien Shan. Event-Based Interaction Management for Composite E-Services in eFlow. Information Systems Frontiers,2002, Vol 4, Issue 1, ISSN:1387-3326, pp.19-31
    [FC 2003]F. Curbera, "The next step in Web services," Communications of The ACM, vol.46 p. 29-34,2003
    [FK 2004]F. Rossi, K. B. Venable, T. Walsh. mCP nets:representing and reasoning with preferences of multiple agents[A]. Proceedings of AAAI Conference on Artificial Intelligence[J]. California:AAAI Press,2004,729-734.
    [FR 2005]Francesca Rossi, Kristen Brent Venable, Toby Walsh. Aggregating preferences cannot be fair [J]. Intelligenza Artificiale,2005,2(1):30-38.
    [FX 2004a]F. X, B. T, and S. JW, "Analysis of interacting BPEL Web services," in Proc of the 13th Int'l Conf. On world wide Web, NewYork,2004, pp.621-630.
    [FX 2004b]F. X, B. T, and S. JW, "WSAT:A tool for formal analysis of Web services," in Proc of the 16th Int'I Conf on Computer Aided Verification,2004 pp.510-514.
    [FX 2005]F. X, B. T, and S. JW, "Synchronizability of conversations among Web services," IEEE Trans.on Software Engineering, vol.31, pp.1042-1055,2005.
    [GJ 2005]Goldsmith, J., Lang, J., Truszczynski, M., Wilson, N.:The computational complexity of dominance and consistency in cp-nets [J]. Journal of Artificial Intelligence Research,2005, 19(1):144-149.
    [GZF 2008]顾志峰,李涓子,胡建强,许斌,王克宏,“Web服务之间数据关联的建模与应用,”计算机学报,vol.31, pp.1478-1490,2008.
    [HbW 2008]Hongbing Wang, Junjie Xu, Peicheng Li, Patrick Hung. Incomplete preference-driven Web Service Selection[A].2008 IEEE International Conference on Services Computing[C]. Hawaii:SCC,2008,75-82.
    [HbW 2009]Hongbing Wang, Chen Wang, Yan Liu:A Logic-Based Approach to Web Services Composition and Verification. SERVICES Ⅱ 2009:103-110
    [HH 2002]H. Haas and D. Orchard, "Web services architecture usage scenarios," W3CWorking Group,2002.
    [HJQ 2005]胡建强,邹鹏,王怀民,周斌,“Web服务描述语言QWSDL和服务匹配模型研究,”计算机学报,vol.28, pp.505-513,2005.
    [ITL]ITL and (Ana)Tempura Home page on the Web. http://www.cse.dmu.ac.uk/-cau/itlhomepage/itlhomepage.html.
    [JuZ 2008]J. u. Zimmer, "MathServe-A Framework for Semantic Reasoning Services." vol. phD thesis:Universityof Saarlandes,2008.
    [JY 2002]J. Yang and M. P. Papazoglou, "Web Component:A Substrate for Web Service Reuse and Composition," in Advanced Information Systems Engineering, vol.2348:Springer Berlin,2002, pp.21-36.
    [JZ 2004]J. Zhang, C. Chang, C. Chung, and S. Kim, "WS-Net:A Petri-net Based Specification Model for Web Services " in IEEE International Conference on Web Services (ICWS'04), San Diego, California 2004, p.420.
    [KM 2005]K. M, G. A, and S. M, "Semantic Web service composition planning wit h OWLS2XPlan," in Proceedings of the AAAI Fall Symposium on Semantic Web and Agents, ArlingtonVA.USA,2005.
    [KU 2006]K. U, L. H, and S. M, "On the semantics of functional des_c_r_i_p_tions of Web services," in Proceedings of the 3rd European Semantic Web Conference,2006, pp. 605-619.
    [LF 2001]Leyman F. Web Services Flow Language (WSFL Version 1.0). IBM Document. http://www-306.ibm.com/software/solutions/Webservices/pdf/WSFL.pdf, May 2001.
    [LH 2006]L. Hou, Z. Jin, and B. Wu, "Modeling and verifying Web services driven by requirements:An ontology based approach," Science in China Series F:Information Sciences, vol.49, pp.792-820,2006.
    [LJ 2005]廖军,谭浩,刘锦德,“基于Pi-演算的Web服务组合的描述和验证,”计算机学报,vol.28, pp.635-643,2005.
    [LJ 2005]廖军,谭浩,刘锦德,“基于Pi2演算的Web服务组合的描述和验证,”计算机学报,vol.28, pp.635-643,2005.
    [LK 2009]L. K. Hu, K. Zhao, S. Ying, R. Chen,"A Semantic Web Service Des_c_r_i_p_tion Language," in WASE International Conference on Information Engineering,2009, pp.449-452.
    [LL 1994a]Lamport L. The temporal logic of actions. ACM transaction on Programming Language and Systems, Vol16, no 3,1994, pp.872-923.
    [LL 2002]Lamport L. Specifying Systems:The TLA+Language and Tools for Hardware and Software Engineers. Addision-Wesley, Boston, July 2002.
    [LLH 2007a]雷丽晖,段振华,“一种基于扩展有限自动机验证组合Web服务的方法,”软件学报,vol.18, pp.2980-2990,2007.
    [LLH 2007b]雷丽晖,段振华,“基于扩展投影时序逻辑的组合Web服务描述与验证,”西安交通大学学报,vol.41, pp.1155-1159,2007.
    [LY 2006]L. Ye and J. L. Chen, "Formal Functional Des_c_r_i_p_tion of Semantic Web Services: The Logic Description Method," in IW-SOSE'06, Shanghai, China,2006.
    [ML 1999]M. Lumpe, "A Pi-calculus based approach to software composition," in Institut fur Informatik und angewandte Mathematik. vol. phD thesis:Universitat Bern,1999.
    [MN 2004]Milanovic N, Malek M. Current Solutions for Web Service Composition. IEEE INTERNET COMPUTING. IEEE Computer Society, Vol 8, November/December 2004, pp.51-59.
    [MP 2003]M. Paolucci, K. Sycara, and T. Kawamura, "Delivering semantic Web services," in Proceedings of the Twelfth International Conference on World Wide Web (WWW2003), 2003 pp.792-797.
    [MP 2007]Mike P. Papazoglou, Willem-Jan van den Heuvel:Service oriented architectures: approaches, technologies and research issues. VLDB J.16(3):389-415 (2007)
    [MS 1995]M. Shaw, "Architectural issues in software reuse:it's not just the functionality, it's the packaging," ACM SIGSOFT Software Engineering Notes vol.20, pp.3-6,1995
    [MS 2004]M. Solanki, A. Cau, and H. Zedan, "Augmenting Semantic Web Service Descriptions with Compositional Specification," in WWW'04:13th international conference on World Wide Web, New York, NY, USA,2004.
    [NB 1999]N. Bengt, P. Kent, M. S. Jan. Programming in Martin-Lof Type Theory:An Introduction[M]. Oxford:Ox-fordUniversityPress,1999.
    [ON 1995]O. Nierstrasz and D. Tsichritzis, Object-Oriented Software Composition:Prentice Hall, 1995.
    [OWLa]OWL-S:Semantic Markup for Web Services. http://www.daml.org/services/owl-s/1.0/
    [OWLb]OWL-S:Semantic Markup for Web Services. http://www.daml.org/services/owl-s/1.2/
    [PO 2003]P. Oaks, A. Hofstede, and D. Edmond, "Capabilities:Describing what services can do," in Proceedings of International Conference on Service-Oriented Computing (2003),2003, pp.1-16.
    [PR 2005]P. Rajasekaran, J. Miller, K. Verma, and A. Sheth, "Enhancing Web Services Des_c_r_i_p_tion and Discovery to Facilitate Composition," in Semantic Web Services and Web Process Composition, vol.3387:Springer Berlin,2005, pp.55-68.
    [QZ 2002]Quan Z. Sheng, Boualem Benatallah, PMarlon Dumas, et al. SELF-SERV:a platform for rapid composition of Web services in a peer-to-peer environment. Proceedings of the 28th international conference on Very Large Data Bases,2002, pp.1051-1054
    [QZZ 2006]钱柱中,陆桑璐,谢立,”基于Petri网的Web服务自动组合研究,”计算机学报,vol.29, pp.1057-1066,2006.
    [RA 2006]R. Akkiraju, J. Farrell, J. A. Miller, M. Nagarajan, A. Sheth, and K. Verma, "Web Service Semantics:WSDL-S." vol. RC23854(W0601-132):IBM Research Report,2006.
    [RH 2003]R. Hamadi and B. Benatallah, "A Petri net-based model for Web service composition," in Proceedings of the 14th Australasian database conference, Adelaide, Australia2003, pp. 191-200.
    [SBSL]Semantic Web Services Language (SWSL). ttp://www.w3.org/Submission/SWSF-SWSL/
    [SLA 2007]S. Lamparter, A. Ankolekar, R. Studer, and S. Grimm, "Preference-based Selection of Highly Configurable Web Services," Proceeding of the 16th international conference on World Wide Web, May 2007.
    [SM 2004]S. M, C. A, and Z. H, "Augmenting semantic Web service des_c_r_i_p_tion with compositional specification," in International World Wide Web Conference New York, NY, USA2004, pp.544-552.
    [SP 2008]孙萍,蒋昌俊,”利用服务聚类优化面向过程模型的语义Web服务发现,”计算机学报, vol.31, pp.1340-1353,2008.
    [SYH 2008]San-Yih Hwang, Ee-Peng Lim et al. Dynamic Web Service Selection for Reliable Web Service Composition [J]. IEEE Transactions on Services Computing,2008, 1(2):104-116.
    [SZZ 2008]史忠植,常亮,”基于动态描述逻辑的语义Web服务推理,”计算机学报,vol.31, pp.1599-1611,2008.
    [TB 2001]T. Berners-Lee, J. Hendler, and O. Lassila, "The semantic Web. Scientific American," vol.284 pp.34-43,2001
    [TBL 2003]T. Berners-Lee, "Web services-semantic Web," in Proceedings of WWW2003,2003.
    [TS 2001]Thatte S. XLANG:Web Services for Business Process Design. Microsoft Document, http://www.gotdotnet.com/team/xmlwsspecs/xlang-c/default.html,2001.
    [VT]V. Tosic, D. Mennie, and B. Pagurek, "Dynamic Service Composition and Its Applicability to E-Business Software Systems," The ICARIS Experience.
    [WA 2004]W. A, F. P, M. B, and N. E, "Matchmaking for business processes based on choreographies," International Journal of Web services Research, vol.1, pp.14-32,2004.
    [WJS 2008]王杰生,李舟军,李梦君,“用描述逻辑进行语义服务组合,”软件学报,vol.19, pp.967-980,2008.
    [WLD 2006]Wen-Li Dong et al. Testing BPEL-based Web Service Composition Using High-level Petri Nets. EnterpriseDistributed Object Computing Conference,2006. EDOC'06.10th IEEE International Oct.2006 Page(s):441-444 Digital Object Identifier 10.1109/EDOC.2006.59
    [WN 2004]Wilson, N. Extending cp-nets with stronger conditional preference statements[A]. Proceedings of the 19th national conference on Artifical intelligence[C]. California:AAAI Press,2004,735-741.
    [WOL]Web Ontology Language for Service published online at http://www.w3c.org/TR/owl-features/.
    [WP 2001]W. P and d. Roever, "Concurrency Verification:Introduction to Compositional and Noncompositional Methods". Cambridge, England:CambridgeUniversityPress,2001.
    [WSC]Web Service Choreography Interface Version 1.0 published online at http://www.sun.com/software/xml/developers/wsci/wsci-spec-10.pdf.
    [WSML]Web Service Modeling Language (WSML). http://www.w3.org/Submission/WSML/
    [YL 2007]Y. L. Gu and M. Soutchanski, "Decidable reasoning in a modified situation calculus," in Proceedings of the 20th International Joint Conference on Artificial Intelligence(IJCAI2007),2007, pp.1891-1897.
    [YY 1999]Yu Y, Manolios P, Lamport L. Model checking TLA+specifications. In Proceedings of Correct Hardware Design and Verification Methods (CHARME'99),1999, pp.54-66.
    [YYY 2009]殷昱煜,李莹,邓水光,尹建伟,“Web服务行为一致性与相容性判定”,电子学报,vol.37, pp.433-438,2009.

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

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

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