食堂就餐卡系统设计

1、设计概述
原始朴素需求:
1.系统中每个消费者都有一张卡,在管理中心注册缴费,卡内记着消费者的身份(卡 id)、余额。
2.使用时将卡插入收款机则显示卡上金额,服务员按收款机上数字键,收款机自动计算
并显示消费额及余额。
3.管理中心的管理员监视每一笔消费,可打印出消费情况的相关统计数据。
1.1、功能概述
利用食堂已覆盖的 wifi 信号和带 wifi 模块儿的收款机。
系统主要功能包括 结算中心(记账服务),记账终端(收款机),
运维管理系统(卡片管理,卡充值,监测消费)。
使⽤者包括学生、教师,管理者。
基础用例如下

2、系统部署图与整体设计
2.1、系统部署图

3、系统设计
3.1、组件图

3.2、组件序列图
1.收款机上传消费记

2.运维管理系统查询消费记录
1.运维系统输入学生姓名,卡号等标识,通过 API 返回查询记录

评论