您可以捐助,支持我们的公益事业。

1元 10元 50元





认证码:  验证码,看不清楚?请点击刷新验证码 必填



  求知 文章 文库 Lib 视频 iPerson 课程 认证 咨询 工具 讲座 Model Center   模型库  
会员   
   
AI 智能化软件测试方法与实践
5月23-24日 上海+在线
人工智能.机器学习TensorFlow
5月22-23日 北京
图数据库与知识图谱
5月22-23日 北京
     
   
 
 订阅
时间图与交互图比较
 
作者:Kim Hamilton, Russell Miles
 
 
  48  次浏览      27 次
2009-01-20
 
编辑推荐:
本文介绍了时间图和交互图的比较,希望对您的学习有所帮助。
本文来自于网络,火龙果软件Alice编辑,推荐。

Table 8-1. Comparing sequence and communication diagrams
表8-1. 时间图与交互图比较
Feature
特征
Sequence diagrams
时间图
Communication diagrams
交互图
The result
比较结果
Shows participants effectively

有效的显示参与者
Participants are mostly arranged along the top of page, unless the drop-box participant creation notation is used. It is easy to gather the participants involved in a particular interaction.

如果没有使用构建符号时,参与者被排列在图顶层。很容易知道所有有联系的参与者。
Participants as well as links are the focus, so they are shown clearly as rectangles.

参与者被连成链状,在小范围区域内既可清楚的知道参与者间的联系。
Communication diagrams barely win. Although both types of diagram can show participants as effectively as each other, it can be argued that communication diagrams have the edge since participants are one of their main focuses.

交互图有些许优势,虽然两者都能有效的显示参与者间的关系,但交互图是以参与者为中心的。
Showing the links between participants

显示参与者间的联系
Links are implied. If a message is passed from one participant to another, then it is implied that a link must exist between those participants.

联系很隐晦。如果在两个参与者间有消息传递,即暗指两个参与者间有联系。
Explicitly shows the links between participants. In fact, this is the primary purpose of these types of diagram.

很清楚的显示了参与者间的联系,事实上,交互图的目的就是为了描述这种联系。
Communication diagrams win because they explicitly and clearly show the links between participants.

交互图有优势,因为它可以清楚明白的显示参与者间的关系。
Showing message signatures

显示消息
Message signatures can be fully described.

消息能够被完整的描述。
Message signatures can be fully described.

消息能够被完整的描述。
Draw! Both types of diagram can show messages as effectively as each other.

尽管去画,两种图都是有效的。
Supports parallel messages

显示并行信息
With the introduction of sequence fragments, sequence diagrams are much better.

使用时间小片断可以很好的显示并行信息。
Shown using the number-letter notation on message sequences.

使用数字-字母符号可以显示并行信息
Draw! Both types of diagram show parallel messages equally well.

尽管去画,两种图都是有效的。
Supports asynchronous messages (fire and forget)

支持异步信息
Achieved using the asynchronous arrow.

使用异步箭头完成
Communication diagrams have no concept of the asynchronous message since its focus is not on message ordering.

交互图并不关心异步信息传递,在交互图中没有异步的概念。
Sequence diagrams are a clear winner here because they explicitly support asynchronous messages.

时间图有明显优势,非常好的支持了异步信息。
Easy to read message ordering

信息顺序表达
This is a sequence diagram's forté. Sequence diagrams clearly show message ordering using the vertical placement of messages down the diagram's page.

这是一个时间图的特点。 时间图明确显示采用垂直图形清楚的现实了信息的顺序。
Shown using the number-point-nested notation.

使用数字字母组合符号显示。
Sequence diagrams are a clear winner here since they really show off message ordering clearly and effectively.

时间图清楚明白的显示了消息的顺序。
Easy to create and maintain the diagram

容易建立和维护
Creating a sequence diagram is fairly simple. However, maintaining sequence diagrams can be a nightmare unless a helpful UML tool is being used.

建立时间图是容易的,但是没有好的UML工具的话,维护时间图将是个恶梦。
Communication diagrams are simple enough to create; however, maintenance, especially if message numbering needs to be changed, still ideally needs the support of a helpful UML tool.

交互图很容易建立,但如果涉及到信息编号的话还是需要借助于一个好用的UML工具。
This is a difficult one to judge and is largely based on personal preference. However, communication diagrams do have the edge on the ease-of-maintenance stakes.

根据个人喜好,两种图优势表现不同。

   
48 次浏览       27
 
相关工具

文档生成器(DocGenerator)
代码工程师 Code Engineer
模型检查器 Checker
WebEA
自动建模器(AutoModeler)
 
相关文章

ASPICE 4.0 过程指南
采用SysML对FPGA逻辑单元进行建模(对应到VHDL代码)
DoDAF建模图例(EA+UPDM)
EA集成第三方工具:Polarion、JIRA、AzureDevOps
UML建模指南(建模工具iSpace)
 
相关课程

ASPICE4.0核心开发过程指南
使用NML进行系统分析与建模
基于UML和EA进行系统分析设计
业务建模与业务分析
基于SysML和EA进行系统设计与建模

最新活动计划
人工智能.机器学习TensorFlow 5-22[北京]
AI智能化软件测试方法与实践 5-23[北京]
图数据库与知识图谱 5-22[北京]
DeepSeek大模型应用开发 6-12[厦门]
基于 UML 和EA进行分析设计 6-23[北京]
嵌入式软件架构-高级实践 7-9[北京]
 
 
最新文章
在EA中内嵌文档- Artifact
EA中模型视图
EA中的实体关系图
使用EA进行风险建模
EA中的项目词汇表
EA的模型导出或导入csv文件
自定义表格(Custom Table)EA中使用
Gap Analysis Matrix(差距分析矩阵)
更多...   
MBSE工具
MBSE平台
建模工具 EA
模型库-Model Center
需求管理-ReqManager
自动建模-Modeler
多级仿真-Sys Simulator
代码工程-Code Engineer
文档生成器-DocGenerator
更多...   
成功案例
广汽研究院 SysML+EA+软件分析设计
高合汽车研发部门 建模工具EA、WebEA、
国汽智联 建模工具EA、模型库、WebEA
亿咖通 MBSE工程体系与工具链咨询
中航无人机 MBSE工具链
吉利汽车 购买EA工具
华科汽车零部件 购买EA工具
东风岚图汽车 购买EA工具 以及EA定制开发
更多...