You are on page 1of 56

Prison Advisory System

BS (CS)
Batch: 2017 – 2021

Submitted by
MUHAMMAD MOIZ MOOSANI (39818)
BARKHA (39796)
ABDUL KAREEM (39878)
AZHAR TAHIR (39708)

Supervised By
SIR FAIZAN TAHIR

Coordinated By
SIR MANSOOR EBRAHIM
FACULTY OF ENGINEERING, SCIENCES AND TECHNOLOGY
IQRA UNIVERSITY, KARACHI

PRISON ADVISORY SYSTEM 1


PRISON ADVISORY SYSTEM

ABSTRACT
Prior to the 1970’s, the total number of incarcerated in population had scarcely ever risen above.
Today there are over million prison behind bars. Pakistan incarcerates more people than many
other nations. In fact, while Pakistan accounts for only 2.83 percent of the global population, 1.2
percent of the world’s prisoners are held by Pakistan. This thesis uses several different
techniques to study mass incarceration within Pakistan. First, Pakistan prison numbers and
incarceration rates are compared to those of other nations from around the world, and the social
impacts of various systems of mass incarceration are compared. This paper also examines the
history of executive and legislative initiatives which have allowed Pakistan to develop a good
prison network. Next, this thesis examines the interplay between corporate interest and the
perpetuation of a system of mass incarceration. Finally, propositions for downsizing Pakistan’s
prison system are examined.

The purpose of working on such product is just to create a system which will help and protect the
rights of prisoners who are under any law of Pakistan. Our system will work on specific cases
and will provide full and complete record of the prisoner to the law and security department as
well as the lawyer and other close personnel of that prisoner.

This system will help the court to make good and appropriate decisions according to the law of
Pakistan. All the records will be autonomous that is no more manual work. Prisoners will not be
suffering in prison more than their punishment time period according to the law of Pakistan.

PRISON ADVISORY SYSTEM

PRISON ADVISORY SYSTEM 2


AKNOWLEDGEMENT
First, we would like to thank Almighty Allah for giving us the strength,
knowledge, ability and opportunity to undertake this research study and complete it
satisfactorily. Secondly, we are grateful to Sir Faizan Tahir for his constant
supervision and support throughout FYP. He has been there to lend his sincere
support and advice all the times and has given us invaluable advice, inspiration and
suggestions in our journey to knowledge. He gave all the freedom to continue our
research, without his wise advise, this project would have not been possible.

We would like to express our gratitude to project coordinator Dr. Mansoor


Ebrahim for his trust, support and valuable advice throughout the project.

We would also like to express thanks to all the teachers, they throughout our
studies helps us and guide us, and without their guidance, this journey would not
have been possible.

PRISON ADVISORY SYSTEM

CONTENTS
ABSTRACT -------------------------------------------------------------------------------------- 02
AKNOWLEDGEMENT ----------------------------------------------------------------------- 03

PRISON ADVISORY SYSTEM 3


1. INTODUCTION ------------------------------------------------------------------------ 06
1.1 SYNOPSIS --------------------------------------------------------------------------- 07

1.2 ADVANTAGES --------------------------------------------------------------------- 07


1.3 KEY BENEFITS --------------------------------------------------------------------- 08
1.4 BENIFICIARIES --------------------------------------------------------------------- 08

2. TECHNOLOGY BACKGROUND -------------------------------------------------- 09


2.1 MODULES OF PRISON ADVISORY SYSTEM ------------------------------- 09
2.2 SYSTEM DESIGN OF PRISON ADVISORY SYSTEM ---------------------- 11
2.3 TECHNOLOGY TRANSFER APPROACH ------------------------------------- 12
2.4 TECHNOLOGY OBJECTIVE ----------------------------------------------------- 12
2.5 METHODOLOGY ------------------------------------------------------------------- 13
2.6 AGILE METHODOLOGY --------------------------------------------------------- 14

3. REQUIREMENTS AND METHODOLOGY ------------------------------------- 19


3.1 SOLVING THE PROBLEM ------------------------------------------------------- 19
3.2 LOGIC, CONSTRAINTS AND STRATEGY ----------------------------------- 20
3.2 WHY USING A WEB BASED STRATEGY ------------------------------------ 21
3.4 NEW FEATURES -------------------------------------------------------------------- 22
3.5 NON FUNCTIONAL REQUIREMENTS ---------------------------------------- 28

4. PROJECT PLAN AND INITIAL DESIGN TOOL ------------------------------- 30


4.1 PLAN TO COMPLETE -------------------------------------------------------------- 30
4.2 GANTT CHART ---------------------------------------------------------------------- 34
4.3 USE CASE DIAGRAM-------------------------------------------------------------- 35
4.4 ERD ------------------------------------------------------------------------------------- 36
4.5 PROTOTYPE -------------------------------------------------------------------------- 37

5. PROJECT DESIGN AND DEVELOPMENT -------------------------------------- 42

5.1 LOGIN SCREEN ---------------------------------------------------------------------- 42

PRISON ADVISORY SYSTEM 4


5.2 DASHBOARD ------------------------------------------------------------------------- 43
5.3 CALENDAR --------------------------------------------------------------------------- 44
5.4 PEOPLE -------------------------------------------------------------------------------- 45
5.5 ADD NEW PERSON ----------------------------------------------------------------- 46
5.6 NEW EVENTS IN PRISON ADVISORY SYSTEM ---------------------------- 47
5.7 REPORT GENERATION IN SYSTM --------------------------------------------- 48
5.8 TIMER IN PRISON ADVISORY SYSTEM -------------------------------------- 49

6. TESTING ----------------------------------------------------------------------------------- 50
6.1 SYSTEM REQUIREMENTS -------------------------------------------------------- 50
6.2 MAIN DASHBOARD ---------------------------------------------------------------- 51
6.3 LOGIN PAGE -------------------------------------------------------------------------- 52
6.4 SYSTEM’S EVENT GENERATION PAGE -------------------------------------- 53
6.5 NEW PRISONER REGISTRATION ----------------------------------------------- 54
6.6 SYSTEM TESTING ------------------------------------------------------------------- 55
6.7 BILL OF MEASUREMENT AND EVALUATION ------------------------------ 55

7. TESTING ----------------------------------------------------------------------------------- 56
7.1 SCOPE ---------------------------------------------------------------------------------- 57
7.2 LIMITATIONS ------------------------------------------------------------------------ 57
7.3 CHALLENGES ------------------------------------------------------------------------ 57
7.4 FUTURE WORK ---------------------------------------------------------------------- 57

PRISON ADVISORY SYSTEM

1. INTRODUCTION

Much of the literature explaining both mass incarceration and increasingly harsh
punishment policies has been dominated by a focus on factors external to prisons,
such as macro level explanations that point to political factors (like a popular

PRISON ADVISORY SYSTEM 5


rhetoric of governing through crime) or social structures (like the presence or
absence of a strong welfare state).

Many of the prisoners are still kept in the prison, although their time period of
punishment had been full-filed according to the laws of Pakistan, but due to delay
in their court hearings and manual data representations they are still in prison.

This system predicts the charges and imprisonment of prisoners for specific cases
evaluating the law act and the time period when the charge was filed against the
prisoners. This system will also help the court to grant the best possible hearing
date to the prisoner, and it also keeps track of all the records regarding to the
prisoner.

The prisoner advisory system provide the benefit to the state to give the most
appropriate decision considering the laws and regulations of Pakistan to the
prisoners, who are already in the prison on account of any charges regarding to the
laws of Pakistan. This system predicts the charges and imprisonment of prisoners
for specific cases evaluating the law act and the time period when the charge was
filed against the prisoners. This system will also help the court to grant the best
possible hearing date to the prisoner, and it also keeps track of all the records
regarding to the prisoner.

PRISON ADVISORY SYSTEM

1.1 SYNOPSIS

The purpose of working on such product is just to create a system which will help
and protect the rights of prisoners who are under any law of Pakistan. Our system
will work on specific cases and will provide full and complete record of the
prisoner to the law and security department as well as the lawyer and other close
personnel of that prisoner.

PRISON ADVISORY SYSTEM 6


This system will help the court to make good and appropriate decisions according
to the law of Pakistan. All the records will be autonomous that is no more manual
work. Prisoners will not be suffering in prison more then their punishment time
period according to the law of Pakistan.

1.2 ADVANTAGES

 The autonomous prisoner system provides a full computerized and online


records
 It helps the judges, lawyers and security department to make a best decision
considering the laws of Pakistan.
 Due to its autonomous ability it provides complete, efficient, effective and
correct information to the users as compare to the manual work.
 It will help the prisoner to be free from the prison according to the law of
Pakistan, which is a major problem in the manual system.
 The layers and close person of the prisoners are being updated with every
steps regarding to the prisoner

PRISON ADVISORY SYSTEM

1.3 KEY BENIFITS

 There is an economic benefit to the local community


 Prisoner population levels are appropriately maintained
 Facilities can be used for various purposes.
 Prisoners will be given their right and will be provided with the appropriate
judgement

PRISON ADVISORY SYSTEM 7


 Prisoner’s lawyers and families will also get benefit from this system as it
will provide all the relevant information according to the laws and
regulation.

1.4 BENIFICIARIES

 Prisoners
 Lawyers
 Law and enforcement department
 People and communities related to the prisoners
 Judges
 Current prison system of Pakistan

PRISON ADVISORY SYSTEM

2. TECHNOLOGY BACKGROUND

2.1 MODULES OF PRISON ADVISORY SYSTEM


Our system has two main interfaces one for Admin panel and other is for User
which is jailor. Along with these, we have other interfaces which can be discussed
as below:

 Registration:
User data need to be registered in the prison advisory system so as to use the
system and add the prisoner’s details etc.

PRISON ADVISORY SYSTEM 8


If the user (jailor) is not registered in the-the prison advisory system, he/she cannot
do any task with it like writing FIRs, adding prisoner crime and punishment details
etc.

 Login:
After registration one can log in the system as the operator of the system on the
behalf of user. After this, he has the other user interfaces available for further
actions.

 Writing FIR:
The first option that is provided in the prison advisory system is writing FIR. We
all know FIR is First Information Report. All FIRs have unique complaint number,
date, time and location.

A similar interface is provided for writing FIR in this system. FIR written cannot
be lost and fast actions can be taken on the basis of it as it will be uploaded on
server and others can see it.

In this system, FIR has all the options that are in the old handwritten system but is
more secure as no changes can be made once the FIR is submitted and only the
authorized users can see it.

PRISON ADVISORY SYSTEM

 Adding Prisoner:
The second option that is given in this is the one of the most important that is
adding prisoner.

As soon as the court declares that the victim is found guilty and tells his or her
punishment and in which prison the victim must be kept, the prisoner will be sent
to the same prison as told by court and all the details of criminal like name,
address, age, criminal number, crime and the punishment all can be updated in the
prison advisory system.

PRISON ADVISORY SYSTEM 9


Then later these details can be used further and there is no option to delete the
prisoners data so once the prisoner is added to the database, no one can delete the
data of the criminal and it will be helpful as papers can get lost or can be theft but
in this case information cannot be lost and there is no use of theft this data as no
changes can be made in the database.

Prisoner data cannot be lost because the backup of the database is there and the
backup gets updated as soon as the changes are made into the database.

PRISON ADVISORY SYSTEM

2.2 SYSTEM DESIGN OF PRISON ADVISORY SYSTEM

Now this prison advisory system is designed in such a way that it takes fewer
resources to work properly. It has its own sort of minimum requirements that we
need to take care of:

 The system needs a minimum of 2 GB of ram to run all the features smooth
and sudden.
 It needs a minimum 1.3 GHz processor to rum smooth as less than that may
create problems.
 The system needs to be operated by some authorized person as wrong hands
can make it irresponsible.
 Rest is all up to the user’s usage will care for hardware

PRISON ADVISORY SYSTEM 10


FOR SECUIRITY ANTIVIRUS IS RECOMMENDED:

The system is made properly and all the testing is done as per the requirements. So
the rest of the things depend upon the the-the user and no one can harm the data or
the software if the proper care is done.

PRISON ADVISORY SYSTEM

2.3 TECHNOLOGY TRANSFER APPROACH

The system will be based on a website and it keep track of all the information of
the prisoner (some cases) autonomously and will give relevant prediction for
judgment of that prisoner. The beneficiaries will be able to keep track of all the
stuff and procedures regarding to the prisoners.
It will help the judges to make appropriate judgement considering the laws and
regulation of Pakistan in appropriate time.
Prisoners will not have to be imprisoned more then the time period declared
according to the laws of Pakistan depending on the charge on which he is arrested.
Current prison system of Pakistan is mostly manual and this results in lost of data
occasionally so this system will keep all the track autonomously.

2.4 TECHNOLOGY OBJECTIVE

Research Objectives:

PRISON ADVISORY SYSTEM 11


Imprisonment is an important form of punishment. The punishment by way of
imprisonment consists of deprivation of liberty for a certain period. To deter
people from criminal acts – deterrence and to requite wrong doing retribution

Academic Objectives:
To study the various industries in prisons from all the angles
To assess the "creativity in captivity"
To study how a revenge force/ attitude can be effectively used for better results.

Other Objectives:
To maintain the discipline of law and regulations of Pakistan.

PRISON ADVISORY SYSTEM

2.5 METHODOLOGY

In this system, the data used for the development of the inmates’ information
system were collected through two important data sources namely – Pakistan
Supreme Court and Police department of Pakistan. These two recourses were used
to analyze the operations of Pakistan Prison situation, using Central jail, located in
Karachi, as a case study. The data collected were analyzed and summarized as
follows; personal data form, family data form, education data form, and court
judgement form. All these forms have different information about the prisoner
which must be filled to open a file for anyone brought in as an inmate. The
personal data form requires information such as inmate name, date of birth, sex,
nationality, state of origin, local government of origin, contact address, telephone
number, offence committed, period of sentence, date of registration, date to leave
prison, etc. The family data form requires information about the prisoner’s family
such as father’s name, address, father’s occupation, mother’s name, address,
mother’s occupation, etc. The education data form captures information about the
primary, secondary, and higher institution attended, qualification obtained, etc. The
data collected from the judgment form captures information about the offender’s
name, offence committed his lawyer, lawyer’s address, name of the judge,

PRISON ADVISORY SYSTEM 12


judgment passed, date of judgment, period of time to spend in the prison,
guarantor’s name, guarantor’s address, etc.

The prison advisory system provides the following facilities:

 It provides prisons officials with an interface application for registering


prisoners’ information.
 It provides a database file for storing prisoners’ information.
 It allows information about a particular prisoner to be conveniently retrieved
from the database if need arises.
 It provides a higher level security which requests for user’s authentication in
order to access any information in the system.

PRISON ADVISORY SYSTEM

 Generates reports of successful operations.

2.6 AGILE METHODOLOGY

The development / Research Methodology we will use in this project will be


AGILE METHODOLOGY. As agile methodology in an incremental methodology,
our system will be update and new features will be added according to passage of
time.

10 Reasons for Choosing Agile Software Development and Testing

1. Reduces Technical Debt

Technical debt refers to the maintenance tasks required to support the existing
product. Those tasks include defect resolution, refactoring, and testing. In a
traditional project methodology, this technical debt can accumulate quickly as the
team focuses on new feature development to keep pace with the project timeline.

Agile software development helps keep technical debt to a minimum. Any defects,
feature changes or other maintenance tasks are added to what is known as a

PRISON ADVISORY SYSTEM 13


product backlog. The team reviews the backlog during each sprint planning session
to determine what to address next. Thus, each sprint is a new opportunity to fix
defects along with new feature development.

2. Easily and Quickly Adapt to Change

Teams not only adapt to change in Agile, they are encouraged to embrace the
practice. Agile acknowledges that customer needs change and that teams must be
able to adapt. Working in time-boxed iterations means the team does not need to
wait on a lengthy requirement change, review and approval process. Any change or

PRISON ADVISORY SYSTEM

maintenance item is added to the backlog and allotted to an upcoming sprint based
on priority and business need.

3. Using Agile for Mobile Application Development and Testing Creates Total
Alignment and Transparency

An Agile software development process requires a level of collaboration and


involvement that one would not find in a traditional waterfall project. In waterfall,
each phase often only involves a specific set of individuals with expertise to
accomplish the tasks for that phase. However, Agile is quite different.

Before each sprint, the entire team reviews, validates, and agrees on which user
stories to assign to the sprint. The developers, analysts, testers, and product owner
work together to accomplish the items assigned to the sprint. The team meets daily
to keep everyone on the same page. Throughout the sprint, each team member
verifies each feature and works closely with the developers to ensure it meets the
customer’s needs.

4. Agile Software Development and Test Minimize Risk

Although teams do their best to plan the phases of a waterfall project, there is often
a level of uncertainty that isn’t typically found in agile software development. The
traditional approach to software development leaves product testing and release to

PRISON ADVISORY SYSTEM 14


the end of the project. Waiting until the end leaves the team unsure if the product
meets the customer’s needs.

Using Agile for mobile application testing, teams get feedback almost daily and
can act on that feedback immediately. Developing a product in sprints allows
teams to quickly determine if they are on track and allows them to adjust almost
immediately. Also, because sprints are customer-focused, the team can be sure
they are producing value at every release.

PRISON ADVISORY SYSTEM

5. Higher Quality Product

Waterfall methodology can negatively impact the quality of the product. In a


waterfall methodology, project phases may be so full of features that developers
must rush to complete them and little time is left for testing. As a result, they may
not have the time needed for proper mobile application testing.

On an Agile project, the team does not attempt to develop all features at once.
Instead, the team assigns a smaller subset of features to each sprint. That way, the
developers have more time to perfect those items before release. Furthermore,
Agile’s reliance on continuous integration (merging all developers’ working copies

to a shared repository several times a day) gives developers the chance to test
issues daily and address them immediately. Working on a product in small
incremental releases ensures that each sprint results in a fully tested and working
product.

6. Predictable Delivery Dates

Waterfall projects revolve around lengthy project cycles that make it difficult for
teams to predict a release date accurately. Agile iterations happen in time-boxed
sprints that result in a working product at each release. Thus, the product owner
knows that they will get new features at the end of every sprint.

7. Better Stakeholder Engagement

PRISON ADVISORY SYSTEM 15


For Agile software development to be successful, it is important for the product
owner to be engaged throughout the process. Unfortunately, that level of
engagement doesn’t happen in waterfall projects. In a waterfall project,
stakeholders aren’t inclined to participate past the requirements gathering phase
and only re-engage during user acceptance testing (UAT). Unlike waterfall,
product owners are very active participants in agile sprints. This level of
involvement gives them a sense of ownership that encourages further engagement.

PRISON ADVISORY SYSTEM

8. User-Focused Testing

Agile is about more than just adapting to change. It is about delivering what is
most important to the customer. As such, the product owner works closely with the
team to help them gain a clear understanding of what is needed. In Agile software
development, user requirements are represented as “user stories.” These stories
define an action that provides value to the customer. The concept of user stories is
a stark contrast to the rather lengthy list of requirements developed in a traditional
development methodology.

9. Greater Customer Satisfaction

The product owner actively participates in the sprints during the Agile
development and testing process. Their participation in this manner ultimately
fosters a level of

Engagement that ensures their needs are being met. Not only that, they get to see a
working product at the end of each sprint and will be pleased that their team can
deliver releases more quickly and frequently.

10. Better Project Control

Teams work together, along with the product owner, to determine what goes into
each sprint. That way, the team is on the same page about what needs to be
delivered. Also, there is less of a chance of surprises or unplanned features making
it into the build.

PRISON ADVISORY SYSTEM 16


Daily standup meetings keep everyone aware of project status so issues can be
addressed quickly. Planning meetings allow teams to prepare for the upcoming
sprint. Retrospectives help the team learn from prior sprints and apply new
methods to improve in future sprints.

PRISON ADVISORY SYSTEM

Agile software development and testing follow a process that helps teams deliver a
working product that provides value at the end of each sprint. Embracing change is
one of the core tenets of the process. With Agile software development, teams can
quickly adapt to requirements changes without negatively impacting release dates.
Not only that, Agile helps reduce technical debt, improve customer satisfaction and
deliver a higher quality product. Contact one of our testing experts today to learn
how we can help you in your mobile application testing efforts.

PRISON ADVISORY SYSTEM 17


PRISON ADVISORY SYSTEM

3. REQUIREMENTS AND METHODOLOGY

7.5SOLVING THE PROBLEM

The prisoner advisory system provide the benefit to the state to give the most
appropriate decision considering the laws and regulations of Pakistan to the
prisoners, who are already in the prison on account of any charges regarding to the
laws of Pakistan. This system predicts the charges and imprisonment of prisoners
for specific cases evaluating the law act and the time period when the charge was
filed against the prisoners. This system will also service the court to grant the best
possible hearing date to the prisoner, and it also keeps track of all the records
regarding to the prisoner.

The specific objective allows to identify and describe about the integrated prison
controlling and monitoring system. The specific objective is listed below:
 To ensure that data recording is done using computers for easy access.
 To generate prisoner report.
 To register and keep all information’s about the prisoners such as their
family details and background information.
 To reduce the work hold stakeholders.
 To manage the large number of cases/prisoner’s details.
 To save time, money, materials by using computerize system.
 To prevent loss of data and ensure secuirity.

At present, technology is rapidly growing. Thus, the uses of the project are to
remove old or manual system that the organization uses and replace with the
computerized system. The computerized system allows to reduce the amount of
time spent on searching different types of information by charging the use of the

PRISON ADVISORY SYSTEM 18


methodology of the case of the problem. And to bring a better way by keeping
their confidentiality.

PRISON ADVISORY SYSTEM

The project fix problems that deals with the statement of the problem accordingly
and produce new, easy, save and flexible prison advisory system.

7.6 LOGIC, CONSTRAINTS AND STRATEGY

The project should be developed such that the necessary functions and
performance are achieved. The project is developed within latest technology.
Through the technology may become obsolete after some period of time, due to the
fact that is easy to implement the system of new technology. The system we are
working on is a web based system with the backend database compatibility so the
data and records will be remain secured.

With both qualitative and quantitative surveys, this analysis used a descriptive
research design. To gain the thoughts and responses of respondents, the qualitative
approach was used, whereas the quantitative method was used to present
quantitative results. To promote the transfer of information in the information
system, the study architecture contained diagrammatic depictions.
To show the progression of events, Individual Relational Diagrams (ERDs ').

PRISON ADVISORY SYSTEM 19


PRISON ADVISORY SYSTEM

A series of steps that created a modern computer information system is defined in


the system creation life cycle (SDLC). The SDLC is a procedure for problem-
solving. A variety of operations are delineated by each phase (step) in the
procedure. A solution to the obvious problem was brought about by carrying out
these exercises in the order specified by the SDLC. Certain activities were carried
out at each stage; the effects of these activities were reported in a report identified
at that stage.

Examination of the system is the analysis of the existing system and its challenges,
criteria and potential methods assessment. The High Security Prison in Pakistan
uses a manual records keeping scheme and the conventional and unreliable paper
file form holds details. It is difficult to view the information of prisoners when the
officers have to browse through files, resulting in a lot of effort. The never-ending
crowds of people arriving to see prisoners greet you at the entrance, on the other
side.

7.7 WHY USING A WEB BASED STRATEGY

PRISON ADVISORY SYSTEM 20


As per the current time of technology where mobile internet is playing a very vital
role in our lives, and according to the current studies of technology it is shown that
people now a days are using mobile/laptop/tablet browser more often. So the
purpose of making this project as website is just to make it simple and more
compatible in all over the devices in general.
Making this project as a website also includes a good feature of security in our
project as this is a project based on prisoners and their data to it highly
confidential.

Some of the key points which motivated us to create a website base prison
advisory system are below:

 Easy access to majority of the compatible devices


PRISON ADVISORY SYSTEM

 More secured and confidential due to different certificates.


 Easy maintenance for future.
 Web based projects are mainly vast and wide platform compatible.

7.8 NEW FEATURES

Our project has two key interfaces, one for the Admin screen, and the other for the
jailor user. We have other interfaces besides these, which can be discussed as
follows:

 REGISTRATION: In order to use the device to add the specifics of the


inmate, user records must be documented in the jail control system.
If the user (jailor) is not enrolled with the prison control scheme, he/she will
not do any job with it, such as writing FIRs, adding descriptions of prisoner
offense and penalty, etc.

 LOGIN: One will log into the system as the operator of the system on
behalf of the user after registration. After this, he has access to the other user
interfaces for more intervention.

PRISON ADVISORY SYSTEM 21


 WRITING A FIR: Writing FIR is the first choice that is offered in the
prison advisory system. We all know the First Knowledge Report is FIR.
Both FIRs have a specific number, date, period and place of the complaint.
FIR has all the choices in this system that are in the old handwritten system,
but is more reliable because after the FIR is sent, no modifications can be
made and only the approved users can see it.

 ADDING PRISONERS: The second choice offered in this is one of the


most significant inmate addition options.
PRISON ADVISORY SYSTEM

The prisoner will be returned to the same jail as told by the judge as soon as
the court declares that the victim is found guilty and records his or her
sentence and in which prison the victim may be held, and all the criminal
information such as identity, location, age, criminal number, offense and
punishment will all be changed in the prison advisory system.
Then these records will be further used later as there is no way to remove the
data of the inmate so that if the inmate is added to the database, no one can
erase the data of the prisoner because it would be useful as papers can be lost
or fraud, but information will not be lost in this situation and this
information is not used for theft and no modifications will be made in the
database.
Data from inmates will not be destroyed because the computer archive is
there and the backup is changed as soon as the database changes are made.

ER DIAGRAM OF PRISON ADVISORY SYSTEM:

Entity User: Can be performed only if the the-the user is authenticated. After the
user has registered and is verified by the admin then the user can perform all the
tasks on it. Some of the features of the user are as follows:

PRISON ADVISORY SYSTEM 22


Primary key User_id: The user id is system generated and unique, which can be
referenced in any other entity. This mostly for recognizing it in the unique way
anywhere in the program.

Username: Username is taken from the user and fed into this it is properly
validated so that no mistake happens.

Number: The phone number is taken here to keep the member updated and for the
confirmation of the event is also managed through this method.

PRISON ADVISORY SYSTEM

Email: Email is taken to make member aware of new offers new events and for
future reference, it is also relevant. Password: Password is required to login into
the system and the password must contain a special character, a numeric character
and an uppercase letter.

Entity Admin: Admin is only a single user which can verify the user who is trying
to register on this prison advisory system.

If the admin verifies the user then only the user can see the details and can make
changes according to the given privileges. No other user can register as admin as
there is only one account for admin.

Entity Prisoner: The prisoner is the criminal who is found guilty and is in the
prison for his crime. A prisoner cannot do any change in this software as there are
no privileges given to them and their information can only be seen only by the
authentic user.

It has following attributes:

Primary key prisoner_id: As we all know that all the prisoners in prison have a
unique criminal number so that is used here as a primary key.

PRISON ADVISORY SYSTEM 23


Address: As the prisoner is a criminal so for the record there must be prisoners
address so that if the criminal is required after completing his punishment period in
prison then he or she can be found on the address.

Name: Name of the prisoner is important as it is easy to found a person in case it is


required.

PRISON ADVISORY SYSTEM

Crime: The user must know that which prisoner is there and for which crime. So
the user can check it in the database whenever he wants and about whoever he
wants.

Punishment: As the user must know about the crime he or she must also know
about the punishment period and the type of the punishment of the prisoner. So an
entity punishment is provided to know about the punishment of the prisoners.

USE CASE DIAGRAM OF PRISON ADVISORY SYSTEM:


In this use case as you can see we have our system as box and the users who use
our system are of the kind of outside the box but related to the system. There are
two kinds of user one is admin and the other is user type.

Users: There is only a single type of user which is present here in this system. This
user has all the privileges but it cannot register itself on this system as the admin
needs to verify the registering user.

After the admin verifies the user only when he is eligible to use the the-the system
and after that, it has all the privileges.
Attributes given to the user are

Writing FIR: The user can write FIR and can save it. The saved FIR can be seen
only by the valid users.

PRISON ADVISORY SYSTEM 24


Prisoner: In this attribute or column, the user can add the details about the
prisoners and there is no option to delete prisoner data once it is added to the
prison advisory system.

PRISON ADVISORY SYSTEM

Admin panel: There can be only one account of admin. Admin can add the users.
When a user tries to register on prison advisory system then the request goes to
admin and if the admin verifies only then the user can register itself on it.

Other privileges that admin has been explained below:

He can Login through his id and password. The password is made very secure so
that no person can guess and make it difficult for hackers to crack.

He has access to the profile of his own and he can search detail of other Users and
can see the detail of him.

This admin is responsible for creating and uploading the Menu card to every User
in the Interface.

He can add a user to that account and give access to for handling the prison on
their own.

He can manipulate the data of any user. In this, we are showing here the interaction
of the users with our system through our use case diagram.

PRISON ADVISORY SYSTEM 25


PRISON ADVISORY SYSTEM

PRISON ADVISORY SYSTEM 26


PRISON ADVISORY SYSTEM

7.9 NON FUNCTIONAL REQUIREMENTS:

Square non-functional necessities calculate the demand rather than realistic needs.
Instead of individual habits, this square tests the necessities that determine
parameters that would be used to select the operation of a device.
In the style of "system shall be" the square measure of non-functional necessities,
the corresponding degree of overall property of the system as a complete or a basic
facet and not a single process.
The overall properties of the method substantially mark the gap in whether or not
the event project has succeeded or failed.

Non-functional specifications are also broken into 2 key categories:


 Qualities of implementation, such as protection and utility, which are
apparent at runtime by square measure.
 Qualities of evolution, such as liabilities, maintenance, versatility, and
quantification, the square measure expressed within the code's static
framework.

Non-functional prison advisory system framework specifications impose


limitations on the products being produced, the process of events and define
external limits to be fulfilled by the goods.
Our project qualifies both functional and non-functional requirements correctly,
and the framework is up to performance vice labeling. Before going into the plan,
we need to take care of a few more things here.
The most significant aspect of the technology environment is the ease of use of the
application. If created, the application would be easy to use while bearing in mind
that users do not have to care twice about looking for any feature.

PRISON ADVISORY SYSTEM

PRISON ADVISORY SYSTEM 27


By using the color mix, everything can be differentiated so that everything desired
is more often illuminated with focus colors. We may use basic formats, such as the
arrangement of the card and grid, etc.
Many strong intuitive interfaces can be generated by modifying color and other UI
variations. That eventually makes it possible to use the interface for a long time.
The aim of interface style is to shape the user's interaction skills as straightforward
and intuitive as possible, which is usually known as user-centered style, unlike
ancient style wherever the purpose is to form the item or device visually appealing.

Where smart graphic/industrial style is daring and eye-catching, smart interface


style is commonly delicate and invisible.

PRISON ADVISORY SYSTEM

4. PROJECT PLAN AND INITIAL DESIGN TOOL

4.1 PLAN TO COMPLETE

PRISON ADVISORY SYSTEM 28


WEEK 01-04: PROJECT RESEARCH AND APPROVAL:

Our team worked on the research of this project to the complete core so that we
can have a complete knowledge about our project. In order to explain our project to
the portal we must have a complete knowledge about our project. Our supervisor
also helped us a lot in the research plan and he had also arranged a meeting with a
lawyer for getting more knowledge about our project because our project is based
on prisoners and court system a lawyer had helped us a lot in this matter. After a
complete phrase of research we had expressed our idea to the portal and we got an
approval letter from the coordinator to work on the project.

WEEK 05-08: RESEARCHING THE REQUIREMENTS:

After getting the approval for our project we had a task to evaluate the tools
required for the project. We want our project to work on the latest tools in the
market, so we were researching on the tools that weather they will work for our
project or not. As per the plan we decided to build a website of our project because
this platform is available for all means of technology.
We planned to use NODE JS for the development of our project as it is a new
technology in the market and has many benefits.
Also for the backend we are using MongoDB as it provides many good features for
the backend.

WEEK 09-12: COSTOMIZATION OF REPORT:

After the research work on project and the requirements of the project our team
started to prepare the report for the project, in which we summarize all the research
things we did for the project. All the functional and non-functional requirements
PRISON ADVISORY SYSTEM

were mentioned in the report as well as the all the necessary reports for the
proposal was also mentioned.

WEEK 13-16: PROJECT PROPOSAL:

PRISON ADVISORY SYSTEM 29


Customization of report is completed and is ready for proposal. The proposal is
then send to the coordinator for the approval. After the approval of report we have
a complete customize report and a project proposal which is approved.

WEEK 17-20: SYSTEM DESIGN (FRONT END):

As mentioned that our project will be working on NODE JS, we started our
implementation for front end on NODE JS. All the requirements of our project
were design according to the current requirement. We want our project to be user
friendly which can be understood and can be used easily by the users. For
achieving this milestone we have to work a lot on user interface to make much
easier much reliable and much appealing to the user, and apart from that we also
want our front end to very responsive, so that user might not face any glitch while
using.
One more thing that we worked on was that we made our front end in such a
manner that there is a lot of room for updating the front end, so if in future if the
front end needs to be updated it can be done in a very good way.
Color selection and theme selection are provided to the user, so user can set the
theme and color according to their wish.

WEEK 20-24: SYSTEM DEVELOPMENT (BACK END):

Developing the front end was the great challenge for the team, and after achieving
the milestone we have a new challenge now to develop the back end for our
system. We used MONGO DB for our back end because it provides a good backup
for the system and is cheaper than the other DB’s in the market. Mongo DB also
provides a good interface which in results very less lag in the system, and it also
provides a

PRISON ADVISORY SYSTEM

Cloud backup as well that means that the data is save even if the system is not
working or is in the process of maintenance.

WEEK 25-28: DATABASE:

PRISON ADVISORY SYSTEM 30


Creating the database is must in our project prison advisory system, as the data and
details of the prisoners and authorities must be stored safely and soundly.
We had used MongoDB as our Database as this technology have lesser loading
time and lesser down time.
It is cheaper and less expensive as compare to other databases in the market.

WEEK 29-32: QUALITY ASSURANCE:

Quality assurance is an evaluation feature that compares current project quality


outcomes to expected or anticipated results to ensure the project management is
following the correct procedures. Assuring quality means ensuring that the
project's quality standards are met.

WEEK 33-36: TESTING:

A group of events dedicated to investigating and evaluating the success of a


specific project in order to provide stakeholders with knowledge regarding the
project's current standards of output and efficiency. It's an attempt to provide a
third-party perspective on the project so that stakeholders can assess and consider
the risks of project delay or misalignment.
The testing phase's goal is to review and validate the project's declared
specifications, functionality, and objectives prior to delivery to ensure that the
project meets the initial requirements stated in the specification documentation.

WEEK 37-40: ROLL OUT / MAINTENANCE:

Plan maintenance is, at its heart, a matter of adhering to a set of very basic
principles over the duration of your project. Instead of hoping everything will go as
expected,

PRISON ADVISORY SYSTEM

it means being really deliberate about monitoring your progress against objectives
and targets. It entails maintaining order by consistent and constant contact.
Plan maintenance sessions should be held at least once a week. See (and frame)
these meetings as a confirmation that the mission is on schedule and your activities
are having an effect, rather than as a way to ensure that your team completes their
tasks.

PRISON ADVISORY SYSTEM 31


PRISON ADVISORY SYSTEM

4.2 GANTT CHART

PRISON ADVISORY SYSTEM 32


PRISON ADVISORY SYSTEM

4.3 USE CASE DIAGRAM

PRISON ADVISORY SYSTEM 33


PRISON ADVISORY SYSTEM

4.4 ERD

PRISON ADVISORY SYSTEM 34


PRISON ADVISORY SYSTEM

4.5 PROTOTYPE

PRISON ADVISORY SYSTEM 35


PRISON ADVISORY SYSTEM 36
PRISON ADVISORY SYSTEM 37
PRISON ADVISORY SYSTEM 38
PRISON ADVISORY SYSTEM 39
PRISON ADVISORY SYSTEM

5. PROJECT DESIGN AND DEVELOPMENT

5.1 FRONT END DESIGN:

LOGIN SCREEN:

PRISON ADVISORY SYSTEM 40


Login screen will allow all the registered users to login into their respective
dashboards. Only authorized persons can login into the prison advisory system.
Only admin have the rights to allow new users to login into the dashboard.

PRISON ADVISORY SYSTEM

DASHBOARD:

PRISON ADVISORY SYSTEM 41


FOLLOWING ARE THE FUNCTIONALITIES OF DASHBOARD
SCREEN:

• Displays the active cases graph.


• Displays the closed cases graph
• Displays the running cases graph
• Graph for recent cases
• Displays the multi option menu bar on left side.

PRISON ADVISORY SYSTEM

CALENDAR

PRISON ADVISORY SYSTEM 42


FOLLOWING ARE THE FUNCTIONALITIES OF CALENDAR SCREEN:

• Calendar keeps track of all your upcoming activities.


• It also maintains the track of pending cases and expired cases.
• Calendar in interconnected with every authorize person independently.
• It only shows the record of the person who is logged in

PRISON ADVISORY SYSTEM

PEOPLE

PRISON ADVISORY SYSTEM 43


FOLLOWING ARE THE FUNCTIONALITIES OF PEOPLE SCREEN:

• All the users of Prison Advisory system are listed.


• Admin can add delete and update new or existing users.
• Profile can be viewed by other users as well but cannot edit.
• Profile picture can be added
• Password can be edited.

PRISON ADVISORY SYSTEM

ADD NEW PERSON:

PRISON ADVISORY SYSTEM 44


FOLLOWING ARE THE FUNCTIONALITIES OF NEW PERSON
SCREEN:

• Process: Admin can add delete or update new or existing persons


• A person can be lawyer, judge, specific court or admin.
• Details about the surety in terms of person’s personal information.
• Every person have its own role in prison advisory system, which are
interconnected with each other.

PRISON ADVISORY SYSTEM

NEW EVENTS IN PRISON ADVISORY SYSTEM:

PRISON ADVISORY SYSTEM 45


FOLLOWING ARE THE FUNCTIONALITIES OF NEW EVENT SCREEN:

• Complete Case Information


• Provision to notify victims of the inmate's activity such as court
appearances, release or execution.
• In case of furlough & parole release of the prisoner this module notifies the
administrative section with required information of the prisoners.

PRISON ADVISORY SYSTEM

REPORT GENERATION IN PRISON ADVISORY SYSTEM:

PRISON ADVISORY SYSTEM 46


FOLLOWING ARE THE FUNCTIONALITIES OF REPORT
GENERATION SCREEN:

A complete report is generated of all the prisoners who have fulfilled their
punishment time period.

PRISON ADVISORY SYSTEM

TIMER OF IMPRISONMENT OF A PRISONER IN PRISON ADVISORY


SYSTEM:

PRISON ADVISORY SYSTEM 47


FOLLOWING ARE THE FUNCTIONALITIES OF TIMER SCREEN:

Timer shows the remaining time of the current case i.e how much time is left in the
prisoner’s imprisonment.

PRISON ADVISORY SYSTEM

6. TESTING

The task of identifying user specifications and implementing a framework to


satisfy them is known as system development. Testing, on the other hand, is the
practice of putting a newly designed system through its paces to ensure that the
hardware and operating software are correctly integrated and configured, as well as
other system parameters.

PRISON ADVISORY SYSTEM 48


6.1 SYSTEM REQUIREMENTS

The following software and hardware components are required to complete this
project.

We used:

Hardware requirements:

The program produced needed the following hardware as part of the design cost:
The new system's reliable and successful service.

 Pentium IV
 1 GB RAM
 Enhanced Keyboard
 E.G.A/V.G.A, a colored monitor.
 An uninterruptible power supply (UPS) units
 LaserJet or Desk Jet printer.

Software Requirement:

The software requirements includes:

 Windows 98 or high version for faster processing.


 Internet connection of MongoDB.
 Latest version of web browser for better performance.

PRISON ADVISORY SYSTEM

SYSTEM MODULE IMPLEMENTATION:

Top to down Approach was used to develop the system. It employs the most basic
program-solving methods. The program is set up such that each subsystem can be
chosen and implemented independently. The job is broken down into multiple
components that work together to provide a solution to the problem.

6.2 MAIN DASHBOARD:

PRISON ADVISORY SYSTEM 49


This is the main dashboard page service that allows users access to the prison
advisory system. This page also contains other information and news about the
Prison Advisory System. This page is accessible to all the users or system and
required a username and password to access the Prison advisory system.

PRISON ADVISORY SYSTEM

6.3 LOGIN PAGE

This page provides a security feature that allows a user to gain access into the Prison Advisory
system as seen below:

PRISON ADVISORY SYSTEM 50


PRISON ADVISORY SYSTEM

6.4 SYSTEM’S EVENT GENERATION PAGE:

This module allows user access the event generation in Prison Advisory System
and authentication details have been verified, this is where prisoners details,
reports and cases are managed in a report format and can be placed over one pdf
file which shows all the cases according to the status, as seen in the diagram
below:

PRISON ADVISORY SYSTEM 51


PRISON ADVISORY SYSTEM

6.5 NEW PRISONER REGISTRATION:

This module helps the user to create new prisoner case documents and archive
them in a folder. This documents make it possible to track down facts on prisoners
at any time. Reports can also be created from the documents that have been saved.

PRISON ADVISORY SYSTEM 52


PRISON ADVISORY SYSTEM

6.6 SYSTEM TESTING:

After the integration of modules, the whole system was tested. The prison advisory
system was system was tested using a local host and it worked perfectly. Sample
prisoners and cases details were imputed into the system and it was stored in the
database and viewed using the event and report event module.

6.7 BILL OF MEASUREMENT AND EVALUATION

ITEMS AMOUNT

PRISON ADVISORY SYSTEM 53


Cost of transportation during project 700
research
Feeding during research 500
Software used Node JS, MongoDB 2,000
Cost of online research 600
A HP Laptop 50,000
Total 53,800

PRISON ADVISORY SYSTEM

7. EVALUATION AND CONCLUSION

We considered the system of prisons in our country and then decide to do work on
it. We made automatic system for prisons which will give better outcome, it works
on the time management, Effectiveness and provide the benefit to the state to give
the most appropriate decision considering the laws and regulations of Pakistan to
the prisoners, who are already in the prison on account of any charges regarding to
the laws of Pakistan.
This system predicts the charges and imprisonment of prisoners for specific cases
evaluating the law act and the time period when the charge was filed against the
prisoners. This system will also help the court to grant the best possible hearing
date to the prisoner, and it also keeps track of all the records regarding to the
prisoner.

PRISON ADVISORY SYSTEM 54


Automated prison system is the collection of register cases for each prisoner
entering the prison for automated release diary generator. A good system for prison
service should be automated, because it enhances the administrative and
experience to design, develop and implement a prison management system for
prison defense and security.

In spite of the benefits of the use of computer to provide timely and accurate
information, which is absent in prison, it is not all problem arises as to how
computer can be utilize that is programmed to achieve desire result.

The introduction of computer has brought many changes to various fields, such as
prison, health sector, hotel, banks and in business sector generally. Just because it
helps to carry out complex and lengthy analytical operation very rapidly to
effective communication system, it is also time saving, versatile, flexible storage of
large information and reduce human labor.

PRISON ADVISORY SYSTEM

7.1 SCOPE:

By having this kind of system the law enforcement personnel will get a huge
advantage in making their decision, more over the laws will also be followed
legally. Implementing such systems will make a big change in the current systems
of prison. Chances of fraud and law breaking will be minimized because of its
autonomous ability.

The system is to attend to the welfare of prisoners and updating of information and
enhance-the criminal investigation research e.tc the general information system
will help to ensure that up –to-dated individual information of every prisoner is
being maintained such as the cell number and other personal information relating
to his date of release, how to locate such inmate and make him/ her available.

7.2 LIMITATIONS:

PRISON ADVISORY SYSTEM 55


This research is based on prison management, but the system to design will be
limited to the prisoners record keeping i.e. how the prison record can be stored,
edited, updated and the security of the records.

7.3 CHALLENGES:

As the project is about prisoner so collecting correct and efficient data was difficult
because these type of data is not publically and for finding it we use resources.
Coordinating with the government is the big challenge, for us as a common man
it’s not easy to make use of it at government level.

7.4 FUTURE WORK:

There could be other types of cases handled, live streaming of court, Notification
to the guidance, Profiles of witnesses and so on in future.

PRISON ADVISORY SYSTEM 56

You might also like