软件静态架构 软件组件图_组件图| 软件工程
軟件靜態(tài)架構(gòu) 軟件組件圖
什么是組件圖? (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.
組件圖將正在開發(fā)的實(shí)際系統(tǒng)分解為不同的工作高度。 每個(gè)組件對于整個(gè)系統(tǒng)的主要目標(biāo)都是React性的,并且僅在需要了解的基礎(chǔ)上與其他特定元素React。 右側(cè)的接口定義為必需的接口,該接口顯示了組件要執(zhí)行其職責(zé)的服務(wù)。
組件圖的基礎(chǔ)概念 (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:
組件表示圖的系統(tǒng)的模塊化部分,該模塊封裝了其內(nèi)容并告訴其表現(xiàn)形式可以替換其環(huán)境中的狀態(tài)。 在UML圖中 ,將組件繪制為寬度和長度的四個(gè)側(cè)面(稱為矩形),并帶有可選的分隔室,這些分隔室垂直筆直地堆疊。 UML 2中組件的高級抽象視圖可以建模為:
A rectangle with the component's name
帶有組件名稱的矩形
A rectangle with the component icon
帶有組件圖標(biāo)的矩形
A rectangle with the stereotype text and/or icon
具有構(gòu)造型文本和/或圖標(biāo)的矩形
組件圖 (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.
盤點(diǎn)實(shí)施或運(yùn)行計(jì)劃的系統(tǒng)所需或想要的一切。 例如,對于簡單的電子商務(wù)系統(tǒng),我們將需要描述產(chǎn)品,訂單,目標(biāo),服務(wù)器帳戶和客戶帳戶的組件或組件的各個(gè)部分。
Form a visual or imaginary for each of the components of the system.
為系統(tǒng)的每個(gè)組件形成視覺或想象。
Defines the organization and relationships between components having the parts using interfaces, ports, and dependencies together to form components.
使用接口,端口和相關(guān)性一起定義組件,從而定義具有零件的組件之間的組織和關(guān)系。
組件圖的各部分 (Parts of Component Diagram)
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.
組件是對象系統(tǒng)的邏輯單元塊,抽象度比類大。 它顯示為長度和寬度的矩形,在右上角或站點(diǎn)的上方帶有一個(gè)較小的矩形,并帶有制表符或單詞,或在組件名稱的上方顯示以幫助區(qū)分其與類。
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.
界面(桿上的小圓圈或半圓圈)區(qū)分一組所需的操作或組件提供的某些操作。 實(shí)心圓圈表示組件提供的接口,并用于兩個(gè)系統(tǒng)之間的接口。 半圓表示所需的界面,例如作為系統(tǒng)對象的人的輸入。
Dependencies:
依存關(guān)系 :
Draw dependencies among al the components using dashed arrows.
使用虛線箭頭在所有組件之間繪制依賴關(guān)系。
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.
端口沿著系統(tǒng)或組件的邊緣使用四個(gè)相等的正方形表示為端口。 端口用于將系統(tǒng)對象輸入其中。 端口通常用于幫助公開系統(tǒng)組件的必需和提供的接口。
組件圖的使用 (Use of Component Diagram)
Design the components of a system.
設(shè)計(jì)系統(tǒng)的組件。
Program the database schema.
編程數(shù)據(jù)庫模式。
Make the executables of an application.
制作應(yīng)用程序的可執(zhí)行文件。
Draw the system's source code.
繪制系統(tǒng)的源代碼。
翻譯自: https://www.includehelp.com/basics/component-diagram-software-engineering.aspx
軟件靜態(tài)架構(gòu) 軟件組件圖
總結(jié)
以上是生活随笔為你收集整理的软件静态架构 软件组件图_组件图| 软件工程的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 计算机图形学与几何造型导论_计算机图形学
- 下一篇: 图论 弦_混乱的弦