基于Petri网的Web服务组合执行故障诊断与处理
发布时间:2018-10-16 13:09
【摘要】:近年来,互联网技术的高速发展,推动了基于互联网技术的服务计算理论与技术的迅猛发展。互联网上涌现了各式各样的Web服务,但互联网上的Web服务从功能角度看往往具有单一性,不能很好的满足用户日益复杂的业务需求。Web服务组合技术的诞生,为日益复杂的用户需求提供了一条新的解决途径。Web服务组合技术扩大了Web服务技术的应用范围,挖掘出Web服务组合技术的真正潜力。Petri网所拥有的异步性与并发等特征及其严格的数学理论和直观的图形化方式,非常适合建模、分析像Web服务这样的分布式系统。 基于Petri网的Web服务组合执行引擎是Petri网理论用于Web服务组合的实现。但是,基于Petri网的Web服务组合执行引擎复杂性,决定了其应用系统状态的不确定性;其次,,在应用系统发生故障后,系统就无法对外界给出的输入产生符合预期的输出,用户的需求无法得到满足。此时,用户虽然得知系统发生故障,但面对还是无法使用的系统。因此,针对基于Petri网的Web服务组合执行引擎故障问题,需要有效的基于Petri网的故障诊断与处理机制,通过监控引擎的运行状态,随时发现异常激发的变迁,并及时恢复基于Petri网的Web服务组合执行引擎的执行状态显得尤为重要。 为了恢复基于Petri网的Web服务组合执行引擎的执行状态,传统的方法是重构执行引擎内Web服务组合所对应的Petri网。然而,用于服务组合的Web服务一般由服务提供商提供,分布在网络各处,执行服务需要付出代价(时间、金钱等),丢弃原有Petri网重构的代价往往是不可接受的。 针对基于Petri网应用系统的故障问题,本文首先定义了原子服务执行故障的概念,以此给出了判别原子服务执行故障的方法,并作为基于Petri网的Web服务组合执行故障的诊断依据。 随后,本文提出了基于Petri网的Web服务组合执行故障两级处理方法,用于解决基于Petri网的Web服务组合执行引擎故障。第一级,原子服务级故障处理方法。在传统Petri网基础上定义了原子服务,并以此为基础提出了Web服务组合执行故障处理策略,并将Petri网的变迁与Web服务中的原子服务一一对应,在此基础上定义了等价原子服务的概念,并结合本文在第四章提出的用于匹配故障Web服务的服务特征短编码算法,解决Petri网变迁替换问题。第二级,子网级别故障处理方法。提出在无法找到原子服务时,结合本文第三章提出的用于候选可替换Web服务排序的服务QoS动态计算方法,通过Petri网子网替换的方法恢复Petri网的可达性。 最后,本文通过实例验证了故障诊断与两级服务故障处理算法。
[Abstract]:In recent years, the rapid development of Internet technology has promoted the rapid development of service computing theory and technology based on Internet technology. A variety of Web services have emerged on the Internet, but the Web services on the Internet are often unique from the point of view of function, which can not meet the increasingly complex business needs of users. Web services composition technology expands the scope of application of Web services technology. The real potential of Web services composition technology is excavated. The asynchronous and concurrency characteristics of Petri net and its strict mathematical theory and visual graphic method are very suitable for modeling and analyzing distributed systems such as Web services. The Web service composition execution engine based on Petri net is the implementation of Web service composition based on Petri net theory. However, the complexity of the Web service composition execution engine based on Petri net determines the uncertainty of the application system state. Secondly, after the application system fails, the system can not produce the expected output to the input given by the outside world. The user's needs cannot be met. At this point, although the user is aware of the system failure, but still can not be used in the face of the system. Therefore, to solve the problem of fault of Web service composition execution engine based on Petri net, we need an effective fault diagnosis and processing mechanism based on Petri net. By monitoring the running state of engine, we can find the change of abnormal excitation at any time. It is very important to restore the execution state of Web service composition execution engine based on Petri net in time. In order to restore the execution state of the Web service composition execution engine based on Petri net, the traditional method is to reconstruct the Petri net corresponding to the Web service composition in the execution engine. However, Web services for service composition are generally provided by service providers and distributed throughout the network. The cost of executing the service (time, money, etc.) is often unacceptable, and the cost of discarding the original Petri network reconfiguration is often unacceptable. Aiming at the fault of application system based on Petri net, this paper first defines the concept of atomic service execution fault, and then gives the method of judging the fault of atomic service execution, which can be used as the basis of Web service composition fault diagnosis based on Petri net. Then, this paper presents a two-level processing method of Web service composition execution fault based on Petri net, which is used to solve the Web service composition execution engine fault based on Petri net. First, the atomic service level fault handling method. The atomic service is defined on the basis of traditional Petri net, and based on this, the strategy of Web service composition execution fault handling is proposed, and the transition of Petri net is matched with the atomic service in Web service one by one. On this basis, the concept of equivalent atomic service is defined, and the short coding algorithm for matching fault Web services is proposed in chapter 4 to solve the problem of transition substitution in Petri nets. The second level, subnet level fault treatment method. When atomic services can not be found, this paper proposes a dynamic computing method of service QoS for candidate alternative Web services, which is proposed in Chapter 3 of this paper, to restore the reachability of Petri nets by Petri net subnet substitution. Finally, an example is given to verify the fault diagnosis and two-level service fault processing algorithm.
【学位授予单位】:济南大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.09;TP301.1
本文编号:2274463
[Abstract]:In recent years, the rapid development of Internet technology has promoted the rapid development of service computing theory and technology based on Internet technology. A variety of Web services have emerged on the Internet, but the Web services on the Internet are often unique from the point of view of function, which can not meet the increasingly complex business needs of users. Web services composition technology expands the scope of application of Web services technology. The real potential of Web services composition technology is excavated. The asynchronous and concurrency characteristics of Petri net and its strict mathematical theory and visual graphic method are very suitable for modeling and analyzing distributed systems such as Web services. The Web service composition execution engine based on Petri net is the implementation of Web service composition based on Petri net theory. However, the complexity of the Web service composition execution engine based on Petri net determines the uncertainty of the application system state. Secondly, after the application system fails, the system can not produce the expected output to the input given by the outside world. The user's needs cannot be met. At this point, although the user is aware of the system failure, but still can not be used in the face of the system. Therefore, to solve the problem of fault of Web service composition execution engine based on Petri net, we need an effective fault diagnosis and processing mechanism based on Petri net. By monitoring the running state of engine, we can find the change of abnormal excitation at any time. It is very important to restore the execution state of Web service composition execution engine based on Petri net in time. In order to restore the execution state of the Web service composition execution engine based on Petri net, the traditional method is to reconstruct the Petri net corresponding to the Web service composition in the execution engine. However, Web services for service composition are generally provided by service providers and distributed throughout the network. The cost of executing the service (time, money, etc.) is often unacceptable, and the cost of discarding the original Petri network reconfiguration is often unacceptable. Aiming at the fault of application system based on Petri net, this paper first defines the concept of atomic service execution fault, and then gives the method of judging the fault of atomic service execution, which can be used as the basis of Web service composition fault diagnosis based on Petri net. Then, this paper presents a two-level processing method of Web service composition execution fault based on Petri net, which is used to solve the Web service composition execution engine fault based on Petri net. First, the atomic service level fault handling method. The atomic service is defined on the basis of traditional Petri net, and based on this, the strategy of Web service composition execution fault handling is proposed, and the transition of Petri net is matched with the atomic service in Web service one by one. On this basis, the concept of equivalent atomic service is defined, and the short coding algorithm for matching fault Web services is proposed in chapter 4 to solve the problem of transition substitution in Petri nets. The second level, subnet level fault treatment method. When atomic services can not be found, this paper proposes a dynamic computing method of service QoS for candidate alternative Web services, which is proposed in Chapter 3 of this paper, to restore the reachability of Petri nets by Petri net subnet substitution. Finally, an example is given to verify the fault diagnosis and two-level service fault processing algorithm.
【学位授予单位】:济南大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.09;TP301.1
【参考文献】
相关期刊论文 前10条
1 黄景文;胡志华;;Web服务QoS的免疫多信号预测模型研究[J];广西大学学报(自然科学版);2009年04期
2 梅晓勇;李师贤;黄昌勤;郑小林;;一种支持组合事务的执行语义分析方法[J];电子学报;2012年07期
3 崔华;应时;袁文杰;胡罗凯;;语义Web服务组合综述[J];计算机科学;2010年05期
4 范贵生;刘冬梅;陈丽琼;虞慧群;;可靠服务组合的协调策略与分析[J];计算机学报;2008年08期
5 吴国凤;吴乃鑫;;基于语义描述的Web服务工作流动态组合研究[J];计算机应用;2007年11期
6 范小芹;蒋昌俊;王俊丽;庞善臣;;随机QoS感知的可靠Web服务组合[J];软件学报;2009年03期
7 邵凌霜;周立;赵俊峰;谢冰;梅宏;;一种Web Service的服务质量预测方法[J];软件学报;2009年08期
8 范贵生;虞慧群;陈丽琼;刘冬梅;;基于Petri网的服务组合故障诊断与处理[J];软件学报;2010年02期
9 孙峻朝,王建莹,杨孝宗;故障注入方法与工具的研究现状[J];宇航学报;2001年01期
10 马炳先;相东明;张正明;;Web服务组合的Petri网自动生成方法[J];小型微型计算机系统;2013年02期
本文编号:2274463
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/2274463.html