Sie sind auf Seite 1von 39

Library Management System Aprotrain-Aptech

Library Management System Documentation

Batch: C0809HV

Team: No.12
Dang The Cuong (Team Leader)

Tran Tien Dung


Group Member:
Nguyen Duc Quyet

Pham Van Toan


Ha Noi - May 2010

ACKNOWLEDGEMENT

Group12 1
Library Management System Aprotrain-Aptech

At first, we would like to thank all those who have supported and helped our Team complete this
eProject successfully.

We would like to acknowledge the eProject Team at Head Office, India who guided and helps
us.

Finally, we would like to thank Mr. Luong Trung Kien who supported and teach us to come up
with this project.

TABLE OF CONTENT

SYNOPSIS..................................................................................... 4

Book Managements............................................................................................4

User Management..............................................................................................4

SYSTEM ANALYSIS........................................................................5

Problem Definition.............................................................................................5

Customer Requirement Specification..................................................................5


2.1 User (Staff)....................................................................................................................5
2.2 Admin............................................................................................................................5

System Functions..............................................................................................6

Account Management.........................................................................................6

Book Management.............................................................................................6

Statistic Book....................................................................................................6

SYSTEM ARCHITECTURE AND DESIGN:............................................6

Hardware Requirement:.....................................................................................6

Software Requirement:......................................................................................6

4.3. System Architecture:...............................................................................7

SYSTEM DESIGN............................................................................ 8

Data Flow Diagram.............................................................................................8


DFD Level 0 - Context Diagram...........................................................................................9
DFD Level 1 – Application Process.......................................................................................9

Group12 2
Library Management System Aprotrain-Aptech

DFD Level 2 – User ‘s Functions.........................................................................................10


..........................................................................................................................................10
1.4. DFD Level 2 – Manager ‘s Functions...........................................................................11

Functional Hierarchy Diagram...........................................................................12

Entity – Relationship Diagram...........................................................................13

Table Design....................................................................................................14
Table User: Store personal information about users..........................................................14
Table Transactions: Store information about transactions.................................................14
Table Request_Book: Information storage requirements of users request books...............14
Table Book_Categories:.....................................................................................................15
Table Book:........................................................................................................................15

Database Design:.............................................................................................16
Table User........................................................................................................................16
Table Transaction.............................................................................................................16
Table Request_Book.........................................................................................................17
Table Book_Categories.....................................................................................................17
Table Book........................................................................................................................17
Detail of E-R Diagram for Database..................................................................................18

Flow charts......................................................................................................19
Login Flow Chart:...............................................................................................................19
Add new Book into Library by Administrator:.....................................................................20
Update Book’s information by Administrator:....................................................................21
Delete Book by Administrator ...........................................................................................21
Add new Employee by Administrator:................................................................................22
Update Employee’s information:........................................................................................23
Delete Employee by Administrator:...................................................................................24
Process borrow book by Administrator:.............................................................................26
Process return book by administrator :..............................................................................27
Add request a new book: ..............................................................................................28
Process change password :................................................................................................29

GRAPHIC USER INTERFACE (SCREEN SHOTS).................................30


Login..................................................................................................................................30
Main Interface....................................................................................................................31
Add New Book...................................................................................................................32
Search Book......................................................................................................................32
User Information................................................................................................................33
Request Add New Book......................................................................................................34
Process Transactions.........................................................................................................35
Your Information................................................................................................................36
Search Book......................................................................................................................37
Statistic.............................................................................................................................38

REPORT......................................................................................39

Group12 3
Library Management System Aprotrain-Aptech

Synopsis
The Library Management System (LMS) application which is to be developed for
Windows platform using:
- Java SE (JDK 1.6.0_17)

- NetBean IDE 6.8

- Microsoft SQL Server 2005

- Microsoft Word 2003

- Smart Draw 2010

The application should perform the following functions:

Book Managements
a. CRUD Books
b. Search Books
c. Request new book
d. Borrow books

User Management
e. CRUD User
f. Change Password
g. Search books
h. View statistics

Group12 4
Library Management System Aprotrain-Aptech

System Analysis.

Problem Definition.

Library is the knowledge source of human; therefore, the number of books in each
library is huge treasures. Thus, managing library system logically and avoiding missing valuable
books as well as managing book borrowing and returning are actually difficult.
If you are borrowers, you need more time to consider whether the book you need is available or
not.
If you are librarians, it also takes much time for you to control all books in the library.
Moreover, if any book is borrowed, it is compulsory to be taken note. All actions are
administered on paper. That is so dangerous because of mistake risks. Also, it wastes time. In
contrast, just by using the software of library system management, you can do everything.
Through the software of managing library system, you can control every book with its own
code. You can manage books which is borrowed and given back rationally and reasonably. It can
allow you to list book titles which are frequently borrowed or books which must be returned on
the day or books which are available in the library in order to meet people’s demand. This
software will help us save time as well as manage library with high accuracy.

Customer Requirement Specification.

2.1 User (Staff)


- The entire staff of the company signs in to the system (Each employee will be Admin
to provide an account of his).
- Users have the right to borrow books.
- Users have the right book search.
- Users have the right to enter the proposed (request) new books.

2.2 Admin
- Have the right to manage user
+ Can add new, delete, suspend the account of user
- Have the right to manage the books
+ Can add, remove, and update books
+ Mange new books are requested by user.
+ Statistics books.

Group12 5
Library Management System Aprotrain-Aptech

System Functions.

Account Management
1.1.1. Login and logout.
1.1.2. Change password.
1.1.3. Add a new account
1.1.4. Edit/remove account
1.1.5. Search user

Book Management
1.1.6. Add book
1.1.7. Remove book.
1.1.8. Update book
1.1.9. Search book.
1.1.10. Add request new book.
1.1.11. Transaction Management
1.1.12. Processing borrow book.
1.1.13. Processing return book.

Statistic Book
1.1.14. Quantity of Books.
1.1.15. The most borrow books.
1.1.16. Statistic 20 new books.
1.1.17. Statistic 20 user borrowed the most books.
1.1.18. Statistic user overdue paid.

System Architecture and Design:

Hardware Requirement:
Device Minimum Requirement Recommend Requirement
CPU ~1Ghz Intel/AMD processors. ~1.5Ghz+ Intel/AMD
processors.
RAM 256Mb 1Gb
HDD 20Gb 80Gb
VGA Memory 32Mb 128Mb
Network 10Mbs LAN 100Mbs LAN

Software Requirement:

Type Name Version

Group12 6
Library Management System Aprotrain-Aptech

Operating System Microsoft Window XP, Vista or 7 32bit


Frame Work Sun Java SE JDK 1.5 or higher
Deployment Software Net Bean IDE 6.8
Database Microsoft SQL Server 2005

4.3. System Architecture:

TIER 1 USER INTERFACE


Presentation Tier GUI COMPONENTS

TIER 2
DATABASE ACCESS
Database Tier

Two Tier Architecture of the Project

Group12 7
Library Management System Aprotrain-Aptech

System Design
Data Flow Diagram

Group12 8
Library Management System Aprotrain-Aptech

DFD Level 0 - Context Diagram

Context Diagram

DFD Level 1 – Application Process

Group12 9
Library Management System Aprotrain-Aptech

DFD Level 2 – User ‘s Functions

Group12 10
Library Management System Aprotrain-Aptech

1.4. DFD Level 2 – Manager ‘s Functions

Group12 11
Library Management System Aprotrain-Aptech

Functional Hierarchy Diagram

Group12 12
Library Management System Aprotrain-Aptech

Entity – Relationship Diagram

Book Request
Categories Book
1 N

Has Has

N
1

Books User

1 1

Has

N
Has Transaction

Group12 13
Library Management System Aprotrain-Aptech

Table Design

Table User: Store personal information about users

tblUSER
No Field Name Data type Null Key Description
PK,I
1 User_ID Int No D Stores the number of the User
2 User_Name varchar(50) No Store information about the user name
Store information about the full name of
3 User_FullName nvarchar(50) Yes the user
4 Password varchar(100) No Store information about passwords
5 User_Address nvarchar(50) Yes Store information on address
User_PhoneNumbe
6 r varchar(15) Yes Store information about phone numbers
7 User_Departement nvarchar(50) No Store the department of the User
There is two type user: manager(1) and
8 User_Type Bit No employee(0)

Table Transactions: Store information about transactions

tblTransactions
No Field Name Data type Null Key Description
PK,I
1 Transaction_ID Int No D Stores the number of the transactions
2 User_Id Int No FK Stores the number of the user
3 Book_Id Int No FK Archive code number book
4 Date_of_Borrow datetime No Archive Date borrow book
5 Date_of_Return datetime No Archive Date return book
6 Status Bit No Archive Transaction Status

Table Request_Book: Information storage requirements of users


request books.

tblRequest_Book
No Field Name Data type Null Key Description

Group12 14
Library Management System Aprotrain-Aptech

1 Request_Book_Id Int No PK,I ID required to add new books


D
2 Request_Book_Title nvarchar(200) No Title of book to add new
3 Request_Book_Author nvarchar(50) No Name the author’s book to add
new
4 Request_Book_Category nvarchar(50) No Category to add new
5 User_Id Int No FK Stores the number of the user

Table Book_Categories:

tblBook_Categories
No Field Name Data type Null Key Description
1 Book_Category_ID Int No FK,I Archive of category code books
D
2 Book_Category_Name nvarchar(200) No Archive of category name books

Table Book:

tblBook
No Field Name Data type Null Key Description
PK,I
1 Book_Id Int No Archive code number books
D
2 Book_CallNumber varchar(100) No Archive Call Number of books (Unique)
3 Book_ISBN varchar(100) No Archive ISBN (Unique)
4 Book_Category_ID Int No FK Archive of category code books
5 Book_Title nvarchar(300) No Archive title of the books
Book_Author_Nam
6 nvarchar(300) No Archive author of the book
e
7 Book_PublisherId nvarchar(300) No Archive book’s publishers
8 Book_Quantity Int No Quantity of books

Group12 15
Library Management System Aprotrain-Aptech

Database Design:

Table User

Table Transaction

Group12 16
Library Management System Aprotrain-Aptech

Table Request_Book

Table Book_Categories

Table Book

Group12 17
Library Management System Aprotrain-Aptech

Detail of E-R Diagram for Database

Group12 18
Library Management System Aprotrain-Aptech

Flow charts

Login Flow Chart:

Group12 19
Library Management System Aprotrain-Aptech

Add new Book into Library by Administrator:

Group12 20
Library Management System Aprotrain-Aptech

Update Book’s information by Administrator:

Delete Book by Administrator

Group12 21
Library Management System Aprotrain-Aptech

Add new Employee by Administrator:

Group12 22
Library Management System Aprotrain-Aptech

Update Employee’s information:

Group12 23
Library Management System Aprotrain-Aptech

Delete Employee by Administrator:

Group12 24
Library Management System Aprotrain-Aptech

Group12 25
Library Management System Aprotrain-Aptech

Process borrow book by Administrator:

Group12 26
Library Management System Aprotrain-Aptech

Process return book by administrator :

Group12 27
Library Management System Aprotrain-Aptech

Add request a new book:

Group12 28
Library Management System Aprotrain-Aptech

Process change password :

Group12 29
Library Management System Aprotrain-Aptech

Graphic User Interface (Screen shots)

Login

Group12 30
Library Management System Aprotrain-Aptech

Main Interface

Group12 31
Library Management System Aprotrain-Aptech

Add New Book

Search Book

Group12 32
Library Management System Aprotrain-Aptech

User Information

Group12 33
Library Management System Aprotrain-Aptech

Request Add New Book

Group12 34
Library Management System Aprotrain-Aptech

Process Transactions

Group12 35
Library Management System Aprotrain-Aptech

Your Information

Group12 36
Library Management System Aprotrain-Aptech

Search Book

Group12 37
Library Management System Aprotrain-Aptech

Statistic

Group12 38
Library Management System Aprotrain-Aptech

Report
Application Name: Library Management System
Start Development Date: April 28 – 2010.
Finish Development Date: May 28 – 2010.

Development Group
Aprotrain Aptech – Vietnam
Roll number Full name Email Note
C0809H0623 Dang The Cuong cuongdt90@gmail.com Team
Leader

C0809H0599 Tran Tien Dung bad.day.vn@gmail.com Member


C0806h0602 Nguyen Duc Quyet quyet.nd90@gmail.com Member
C0809H0636 Pham Van Toan phamvantoan89@gmail.com Member

Group12 39

Das könnte Ihnen auch gefallen