Online FIR Thesis
Online FIR Thesis
Undertaken By:
Hassan Raza
ID. NO. 6746D
Supervised By:
ADNAN ABBAS
Lecturer, Computer Science
Final Approval
It is certified that we have read the project report titled “E-Leave System” submitted by
Muhammad Hamad Ejaz (6918d) and Hassan Raza (6746D). It is our judgment that this project
is of sufficient standard to warrant its acceptance by the Qurtuba University Dera Ismail Khan for
the Bachelor’s Degree in Computer Science.
Committee
External Examiner:
HOD:
Supervisor:
Adnan Abbas
Lecturer,
Department of Computer Sciences,
Qurtuba University,
Dera Ismail Khan
A Dissertation Submitted to
The Department of Computer Sciences,
Qurtuba University, Dera Ismail Khan
as a partial fulfillment of
the Requirements for the Award of
Degree of Bachelors in Computer Sciences.
Dedicated To
Countless gratitude to Allah Subhana wa Ta’alah, Who has all the supreme powers and who is the
only supportive in all ups and downs of life. All praise goes to Him Who gave us courage,
understanding and devotion to complete this project.
We express our gratitude to our kind supervisor Adnan Abbas whose earnest support helped us
to complete our project successfully. Without her guidance and help it was not possible to complete
this web system.
Furthermore we would like to thank all our respected teachers for their ethical support to our
efforts, and their guidance and help, where ever it was required.
Last but not least our immense thanks goes to our parents, brothers and sisters for bearing us during
development, raising hands in prayer for us and giving their consistent moral support.
OBJECTIVE The main aim of the project was to develop a public website
which would facilitate the People of KP
Chapter 1: Introduction
1.1 purpose 1
1.2 Feature 1
1.3 Scope 1
1.4 Advantage 2
1.5 Requirement For Online FIR 2
1.5.1 Hardware Requirement 2
1.5.2 Software Requirement 2
System Design 9
5.1. Development Model 9
5.2 Data Flow Diagram 10-11
5.3 Flow Chart 11-12
5.3.1 Description 13
5.4 Entity Relationship Diagram 13-14
Implementation 39
8.1 Testing 39
8.1.1 Unit Testing 39
8.1.2 Integrated Testing 40
8.1.3 System Testing 40
8.1.4 Acceptance Testing 40
8.2 Conversion/Changeover 40
8.2.1 Direct Changeover 40
8.2.2 Pilot Changeover 40
8.3 Platform Selection 41
CHAPTER 1
INTRODUCTION
1.1 Purpose :
The main aim is to design an application that give ease to people. The system is primarily based
on Web to facilitate the people of the KP regardless of their location.
This application is very user friendly and have a feature like submitting online FIR & gets the
feedback of FIR progress online.
1.2 Features:
Online FIR Registration provides following features:
1) Submit online FIR
2) Get Progress
3) Send Email to Applicant
1.3 Scope:
We are a group dedicated to improving Fir Registration. In order to carry out working on this
project, advance tools are selected so that the project would be accustomed with the prevailed
technologies. Among other, ASP.Net is the dominant fundamental factor used throughout the
project. The reason ASP.NET was used for is its greater flexibility in achieving difficult tasks
through object oriented concepts.
As Online FIR is a web project and all contents will be residing on a remote host so the
implementation of ASP.NET was a good choice for the developmental team to be performed
using ASP.NET
In almost every project the most crucial and time-consuming task is the concern to store data
safely and easy-to-access and modify, and so was in case of Online FIR Registration As for
the data storage and retrieval part, KPK Online FIR System uses mysql. It offers security to
the user privacy.
We also provide greater security in terms of user’s account. Different checks of security has
been made.
1
1.4 Advantages:
The main advantages of using our proposed system are;
You can search for exactly what you’re looking for quicker.
Every one want to control everything without moving one inch. The use of Online
Applications has ensured comfort in daily Life. The main goal behind designing this
application is to facilitate the people of KP and make them well aware about the FIR and make
FIR system paperless.
1.5 REQUIREMENTS FOR Online FIR
1.5.1 Hardware requirements:
The physical things that are necessary for working with online FIR are ;
Computer:
A user must have a computer to get benefited from Online FIR System. An alternative to this
is using latest mobile phones such as android phone to work around this limitation.
Internet:
Internet is mandatory for using Online FIR as it is a website and works online over
internet.
1.5.2 Software requirements:
Microsoft Internet explorer or any other latest browser.
1.6 TOOLS USED IN THE DEVELOPMENT
The mainstream tools used in the development of Online FIR are visual Studio 2012 and
MySQL. Following is an introduction to these tools which contains programming languages
that have their own programming constructs which work like tools.
2
1.6.1 Visual Studio Software.
When making a suggestion to someone to try something new, it is important to support
your case with a strong evidence base. This allows your listener to make an informed decision as
to whether or not they will take up your offer. A colleague or friend may suggest that you consider
Users of Visual Studio have the ability to select different views when creating web pages. A
'code view' shows only the html code for the page. A 'design view' gives an indication of how
the html page will appear in a browser. 'A split view', as the name implies, allows you to see
the code view and design view at the same time. Both views are updated automatically as
changes are being made and the user can immediately see the effect of any changes.
3
CHAPTER 2
Existing System
4
CHAPTER 3 Proposed System
Online FIR System
We have developed a computerized Online FIR system. Online FIR
is a new technological method for Registering FIR without travelling to police station.
FIR System is a tireless way of registering mode which is liked by our youths mostly today.
One of the best things in online FIR System is that, you can register FIR from home rather
going out. You don’t need to roam here and there and neither waste your precious time in
registering FIR.
Hence our proposed online FIR system is capable of following qualities:
5
3.5 Discreet Registering:
Through this proposed system, old people or females who
hesitate to go outdoor for registering FIR can do whatever they want through our website.
3.6 Data Retrieval:
Data or information that is once entered in the account than it
will remain forever that authorized user can retrieve the data as much times he wants.
6
CHAPTER 4
WEB APPLICATION REQUIREMENT ANALYSIS
This chapter provides the Basic and other requirements of the software.
7
Interface requirements describe how the information of the system is to be shown with its
environment, user and other admin; it includes user interfaces and also their qualities (e.g.
" user-friendliness").
Security: We facilitate user to sign up/sign in to our system for secure usage so that
another person cannot cancel/edit your request without your permission.
Economic requirements: Immediate and/or long term costs. Our system is aimed to be
simple and consistent. Also this system is design while keeping consistency between
screens.
8
CHAPTER 5
SYSTEM DESIGN
In this chapter the design phase may be defined as the process of applying various techniques
and principles for the purpose of defining a process or system in sufficient detail to permit its
physical realization.
Iterative Model:
An iterative life cycle model does not attempt to start with a full specification of requirements.
Instead, development begins by specifying and implementing just part of the software, which
can then be reviewed in order to identify further requirements. This process is then repeated,
producing a new version of the software for each cycle of the model.
For Example;
In the diagram above when we work iteratively we create rough product or product piece in one
iteration, then review it and improve it in next iteration and so on until it’s finished.
Diagram of Iterative model:
9
5.2 DATA FLOW DIAGRAM
A data flow diagram (DFD) is a graphical representation of the "flow" of data through an
information system modeling its process aspects. A DFD is often used as a preliminary step to
create an overview of the system, which can later be elaborated.
A DFD shows what kind of information will be input to and output from the system, where the
data will come from and go to, and where the data will be stored. It does not show information
about the timing of processes, or information about whether processes will operate in sequence
or in parallel.
External View:
User
System
Admin
10
Internal View:
Database User
Online FIR
Maintaining
Record
Decision
Making
Admin
5.3 FLOWCHART
A flowchart is a formalized graphic representation of a logic sequence, work or manufacturing
process, organization chart, or similar formalized structure. The purpose of a flow chart is to
provide people with a common language or reference point when dealing with a project or
process. Figure on next page.
11
Start
Is
New Sign Up
Employee
True False
Check Out Sig END
n
FIR Against IN
Progress of cases
accused
Complaint Account
against Police setting
True
YES NO
Inform Is
Inform
Employee Approved? Employee
End
12
5.3.1 DESCRIPTION:
Our proposed online FIR system working begins when the user sign up into the
account. At the time of sign up, user is provided a security code through e-mail
and the user has to provide this security code at the time of FIR registration. After
that user login through this account.
After login user can perform the following works:
1) Can do FIR against any accused.
2) Can do complaint against any police personnel.
3) Can check the progress of his cases
4) Through account setting, can make changes in his profile
13
14
CHAPTER 6
TABLE DESIGN
TABLE DESIGN
This section provides a view of tables used in the system. The following format is used for
each table.
6.1 Table Name: tbl_adminReg
Primary key: Reg_ID
6.1.1 Description This table is used to store admin information,, in this way we can store the
admin data.
Parent>Child>Sub child and so on. The other fields are used to store category related
information e.g name, description, image etc.
15
6.2 Table Name: UserReg
Primary key: RegID
16
6.3 Table Name: Information Report
Primary Key: ReportID
6.3.1 Description: This table is used to store information of Accused Name FName, police
station, etc.
RegID Its attribute use as foreign Key in this table In this attribute store the user regid ID Police
Station Id In this attribute store the ID of police Station
Accused Name its attribute use to store the name of Accused.
Accused Father Name ts attribute use to store the father name of Accused
Accused Address its attribute use to store the Address of Accused
Accused District its attribute use to store the District of Accused
Date of Incident its attribute use to store the incident date
Time of Incident In this attribute store the time of incident.
Place of Incident its attribute use to store the incident Place
Detail of Incident In this attribute store the incident Detail.
Detail Visit officer In this attribute store the detail of visit police officer.
Visited In this attribute store the information officer visit or not
17
Visit Date In this attribute store the information of visit Date
Visit Time In this attribute store the information of visit Time
Is approved In this attribute store the information of report is approved or not
Is Deny In this attribute store the information of report is Deny or not
Is Solved In this attribute store the information of report is solved or not
Is Active In this attribute store the its active or not
Posted Date In this attribute store the posted Date
:
6.4.1 Description This table is used to store the values of District
6.5.1 Description In this table we can store the police Station against District
Police Station ID In this attribute store the ID of police Station
District ID Its attribute use to store the ID of District.
Police Station Its attribute use to store the name of police station
IS Active Its attribute use to store the status is active or not
18
6.6 Table Name: tbl_msg
Primary key: MsgID
:
6.6.1 Description This table is used to store the Messages of higher Authority its Name,
:
6.7.1 Description In this table we store the information of new unit in this store unit name
:
5.8.1 Description This table is used to store the information used from Public Services in this
:
6.9.1 Description This table is used to store message of users that from admin.
20
6.10 Table Name: complaint Against Police
Primary key: complaintID
:
6.10.1 Description This table is used to store the information of complaint against police
21
6.11 Table Name: Complaint Type
Primary key: cmpID
:
6.11.1 Description In this store complaint type that complaint submitted against police
officer
:
6.12.1 Description This table is used to store the designation of police Officers
22
6.13 Table Name: Site Count
Primary key: SiteCountID
:
6.13.1 Description This table is used to store the information of total count visit on Website
23
CHAPTER 7
PAGE DESIGNING
DESCRIPTION:
This side is used by only administrator to manage website
.In order to secure the data of administrator, login page is developed.
24
7.1.2 Report Detail against Accused
DESCRIPTION:
This page shows the details of the accused and the management team
approves/disapprove the complaint through this page.
DESCRIPITON:
This page shows the complaints against the police personnel that
are being solved.
25
7.1.4 REPORT DETAIL AGAINST POLICE:
DESCRIPTION:
This page shows the complaint against the police personnel, then
through this page the management team either approves/ disapproves the complaint.
DESCRIPTION:
This page shows the cases that are being solved against accused.
26
7.1.6 ADD Districts
DESCRIPTION:
This page is used to add different districts
7.1.7 ADD/ EDIT POLICE STATION
DESCRIPTION:
This page add the police station on the base of the district.
27
7.1.8 ADD MESSAGE:
DESCRIPTION:
This page contain the messages and pictures of higher authority. E.g.
IGP, CM, etc.
DESCRIPTION:
This page is used to inform public about the different services provided by the police.
28
7.1.10 ADD DESIGNATION:
DESCRIPTION:
This page is used to add the ranks of police personnel. E.g. constable, head constable.
SHO, DSP, SP, DIG, IGP etc.
7.1.11 ADD COMPLAINT TYPE:
Description:
This page is used to add the different complaint types. E.g. Not registers
FIR, Corruption, Investigation etc.
29
7.1.12 ADD Unit
30
7.2 USER VIEW OR FRONT END
7.2.1 HOME
DESCRIPTION:
It’s the first page of front end side i.e. the home page or index page. this page contains different
links that are selected as a feature by admin side
31
7.2.2 Register Yourself
DESCRIPTION:
This page is use to register yourself in order to log in through this account
later for the purpose of registering online FIR.
32
7.2.3 LOG IN
DESCRIPTION:
This page is used through which user login to his account.
33
7.2.4 ONLINE FIR AGAINST ACCUSED:
DESCRIPTION:
On this page the details against accused are provided on this form for the purpose of
submitting FIR.
34
7.2.5 COMPLAINT AGAINST POLICE:
DESCRIPTION:
On this page the details against police personnel are provided on this form for
the purpose of submitting complaint.
35
7.2.6 WHAT IS CONFIRM:
DESCRIPTION:
This page shows the process of online FIR system and committees for online FIR
Management approves the valid report otherwise deny it.
36
7.2.7 PROGRESS REPORT:
DESCRIPTION: In
this page shows the progress of user cases .In this show the total reports, approved reports,
Solved Cases and Waiting cases
DESCRIPTION:
In this page user send the message to admin if any problem.
37
7.2.9 ACCOUNT SETTING:
DESCRIPTION: Through this page, user can make changes in his profile. E.g. landline
mobile or password etc. easily.
38
CHAPTER 8
SYSTEM IMPLEMENTATION and Testing
IMPLEMENTATION
Implementations the process of replacing the present system with the newly developed system.
The system may be totally new, or it may be a major modification to an existing system. The
manual system had a lot of problems, after developing software for office assistant, the
institutions felt a strong need to implement it successfully. System implement is divided into
two steps.
. Testing
. Conversion/changeover
8.1 TESTING
Testing the system before actually implementing is very important. Testing is the process of
making sure the accuracy of new in actual data. The newly designed system was tested in three
ways as below.
8.1.1 Unit Testing
8.1.2 Integrated Testing
8.1.3 System Testing
8.1.4 Acceptance Testing
8.1.1 Unit Testing
Unit testing, the different modules of software are tested independently to locate errors
e.g. Testing all the forms individually for valid data entries. It is the starting point of testing.
In unit testing a module is tested separately and is often performed by the coder himself
simultaneously with the coding of the module. Unit testing concerned with the dynamic
method for varification where the program is actually compiled and executed.
39
8.1.2 Integrated Testing
After testing the system, at unit level, combined tasting of all the modules was carried
out. The purpose was to determined whether all the modules correctly integrating each other
or not.
40
8.3 PLATFORM SELECTION
We want the web application to be viewed in good condition and to be user friendly so we
selected the following platform (minimum) which will be best to be viewed.
Hardware:
Processor Pentium IV
RAM 512 MB
LCD VGA or higher resolution (Best viewed at 1366*768)
Mobile Users Smartphones which support html and java
Software:
Browser Mozilla Firefox, Internet Explorer, or Google Chrome
Operating system: Any OS that can run any of the above browsers.
41