⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 200604241346445.html

📁 软件工程的红包书
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<html>
<head><title>配置图</title></head>
<center><h1>配置图</h1></center>
<div><P align=right><FONT face=Verdana><FONT face=Verdana><FONT color=#f70938><FONT face=黑体><a href="200604112229525.html" tppabs="http://www.itisedu.com/phrase/200604112229525.html" target="_new">中科永联</a>高级技术培训中心(</FONT><FONT face=黑体>www.itisedu.com</FONT><FONT face=黑体>)<IMG src="2006416181219498.jpg" tppabs="http://www.itisedu.com/manage/Upload/image/2006416181219498.jpg" border=0></FONT></FONT></FONT></FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604161812215.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604161812215.html'" tppabs="http://www.itisedu.com/phrase/200604161812215.html" target="_new">部署图</a>(<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604241346265.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604241346265.html'" tppabs="http://www.itisedu.com/phrase/200604241346265.html" target="_new">deployment diagram</a>,<a href="200604241346445.html" tppabs="http://www.itisedu.com/phrase/200604241346445.html" target="_new">配置图</a>)是用来显示系统中<a href="200604232134205.html" tppabs="http://www.itisedu.com/phrase/200604232134205.html" target="_new">软件</a>和硬件的物理<a href="200604241328115.html" tppabs="http://www.itisedu.com/phrase/200604241328115.html" target="_new">架构</a>。从部署图中,您可以了解到软件和硬件<a href="200603302222545.html" tppabs="http://www.itisedu.com/phrase/200603302222545.html" target="_new">组件</a>之间的物理关系以及处理节点的组件分布情况。使用部署图可以显示运行时系统的结构,同时还传达构成应用<a href="200604232224305.html" tppabs="http://www.itisedu.com/phrase/200604232224305.html" target="_new">程序</a>的硬件和软件元素的配置和部署方式。</FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 一个<a href="200602271429302.html" tppabs="http://www.itisedu.com/phrase/200602271429302.html" target="_new">UML</a>部署图(<a href="200603090845215.html" tppabs="http://www.itisedu.com/phrase/200603090845215.html" target="_new">对象</a>管理组织2001)描述了一个运行时的硬件结点,以及在这些结点上运行的软件组件的静态<a href="200603141659315.html" tppabs="http://www.itisedu.com/phrase/200603141659315.html" target="_new">视图</a>。 部署图显示了系统的硬件,安装在硬件上的软件,以及用于连接异构的机器之间的<a href="200604241155005.html" tppabs="http://www.itisedu.com/phrase/200604241155005.html" target="_new">中间件</a>。 创建一个部署模型的目的包括∶ </FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ·&nbsp; 探究系统投产的相关问题. <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ·&nbsp; 探究你的系统和生产环境中的其它系统的依赖关系,这些系统可能是已经存在,或是将要引入的。 <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ·&nbsp; 描述一个商业应用主要的部署结构。 <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ·&nbsp; 设计一个嵌入系统的硬件和<a href="200602282202575.html" tppabs="http://www.itisedu.com/phrase/200602282202575.html" target="_new">软件结构</a>。 <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ·&nbsp; 描述一个组织的硬件/网络基础结构。 </FONT></P>
<P><FONT face=Verdana>指南∶通用准则</FONT></P>
<P><FONT face=Verdana>在特定的项目图上注明软件组件;集中在企业级图上的结点和通信关联</FONT></P>
<P><FONT face=Verdana>结点和组件:用描述性术语命名结点;仅仅建模重要的软件组件;为组件一致地应用一致版型;把可视化的版型应用到结点</FONT></P>
<P><FONT face=Verdana>依赖和通信关联:用版型来注明通信协议;仅仅建模组件间的关键性依赖</FONT></P>
<P><FONT face=Verdana><STRONG>一、通用准则</STRONG></FONT></P>
<P><FONT face=Verdana>1.在特定的项目图上注明软件组件</FONT></P>
<P><FONT face=Verdana>图1是一个大学管理系统的UML部署图描述. 该图描述了那些包含单一应用程序的主要软件组件是怎样配置到生产环境中的,这使得项目<a href="200603082251135.html" tppabs="http://www.itisedu.com/phrase/200603082251135.html" target="_new">团队</a>能够确定他们的部署策略。</FONT></P>
<P align=center><FONT face=Verdana>图1.一个特定项目的UML部署图。</FONT></P>
<P align=center><FONT face=Verdana><IMG src="200641619466102.gif" tppabs="http://www.itisedu.com/manage/Upload/image/200641619466102.gif" border=0></FONT></P>
<P><FONT face=Verdana>2.集中在企业级图上的结点和通信关联</FONT></P>
<P><FONT face=Verdana>UML部署图经常被认为是一个网络图或技术架构图,图2是该风格的一个例子,它描述了一个简单组织的技术基础结构。 注意图2是一个非常简单的例子,像这样的图,许多组织将会有几十甚至几百个结点。</FONT></P>
<P><FONT face=Verdana>虽然在图的有限范围内注明组件的部署情况是可以顶用的,例如图1,但图很快地就变得笨重起来。 图2则关注于企业的那些高阶部署,因此配置在硬件结点之上的软件组件的精细的、细节的东西就不需要显示出来,你可以在你的CASE工具中处理这些信息,但这并不意味着你需要在图上显示它们。</FONT></P>
<P align=center><FONT face=Verdana>图2.一个组织的UML部署图</FONT></P>
<P align=center><FONT face=Verdana><IMG src="2006416194619944.gif" tppabs="http://www.itisedu.com/manage/Upload/image/2006416194619944.gif" border=0></FONT></P>
<P><FONT face=Verdana><STRONG>二、结点和组件</STRONG></FONT></P>
<P><FONT face=Verdana>一个结点,通常描述成一个立体的盒子,表示一个计算设备,一般是一个单独的硬件设备,例如一台<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604231234155.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604231234155.html'" tppabs="http://www.itisedu.com/phrase/200604231234155.html" target="_new">电脑</a>,网络路由器,主机,传感器,或个人数字助理(PDA)。 组件,描述为矩形,左侧面还伸出两个较小矩形,这和UML<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604161810285.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604161810285.html'" tppabs="http://www.itisedu.com/phrase/200604161810285.html" target="_new">组件图</a>上使用的符号是相同的,它表示软件的中间产物,例如<a href="200602282323195.html" tppabs="http://www.itisedu.com/phrase/200602282323195.html" target="_new">文件</a>、<a href="200603061723295.html" tppabs="http://www.itisedu.com/phrase/200603061723295.html" target="_new">框架</a>、或领域组件。</FONT></P>
<P><FONT face=Verdana>1.用描述性术语命名结点</FONT></P>
<P><FONT face=Verdana>在图1中,你可以看到结点都有名称,例如<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604231337375.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604231337375.html'" tppabs="http://www.itisedu.com/phrase/200604231337375.html" target="_new">client</a>、Application Server、<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604231244235.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604231244235.html'" tppabs="http://www.itisedu.com/phrase/200604231244235.html" target="_new">Database</a> Server、和Mainframe。 所有的这些术语都需要即刻为组织内的开发人员所认可,因为这些条款都是他们日常使用的。 保持它的简单性。</FONT></P>
<P><FONT face=Verdana>2.仅仅建模重要的软件组件</FONT></P>
<P><FONT face=Verdana>虽然图1包含软件组件,但它没有描述每一个软件组件。 例如,客户机上很可能还安装有其他的软件组件,如<a href="200602281634075.html" tppabs="http://www.itisedu.com/phrase/200602281634075.html" target="_new">操作系统</a>和应用软件,但那些组件没有显示出来,因为它们已经离题了。 事实是每个结点也许有几十甚至几百的软件组件配置于其上,你的目标并不是描述所有的软件组件,而是只需要描述那些对系统的列节至关重要的组件。如果你需要探究软件组件间的关系,你应该创建一个UML组件图作为替代,遵循<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200603091620485.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200603091620485.html'" tppabs="http://www.itisedu.com/phrase/200603091620485.html" target="_new">敏捷建模</a>( <a href="javascript:if(confirm('http://www.itisedu.com/phrase/200603091620485.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200603091620485.html'" tppabs="http://www.itisedu.com/phrase/200603091620485.html" target="_new">AM</a>) ( Ambler 2002)的应用"合适的Artifact"的实践。</FONT></P>
<P><FONT face=Verdana>3.为组件一致地应用一致版型</FONT></P>
<P><FONT face=Verdana>在UML部署图上为组件应用和UML组件图中的相同的版型。</FONT></P>
<P><FONT face=Verdana>4.把可视化的版型应用到结点</FONT></P>
<P><FONT face=Verdana>图2使用可视化的版型来描述结点描述结点,例如mobile PC是显示为一个笔记本,而databases则使用传统的<a href="200602271218062.html" tppabs="http://www.itisedu.com/phrase/200602271218062.html" target="_new">数据库</a>的圆筒符号来表示。 为UML部署图上应用可视化版型制定标准是不可能的,一般的经验法则是使用你看得到的适当的剪贴画。</FONT></P>
<P><FONT face=Verdana><STRONG>三、依赖和通信关联</STRONG></FONT></P>
<P><FONT face=Verdana>通信关联,经常称为连接,被描述为连接结点间的线条。组件间的依赖则被建模成虚线箭头,这和其他UML图上使用的符号是一样的。</FONT></P>
<P><FONT face=Verdana>1.用版型来注明通信协议</FONT></P>
<P><FONT face=Verdana>通信关联支持一个或多个通信协议,每一个都应该使用一个UML版型来描述。 图1中你可以看到HTTP、<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604151904545.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604151904545.html'" tppabs="http://www.itisedu.com/phrase/200604151904545.html" target="_new">JDBC</a>、和web services协议,他们就是使用了这个方法。</FONT></P>
<P><FONT face=Verdana>表1提供了一个典型的通信关联的版型列表,你的组织也许会想开发自己的特定标准。</FONT></P>
<P align=center><FONT face=Verdana>表1.通用的版型为通信关联 </FONT></P>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -