Level of Requirements 业务需求 项目视图与范围文档 用户需求 质量属性 其他 非功能需求 用例文档 系统需求 功能需求

Slides:



Advertisements
Similar presentations
Web Role 的每台虚机运行有 IIS ,用于处理 Web 请求 Worker Role 用于运行后台进程 Cloud Service 是什么? 支持多层架构的应用容器 由多个 Windows 虚拟机集群构成 集群有两种类型: Web 和 Worker Cloud Service 做什么 进行应用的自动化部署.
Advertisements

台生vs.陸生— 生涯競爭力面面觀 主講人:吳正興
Ch02物件導向程式設計 物件導向系統分析與設計.
二維品質模式與麻醉前訪視滿意度 中文摘要 麻醉前訪視,是麻醉醫護人員對病患提供麻醉相關資訊與服務,並建立良好醫病關係的第一次接觸。本研究目的是以Kano‘s 二維品質模式,設計病患滿意度問卷,探討麻醉前訪視內容與病患滿意度之關係,以期分析關鍵品質要素為何,作為提高病患對醫療滿意度之參考。 本研究於台灣北部某醫學中心,通過該院人體試驗委員會審查後進行。對象為婦科排程手術住院病患,其中實驗組共107位病患,在麻醉醫師訪視之前,安排先觀看麻醉流程衛教影片;另外對照組111位病患,則未提供衛教影片。問卷於麻醉醫師
Today – Academic Presentation 学术报告
D、結構化技術 主要的結構化技術 結構化程式設計 (Structured Programming)
資料庫設計 Database Design.
附錄1 —— 《個人資料(私隱)條例》的釋義、原則及主要條文
-Artificial Neural Network- Hopfield Neural Network(HNN) 朝陽科技大學 資訊管理系 李麗華 教授.
Chaoping Li, Zhejiang University
四川省集体林权流转平台 中国西部林权交易网
Academic Year TFC EFL Data Collection Outline 学年美丽中国英语测试数据收集概述
關聯式資料庫.
Lotus Domino R7 Designer
Operating System Concepts 作業系統原理 Chapter 3 行程觀念 (Process Concept)
軟體原型 (Software Prototyping)
第六章 应用程序结构.
作 業 管 理 指導:盧淵源教授 第四組:碩士專班 N 徐天志 N 林耀宗 N 陳丁雲
軟體工程 -物件導向程式設計與UML系統分析實作
單元3:軟體設計 3-2 順序圖(Sequence Diagrams)
課務組 Curriculum Section
Retail Customer Online Registration 零售顧客線上註冊教學
Decision Support System (靜宜資管楊子青)
第4章(2) 空间数据库 —关系数据库 北京建筑工程学院 王文宇.
第5章 結構化分析與設計-流程塑模.
HLA - Time Management 陳昱豪.
微程序控制器 刘鹏 Dept. ISEE Zhejiang University
创建型设计模式.
第5章 資料倉儲的資料建置.
製程能力分析 何正斌 教授 國立屏東科技大學工業管理學系.
第14章 竞争市场上的企业 上海杉达学院 国贸系.
第三章 项目设定.
資訊系統文件化工具 東吳大學會計學系 謝 永 明.
第六章 : 資料模型之繪製 1. 前言 資料流程圖 ( DFD ) 及 處理邏輯工具
变频器和滤波器 分类和应用.
软件工程 Software Engineering
时序电路设计 刘鹏 浙江大学信息与电子工程系 Apr. 24, 2011 EE141
軟體工程:如何開發軟體? 把它看成是一件工程。 那麼就會有一些工具、技術、方法,也有管理的議題。
A、資訊系統開發概論與課程簡介 何謂資訊系統? 為何需要系統分析師? 需要瞭解哪些知識? 領域知識? 資訊科技? 開發方法與技術? 課程簡介.
Decision Support System (靜宜資管楊子青)
Advanced Basic Key Terms Dependency Actor Generation association
Abstract Data Types 抽象数据类型 Institute of Computer Software 2019/2/24
句子成分的省略(1).
Order Flow and Exchange Rate Dynamics
利用 ASP.NET MVC 提升您的 Web 應用程式
資料結構 Data Structures Fall 2006, 95學年第一學期 Instructor : 陳宗正.
成品检查报告 Inspection Report


Guide to a successful PowerPoint design – simple is best
Ericsson Innovation Award 2018 爱立信创新大赛 2018
梁文新 办公室:综合楼108 电 话: 软件工程导论 梁文新 办公室:综合楼108 电 话:
虚 拟 仪 器 virtual instrument
從 ER 到 Logical Schema ──兼談Schema Integration
华南师范大学生命科学学院05级技术(2)班 刘俏敏
4/30/2019 7:40 AM 約翰福音 15:9;17:20-23 加拉太書 6:1-2 © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
5/5/2019 7:06 PM 两跨框架梁截面配筋图的绘制 © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may.
Create and Use the Authorization Objects in ABAP
MODELING GENERALIZATION & REFINING THE DOMAIN MODEL
Enterprise Resource Planning System 企業資源規劃系統
PowerPoint Template.
5. Combinational Logic Analysis
何正斌 博士 國立屏東科技大學工業管理研究所 教授
Advanced Basic Key Terms Dependency Generalization Actor Stereotype
第四章 MSP430數位I/O原理與實驗.
怎樣把同一評估 給與在不同班級的學生 How to administer the Same assessment to students from Different classes and groups.
UML ISKM Lab.
质量管理体系与工具 工程管理学
第十一章、互動圖.
Windows Workflow Foundation CON 230
Presentation transcript:

Level of Requirements 业务需求 项目视图与范围文档 用户需求 质量属性 其他 非功能需求 用例文档 系统需求 功能需求 软件需求规格说明 其他 非功能需求 约束条件

The Example of STD

The Example of DFD Data Flow Diagrams

Use Case Example View Report Card Student Register for Courses Registrar Professor Billing System Course Catalog Register for Courses Select Courses to Teach Submit Grades Maintain Professor Information Maintain Student Information Close Registration Login

Requirements Specification Template(1) 一 引言 1 目的 2 文档约定 3 预期的读者和阅读建议 4 产品范围 5 参考文献 二 综合描述 1 产品的前景 2 产品的功能 3 用户类和特征 4 运行环境 5 设计和实现上的限制 6 假设和依赖

Requirements Specification Template(2) 三 外部接口需求 1 用户界面 2 硬件接口 3 软件接口 4 通信接口 四 系统特性 1 说明和优先级 2 激励/响应序列 3 功能需求

Requirements Specification Template(3) 五 其他非功能需求 1 性能需求 2 安全设施需求 3 安全性需求 4 软件质量属性 5 业务规则 6 用户文档 六 其他需求 附录A 词汇表 附录B 分析模型 附录C 待确定问题的列表

例: §3.概念模型和规范化 …… Instructor Student Enrolled in Teach Class I D # Name Sex Title Instructor ID Class ID Grade Student ID Credit Subject

Example 开发一个学生成绩管理系统 步骤 学生可以随时查询自己的成绩单 教务人员可以通过该系统维护学生信息、课程信息和成绩信息 系统必须提供必要的安全措施以防非法存取 步骤 创建实体关系图 创建数据流模型 编写数据字典 创建行为模型 编写加工规格说明

Structured Analysis Process (1) 数据建模 实体:学生、课程、成绩 属性: 学生:学号、姓名、性别、出生日期、入学年月 课程:课程编号、课程名称、课程学分、课程描述 成绩:学号、课程编号、分数、考核日期 ERD

Structured Analysis Process (2) 功能建模 第0层DFD 教务人员维护学生信息和课程信息,并登录 学生的选课成绩; 学生查询自己的成绩单。

Structured Analysis Process (3) 第1层DFD 对第0层DFD图中的一个加工“学生成绩管理”进行展开。

Structured Analysis Process (4) 第2层DFD 对第1层DFD图中的一个加工“查询学生成绩”进行展开。

Structured Analysis Process (5) 根据以上实例和经验,绘制数据流图应当遵循以下原则: 分层时,子图的输入、输出数据流必须和父图中相应加工的输入、输出数据流一致; 加工的编号应该唯一且具有层次性; 加工不应该只有输入或只有输出,通常既有输入又有输出; 数据流图不应反映处理的顺序; 加工之间应通过数据存储进行通信,避免从一个加工直接流到另一个加工; 数据应通过加工进行流动,避免从一个数据存储直接流到另一个数据存储; 数据流图中所有元素的命名应当对客户有意义,且与业务相关; 不要在一个图中绘制7个以上的加工,否则难于绘制和理解。

Structured Analysis Process (6) 编写数据字典 学生

Structured Analysis Process (7) 学号

Structured Analysis Process (8) 学生成绩查询

Structured Analysis Process (9) 行为建模 学生成绩信息需要采取安全措施,可以采取登录方法避免非法使用系统。这样,该系统存在“登录”、“正常”和“出错”等状态的转换。

DATA CONTEXT DIAGRAM object returned coins 0* selection Vend customer product object returned coins selection slug Context diagram describes the system function and defines the system scope Only one process bubble At least one input and one output flow At least one terminator All terminators are connected to at least one input or output flow No data exchanged between terminators

DFD 0: VEND PRODUCT object coins returned slug due price table 5* Dispense change 1* Get customer payment 3p Validate 2p product price 4p valid selection 6p price table products slug coins returned due Data Flow Diagrams are used for process decomposition Every process is decomposed in other processes (within a DFD) or in one PSPEC (outside a DFD) Rule of 5 +/- 2 is used: Balance between lack of information (3 or less) and too much (more than 7) Up to 4 levels of decomposition Each Data Flow Diagram specifies the decomposition of its parent bubble REMARK: There is no limit given by the technique itself. These limits are given by quality criteria (simplicity, …)

DFD 1: GET CUSTOMER PAYMENT Deposit coins 1.4p Accumulate 1.2p Clear payment 1.3p object 1.1p Validate slug coins_parameters coin held_coins coin_value current_payment Processes are the active elements in the model Process performs a transformation: if and only if ALL input information is available production of all information is IMMEDIATE, I.e. all processing is done in zero delay The output from the process should be a function of the input to it Data flows allow transit of data within the system Store is a place where information is preserved

DFD 5: DISPENSE CHANGE change due change coins coins 5.1 Get change 5.2 payment coins change coins

PSPEC DFD 0: VEND PRODUCT (PARTLY) object 5* Dispense change 1* Get customer payment 3p Validate 2p product price price table slug coins returned due valid selection PSPEC 3 PSPEC 2 PSPEC’s are the lowest abstraction level Make a PSPEC approximately 1/2 page long Shows the relation between process input and output flows Any form of specification may be used: Drawings Math equations Structured English PSPEC 3: Validate payment Inputs: payment : data in price : data in Outputs: change due : data out sufficient payment: control out Body: if payment >= price change due = payment - price sufficient payment = yes otherwise sufficient payment = no

SUMMARY 0* 1* 3* 2* Context Diagram DFD 0 DFD 1 DFD 2 DFD 3 1.1* 1.2p 3.1* 3.2p 3.3* DFD 1.1 DFD 3.1 DFD 3.3 PSPEC PSPEC PSPEC PSPEC PSPEC PSPEC PSPEC PSPEC PSPEC PSPEC PSPEC

CONTROL CONTEXT DIAGRAM - CCD customer 0* Vend product coin return request available Data flow Control flow Carries information needed Carries information that by a process to perform is to be interpreted for transformations changing system behavior and/or activating processes Control Context Diagram describes the system function and defines the system scope (same as for data) Control Context Diagram defines the external control interface of the system

DATA/CONTROL CONTEXT DIAGRAM customer 0* Vend product object returned coins selection slug coin return request available

CFD 0: VEND PRODUCT coin return request coin detected coins sufficient 5* Dispense change 1* Get customer payment 3p Validate 2p product price 4p valid selection 6p price table products coins coin detected dispensed sufficient available coin return request Control Flow Diagram (CFD) is coupled to the equivalent level DFD and shares the same processes Control Flow Diagram shows control flows instead of data flows The control processing is described in the Control Specification (CSPEC) The CSPEC is represented by a bar At most one CSPEC for each DFD/CFD

DFD/CFD 0: VEND PRODUCT coin return request coin detected object coins 5* Dispense change 1* Get customer payment 3p Validate 2p product price 4p valid selection 6p price table products slug coins returned due coin detected dispensed sufficient available coin return request

CFD 1: GET CUSTOMER PAYMENT Deposit coins 1.4p Accumulate 1.2p Clear payment 1.3p 1.1p Validate coins_parameters sufficient coin detected

DFD/CFD 1: GET CUSTOMER PAYMENT Deposit coins 1.4p Accumulate 1.2p Clear payment 1.3p object 1.1p Validate slug coins_parameters coin held_coins coin_value sufficient detected current_payment

CFD 5: DISPENSE CHANGE return request product available 5.1p Get coin 5.2p payment return request product available

DFD/CFD 5: DISPENSE CHANGE Get change coin 5.2p payment return request product available change due coins change coins

CSPEC - 3 LOGICAL BLOCKS ICF1 Out1 ICF2 ICF: Input Control Flow Sequential logic Event Logic Action Logic ICF3 ICF2 ICF1 Action1 Action2 Action3 Event1 Event2 Out1 Out2 Out3 ICF4 ICF5 Event3 ICF: Input Control Flow Out: CSPEC Control output ICF3 ICF2 ICF1 Out1 Out2 Out3 ICF4 ICF5

EVENT LOGIC Is specified in an event logic table: Only pertinent events combinations are showed One combination defines only one event Several distinct combinations may define the same event

SEQUENTIAL LOGIC It means to manage the historical aspect of events, It keeps memory of past events for the current abstraction level It describes the system OPERATING MODES It does not define the status of the processes represented on the current control diagram Process behavior is defined by: Operating modes Transitions : from an operating mode to an other Events : switch on transitions and/or actions Actions : activities associated to events 3 (exclusive) representations types may be used : State/Transition diagrams : State/Transition tables State/Events matrices

CSPEC 0: STATE TRANSITION DIAGRAM Waiting for a coin for selection Dispensing of product initial accept new coin product dispensed coin detected accept customer request sufficient payment dispense product coin return request return payment product available=no Waiting for selection OPERATING MODE TRANSITION ARC Event EVENT/ACTION Action

ACTION LOGIC Is defined in a logic table When a CSPEC result is only made of activators, no ”control out” part is necessary It is a good idea to group processes of the same activity type (pulse or permanent) in adjacent columns

CSPEC 0: PROCESS ACTIVATION MATRIX

CSPEC1: PROCESS ACTIVATION MATRIX Deposit coins 1.4p Accumulate 1.2p Clear payment 1.3p 1.1p Validate coins_parameters sufficient coin detected

CSPEC 5 - PROCESS ACTIVATION MATRIX Get change coin 5.2p payment return request product available

BEHAVIOUR REPRESENTATION

EXAMPLE OF REQUIREMENTS DICTIONARY (PARTLY) Name Composed of Type ……… ……… …... object [coin | slug] data product [soda | gum | candy] data coin 0{[quarter | nickel | dime]}8 data product available [“yes” | “no”] control ……… ……… …… quarter * 25 cents US currency*