计算机工程与应用 ›› 2009, Vol. 45 ›› Issue (24): 56-59.DOI: 10.3778/j.issn.1002-8331.2009.24.018

• 研究、探讨 • 上一篇    下一篇

定义及验证UML Statechart图中的数据流语义

陆公正1,吴澜波2,张广泉3   

  1. 1.苏州市职业大学 计算机工程系,江苏 苏州 215104
    2.苏州卫生职业技术学院 检验药学系,江苏 苏州 215009
    3.苏州大学 计算机科学与技术学院,江苏 苏州 215006
  • 收稿日期:2008-05-08 修回日期:2008-08-31 出版日期:2009-08-21 发布日期:2009-08-21
  • 通讯作者: 陆公正

Definition and verification of semantics of data flow in UML Statecharts

LU Gong-zheng1,WU Lan-bo2,ZHANG Guang-quan3   

  1. 1.Department of Computer Engineering,Suzhou Vocational University,Suzhou,Jiangsu 215104,China
    2.Department of LAB TEC and Pharmacy,Suzhou Health College,Suzhou,Jiangsu 215009,China
    3.School of Computer Science and Technology,Soochow University,Suzhou,Jiangsu 215006,China
  • Received:2008-05-08 Revised:2008-08-31 Online:2009-08-21 Published:2009-08-21
  • Contact: LU Gong-zheng

摘要: 在传统的UML Statechart图中加入了数据流对象后,因为UML Statechart图缺乏精确的数据流语义,所以不适合应用UML Statechart图对工作流中的数据流进行建模并验证其正确性。为了解决这一问题,选择标记转换系统(LTS)作为语义域,并用结构化操作语义(SOS)分两步定义了UML Statechart图的数据流语义,为工作流中的数据流正确性验证奠定了基础。在此基础上,使用时序逻辑公式表示数据流所需满足的性质,在验证数据流的正确性之前,给出了将它的UML Statechart图模型转化为可达状态迁移图的算法,最后通过模型检测算法验证数据流的正确性。

关键词: 统一建模语言(UML), UML Statechart图, 数据流语义, 时序逻辑, 验证, 模型检测

Abstract: After being integrated with data flow objects,traditional UML Statecharts are not suited for modeling and the verification of the data flow in the workflows due to the lack of the exact semantics of the data flow.To solve the problem,LTS is selected as the semantic field,and the semantics of data flow are defined with SOS in two steps so as to lay the foundation for the verification of the data flow of the workflow.Based on this,temporal logic formula is used to express the properties that the data flow must satisfy,before the verification,an algorithm transforming the UML Statecharts model into reachable state transition graph is given,finally the correctness of the data flow is verified by model checking technique.

Key words: Unified Modeling Language(UML), UML Statecharts, semantics of data flow, temporal logic, verification, model checking

中图分类号: