摘要
UML2.0序列图是一种描述对象之间动态协作和事件发展时间关系的视图,但是UML序列图缺乏精确的形式化语义,所以不利于对其所描述的系统进行形式化验证。为此,根据UML2.0语义文档及组合碎片包概念,基于通信序列进程(CSP)给出了UML序列图的基本元素和消息迹的形式化定义及生成规则,实现了UML序列图的形式化,为UML序列图在描述系统准确性和有效性方面提供了形式化的检验方法。最后通过ATM实例说明UML序列图这一过程的正确性。
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 soNe this probiem, 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.
出处
《计算机应用》
CSCD
北大核心
2010年第10期2727-2729,2734,共4页
journal of Computer Applications
基金
国家自然科学基金资助项目(90818008
60774095
60474072Z)
关键词
UML2.0序列图
形式语义
组合碎片包
通信序列进程
UML2. 0 sequence diagram
formal semantics
combined fragrnen( packet
Communicating Sequential Process (CSP)