Design of Library Management System
Design of Library Management System
Design of Library Management System
Keywords
Library Management System, C Language, Visual C++, Data Structure
1. Introduction
With the improvement of people’s level of knowledge, the library has become an
indispensable part of daily life. But the library storage and the business volume
are huge, the traditional accounts’ management is merely not feasible. At the
time, library management system comes into being and becomes an important
part of information construction gradually. In order to develop, build and adapt
to the modern information society, establishing a management information sys-
tem becomes the main trend, and also we can’t avoid the problem. The imple-
mentation of electronic book management can help human resource officials
free themselves from the heavy deskwork to complete some more important
work. Library management system is to reduce and solve the cumbersome manual
the administrator
Book number inquire the student flow chart flow chart
number of
students
Number of
borrowed
books
name
user for
student gender
list of class
borrowed
books
password Contact
number
The basic definition of book entity and attribute: books (book number, book
name, author, unit price, the number of user’s borrowed books, the borrower’s
number, the total number, whether to lend).
Books
status
number
author
price
the number
books the total
of user’s
borrowed number
books,
the
press borrower’s
number
Publicatio
category
n date
name
administrator
passworddd accountt
4. Software Testing
Software testing plays an important role in the software lifecycle. In the tradi-
tional waterfall model, software testing is only in the operation and maintenance
phase, and it is an important means to ensure the quality of the software before
the software products are delivered to the user. Recently, the software engineer-
ing community tends to a new view that the software lifecycle should be in-
cluded in each stage of the test, so as to test the results of this stage if it’s close to
the expected target, as soon as possible to find errors and amendments. If not
testing in the early stages, the wrong delay spread often leads to the great diffi-
culty of the final product testing.
The system completely uses code blocks programming tools, so the demand-
ing software runtime environment is more common and easy to operate. System
testing: using manual testing methods for system testing and starting from the
program debugging for the reason that software design needs to compile a lot of
code. But its wrong frequency is quite high. If there is no error, then test each
single module. After passing the test, then connect it with other modules to see if
the overall design is reasonable. At the beginning of the test, it is not necessary to
carry out the data in the real case, and some well-designed data can be used as a
test case. This will not only reduce the processing workload, but also easier to
find the error and determine the scope of the error. Functional testing of the test
object should focus on all testing requirements which can be directly traced to
use cases or business functions. Mainly using the black box test method to test
some of the system modules:
User login The administrator login page is red, and the user login page is sky
blue. When the login account and password have errors more than three times,
it suggests whether to re-enter.
New book stock in Inputting the correct account password, entering the
function modules of adding books in the administrator page, and it shows if it’s
successful to add books after enter the new book information.
Delete old books In the administrator page, you should select the delete book
function and enter the information of the book. If the book does not exist, it
should prompt the book does not exist. When you find the book successfully and
confirm the deletion, it shows delete the book successfully, and you can see
whether it was deleted successfully in the query module.
User management Administrators can manage user’s information, modify
user rights, log out users, and also initialize user login passwords, but adminis-
trators can not add users at will.
Borrowing books After the user login successfully, select the borrow func-
tion, enter the correct information of the book, you can achieve the function of
borrowing books. And you can’t borrow books before confirmation of user in-
formation, at the same time, system modifies the book borrow information.
Returning books After the user borrows the book, you can choose to return
the book. If you return the book that is not borrowed, it will suggest if you bor-
rowed this book or return the book once again. And at the same time, system
updates the book borrow information.
Library inquiry Users can select the book query function to view books. You
can choose number query, bibliographic query and fuzzy query. System will dis-
play the corresponding book information. When the user chooses a fuzzy query
and enters a keyword such as a part of the title, the corresponding matching
book can be obtained.
User register Visitors can register the user on the visitor page. They can reg-
ister as a user after entering the legal user number and user information. In the
meantime, they should set their own password, and can log on the user page.
5. Conclusion
With the development of network technology, the existing library management
system is more and more perfect, and the system function becomes more and
more comprehensive. Its convenience and usability cannot be comparable. So
Acknowledgements
Supported by the Teaching Reform Foundation of Huanggang Normal Univer-
sity (2017CE12, 2014kg15).
Conflicts of Interest
The authors declare no conflicts of interest regarding the publication of this paper.
References
[1] Tan, H. (2005) C Language Programming. Tsinghua University Press, Beijing.
[2] Meng, L. (2004) The Role of Digital Library in Cultivating Innovative Talents.
Journal of Beijing Forestry University (Social Sciences), 51, 12-15.
[3] Fan, X. (2001) On the Construction of Digital Library in China. Library and Infor-
mation Service, 3, 2-3.
[4] Xue, Z. (2002) Thoughts on the Digital Construction of Local University Libraries.
Journal of Anhui University, 6, 18-20.
[5] Xu, X. (2011) Design and Realization of Library Management System for Small and
Medium Sized Libraries. Zhengzhou University, Zhengzhou.
[6] Zhang, W. (2012) Design and Development of Library Management System. Com-
puter Software, 9, 165-167.
[7] Li, J. (2012) Design and Implementation of University Library Management System
Based on ASP. NET. Journal of Hunan University of Science and Technology, 8,
66-67.
[8] Guan, S. and Zhang, J. (2008) Design and Implementation of Library Management
System Based on C/S and B/S Mode. Modern Computer, 4, 112-116.
[9] Ha, S. (2010) The Research and Design of the Library Information System Based on
the Three-Tier Structure. Wuhan University of Technology, Wuhan.
[10] Zhao, M. and Gao, J. (2000) Some Considerations on the Digitalization of Library.
New Technology of Library and Information Service, 3, 59-61.
[11] Yang, X., Wei, Q. and Peng, X. (2009) System Architecture of Library 2.0. The Elec-
tronic Library, 27, 22-27. https://doi.org/10.1108/02640470910947629