基于QoS与自动评测机制的Web服务搜索的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着Web服务应用的不断扩展,网上提供服务的数量越来越多,但有研究报告指出,提供的Web服务中,只有大约34%可用,每周大约有16%的已注册的Web服务失效,并且在可用的服务中服务的质量参差不齐。原来具有较高服务质量的服务,也可能由于条件的变化,服务质量急剧下降。因此面临两个问题:一是用户希望找到的服务不仅功能上满足要求,同时应该具有较高的服务质量。二是服务提供者所声称的服务质量可能由于条件的变化已经不复存在或有所下降,要能够从用户的角度对服务质量做出实时的评测。另外,目前的Web服务执行方式还是人工的,服务消费者必须事先人为地了解服务的技术细节才能调用服务。这种方式不管是对专业人员还是普通用户都造成了很大的麻烦,使得对Web服务的测试实施复杂,耗时费力,从而阻碍了Web服务应用的普及。
     针对上述问题,本文对Web服务自动执行问题、基于服务质量的服务发现问题、服务质量指标值量化及综合评价问题进行了深入的研究。论文建立私有UDDI注册中心用于存储服务注册信息;采用分类tModel的方法描述服务质量信息并存储在注册表中,很好的解决了Web服务质量的描述问题;采用“量化”的方法把服务质量指标值不同的描述形式统一成UDDI规范中的离散值;运用WSDL4J技术对WSDL文档进行解析,Axis提供的API对服务进行调用实现了Web服务的自动执行,方便了对Web服务服务质量的测试,提高了测试的效率。论文所设计和实现的Web服务搜索系统对服务质量相关的指标值进行了实时的测量,可以用于对服务质量进行实时的评价,从而使服务消费者能及时的了解服务质量的变化情况。
     本文设计和实现的Web服务搜索系统能够基于服务质量进行服务搜索,实现了Web服务的自动执行,能够对Web服务的服务质量进行实时的评测,具有一定的实际价值。
As the application of Web services ceaselessly expand, more and more services were provided on the Internet, but a study report pointed out that only about 34 percent of them is available, 16 percent of the registered Web services fails weekly and the quality of available services is very different. The high quality of service may decline sharply due to changes in conditions. So web services face two problems: First, the user wants to find services that not only meet functional requirements but also with high quality. Second, because of changes of environment, the quality claimed by service provider has been declined or disappeared, so it is necessary to evaluate the quality of service timely from the user's side. In addition, the current implementation of Web services is still artificial, service consumers must first artificially understand the technical details of services, and then can invoke services. This way has caused a lot of trouble to both technical users and ordinary users. It makes the implementation of Web services testing complex, time-consuming, thereby impedes the popularization of Web services application.
     Aiming at these problems, this thesis focuses on these aspects of Web services: automatic execution of Web services, discovery on condition of service quality, value quantization of service quality indexes and comprehensive evaluation. This thesis builds private UDDI registration center to store the registration information of Web services, uses classification tModel to describe information of service quality which was stored in registration center. This way can solve the problem of describing information of quality of service well. The description forms of service quality indexes are different from the discrete values in UDDI specification. The thesis use "quantitative" approach to resolve this contradiction. WSDL4J was used to resolve wsdl document, API provided by Axis was used to call services. They make web services can be executed automatically because of which the test of service quality becomes easy and efficient. Web services searching system designed and implemented in this thesis measures service quality indexes timely, can be used for real-time evaluation of service quality. Service consumers can timely know changes of service quality by help of the system.
     Web services searching system designed and implemented in this thesis can search web services on condition of quality of service, realize the automatic execution of web services, can evaluate quality of service timely. Thus has some practical significance.
引文
[1]牟玉洁,曹健,张申生,等.扩展的Web Service服务质量模型研究[J].计算机学报,2006,33(1):4-8.
    [2]郑晓霞,王建仁.基于QoS的Web服务发现模型研究[J].情报科学,2007,25(2):215-253.
    [3]龚小勇.基于UDDI分类架构实现Web服务的QoS[J].重庆职业技术学院学报,2007,16(3):152-154.
    [4]王安华,胡国林,班晓娟,等.基于服务质量的Web服务发现研究与实现[J].计算机工程与设计,2007,28(21):5112-5113.
    [5]杨胜文,史美林.一种支持QoS约束的Web服务发现模型[J].计算机学报,2005,28(4):590-593.
    [6]杨曼.Web服务架构下UDDI机制的研究[D].武汉:武汉理工大学计算机科学与技术院,2005.
    [7]Mack Hendricks,Ben Galbraith.Java Web服务编程指南[M].李双庆,朱军,卢刚,译.北京:电子工业出版社,2002:1-22.
    [8]Will Iverson.Real World Web Service[M].American:O'Reilly,2004:2-100.
    [9]W3C.SOAP version 1.2 Part 0:Primer[EB/OL].(2007-04-27)[2008-03-08].http://www.w3.org/TR/2007/REC-soap12-part0-20070427/.
    [10]W3C.SOAP version 1.2 Part 1:Messaging Framework[EB/OL].(2007-04-27)[2008-03-08].http://www.w3.org/TR/2007/REC-soap12-part1-20070427/.
    [11]W3C.SOAP version 1.2 Part 2:Adjuncts[EB/OL].(2007-04-27)[2008-03-08].http://www.w3.org/TR/2007/REC-soap12-part2-20070427/.
    [12]W3C.Web Services Description Language(WSDL)1.1[EB/OL].(2001-03-15)[2008-03-10].http://www.w3.org/TR/wsdl.
    [13]OASIS.The UDDI Version 3.0.2 Specification[EB/OL].(2004-10-19)[2008-03-09].http://www.oasis-open.org/committees/uddi-spec/doc/spec/v3/uddi-v3.0.2-20041019.htm.
    [14]James Snell.The Web services insider,Part 4:Introducing the Web Services Flow Language [EB/OL].(2001-06-01)[2008-03-04].http://www.ibm.com/developrworks/webservice s/lib rary/ws-ref4/.
    [15]蔡月茹,柳西玲.Web Service基础教程[M].北京:清华大学出版社,2005:8-16.
    [16]OASIS.WS-Reliability 1.1 specification[EB/OL].(2004-11-15)[2008-03-07]. http://docs.oasis-open.org/wsrm/ws-reliability/vl.1/wsrm-ws_reliability-1.1-spec-os.pdf.
    [17]吴晨,王忠民.Web Service中身份验证体系的研究与应用[J].计算机应用研究,2003,(7):81-82.
    [18]OASIS.Web Services Atomic Transaciton version 1.1 specification[EB/OL].(2007-07-12)[2008-03-09].http://does.oasis-open.org/ws-tx/wstx-wsat-1.1-spee-errata-os.pdf.
    [19]白晓颖,赵冲冲,戴桂兰.Web服务测试研究[J].计算机科学,2006,33(2):252-255.
    [20]Anbazhagan Mani,Arun Nagarajan.理解 Web 服务的服务质量[EB/OL].(2002-01-01)[2008-03-05].http://www-128.ibm.com/developerworks/cn/webservices/ws-quality/index.html.
    [2l]Holt Adams.Web服务性能方面需要考虑的问题,第1部分[EB/OL].(2004-02-01)[2008-03-04].http://www.ibm.com/developerworks/cn/webservices/ws-best9/index.html.
    [22]施寅生,邓世伟,谷天阳.Web服务安全性测试技术研究[J].计算机工程与科学,2007,29(10):11-12.
    [23]郑奕,钱乐秋.Web Services服务质量度量工具的研究[J].计算机应用与软件,2007,24(12):81-83.
    [24]OASIS.WS-SeeurityPoliey 1.2 specification[EB/OL].(2007-07-01)[2008-03-06],http://does.oasis-open.org/ws-sx/ws-securitypolicy/2OO702/ws-securitypolicy-1.2-spec-os.pdf.
    [25]马军慧,马军德.Web服务中的QoS研究[J].电子科技,2007,(8):57-59.
    [26]唐小燕,李斌.Web服务集成中基于QoS的服务选择[J].计算机应用,2006,26(6):242-243.
    [27]李乔,秦锋,郑啸.Web服务响应时间测试[J].计算机工程与设计,2007,28(19):4670-4671.
    [28]秦锋,李乔,郑啸.Web服务测试的一种实现[J].计算机技术与发展,2007,17(8):240-241.
    [29]杜宗霞,怀进鹏.主动分布式Web服务注册机制研究与实现[J].软件学报,2006,17(3):453-462.
    [30]黄立冬.基于UDDI的Web服务注册中心的原型实现[D].昆明:昆明理工大学,2003.
    [31]陶强.Web Service中UDDI的研究与实现[D].武汉:武汉理工大学计算机科学与技术学院,2005.
    [32]李春梅,蒋运承.具有QoS约束的语义Web服务发现的研究[J].计算机科学,2007,34(6):116-120.
    [33]郭得科,任彦,陈洪辉,等.一种QoS有保障的Web服务分布式发现模型[J].软件学报,2006,17(11):2324-2331.
    [34]贝林高.Web服务搜索与执行引擎(八)-WSDL解析精髓[EB/OL].(2007-04-22)[2008-03-10].http://blog.csdn.net/lin_bei/arehive/2007/04/22/1574212.aspx.
    [35]贝林高.Web服务搜索与执行引擎(九)-初看客户端如何调用Web服务[EB/OL].(2007-04-22)[2008-03-10].http://blog.csdn.net/lin_bei/archive/2007/04/24/1578059.aspx.
    [36]姜瑛,辛国茂,单锦辉,等.一种Web服务的测试数据自动生成方法[J].计算机学报,2005,28(4):569-570.
    [37]The Apache Software Foundation.WSIF[D/OL].(2006-05-22)[2008-03-04].http://ws.apache.org/wsif/.
    [38]Gwyduk Yeom,Dugki Min.Design and Implementation of Web Services QoS Broker.In:Proceedings of the International Conference on Next Generation Web Services Practices.IEEE Computer Society,2005.2pp.
    [39]W3C.SOAP version 1.2 Specification Assertions and Test Collection[EB/OL].(2007-04-27)[2008-03-08].http://www.w3.org/TR/2007/REC-soap 12-testcollection-20070427/.
    [40]W3C.QoS for web services:Requirements and Possible approaches[EB/OL].(2003-11-25)[2008-03-10].http://www.w3c.or.kr/kr-office/TR/2003/NOTE-ws-qos-20031125/.
    [41]Ralph Busse.Cooperative Support Service-Quality of Service Monitoring[EB/OL].(2000)[2008-03-14].http://www.crossflow.org/public/wsfoils/286,1,Cooperative Support Service-Quality of Service Monitoring(QoS).
    [42]Liu Y,Ngu A H.QoS Computaion and Policing in Dynamic Web Service Selection.Proceedings of the 13th International World Wide Web Conference,2004:66-73.
    [43]Maximilien E.M.,Singh M.P..A framework and ontology for dynamic Web services selection[J].Internet Computing,2004,8(5):84-93.
    [44]岳昆,王晓玲,周傲英.Web服务核心支撑技术研究综述[J].软件学报,2004,15(3):429-441.
    [45]Macro comuzzi,Barbara Pemici.An Architecture for Flexible Web Service QoS Negotiation.In:Proceedings of the 2005 Ninth IEEE International EDOC Enterprise Computing Conferernce(EDOC'05).IEEE Computer Society,2005.70-79.
    [46]胡建强,邹鹏,王怀民,等.Web服务描述语言QWSDL和服务匹配模型研究[J].计算机学报,2005,28(4):505-511.
    [47]员红娟,叶飞跃,李霞,等.基于语义的Web服务发现核心技术研究[J].计算机应用,2006,26(11):2661-2663.
    [48]马秀琴,冯百明,秦红武.一种考虑服务质量的服务发现机制[J].计算机应用,2006,26(4):935-937.
    [49]史忠植,蒋运承,张海俊,等.基于描述逻辑的主体服务匹配[J].计算机学报,2004,27(5):625-635.
    [50]Zeng I,Benatallah B.QoS-aware middleware for Web service Composition[J].IEEE Transactions on Software Engineering,2004,30(5):311-327.
    [51]钱权,严家德.Web Service的安全机制[J].计算机工程,2007,33(22):190-192.

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

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

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