J4

• 计算机科学 • 上一篇    下一篇

基于消息语义的UML2.0顺序图控制流分析

王洪媛1, 王 琳2, 张家晨1, 金淳兆1   

  1. 1. 吉林大学 计算机科学与技术学院, 长春 130012; 2. 吉林大学 软件学院, 长春 130012
  • 收稿日期:2006-09-17 修回日期:1900-01-01 出版日期:2007-07-26 发布日期:2007-07-26
  • 通讯作者: 张家晨

Control Flow Analysis of UML2.0 Sequence DiagramBased on Message Semantic

WANG Hongyuan1, WANG Lin2, ZHANG Jiachen1, JIN Chunzhao1   

  1. 1. College of Computer Science and Technology, Jilin University, Changchun 130012, China;2. College of Software, Jilin University, Changchun 130012, China
  • Received:2006-09-17 Revised:1900-01-01 Online:2007-07-26 Published:2007-07-26
  • Contact: ZHANG Jiachen

摘要: 基于消息语义提出一种分析UML2.0顺序图控制流的方法, 分析了UML2.0顺序图消息发送和接收动作之间的关系, 并将其映射到相应的消息上, 得到消息的相继顺序关系. 根据消息的顺序关系设计了由顺序图到活动图的一致性映射规则, 并得到基于消息语义的并发控制流图(MSCCFG), 从而获取顺序图的控制流信息.

关键词: UML2.0顺序图, 活动图, 控制流分析, 并发控制流, 消息, 动作

Abstract: An approach was presented to derive the concurrency control flow of UML 2.0 sequence diagram (SD). Based on the message semantic, the relationship between sent and received actions of SD messages was defined. It was mapped into the corresponding messages to get the successive messages sequence relationship. The consistent mapping rules between SD and activity diagram (AD) were presented based on the successive messages sequence relationship. The AD was referred to as Message Semantic Concurrent Control Flow Graph (MSCCFG), from which the control flow information of SD was got.

Key words: UML2.0 sequence diagram, activity diagram, control flow analysis, concurrent control flow, message, action

中图分类号: 

  • TP311