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

UML的形式化描述语义

  • 单黎君 ,
  • 朱鸿
展开
  • (国防科学技术大学计算机学院,湖南 长沙 410073)
单黎君(1979),女,河南开封人,博士生,研究方向为软件建模语言和软件测试;朱鸿,博士,教授,研究方向为软件工程。

收稿日期: 2008-11-06

  修回日期: 2009-02-10

  网络出版日期: 2010-03-10

A Formal Descriptive Semantics of UML

  • CHAN Li-Jun ,
  • SHU Hong
Expand
  • (School of Computer Science,National University of Defence Technology,Changsha 410073,China)

Received date: 2008-11-06

  Revised date: 2009-02-10

  Online published: 2010-03-10

摘要

本文提出了一种新的定义UML形式化语义的方法。我们将建模语言的语义区分为描述语义和功能语义两个方面。描述语义定义哪些系统满足模型,功能语义定义模型中的基本概念。本文用一阶逻辑定义了UML的类图、交互图和状态图的描述语义,并介绍我们实现的将UML模型转换成逻辑系统的软件工具LAMBDES,该工具集成了定理证明器SPASS,可以对模型进行自动推理。我们成功地将此方法和工具应用于模型的一致性检查。

本文引用格式

单黎君 , 朱鸿 . UML的形式化描述语义[J]. 计算机工程与科学, 2010 , 32(3) : 96 -103 . DOI: 10.3969/j.issn.1007130X.2010.

Abstract

This paper proposes a novel approach to the formal definition of the UML semantics. We distinguish the descriptive semantics from the functional semantics of modelling languages. The former defines which system is an instance of a model while the later defines the basic concepts underlying the models. In this paper, the descriptive semantics of class diagrams, interaction diagrams and state machine diagrams are defined by first order logic formulas. A translation tool is implemented and integrated with the theorem prover SPASS to enable automated reasoning about models. The formalisation and reasoning of models is then applied to model consistency checking.
文章导航

/