Beruflich Dokumente
Kultur Dokumente
for
SE1216
Feburary 22,2019
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for Library Management System Page ii
Table of Contents
Table of Contents .......................................................................................................................... ii
Revision History ........................................................................................................................... iv
1. Introduction ..............................................................................................................................1
1.1 Purpose................................................................................................................................... 1
1.2 Document Conventions ........................................................................................................... 1
1.3 Project Scope .......................................................................................................................... 1
1.4 References .............................................................................................................................. 1
2. Overall Description ................................................................................................................21
2.1 Product Perspective .............................................................................................................. 21
2.2 User Classes and Characteristics ........................................................................................... 32
2.3 Operating Environment ......................................................................................................... 43
2.4 Design and Implementation Constraints ................................................................................ 43
2.5 Assumptions and Dependencies ............................................................................................ 43
3. System Features .....................................................................................................................43
3.1 Use case Register .................................................................................................................. 43
3.1.1 Description ....................................................................................................................... 43
3.1.2 Stimulus/Response Sequences .......................................................................................... 43
3.1.3 Functional Requirements .................................................................................................. 43
3.2 Use case Login ..................................................................................................................... 54
3.2.1 Description ....................................................................................................................... 54
3.2.2 Stimulus/Response Sequences .......................................................................................... 65
3.2.3 Functional Requirements .................................................................................................. 65
3.3 Use case Logout ................................................................................................................... 65
3.3.1 Description ....................................................................................................................... 65
3.3.2 Stimulus/Response Sequences .......................................................................................... 76
3.3.3 Functional Requirements .................................................................................................. 76
3.4 Use case Open account permission ........................................................................................ 76
3.4.1 Description ....................................................................................................................... 76
3.4.2 Stimulus/Response Sequences .......................................................................................... 76
3.4.3 Functional Requirements .................................................................................................. 76
3.5 Use case Block account permission ....................................................................................... 87
3.5.1 Description ....................................................................................................................... 87
3.5.2 Stimulus/Response Sequences .......................................................................................... 87
3.5.3 Functional Requirements .................................................................................................. 87
3.6 Use case Overdue notification mail ....................................................................................... 98
3.6.1 Description ....................................................................................................................... 98
3.6.2 Stimulus/Response Sequences .......................................................................................... 98
3.6.3 Functional Requirements .................................................................................................. 98
3.7 Use case View list all book ................................................................................................. 109
3.7.1 Description ..................................................................................................................... 109
3.7.2 Stimulus/Response Sequences ........................................................................................ 109
3.7.3 Functional Requirements ................................................................................................ 109
3.8 Use case Borrow Book...................................................................................................... 1110
3.8.1 Description ................................................................................................................... 1110
3.8.2 Stimulus/Response Sequences ...................................................................................... 1110
3.8.3 Functional Requirements .............................................................................................. 1110
3.9 Use case Add Book ........................................................................................................... 1312
3.9.1 Description ................................................................................................................... 1312
3.9.2 Stimulus/Response Sequences ...................................................................................... 1312
3.9.3 Functional Requirements .............................................................................................. 1312
3.10 Use case Update Book ...................................................................................................... 1514
3.10.1 Description ................................................................................................................... 1514
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for Library Management System Page iii
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for Library Management System Page iv
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 1
1. Introduction
1.1 Purpose
- This SRS describes the functional and nonfunctional requirement for software release 1.0 of
the Library Management System(LMS). This document is intended to be used by the
members of the project team who will implement and verify the correct functioning of the
system. Unless otherwise noted, all requirements specified here are committed for release
1.0.
1.4 References
- Book
Software Requirements 3, 3rd Edition.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 2
2. Overall Description
2.1 Product Perspective
Formatted: Heading 2
2.1
Use Case Diagram of Library Management System:
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 3
- The Library Management Systen is a new software system that replaces the way which
manage library by paper. The Use Case Diagram represent interaction between the
user,administrator,librarian and the different use cases of system. It shows how system
works and connection between customers.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 4
3. System Features
3.1 Use case Register
3.1.1 Description
- Before customer wants to access to library management system, they hace to login. If they
don’t have account, customer has to register a new account to be awarded access. They fill
information of their and click “Register”(High quality).
3.1.3
UC ID and Name: UC-1 : Register
Created By: Nguyễn Tùng Lâm Date Created: 13/02/2019
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 5
- This use case describes how a user logs into the Library Management System.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 6
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 7
- This use case describes how a user logs out the Library Management System.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 8
- When account of user or librarian violates the conditions of use of the system, admin will
check account. If it’s true, admin blocks account and announce.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 9
- When user borrow book overdue, admin or librarian will send mail to announce user to
return book and the money which user has to pay.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 10
- Help librarian, admin and user view all of the books available in the library
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 11
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 12
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 13
- When Administrator want to add a new book, they click button add book. Fill information of
book like name,title,author,.. to form and click submit to store information of book in
database
- Librarian fill information of the new book and add into the system
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 14
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 15
- When administrator want to update book, they login in system, find book which they want to
update then fill information in form and click update button.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 16
- Administrator indicate that they want to delete book from the system
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 17
- When customers already registered to this LMS and they can request to see their information
which they had filled into LMS.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 18
Description: When customers already registered to this LMS and they can request to see
their information which they had filled into LMS.
Preconditions: 1. Customer’s account existed.
2. Customers already signed in LMS.
Post conditions: 1. Customer see their information in system.
Normal Flow: 13.0 View Account
1. Customers sign in to LMS.
2. Customers request LMS to see their info.
3. LMS send them information.
4. Customers see their information.
Alternative Flows: None
Exceptions: 13.0.E1 Admin or Librarian see account which isn’t exist.
1.LMS informs that this account didn’t exist.
Priority: Normal.
Frequency of Use: Approximately 100 users, average of one usage per day
Business Rules: None
Other Information: None
Assumptions: None
- When customers want to change their information of account, they access to system and
chance information.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 19
- When customers change their account’s password. First step, they customers login their
account and then, they choose changing functions. Next step, they fill into password field.
Finally, they confirm their information.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 20
Post conditions: 1. Customer’s password update in LMS and they can login the system by
the new password.
Normal Flow: 15.0 Change password
1. Customer enter account’s name which they request to change password.
2. LMS send form to customer.
3. Customer fill into form and send this form back.
4. LMS accept change password and update in system.
Alternative Flows:
Exceptions: 15.0.E1 Password is invalid.
1.LMS informs that this password is wrong.
2a. if customer want to continue, LMS will send form again.
2b. If customer don’t want to continue, LMS exit this function.
Priority: High
Frequency of Use: Rarely
Business Rules: None
Other Information: None
Assumptions: None
- Customers login and request to see the status of books.System gives status of book.
- Customer enter name’s book what they need see the status.
Formatted: Heading 3
3.16.3
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 21
of book.
Preconditions: 1. Customer’s account existed.
2. Customers already signed in LMS.
3. Books existed.
Post conditions: 1. Customer see their status which they want.
Normal Flow: 16.0 View Book Status
1. Customer enter name’s book what they need see the status.
2. LMS send book’s status to customers.
Alternative Flows:
Exceptions: 16.0.E1 Customers see book which isn’t exist.
1.LMS informs that this account didn’t exist.
Priority: High
Frequency of Use: Approximately 1000-2000 times per day
Business Rules: None
Other Information: None
Assumptions: None
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 22
Priority: High
Frequency of Use: A lots
Business Rules: None
Other Information: None
Assumptions: None
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 23
- Librarians, administrators, user login to system. Find name, type,id,.. of book and click
button search. System find and return information.
- When customers want to find a book which the library doesn’t have. They will send a
request to library to update book.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 24
- Login in system
- Enter the request to add the desired book.
- Click send button.
1. Login in system
2. Enter the request to add the desired book.
3. Click send button.
Alternative Flows: None
Exceptions: 19.0.E1 Book exists
1. LMS informs that books exists.
2a.If customers want to exit, LMS cancel use case
2b. else if customers want to continue, LMS restart use case
Priority: High
Frequency of Use: Often
Business Rules: None
Other Information: None
Assumptions: None
- Login in system
- Input the feedback of the system.
- Click send button.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 25
- Borrowed book
- Fill rating
- Click button send
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 26
- When customers want to say something about book, they comment about it
- Login in system
- Choose book you want to comment
- Enter a comment about the book.
- Click send button.
1. Login in system
2. Choose book you want to comment
3. Enter a comment about the book.
4. Click send button.
Alternative Flows: None
Exceptions: None
Priority: Low
Frequency of Use: A lost
Business Rules: None
Other Information: None
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 27
Assumptions: None
- When the book is about to expire, customers who have not used it can renew the date.
- Login in system
- Click the “renew” button.
- Checkbook expiration date after renewal.
1. Login in system
2. Click the “renew” button.
3. Checkbook expiration date after renewal.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 28
- When the user overdue the payment of books, in the book information section will show the
amount of the fine to be paid so that users and librarians can follow.
- The software calculates the overdue amount based on: number of days overdue * price of a
day
- Show the amount of fines to be paid according to each book's title and total amount for users
and librarians follow.
- Users pay the fine correctly and sufficiently according to the amount displayed to the
librarian.
- The librarian will mark the receipt of the fine and reopen the account for the user to continue
borrowing the book.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 29
4. Data Requirements
4.1 Logical Data Model
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 30
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 31
4.3 Reports
4.3.1 List Borrowed Book report
Report ID LMS-RPT-1
Report Title List Borrowed Book
Report Purpose Customers want to see all book which they borrowed
Priority High
Report Users User,Adminitrator,Librarian
Data Sources Database of borrowed books
Frequency and Disposition Report is generated on demand by a Customers. Data in the report is
static. Report is displayed on user’s web browser screen on a
computer. It can be printed if the display device permits printing
Latency Complete report must be displayed to Patron within 3 seconds after
it is requested.
Visual Layout Landscape mode
Header and Footer Report header shall contain the report title, Customer’s name, and
date range specified. If printed, report footer shall show the page
number.
Report Body Fields shown and column headings:
Order Number
Title of book
Date to borrow
Customers
End-of_report Indicator None
Interactivity Customers can drill down to see ingredients and nutritional
information for each book in the list.
Security Access Restrictions A User may retrieve only his own meal order history.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 32
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 33
6. Quality Attributes
6.1 Usability
USE-1: The LMS shall allow a Customer to review list borrowed book with a single interaction.
USE-2: 95% of new customers shall be able to successfully borrow book without errors on their
first try.
USE-3:The LMS shall allow a Customer to renew or view time to pay with a single interaction.
USE-4:The LMS shall allow a Customer to see top list book which is borrowed.
6.2 Performance
PER-1: The system shall accommodate a total of 1000 users and a maximum of 800 concurrent
users during the peak usage time window of 8:00 A.M. to 10:00 A.M. local time, with an estimated
average session duration of 8 minutes.
PER-2: The system shall display confirmation messages to users within an average of 3 seconds and
a maximum of 5 seconds after the user submits information to the system.
PER-3: The system shall database backup to prevent to virus or operating system failture.
6.3 Security
SEC-1: All network transactions that involve financial information or personally identifiable
information shall be encrypted per BR-33.
SEC-2: Users shall be required to log on to the LMS for all operations except viewing a book.
SEC-3: Only administrator can manage book and permission account.
SEC-4: Users only use their account.
6.4 Safety
- The user shall be able to see state of book to make sure book status when borrow.
AVL-1: The LMS shall be available at least 98% of the time between 8:00 A.M. and midnight local
time and at least 90% of the time between midnight and 8:00 A.M. local time, excluding scheduled
maintenance windows.
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 34
- Requirement:
Currency: đồng
Formatting of dates: dd-MM-yyyy
Address: Viet Nam
Language: Vietnamese
Telephone: 10 characters
8. Other Requirements
- None
Appendix A: Glossary
- Administrator: Who manage system.
- Use Case: A broaed level diagram of the project showing a basic overview.
- Class diagram: It is a type of static structure diagram that describes the structure of a system
by showing the system’s cases, their attributes, and the relationships between the classes.
- UC : Use Case
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Software Requirements Specification for <Library Management System> Page 35
CheckList:
Work Do Not Do Start date Due date Formatted: Font: 14 pt, Bold
Formatted: Font: 14 pt, Bold
Create a feature tree to 18/2/2019 20/2/2019 Formatted: Font: 14 pt, Bold
show changes Formatted: Font: 14 pt, Bold
Formatted Table
Identify user classes 18/2/2019 20/2/2019
Formatted: Font: 14 pt, Bold
processes
Build prototypes
Inspect requirements
specifications
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.