Vous êtes sur la page 1sur 16

Software Requirement Specification

Prison Management System


Team Name: t3ch (t3ch_1.0.5)

Team Mentor Team Members

Mrs. Saravana Priya B. Gopi

Asst. Prof in M. ChandraSekar

SASTRA University B. Shanawaz Ahamed


Table of Contents
1. Introduction 1

2. Tools Used 2

3. Technology Used 2

4. Class Diagram for Prison Management 3

5. Use Case Diagram 4

5.1. Use Case for police officer 4

5.2. Use Case for Data Manager 5

5.3. Use Case for Administrator 6

6. Activity Diagram 7

6.1 Activity for General User 7

6.2 Activity for Police Officer 8

7. Sequence Diagram #1 10

7.1 Sequence Diagram for Police Officer 11

7.2 Sequence Diagram for Administrator 11

7.2.1 Add 12

7.2.2 Delete 12

7.2.3 Update 13
Software Requirements Specification

REVISIONS

1. Prison Management – Alpha (PM_1.0.1)

Initial design of prison management system, with all requirements

Authors: B. Gopi and M. Chandrasekar


Project Scenario: Prison Management Date: 25th December, 2010
Team Name: t3ch Software Requirement Specification

Introduction
Basically prison is a correctional institution where persons are confined while on trial or for
punishment. Each prison may have hundreds of criminals. With hardcopy of records it is
hard to search report or record about a particular criminal in prison. The purpose of Prison
Management System is to make the search of those records easier. The purpose of this
document is to present a detailed description of the Prison Management System. The
document will describe what the system will do, the constraints under which it must
operate and how the system will react to external stimuli.

Scope of Project
This software system will be a Prison management System for Prison Department. This
system will be efficient collection of records and reports about the prisoners in prison.
Besides police officers and higher government authorities can see reports about prisoners
easily. The public can search their relatives or friends who are imprisoned for certain lawful
detention, about the crime, place where they imprisoned or release date of imprisoned
person. Public can request to the prison authorities for meeting imprisoned person through
this system.

More specifically, this system will design to allow a data manager to add/update record
about prisoners and administrator who may be prison administrator or government higher
official to have full access rights. The police officer can search record about prisoner with
confidential data. The software will facilitate communication between police officers, data
manager and the administrator via E-Mail.

Tools
Tapestry: Tapestry is an open-source framework for creating dynamic, robust, highly
scalable web applications in Java. Tapestry complements and builds upon the standard Java
Servlet API, and so it works in any servlet container or application server.

t3ch / SASTRA University / Tamil Nadu 1 | Prison Management System – SRS v1.0.1
Project Scenario: Prison Management Date: 25th December, 2010
Team Name: t3ch Software Requirement Specification

Hibernate: Hibernate is an object-relational mapping (ORM) library for the Java language,
providing a framework for mapping an object-oriented domain model to a traditional
relational database. Hibernate solves object-relational impedance mismatch problems by
replacing direct persistence-related database accesses with high-level object handling
functions.

IBM Websphere: IBM designed WebSphere to set up, operate and integrate electronic
business applications across multiple computing platforms, using Java-based Web
technologies. It includes both the run-time components and the tools to develop
applications that will run on WAS.

IBM DB2: DB2 is the database management system that delivers a flexible and cost-
effective database platform to build robust on demand business applications. DB2 further
leverages your resources with broad support for open standards and popular development
platforms like J2EE and Microsoft .NET. The DB2 family also includes solutions tailored for
specific needs like business intelligence and advanced tooling.

Eclipse: Eclipse is a multi-language software development environment comprising an


integrated development environment (IDE) and an extensible plug-in system. It is written
mostly in Java and can be used to develop applications in Java and, by means of various
plugins.

Technology:
HTML: HTML, which stands for Hyper Text Markup Language, is the predominant markup
language for web pages. A markup language is a set of markup tags, and HTML uses markup
tags to describe web pages.

JSP: JavaServer Pages (JSP) is a Java technology that helps software developers serve
dynamically generated web pages based on HTML, XML, or other document types. JSP was
designed to address the perception that the Java programming environment didn't provide
developers with enough support for the Web.

AJAX: Ajax is a group of interrelated web development techniques used on the client-side to
create interactive web applications. With Ajax, web applications can retrieve data from the

t3ch / SASTRA University / Tamil Nadu 2 | Prison Management System – SRS v1.0.1
Project Scenario: Prison Management Date: 25th December, 2010
Team Name: t3ch Software Requirement Specification

server asynchronously in the background without interfering with the display and behavior
of the existing page. Data is usually retrieved using the XMLHttpRequest object.

Class Diagram:

The above diagram shows detailed class component hierachy with its package. each class
has separate attribute and methods .Here two package is used ,the one package contains
general class component for Prison Management System and another one contains enum
for IN/OUT . explanation of class component shows below.

NominalRoll: The details of the prisoner and his/her demographic details should be
captured. A digital photo comprising different views of the prisoner and the list of articles
surrendered by prisoner during nominal roll are to be recorded.

CaseRegister: All the details of the cases against the prisoner should be captured. This
must include the sentence details, remand/conviction details, etc.
AutomatedReleaseDiaryGenerator: This report should be display the list of
prisoners to be released on a day, the next day, the next week, the next month, or any given
duration of time. The system should consider the reduction of sentence length due to
various considerations.

t3ch / SASTRA University / Tamil Nadu 3 | Prison Management System – SRS v1.0.1
Project Scenario: Prison Management Date: 25th December, 2010
Team Name: t3ch Software Requirement Specification

ParoleRegister: This module should track all prisoners on parole and provide
necessary reports on this data.
DutyRegister: Who was where, why and when.
InterviewRequests: All interview requests by the relatives of the prisoners need to be
recorded and tracked.
In_OutRegister: An in-out register will track all prisoners and others who move in and
out for various reasons. This should include provisions for recording the prisoners sent to
courts for hearing.
FundRegister: Fund allotted and routine accounting transactions should be captured.

Use Case Diagram:

1.1 Use Case Diagram for Police Officer


This diagram shows the module access of the prison management system for the police
officer to search details about the prison. He can search by the name of the prison or name
followed by place. The details can be searched and listed out, that includes full details about
the prison, number of prisoners, infrastructure, facilities like food, accommodation, extra
activities and finally history about the prison.

t3ch / SASTRA University / Tamil Nadu 4 | Prison Management System – SRS v1.0.1
Project Scenario: Prison Management Date: 25th December, 2010
Team Name: t3ch Software Requirement Specification

Search prisoner details: It’s another category of search. Every prisoner has unique
identification, it has been provided to them at the time of entering the prison. Here the id
is used to search unique –prisoner details, then corresponding details of prisoner belong to
the id can be listed with confidential information because the police officer has higher
priority to access those details.

Communication between police officer and admin via email. Here communication refers,
requesting any info about prison and so on,( example: I want to know the level of security
in prison ), like this it is possible for the police officer to send his query to admin by mail,
then the result for requested query sent back.

1.2 Use Case Diagram for Data Manager


This Diagram shows about the flexible Control Access of Specific Prison for Data Manager.

Every prison has separate data Manager. He can manage data for his corresponding prison
only. Data manager for prison, they are restricted to manage other prison data. He can
manage data for prison which includes prisoner, police officer, visitors etc, and he can
search details about the prison and the prisoner.

Modification of prison details, nominal roll details of the prisoner with photos in multiple
views.

The above detailed modules of prison can be added/updated/deleted by the prison data
manager for corresponding prison. Every prison has separate data Manager. He/she can

t3ch / SASTRA University / Tamil Nadu 5 | Prison Management System – SRS v1.0.1
Project Scenario: Prison Management Date: 25th December, 2010
Team Name: t3ch Software Requirement Specification

manage data for his corresponding prison only. Data manager for prison, they are restricted
to manage other prison data. He/she can manage data for prison which includes prisoner,
police officer, visitors etc, and he can search details about the prison and the prisoner.
Modification action of data manager includes nominal register, case register, release
register, parole register, duty register, in/out register, fund register, interview register.

Nominal detail of prisoner includes basic information with photos in multiple views and
finger print. Finger print reader is used to get finger print to maintain unique identification
among the prisoners.

CaseDetails includes the sentence detail about the case against the prisoner. Parole
details are about prisoner activity, based on that they are return to society. Release diary
generator for generating details about prisoners to be released on a day, the next day, the
next week, the next month, or any given duration of time, etc.

1.3 Use Case Diagram for Administrator


This diagram shows the full fledged control access for whole prison in the state.

Administrator for whole prison resides in the state; admin has high priority to manage all
the data of the prison in that state rather than data manager, because he is restricted to
manage other prison data except with his own. It is possible for him to search details about
the prison and the prisoner details.

t3ch / SASTRA University / Tamil Nadu 6 | Prison Management System – SRS v1.0.1
Project Scenario: Prison Management Date: 25th December, 2010
Team Name: t3ch Software Requirement Specification

Modification of data for the whole prison, administrator has rights to modify data related to
the whole prison. Nominal roll details and demographic details of prisoner, case details
against to prison should be maintained in sentence for prisoner, duty details of police
officer should be maintain in this format- who was where , why and when.

The above modules explained in some sort there is more module available in prison that
should be implemented, and these modules of whole prison details resides in state can be
added/updated/deleted by administrator.

Activity Diagram

2.1 Activity Diagram for General User


The diagram shows control access of general user about the prison management system and
flow of action for every module.

t3ch / SASTRA University / Tamil Nadu 7 | Prison Management System – SRS v1.0.1
Project Scenario: Prison Management Date: 25th December, 2010
Team Name: t3ch Software Requirement Specification

Search about prison: General user can search the details about related to prison.

1Search about prison: He can search unique prisoner details by Name.

Note: confidential details of prisoner cannot be accessed by general user.

Communication: Requesting various details/Reports By sending email to Admin.

t3ch / SASTRA University / Tamil Nadu 8 | Prison Management System – SRS v1.0.1
Project Scenario: Prison Management Date: 25th December, 2010
Team Name: t3ch Software Requirement Specification

2.2 Activity Diagram for Police Officer


The diagram shows control access of police officer about the prison management system,

and flow of action for every module

SearchPrison: Police officer can search the details about the prison.

SearchPrisoner: Police officer can search report/detail by Name/Id of the prison. In


addition to general information police officer also get confidential data about the prisoner.

t3ch / SASTRA University / Tamil Nadu 9 | Prison Management System – SRS v1.0.1
Project Scenario: Prison Management Date: 25th December, 2010
Team Name: t3ch Software Requirement Specification

Communication: Additional functionality has been provided for police officer in case of
an emergency. Suppose if a prisoner escaped from prison, police officer will chase the
prisoner or suppose is being chased by a gang, police officer can make an emergency call to
this system for backup unit by a single click mobile phone application which will be
implemented in Android platform. The backup unit will identify the location of police officer
using GPS tracking.

Note: Police Officer can possible to access confidential details of prisoner. Additional
functionality has been provided for police officer in case of an emergency. Upon chasing a
prisoner or being chased by a gang, police officer can make an emergency call to the control
room by clicking a button for backup units. Demo is implemented in android platform.

3.1Sequence Diagram for Police Officer


This diagram shows sequence execution of operation in every module for police officer.

t3ch / SASTRA University / Tamil Nadu 10 | Prison Management System – SRS v1.0.1
Project Scenario: Prison Management Date: 25th December, 2010
Team Name: t3ch Software Requirement Specification

The police officer can access with his valid username, password for authentication. The
police officer can do various actions such as search about prison/prisoner detail and get
response for his/her search with confidential information. He/she can request for help or
emergency backup and immediate high priority response will be given to their request.

3.2 Sequence Diagram for Administrator


This diagram shows sequence execution of operation in every module for administrator.

Fig 3.2.1 Add detail about prison by Administrator

t3ch / SASTRA University / Tamil Nadu 11 | Prison Management System – SRS v1.0.1
Project Scenario: Prison Management Date: 25th December, 2010
Team Name: t3ch Software Requirement Specification

Fig 3.2.2 Delete detail about prison by Administrator

Fig 3.2.3 update detail about prison by Administrator

t3ch / SASTRA University / Tamil Nadu 12 | Prison Management System – SRS v1.0.1
Project Scenario: Prison Management Date: 25th December, 2010
Team Name: t3ch Software Requirement Specification

Administrator should login with his valid username, password and the system will respond
by result of authentication. Administrator can do modification of prisoner details either
add/update/delete by specifying the appropriate action. The operations by administrator
include nominal register, case register, release register, parole register, duty register, in/out
register, fund register, interview register.

t3ch / SASTRA University / Tamil Nadu 13 | Prison Management System – SRS v1.0.1

Vous aimerez peut-être aussi