面向对象建模技术在软件开发中的应用研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
本文首先阐述了几十年来软件开发一直出现成本高、质量低、进度缓慢、不能按时交付用户等问题的主要原因:(1)难于真正理解系统需求;(2)软件开发没有遵循一个确定的、供开发人员遵守的步骤,即软件过程,软件开发的管理、组织和协调存在问题;(3)先进的开发方法没有和开发活动很好地结合,没有很好地发挥作用。作者认为这是推动软件工程向前发展的主要动力,提出了解决这些问题的方法。
     任何系统都是由实体及其相互之间的关系构成的,使用面向对象的方法有助于掌握并控制系统的复杂性。模型是对现实世界的抽象,不同的模型反映系统的不同侧面,从不同的角度观察系统、建立不同的模型有助于对系统全面、真实地理解。使用标准建模语言UML(Unified Modeling Language)有助于开发人员和用户对系统达成共识,消除误解,本文还介绍了UML的特点和一些表示方法。
     对系统建模就是模型的生成和转换过程,过程是为了完成开发任务的一系列活动的集合,开发好一个系统需要按步骤有条不紊地组织这些活动。统一过程(Unified Process)提供了组织这些活动的一个框架,统一过程的生命期包括4个阶段和9个核心工作流,每个阶段分为几次迭代。
     文中接下来阐述了统一过程的特点:用例驱动、以架构为中心、增量迭代。用例是系统为每个用户提供的功能,项目一开始时就捕获用例,后续活动(分析、设计、实现和测试)围绕这些用例进行。复杂的工作理解起来就困难,把它进行分解,对这些小的部分的理解要比对整体的理解容易得多,同时任何系统的开发不可能一开始就完美无缺,先实现系统的架构,然后以此为中心逐渐增加功能,有利于系统的稳定。
     最后本文给出了综合使用UML和统一过程的具体实例,详细说明了稽查征费系统的整个建模过程,并指出了采用该过程的优点是:缩短了开发周期、提高产品质量、增加了管理的透明度便于在预算内及时向用户交付软件产品。
This paper first describes the reasons why cost is always high, quality is always low, schedule is always behind the plan, and software isn't delivered to user on time for some decades. First, it is difficult to understand user's real requirements; Second, the development hasn't followed an assured steps in software administration, organization and corresponding; Third, good methods has not combined with the software development process. The author considers these are main powers to progress the software engineering, and then brings forward the solutions of these problems.
    Real world is composed of entities and the relations of them. Using Object-Oriented method can help us to master and control the complexity of the system. Model is the abstraction of the real world; different model reflects different aspect of the system. It is a good idea to build different models from different angles to understand the real system. This paper also introduces the characteristics and notions of the UML; it can help developers and users to understand the system unanimously.
    Modeling a system is a process of creating and converting a model. A process is a series of activities to do a work. It's necessary to organize these activities according to a given steps in order to develop a system well. The Unified Process made up of four serial phases, which organized into some iterations and nine core workflows, provides a frame to organize them.
    Then this paper explains some concepts in Unified Process. It is based on sound software engineering principles such as taking an iterative; use case driven, and architecture-based approach to development.
    In the last the paper gives an example using UML and the Unified Process, describes the entire modeling process of developing a system. The features of this method are decrease the time of development, improve the quality of software, increase the transparence of management, and deliver the products to users in time and on budget.
引文
[1]周之英·《现代软件工程》上、中、下·第1版·科学出版社·1999.9
    [2]郑人杰·《实用软件工程》第2版·清华大学出版社·2001.7
    [3]张海藩·《软件工程导论》第3版·清华大学出版社,2001.7
    [4]何新贵,王玮等·《软件能力成熟度模型》·第1版·清华大学出版社·2000.11
    [5][美]D.特卡奇W.方A.苏·许文等·《可视化对象建模技术》·第1版·科学出版社·1999.4
    [6]Scott W. Ambler·"Enhancing the Unified Process" white paper·March 15, 2000
    [7]Ivar Jacobson等·《The Unified Software Development Process》·Addison-Wesley Longman·1999
    [8]蒋慧,吴礼发等·《UML Programming Guide核心设计技术》·第1版·北京希望电子出版社·2001.1
    [9]刘超,张莉等·《可视化面向对象建模技术—标准建模语言UML》·第1版·北京航空航天大学出版社·1999.7
    [10]Karl E. Wiegers·陆丽娜,王忠民,王志敏·《软件需求》·第1版·机械工业出版社·2000.7
    [11]Roger S. Pressman·黄柏素、梅宏·《软件工程—实践者的研究方法》·第4版·机械工业出版社·1999
    [12]《Oracle8i和UML》·第1版·机械工业出版社·2000.4
    [13]黄贤英·“UML建模过程及在需求分析中的应用”·《计算机工程》2001.11·P184
    [14]方潜生,张文祥·“一种适用于UML语言的软件开发过程”·《微机发展》·1999.1·P28
    [15]卢梅,李明树·“软件需求工程——方法及工具述评”《计算机研究与发展》·1999.11·p1289
    [16]邵维忠,梅宏·“统一建模语言UML述评”·《计算机研究与发展》1999.4·p35
    [17]樊东等·“面向对象软件开发及软件工程方法学实践与探讨”·《计算机工程与应用》·2001.13·p170
    [18]Macaulay LA. ·"Requirements Engineering"·London: Springer, 1996.4-5
    [19]Brooks F, The Mythical Man-Month, Addison-Wesley, 1975
    [20]Doug Rosenberg·"UML Applied: Nine Tips to Incorporating UML into Your Project", Software Development magazine, 1998
    [21]麦中凡 李庆如“统一的模型语言UML消灭对象建模的差别”,《国际电子报》,1998.4.13,4.20,4.27
    [22]Net Objectives·"Xtreme RUP-- Lightening Up the Rational Unified Process"·2/9/2001
    [23]Richard Barker·"Case Method: Entity Relationship Modeling"·Addison-Wesley, (Harlow, England: 1990).
    [24]James Rumbaugh, Michael Blaha, William Premerlani, Frederick Eddy,
    
    WilliamLorensen·"Object-oriented Modeling and Design"·,Prentice Hall (Englewood Cliffs,NJ:1991)
    [25] Paul Harmon and Mark Watson·"Understanding UML:The Developer's Guide"·Morgan Kaufmann Publishers, Inc., (San Francisco: 1998).
    [26] Grady Booch·"Object-oriented Analysis and Design"·Benjamin/Cummings Publishing Company, Inc., (Redwood City, CA: 1994)
    [27] Terry Quatrani·"Visual Modeling with Rational Rose and UML"·Addison-Wesley, (Reading, Massachusetts: 1998).
    [28] James Rumbaugh,Ivor Jacobson,Grady Booch·"The Unified Modeling Language ReferenceManual"·Addison-Wesley Longman·1999
    [29] James Rumbaugh,Ivor Jacobson,Grady Booch·"The Unified Modeling Language User Guide"·Addison-Wesley Longman·1999
    [30] Karl Wiegers·"Describes 10 Requirements Traps to Avoid"·Software Testing & Quality Engineering·January/February 2000.
    [31] Karl Wiegers·"Listening to the Customer's Voice"·Software Development·March 1997
    [32] McGettrucj A D·"The definition of Programming Languages"·Cambridge University press·1980
    [33] 参考站点 http://www.rational.com和http://www.umlchina.com.cn

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700