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

基于规则的UML设计模型的一致性检验
引用本文:刘晓建,李战怀. 基于规则的UML设计模型的一致性检验[J]. 计算机工程与应用, 2006, 42(25): 1-5
作者姓名:刘晓建  李战怀
作者单位:西北工业大学计算机学院,西安,710072;西北工业大学计算机学院,西安,710072
摘    要:统一建模语言(UML)是业界公认的主流面向对象建模语言,为系统开发提供了丰富的建模元素。由于UML不同建模元素之间缺乏准确定义的关系,因此UML模型往往会出现不一致性问题。针对该问题,提出了一种基于规则的检验方法。该方法把UML设计模型和一致性条件分别映射为规则系统的事实库和规则库,如果事实库与规则库不匹配,则表示设计模型中存在不一致性。我们使用自主开发的一种“面向对象-规则语言系统”作为检验一致性的规则系统,它集成了面向对象语言和规则语言两种范型,有利于统一使用C++语言来设计并实现一致性检验工具,提高一致性检验效率。

关 键 词:UML  模型一致性  规则系统
文章编号:1002-8331-(2006)25-0001-05
收稿时间:2006-07-01
修稿时间:2006-07-01

Rule-based Consistency Checking for UML Models
LIU Xiao-jian,LI Zhan-huai. Rule-based Consistency Checking for UML Models[J]. Computer Engineering and Applications, 2006, 42(25): 1-5
Authors:LIU Xiao-jian  LI Zhan-huai
Abstract:UML(Unifying Modeling Language) is the well-known object-oriented modeling language,which provides anumber of visual notations for the system development.As there is no precisely defined relationship between these modeling elements,the consistency problem is often caused for UML models.This paper proposes a rule-based approach to checking the consistency problem.We map UML models and consistency conditions to the fact library and the rule library of the rule-based system respectively.If the facts do not match the rules,we can determine there must exist inconsistencies in the UML models.We use a hybrid rule-based system as the rule engine to check the consistency,which combines the object-oriented and the rule-based paradigms.The advantages of this system allow us to design and implement a checking tool by using C language,and to improve the performance of the consistency checking.
Keywords:UML
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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