欢迎来到天天文库
浏览记录
ID:42719111
大小:605.06 KB
页数:44页
时间:2019-09-21
《软件工程-第2章-数据流图》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、ToolsofSoftwareNeedAnalyzing需求分析工具NingHong-yun2009.8ToolsofSoftwareNeedAnalyzing需求分析工具Dataflowdiagram(DFD,数据流图)thehierarchicalstructureofDFD(数据流图的层次结构)StructuralanalysismethodBasedonDFD(基于DFD的结构化分析方法)TheprincipleofCheckingDFD(检查和修改数据流图的原则)Datadiction
2、ary(DD,数据词典)Sometoolswritingthebasicprocessinglogicdescription(基本加工逻辑描述的工具)StructuredEnglishDecisiontableDecisionTreeDataflowdiagram(DFD,数据流图)ThemostimportanttoolsofProjectNeedAnalyzingUsedforStageofFeasibilitystudyStageofNeedAnalyzing进行项目需求分析的重要工具适用的软
3、件项目开发阶段:可行性研究阶段软件需求分析阶段Dataflowdiagramofthemaingraphicelements(主要图形元素)编号加工名称DFDofBankWithdrawalsProcess描述银行取款过程的数据流图ExampleofDFD:DFDofOrderSystem订货系统的数据流图ExampleofDFD:BranchDataflow(分支数据流)thehierarchicalstructureofDFD(数据流图的层次结构)Usingthehierarchicalstru
4、cture(层次结构)Method:gradualdecomposition(逐步分解)graduallydecomposethesystemintoseveralfunctionalmodels(将系统逐步分解成若干功能模块)分层数据流图ExampleTop-levelDFD(顶层流图):Containsonlyoneprocessing.TheunderlyingDFD(底层流图):itsprocessingwithoutfurtherdecompositionMiddlelayerflowdi
5、agram(中间层流图):isthedetailedprocessingofoneofitsfatherDFD,atthesametime,itcanbedecomposedintoagroupofsubDFD.顶层流图:仅包含一个加工,它代表被开发系统。它的输入流是该系统的输入数据,输出流是系统所输出数据底层流图:是指其加工不需再做分解的数据流图,它处在最底层中间层流图:则表示对其上层父图的细化。它的每一加工可能继续细化,形成子图。Example:BuildinganStorebusinesspr
6、ocessingsystem(商店业务处理系统)Analyzing:Top-levelDFD(顶层流图):reflectsthetargetofthesystem.这个数据流图只是一个高层的系统逻辑模型,它反映了目标系统要实现的功能.StructuralanalysismethodBasedonDFD(基于DFD的结构化分析方法)Drawingthetop-levelDFD(顶层流图,0层)FindoutinputandoutputofthesystemFindoutthedatasourcean
7、dtheend-pointofthedataflowDrawthetop-levelDFDtoreflectthemostimportantbusinessprocesses首先确定系统的输入和输出确定数据流输入的源点和输出终点是顾客和供应商。根据商店业务,画出顶层数据流图,以反映最主要业务处理流程DrawingstepsofDFD(数据流图绘制步骤)StructuralanalysismethodBasedonDFD(基于DFD的结构化分析方法)Storebusinessprocessingsy
8、stem商店业务处理系统Drawingthe1-levelDFD(1层流图)Byanalyzing,weknowthatstorebusinessprocesseshasthreemainfunctions,marketing,purchasing,accounting.Fromtheinputdataflowoftheprocessing,事务处理,drawtheprocessingindetail,graduallytotheoutputdataflowofthe
此文档下载收益归作者所有