A formal semantics of UML sequence diagram

被引:0
|
作者
Li, XS [1 ]
Liu, ZM [1 ]
He, JF [1 ]
机构
[1] Univ Macau, Fac Sci & Technol, Taipa, Peoples R China
关键词
semantics; UML; sequence diagram; consistency;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents a formal semantics of UML sequence diagram. In abstract syntax form, a well-formed sequence diagram corresponds to an ordered hierarchical structure tree. The static semantics of a sequence diagram is to check whether it is consistent with the class diagram declaration as well as with its well-formed tree structure. Meanwhile, the dynamic semantics is defined in terms of the state transitions that are carried out by the method invocations in the diagram. When a message is executed, it must be consistent with system state, i.e., object diagram and the state diagrams of its related objects. The semantics clearly captures the consistency between sequence diagram with class diagram and state diagram. Therefore, it is useful to develop the model consistent checking functions in UML CASE tools. And it also can be used to reason about the correctness of a design model with respect to a requirement model.This paper presents a formal semantics of UML sequence diagram. In abstract syntax form, a well-formed sequence diagram corresponds to an ordered hierarchical structure tree. The static semantics of a sequence diagram is to check whether it is consistent with the class diagram declaration as well as with its well-formed tree structure. Meanwhile, the dynamic semantics is defined in terms of the state transitions that are carried out by the method invocations in the diagram. When a message is executed, it must be consistent with system state, i.e., object diagram and the state diagrams of its related objects. The semantics clearly captures the consistency between sequence diagram with class diagram and state diagram. Therefore, it is useful to develop the model consistent checking functions in UML CASE tools. And it also can be used to reason about the correctness of a design model with respect to a requirement model.
引用
收藏
页码:168 / 177
页数:10
相关论文
共 50 条
  • [1] The Formal Semantics of an UML Activity Diagram
    梁义芝
    王延章
    刘云飞
    [J]. Advances in Manufacturing, 2004, (03) : 322 - 327
  • [2] Formal semantics and reasoning about UML class diagram
    Szlenk, Marcin
    [J]. DEPCOS-RELCOMEX 2006, 2006, : 51 - 58
  • [3] Formal verification of UML 2.0 Sequence diagram
    Park, Sachoun
    Han, Taeman
    Kwon, Gihwon
    [J]. 22ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING & KNOWLEDGE ENGINEERING (SEKE 2010), 2010, : 411 - 416
  • [4] Formal Sequence: Extending UML Sequence Diagram for Behavior Description and Formal Verification
    Han, Deshuai
    Xing, Jianchun
    Yang, Qiliang
    Wang, Hongda
    Zhang, Xuewei
    [J]. PROCEEDINGS 2016 IEEE 40TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE WORKSHOPS (COMPSAC), VOL 2, 2016, : 474 - 481
  • [5] Formal definition and characteristic analysis of UML sequence diagram
    Li, Xiaoli
    Long, Xiang
    Bao, Xiaolu
    Li, Hu
    [J]. Beijing Hangkong Hangtian Daxue Xuebao/Journal of Beijing University of Aeronautics and Astronautics, 2010, 36 (03): : 350 - 352
  • [6] Formal Semantics of Executable Node and Activity Group of UML 2.5 Activity Diagram
    Jamal, Maryam
    Zafar, Nazir Ahmad
    [J]. 2017 INTERNATIONAL CONFERENCE ON COMMUNICATION TECHNOLOGIES (COMTECH), 2017, : 174 - 179
  • [7] Formal semantics of UML state diagram and automatic verification Based on Kripke structure
    Zhao, Yefei
    Yang Zong-yuan
    Xie, Jinkui
    [J]. 2009 IEEE 22ND CANADIAN CONFERENCE ON ELECTRICAL AND COMPUTER ENGINEERING, VOLS 1 AND 2, 2009, : 90 - 94
  • [8] Formal semantics of UML 2.0
    School of Computer Science and Technology, Soochow University, Suzhou 215006, China
    不详
    不详
    [J]. Nanjing Youdian Daxue Xuebao (Ziran Kexue Ban), 2007, 3 (39-43):
  • [9] A Formal Descriptive Semantics of UML
    Shan, Lijun
    Zhu, Hong
    [J]. FORMAL METHODS AND SOFTWARE ENGINEERING, PROCEEDINGS, 2008, 5256 : 375 - +
  • [10] A formal semantics for UML interactions
    Knapp, A
    [J]. UML'99 - THE UNIFIED MODELING LANGUAGE: BEYOND THE STANDARD, 1999, 1723 : 116 - 130