正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
开发视图面向系统开发及软件管理,描述系统代码结构,构建结构的视图,主要解决系统技术实现和开发的问题,它依托逻辑视图,描述代码、构建结构。 模型类别 描述 代码模型(必选) 代码模型定义代码结构以及代码元素逻辑模型中逻辑元素的对应关系,建立逻辑元素到代码仓或者代码目录的映射关系,以实现软件源代码的显示管理。
应用场景 多种模型设计 应用:软件设计开发。 场景特点:软件设计和开发过程会有不同的角色参与其中,统一设计建模语言减少沟通成本。 适用场景:支持4+1视图和UML模型在线设计,为用户提供可视化建模语言。 模型协同设计 应用:项目协同设计。 场景特点:工程庞大、周期短的情况,需要投入多人同时开发建模。
组件,可独立加载、部署和运行的二进制代码,采用轻量级通讯机制、松耦合高内聚的软件架构构建单元,部署时不能跨节点类型部署(计算机百科全书:组件是软件系统中具有相对独立功能、接口由契约指定、和语境有明显依赖关系、可独立部署、可组装的软件实体) Interface Required Interface和Provided
执行环境。 Artifact 制品是被软件开发过程所利用或通过软件开发过程所生产的一段信息,如外部文档或工作产物。 制品可以是一个模型、描述或软件。 Component 组件,可独立加载、部署和运行的二进制代码,采用轻量级通讯机制、松耦合高内聚的软件架构构建单元,部署时不能跨节点类型
交付模型(必选) 交付模型定义的是从构建结果和外部软件一起打包成最终交付给客户的Release Offering的模型设计过程。 部署模型(必选) 部署模型定义产品的部署关系,它依托于构建模型或交付模型,描述每个构建文件或者交付件以及相应的软件部署实体的部署依赖关系和部署约束。 父主题:
DlvrTrgt、Dlvr Trgt+外部软件打包后的package.Dlvr Trgt 一般是tar/gz包。 Exec Trgt 来源于构建视图中的构建结果,一般场景下不在交付模型图中创建该该元素,都是从构建模型中引用到交付模型使用。 ThirdParty 需要作为软件一起打包交付给客户的第三方件。
代码模型 代码模型定义代码结构以及代码元素逻辑模型中逻辑元素的对应关系,建立逻辑元素到代码仓或者代码目录的映射关系,以实现软件源代码的显示管理。元素介绍如下表所示: 表1 代码模型元素介绍 元素名 图标 含义 Repo Grp 代码仓组是代码模型分组辅助元素,不对应具体的代码仓,仅表示一个集合。
部署模型 部署模型定义产品的部署关系,它依托于构建模型或交付模型,描述每个构建文件或者交付件以及相应的软件部署实体的部署依赖关系和部署约束。元素介绍如下表所示: 表1 部署模型元素介绍 元素名 图标 含义 FRU 现场可更换单元(Field-Replaceable Unit)。 Proc
构建模型 构建模型定义软件编译构建结构及工具链,构建模型建立代码到运行期文件的映射和追溯关系。元素介绍如下表所示: 表1 构建模型元素介绍 元素名 图标 含义 Exec Trgt 表示逻辑对象构建的二进制结果(.so/.bin/rpm等)。 Compile Trgt 表示逻辑对象构建的二进制编译结果(
必填。选择建模类型,包括:“UML”或者“4+1 View”。 “UML”:又称统一建模语言或标准建模语言,是一个支持模型化和软件系统开发的图形化语言,为软件开发的所有阶段提供模型化和可视化支持。 “4+1 View”:是一组相关联模型的集合,从不同的视角,反映不同利益干系人的关注
型为顺序图,否则可能导致无法绘制对应消息线。具体请参见如何查看和修改模型图类型。 消息线介绍 顺序图用消息线描绘元素之间的工作流或者活动。软件模型中,消息线可以用来代表源端或目标端元素的操作或者属性。您可以根据需求绘制消息线,绘制消息线后,也可以提升/降低消息线层级。 绘制消息线
松耦合高内聚的软件架构构建单元,部署时不能跨节点类型部署(计算机百科全书:组件是软件系统中具有相对独立功能、接口由契约指定、 和语境有明显依赖关系、可独立部署、 可组装的软件实体)。 MS 是指可独立设计开发部署测试、粒度较小采用轻量级通讯机制、松耦合高内聚的软件单元。一般来说,用户感知不到微服务的存在。
级通讯机制、松耦合高内聚的软件架构构建单元,部署时不能跨节点类型部署(计算机百科全书:组件是软件系统中具有相对独立功能、接口由契约指定、和语境有明显依赖关系、可独立部署、可组装的软件实体)。 SDK Software Development Kit,软件开发工具包。 Layer
图,主要解决系统分析和设计的问题,它描述系统的业务上下文、系统的逻辑分解,以及分解出的逻辑元素间的关系。 开发视图 开发视图面向系统开发及软件管理,是描述系统代码结构,构建结构的视图,主要解决系统技术实现和开发的问题,它依托逻辑视图,描述代码、构建结构。 运行视图 运行视图面向系
生命线,在顺序图中表示为从对象图标向下延伸的一条虚线,表示对象存在的时间。 Boundary Lifeline 边界生命线,表示一个系统的边界,或者系统中的一个软件元素。作为例子,与用户交互的接口界面,数据库网关,或者菜单,就是边界。 Entity Lifeline 实体生命线,系统数据。 作为例子,
方式一:先选中连线,鼠标放在开始生命线待鼠标变成十字光标左键拉伸移动至目标生命线,待目标生命线变色后松开鼠标左键。 连线成功后生命线会自动生成激活块,手动无法拉伸长度,根据生命线消息线的发送/接收自动调节长度,可通过连线右键设置激活块的向上/向下延伸源端、结束源端/目标端激活块,提升/降低消息线层次。 方式
元素创建成功后,使用连线建立元素间的关系。 鼠标移动或者选中元素Subsystem1,待四周出现小三角图标。 鼠标左键拖拽小三角至目标元素System1自动生成连线,在弹出窗口选择线型Composition,连线完成。
tion连线连接两边后,会自动合并。 Required Interface 使用的接口。 Required Interface和Provided Interface一般是配套使用,一方提供接口,另一方使用,使用Association连线连接两边后,会自动合并。 Realization
同,模型图、模型对象参考同源、引用同源、变更同源,形成全关联的全量系统架构。 架构规范检查 内置了公司实践的架构设计 40+ 检查规则集,自动识别设计中的缺陷或者违反的设计规范,并提供相应的报告和可视化反馈。
信或交互概述),交互事件和组合片段(以指定表达式)上。 Diagram Gate并不是激活块(Activation),顺序图在绘制连线时会自动生成激活块,激活块的使用请参考自定义激活块。 使用示例 拖动工具栏中的Diagram Gate图标到顺序图中,然后根据需要输入名称即可。 父主题: