外文翻译---面向对象的分析方法在工程系统分析中的应用.docx_第1页
外文翻译---面向对象的分析方法在工程系统分析中的应用.docx_第2页
外文翻译---面向对象的分析方法在工程系统分析中的应用.docx_第3页
外文翻译---面向对象的分析方法在工程系统分析中的应用.docx_第4页
外文翻译---面向对象的分析方法在工程系统分析中的应用.docx_第5页
已阅读5页,还剩1页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

附录A面向对象的分析方法在工程系统分析中的应用本文介绍了面向对象的分析方法,并给出了一种面向对象的分析模型的表达方法。以液压系统设计为工程应用背景,探讨了面向对象的分析方法在工程系统分析中的应用。按照类-对象层、结构层、主题层、属性层和服务层五个层次分析了液压系统的类层次构成及其连接与通信。一、面向对象的分析简介:在大型软件开发项目中,无论是实时控制系统、数据库系统、人工智能系统,还是具体到自动代码生成,或扩展到一个工厂的计算机集成制造系统,都存在着一个共同的需求,就是在系统分析阶段建立系统的信息模型。在众多的系统分析方法中,面向对象的分析(OOA)方法更接近于人类的思维方式,正在被越来越多的系统分析人员使用。持面向对象观点的人认为,计算机程序的结构应该与所需解决的问题一致,而不是与某种分析方法保持一致。经验表明,对任何软件系统而言,其中最稳定的成份是相应问题论域(PROBLEM DOMAIN)的成份。而系统出问题通常也是由于问题论域的某些成份。因此,对问题论域进行充分分析及准确理解是保证系统稳定的重要基础。面向对象分析方法是建立在对象及其属性、类属及其成员、整体及其部分这些基本概念的基础上。大英百科全书指出:“人类在认识和理解现实世界的过程中普遍运用着三个构造法则:1.区分对象及其属性。例如,区分一棵树和树的大小或空间位置关系。 2.区分整体对象及其组成部分。例如,区分一棵树和树枝。 3.不同对象类的形成及区分。例如,所有树的类和所有石头的类的形成和区分。” OOA就是建立在以上三个常用法则的基础上。OOA模型描述了表示某个特定论域中的对象,以及各种各样的结构关系和通信关系。OOA模型有两个用途。首先,每个软件都建立在特定的现实世界中,OOA模型就是用来形式化该现实世界的“视图”。它建立起各种对象,分别表示软件系统主要的组织结构以及现实世界强加给软件系统的各种规则和约束条件。其次,给定一组对象,OOA模型规定了它们如何协同才能完成软件系统所指定的工作。这种协同在模型中是以表明对象之间通信方式的一组消息连接来表示的。以上简单介绍了面向对象的分析及在本文中的表示方法,下面将研究面向对象的分析在液压系统设计中的应用:第一层,对象类层表示待开发系统的基本构造块。对象都是现实世界中应用论域概念的抽象。这一层是整个模型的基础。图符的外层边界表示实例边界,实际上它表明对象是非空的。而图符的内层边界则表示类边界。有时可以定义一些不当作程序块来实现的对象,即只有类边界而没有实例边界。在某些情形下,定义这种对象是很有用的。我们将它们称为模板类或抽象类。模板类可以为结成较高级的聚合体提供一条方便的途径。第二层,属性层,对象的属性和实例连接共同组成了OOA模型的属性层。我们把对象所存储的数据称为对象的属性。类的实例之间互相约束,它们必须遵从应用论域的某些限制条件或事务规则。例如,当定金取消后,相应的订户也应该被取消,这可能是一项事务规则。我们称这些约束为实例连接。第三层,服务层,对象的服务和消息通信组成了OOA模型的服务层。我们把对象所做的工作称为服务或方法。系统的不同对象都分别执行一定的工作或功能,它们之间通过消息通信,即所谓的协同,如图中的箭头所示。对象的服务及对象实例之间的消息通信共同组成了OOA模型的服务层。第四层,结构层,该层负责捕捉特定应用论域中的结构关系。泛化-特化结构获得类及成员组织,有助于刻画问题空间的类成员层次,它通过搜集公共特性并把这种特性扩充到特例中来显示现实世界事件的通用性及专用性。整体-部分结构表达了人类的一种基本组织方式,即自然的整体和部分的结构关系,从而把一些部分的聚合构造成整体。例如,一辆汽车由发动机、传动装置和刹车装置组成。第五层,主题层,相当于全局系统的子系统或子模型。由于OOA模型的结构庞大而复杂,因此众多的对象有时很难处理。于是,可以把对象归到各个主题层中,可以把有关的对象用一个边框框起来加以实现。附录BObject-oriented analysis in the application of engineering analysisIn this paper, object-oriented analysis, and gives a model of the object-oriented analysis of the expression. To the hydraulic system design engineering background to explore the object-oriented analysis in the application of engineering analysis. In accordance with the category - Target layer, layer structure, the theme layer, services and attributes of the five-level analysis of the hydraulic system of a class hierarchy and its connection and communication. First, the object-oriented analysis Introduction: the large-scale software development projects, whether it is real-time control systems, database systems and artificial intelligence systems, or specific to automatic code generation, or expand the plant to a computer integrated manufacturing system, there is a A common demand in the analysis stage is the establishment of information systems model. Among the many methods of analysis, object-oriented analysis (OOA) is more close to human way of thinking, is being more and more systematic analysis of officers. Object-oriented perspective on the view that the structure of a computer program should be required to resolve the issue of consensus, rather than with a consistent method of analysis. Experience has shown that for any software system, one of the most stable element of the problem is the corresponding domain (PROBLEM DOMAIN) the ingredients. The system is also the problem because the problem is usually the domain of certain ingredients. Therefore, the issue of domain analysis of the full and accurate understanding is to ensure systemic stability of the important foundation. So what is it targeted in the end Tongsudejiang, referring to the object in the world is an objective entity, it can know something (that is, data storage), do something (that is, packaging services), and synergy with other objects (through the exchange of information ), Completed (modular) system all the features. Why is the object of interest The answer is simple date to reuse. While computer generated from the beginning, we have reusable code, but object-oriented technology allows reuse is not only the code, there are many other things. By object-oriented technology, we can reuse requirements, analysis, design, test plans, user interface and architecture, and so on. Object-oriented analysis is built on objects and their properties, a category of its members, and some of these basic overall concept of the foundation. Encyclopedia Britannica: In human awareness and understanding of the real world in the course of three tectonic widespread use of the law: 1. Distinguish between objects and their properties. For example, the distinction between a tree and the tree the size or location of space. 2. Distinguish between the object and its components. For example, the distinction between a tree and tree branches. 3. A different kind of object and distinguish. For example, all the trees and all types of stone formation and type of distinction. OOA is built on more than three on the basis of common law. OOA model that describes a specific domain of the target, as well as a variety of structural relations and communications relations. OOA model has two purposes. First of all, every software have been established in specific real world, OOA model is used to formalize the real-world view. It established a variety of targets, namely that the major software systems as well as the organizational structure of the real world imposed on the software system of rules and constraints. Secondly, given a set of targets, OOA model provides them how collaborative software system to complete the work as specified. This synergy in the model that is targeted means of communication between a group of sources that link to the. Introduced more than a simple object-oriented analysis in this paper, and in that way, the following will study the object-oriented analysis of the hydraulic system design applications. The first tier, object - kind of question that the development of the basic system building blocks. Objects are in the real world application of the concept of abstract domain. This is a model of the whole. Figure at the outer boundary that examples of the border, in fact it shows that targeted non-empty. The icons lining the border, said the boundary. Sometimes some can be defined as a block to achieve the target, that is, only boundary and no examples of the border. In some cases, the definition of this target is very useful. We will call them template class or abstract category. Class can form a template for the more senior of the polymer to provide a convenient means.The second layer, layer attributes, the objects properties and examples of linking together a model of the attributes of the OOA. We object to the storage of data known as the objects properties. Examples of class between the constraints, they must comply with the application of the domain On certain restrictions or conditions of service rules. For example, after the abolition of deposit, the corresponding subscribers should also be cancelled, this may be a service rules. We call for these examples of linking bound. The third tier, service layer, the object of communication services and news of the OOA model of the service. We object to the work done by the method known as the services or. The different objects are respectively the implementation of certain work or function, communication between them through the news, the so-called synergies, as shown in Figure in the arrow. Object of services and examples of targeted information on communications between the common components of the OOA model of the service. The fourth layer, structural layer, the layer responsible for the capture application-specific domain of the s

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论