北京理工大学 容易忽略的非琐碎要求(示例) 酒店房间预订系统: R1:根据客房类型而不是客房号进行预订(业务细节) R2:考虑到预订客房的客户有可能不入住,可以接受 超过空闲客房数量的预订(边界条件) R3:授权的系统管理员可以自定义单价(权限)
容易忽略的非琐碎要求(示例) 酒店房间预订系统: R1:根据客房类型而不是客房号进行预订(业务细节) R2:考虑到预订客房的客户有可能不入住,可以接受 超过空闲客房数量的预订 (边界条件) R3:授权的系统管理员可以自定义单价(权限)
北京理工大学 3软件需求文档 d SRS Software requirement specification) 口 Heninger对软件需求文档提出的6点要求: It should specify external system behavior a It should specify constraints on the implementation a It should be easy to change It should serve as a reference tool for system maintainers a It should record forethought about the life cycle of the system It should characterize acceptable responses to undesired events
3.软件需求文档 SRS (Software Requirement Specification) Heninger 对软件需求文档提出的6点要求: ◼ It should specify external system behavior. ◼ It should specify constraints on the implementation. ◼ It should be easy to change. ◼ It should serve as a reference tool for system maintainers. ◼ It should record forethought about the life cycle of the system. ◼ It should characterize acceptable responses to undesired events
o Introduction Purpose 北京理工大学 Definitions BEIJING INSTITUTE OF TECHNOLOGY System overview ■ References 口 Overall description SRS结构 ■ Product perspective o System Interfaces o User interfaces a hardware interfaces a Software interfaces Communication interfaces o Memory Constraints o Operations o Site Adaptation Requirements Product functions User characteristics Constraints, assumptions and dependencies a Specific requirements External interface requirements Functional requirements Performance requirements Design constraints n Standards Compliance Logical database requirement Software System attributes o Reliability 口 Availability a Security n Maintainability o Portability
Introduction ◼ Purpose ◼ Definitions ◼ System overview ◼ References Overall description ◼ Product perspective System Interfaces User Interfaces Hardware interfaces Software interfaces Communication Interfaces Memory Constraints Operations Site Adaptation Requirements ◼ Product functions ◼ User characteristics ◼ Constraints, assumptions and dependencies Specific requirements ◼ External interface requirements ◼ Functional requirements ◼ Performance requirements ◼ Design constraints Standards Compliance ◼ Logical database requirement ◼ Software System attributes Reliability Availability Security Maintainability Portability ◼ Other requirements SRS结构
北京理工大学 SRS撰写要求 口正确性 口无二义性(需求确实是用户所需吗?) 口完整性(完备性,包括用户需要的每一功能或性能) 口一致性(需求之间不能互相矛盾) 口可检验性(非计算机人员可以理解) 口可实现性(有效性,需求是能够现实的吗?需要什么 硬件系统支持? 可修改性 口口口 可跟踪性 注释
SRS撰写要求 正确性 无二义性(需求确实是用户所需吗?) 完整性(完备性,包括用户需要的每一功能或性能) 一致性(需求之间不能互相矛盾) 可检验性(非计算机人员可以理解) 可实现性(有效性,需求是能够现实的吗?需要什么 硬件系统支持?) 可修改性 可跟踪性 注释
北京理工大学 讲授内容 软件需求 口需求工程 需求建模 口形式化描述
讲授内容 软件需求 需求工程 需求建模 形式化描述