面向服务工作流补偿机制的研究与实现  被引量:3

Implementing mechanism of service oriented workflow compensation

在线阅读下载全文

作  者:张华[1] 王茜[2] 

机构地区:[1]东南大学计算机科学与工程学院,南京210096 [2]东南大学计算机网络与信息集成教育部重点实验室,南京210096

出  处:《东南大学学报(自然科学版)》2009年第1期40-46,共7页Journal of Southeast University:Natural Science Edition

基  金:国家科技部"十一五"科技支持计划资助项目(2006BAF01A48)

摘  要:为了解决面向服务工作流中异常的动态补偿问题,在传统工作流异常处理理论的基础上,结合Web Services的事务处理的特点,提出了基于工作流执行日志实施补偿的策略.补偿过程包括补偿判断、补偿路线产生和补偿行为调用,异常管理器控制补偿的执行过程.因为服务具有动态调用、动态执行特点,异常管理器需要在业务运行时依据工作流基本模式和事务依赖关系确定补偿范围,动态生成补偿路线并调用相应的补偿操作.为了验证补偿策略的可行性和正确性,实现了基于Web Services的原型系统WFCF.实验表明,该机制在失效补偿范围和补偿行为调用2个方面提高了工作流异常恢复的效率.To solve the problem of dynamic compensation of exceptions in service oriented workflow system,a compensation mechanism utilizing the executing log records is proposed in this paper.This mechanism is based on traditional exception handling methods,and Web Service transaction is also taken into consideration. The compensation process is composed of three parts: judging,generating compensation route and invoking compensation operations.The failure handling and the failure recovery are controlled by exception manager.Due to the dynamic characteristics of Web Services,the exception manager can specify the compensation scope according to basic workflow pattern and transaction dependencies until the running time.It has to generate the compensation model dynamically and then invokes corresponding compensation operations.In order to verify the feasibility and correctness of the fore-mentioned compensation scheme,a Web Services based WFCF(workflow compensation framework) has been designed and implemented.The experimental results show that this mechanism improves the efficiency of workflow exception handling especially in terms of compensation scope and compensation behaviors.

关 键 词:工作流异常 补偿机制 执行日志 回滚 WEB服务 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象