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

UML模型检测方法的研究
引用本文:张频,罗贵明.UML模型检测方法的研究[J].计算机应用,2007,27(10):2493-2497.
作者姓名:张频  罗贵明
作者单位:清华大学,软件学院,北京,100084
基金项目:国家重点基础研究发展计划(973计划) , 国家自然科学基金 , 清华大学校科研和教改项目
摘    要:统一建模语言(UML)是设计和分析软件系统最常用的方法,如何保证UML模型满足某些特性是一个非常重要的问题,而模型检测是一种能够有效提高系统可靠性的自动化技术。研究了使用简单进程元语言解释器(SPIN)对UML模型进行检测的方法。首先对UML模型进行形式化描述,使用层次自动机来描述状态图,然后根据层次自动机的操作语义将状态图和类图的部分信息转化为SPIN的输入语言PROMELA,使用SPIN来验证模型是否满足给定的线性时序逻辑所描述的系统约束,通过LTL公式描述顺序图的方式来验证与状态图之间的一致性问题。项目组基于此方法还开发了一套模型检测工具UMLChecker。

关 键 词:模型检测  统一建模语言  层次自动机  简单进程元语言解释器  PROMELA
文章编号:1001-9081(2007)10-2493-05
收稿时间:2007-04-10
修稿时间:2007年4月10日

Research of model checking UML
ZHANG Pin,LUO Gui-ming.Research of model checking UML[J].journal of Computer Applications,2007,27(10):2493-2497.
Authors:ZHANG Pin  LUO Gui-ming
Abstract:Unified Modeling Language (UML) is the most commonly used method in software system design and analysis, and how to verify that the UML model satisfies some properties is a very important issue. Model Checking is an efficient automatic technique for the improvement of system's reliability, and this paper is a research into how to check UML model through the Simple PROMELA Interpreter (SPIN) model-checker. After describing the UML model using formal method, we first used hierarchical automata to express statecharts diagram. In addition, we translated the statecharts and part of the class diagram into PROMELA based on the operational semantic of hierarchical automata, and verified the model by using Simple Promela Interpreter (SPIN) to test if it satisfied the LTL properties. We also verified the consistency between sequence diagram and statecharts diagram by using LTL formula to express sequence diagram. Finally, based on the method, we developed a model checker tool called UMLChecker.
Keywords:model checking  Unified Modeling Language (UML)  hierarchical automata  Simple PROMELA Interpreter (SPIN)  PROMELA
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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