基于微信小程序的图书管理系统设计毕业论文
2021-04-05 00:44:28
摘 要
基于微信小程序的图书管理系统是借助于时下最流行的即时通讯软件微信所带有的小程序工具所开发的一个系统。传统的图书管理系统大多都是在PC端,采用传统的B/S架构,虽然能够满足图书管理系统的基本功能,但由于是PC端,所以无法满足用户实时的便捷需求。近几年,随着移动互联网的飞速发展,手机APP带来的便捷为此提供了很好的解决方案,但是APP开发成本高,推广性不强,用户量少等也成了新的弊端,这使得有关图书管理程序的APP也并未十分流行。随着时代变迁与用户习惯的不断改变,图书管理系统的实时便捷性与个性化功能的实现已成为迫切需要解决的问题。
本次设计基于移动网络环境下图书管理系统的特点、现状以及微信带来的影响,将图书管理系统与微信小程序结合,通过对原有图书管理系统的分析以及对微信小程序开发模式的研究,实现了以书籍列表展示模块,书籍详情信息展示模块,书籍借阅信息查看,二维码扫描借还书模块,以及用户个人信息管理模块为主的基于微信平台的小程序图书管理系统。
本次设计采用前后端分离的设计思想,前端利用微信小程序提供给读者用户书籍信息展示界面,书籍借阅界面,附近图书馆信息界面以及个人信息查看界面。后端利用Web服务器以及豆瓣图书为图书管理系统提供API接口。在微信小程序的开发模式下,采用了Java开发语,SpringBoot开发框架,MySql数据库以及Tomcat后台服务器的实现,满足了用户的实时性需求的同时,避免了随着业务需求以及业务规模的改变,系统结构拓展性差,复杂性高的问题。
本文主要研究的内容有:
(1)背景与意义研究。研究当下国内外图书管理系统电脑端以及相关APP的实时性差,开发成本高,推广难等问题,对微信及微信小程序进行功能介绍。分析对比之下,阐述本次系统开发采用微信小程序的原因以及优势。
(2)需求分析。对基于微信小程序的图书管理系统进行需求分析,基于可拓展性与可维护性数据交互的便捷需求,明确图书管理系统采用前后端分离的思想,采用Java为开发语言,利用SpringBooot开发框架,后台服务器采用Tomcat服务器与小程序前端进行数据交互。
(3系统设计与实现。明确系统各模块的功能,针对每个模块进行系统设计,画出核心模块的操作流程,对设计出的模块利用代码实现。
(4)系统测试。对最终设计出来的系统进行测试,并附上相应代码与结果图。得出测试结论。
最终经过对系统的功能测试,系统各功能模块均能正常使用,能够满足用户的基本需求。
关键词:微信,小程序,图书管理系统
Abstract
The library management system based on Wechat widget is a system developed with the help of the widget tools of the most popular instant messaging software, Wechat. Most of the traditional library management systems are on the PC side, using the traditional B/S architecture, although it can meet the basic functions of the library management system, but because it is on the PC side, it can not meet the user's real-time convenience needs. In recent years, with the rapid development of mobile internet, the convenience brought by mobile APP provides a good solution for this problem. However, the high cost of developing APP, the weak popularization and the small number of users have also become new drawbacks, which makes the relevant book management procedures of APP not very popular. With the changes of times and user habits, the realization of real-time convenience and personalized functions of library management system has become an urgent problem to be solved.
This design is based on the characteristics, current situation and influence of the library management system under the mobile network environment. It combines the library management system with the Wechat widget program. Through the analysis of the original library management system and the research of the development mode of the Wechat widget program, it realizes the display module of book list, the display module of book details, the viewing of book borrowing information and two-dimensional. The small program library management system based on Wechat platform is mainly composed of code scanning borrowing and returning module,and user personal information management module.
This design adopts the idea of front-end and back-end separation. The front-end provides readers with book information display interface, book borrowing interface, nearby library information interface and personal information viewing interface by using Wechat applet. The back end provides API interface for library management system by using Web server and Douban book. In the development mode of Wechat applet, Java development language, SpringBook development framework, MySql database and Tomcat back-end server are adopted to meet the real-time needs of users, while avoiding the problems of poor expansion and high complexity of system structure with the change of business requirements and business scale.
The main contents of this paper are as follows:
(1) Background and significance study. This paper studies the problems of poor real-time performance, high development cost and difficult promotion of the current domestic and foreign library management system computer terminal and related APP, and introduces the functions of Wechat and Wechat applet. By comparison and analysis, this paper expounds the reasons and advantages of using Wechat applet in the system development.
(2) Demand analysis. Based on the requirement analysis of the library management system based on the Wechat applet, and the convenient requirement of data interaction between extensibility and maintainability, the paper makes clear that the library management system adopts the idea of front-end separation, uses Java as the development language, uses Spring Booot development framework, and uses Tomcat server as the background server to interact with the front-end of the applet.
(3) System design and implementation. Define the function of each module of the system, design the system for each module, draw the operation flow of the core module, and implement the designed module by code.
(4) System testing. The final design of the system is tested, and the corresponding code and results are attached. The test conclusion is drawn.
Finally, after the functional test of the system, the functional modules of the system can be used normally and meet the basic needs of users.
Key words: WeChat, Mini Programs, Book Management system
目 录
第1章 绪论 1
1.1 研究背景及意义 1
1.2 国内外研究现状 1
1.3 本文主要研究内容和组织结构 2
第2章 微信小程序图书管理系统需求分析与设计 3
2.1 微信小程序图书管理系统的功能性需求 3
2.1.1 小程序功能需求分析 3
2.1.2 用户功能需求分析 4
2.1.3 管理员功能需求分析 6
2.2微信小程序图书管理系统的非功能需求 6
2.3 微信小程序图书管理系统的可行性分析 7
2.3.1 经济可行性分析 7
2.3.2 技术及操作可行性分析 7
2.4 系统总体架构设计 7
2.5 系统相关技术方案 8
2.5.1 开发工具 8
2.5.2 系统数据通信与交互 9
2.5.3 SpringBoot框架 11
第3章 微信小程序图书管理系统详细设计与实现 12
3.1 系统整体功能设计 12
3.2 前端UI设计 12
3.3 系统实现流程设计 13