当前位置:网站首页>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 .
边栏推荐
- Flink | multi stream conversion
- 供应链供需预估-[时间序列]
- Wired network IP address of VMware shared host
- Leecode3. Longest substring without repeated characters
- 请问,redis没有消费消息,都在redis里堆着是怎么回事?用的是cerely 。
- 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)
- What are the principles for distinguishing the security objectives and implementation methods that cloud computing security expansion requires to focus on?
- 2022-7-6 Leetcode27. Remove the element - I haven't done the problem for a long time. It's such an embarrassing day for double pointers
- Best practice | using Tencent cloud AI willingness to audit as the escort of telephone compliance
- [network security] SQL injection syntax summary
猜你喜欢
作战图鉴:12大场景详述容器安全建设要求
XML文件的解析操作
带你掌握三层架构(建议收藏)
"New red flag Cup" desktop application creativity competition 2022
Social responsibility · value co creation, Zhongguancun network security and Information Industry Alliance dialogue, wechat entrepreneur Haitai Fangyuan, chairman Mr. Jiang Haizhou
最长上升子序列模型 AcWing 1012. 友好城市
TPG x AIDU | AI leading talent recruitment plan in progress!
Wired network IP address of VMware shared host
2022-7-6 使用SIGURG来接受外带数据,不知道为什么打印不出来
js 获取当前时间 年月日,uniapp定位 小程序打开地图选择地点
随机推荐
现在网上开户安全么?那么网上开户选哪个证券公司?
2022-7-6 Leetcode 977. Square of ordered array
搜索框效果的实现【每日一题】
"New red flag Cup" desktop application creativity competition 2022
内存溢出和内存泄漏的区别
Hands on Teaching: XML modeling
FCOS3D label assignment
mysql ”Invalid use of null value“ 解决方法
c#通过frame 和 page 切换页面
js 获取当前时间 年月日,uniapp定位 小程序打开地图选择地点
属性关键字Aliases,Calculated,Cardinality,ClientName
社会责任·价值共创,中关村网络安全与信息化产业联盟对话网信企业家海泰方圆董事长姜海舟先生
Leetcode simple question sharing (20)
wpf dataGrid 实现单行某个数据变化 ui 界面随之响应
Parsing of XML files
Is the spare money in your hand better to fry stocks or buy financial products?
Realization of search box effect [daily question]
[daily training -- Tencent select 50] 231 Power of 2
Interface automation test - solution of data dependency between interfaces
2022-7-6 使用SIGURG来接受外带数据,不知道为什么打印不出来