软件静态架构 软件组件图_组件图| 软件工程

软件静态架构 软件组件图

什么是组件图? (What is Component Diagram?)

A Component Diagram breaks down the real system under development into different heights of working. Every component is reactive for the main aim in the entire system and only reacts with other particular elements on a need to know basis. The interfaces on the right are defined as required interfaces, which shows the services the component wants to carry out its duty.

组件图将正在开发的实际系统分解为不同的工作高度。 每个组件对于整个系统的主要目标都是React性的,并且仅在需要了解的基础上与其他特定元素React。 右侧的接口定义为必需的接口,该接口显示了组件要执行其职责的服务。

组件图的基础概念 (Basis Concept of Component Diagram)

A component represents a modular part of a system of the diagram that encapsulates its contents and tells whose manifestation is replaceable the states within its environment of the world. In the UML diagram, a component is drawn as four sides as breadth and length known as a rectangle with optional compartments stacked straightly as vertical. A high-level, abstracted view of a component in UML 2 can be modeled as:

组件表示图的系统的模块化部分,该模块封装了其内容并告诉其表现形式可以替换其环境中的状态。 在UML图中 ,将组件绘制为宽度和长度的四个侧面(称为矩形),并带有可选的分隔室,这些分隔室垂直笔直地堆叠。 UML 2中组件的高级抽象视图可以建模为:

  1. A rectangle with the component's name

    带有组件名称的矩形

  2. A rectangle with the component icon

    带有组件图标的矩形

  3. A rectangle with the stereotype text and/or icon

    具有构造型文本和/或图标的矩形

组件图 (Component Diagram)

  • Take stock of everything or anything needed or wanted to implement or run the planned system. For example, for a simple e-commerce system, we will need components or parts of the component that describe products, orders, objective, server account, and customer accounts.

    盘点实施或运行计划的系统所需或想要的一切。 例如,对于简单的电子商务系统,我们将需要描述产品,订单,目标,服务器帐户和客户帐户的组件或组件的各个部分。

  • Form a visual or imaginary for each of the components of the system.

    为系统的每个组件形成视觉或想象。

  • Defines the organization and relationships between components having the parts using interfaces, ports, and dependencies together to form components.

    使用接口,端口和相关性一起定义组件,从而定义具有零件的组件之间的组织和关系。

component diagram in software engineering

组件图的各部分 (Parts of Component Diagram)

  1. Component:

    组成部分

    A component is a logical unit block of the system of the objects, a little large flow abstraction than classes. It is shown as a length and breadth rectangle with a smaller rectangle in the upside of right corner or site with tabs or the word written or shows above the name of the component to help differentiate it from a class.

    组件是对象系统的逻辑单元块,抽象度比类大。 它显示为长度和宽度的矩形,在右上角或站点的上方带有一个较小的矩形,并带有制表符或单词,或在组件名称的上方显示以帮助区分其与类。

  2. Interface:

    介面

    An interface (small circle or semi-circle on a stick) differentiate a group of operations required or something provided by components. A full circle represents an interface provided by the component and uses for the interface between the two systems. A semi-circle represents a required interface, like a person's input as the objects of the system.

    界面(杆上的小圆圈或半圆圈)区分一组所需的操作或组件提供的某些操作。 实心圆圈表示组件提供的接口,并用于两个系统之间的接口。 半圆表示所需的界面,例如作为系统对象的人的输入。

  3. Dependencies:

    依存关系

    Draw dependencies among al the components using dashed arrows.

    使用虚线箭头在所有组件之间绘制依赖关系。

  4. Port:

    港口

    Ports are represented using four equal sites as square along the edge of the system or a component. A port is used to input the system object into it. A port is often used to help to expose required and provided and interfaces of a component of the system.

    端口沿着系统或组件的边缘使用四个相等的正方形表示为端口。 端口用于将系统对象输入其中。 端口通常用于帮助公开系统组件的必需和提供的接口。

组件图的使用 (Use of Component Diagram)

  • Design the components of a system.

    设计系统的组件。

  • Program the database schema.

    编程数据库模式。

  • Make the executables of an application.

    制作应用程序的可执行文件。

  • Draw the system's source code.

    绘制系统的源代码。

翻译自: https://www.includehelp.com/basics/component-diagram-software-engineering.aspx

软件静态架构 软件组件图

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/541305.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

如何卸载非linux系统分区,如何卸载Linux系统分区?卸载Linux系统分区的方法-站长资讯中心...

系统为windows xp sp2和redhat as 5双系统,其中linux系统后安装的在D盘,华彩软件站www.huacolor.com小编今天发现硬盘不够用了,想干掉linux分区,在虚拟机中用linux。就在windows的磁盘管理(命令为:diskmgmt)下删除linux分区&#…

顺序结构复习

复习一些易错知识点还有习题 目录 可能不熟悉的知识点 逻辑表达式的求解 if,else的配队 条件运算符 运算符优先级的问题 switch的使用 goto和if构成的循环 例题讲解 1 2 3 4 ​编辑 5 ​编辑 6赋值 ​编辑 7 可能不熟悉的知识点 逻辑表达式的求解 如果…

模板模式(部分方法延迟到子类实现)

项目中,用到了抽象类作为父类,有部分实现。 提供了了模板方法作为子类公共方法,模板方法中调用了抽象类的抽象方法和部分非抽象方法。 执行代码时,发现模板方法调用了抽象类的抽象方法,当时比较好奇,后来发…

ruby 集合 分组_在Ruby中找到两个集合之间的区别

ruby 集合 分组Finding differences simply means that finding elements that are uncommon between two sets as well as are only present in the first set. We can find this, with the help of a – operator. You can also consider the objective as to find the uniqu…

怎样在linux卸载java,卸载linux自带java,linux自带java

卸载linux自带java,linux自带java第一步:rpm查询java安装包名称[rootlocalhost java]# rpm -qa | grep javajava-1.7.0-openjdk-headless-1.7.0.51-2.4.5.5.el7.x86_64tzdata-java-2014b-1.el7.noarchpython-javapackages-3.4.1-5.el7.noarchjava-1.7.0-…

Swift iOS : 内存管理

Swift是自动管理内存的。这意味着,你不需要主动释放内存。 比如Foo内包含的Bar,可以随同Foo一起被释放: import UIKit UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate {var window : UIWindow?func application(…

python实现接口_Python | 使用类实现接口

python实现接口In this program, we are implementing the concept of Interface using class. Here, Class Shape worked as Interface. In Interface all methods must be non-implemented it must be implemented in child class unlike abstract class, where we can have …

linux lp 打印中文,Linux基础命令---lp打印文件

lplp指令用来打印文件,也可以修改存在的打印任务。使用该指令可以指定打印的页码、副本等。此命令的适用范围:RedHat、RHEL、Ubuntu、CentOS、Fedora、openSUSE、SUSE。1、语法lp [ -E ] [ -U username ] [ -c ] [ -d destination[/instance] ] [ -h…

【转载】浏览器缓存详解:expires cache-control last-modified

下面的内容展示了一个常见的 Response Headers,这些 Headers 要求客户端最多缓存 3600 秒,也给出了一个 pub1259380237;gz 的校验值。 HTTP/1.x 200 OK Transfer-Encoding: chunked Date: Sat, 28 Nov 2009 04:36:25 GMT Server: LiteSpeed Connection: …

ctype函数_PHP ctype_xdigit()函数与示例

ctype函数PHP ctype_xdigit()函数 (PHP ctype_xdigit() function) ctype_xdigit() function is a character type (CType) function in PHP, it is used to check whether a given string contains hexadecimal digits or not. ctype_xdigit()函数是PHP中的字符类型(CType)函数…

linux ldd运行不成功,Linux_Linux:Ldd命令介绍及使用方法,1、首先ldd不是一个可执行程序 - phpStudy...

Linux:Ldd命令介绍及使用方法1、首先ldd不是一个可执行程序,而只是一个shell脚本2、ldd能够显示可执行模块的dependency,其原理是通过设置一系列的环境变量,如下:LD_TRACE_LOADED_OBJECTS、LD_WARN、LD_BIND_NOW、LD_L…

开发原生的 Google 眼镜应用 【已翻译100%】(2/2)

使用传感器 Glass没有键盘或触摸屏,但仍然具有移动设备所有的标准的传感器。你可以使用标准的传感器组件来访问这些传感器。 定位和GPS Glass内置有GPS。TLocationSensor具有一个OnLocationChanged事件,这一事件在GPS组件被激活时产生,在有除…

linux下php的安装,Linux下PHP安装

1 下载php源码安装包 个人是php-5.6.30.tar.gzphp2 解压文件mysqltar -zxvf php-5.6.30.tar.gznginx3 编译安装sqlcd php-5.6.30api建立www用户和www用户组curlgroupadd wwwsocketuseradd -g www wwwphp-fpm在编译以前先把依赖包都装上urlyum install curl curl-develyum inst…

PHP array_filter()函数与示例

PHP array_filter()函数 (PHP array_filter() Function) array_filter() function is used to apply a filter on array elements based on the function and returns the array with filtered elements, it accepts an array to be checked and a callback function. The call…

微软宣布以 262 亿美元现金收购 LinkedIn

北京时间6月13日20:45(美国当地时间6月13日上午8:45),微软(Nasdaq: MSFT)和LinkedIn(领英,NYSE: LNKD)对外宣布,双方达成协议,微软宣布将以每股196美元、总价262亿美元的价格收购LinkedIn,由现金…

linux vim 快速定位位置,vim快速移动定位的一些操作命令

很多时候你在编辑文件时移动光标都会花很长时间,这样就无法高效的编辑了,要想达到高效编辑最好能够将光标马上定位到你需要的位置,vim就是可以满足你这样需求的一款编辑器,本节就要讲一下vim快速移动定位的一些操作命令。下面的操…

本月初 本月末 java_本月内容作家(2018年8月)

本月初 本月末 javaWe are feeling glad to announce that Prerana Jain is the Content Writer Of The Month (August 2018) on the basis of her excellent contribution and her support to us. 我们很高兴地宣布, Prera​​na Jain凭借其出色的贡献和对我们的支…

“玲珑杯”线上赛 Round #15 河南专场 F 咸鱼文章

elttiL moT nwod eht teerts sllac ruo god ” ehT peek god ” . piZ si a peehs god . tuB nehw moT seirt ot yas ” peeS ” , ti semoc tuo ” peek ” . dnA ni a yaw moT si thgir . piZ si syawla gnignirb sgniht oh rof su ot peek ! ll’I llet uoy tuoba emos fo m…

线性代数向量内积_向量的外积| 使用Python的线性代数

线性代数向量内积Prerequisites: 先决条件: Defining Vector using Numpy 使用Numpy定义向量 Learn: how to code for outer product of two vectors using am inbuilt function in numpy library? 了解:如何使用numpy库中的内置函数为两个向量的外部乘…

c语言案例朗读工具源码,C语言编写简单朗读小工具(有源码)

原标题:C语言编写简单朗读小工具(有源码)最近不少人在后台留言说学C都是面对枯燥的控制台程序,能不能体现一下C语言的实际用途,今天我们就理论结合实践一把:C语言结合VBS脚本编写一个简单的朗读小工具,做一个能够发音的…