计算机应用 ›› 2010, Vol. 30 ›› Issue (10): 2727-2729.

• 软件过程技术与先进计算 • 上一篇    下一篇

基于通信序列进程的UML序列图形式化方法

邓建波1,张立臣2,邓惠敏1,徐碧红3   

  1. 1. 广东工业大学
    2. 广东工业大学计算机学院
    3. 吉首大学
  • 收稿日期:2010-04-16 修回日期:2010-06-19 发布日期:2010-09-21 出版日期:2010-10-01
  • 通讯作者: 邓建波
  • 基金资助:
    国家自然科学基金资助项目;国家自然科学基金资助项目;国家自然科学基金资助项目

Formal method for UML sequence diagrams based on communication sequential processes

  • Received:2010-04-16 Revised:2010-06-19 Online:2010-09-21 Published:2010-10-01

摘要: UML2.0序列图是一种描述对象之间动态协作和事件发展时间关系的视图,但是UML序列图缺乏精确的形式化语义,所以不利于对其所描述的系统进行形式化验证。为此,根据UML2.0语义文档及组合碎片包概念,基于通信序列进程(CSP)给出了UML序列图的基本元素和消息迹的形式化定义及生成规则,实现了UML序列图的形式化,为UML序列图在描述系统准确性和有效性方面提供了形式化的检验方法。最后通过ATM实例说明UML序列图这一过程的正确性。

关键词: UML2.0序列图, 形式语义, 组合碎片包, 通信序列进程

Abstract: UML2.0 sequence diagram describes the dynamic collaboration and expresses the relation among the time of events. However, the lack of precise formal semantics is not conducive for the systems to be described in formal verification. To solve this problem, according to UML 2.0 semantic document and combination of fragment packets, the basic elements of UML sequence diagram, message trace definition and generation rules were given based on Communication Sequence Process (CSP). The accuracy and validity of formal method for UML sequence diagrams describing the system was provided. Finally an ATM example proves the validity of this process.

Key words: UML2.0 sequence diagram, formal semantics, combined fragment packet, Communicating Sequential Process (CSP)

中图分类号: