軟件靜態架構 軟件組件圖_組件圖| 軟件工程

軟件靜態架構 軟件組件圖

什么是組件圖? (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.pswp.cn/news/541305.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/541305.shtml
英文地址,請注明出處:http://en.pswp.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腳本編寫一個簡單的朗讀小工具,做一個能夠發音的…