本 科 生 毕 业 设 计
设计题目: 基于 SSH 的在线博客网站
学生姓名:
学生学号:
指导教师:
二级院系:
专业班级:
完成时间:
- I -
目 录
Abstract..................................................................................................................................................................................IV
第 1 章 概述...........................................................................................................................................................................1
1.1 课题背景 ................................................................................................................................................................1
1.2 课题意义 ................................................................................................................................................................1
1.3 文献综述 ................................................................................................................................................................2
1.3.1 技术综述...................................................................................................................................................2
第 2 章 系统分析...................................................................................................................................................................3
2.1 系统的需求分析 ...................................................................................................................................................3
2.2 业务流程分析........................................................................................................................................................4
2.2.1 注册用户业务流程分析..........................................................................................................................5
2.2.2 系统管理员业务流程分析.....................................................................................................................5
2.2.3 游客业务流程分析..................................................................................................................................6
2.3 数据流程分析........................................................................................................................................................7
2.3.1 用户管理模块...........................................................................................................................................7
2.3.2 文章管理模块...........................................................................................................................................8
2.3.3 相册管理模块...........................................................................................................................................8
2.3.4 系统公告管理模块..................................................................................................................................9
2.3.5 修改密码模块.........................................................................................................................................10
2.3.6 文章发布模块.........................................................................................................................................10
2.3.7 相册上传模块.........................................................................................................................................11
2.3.8 修改个人信息模块................................................................................................................................11
2.3.9 好友管理模块.........................................................................................................................................12
2.3.10 文章浏览模块 ......................................................................................................................................12
2.3.11 文章评论模块 ......................................................................................................................................13
2.3.12 相册浏览模块 ......................................................................................................................................13
2.4 数据字典..............................................................................................................................................................14
2.4.1 数据项的描述.........................................................................................................................................14
2.4.2 数据流的描述.........................................................................................................................................15
- II -
2.4.3 外部实体的描述....................................................................................................................................16
第 3 章 系统设计 ................................................................................................................................................................18
3.1 系统体系结构设计.............................................................................................................................................18
3.2 系统子模块功能介绍.........................................................................................................................................18
3.3 数据库设计..........................................................................................................................................................19
3.3.1 数据库概念设计——E-R 模型...........................................................................................................19
3.3.2 数据库逻辑设计——关系模型..........................................................................................................21
3.3.3 数据库选型.............................................................................................................................................21
3.3.4 数据库表结构设计................................................................................................................................21
3.3.5 数据库表间关系设计............................................................................................................................25
3.4 系统环境配置设计.............................................................................................................................................25
第 4 章 系统实现 ................................................................................................................................................................27
4.1 用户注册模块......................................................................................................................................................27
4.2 照片发布模块......................................................................................................................................................27
4.3 添加文章模块......................................................................................................................................................28
4.4 用户修改个人资料模块 ....................................................................................................................................29
4.5 管理员登陆模块.................................................................................................................................................29
4.6 注册用户管理模块.............................................................................................................................................30
4.7 公告管理模块......................................................................................................................................................31
第 5 章 系统测试 ................................................................................................................................................................32
5.1 测试目的..............................................................................................................................................................32
5.2 测试方法..............................................................................................................................................................32
5.1 测试结果..............................................................................................................................................................32
第 6 章 总结.........................................................................................................................................................................33
参 考 文 献.........................................................................................................................................................................34
致 谢................................................................................................................................................................................35
- III -
摘 要
本文对博客系统的设计与开发过程进行了分析与叙述。依照系统开发的实际操作步骤,文章从系统概
述、系统分析、系统设计和系统实现这四大章节对系统开发过程进行分别阐述。系统概述中主要进行了课
题背景、课题意义和现状分析;系统分析中主要包括了系统设计前的需求分析、业务流程分析、数据流程
分析和数据字典分析;而系统设计则是对系统体系结构、各功能模块、数据库结构设计等具体的系统实现
过程进行剖析展示,在系统设计章节中有详细的文字解释并配有表图说明。文章还列举了关键的功能模块
实现代码。
本文力求可以为博客系统的开发设计找到一种切实可行的解决方案,在分析了目前国内外博客系统的
现状的基础上,并经过反复摸索和学习研究后,借助编程语言 JSP 和 MYSQL 数据库最终实现了博客系统
的开发,并在一系列测试后,达成了人性化、所需功能完善、操作清晰的设计目标。
关键词:JSP;MYSQL;博客
- IV -
Abstract
In this paper, blog system design and development process is analyzed and described. In accordance with the
actual steps of system development, the article from the system overview, system analysis, system design and
system realization of these four sections of the system development process are described. System were the main
issues outlined in the background, meaning and status of the subject analysis; system analysis, system design
includes a pre-needs analysis, business process analysis, data flow analysis and data dictionary analysis; and system
design is the system architecture, various functional modules, database structure design to achieve specific process to
analyze the system display, the system design section to explain in more detail and with a table diagram shows. The
article also lists the key function module code
This paper seeks to blog system for development and design to find a practical solution in the analysis of -Bo at
home and abroad on the basis of the status of the system, and after repeated exploration and study after study, using
JSP and soft SQL programming language Server database and ultimately the blog system development, and in a
series of tests, reached a user-friendly, functional requirements, operations designed to clear
Key Words
:
JSP
;
MYSQL
;
Blog