面向感知上下文的Web服务组合的应用研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
普适计算模式的发展带来的上下文感知计算已经逐渐延伸到SOA架构下的Web服务及服务组合领域。现有的Web服务组合引擎一方面多属于人工合成的模式,灵活性不高;另一方面都没有将感知上下文纳入组合策略的考虑范畴,会返回很多无效的结果,组合应用效率低,可适应性差。
     本文详细分析了Web服务组合的上下文感知,将上下文感知应用到Web服务组合中,并提出了一种面向感知上下文的Web服务组合引擎WSCETCA。通过对Web服务组合流程的详细分析,将Web服务组合中的上下文分为以下五类:服务实例上下文I-Context、服务上下文W-Context、复合服务上下文C-Context、基于服务质量的上下文Qos-Context和用户上下文User-Context,并利用OWL-S来描述这些上下文信息。将上下文信息嵌入到SOAP的header头块进行传递发送,并设计了上下文管理器及上下文数据库来存储管理驱动这些上下文信息,同时对UDDI进行语义扩展,提供服务及服务语义信息地注册、服务查询的语义接口,从而实现一种上下文感知的服务查询、匹配及优化组合。
     采用Eclipse、Jena Framework、Apache Axis等开发工具开发了一个引擎原型,结合一个上下文感知应用实例,利用Protégé3.4 beta开发本体库来支持应用,以验证该组合引擎的功能。最后,通过测试引擎响应不同长度的SOAP消息和不同数量的并发用户的响应时间,得知本引擎随着所传递消息长度的递增以及当前用户数的递增,系统运行较平滑稳定。
The Context-aware computing developed with Ubiquitous or Pervasive Computing has extended into Web service and web service composition of SOA. On the one hand, the current web service composition engines are manual mode and lack of flexibility. On the other hand, they don't take the context into account in composition strategy, so they may return some unnecessary result, the efficiency and adaptability of composition application is low.
     This dissertation analyzes the context-aware in web service composition and presents a web service composition engine WSCETCA towards context-aware. The context in web service composition can be classified by analyzing the process of web service composition: the context of web service instance(I-Context),the context of web service(W-Context), the context of composited service(C-Context), the context based on quality of services(Qos-Context), the context of users(User-Context), and the information of context is described by OWL-S. The Context information is embeded in header of SOAP to transfer. Context manager and context database are designed to store、control and drive these context information. Services, semantic information of services register and semantic interface of services discovery are provided by expanding UDDI semantically. Consequently, an effective service discovering, matching and compositing towards context-aware can be achieved.
     An engine prototype is developed by some tools, such as Eclipse, Jena Framework, Apache Axis etc. By an application example of context-aware, the ontology is developed to supply the application by Protégé3.4 beta to validate the function of WSCETCA. Finally, a conclusion that WSCETCA can run smoothly with the increasing of the length of the transfering message and the number of current online users by testing the responding time of the SOAP messager with different length and online users with different number.
引文
[1] Daniel A., Abbie B.Web Services Architecture Requirements. W3C Draft.April 2002. http://www.w3.org/TR/2002/WD-wsa-regs-20020429.
    
    [2] W3C.XML, Extensible Makup Language.http://www.w3.org/XML.
    [3] Erik C, Francisco C.Web Services Description Language (WSDL)1.1. W3C Note,March 2001. http://www.w3.org/TR/wsdl.
    [4] Tom B., Luc C.UDDI Version3.0 Published Specification. July 2002. http://uddi.org/pubs/uddi.
    [5] Martin G, Mare H. SOAP Version1.2 Parti: Messaging Framework. WK Candidate Recommendation,December2002.http://www.w3.org/TR/soap12-part.
    [6] BEA, IBM, Microsoft. Business Process Execution Language for Web Services, Version 1.0, 31 July 2002. http://download.boulder.ibm.com/ibmdl/pub/software/dw/specs/ws-bpel1.pdf.
    [7] Weiser M.Hot topics: Ubiquitous computing.IEEE Computer, 1993, 26(10): 71-72.
    [8] Andy Harter, Andy Hopper,et al. The Anatomy of a Context-Aware Application, Wireless Networks, 2001, Vol. 8: 187-197.
    [9] Frank Leymann. Web Services Flow Language (WSFL 1.0). May 2001. http://xml.coverpages.org/WSFL-Guide-200110.pdf.
    
    [10] Satish Thatte. XLANG-Web Service for business process design. 2001. http://www.gotdotnet.com/team/xml_wsspecs/xlang-c/default.htm.
    
    [11] Assain Arkin,Sid Askary,Scott Fordin et al. Web Service Choreography Interface (WSCI) 1.0. http://www.w3.org/TR/wsci/.
    
    [12] Assaf Arkin. Business Process Modeling Language(BPML)1.0. http://xml.coverpages.org/BPML-2002.pdf.
    [13] Benatallah, B., Sheng, Q.Z., and Dumas, M.: The Self-Serv Environment for Web Services Composition, Jan/Feb, 2003, IEEE Internet Computing. Vol 7 No 1.pp 40-48.
    [14] Cardoso, J. and Sheth, A. 2002. Semantic e-Workflow Composition. Technical Report, LSDIS Lab, Computer Science, University of Georgia.
    [15] BBN Technologies et al. DAML-S: Web Service Description for the Semantic Web.http://www.icsi.berkeley.edu/~snarayan/ISWC2002.pdf.
    [16] David Martin. OWL-S: Semantic Markup for Web Services.W3C Member Submission 22 November 2004. http://www.w3.org/Submission/OWL-S/.
    [17] Norbert W, Agnes V, Rudiger G. Using Ontologies in Personalized Mobile Applications.In:Proc.of the 12th Annual ACM International Workshop on Geographic Information Systems,2004.2-11.
    [18]Sheshagiri M,Sadeh N,Gandon F.Using Semantic Web Services for Context-Aware Mobile Applications.MobiSys 2004 Workshop on Context Awareness.Boston,2004.
    [19]Sadeh N,Gandon F,Kwon OB.Ambient Intelligence:the My-Campus Experience:[Technical Report].CMU-ISR 105-123,School of Computer Science,Carnegie Mellon University,July 2005.
    [20]Markus Keidl,Alfons Kemper.Towards Context-Aware Adaptable Web Services.Proceedings of the 13th international World Wide Web conference on Alternate track papers & posters,ACM(Association for Computing Machinery)Press NY,USA 2004:55-65.
    [21]Rafael Capilla.Context-aware architectures for building service-oriented systems.Proceedings of the Conference on Software Maintenance and Reengineering,IEEE Computer Society Washington,DC,USA 2006:300-303.
    [22]N.C.Narendra,Srinivas Gundugola.Automated Context-Aware Adaptation of Web Service Executions.IEEE International Conference on Computer Systems and Applications,March 8,2006:179-187.
    [23]Nan Luo,Junwei Yan,Min Liu,Shuxin Yang.Towards Context-Aware Composition of Web Services.Proceedings of the Fifth International Conference on Grid and Cooperative Computing(GCC'06),2006:494-499.
    [24]瞿心杭,郑扣根,王鹦鹉.支持感知上下文网络操作平台中间件的研究.计算机工程与应用,2006:20.
    [25]邹文科,孟祥武.基于语义Web技术的上下文感知的智能移动Web服务计算机科学,2006:33(9).
    [26]F.Leymann and D.Roller,Using flows in information integration,IBM System Journal,Vol.41,No.4,2002,pp.732-742.
    [27]S.R.Ponnekanti and A.Fox,SWORD:A Developer Toolkit for Web Service Composition,In the Proceeding of the 11th International World Wide Web Conference,Honolulu.
    [28]G Piccinelli,Service Provision and Compositionin Virtual Business Communities,Technical Report HPL-1999-84,Hewlett-Packard,http://www.hpl.hp.com/techreports/1999/HPL-1999-84.html,1999.
    [29]IR.Y.Zhang and J.Wang,ONTOS:Ontology-Driven Web Service Composition Platform,http://webster.cs.uga.edu/~ruoyan/ONTOS.htm.
    [30]Ian Taylor,Matthew Shields,et al.Grid Enabling Applications Using Triana, Workshop on Grid Applications and Programming Tools, 2003,Seattle. In conjunction with GGF8.
    
    [31] IBMAlphaworks,BPWS4J,http://www.alphaworks.ibm.com/tech/bpws4j.
    [32] Sirin, E., Hendler, J., and Parsia, B: Semi-automatic composition of web services using semantic descriptions. In Web Services: Modeling, Architecture and Infrastructure Workshop in conjunction with ICEIS 2003.
    [33] Dey A. K,Abowd G. D, and Salber D. ,A Conceptual Framework and a Toolkit for Supporting the Rapid Prototyping of Context-Aware Applications. Human-Computer Interaction,2001,16(1):97~166.
    [34] ActiveBPEL Document. http://www.activebpel.org/infocenter/ActiveBPEL/v30/index.jsp.
    [35] Paolucci Massimo,Kawamura Takahiro,Payne Terry R,Sycara Katia. Importing the Semantic Web in UDDI, Proceedings of Web Services, E-Business and Semantic Web Workshop (CAiSE Workshop), Tornonto,Canada, 2002,25(12), pp.225-236.
    [36] David Gallardo.Eclipse 平台入门,2004. http://www-128.ibm.com/developerworks/cn/linux/opensource/os-ecov.
    [37] Apache Tomcat.http://jakarta.apache.org/tomcat/index.
    [38] Protege 3.4 beta.The protege project.http://www.protege.stanford.edu/.
    [39] UDDI4J Document. http://uddi4j.sourceforge.net/doc.html.
    [40] Axis Document.http://ws.apache.org/axis/java/user-guide.html,May 2005.
    [41] Jena2 Ontology API.http://jena.sourceforge.net/ontology/index/html,2006.

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

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

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