• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2014, Vol. 36 ›› Issue (01): 163-168.

• 论文 • 上一篇    下一篇

基于增强条件公式的主动规则集可终止性判定

熊中敏,赵梦露,黄冬梅   

  1. (上海海洋大学信息学院,上海 201306)
  • 收稿日期:2013-06-28 修回日期:2012-11-12 出版日期:2014-01-25 发布日期:2014-01-25
  • 基金资助:

    上海市科委研究基金资助项目(10510502800);国家973重大基础研究基金资助项目(2012CB316200)

Active rules termination determination
based on enhanced conditional formula         

XIONG Zhongmin,ZHAO Menglu,HUANG Dongmei   

  1. (College of Information Technology,Shanghai Ocean University,Shanghai 201306,China)
  • Received:2013-06-28 Revised:2012-11-12 Online:2014-01-25 Published:2014-01-25

摘要:

主动规则集的可终止性判定是一个研究热点问题,现有的基于触发图和活化图的方法没有考虑触发环所有所属规则能否在同一次执行中执行;现有的条件公式判定方法只能包含不可更新或有限次更新变量,当主动规则集只包含可有限次循环执行的触发环时,现有方法不能准确判定它是可终止的。为此,提出了触发环的执行序列的概念和建立包含可更新变量的增强条件公式的方法,新的判定方法将触发环和执行语义有机地结合在一起,较现有方法可以发现更多的可终止性情形,同时给出了新算法的可终止性和正确性证明。

关键词: 主动数据库, 规则分析, 活化路径, 增强条件公式, 可终止性

Abstract:

Termination decision in active database becomes a focus for many researchers. Existing methods based on triggering and activation graphs do not consider whether all rules in a triggering cycle can be executed at the same execution sequence. Existing methods based on logical formula, where only those nonupdatable or finitely updatable variables can be represented, cannot conclude termination if a rule set contains only those cycles that can be executed in a finite number of times. To solve this problem, the concept of the execution sequence of a triggering cycle and the method to construct an enhanced formula including updatable variables are proposed. Many termination cases that cannot be determined by previous methods can be detected by the proposed solution, whose correctness and termination are proved.
      

Key words: active database;rule analysis;activation path;enhanced conditional formula;termination