作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (8): 23-25,31.

• 博士论文 • 上一篇    下一篇

基于重写逻辑的 UML 模型一致性检查方法

尹剑飞,郭荷清,欧毓毅   

  1. 华南理工大学计算机科学与工程学院,广州 510641
  • 出版日期:2006-04-20 发布日期:2006-04-20

Method of Checking Consistency of a UML Model Based on Rewriting Logic

YIN Jianfei, GUO Heqing, OU Yuyi   

  1. College of Computer Science and Engineering, South China University of Technology, Guangzhou 510641
  • Online:2006-04-20 Published:2006-04-20

摘要: 在模型驱动开发的场景下,保证UML 模型的一致性具有重要意义,但目前大多数UML/MDA 工具仅提供了有限支持。该文提出了一种基于代数重写逻辑的UML 模型一致性检查的方法。首先定义了基于两级代数规范的实施构架以分别检查UML 模型的设计时和运行时语义一致性,其次定义了检查包括类图、状态机图和顺序图在内的多图一致性的重写规则。该方法为保持面向可执行的UML 模型的一致性提供了有效支持。

关键词: 模型检查;重写逻辑;代数规范;UML

Abstract: Keeping the consistency of a UML model is very important under the model-driven development scene. Currently only limited support is provided by most UML or MDA tools. This paper proposes a method of checking the consistency of a UML model based on the algebraic rewriting logic. First, an implementation architecture based on two-level algebraic specifications is defined to check a UML model's semantic consistency of design-time and run-time, then rewrite rules are defined to check the consistency of multi-diagrams which include class diagrams,state machine diagrams and sequence diagrams, etc. The method can provide an effective support for keeping the consistency of executable-oriented UML models.

Key words: Model checking; Rewriting logic; Algebraic specification; UML