正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
概述 用例视图以用例作为驱动元素,驱动和验证其他四个视图的设计,用例视图不增加设计元素,仅增加用例作为输入,因此作为+1视图。 模型类别 描述 上下文模型(必选) 上下文模型描述系统和外部环境(包括人、系统及外部实体)之间的关系,依赖和交互。
用例视图 用例视图以用例作为驱动元素,驱动和验证其他四个视图的设计,用例视图不增加设计元素,仅增加用例作为输入,因此作为“+1”视图。 父主题: 4+1视图建模
快速连线两种方式: 方式一:直接从图元往图元上连。连线操作技巧:鼠标移到图元上或者选中图元,四边出现小三角图标,点击小三角往另一个图元上拉线,停靠目标图元边上出现绿色小圆圈或者目标图元变色,可松开鼠标,弹出线类型选择框。
安全性是华为云与您的共同责任,如图1所示。 华为云:负责云服务自身的安全,提供安全的云。华为云的安全责任在于保障其所提供的 IaaS、PaaS 和 SaaS 类云服务自身的安全,涵盖华为云数据中心的物理环境设施和运行其上的基础服务、平台服务、应用服务等。
绘制消息线 根据建模规范限制,建模的连线不能独立存在于图中,两端必须是连接在元素上的,因此不允许消息线直接拖拽至画布上。且绘制顺序图时,必须保证图的类型为顺序图,否则可能导致无法绘制对应消息线。具体请参见如何查看和修改模型图类型。
在内部,有序消息反映了这一要求,并在片段帧的边界上指示了门。任何与此内部消息“同步”的外部消息必须适当地对应。可以出现在交互图(顺序,时序,通信或交互概述),交互事件和组合片段(以指定表达式)上。
部署图 部署图用于大型和复杂系统的另一张专门图,其中软件部署在多个系统上,元素介绍如下表所示: 表1 部署图元素介绍 元素名 图标 含义 Node 部署节点。 Device 设备节点。 DeploymentSpecification 部署规格。
检查范围 在图上创建的元素在工程树中出现对应的节点,即为建模元素,都在被检查范围内。 如何检查 查询模型工程内所有建模元素,检查出名称为空元素。 正确示例 错误示例 Subsystem名称为空。 父主题: 通用检查规则
空间关联模型工程配置解决用户要跨空间引用模块的问题,需要配置的用户拥有管理员权限,关联有权限的模型空间时可以直接关联上,跨项目关联自己没有权限的模型工程时,需由目标模型空间的管理员审核。 关联模型工程,单击“新增”。
建模示例 从工具箱中拖入Domain元素到领域模型图中,从系统业务划分上抽象出内存、存储、安全、网络域概念,建立如下图所示模型结构: 在领域模型中以业务域视角进行建模分析,创建业务域对象之间结构关系,如果当领域模型设计图形比较复杂时,可以参考逻辑模型中的分层结构,创建多个领域模型,
1.在上下文模型图上创建出来的System元素; 2.引用到上下文模型中的System元素(包含关联空间中的引用的system元素); 如何检查 查询上下文模型图中的所有元素,从中找出类型为System的元素,如果存在多个System元素,则全部列出到检查结果中,不符合规则。
向下延长端激活块 强制指定某个元素在正常进程周期外保持激活状态,表示该元素所属进程与其余进程共存; 向上延展源端激活块 强制某个元素上的激活块向上延展。 结束源端激活块 源端元素在该条消息线之后,结束其上激活块的进程周期,通常用来表示一条异步消息过后该源端元素变为空闲状态。
检查范围 当前模型工程中的所有模型图类型为运行模型图上的逻辑元素,逻辑元素的定义参考逻辑模型检查章节。 如何检查 查询所有运行模型图中的元素,找出在运行模型图中创建生成出来的逻辑元素。 正确示例 引用自逻辑模型的中定义的逻辑元素。
顺序图怎么连线 把图元拖到图中后,开始画连线,注意连线不能直接拖到图上,画连线有两种方式,一种是先在工具箱中选中要使用的连线类型,一种是直接在图元间连线,在弹出的连线类型框中选择要使用的连线类型。
对象图示例,如下图所示: 示例首先显示简单的类图上连接的两个类元素。 上面的类被实例化作为下面对象图中的对象。在此模型中有的两个实例计算机,这可以证明在实践中用类对象作为考虑类之间的关系和相互作用是有用的。
子图方式:在元素下面建子图或者在项目树上把其它模型图拖到该元素下面构成子图,可以实现双击元素图形上的子图角标,快速打开图形; 当前图元在项目树节点下面有子模型图,点击操作可以打开该图元包含的模型图; 如果当前图元在项目树节点下面有多个了模型图,点击该操作右侧界面会弹出多个模型图的列表
域这个概念,来自于云化产品。以前逻辑架构的实体,这个实体一般指的是子系统,但这个架构实体,带有比较严重嵌入式情节。为此云化产品,习惯用域来表示逻辑架构的实体。 SubDomain 子域,用于在架构表达、开发管理、对外介绍的过程中,表达系统的层次关系或内部分组,域和子域交互使用。
创建模型工程 前提条件 已注册华为账号并开通华为云。 已有可用项目,如果没有,请先新建项目。 操作步骤 在页面左上角单击,选择进入“架构建模”服务首页。
图9】;如果找不到生命线L1上的激活块,在生命线L1上新创建一个激活块并将M1从它引出【图10】。
错误示例 错误示例场景1:存在没有建立任务关系的部署元素在图上。 架构检查结果: 2.6.3部署模型同一个树的同一层上不能有同名同类型的元素 详细描述 在同一棵部署架构信息树上,在同一个父元素节点下面,不能存在类型相同,并且名称也相同的元素。