摘 要
推荐系统是目前互联网中最常见的一种智能产品形式。由于网络中信息量的快速增长以及图书出版行业出版量的攀升,人们需要一种办法,来解决信息过载的问题。此外,用户访问网络是为了获取信息,但并不是所有的访问都有很强的目的性,所以对于这些没有明确的目的的访问,就需要智能系统把一些用户可能感兴趣的信息推送给用户。基于这些需求,图书网站的推荐功能就变得非常重要。
本文首先对图书推荐系统的发展历史做了介绍,然后对开发图书推荐系统所需的项目管理工具(Maven、Git)、数据持久化工具(MyBatis,Spring MVC框架)和Bootstrap前端开发框架进行了简单分析,在此基础上,设计并开发了一套基于Web的图书推荐系统展示平台,主要工作可概括为四个方面。
1) 对图书推荐系统的结构进行了重新设计。主要是在Spring MVC框架的基础上,将系统分为了三层:Web层、服务与模块层、数据层,并对每层的结构与需要完成的功能做了定义。
2) 基于MySQL数据库管理系统,设计并建立了图书推荐系统所需的数据库,该数据库的数据共分为三个部分:原始数据、清洗后数据和用户数据。
3) 从便于操作和使用的角度出发,设计了图书推荐系统的页面,主要包括首页、搜索、展示、登录、注册等页面。
4) 对整个开发过程以及系统组成的三个主要类:控制器类、模块类与视图类进行了分析。
经过后期的数据库优化与功能测试,系统与同类网站相比,性能良好。
关键词:基于Web的图书推荐系统;展示平台;MVC框架;Web系统设计
Display Platform of Web-based Book Recommender System
Abstract
Recommender system is one of the most common intelligent product form in the internet recently. Since the growth of the information in the network as well as the growth of the amount of books, people need to solve the problem of information overload. Meanwhile, the users access to the network to obtain information, but not all have a strong purpose. So the system must push some information that user might be interested in to who accesses the website without strong purpose. That is why it is important for website to provide recommendation information.
First of all, we described the history of book recommender system. Then, made an introductory of the tool and frameworks used in development: Maven, the project management tool, Git, the version control system, MyBatis, the SQL Mapping Framework for Java, Spring MVC framework and Bootstrap, the front-end framework. Finally, designed and developed a display platform of web-based book recommender system on that. The main work is as follows.
1) Made redesign of the structure of the book recommendation system. Divided the system into three levels: the web level, the service and model level and the data level based on the Spring MVC framework. Made the definition of the structure and functions to be done on each layer.
2) Designed and built the database of the book recommender system based on the MySQL database management system. Database is divided into three parts: Original data, washed data and user data.
3) From the perspective of the ease of operation and use, designed the pages of the book recommender system. Pages have been divided into index, search, display and login and register parts.
4) Made analyses of the whole process of development and the three main classes: controller, model and view.
After database optimization and functional testing, system performs good compared with similar sites.
Key Words:Web-based Book Recommender System;Display Platform;MVC Framework;Web System Design