UML建模 结构化需求分析
第二组 校车座位预约系统
01 结构化需求分析概述
功能分解图:
需求优先级划分:
需求细化:
02 过程建模
数据流图DFD片段:
数据流图DFD-0层:
数据流图DFD-1层:
微规格说明(伪码):
Read the order has received
SELECT CASE
CASE 1(The order is “Choose”)
BEGIN IF
IF(The Number of remaining seats>0)
THEN re-set the seats-1
RETURN “Success” TO Choose ELSE
RETURN “No enough seats” TO Choose
END IF
CASE 2(The order is “Cancel”)
BEGIN IF
re-set seats+1
IF(Achieving breach of contract)
PUT Default mark TO ID
END IF
数据字典:
03 数据建模
ERD建模:(建立实体关系)
ERD建模:(添加详细描述信息)