基于 Android 的高校智能浴室管理系
统的设计与实现
Design and implementation of University intelligent bathroom
management system based on Android
学校:
系:
专业:
班级:
学生姓名:
指导教师:
摘 要
高校浴室常会出现人员流量高峰不平衡、浴间使用情况未知、衣柜占用率高等问
题,给学生们的校园生活带来诸多不便。本系统基于“互联网+”理念,借助了
物联网技术,将浴室环境情况反映到用户手机 APP 上,让用户随时随地查看浴
室的设施使用情况,帮助用户做出正确决策,躲避洗浴高峰时段,节省用户等待
时间,提高校园生活的满意度和舒适度。本研究是利用 Android 平台、Java 语
言等主流开发工具,设计开发一款智能浴室管理系统,未来可以应用到各种景区、
酒店等场景。
关键字:JAVA Android 公共浴室
Abstract
There are many problems in the bathroom of colleges and universities, such as
unbalanced peak flow of personnel, unknown use of bathrooms and high occupation
rate of wardrobes, which bring a lot of inconvenience to students' campus life. Based
on Internet plus mobile phone concept, the system reflects the bathroom
environment on the user's mobile phone APP, allowing users to check the use of
bathroom facilities whenever and wherever possible, to help users make the right
decisions, avoid the peak hours of bathing, save user waiting time, and improve the
satisfaction and comfort of Campus life. This research uses Android platform, Java
language and other mainstream development tools to design and develop an
intelligent bathroom management system, which can be applied to various scenic
spots, hotels and other scenes in the future.
Keywords: JAVA Android Public bathroom
目录
1.绪论....................................................................................................................6
1.1 研究背景.................................................................................................6
1.2 研究的意义.............................................................................................7
1.3 论文结构.................................................................................................8
2.项目可行性分析................................................................................................9
2.1 系统分析的方法...................................................................................10
2.2 系统可行性分析...................................................................................10
2.3 系统需求分析.......................................................................................12
2.3.1 功能性需求分析........................................................................12
2.3.2 非功能性需求分析....................................................................12
3.相关技术简介..................................................................................................14
3.1JAVA 程序语言.......................................................................................14
3.1.1 Java 简介....................................................................................14
3.1.2 Java 主要特性 ............................................................................15
3.2 数据库...................................................................................................18
3.3 Android 架构.........................................................................................21
3.3.1 Linux 内核 ..................................................................................22
3.3.2 程序库.......................................................................................22
3.3.3 Android 程序库..........................................................................23
3.3.4 应用框架...................................................................................24
3.3.5 应用程序...................................................................................24
4.系统设计实现..................................................................................................24
4.1 开发环境搭建......................................................................................25
4.1.1 window 系统安装 java...............................................................25
4.1.2 安装配置 Android Studio...........................................................29
4.1.3 创建 Android Studio 工程..........................................................29
4.2 系统功能设计......................................................................................30
4.3 数据结构设计.......................................................................................31
4.4 系统详细实现.......................................................................................32
4.4.1 用户登陆的设计与实现 ...........................................................32
4.4.2 智能预约功能............................................................................33
4.4.3 自助结算功能............................................................................34
4.4.4 维修上报功能............................................................................35
4.4.5 个人中心....................................................................................36
5.软件测试..........................................................................................................37
5.1 软件测试的目的...................................................................................38
5.2 软件测试的常用方式..........................................................................38
5.2.1 静态测试和动态测试 ................................................................38
5.2.2 黑盒测试、白盒测试和灰盒测试 ............................................39
5.2.4 手动测试和自动化测试 ............................................................40
5.3 测试用例...............................................................................................40
5.4 测试结果...............................................................................................41
6.研究总结..........................................................................................................42
参考文献.............................................................................................................43
致 谢...............................................................................................................44