正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
通信图 通信图元素介绍如下表所示: 表1 通信图元素介绍 元素名 图标 含义 Actor 角色,是与系统交互的人或事物。 Object 封装了状态和行为的具有良好定义界面和身份的离散实体;即对象实例。 Boundary Object 边界对象。 Control Object 控制对象。
功能、模块之间的接口。 Service 服务,是指具备明确的业务特征,由一个或多个关联紧密的微服务组成,可直接面向客户/用户进行打包、发布、部署、运维的软件单元。用户从业务特征安装部署、监控运维的角度感知到服务的存在。规模上介与Subsystem与FM之间的逻辑架构模型元素。Se
对象图 对象图元素介绍如下表所示: 表1 对象图元素介绍 元素名 图标 含义 Actor 角色,是与系统交互的人或事物。 Object 封装了状态和行为的具有良好定义界面和身份的离散实体;即对象实例。 Collaboration 是对对象和链总体安排的一个描述,这些对象和链在上下
它组织和调度在边界(boundary)和实体(entities)间的交互,并作为两者之间的中介者。 Actor Lifeline 使用者生命线,使用者是系统的一个用户,意味着人类的用户,一台机器,或甚至另一个系统。 fragment 组合片段,一组合片段反映了一片段或者多个片段的交互(称为交互操作数)由交互运算符
用例图 用例图用于编写测试用例,将角色与用例联系起来。 表1 用例图元素介绍 元素名 图标 含义 Use Case 用例,代表的是一个完整的功能。 Test Case 测试用例,是原型的用例元素。通过将元素属性和功能应用于由另一个元素或更确切地说是元素集表示的功能的测试,您可以使用它来扩展“测试”窗口的功能。
组件图 组件图显示了复杂软件系统中的各个组件如何相互关联以及如何使用接口进行通信。它们不用于更简单或更直接的系统,元素介绍如下表所示: 表1 组件图元素介绍 元素名 图标 含义 Class 是对象的集合,展示了对象的结构以及与系统的交互行为。 Interface 接口,可以是单个接口,也可以是抽象的一组接口的组合。
架构检查 通用检查规则 4+1视图规范一致性检查错误修复指导 父主题: 4+1视图建模
状态机图 状态机图元素介绍如下表所示: 表1 状态机图元素介绍 元素名 图标 含义 State 对象的生命中的满足一定条件,执行一定操作,或者等待某事件的条件或者情况。 StateMachine 状态机是展示状态与状态转换的图。通常一个状态机依附于一个类,并且描述一个类的实例对接受到的事件所发生的反应。
逻辑视图 概述 逻辑模型 数据模型 领域模型 功能模型 技术模型 父主题: 4+1视图建模
部署视图 概述 交付模型 部署模型 父主题: 4+1视图建模
用例视图 概述 上下文模型 用例模型 父主题: 4+1视图建模
架构信息 架构信息树 架构检查方案 架构检查历史 父主题: 4+1视图建模
Property 特性就是表示传递有关模型元素信息的值的一般性术语。属性具有语义效果,在 UML中一部分属性已经事先定义好了,其他的特性是用户定义的。 Port 端口定义了分类器与其环境之间的交互。 Collaboration 协作定义了一组协作角色及其连接器。 CollaborationUse
当前模型工程中的所有模型图类型为运行模型图上的逻辑元素,逻辑元素的定义参考逻辑模型检查章节。 如何检查 查询所有运行模型图中的元素,找出在运行模型图中创建生成出来的逻辑元素。 正确示例 引用自逻辑模型的中定义的逻辑元素。 错误示例 检测结果: 父主题: 架构视图模型检查规则
运行视图 概述 运行模型 运行模型(顺序图) 运行模型(活动图) 父主题: 4+1视图建模
开发视图 概述 代码模型 构建模型 父主题: 4+1视图建模
绘制消息线 根据建模规范限制,建模的连线不能独立存在于图中,两端必须是连接在元素上的,因此不允许消息线直接拖拽至画布上。且绘制顺序图时,必须保证图的类型为顺序图,否则可能导致无法绘制对应消息线。具体请参见如何查看和修改模型图类型。 消息线介绍 顺序图用消息线描绘元素之间的工作流或
概述 4+1视图是一组相关联模型的集合,从不同的视角,反映不同利益干系人的关注点。通过逻辑、开发、部署、运行4个典型视角描述系统的各个切面,以用例串接和验证各切面设计。 在架构设计说明书模板中的4+1架构视图模型结构如下图所示: 图1 4+1架构视图模型结构图 表1 视图类型与描述
创建顺序图 绘制顺序图时,必须保证图的类型为顺序图,否则可能导致无法绘制对应消息线。 已创建的模型图修改图类型具体请参考如何查看和修改模型图类型。 单击新增图。 弹出新建图弹窗选择“UML>顺序图”,填写顺序图基本信息。 父主题: 顺序图
通用检查规则 架构基础信息检查 架构视图模型检查规则 父主题: 架构检查