计算机科学 ›› 2009, Vol. 36 ›› Issue (7): 113-116.doi: 10.11896/j.issn.1002-137X.2009.07.026

• 软件工程与数据库技术 • 上一篇    下一篇

UML模型到FSM模型的转换

郭亮,缪淮扣,王皙,陈圣波   

  1. (上海大学计算机工程与科学学院 上海200072);(上海市计算机软件评测重点实验室 上海210112)
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受国家自然科学基金项目(60673115),国家863计划项目(2007AA016144),国家973项目(2007CB310800),上海市教委科研项目(07ZZ06),上海市重点学科建设项目(J50103)资助。

Transformation from UML Model to FSM Model

GUO Liang,MIAO Huai-kou,WANG Xi,CHEN Sheng-bo   

  • Online:2018-11-16 Published:2018-11-16

摘要: 通常可采用UML的各种图从Web应用不同方面对其进行建模。当对Web应用模型进行测试和验证时,需要分别考虑这些采用了不同图形描述的模型,这就带来了测试和验证的繁琐。如果将UML各种图转换到有限状态机(FSM)模型,则可以统一用FSM模型来表示、验证和测试。提出了基于状态迁移特性保持规则的UML到FSM的模型转换方法,特别针对UML状态图中的3种基本组成单元到FSM模型的转换,给出了各自的转换方法,并实现了原型工具UML2FSM.

关键词: 状态图,模型转换规则,有限状态机,UML

Abstract: Various UML diagrams can be used for modeling different aspects of a Web application. It would be complex when testing and verifying the models of the Web application, since models described by different diagrams have to be considered separately. By transforming each UML diagram into FSM model,we can apply a uniformed method for representing, verifying and testing to all the UML models of the Web application. This paper proposed a method for transformation from UML model to FSM model based on statctransition property preservation rule. As we focused on the transformation from UML state diagrams to FSM models,a mechanism for transformation from three basic units of the state diagram to corresponding FSM models was presented. Finally, a prototype tool named UML2FSM was presented.

Key words: Model transformation, Property preservation, FSM, UML

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!