Professional Documents
Culture Documents
Version 1.0
Karan Malhotra
Project Guide
Mrs. Komalavalli C
Revision History
Table of Contents
1. Introduction
1.1 Purpose
1.2 Scope
1.3 Definitions, Acronyms and Abbreviations
1.4 References
1.5 Technologies to be used
1.6 Overview
2. Overall Description
2.1 Product Perspective
2.1.1 Software Interface
2.1.2 Hardware Interface
2.1.3 Communication Interface
2.1.4 Product Functions
2.1.5 User Characteristics
2.1.6 Constraints
2.2 Use-Case Model Survey
2.3 Class Diagram
2.4 Sequence Diagram
2.5 Architecture diagram
2.4 ERD
2.5 DataBase Design
2.5.1 Database Diagram
2.5.2 Database Schema
2.6 Assumptions and Dependencies
3. Specific Requirements
3.1 Use-Case Reports
3.2 Data Flow Diagram
3.3 Control Flow Diagram
3.4 Supplementary Requirements
4. Supporting Information
Page | 2
15/08/2008 Jail-Inmates’ Management System
Prisons are conventionally institutions, which form part of the criminal justice system of a
country; and prison system is the organizational arrangement of the provision and operations of
prisons, and depending upon their nature, may invoke a corrections system.
Prisons form an important part of the law and order system of any society or a country at large.
For a country as large as India with so many prisons and so many criminals, there is a requirement
of a very effective and organized system that manages the prisons. Although prisons are as ancient
as the civilization but with the changing times, there is an obvious need of managing them in an
effective way.
Many developed countries have already changed to electronic and computerized prison
management systems that are well organized and controlled. In India also, such need has been felt
and the government is going towards the computerization of the prisons. National Information
Centre (NIC) of India has the responsibility of automating of all the government departments and
likewise.
In their endeavor, they have started automating various prisons like Tihar Jail in Delhi etc. This
will in turn create a centralized or distributed system of prisons all over the country where all the
prisons are connected and synchronized. But the whole process is putting its baby steps and a lot
has to be done. It is just the beginning.
This project “Jail – Inmates’ Management System (JIMS)” is an ambitious work in the same
direction that will help Indian Prison System to reach those heights technologically, that it requires
desperately and which will prove beneficial for the other government departments as well.
1.1 Purpose
This software requirement specification document (referred from IEEE SRS format) explains
details of Jail Management System and includes technical as well as non technical details, use-
cases designs, shortcomings if any and difficulties faced during the overall development cycle.
This document also includes the technologies being used and their purpose. It is a humble effort to
ensure that anybody who reads it gets an insight to the subsystem. The purpose of this software is
to develop an Online Application that will be helpful for management of Prisons across the
country.
1.2 Scope
The Scope of Jail Management System is to organize and manage the information and activities of
the Indian Prison System. This includes the day to day updates and changes in the system as well
as the maintenance of various registers and reports. It helps the users of the system to remain
informed about the status and happenings in the system, which they can see in the form of various
reports and data charts which will be created by the system.
In the broader sense, the system maintains and informs about the current crime state of the country
as it is a country wide integrated system where various units are connected to form a complete
system.
Page | 3
15/08/2008 Jail-Inmates’ Management System
Information collected by the visit to the Prison Headquarters, Tihar Jail, Delhi through
detailed interaction with the senior administrator.
Page | 4
15/08/2008 Jail-Inmates’ Management System
o Overall Description – It contains the Customer oriented requirements and the factors
that affect it.
2. Overall Description
It includes the products that are involved in the making of entire system. The products can be seen
in the diagram.
Page | 5
15/08/2008 Jail-Inmates’ Management System
Database Server: This is for the maintenance of the entire data which is flowing IN and OUT the system.
TCP/IP protocols are used to provide the interface on the client by the client software.
Communication between customer and server is done through HTTP/HTTPS protocol which thereafter
provides the user interface on the client side.
Page | 6
15/08/2008 Jail-Inmates’ Management System
Development Side: RAD (J2EE, Java, JSP, Servlet, HTML, Java Script), Operating System, DB2
and WebSphere Application Server.
Add/delete System users and assign them permissions according to their roles.
A complete prisoner Profiling System that will contain the significant details of the inmates
including their demographic details and photographs.
Page | 7
15/08/2008 Jail-Inmates’ Management System
Keeps track of all the prisoners release details including the probable Date of Release with
the flexibility to accommodate the modifications due to Court orders and other special
reasons.
Maintains the centralized Database with specific access rights for the different users of the
database while ensuring the complete security.
JMS is flexible enough to accommodate the changes as per the future requirements of the
System.
It maintains various registers like Duty register, In-Out register for managing movements of
the prisoners, etc
There are majorly three kinds of users that will use our System.
Police Officers – There are the officials of various ranks from a constable to the Inspector
General of Police. They have the read only access to the system and can view all the details of
the prisoners and can generate various reports.
They are required to have the general understanding of the System in order to utilize all its
features.
Data Manager – This kind of users has the responsibility of maintain the Database. All the
entries and updations are done by Data Managers.
They are required to have the proper knowledge of the Prison Database and its design.
Administrators – Due to the nature and requirement of any such system, someone has to be
there who is responsible for the security and maintenance of the system. This is what the basic
role of System Administrator is.
We have further categorized the administrator in two. One is Jail Admin and another is
Government Admin. They have the rights and responsibility according to their stature and
requirements.
2.1.6 Constraints
A user cannot log on more than one machine with same user id.
User can interact with the System only in the English language.
Page | 8
15/08/2008 Jail-Inmates’ Management System
Police Officials
o Login
Data Manager
Page | 9
15/08/2008 Jail-Inmates’ Management System
o Login
o Case Register
o In/out register
o Duty register
o Forgot Password
o Maintenance of J-IMS
Jail admin
o Login
o Case Register
o In/out register
o Duty register
o Forgot Password
o Maintenance of J-IMS
o Manage Funds
o Reset Password
o Generate Reports
Govt Admin
o login
Page | 10
15/08/2008 Jail-Inmates’ Management System
o Manage Funds
o Add/Remove Users
Page | 11
15/08/2008 Jail-Inmates’ Management System
Page | 12
15/08/2008 Jail-Inmates’ Management System
Page | 13
15/08/2008 Jail-Inmates’ Management System
Case 2 - Checking the Flow and sequence of various operations that a Govt Admin can do.
Page | 14
15/08/2008 Jail-Inmates’ Management System
Case 3 - Checking the Flow and sequence of various operations that a Police Official can do.
Page | 15
15/08/2008 Jail-Inmates’ Management System
Case 4 - Checking the Flow and sequence of various operations that a Jail Admin can do.
Page | 16
15/08/2008 Jail-Inmates’ Management System
Page | 17
15/08/2008 Jail-Inmates’ Management System
Page | 18
15/08/2008 Jail-Inmates’ Management System
It is an Entity relationship diagram. It shows the relationship between two or more than two entities.
Page | 19
15/08/2008 Jail-Inmates’ Management System
Page | 20
15/08/2008 Jail-Inmates’ Management System
Page | 21
15/08/2008 Jail-Inmates’ Management System
User accounts have been created already assuming some username and password
Page | 22
15/08/2008 Jail-Inmates’ Management System
3. Specific Requirements
Page | 23
15/08/2008 Jail-Inmates’ Management System
Name Login
Description Used by various Users (Police Officer, Data Manager, Jail Admin, Govt Admin) for
Logging in the system.
Alternate Flow of Events Prompt the user with Error message if login is not verified
If database is not connected and started prompt with an error message
Page | 24
15/08/2008 Jail-Inmates’ Management System
Page | 25
15/08/2008 Jail-Inmates’ Management System
Page | 26
15/08/2008 Jail-Inmates’ Management System
Description Used by various Users (Police Officer, Data Manager, Jail Admin, Govt Admin) for
viewing the profiles of the prisoners.
Page | 27
15/08/2008 Jail-Inmates’ Management System
Alternate Flow of Events If the prisoner ID is wrong the user will be prompted by an error message.
If connection with the database cannot be established then prompt with an error
message.
Post Conditions None
Page | 28
15/08/2008 Jail-Inmates’ Management System
Page | 29
15/08/2008 Jail-Inmates’ Management System
Page | 30
15/08/2008 Jail-Inmates’ Management System
Description Used by Data Manager and Jail Administrator for updating and viewing the profiles of the
prisoners.
Alternate Flow of Events Prompt the user with error message if any of the field is left blank
If connection with the database cannot be established then prompt with an error
message
Post Conditions Data manager and Jail Administrator can view the details entered/profile if he
wants to.
Page | 31
15/08/2008 Jail-Inmates’ Management System
Page | 32
15/08/2008 Jail-Inmates’ Management System
Description This feature is included for maintaining the number of cases on which the prisoner is
found convicted.
Page | 33
15/08/2008 Jail-Inmates’ Management System
Alternate Flow of Prompt the (Data Manager/ Jail Admin) with error message if prisoner ID wrong
Events Prompt the user (Govt Admin) with error message if case ID is not valid
Prompt the user (Data Manager/ Jail Admin) with error message if any of the
field is left blank
If connection with the database cannot be established then prompt with an error
message
Post Conditions Details are stored in the database and the prisoner’s profile is updated
Page | 34
15/08/2008 Jail-Inmates’ Management System
Page | 35
15/08/2008 Jail-Inmates’ Management System
Page | 36
15/08/2008 Jail-Inmates’ Management System
Description Used by various Users (Police Officer, Data Manager, Jail Admin, Govt Admin) for
viewing the profiles of the Visitors or the profile of prisoner along with the visitor
details.
Alternate Flow of Events If the Visitor ID is wrong the user will be prompted by an error message.
If connection with the database cannot be established then prompt with an
error message.
Page | 37
15/08/2008 Jail-Inmates’ Management System
Page | 38
15/08/2008 Jail-Inmates’ Management System
Page | 39
15/08/2008 Jail-Inmates’ Management System
Description Used by Data Manager and Administrator for updating and viewing the profiles of the
Visitors.
Alternate Flow of Events Prompt the user with error message if any of the field is left blank
If connection with the database cannot be established then prompt with an error
message
Post Conditions Data manager and Administrator can view the details entered/profile if he
wants to.
Visitor ID is generated
Page | 40
15/08/2008 Jail-Inmates’ Management System
Page | 41
15/08/2008 Jail-Inmates’ Management System
Description Used by Data Manager and Jail Administrator for updating and viewing the profiles of
the Staff.
Alternate Flow of Events Prompt the user with error message if any of the field is left blank
If connection with the database cannot be established then prompt with an error
message
Post Conditions Data manager and Administrator can view the details entered/profile if he
wants to.
Staff ID is generated
Page | 42
15/08/2008 Jail-Inmates’ Management System
Page | 43
15/08/2008 Jail-Inmates’ Management System
Description Used by various Administrators for viewing the profiles of the Staff
Alternate Flow of Events If the Staff ID is wrong the user will be prompted by an error message.
If connection with the database cannot be established then prompt with an error
message.
Page | 44
15/08/2008 Jail-Inmates’ Management System
Page | 45
15/08/2008 Jail-Inmates’ Management System
Page | 46
15/08/2008 Jail-Inmates’ Management System
Description This feature is included for maintaining the IN-OUT details (Like Parole, Hearing, and
Transferring etc) of various prisoners.
Alternate Flow of Events Prompt the user with error message if prisoner ID wrong
Prompt the user (Data Manager/ Jail Admin) with error message if any of the
field is left blank.
If connection with the database cannot be established then prompt with an error
message.
Post Conditions Details are stored in the database and the prisoner’s IN-OUT details are
updated.
Page | 47
15/08/2008 Jail-Inmates’ Management System
Page | 48
15/08/2008 Jail-Inmates’ Management System
Name Search
Alternate Flow of Events Prompt the user with error message if search field is left blank
Prompt the user if no match is found.
If connection with the database cannot be established then prompt with an error
message
Page | 49
15/08/2008 Jail-Inmates’ Management System
Page | 50
15/08/2008 Jail-Inmates’ Management System
Page | 51
15/08/2008 Jail-Inmates’ Management System
Description Used by Data Manager and Jail Administrator for updating and viewing the Duty
Register.
Page | 52
15/08/2008 Jail-Inmates’ Management System
Alternate Flow of Events Prompt the user with error message if any of the field is left blank
If connection with the database cannot be established then prompt with an error
message
Post Conditions Data manager and Administrator can view the details entered/profile if he
wants to.
Page | 53
15/08/2008 Jail-Inmates’ Management System
Page | 54
15/08/2008 Jail-Inmates’ Management System
Description Used by Jail Administrator for updating and viewing Jail details.
Alternate Flow of Events Prompt the user with error message if any of the field is left blank.
If connection with the database cannot be established then prompt with an error
message
Page | 55
15/08/2008 Jail-Inmates’ Management System
Page | 56
15/08/2008 Jail-Inmates’ Management System
Page | 57
15/08/2008 Jail-Inmates’ Management System
Alternate Flow of Events If the Jail ID is wrong the user will be prompted by an error message.
If connection with the database cannot be established then prompt with an
error message.
Page | 58
15/08/2008 Jail-Inmates’ Management System
Page | 59
15/08/2008 Jail-Inmates’ Management System
Page | 60
15/08/2008 Jail-Inmates’ Management System
Description To recover password in case it is forgotten by the user using secret answer of secret
question filled up at the time of subscription.
In case Jail Admin forgets password he/she knows secret answer explicitly as there is
no subscription for admin and password can be reset.
.
Pre Conditions The user must click the forget password option
Correct User Id .must is provided.
Alternate Flow of Events Prompt the user with error message if user id is wrong as in database.
Prompt the user with error message if wrong answer to secret question is
provided.
If connection with the database cannot be established then prompt with an
error message
Page | 61
15/08/2008 Jail-Inmates’ Management System
Page | 62
15/08/2008 Jail-Inmates’ Management System
Page | 63
15/08/2008 Jail-Inmates’ Management System
Description Used by Jail Admin and Govt. Admin for the maintenance of funds allocation and
tracking.
Alternate Flow of Events Prompt the user with error message if funds are less the required.
Prompt the user with error message if any of the field is left blank
If connection with the database cannot be established then prompt with an error
message
Post Conditions Govt. Admin can view the total funds available and funds used for various
causes.
Jail Admin can view and update the allocation of funds for the various causes
and updates other funds records.
Page | 64
15/08/2008 Jail-Inmates’ Management System
Page | 65
15/08/2008 Jail-Inmates’ Management System
Description In case password is forgotten by the user, He/She can send the request to reset
password. In case Jail Admin forgets password he/she knows secret answer explicitly
as there is no subscription for admin and password can be reset.
.
Pre Conditions The user must be Jail Admin
Correct User Id .must is provided.
Alternate Flow of Events Prompt the user with error message if user id is wrong as in database.
If connection with the database cannot be established then prompt with an
error message
Page | 66
15/08/2008 Jail-Inmates’ Management System
Page | 67
15/08/2008 Jail-Inmates’ Management System
Page | 68
15/08/2008 Jail-Inmates’ Management System
Page | 69
15/08/2008 Jail-Inmates’ Management System
Description Used by Jail Admin and Govt. Admin for adding and removing various user of J-IMS
Alternate Flow of Events Prompt the user with error message if any of the field is left blank
Prompt the user if User Id already exists(Add user)
Prompt the user if User Id doesn’t exists(Delete User)
If connection with the database cannot be established then prompt with an error
message
Post Conditions New user can Log on to J-IMS with the User Id
Existing user cannot Log on to J-IMS
Page | 70
15/08/2008 Jail-Inmates’ Management System
Page | 71
15/08/2008 Jail-Inmates’ Management System
Alternate Flow of Events Prompt the user with error message if any of the field is left blank
Page | 72
15/08/2008 Jail-Inmates’ Management System
Page | 73
15/08/2008 Jail-Inmates’ Management System
Page | 74
15/08/2008 Jail-Inmates’ Management System
It shows the flow of the system, i.e. how the data is flowing in the system.
Page | 75
15/08/2008 Jail-Inmates’ Management System
Page | 76
15/08/2008 Jail-Inmates’ Management System
Since J-IMS is a centralized system with the large user base, the Application Server should be
strong enough to handle the load of the maximum number of clicks at a time.
Since the System is up 24 hours a day and seven days a week, proper Power backup
arrangements must be there to ensure the un-interrupted running of the system.
The Physical security of the Database at the Server has to be ensured by the concerned authority
deploying the System.
Page | 77