Journal of Systems Engineering and Electronics ›› 2012, Vol. 34 ›› Issue (1): 191-198.doi: 10.3969/j.issn.1001-506X.2012.01.35

• 软件、算法与仿真 • 上一篇    下一篇

支持组合事务的失败恢复验证

梅晓勇1,2, 李师贤1, 黄昌勤3, 郑小林4, 明仲5   

  1. 1. 中山大学信息科学与技术学院, 广东 广州 510006;
    2. 湖南文理学院计算机学院, 湖南 常德 415000;
    3. 加利福利亚州立大学尔湾分校电子工程与计算机科学系, 加利福利亚州 尔湾 92697;
    4. 浙江大学计算机科学与技术学院, 浙江 杭州 310027;
    5. 深圳大学计算机与软件学院, 广东 深圳 518060
  • 出版日期:2012-01-13 发布日期:2010-01-03

Verification of failure recovery for composition transaction

MEI Xiaoyong1,2, LI Shixian1, HUANG Changqin3, ZHENG Xiaolin4, MING Zhong5   

  1. 1. School of Information Science and Technology, Sun Yatsen University, Guangzhou 510006, China;
    2. School of Computer Science and Technology, Hunan University of Arts and Science, Changde 415000, China;
    3. Department of Electrical Engineering and Computer Science, University of California, Irvine, Irvine 92697, USA;
    4. College of Computer Science and Technology, Zhejiang University, Hangzhou 310027, China;
    5. Computer and Software College, Shenzhen University, Shenzhen 518060, China
  • Online:2012-01-13 Published:2010-01-03

摘要:

组合事务中任务间的协作通常以点对点的方式而不是中心控制,当系统崩溃时,事务流中的任务可能部分执行而其后续任务则未被调度执行。在这种情况下,选择合适的失败恢复验证策略是必要的。提出一种支持向前、向后和替代恢复策略的失败恢复验证方法。当失败发生时,借助组合事务的执行日志和可接受状态集,选择合适的恢复策略,验证带状态空间的事务恢复所产生的一组动作序列,是否包含一组良好行为。追踪执行进展,检测恢复后组合事务是否存在不一致状态。通过对旅行预订流程的实例分析,表明该失败恢复验证方法是可行的。

Abstract:

Since tasks collaborate progresses in a point-to-point way instead of the central control in composition transaction, some tasks of the transaction flow may be committed and their successors unscheduled when a composition transaction system carsh occurs. In this situation, selecting an appropriate verification strategy for failure recovery is critical. Then a failure recovery verification strategy for forward recovery, backward recovery and alternative recovery is proposed. When failure occurs, according to the execution log and acceptable state set of composition transaction, the appropriate recovery stategy is selected, which verifies whether action  sequences generated during execution of failure recovery with state space contains a set of good behaviors and whether consistency states after recovery can be checked by keeping track of the execution progress. Finally, the classical travel reservation process (TRP) is analyzed. The results show the feasibility of the proposed verification strategy.