节点文献

Web服务接口的相容性与调解研究

Research on Compatibility and Mediation of Web Service Interfaces

【作者】 林宝平

【导师】 顾乃杰;

【作者基本信息】 中国科学技术大学 , 计算机软件与理论, 2009, 博士

【摘要】 Web服务技术通过使用一系列的标准规范,为互联网上的不同应用提供了语法互操作性支持,使得企业之间的应用交互从局部范围发展到全球范围成为可能。利用Web服务技术进行交互的应用只需遵从相应的Web服务接口,而不需考虑各自的内部实现,从而极大地降低了交互应用之间的耦合度,增加了企业应用的灵活性。因此,Web服务技术已经逐渐成为实现企业内应用集成和企业间应用交互的主流技术。由于Web服务的松散耦合特性,其在提高应用灵活性的同时,也引出了新的研究问题,即如何保证两个独立开发的应用之间的Web服务接口能够互操作。当前的Web服务技术只能在语法上为不同应用的Web服务接口提供互操作性支持,而Web服务接口的语义互操作性问题尚有待解决。本文使用形式化的方法对Web服务接口的相容性和调解问题进行了研究,给出了它们的严格定义并设计了一系列相关的算法,具体内容包括:1)研究了Web服务接口应含信息的界定问题。通过分析Web服务的交互行为,指出了一个Web服务接口应当包含两个部分:消息描述和流程描述。其中,消息描述定义一个Web服务接口所支持的所有消息的模式和方向,流程描述定义一个Web服务接口与其伙伴的所有消息交换之间的依赖关系。2)研究了Web服务接口中消息之间的相容性问题。给出了一种基于领域本体的Web服务消息注解方法,并对带注解的Web服务消息进行了形式建模。基于消息的形式模型,定义了Web服务接口的消息相容性,并给出了相应的判定算法。为了对不完全相容的Web服务消息进行处理,还提出了一种消息相容程度的量化方法,对Web服务接口的消息相容度进行了定义,同时也给出了相应的计算算法。3)研究了Web服务接口中流程之间的相容性问题。为Web服务流程提出了一个形式模型并给出了从流程描述到流程模型的转换方法。基于流程的形式模型,研究了两个流程的交互中可能发生的三种异常性质:未指定接收、死锁和活锁。根据这三种异常性质,定义了两个Web服务流程之间的相容性,同时给出了相应的判定算法。为了对不完全相容的Web服务流程进行处理,通过对上述三种异常性质的量化,提出了一种计算两个Web服务流程之间相容度的方法,并给出了相应的计算算法。4)研究了不相容Web服务接口的调解方法。针对不相容的Web服务消息,定义了对消息的相应部分进行转换的属性调解规则和元素调解规则,同时分别给出了不相容消息的属性调解规则和元素调解规则的生成算法。针对不相容的Web服务流程,首先对Web服务的流程模型进行了扩充,给出了适合调解流程的形式模型,并基于该形式模型提出了一个调解流程的生成算法;然后定义了调解流程的相容性和可靠性,并从理论上分别证明了算法所生成的调解流程具有相容性和可靠性。

【Abstract】 Web services have provided syntactic interoperability for disparate applications on the Internet by using a series of standard specifications.Siuce interacting applications based on Web services only need to obey their respective interfaces,their coupling degree can be reduced and the flexibility of them can be increased a lot. Therefore,the Web services technology is becoming a major approach to enterprise application integration and business to business interactions.Since Web services based systems are loosely coupled,a new issue occurs:how to ensure that two Web service interfaces can interoperate when they are developed independently? Current Web services technology just offers syntactic interoperability for autonomous Web service interfaces while the semantic interoperability of them is still an open problem.This dissertation uses a formal approach to address the compatibility and mediation issues of Web service interfaces.The main contents of the dissertation are as follows:1) How to determine the information a Web service interface needs to include is studied.Based on an analysis of the interaction behaviors of Web services,we point out that a Web service interface should contain two parts:messages and a process. While the messages part defines the schemas and directions of messages the interface supported,the process part defines a process that puts ordering constraints on the message exchanges.2) The message compatibility between Web service interfaces is studied.First, we present an ontology based approach to semantically annotate message schemas, and propose a formal model for the annotated messages.Then,we define the message compatibility based on the formal message model and devise a message compatibility check algorithm.In order to dealing with incompatible messages,we also propose a quantitative approach to measure the compatibility degree of messages and devise an algorithm to compute the message compatibility degree.3) The process compatibility between Web service interfaces is studied.We first propose a formal model for Web service processes and provide rules to transform process descriptions to corresponding models.Based on the formal process model,we define three exception properties of Web service interactions:unspecified reception, deadlock and livelock.Then,we define the process compatibility based on the three exception properties and devise a process compatibility check algorithm.In order to dealing with incompatible processes,we also propose a quantitative approach to measure the compatibility degree of processes based on the three exception properties and devise an algorithm to compute the process compatibility degree.4) The mediation methods for incompatible Web service interfaces are studied. For incompatible messages,we first define two kinds of mediation rules:attribute mediation rule and element mediation rule,which are used to convert messages,and then devise the algorithms for generating the attribute mediation rules and element mediation rules.For incompatible processes,we first extend the Web service process model to cater for mediation processes,and then devise an algorithm to synthesize the mediation process from incompatible processes.Based on the presented definitions of the compatibility and reliability of mediation processes,we also prove that a mediation process synthesized by the algorithm is compatible and reliable with the mediated processes.

节点文献中: 

本文链接的文献网络图示:

本文的引文网络