Design and Implementation of Java-based Book Borrowing Management System (Thesis + Source Code)_kaic

Abstract
With the advent of the era of big data, computers have become a necessity for people to enter digital life. Due to the maturity of computer technology, the powerful functions of the Internet are being exploited to the maximum extent. Through the Internet, people can complete book consultation without leaving home, which not only facilitates readers, but also solves the problem that in the traditional book management state, due to the lack of a standardized book management system, all tedious work must be done manually . The work of book management is very complicated. It generally includes the collection of the number of books, the count of the number of books that have been consulted, and the addition, deletion, and modification of the number of book users. This purely manual management method has many shortcomings, such as: the efficiency is very low when searching for the number, and it is easy to make mistakes when checking the order. For this reason, the library needs to continue to review, so that waste A large number of human resources and economic base.
This system chooses C# as the development language, matches with HTML web page design technology, uses HBuilder as the development platform, uses WampServer integrated installation environment, and uses MySQL as the background data storage, so as to develop and design the functions of data addition, modification, deletion and query[ 1]. Therefore, this system adopts the B/S architecture mode for development. Our business personnel can see the relevant information of the foreground pages of the entire system through the browser, and then complete the corresponding interaction logic with the background server through a click event, so as to perform a series of online book viewing steps.
Key words: book lending; library management; database
 
Abstract
With the advent of the era of big data, computer has become a must for people to enter into a numerical life. Due to the maturity of computer technology, the powerful functions of the Internet are also being exploited to the maximum extent. Through the network, people can stay at home to complete the book search, which is convenient for readers at the same time to solve the problem in the traditional state of library management, because there is no standardized library management system, all the tedious work must be completed by manual. The work of library management is very complicated, generally including the collection of the number of books, the number of books to check, in addition to the number of book users to increase, delete, access has been modified. This kind of pure artificial management method really has many shortcomings, such as: in the number of time to find the efficiency is very low, in order to check when easy to produce mistakes...... For this reason, libraries need to constantly review, resulting in a waste of human resources and economic foundation.
The system chooses C# as the development language, with HTML web design technology, HBuilder as the development platform, WampServer integrated installation environment, MySQL as the background data storage, so as to add, modify, delete and query the function of the development and design. Therefore, the system uses B/S architecture mode for development. Our business personnel can see the page related information of the whole system through the browser, and then complete the corresponding interaction logic between a click event and the background server, so as to carry out a series of online book viewing steps.
Key words:Library books;Library Management;MySQL 
 
目 录

Abstract
Chapter 1 Introduction 1.1 The research
background and significance of this topic 1.2 The research status of
this topic at home and abroad 3.2 System Design Principles 3.3 System Feasibility Analysis 3.3.1 Technical Feasibility 3.3.2 Economic Feasibility 3.3.3 Operational Feasibility 3.3.4 Social Feasibility 3.4 System Requirements Analysis 3.4.1 Functional Requirements Analysis 3.4.2 Analysis of non-functional requirements Chapter 4 System function design 4.1 System function design diagram 4.2 System architecture design 4.2.1 General login registration process design 4.2.2 General change password process design 4.2.3 General query management process design 4.2.4 Administrator user book management process design 4.2.5 Administrator user reader management process design 4.2.6 Administrator user system management process design 4.2.7 Administrator user system review process design 4.2.8 Reader user system review process design 4.3 System Use Case Diagram Chapter 5 Database Design





























5.1 Database Design Principles
5.2 Database Concept Design
5.3 Database Table Design
5.3.1 Number of Readers Table
5.3.2 Number of Books Table
5.3.3 Number of Libraries Table
5.3.4 Number of Administrators Table
5.3.5 Book Type Table
5.3 .6 Bookshelves Table
5.3.7 Publisher Number Table
5.3.8 Borrowing and Returning Number Table
5.3.9 Reader Type Table
5.3.10 Parameter Setting Table
Chapter 6 System Detailed Design and Implementation
6.1 User Main Page
6.2 Management
6.3 User Registration Design 6.4
User Login Design
6.5 Administrator Login Design 6.6
Consultation Management Design 6.7
System Consultation Design
6.8 Book Management
Design 6.9 Reader Management Design
6.10 Consultation Expiration Prompt Design
6.11 System Management Design
Chapter 7 System Testing
7.1 System Functional Test
7.2 System Performance Test
Conclusion
References
Acknowledgments

 
Chapter 1 Introduction
1.1 The background and significance of this subject research
In today's world economy with rapid progress, the particularity of numbers is more and more reflected, and gradually gain the public's attention. So how to develop and utilize multiple resources more effectively is a common concern of all countries. As we all know, libraries generally store a large amount of data, and store complex numbers of books and users. In the environment where users demand more and more functions, it needs the function of storing a lot of data. The library management system developed this time realizes the effective management of data. The result of this optimization makes it easier for readers and administrators to manage and view various data related to books in the library, making the digital management of the library more purposeful. Although the library management system has great advantages, its popularity is far from enough. In libraries that have not yet used the library management system, manual processing is still used at present, and the quantity of various data is manually marked. Such a management method currently has many shortcomings [2]. Especially when the data is too large, it is easy to cause statistical error information, and the management is inconvenient. The large amount of data is easy to cause loss, and it is difficult to consult later.
Its disadvantages become more apparent when the amount of data continues to increase. Especially for books with a large number and a large amount of data, how to realize quick search, how to quickly modify and manage has become a difficult point. In dealing with this problem, the library management system has great advantages, such as the ability to quickly check the required quantity, and it is convenient for the administrator to manage the quantity, the data storage is relatively large, and the security is relatively high. There is a long storage time and so on. At present, with the continuous development of technology, the library management system needs to be constantly updated to adapt to the development and needs of the times. Only by putting forward higher requirements can we design a better digital library system. Therefore, I suggest that it is necessary to design a library management system to make the management of the number of books more efficient and systematic to meet specific needs.
1.2 Current research status of this subject at home and abroad
At present, it is very convenient and quick to obtain the number of books you want by consulting, browsing and consulting books through the Internet. These requirements must be strengthened as soon as possible for the digital construction of the current library. In his published paper, Crisis found the existing problems through in-depth and detailed research on the current domestic and foreign library management systems, and used programming software to realize a web-based library management number system for these problems. The developed The results of the system are very suitable for the current needs, and the response is very good [3]. In his published paper, Guo Xianmin explained the significance and importance of the digital construction of library management, and introduced the characteristics of the library management system in detail. The problems
were studied, the causes of the problems were deeply and meticulously analyzed, and the countermeasures with strong operability were put forward, which provided a certain reference value for the current digital construction of library management. In his published paper, Zheng Xiangzheng conducted research on the current digital construction of library management, hoping to promote the improvement of the digital level of library management. In his published paper, he believed that in order to improve the level of library management, we must abandon the traditional Book management methods, and then use digital technology to realize the book management system based on web.

The second chapter is the introduction of development technology.
The design of this system is based on C# language and HTML web page design technology. With the help of HBuilder as the development platform, the entire system page design process is completed. The MySQL database is used for background data storage, based on the B/S architecture, which simplifies the development, maintenance and use of the system. Next, the key development technologies will be described one by one.
2.1 JDK installation and configuration
In the middle of the 20th century, Sun Microsystems introduced a new technology called JSP technology. This is a technology based on the entire Java system and Java Servlet design. We can use JSP technology to build a dynamic display website with security, reliability, and multi-platform development and use. This technology has played an important role in speeding up the development of dynamically displayed web pages [4]. Its advantages can be seen as follows:
Using JSP technology, we can use HTML tags to design web pages. The dynamic display content is formed by JSP technology (the content can be changed according to the demand, such as querying the information of the social security fund). The formed program is packaged into components JavaBeans and Servlet, and all codes are run on the server. At the same time, the required content is generated by the JSP interpretation engine, script program and JSP identifier, and finally the HTML page is transmitted to the browser. In this way, program writers can well protect personal codes, and make all HTML-based web browsers fully usable.
JDK is the JavaSE Development Kit. This toolkit is usually used to develop Java development programs. It provides various tools and various technical resources for writing and executing Java, such as Java writers, Java execution environments and frequently used databases [4] .
2.2HTML technology
HTML is specifically what we usually call hypertext markup language, an application program under a standard general markup language. Although HTML is not our commonly used programming language, it is very useful and is a markup language that must be used in web page production. "Hypertext" means that the page can contain many non-text elements, which are composed of various elements, such as pictures, videos, audio and so on. The structure of HTML is very simple, including head and body. The key function of the head part is to give the number of web pages, while the main function of the body part is to give the specific content of the web page. The production of HTML documents is relatively simple, but its functions cannot be underestimated. It supports embedding files in different data formats [5].
2.3MySQL database management system
MySQL is developed by a company in Sweden, and its whole belongs to Oracle's relational database management system. MySQL is one of the most useful software for web applications. It stores data in many different tables, which greatly improves the speed of operation while increasing the convenience of the system.
The biggest advantage and disadvantage of MySQL is the most standardized language SQL for database management. MySQL has the following characteristics, first of all, it is small in size, secondly, it runs fast, and it also has the advantages of low development cost. The most important thing is that his code is open to users, therefore, small and medium-sized systems think it is the best choice for developing system databases [6]. The most important thing is that MySQL has many features, including:
(1) Support multi-threading, effectively use CPU resources;
(2) Source code is portable;
(3) Support Linux, FreeBSD, Windows, Solaris and other operating systems ;
(4) Use optimized query algorithm, which greatly improves the speed of query;
(5) Provide interfaces (API) for multiple programming languages ​​(Java, C#, .net, C++, C, etc.).
2.4 Use of JDBC
The full name of JDBC is Java DataBase Commodity, which is a set of object-oriented application programming interfaces. It establishes a unified standard interface for accessing various relational databases.
The JDBC interfaces and classes used in this design system are encapsulated in the java.sql package. When using JDBC, direct "container" operations can be performed. The key code is as follows:
Class.forName("com.mysql.jdbc.Driver");
conn=DriverManager.getConnection("jdbc:mysql://localhost/yiliaobaoxian","root","123"); 
stmt=conn. createStatement();
System.out.println("Open database connection");

 

 

 

 

Guess you like

Origin blog.csdn.net/weixin_39563171/article/details/130786343