毕业设计说明书
面向特定群体的健康管理平台
设计与实现
班 级: 学号:
姓 名:
学 院:
专 业:
指导教师:
2014 年 6 月
软件工程
软件学院
面向特定群体的健康管理平台设计与实现
摘要
随着网络技术的不断发展,网站的开发与运用变得更加广泛。这次采用 java 语言
SSH 框架(Spring,Struts,Hibernate)设计并实现了面向特定群体的健康管理平台。该
网站主要有教师饮食管理、教师健康日志、教师体检管理、疾病预测评估等功能模块。
通过该网站,教师可以更好的关注自己的体检状况以及最近的身体状况,根据自身情况
调整饮食,睡眠等生活习惯,并且可以及时预测高血压以及糖尿病的患病可能性大小,
以便采取有效地预防措施。
本系统采用的是典型的 J2EE 三层结构,分为表现层、中间层(业务逻辑层)和数据服
务层。三层体系将业务规则、数据访问及合法性校验等工作放在中间层处理。客户端不
直接与数据库交互,而是通过组件与中间层建立连接,再由中间层与数据库交互。
关键词:健康管理,慢性病,Spring,Struts,Hibernate
Design and Implement of Health Management Platform for the Specific
Groups
Abstract
With the continuous development of network technology , the use of web site has became
more widespread. This time I use JAVA language and SSH frame (Spring , Struts , Hibernate)
to design and implement the health management platform for specific groups. Dietary
management of teachers, teachers’ health log, medical management for teachers, disease
forecast are designed in the web. Through the site, teachers can focus on their physical
condition better, also can according to their circumstances to adjust their diet, sleep habits, etc.
At the same time, we can take preventive measures to avoid hypertension and diabetes
effectively.
The system uses a three-tier structure called J2EE, divided into presentation layer,
intermediate layer (business logic layer) and data services layer. Three-tier system put
business rules, data access and legality verification work on the middle layer to process.
Client does not establish a direct interaction with database, but make connections with the
middle tier by components and then interacts with the database on the middle layer .
Keywords: Healthy Manage , Chronic disease , Spring , Struts , Hibernate
第 I 页 共 III 页
目 录
1 引言.....................................................................1
1.1 设计背景...............................................................1
1.2 设计目的和意义.........................................................1
1.3 国内外研究现状 ........................................................2
2 系统需求分析 ............................................................3
2.1 系统目标...............................................................3
2.2 系统功能要求 ..........................................................3
2.2.1 前台功能.............................................................3
2.2.2 后台功能.............................................................4
2.3 系统性能要求 ..........................................................4
2.4 系统数据要求...........................................................4
2.4.1 数据的性质...........................................................4
2.4.2 数据字典.............................................................5
2.4.3 实体联系图...........................................................6
3 系统设计 ................................................................9
3.1 开发工具介绍 ..........................................................9
3.1.1 My eclipse 介绍......................................................9
3.1.2 Oracle 介绍..........................................................9
3.2 开发技术介绍..........................................................10
3.2.1 Struts 2 介绍.......................................................10
3.2.2 Spring 介绍.........................................................11
3.2.3 Hibernate 介绍......................................................11
3.2.4 Jsp 介绍............................................................12
3.2.5 Jquery 介绍.........................................................12
3.2.6 Dwr(Ajax)介绍 ......................................................13
3.3 系统架构设计 .........................................................13
3.3.1 Hibernate 持久化....................................................15
第 II 页 共 III 页
3.3.2 Service 层..........................................................16
4 系统概要设计 ...........................................................17
4.1 系统体系结构..........................................................17
4.1.1 设计原则 ...........................................................17
4.1.2 运行架构 ...........................................................17
4.2 网站功能结构 .........................................................18
4.3 数据库表设计..........................................................19
4.3.1 数据库详细设计 .....................................................19
4.3.2 数据库逻辑结构设计 .................................................19
4.3.3 数据库表设计 .......................................................20
4.4 信息安全设计 .........................................................21
4.4.1 网络安全 ...........................................................22
4.4.2 其他安全 ...........................................................22
5 详细设计................................................................23
5.1 系统流程图 ...........................................................23
5.2 前台主页界面设计 .....................................................23
5.2.1 前台主页功能设计....................................................23
5.2.2 教师饮食管理功能设计................................................24
5.2.3 教师健康日志功能设计................................................25
5.2.4 教师体检管理功能设计................................................26
5.2.5 疾病预测评估功能设计................................................27
5.2.6 注册功能设计........................................................28
5.3 后台主页界面设计......................................................29
5.3.1 管理员用户登录功能..................................................29
5.3.2 管理管理员功能......................................................30
5.3.3 管理员管理体检结果..................................................31
5.3.4 管理员管理健康新闻..................................................32
5.3.5 管理员管理教师功能..................................................33
6 系统测试 ...............................................................34