You are on page 1of 14

1

CHAITANYA BHARATHI INSTITUTE OF


TECHNOLOGY
GANDIPET, HYDERABAD 500075

Software Requirements Specification


For

ONLINE LIBRARY MANAGEMNET


Prepared by

Roll no: 0209-8121

K.Venkatesh

Roll no:0209-8116

L.Subba Reddy

Roll no:0209-8117

G.Suresh Kumar

Roll no:0209-8118

V. Surya Rama Vamsi

Table of Contents
1) Introduction---------------------------------------------------------------------------3
1.1purpose------------------------------------------------------------------------3
1.2Scope--------------------------------------------------------------------------4
1.3Glossary-----------------------------------------------------------------------5
1.4Overview----------------------------------------------------------------------5
2) Overall Description------------------------------------------------------------------6
2.1 System Environment--------------------------------------------------------7
2.2. Functional Requirements Specification------------------------------7
2.2.1. Librarian------------------------------------------------------------7
2.2.2 Administrator------------------------------------------------------7
2.2.3 User------------------------------------------------------------------7
2.2.4 Member-------------------------------------------------------------7
2.3 User Characteristics---------------------------------------------------------8
3) Non- Functional Requirements----------------------------------------------------8
3.1 Security Features------------------------------------------------------------8
3.1.1 constraints---------------------------------------------------------8
3.1.2 Safety Requirements---------------------------------------------8
4. Diagrams for Library management------------------------------------------------9
4.1 Class Diagram---------------------------------------------------------------9
4.2 Sequence Diagrams--------------------------------------------------------10
4.3 Collaboration Diagrams--------------------------------------------------11

4.4 State Diagrams-------------------------------------------------------------12


4.5 Activity Diagrams---------------------------------------------------------13
4.6 Component Diagrams-----------------------------------------------------13
4.7 Deployment Diagrams ---------------------------------------------------14

Software Requirement Specifications


1. Introduction:
Borrowing books, returning books or viewing the available books at the Library of the local University is
currently done manually where in the student has to go to the Library and check the available books at the
Library. Students check the list of books available and borrow the books if the book is a borrow book
otherwise it is of waste for the student to come to the library to come to check for the books if the student
doesnt get the book. Then the librarian checks the student id and allows the member to check out the
book and the librarian then updates the member database and also the books database.
This system would be used by members who may be students or professors of that University to check the
availability of the books and borrow the books, and by the librarian to update the databases. The purpose
of this document is to analyze and elaborate on the high-level needs and features of the Online Library
System. It focuses on the capabilities and facilities provided by a Library. The details of what all are the
needs of the Online Library System and if it fulfils these needs are detailed in the use-case and
supplementary specifications.
1.1 Purpose:
The purpose of Software Requirements Specification (SRS) document is to describe the external behavior
of the Online Library System. Requirements Specification defines and describes the operations,
interfaces, performance, and quality assurance requirements of the Online Library System. The document
also describes the nonfunctional requirements such as the user interfaces. It also describes the design
constraints that are to be considered when the system is to be designed, and other factors necessary to
provide a complete and comprehensive description of the requirements for the software. The Software
Requirements Specification (SRS) captures the complete software requirements for the system, or a
portion of the system.
1.2 Scope:
The Software Requirements Specification captures all the requirements in a single document. The Online
Library System that is to be developed provides the members of the Library and employees of the library
with books information, online blocking of books and many other facilities. The Online Library System is
supposed to have the following features.
The product provides the members with online blocking of books capabilities and the Online
Library System is up and running all day.
The system provides logon facility to the users.
The system provides the members with the option to check their account and/or change their
options like password of the account whenever needed all through the day during the library
hours.
The system allows the members to block the books 24 hours a day and all the through the
semester.
The system lets the library staff to check which all members have blocked the books and whether
they can borrow any more books or not.

5
The system allows the Librarian to create the books catalog, add/delete books and maintain the
books catalog.
The system updates the billing system as and when the member borrows or returns a book.
The book catalog is automated and the decision of offering the book based on the category of the
book is automatically decided.
We also have an order department, which manages to add or remove a book from the Library.

1.3. Glosaary
Term

Definition

Librarian

Person who is the administrator of the


system. He is the main actor of the system.

User

Person who utilizes the services of a Online


Library.

Database

Collection of all the information monitored


by the system.

Software Requirements Specification

A document that completely describes all of


the functions of a specific system.

1.4 Overview:
SRS will include two Major sections:
1) Overall Description: This section of the SRS will provide the general factors that affect the
product and its requirements. It provides the background for those requirements. The items such
as product perspective, product function, user characteristics, constraints, assumptions and
dependencies and requirements subsets are described in this section.
2) Requirement Specification: This section of SRS contains all the software requirements
mentioned in section 2 in detail sufficient enough to enable designers to design the system to
satisfy the requirements and testers to test if the system satisfies those requirements.

2)Overall Description:
2.1 System Environment:

addItem
search

admin

user

addMember

craeteRoles
return
member
issue
librarian
calculateFine
accountInfo

viewReport

Online users have four actors


1)
2)
3)
4)

Administrator
User
Librarian
Member

2.2. Functional Requirements Specification


This section outlines the use cases for each of the actors separately.

2.2.1. Librarian
Use case: issue books, account info, calculate fine, view report.
The role performed by librarian is
1) Librarian issues the book to the students
2) Later while the student returns the book, he checks the account of the student
3) Based on the last return date, he calculates the fine
4) Later he return the card, updates the database and views the report

2.2.2 Administrator
Use case: addItem, addMember, createRoles, search for user.
The role performed by Administrator is
1) He can add members to the library i.e user
2) he can create new roles in the library to manage the library
3) he also can search for user to make further verification
4) he can add new item to the library database

2.2.3 User
Use case: search
1) he can search for the book and get the book issued
2) later he returns the book based on the return date

2.2.4 Member
Use case: return, search
1) a member can search for the book
2) later he returns the book based on the return data

2.3. User Characteristics

8
A librarian can add, delete and update book status and search from the database. A user can borrow, return
books, reserve books and search for books. He can also renew his loan period. If a book is overdue, the
user will be fined $0.10 each day over the due. If a book is reported lost, the user will pay the full cost of
the book.
The library is a nation-wide library with several branches. When the users searches the books, the system
will output which branches have the books, and which branch is the nearest to user's home address. The
search function allows both users and librarians to search by title, rating, category, author, publisher,
ISBN, language, branch, keywords. The system also allows browsing by the same parameters.
There is a feedback system where the users can give a rating and comments to the book after they
have returned it

3. Non Functional Requirements


3.1 Security Features:
Only the authorized members can access the database. This is done by giving a separate id to everyone
accessing the database.
3.1.1 Constraints:
1) The person whose name is on the id is responsible for all the books taken on it.
2) When the book is returned to the library, make sure that the database is updated.
3) Keep the id in secret, in order to avoid others misusing it.
4) If the books is not returned in time , the students will be fined.
5) When the last date is crossed, the fine database will automatically be updated.
3.1.2 Safety Requirements
The database may get crashed at any certain time due to virus or operating system failure. Therefore, it is
required to take the database backup.

4. DIAGRAMS FOR LIBRARY MANAGEMENT


4.1 Class Diagram

librarian

STUDENT

l_id
l_name
l-doj

S_name
S_id
S_department
borrow book()
return book()

1..*

issue book()
check id()
grant permission()
add book()

1..*

DATABASE
filename
update()
delete()

SUPPLIER
S-ID
S_NAME
SEARCH()
TELL AVAILABILITY()
OPNAME()

4.2 Sequence Diagram

10

user

Librarian

LMS

DataBase

1: authenicate user
2: succesful login
3: issue book
4: check for book status
5: available or waiting
6: suucessfully issued
7: return book
8: check status
9: calculate fine
10: return card

11
4.3Collaboration

Diagra

user
3: issue book
7: return book
6: suucessfully issued

2: succesful login

Librarian

LMS
8: check status

1: authenicate user
9: calculate fine

10: return card


5: available or waiting
4: check for book status

DataBas
e

12

4.4 State Diagram

verify

enter login
name

authenic
ate

check for
book

issue
book

logut

caluculat
e fine

return
book

13

4.5 Activity Diagram

authenic
ate
check for
book
available
issue
book
return
calculate
fine

late
in time

pay fine

return
card

logout

4.6 Component diagram


student

borrow book
librarian

14

4.7 Deployment Diagram


web server
client program

You might also like