当前位置:网站首页>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 .
边栏推荐
- 3D detection: fast visualization of 3D box and point cloud
- Evolution of customer service hotline of dewu
- ndk初学习(一)
- Lavarel之环境配置 .env
- [network security] SQL injection syntax summary
- PostgreSQL array type, each splice
- 2022-7-7 Leetcode 34. Find the first and last positions of elements in a sorted array
- Leecode3. Longest substring without repeated characters
- Mathématiques avancées - - chapitre 8 différenciation des fonctions multivariables 1
- Selenium库
猜你喜欢
LeetCode简单题分享(20)
交付效率提升52倍,运营效率提升10倍,看《金融云原生技术实践案例汇编》(附下载)
为租客提供帮助
Take you to master the three-tier architecture (recommended Collection)
Sliding rail stepping motor commissioning (national ocean vehicle competition) (STM32 master control)
2022-7-6 Leetcode27.移除元素——太久没有做题了,为双指针如此狼狈的一天
Vmware共享主机的有线网络IP地址
566. 重塑矩阵
高等數學---第八章多元函數微分學1
The delivery efficiency is increased by 52 times, and the operation efficiency is increased by 10 times. See the compilation of practical cases of financial cloud native technology (with download)
随机推荐
FCOS3D label assignment
AI人才培育新思路,这场直播有你关心的
Interface automation test - solution of data dependency between interfaces
The delivery efficiency is increased by 52 times, and the operation efficiency is increased by 10 times. See the compilation of practical cases of financial cloud native technology (with download)
118. 杨辉三角
Deep understanding of array related problems in C language
Dry goods | summarize the linkage use of those vulnerability tools
【AI实战】应用xgboost.XGBRegressor搭建空气质量预测模型(二)
js 获取当前时间 年月日,uniapp定位 小程序打开地图选择地点
请问指南针股票软件可靠吗?交易股票安全吗?
Regular expression integer positive integer some basic expressions
VSCode 配置使用 PyLint 语法检查器
Realize the IP address home display function and number home query
Is the compass stock software reliable? Is it safe to trade stocks?
请问,如图,pyhon云函数提示使用了 pymysql模块,这个是怎么回事?
2022-7-6 初学redis(一)在 Linux 下下载安装并运行 redis
Move base parameter analysis and experience summary
[daily training -- Tencent select 50] 231 Power of 2
2022-7-7 Leetcode 34.在排序数组中查找元素的第一个和最后一个位置
Help tenants