[Switch] UML Modeling Deployment Diagram (Deployment Diagram)

1. Deployment Diagram Introduction

2. Deployment Diagram Elements

1. Node ( Node )

2. Node Instance _

3. Node Stereotypes _

4. Artifact _ _

5. Connection ( Association )

6. Node as Container

3. Deployment Diagram Example

1. Web Server _

2. Web traffic diversion device

3. FTP Server And Session Server

4. DB Server server

5. App Server server

6. FrieWall firewall _

7User Client

4. Summary

  

1. Deployment Diagram Introduction

       A deployment diagram describes the structure of the system at runtime, showing the configuration of the hardware and how its software is deployed into the network structure. A system model has only one deployment diagram, and deployment diagrams are often used to help understand distributed systems.

 

2. Deployment Diagram Elements

1. Node ( Node )

    A node is a physical element that exists and runs on behalf of computer resources, which can be hardware or a software system running on it, such as a 64 host, Windows server 2008 operating system, firewall, and so on. Nodes are represented by three-dimensional boxes, as shown below:

 

 

2. Node Instance _

    The node instance name format is as follows

       Node Instance : node

   The difference with the node is that the name has an underscore and the node type is preceded by a colon, and the colon can have an example name or no example name, as shown below

3. Node Stereotypes _

    结点类型有:«cdrom», «cd-rom», «computer», «disk array», «pc», «pc client», «pc server», «secure», «server», «storage», «unix server», «user pc»,并在结点的右上角用不同的图标表示,如下图

 

 

4、物件(Artifact

    物件是软件开发过程中的产物,包括过程模型(比如用例图、设计图等等)、源代码、可执行程序、设计文档、测试报告、需求原型、用户手册等等。物件表示如下,带有关键字«artifact»和文档图标

 

5、连接(Association

    结点之间的连线表示系统之间进行交互的通信路径,这个通信路径称为连接(Association),如下图所示,连接中有网络协议。

 

6、结点容器(Node as Container

    一个结点可以包括其他的结点,比如组件或者物件,则称此结点为结点容器(Node as Container)。如下图所示,结点(Node)包容了物件(Artifact)。

 

 

 

三、部署图项目示例(Deployment Diagram Example

  分析:

  1Web Server服务器

一台Web服务器预装4个操作系统及其之上的4IIS,由于客户访问量大,3个用来部署B2C Web, 1个用来部署B2BB2E Web.

  2Web访问量分流设备

       根据网站流量,自动定位客户访问流量小的服务器。

  3FTP Server And Session Server服务器

       网站所有的图片都统一上传到FTP服务器上,同时B2CWeb下的Session统一转移到此服务器上。

 

  4DB Server服务器

       数据库服务器

  5App Server服务器

       定时执行排程(控制台程序)的服务器,用于與倉庫系統交互。

  6FrieWall防火墙

       所有对服务器的操作通过防火墙过滤。

  7User Client

       用户个人PC,预装有浏览器。

 

四、总结   

    本文介绍了部署图的概念及其一些设计元素,并配实例说明。部署图在描述较复杂系统的物理拓扑结构时很有用。

 

 

 

版权

作者:灵动生活

出处:http://www.cnblogs.com/ywqu

如果你认为此文章有用,请点击底端的【推荐】让其他人也了解此文章,

你也可以加我的新浪微博,以便实时了解我的动态:http://weibo.com/ywqu

WOWO英语(英语培训学校):http://www.wowomandarin.cn   上海电子商务解决方案:http://www.hello36.com 
上海闪酷系列解决方案: 
电子商务解决方案   移动电商APP软件   培训学校管理系统   购物分享社区系统   移动开发解决方案   在线问卷调查系统   

本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326686183&siteId=291194637