首页 | 本学科首页   官方微博 | 高级检索  
     

基于Saga模型的事务工作流实现机制
引用本文:洪眉,许炜,彭卫. 基于Saga模型的事务工作流实现机制[J]. 兵工自动化, 2004, 23(5): 24-26,30
作者姓名:洪眉  许炜  彭卫
作者单位:华中科技大学,电子与信息工程系,湖北,武汉,430074;华中科技大学,电子与信息工程系,湖北,武汉,430074;华中科技大学,电子与信息工程系,湖北,武汉,430074
摘    要:基于Saga的事务工作流实现机制结合了扩展事务模型和Saga事务模型的特点.当任务执行出现异常时,需清除已执行任务产生的影响后才能终止任务的执行,其前向恢复通过异常控制机制实现,后向恢复则通过事务补偿实现.在事务全部处于初始化状态时启动工作流流程,每个活动被依次选择执行并返回其代码,若全部成功执行则结束,若执行发生异常则后向恢复模块有效,进入事务控制模式.并构造了采用该事务工作流实现机制的工作流引擎.

关 键 词:事务工作流  Saga事务模型  扩展事务模型
文章编号:1006-1576(2004)05-0024-03

Implementing Mechanism of Transaction Workflow Based on Saga Model
HONG Mei,XU Wei,PENG Wei. Implementing Mechanism of Transaction Workflow Based on Saga Model[J]. Ordnance Industry Automation, 2004, 23(5): 24-26,30
Authors:HONG Mei  XU Wei  PENG Wei
Abstract:Implementation mechanism of transaction workflow based on Saga has both the features of the extended transaction model and Saga transaction model. If exception occurs when executing task, it is required to clear influence of executed task and terminate the execution of task. Its forward recovery is realized with exception control mechanism, and backward recovery is realized with transaction compensation. Start workflow process when transactions are at the initial state, and each activity is selected to execute in turn and return a code, then all activities were executed successfully and terminated. If occurred exception, backward recovery module is valid and execute in transaction control model. And workflow engine was built up with transaction workflow implementation mechanism.
Keywords:Transactional workflows (TWF)  Saga transaction model  Extended transaction model
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号