[1]张华,王茜.面向服务工作流补偿机制的研究与实现[J].东南大学学报(自然科学版),2009,39(1):40-46.[doi:10.3969/j.issn.1001-0505.2009.01.008]
 Zhang Hua,Wang Qian.Implementing mechanism of service oriented workflow compensation[J].Journal of Southeast University (Natural Science Edition),2009,39(1):40-46.[doi:10.3969/j.issn.1001-0505.2009.01.008]
点击复制

面向服务工作流补偿机制的研究与实现()
分享到:

《东南大学学报(自然科学版)》[ISSN:1001-0505/CN:32-1178/N]

卷:
39
期数:
2009年第1期
页码:
40-46
栏目:
计算机科学与工程
出版日期:
2009-01-20

文章信息/Info

Title:
Implementing mechanism of service oriented workflow compensation
作者:
张华 王茜
东南大学计算机科学与工程学院, 南京 210096; 东南大学计算机网络与信息集成教育部重点实验室, 南京 210096
Author(s):
Zhang Hua Wang Qian
School of Computer Science and Engineering, Southeast University, Nanjing 210096, China
Key Laboratory of Computer Network and Information Integration of Ministry of Education, Southeast University, Nanjing 210096, China
关键词:
工作流异常 补偿机制 执行日志 回滚 Web服务
Keywords:
workflow exception compensation mechanism log file rollback Web Services
分类号:
TP391
DOI:
10.3969/j.issn.1001-0505.2009.01.008
摘要:
为了解决面向服务工作流中异常的动态补偿问题,在传统工作流异常处理理论的基础上,结合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.

参考文献/References:

[1] Yang Zaihan,Liu Chengfei.On the development of a multiple-compensation mechanism for business transactions[C] //The 7th Advantages in Web-Age Information Management.Hong Kong,China,2006:581-592.
[2] van der Aalst W M P,Ter Hofstede A H M,Kiepuszewski B,et al.Workflow patterns [J]. Distributed and Parallel Databases,2003,14(1):5-51.
[3] Acu B,Reisig W.Compensation in workflow nets[C] //27th International Conference on Applications and Theory of Petri Nets Turku.Heidelberg,Finland,2006:65-83.
[4] 李伟平,范玉顺.工作流系统的异常处理[J].高技术通讯,2004,10(12):54-58.
  Li Weiping,Fan Yushun.Exception handling in workflow management systems[J].High Technology Letters,2004,10(12):50-54.(in Chinese)
[5] Hagen C,Alonso G.Exception handling in workflow management systems[J]. IEEE Transactions on Software Engineering,2000,26(10):943-958.
[6] Liu Chengfei,Orlowska M E,Lin Xuemin,et al.Improving backward recovery in workflow systems[C] //Proceedings International Conference on Database Systems for Advanced Applications.Hong Kong,China,2001:276-283.
[7] Stranden T,Karlsen R.Transaction compensation in Web Services[EB/OL].(2002)[2008-02-03].http://www.nik.no/2002/strandenas.pdf/.
[8] Kuo D,Lawley M.A model for transactional workflows [C] //Seventh Australasian Database Conference Proceedings.Melbourne,Australia,1996:139-146.
[9] Kiepuszewski B,Mühlberger R,Orlowska M.Flowback:providing backward recovery for workflow systems [C] //Proceedings of 1998 ACM SIGMOD International Conference on Management of Data.Seattle,USA,1998:555-557.
[10] 唐飞龙,李明禄,曹健.网格环境下的一种事务协调机制及其补偿技术[J].计算机研究与发展,2003,40(12):1796-1800.
  Tang Feilong,Li Minglu,Cao Jian.A transaction coordination mechanism and its compensation technology in grid environment[J].Journal of Computer Research and Development,2003,40(12):1796-1800.(in Chinese)
[11] 任怡,吴泉源,贾焰.一种层次式的事务工作流失效恢复算法[J].电子学报,2005,33(2):317-321.
  Ren Yi,Wu Quanyuan,Jia Yan.A hierarchical failure recovery algorithm for transactional workflows[J]. Acta Electronica Sinica,2005,33(2):317-321.(in Chinese)

备注/Memo

备注/Memo:
作者简介: 张华(1983—),男,硕士生; 王茜(联系人),女,教授, 博士生导师, qwang@seu.edu.cn.
基金项目: 国家科技部“十一五”科技支持计划资助项目(2006BAF01A48).
引文格式: 张华,王茜.面向服务工作流补偿机制的研究与实现[J].东南大学学报:自然科学版,2009,39(1):40-46.
更新日期/Last Update: 2009-01-20