Vous êtes sur la page 1sur 61

MAJOR PROJECT REPORT

ON
CRIME MANAGEMENT AND REPORTING SYSTEM
Submitted by
SUMI THOMAS PAINUMKAL
In partial fulfillment of the requirements for the award of the
Degree of Bachelor of Technology in
INFORMATION TECHNOLOGY
Of
COCHIN UNIVERSITY OF SCIENCE AND TECHNOLOGY
March 2009
DEPARTMENT OF INFORMATION TECHNOLOGY
Toc H INSTITUTE OF SCIENCE & TECHNOLOGY
Arakkunnam P.O, Ernakulam District, KERALA 682313

Toc H INSTITUTE OF SCIENCE&TECHNOLOGY


Arakkunnam P.O, Ernakulam District,KERALA 682313
DEPARTMENT OF INFORMATION TECHNOLOGY
CERTIFICATE
This is to certify that the major project entitled CRIME MANAGEMENT
AND REPORTING SYSTEM submitted by Sumi Thomas Painumkal of Semester VIII
is a bonafide account of the work done by him/her under our supervision, during
the
academic year 2008-2009.
Ms. Sherly K.K.
(Project In-charge)
Ms.Meera Ramadas
(Head, Department of I.T.)
Prof. (Dr).V.Job.Kuruvilla
(Head of the institution)

SEMESTER: VIII
BRANCH: INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT AND
REPORTING SYSTEM
ACKNOWLEDGEMENT
The successful completion of my project can be attributed to the combined effort
s
made by me and the contribution made in one form or other by the individuals I h
ereby
acknowledge.
First and foremost thank God Almighty for giving me all strength, courage and
blessings to design and complete this project.
I wish to extend my sincere gratitude to the management and our honorable
Principle, Prof.V.Job Kuruvilla for providing me the valuable opportunity to thi
s project.
I also thank Dr.Varghese Paul, Dean (IT & CS) for his support.
I express my sincere gratitude to our Head of the Information Technology
Department, Ms.Meera Ramadas.I also thank her for her sincere help and support.
Words fail to thank adequately our project-in-charge Ms.Sherly K.K. and Project
guide Mr.Prabhu M who gave me all supports and helped me to clear all confusions
regarding
the project.
And last but not the least; I thank my family members and my friends for providi
ng
me moral support to achieve my goal.
T
hanking you,
Sumi Thomas Painumkal
Toc H Institute of Science &Technology
Arakkunnam 682313

SEMESTER: VIII
BRANCH:INFORMATION TECHNOLOGY
Toc H Institute of Science &Technology
Arakkunnam 682313
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM

SEMESTER: VIII
BRANCH: INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT AND
REPORTING SYSTEM
ABSTRACT
The Crime Management and Reporting System apply to Police Stations all across th
e
country .It specifically looks into the Crime detection and prevention. Convicti
on of criminals depends on
a highly responsive backbone of Information Management. The efficiency of the po
lice and the
effectiveness with which it tackles crime depend on what quality of information
it can derive from its
existing records and how fast it can have access to it.
Different modules of this project are Station module, Crime module, Search modul
e and
Administrators module. Each of the station must first register with the software
. For the registration part
each station enter their details like station name, address, phone number, stati
on in charge etc. and get
a User Id from the software. Once the station registers with the software they c
an avail the existing
records. All these are done in the station module. The Crime module is used for
entering all details
about the crime. It consists of the date and time, place, nature of crime, locat
ion of the crime, police
station where it is recorded etc.In the search module we can search the crime in
station wise, nature of
crime, date and time wise.
The Administrators module will be protected by user id and password. Ordinary
users of the software will not be permitted to enter into this area of the softw
are. This module will be
focusing on the Master data maintenance, removal of old and outdated data from t
he software etc.The
details of Indian Penal Codes and classification of crime will be provided in th
is software. The project will
be developed using ASP.net 2005 as front end, Microsoft SQL Server 2000 as back
end in Windows XP
platform.
Toc H Institute of Science &Technology
Arakkunnam 682313

SEMESTER: VIII
BRANCH: INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT AND
REPORTING SYSTEM
TABLE OF CONTENTS
1. INTRODUCTION.. 1
2.SYSTEM ANALYSIS 3
2.1 EXISTING SYSTEM. 4
2.2 PROPOSED SYSTEM..5
2.3 FEASIBILITY STUDY6
3. SYTEM REQUIREMENT STUDY..8
3.1 SYSTEM CONFIGURATION......9
3.2 ABOUT THE DEVELOPING SYSTEM..10
3.3 OPERATING SYSTEM.11
3.4GRAPHICAL USER INTERFACE: MS VISUAL STUDIO 2005.13
4. SYSTEM DESIGN.14
4.1 LOGICAL SYSTEM DESIGN..15
4.2 PHYSICAL SYSTEM DESIGN....20
5. SYSTEM IMPLEMENTATION.25
5.1 IMPLEMENTATION DETAILS.28
5.2 CODING...29
6. SYSTEM TESTING....50
7. FUTURE ENHANCEMENT...42
8.CONCLUSION..58
9. BIBLIOGRAPHY.60
Toc H Institute of Science &Technology
Arakkunnam 682313

SEMESTER: VIII
BRANCH: INFORMATION TECHNOLOGY
Toc H Institute of Science &Technology
Arakkunnam 682313
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
Page No:1

SEMESTER: VIII
BRANCH: INFORMATION TECHNOLOGY
PROJECT
TITLE
:CRIME MANAGEMENT
AND
REPORTING
SYSTEM
The objective of the project is to develop a site in which any citizen can repor
t crimes. If
anybody wants to complaint against crimes he must do it through the police. The
Crime Management
and Reporting System make the crime reporting easier. This project will be usefu
l for the Police
Department. The home page is the login page .Only the Administrator and the Stat
ion in-charge of
different Police Stations will be able to login to their home pages. The citizen
could only report crimes
and knows whether the crime reported by him has been accepted.
The different modules of the project are station module, crime module, administr
ators
module and search module. In the station module, each of the station must first
register with the
Software. For the registration part each station enter their details like statio
n name, address, phone no,
station in charge etc. and get a User Id and password from the Software. Once th
e station registers with
the software they can avail the existing records.
Crime module is used for entering all details about the crime. It contains the d
ate and time, police
station where it is recorded, place, nature of Crime, Location of the Crime etc.
All details about the
criminals will be also included in this module.
In the search module we can search the crime in station wise, nature of crime, d
ate and time
wise. Searching of criminals is also possible in this module. The administrators
module will be protected
by user id and password. Ordinary users of the software will not be permitted to
enter into this area of the
software. The module will be focusing on the Master Data Maintenance, Removal of
old and outdated
data from the software etc.
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:2

SEMESTER:
VIII
BRANCH: INFORMATION TECHNOLOGY
Toc H Institute of Science &Technology
Arakkunnam 682313
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
Page No:3

SEMESTER:
VIII
BRANCH: INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
2. SYSTEM ANALYSIS
System analysis is an important phase of any system development process. The sys
tem is
studied to the minute details and analyzed. The system analyst plays the role of
an interrogator and
dwells deep in to the working of the present system. In analysis, a detailed stu
dy of these operations
performed by a system and their relationships within and outside the system is d
one. A key question
considered here is, what must be done to solve the problem? The system is viewed a
s a whole and the
inputs to the system are identified. Once analysis is completed the analyst has
a firm understanding of
what is to be done.
The project mainly aims to develop an application for the Police Department to h
andle their crime
investigation process in an easy way. Often people are reluctant to go to Police
stations to report crimes.
This project makes reporting of crimes easier.
2.1 EXISTING SYSTEM
In the existing crime management system, most of the operations are done manuall
y like sending
complaints, taking actions against crimes, viewing status etc. So with the exist
ing system if anybody
wants to complaint against crimes he must do it through the police.
If we are doing the system manually, so many minor errors will occur. Error dete
ction in the previous
entries made and data cross verification is another important function. These ar
e done manually, and it
would take time
2.1.1 LIMITATIONS OF EXISTING SYSTEM
The existing system is time consuming and not very user friendly.
Sometimes the complaints may be ignored by the police.
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:4

SEMESTER:
VIII
BRANCH: INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
Even an efficient officer may not be able to handle more than one case at a time
.
As we all know, a covered truth, bribery plays an important role in the existing
system.
Many cases were pilled up in the corners, due to lack of commitment in the job.
In most of the cases, the innocent are accused in the existing system.
As per our jurisdiction, Let thousand criminals escape-not a single innocent be p
unished . As
a result of this and other factors that influence investigation, such as bribery
, the innocent
becomes accused in several situations in the eyes of Justice.
The existing system is criticized for being inefficient, time consuming, poorly
managed, and
lacking flexibility.
Because of the large number of serious crimes, minor complaints may be ignored.
2.2 PROPOSED SYSTEM
The Department of Police is an independent statutory body which was created to m
aintain an
effective and efficient police service for the public. Their primary task includ
es securing continuous needs
of the public in an efficient manner. We need the whole hearted support of each
and every individual
member of the site and cooperation of the users.
Advantages of the Proposed System:

Reducing crime and disorder.

Confidentiality and anonymity issues.


In the fast moving world, if people lack something it is time. All are busy in t
heir world. It will be
welcomed if services are provided at their will. So the main objective of our pr
oduct is better
communication, better leadership, reducing crime and disorder etc.The product pr
ovides a framework
within which a user can easily work with. That was our next objective. So it sho
uld be user friendly.
The product provides a framework, which is error free. We know a crime managemen
t system is
actually a serious process. So even a simple error lead to big problems. So it s
hould be error free and our
objective is to build error free software.
Toc H Institute of Science &Technology
Arakkunnam 682313

Page No:5

SEMESTER:
VIII
BRANCH: INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
2.3 FEASIBILITY STUDY:
A feasibility study is a test of system proposal according to its workability, i
mpact on the
organization, ability to meet user needs and effective use of resources.
The objective of feasibility study is not to solve the problem, but to acquire a
sense of its scope.
During the study, the problem definition is crystallized and aspects of the prob
lem to be included in the
system are determined, consequently costs and benefits are estimated with greate
r detail at this stage.
The result of the feasibility study is a system formal proposal. This is simply
a form of documenting or
detailing the nature and scope of proposed solutions. The proposal summarizes wh
at is known and what
is going to be done. Three key considerations involved in the feasibility analys
is:
Economic feasibility
Technical feasibility
Behavioral feasibility
2.3.1 ECONOMIC FEASIBILITY:
Economic analysis is the most frequently used method for comparing the cost with
the benefit or
income that is expected from developed system.
In the existing system, many people are involved in the process but in the propo
sed system,
number of persons involved be reduced drastically. So the proposed system is eco
nomic.
In the existing system, storage of all these records should be arranged and secu
rity should be
provided for the records. In the proposed system, separate security arrangement
is not needed
since the software provides security and maintenance is simply and hardly needs
one or two
persons to operate the system.
2.3.2 TECHNICAL FEASIBILITY:
The feasibility center on the existing computer system (software, hardware) and
to what extend it can
support the proposed addition.
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:6

SEMESTER:
VIII
BRANCH: INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
In the proposed system, data can be easily stored and managed in database manage
ment system
software.
The results for various queries can be generated easily. Therefore, the system i
s technically
feasible.
2.3.3 BEHAVIORAL FEASIBILITY:
People are inherently resistant to change and computer has known to facilitate c
hange. An
estimate should be made of how strong a reaction the user staff is likely to hav
e towards the
developments of computerized system.
In the existing system more manpower is required and time factor is more but in
the proposed
system, manpower and time factors are reduced .So, the remaining numbers are eng
aged with
some other important works.

Toc H Institute of Science &Technology


Arakkunnam 682313
SEMESTER:
VIII
BRANCH: INFORMATION TECHNOLOGY
Page No:7
PROJECT
TITLE
:CRIME MANAGEMENT
AND
REPORTING
SYSTEM

Page No:8
Toc H Institute of Science &Technology
Arakkunnam 682313
SEMESTER:
VIII
BRANCH: INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
3.1 SYSTEM CONFIGURATION:
3.1.1 HARDWARE CONFIGURATION
PROCESSOR
-Pentium 4
RAM SIZE
-256MB
HARD DISK DRIVE-40GB
CD ROM DRIVE
-52X
KEYBOARD
-108 keys
MONITOR
-SVGA 15 inch
MOUSE
-PS/2
3.1.2 SOFTWARE CONFIGURATION
FRONT END
-ASP.NET
BACK END
-MS SQL SERVER 2000
OPERATING SYSTEM -WINDOWS XP
SCRIPT LANGUAGE
-C#
BROWSER
-MS INTERNET EXPLORER

Toc H Institute of Science &Technology


Arakkunnam 682313
SEMESTER:
VIII
BRANCH: INFORMATION
TECHNOLOGY
Page No:9
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM

3.2 ABOUT THE DEVELOPING SYSTEM


The system has developed in ASP.NET as front end and SQL server 2000 as back end
.
3.2.1 FRONT END TOOL: ASP.NET(Active Server Pages.net)
WHAT IS ASP.NET: Microsoft ASP.NET is a free technology that allows programmers
to create dynamic
web applications.ASP.NET can be used to create anything from small, personal web
sites to large,
enterprise-class web applications. ASP.NET is the latest version of Microsoft s
Active Server Pages
technology (ASP).ASP.NET is a part of the Microsoft .NET framework, and a powerf
ul tool for creating
dynamic and interactive web pages.
ASP: ASP is a server side scripting technology that enables scripts (embedded in
web pages) to be
executed by an Internet server ASP is a program that runs inside IIS.IIS stands
for Internet Information
Services. IIS comes as a free component with Windows 2000.IIS is also a part of
the Windows NT 4.0
Option Pack. The Option Pack can be downloaded from Microsoft.
An ASP file is just the same as an HTML file. An ASP file contains text, HTML, X
ML and
scripts. Scripts in an ASP file are executed on the server. An ASP file has the
file extension .asp. When
a browser requests an HTML file, the server returns the file. When a browser req
uests an ASP file, IIS
passes the request to the ASP engine. The ASP engine reads the ASP file, line by
line, and executes the
scripts in the file .Finally, the ASP file is returned to the browser as plain H
TML.
Uses of ASP:
Dynamically edit, change or add any content of a web page.
Customize a web page to make it more useful for individual users.
Another advantage of ASP is its simplicity and speed.
Provide security since your ASP code cannot be viewed from the browser.
Clever ASP programming can minimize the network traffic.
Toc H Institute of Science &Technology
Arakkunnam 682313
SEMESTER:
VIII
BRANCH: INFORMATION
TECHNOLOGY
Page No:10
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM

3.2.2 BACK END TOOL: SQL Server 2000


Microsoft SQL Server 2000 is a relational database management system (RDBMS)
produced by Microsoft. Its primary query language is Transact SQL, an implementa
tion of the ANSI/ISO
standard SQL used by both Microsoft and Sybase.
SQL Server allows multiple clients to use the same database
concurrently. SQL Server provides two modes of concurrency control: pessimistic
and optimistic
concurrency. When pessimistic concurrency control is being used, SQL Server cont
rols concurrent
access by using locks. Locks can be either shared or exclusive. Exclusive lock g
rants the user exclusive
access to the data no other user can access the data as long as the lock is held
. Shared locks are used
when some data is being read-multiple users can read data locked with a shared l
ock, but not acquire an
exclusive lock. SQL Server also provides the optimistic concurrency control mech
anism, which is similar
to the multiversion concurrency control used in other databases.
3.3 OPERATING SYSTEM: WINDOWS XP
Windows has graphical based multitasking windowing environment that allows progr
ams
written specifically for windows to have a consistent appearance and command str
ucture. This capability
makes even new programs easier to master.
Windows provides several built in routines that allow easy implementation of pul
l down menus,
scrollbars and dialogue box icons and many other features of a user friendly gra
phical interface. Starting
with Windows 3.0 through Windows XP, programs can take advantage of new dialog c
ontrol, menu types
and owner draw control. Our application uses Windows XP Platform.
Characteristics:
Input/Output
Input and Output is essential to the operation of any computer. Input-Output all
ows the computer to
store and receive data on disks or tapes, to interact with the users terminals a
nd to print the output on
Toc H Institute of Science &Technology
Arakkunnam 682313
SEMESTER:
VIII
BRANCH: INFORMATION
TECHNOLOGY
Page No:11
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM

paper. This form of input-output is provided by the chosen Operating system.


Time Sharing
Time-Sharing is a way of allowing several people to run programs on different te
rminals
concurrently. This introduces the facility of enabling a group of people to simu
ltaneously approach a
problem on different levels or at the same level, when the need arises.
Communication
Communication refers to the ability of one computer to communicate with other co
mputer and
terminals, to transfer programs and/or data.
Security
The OS invokes security that protects one user from another and the OS from all
users. Its main
function is to make sure that only authorized users gain access to the computer
and its data and those
users do only things that they are authorized to do. As time sharing is availabl
e in the OS, a large degree
of security is provided.
Modularity
The design of the OS is modular which allows new capabilities to be added as req
uired.
Reliability
Applications are run in their own memory and are unable to corrupt other applica
tions or the system.
System errors are logged.
Portability
Allows Windows XP to run on various platforms.
Toc H Institute of Science &Technology
Arakkunnam 682313
SEMESTER:
VIII
BRANCH: INFORMATION
TECHNOLOGY
Page No:12
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM

3.4: GRAPHICAL USER INTERFACE:- MS VISUAL STUDIO 2005


Microsoft Visual Studio is the main integrated Development Environment (IDE) fro
m Microsoft. It can be
used to develop console and Graphical User Interface applications. Visual studio
supports languages by
means of language services, which allow any programming language to be supported
(to varying
degrees) by the code editor and debugger, provided a language specific service h
as been authored.
Some important components of Visual Studio 2005 are :

Visual Studio like any other IDE includes a code editor that supports syntax hig
hlighting and code
completion.

Visual Studio also includes a web site editor and designer that allow web pages
to be authored by
dragging and dropping widgets. It is used for developing ASP.net applications, a
nd supports
HTML, CSS and JavaScript.

The data designer can be used to graphically edit database schemas, including ty
ped tables,
primary and foreign keys and constraints.

The object browser is a namespace and classlibrary browser for Microsoft .NET. I
t can be used to
browse the namespaces.

The solution Explorer is used to manage and browse the files in a solution.

Data Explorer is used to manage databases on Microsoft SQL sever instances. It a


llows creation
and alteration of database tables.

Visual Studio 2005 also includes a local web server, separate from IIS that can
be used to host
ASP.NET applications during development and testing. It also supports all SQL Se
rver2005
databases.
Toc H Institute of Science &Technology
Arakkunnam 682313
SEMESTER:
VIII
BRANCH: INFORMATION TECHNOLOGY

Page No:13
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM

Toc H Institute of Science &Technology


Arakkunnam 682313
SEMESTER:
VIII
BRANCH: INFORMATION TECHNOLOGY
Page No:14
PROJECT TITLE :CRIME
MANAGEMENT AND
REPORTING SYSTEM

The most creative and challenging phase of the system life cycle is system desig
n. The term
design describes a final system and the process by which it is developed. It ref
ers to the technical
specifications that will be applied in implementing the proposed system. It also
includes the construction
of program and designing of output, input, code, database and process of the sys
tem.
4.1 LOGICAL SYSTEM DESIGN:
The logical system design reviews the present system and prepares input and outp
ut specifications,
editing, security and control specification details of the implementation plans.
4.1.1 USECASE DIAGRAM:
In designing an efficient and effective system it is important to consider useca
se diagram.Usecase
diagram is one of the five diagrams in YML or modeling the dynamic aspects of th
e system.Usecase
diagram is central to modeling the behaviour of a system, a subsystem or a class
.Usecase diagram are
more important for visualizing, specifying and make systems, subsystems and clas
ses approachable and
view of how those elements may be used in context.
Toc H Institute of Science &Technology
Arakkunnam 682313
SEMESTER:
VIII
BRANCH:INFORMATION TECHNOLOGY
Page No:15
PROJECT TITLE :CRIME
MANAGEMENT AND
REPORTING SYSTEM

USECASE DIAGRAM
The citizen can report crimes. He will enter all details about the crime. It con
tains the date, time,
spot, nature of crime, location of crime etc.He can view all crimes accepted and
closed by the
administrator. Thus he can see whether the crime reported by him has been accept
ed or not.
The Administrator will accept the complaints if it is genuine. He can create a n
ew police station,
view complaints from the citizens, crime details, criminal details, and victim d
etails, witness details etc.He
can create a new investigation team and assign them to the investigation of a cr
ime. Removal of old and
outdated crime details will be done by him.
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:16

SEMESTER:
VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT AND
REPORTING SYSTEM
The Station in-charge can also view the complaints reported by the citizen. Then
he will prepare the
FIR and send the FIR to the administrator. The Administrator will assign a team
for the investigation. After
investigation all details are entered into the software and the Administrator wi
ll close the Crime File. The
station in-charge can search the crime in station wise, nature of crime, date an
d time wise.
4.1.2 DATAFLOW DIAGRAM
Dataflow diagram is used to define the flow of the system and their resources .I
t is the way of
expressing system requirements in a graphical manner. It is one of the most inge
nious tools used for
structured analysis. It is the starting point of design phase.
Citizen side
The citizen can report complaints using this website. He should provide the comp
laint
details. He can also view the status of his complaint.
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:17

SEMESTER:
VIII
BRANCH:INFORMATION TECHNOLOGY
Administrator side
Administrator
PROJECT
TITLE
MANAGEMENT
REPORTING SYSTEM
:CRIME
AND
login
login
validation
check uname
pwd
register new
station
station master
Login
station details
station reg
teamdetails
memberreg
team master
team reg
master details
viewcomlaints
team member
teammemberreg
member details
complaints
complaintview
close data
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:18

SEMESTER:
VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT
TITLE
MANAGEMENT
REPORTING SYSTEM
:CRIME
AND
The Administrator has to login to the website. The username and password is chec
ked with those in the
database. If they matches with the given username and password, he can access th
e software. The
administrator will register a new Police Station with this software. The adminis
trator will create a new
investigation team and will decide which all members should be in that team. He
can view all the reported
complaints, and close the complaint file after the completion of the investigati
on.
Station in-charge side
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:19

SEMESTER:
VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT
TITLE
MANAGEMENT
REPORTING SYSTEM
:CRIME
AND
The station in-charge has to login to the website using the username and passwor
d. The
username and password is checked. If it is correct he can enter into his home pa
ge. He can enter the
crime details .He can also perform searches. Similarly, he can enter criminal de
tails also. The station incharge can send the FIR to the administrator. He can a
lso set the status, whether the investigation is
progressing or if it is closed. He will also enter the victims details.
4.2 PHYSICAL SYSTEM DESIGN:
Following the logical design is the physical design. This produces the working s
ystem by defining
the design specifications that tell the programmers exactly what the candidate s
ystem must do.
4.2.1 ARCHITECTURAL DESIGN:
Architectural design is a comprehensive framework that describes its form and a
structure its
components and how they fit together. Architectural design is a software compone
nt that can be
something as simple as program module, but it can also be extended to include da
tabase and
middleware that enable the configuration of a network of client and servers .Arc
hitectural design focuses
on the representation of the structure of software components their properties a
nd interaction.
This project consists of different modules. The Administrator module helps the a
dministration
of the entire site. The complaints send by the citizen cannot be viewed by all p
olice stations. The
administrator will decide which station should view the complaint.
4.2.2 INTERFACE DESIGN:
Interface design creates an effective communication medium between a human and a
computer. In this project it is the communication between Administrator and stat
ion in-charge design.
Since this project requires a database, the client machines require proper conne
ction with the server
machine. The users will interact with the software through the user friendly web
pages.
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:20

SEMESTER:
VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT
TITLE
MANAGEMENT
REPORTING SYSTEM
:CRIME
AND
4.2.3 DATABASE DESIGN:
Database design is the most important part of the system design phase. In a data
base
environment common data are available and are used by several users. Instead of
each program
managing its own data, authorized users share data across application with the d
atabase software
managing the data as an entity. In our project both the administrator and statio
n in-charge share the
crime details and criminal details. The primary objective of database design is
fast response time to
inquire, more information at low cost, control of redundancies, clarity and ease
of use, data and program
independencies, accuracy and integrity of the system.
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:21

SEMESTER: VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:22

5.1
CODING:
The goal of coding phase is to translate the design of the system in to code in
a particular
programming language. For a given design, then aim of coding is to implement the
design in the best
possible manner.
Code snippets:
ClassLibrary
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
namespace ClassLibrary1
{
public class Class1
{
SqlConnection con = new
SqlConnection("server=.;uid=sa;database=toch");
SqlCommand cmd = new SqlCommand();
public void opencon()
{
if (con.State == ConnectionState.Open)
{
con.Close();
}
con.Open();
cmd.Connection = con;
}
public SqlConnection getcon
{
get
{
return con;
}
}
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:42

SEMESTER:
VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT
TITLE
MANAGEMENT
REPORTING SYSTEM
:CRIME
AND
public SqlCommand getcommand
{
get
{
return cmd;
}
}}}
Class2.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
namespace ClassLibrary1
{
public class Class2
{
Class1 c1 = new Class1();
DataSet ds = new DataSet();
public void insert(string complaintid,string name ,string
address,string gender,string phonenumber,string place,string complaint,string
complintfile )
{
c1.opencon();
c1.getcommand.CommandText = "insert into complaints values( "+
complaintid +" , " + name + " , " + address + " , " + gender + " , " +
phonenumber + " , " + place + " , " + complaint + " , " + complintfile + " )
";
c1.getcommand.ExecuteNonQuery();
}
public void insertcriminal(string criminalid,string crimeid,string stationid,
string crimename, string criminalname, string housename, string place,
string age, string gender,string nickname,string criminaltype,string
mop,string comment)
{
c1.opencon();
c1.getcommand.CommandText = "insert into criminaldetails
values( "+criminalid+" , " + crimeid + " , " + stationid + " , " + crimename
+ " , " + criminalname + " , " + housename + " , "+place +" , " + age + " , "
+ gender + " , " + nickname + " , " + criminaltype + " , " + mop + " , " +
comment + " ) ";
c1.getcommand.ExecuteNonQuery();
}
Toc H Institute of Science &Technology
Arakkunnam 682313

Page No:43

SEMESTER:
VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT
TITLE
MANAGEMENT
REPORTING SYSTEM
:CRIME
AND
public void insertteam(string teamname,string stationname)
{
c1.opencon();
c1.getcommand.CommandText = "insert into team values( " +
teamname + " , " + stationname + " ) ";
c1.getcommand.ExecuteNonQuery();
}
public void insertmembers(string teamname, string membername, string address,
string place, string city, string phone, string age, string gender)
{
c1.opencon();
c1.getcommand.CommandText = "insert into teammemeber values( " +
teamname + " , " + membername + " , " + address + " , " + place + " , " +
city + " , " + phone + " , " + age + " , " + gender + " ) ";
c1.getcommand.ExecuteNonQuery();
}
public void insertvictim(string crimename, string victimname, string age,
string gender, string address, string dob, string ms, string comp, string ht,
string wt, string im, string cb)
{
c1.opencon();
c1.getcommand.CommandText = "insert into victimdetails values( "
+ crimename + " , " + victimname + " , " + age + " , " + gender + " , " +
address + " , " + dob + " , " + ms + " , " +comp + " , " + ht + " , " +
wt + " , " + im + " , " + cb + " ) ";
}
public void delete(string complaintid)
{
c1.opencon();
c1.getcommand.CommandText = "delete complaints where complaintid =
"+complaintid +" ";
c1.getcommand.ExecuteNonQuery();
}
public void deletestation(int id)
{
c1.opencon();
c1.getcommand.CommandText = "delete
" + id + "";
stationreg where stationid =
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:44

SEMESTER:
VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT
TITLE
MANAGEMENT
REPORTING SYSTEM
:CRIME
AND
c1.getcommand.ExecuteNonQuery();
}
public void updatestation(int id,string stationname)
{
c1.opencon();
c1.getcommand.CommandText = "update stationreg set stationname =
"+stationname +" where stationid="+id+"";
c1.getcommand.ExecuteNonQuery();
}
public void insertstation(string stationid,string stationmame, string place,
string phone, string stationincharge, string userid, string password )
{
c1.opencon();
c1.getcommand.CommandText = "insert into stationreg
values( "+stationid+" , " + stationmame + " , " +place + " , " + phone +
" , " +stationincharge + " , " +userid + " , " +password + " ) ";
c1.getcommand.ExecuteNonQuery();
}
public DataSet view()
{
SqlDataAdapter adp = new SqlDataAdapter("select * from
complaints",c1.getcon);
}
adp.Fill(ds);
return ds;
public DataSet viewcrime()
{
SqlDataAdapter adp = new SqlDataAdapter("select * from
crimedetails", c1.getcon);
}
adp.Fill(ds);
return ds;
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:45

SEMESTER:
VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT AND
REPORTING SYSTEM
public DataSet viewcriminal()
{
SqlDataAdapter adp = new SqlDataAdapter("select * from
criminaldetails", c1.getcon);
adp.Fill(ds);
return ds;
}
public DataSet viewstation()
{
SqlDataAdapter adp = new SqlDataAdapter("select * from
stationreg", c1.getcon);
adp.Fill(ds);
return ds;
}
public DataSet viewvictim()
{
SqlDataAdapter adp = new SqlDataAdapter("select * from
victimdetails", c1.getcon);
adp.Fill(ds);
return ds;
}
public string getstationid()
{
c1.opencon();
c1.getcommand.CommandText = " select isnull(max(stationid)+1,1)
from stationreg";
string i;
i = c1.getcommand.ExecuteScalar().ToString();
return i;
}
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:46

SEMESTER:
VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT AND
REPORTING SYSTEM
public string getcriminalid()
{
c1.opencon();
c1.getcommand.CommandText = " select isnull(max(criminalid)+1,1)
from criminaldetails";
string i;
i = c1.getcommand.ExecuteScalar().ToString();
return i;
}
public void insertcrime(string crimeid,string stationid, string crime, string
place, string time, string noofcriminals, string noofvictims, string
acusename, string date,string remarks)
{
c1.opencon();
c1.getcommand.CommandText = "insert into crimedetails
values( "+crimeid+" , " + stationid + " , " + crime + " , " + place + " , " +
time + " , " + noofcriminals + " , " + noofvictims + " , " + acusename +
" , " + date + " , "+remarks +" ) ";
c1.getcommand.ExecuteNonQuery();
}
public DataSet readteam()
{
SqlDataAdapter adp = new SqlDataAdapter("select teamname from
team ",c1.getcon );
adp.Fill(ds);
return ds;
}}}
Crime details
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:47

SEMESTER:
VIII
using
using
using
using
using
BRANCH:INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT AND
REPORTING SYSTEM
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;
public partial class crimedetails : System.Web.UI.Page
{
ClassLibrary1.Class2 obj = new ClassLibrary1.Class2();
protected void Page_Load(object sender, EventArgs e)
{
GridView1.DataSource = obj.viewcrime ();
GridView1.DataBind();
}
protected void Button1_Click(object sender, EventArgs e)
{
obj.insertcrime(TextBox1.Text,TextBox2 .Text ,TextBox3 .Text
,TextBox4 .Text ,TextBox5 .Text ,TextBox6 .Text ,TextBox7 .Text,TextBox8
.Text ,TextBox9 .Text ,TextBox10 .Text );
GridView1.DataSource = obj.viewcrime();
GridView1.DataBind();
}
}
Complaints
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class sendcomplaints : System.Web.UI.Page
{
ClassLibrary1.Class2 obj = new ClassLibrary1.Class2();
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
Toc H Institute of Science &Technology
Arakkunnam 682313

Page No:48

SEMESTER:
VIII
{
BRANCH:INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT AND
REPORTING SYSTEM
string s;
if (RadioButton1.Checked == true)
{
s = RadioButton1.Text;
}
else
{ s = RadioButton2.Text; }
obj.insert(TextBox1 .Text ,TextBox2.Text, TextBox3.Text, s,
DropDownList1.SelectedItem.Text, TextBox6.Text, TextBox7.Text,
FileUpload1.FileName);
}
protected void Button2_Click(object sender, EventArgs e)
{
}
}
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:49

SEMESTER:
VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT AND
REPORTING SYSTEM
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:50

SEMESTER:
VIII
PROJECT TITLE :CRIME
MANAGEMENT AND
REPORTING SYSTEM
BRANCH:INFORMATION TECHNOLOGY
Testing is the process of executing the program to find if there are any errors.
It is the final
verification and validation activity .In testing phase we have tried to affirm t
he quality of the product. We
have also tried to eliminate errors in the previous stages.
UNIT TESTING:
ADMINISTRATOR MODULE
Serial
No.
Unit
Input
Expected output
Output
obtained
1.
Login
Username
and
password
Check with
database for their
relevance and
redirect to the
admin home page
Database
is verified
and
application
redirected
to admin
home page
Station
name,
place,
Phone No.,
Username,
password
Insert into table
stationregistration


In the database
2.
Station
registration
Inserted
into table
Toc H Institute of Science &Technology
Arakkunnam 682313
status
remedies
pass
pass
Page No:51

SEMESTER:
VIII
BRANCH:INFORMATION TECHNOLOGY
Serial
No.
Unit
3.
search
4.
5.
Change password
View crimes
Input
Start date
and end
date
Username
and
password
Click the
link view
crimes
Expected
output
Check
database
for the
dates and
display
crimes
during
those days
Update
existing
password
Output
obtained
PROJECT TITLE :CRIME
MANAGEMENT AND
REPORTING SYSTEM
status
remedies

fail
Inserted
valid date.
Error due
to invalid
date
success
Password
changed
Select all
records
from the
All crimes
table
displayed
crimes
in gridview
and display
it in
gridview
Toc H Institute of Science &Technology
Arakkunnam 682313
success
Page No:52

SEMESTER: VIII
BRANCH: INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
CITIZEN MODULE
Serial
No.
1.
Unit
send complaints
Input
Name,
address,
phone No.,
complaint
file.
Expected
output
Output
obtained
Insert into Inserted
table
into table
complaints
in the
database
status
remedies
success
STATION IN-CHARGE MODULE
Serial No.
1.
Unit
View crimes
Input
Click the
link view
crimes
Expected
output

Select all
records
from the
table
crimes
and display
it in
gridview
Output
obtained
All crimes
displayed
in gridview
Toc H Institute of Science &Technology
Arakkunnam 682313
status
remedies
success
Page No:53

SEMESTER: VIII
BRANCH: INFORMATION TECHNOLOGY
Serial No. Unit
Input
Expected
output
Output
obtained
status
Team name,
member
name,address,
phone No.
Insert into
table team
in the
database
Inserted
into table
success
2.
Team
registration
3.
Assign
team
Crime name, team
name, start date
Insert into
table team
in the
database
4.
Arrest
details
Crime name,
criminal name,
arrested
date,place,remark
s

Insert into
table
arrest
in the
database
Inserted
into table
Insert into
table
arrest
in the
database
Inserted
into table
5.
Close
crimes
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
Crime name,team
name,start
date,end
date,close history
Error due
to invalid
date
Toc H Institute of Science &Technology
Arakkunnam 682313
remedies
fail
Inserted
valid date.
success
success
Page No:54

SEMESTER: VIII
BRANCH: INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
INTEGRATION TESTING:
Serial
No.
1.
2.
Unit
Citizen module
Station
in-charge
Input
complaints
Expected
output
3.
status
remedies
Complaint
Insert
inserted and success
complaints. station incharge could
view it.
FIR
Create FIR
Created FIR
and
administrator
could view it.
User name
and
password
View
crimes

,criminals,
close
crimes
Viewed
crimes,
criminal
details and
FIR.
module
Administrator
module
Output
obtained
Toc H Institute of Science &Technology
Arakkunnam 682313
success
success
Page No:55

SEMESTER: VIII
BRANCH:INFORMATION TECHNOLOGY
Toc H Institute of Science &Technology
Arakkunnam 682313
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
Page No:56

SEMESTER: VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
Nothing can be ended in a single step. It is the fact that nothing is permanent
in this world. So this
project also has some future enhancements in the evergreen and booming IT indust
ry. Change is
inevitable. The project entitled Crime Management and Reporting System was success
fully designed
developed and tested. The system and the architecture is a compatible one, so ad
dition of new modules
can be done without much difficulty. Since this module has its unique properties
it can extend further to
make this system a complete one.
Scope of further development
The various Future Enhancement which shall include in this software are:
We look forward to working with the Government in implementing the recommendatio
ns and
seeing an improvement in the effectiveness of the Police Department.
The method of video conferencing can be added to make the project livelier.
An intercom facility will add a little more flexible communication between the A
dministrator,
Station in-charge and investigation team members.
Not withstanding this drive and progress, the Panel believes that more fundament
al changes are
needed. It hopes that the recommendation made in this report will assist in chan
ging the culture
around partnership.
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:57

SEMESTER: VIII
BRANCH:INFORMATION TECHNOLOGY
Toc H Institute of Science &Technology
Arakkunnam 682313
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
Page No:58

SEMESTER: VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
The project entitled Crime Management and Reporting System is very useful for the
Police
Department. The project was designed, implemented and tested successfully. The S
oftware developed is
found to be working efficiently and effectively. It undertakes regular and timel
y action against the crimes
reported. It can be observed that the information can be obtained easily and acc
urately.
The project provides much security. The simplicity and friendliness are the adva
ntages
of this project. The Software is made user friendly to the maximum so that any o
ne can run the software
provided he could access to the system via the login password.
This project manages all details without any risk. All the objectives were met w
ith
satisfaction. The performance of the system is found to be satisfactory.
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:59

SEMESTER: VIII
BRANCH:INFORMATION TECHNOLOGY
Toc H Institute of Science &Technology
Arakkunnam 682313
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
Page No:60

SEMESTER: VIII
BRANCH:INFORMATION TECHNOLOGY
PROJECT TITLE :CRIME
MANAGEMENT
AND
REPORTING SYSTEM
BOOKS REFERED :

Active Server Pages for Dummies. IDG Books worldwide, 2001

Scott Stabbert, Authentication and security for Internet developers

C#.NET Illuminated ,Art Gittleman California State University, Long Beach

C# Professional Projects,Nithin Pandey ,Geetanjali Arora.

Microsoft Visual C#.NET ,Mickey Williams


ONLINE HELP :

Howard, Michael. Microsoft Internet Information Server Security


available at
www.csharpcorner.com

www.microsoft.com/sql

www.databasejournal.com/features/mssql

www.microsoft.com/vcsharp
Toc H Institute of Science &Technology
Arakkunnam 682313
Page No:61

Vous aimerez peut-être aussi