摘 要
2016年,我国在 “十三五”规划中,明确的提出新一代信息技术产业的发展重点将转移到培育人工智能、第五代移动通信、移动智能终端和先进传感器等方向。近年来智能手机、平板电脑、笔记本电脑等智能终端的快速普及,使得全国人民几乎每个人都拥有一部智能手机,每个家庭拥有一部电脑。国家通信部多次对我国各个通信运营商进行提速降费的政策要求,使得现在以及将来不仅流量费、宽带费越来越实惠,速度更是越来越快。基于以上现状,使得人们能随时随地的在线观看视频,这也促使了在线视频网站的快速发展。
以广大影视剧迷们为研究对象,深入了解影视剧迷对在线视频观看视频的需求进行分析,形成系统需求分析。系统以java为服务端的开发语言,以html5、jsp、css、javascript、ajax等前端语言做为前端开发语言,使用spring、springMVC、mybatis(SSM)做为整体的开发框架,使用MySQL做为数据库,使用Eclipse做为IDE工具,使用Tomcat做为web容器,设计一个符合影视剧迷们需求的在线视频网站。设计网站的前期工作包括对系统的各个功能进行详细分析,对数据库设计进行详细的描述,并画出各个模块的业务流程和系统功能模块图。把在线视频网站这个系统分为两大块:前台系统和后台管理系统,其中前台系统用于用户交互;后台管理系统用于管理网站。通过对系统的详细周全的设计,使用户不仅能观看和下载网站提供的视频、同时还能上传自己的视频与其他用户分享。此外经过大量的调研和测试,使得整个系统不仅为影视剧迷们使用起来操作简单方便快捷,也让网站管理者能对网站进行整体管理与把控。真正达到了信息化、规范化、高效管理化的目的。
关键词:在线视频网站;网站的设计与实现;SSM;Ajax;数据库设计
Abstract
In 2016, China in the specification for 13th Five-Year, clearly put forward the developments of the new generations of information technology industry will be transferred to the development of artificial intelligence, fifth generation mobile communications, mobile intelligent terminals and advanced sensors and other directions. In recent years, intelligent terminals such as smart phones, tablets, and laptops have been popularized so that almost everyone in the country has a smart phone; each family has a computer. The Ministry of communications has repeatedly made the policy requirements for the speed reduction of various telecom operators in China, making the current and future not only more and more affordable, but also faster and faster. At the same time, people can watch videos online anytime and anywhere.
Taking the fans of film and TV drama as the object of study, we thoroughly understand the needs of movie and TV fans to analyze online video watching videos, and form system requirement analysis. The system uses Java as the development language of the server. It takes the front-end language as HTML5, JSP, CSS, JavaScript, AJAX as front-end development language, uses spring, springMVC, mybatis (SSM) as the whole development framework, uses MySQL as the database, uses Eclipse as a tool, and uses it as a container. Design an online video website that is suitable for fans of movie and TV dramas. Through the detailed analysis of the various functions of the system, the design of the database is described in detail, and the business process and the function module diagram of each module are drawn. The online video website system is divided into two blocks: the front desk system and the backstage management system, in which the front desk is divided into 10 small modules: user login and exit module, user registration module, front page module, TV play module, movie module, animation module, variety module, video upload module, online play and download. Module and personal management center module; the background management system is divided into four small modules: the administrator login and exit module, video management module, user management module and authority management module. The video management module is divided into six sub modules: video upload module, home page management module, TV play management module, film Management module, variety management module, animation management module, user management module is divided into two sub modules: user management module, video audit module, authority management module is divided into two sub modules: account management module, authorization management module. Through the detailed and thorough design of the system, users can not only watch and download the video provided by the website, but also upload their video to share with other users. And after a lot of research and testing, the whole system is not only easy to operate for the movie and TV fans, but also allows the website manager to manage and control the web site as a whole. The purpose of informatization, standardization and efficient management is truly achieved.
Key words: Online video website; website design and implementation; SSM; Ajax; database design
目 录
1 绪论 1
1.1 项目背景 1
1.2 项目研究目的和意义 1
1.3 国内外研究现状 2
1.3.1国内研究现状 2
1.3.2国外研究现状 2
1.4 论文工作内容以及结构安排 3
1.4.1论文工作内容 3
1.4.2论文结构安排 3
2 可行性分析及关键技术介绍 4
2.1 技术可行性 4
2.2 系统操作可行性 4
2.3 系统关键技术介绍 4
2.3.1java语言 4
2.3.2Eclipse IDE工具 5
2.3.3spring 5
2.3.4springMVC 5
2.3.5 mybatis 6
2.3.6 AJAX 6
3 系统需求分析 7
3.1 系统业务流程 7
3.2 系统功能性需求 8
3.3 系统用户权限 9
3.4 系统非功能需求 9
3.4.1系统数据安全 9
3.4.2系统运行状态 10
4 系统设计与实现 10
4.1 系统的设计目标与原则 10
4.2 系统功能设计 11
4.3 数据库设计 12
4.3.1数据库概念模型设计 12
4.3.2数据库逻辑模型设计 13
4.3.3数据库表设计 14
4.4 系统功能模块实现 15
4.4.1用户登录与注销 15
4.4.2用户注册模块 16
4.4.3视频上传 17
4.4.4个人信息模块 17
4.4.5视频管理中心模块 18
4.5.6在线视频播放模块 19
4.5.7管理员登录模块 20
4.5.8视频管理模块 22
4.5.9用户管理模块 24
4.5.10 权限管理模块 24
5 系统测试 25
5.1 用户登录模块测试 26
5.2 用户注册模块测试 26
5.3 视频上传模块测试 27
5.4 个人信息模块测试 28
5.5 视频管理模块测试 28
5.6 管理员登录模块测试 29
5.7 后台视频管理模块测试 30
5.8 后台用户管理模块测试 30
6 结束语 31
6.1 总结 31
6.2 未来工作展望 31
谢 辞 32
参考文献 33
附 录 34
1关键代码 34
1.1框架的配置文件 34
1.2 关键类 37