节点文献
面向服务工作流补偿机制的研究与实现
Implementing mechanism of service oriented workflow compensation
【摘要】 为了解决面向服务工作流中异常的动态补偿问题,在传统工作流异常处理理论的基础上,结合Web Services的事务处理的特点,提出了基于工作流执行日志实施补偿的策略.补偿过程包括补偿判断、补偿路线产生和补偿行为调用,异常管理器控制补偿的执行过程.因为服务具有动态调用、动态执行特点,异常管理器需要在业务运行时依据工作流基本模式和事务依赖关系确定补偿范围,动态生成补偿路线并调用相应的补偿操作.为了验证补偿策略的可行性和正确性,实现了基于Web Services的原型系统WFCF.实验表明,该机制在失效补偿范围和补偿行为调用2个方面提高了工作流异常恢复的效率.
【Abstract】 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.
【Key words】 workflow exception; compensation mechanism; log file; rollback; Web Services;
- 【文献出处】 东南大学学报(自然科学版) ,Journal of Southeast University(Natural Science Edition) , 编辑部邮箱 ,2009年01期
- 【分类号】TP311.52
- 【被引频次】25
- 【下载频次】205