当前位置:网站首页>UML sequence diagram (sequence diagram)
UML sequence diagram (sequence diagram)
2022-07-07 14:09:00 【sinat_ thirty-six million seven hundred and eighty-nine thousan】
Sequence diagram (Sequence Diagram): Is an interaction diagram that emphasizes the order of message passing between objects , Also known as sequence diagram or sequence diagram . Describes how objects interact with each other through messages during the execution of a use case or operation , Explains how messages are sent and received between objects and the order in which they are sent .

form :

1、 Lifeline : Indicates when an object exists
2、 news : Messages are generally divided into synchronous messages (Synchronous Message), Asynchronous messaging (Asynchronous Message) And return messages (Return Message). As shown in the figure below :

a. Sync message
The sender of the message passes process control to the receiver of the message , Then pause the activity , Wait for the response message from the message recipient .
b. Asynchronous messaging (Asynchronous Message)
After the sender of the message sends the message to the receiver of the message , Don't wait for a response , You can start another activity .
c. Return message (Return Message)
The return message indicates that... Is returned from the procedure call
d. Self related messages
Represents the call of a method itself and the call of another method by a method in an object

Add :
1、 Interactive clips (Interaction Fragment): A complex sequence diagram can be divided into several small blocks , Each small piece is called an interaction fragment , Surrounded by a large box .

2、 Common operators include :
1) alt: Multiple paths , When the condition is true .
2) opt: Optional , Only if the condition is true .
3) par: parallel , Each fragment is executed concurrently .
4) loop: loop , Fragments can be executed many times .
边栏推荐
- CSMA/CD 载波监听多点接入/碰撞检测协议
- Navicat run SQL file import data incomplete or import failed
- 566. Reshaping the matrix
- 数据库系统概论-第一章绪论【概念模型、层次模型和三级模式(外模式、模式、内模式)】
- 常用数字信号编码之反向不归零码码、曼彻斯特编码、差分曼彻斯特编码
- 2022-7-7 Leetcode 34.在排序数组中查找元素的第一个和最后一个位置
- [AI practice] Application xgboost Xgbregressor builds air quality prediction model (II)
- IP and long integer interchange
- Excellent open source system recommendation of ThinkPHP framework
- 【日常训练--腾讯精选50】231. 2 的幂
猜你喜欢

VSCode 配置使用 PyLint 语法检查器

Co create a collaborative ecosystem of software and hardware: the "Joint submission" of graphcore IPU and Baidu PaddlePaddle appeared in mlperf

Flask session forged hctf admin

Xshell connection server changes key login to password login

2022-7-7 Leetcode 34. Find the first and last positions of elements in a sorted array
![[fortress machine] what is the difference between cloud fortress machine and ordinary fortress machine?](/img/fb/17e029b1d955965d7e2e0f58701d91.png)
[fortress machine] what is the difference between cloud fortress machine and ordinary fortress machine?

交付效率提升52倍,运营效率提升10倍,看《金融云原生技术实践案例汇编》(附下载)

Build a secure and trusted computing platform based on Kunpeng's native security

为租客提供帮助

2022-7-6 sigurg is used to receive external data. I don't know why it can't be printed out
随机推荐
Supply chain supply and demand estimation - [time series]
【日常训练--腾讯精选50】231. 2 的幂
118. 杨辉三角
Selenium库
566. 重塑矩阵
Is the compass stock software reliable? Is it safe to trade stocks?
请问,我kafka 3个分区,flinksql 任务中 写了 join操作,,我怎么单独给join
SAKT方法部分介绍
Help tenants
How does MySQL control the number of replace?
c#通过frame 和 page 切换页面
SSRF vulnerability file pseudo protocol [netding Cup 2018] fakebook1
Interface automation test - solution of data dependency between interfaces
Toraw and markraw
Learning breakout 2 - about effective learning methods
ES日志报错赏析-Limit of total fields
为租客提供帮助
Laravel form builder uses
AutoCAD - how to input angle dimensions and CAD diameter symbols greater than 180 degrees?
MySQL "invalid use of null value" solution