- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
UML需求建模PPT课件.ppt
面向对象分析——需求建模 提纲 Use Case 示例 一、 Use Case Use Case Describe or capture functional requirements; Represent the desired behavior of system; Identify users (actors) of the system and associated processes 一、 Use Case Use Case Is a collection of task-related activities describing a discrete chunk of a system; Describes a set of actions sequences that a system performs to present observable result to an actor; Describe a system from an external usage viewpoint; 一、 Use Case Key attributes of a use case description; Action sequence; Includes variants; Produces observable results; A use case does not describe: Non-functional requirement; User interfaces; Performance goal; 一、 Use Case use case relationships generalization; Include; Extend; Identifying Use Case Use Cases describe: The functions that user wants a system to accomplish; The operations that create ,read, update, delete information; How actors are notified of the changes to the internal state and how they notify the system about external events Identifying Actors To determine who are the actors ,we try to answer the following questions: Who use the system; Who gets information from the system; Who provides information to the system; Who installs, start up or maintains the system; Use Case Template 二、 示例(ATM) 建立用例模型 使用用例的方法来描述系统的功能需求的过程就是用例建模,用例模型主要包括以下两部分内容: 用例图(Use Case Diagram) 确定系统中所包含的参与者、用例和两者之间的对应关系,用例图描述的是关于系统功能的一个概述。 用例规约(Use Case Specification) 针对每一个用例都应该有一个用例规约文档与之相对应,该文档描述用例的细节内容。 二、 示例(ATM) 建立用例模型 在用例建模的过程中,我们建议的步聚是先找出参与者,再根据参与者确定每个参与者相关的用例,最后再细化每一个用例的用例规约。 二、 示例(ATM) 寻找参与者 二、 示例(ATM) 系统边界决定了参与者 二、 示例(ATM) 系统边界决定了参与者 二、 示例(ATM) 特殊的参与者 系统时钟 硬件中断 ……. 二、 示例(ATM) 确定用例 回答前面所提问题,可以帮助用例的确定! 二、 示例(ATM) 确定用例 注意事项: 用例必须是由某一个主角触发而产生的活动,即每个用例至少应该涉及一个主角 ;反之,每个参与者也必须至少涉及到一个用例 ; 用例模型必须是易于理解的 (参与者的名称一般都是名词,用例名称一般都是动宾词组 )(命名问题)。 二、 示例(ATM) 确定用例 注意事项: 对于同一个系统,不同的人对于参与者和用例都可能有不同的抽象结果,因而得到不同的用例模型 ,一个好的用例模型应该能够容易被不同的涉众所理解,并且不同的涉众对于同一用例模型的理解应该是一致的。 二、 示例(ATM) 用例规约
文档评论(0)