Crime Report
Crime Report
The Crime Management System is a cutting-edge web application created to use technology to
improve public safety and expedite crime reporting. It provides a strong and engaging platform for
reporting and handling illegal activity, catering to two main user bases: administrative authorities
and the general public.
Through a user-friendly interface, the technology makes it easy for citizens to report crimes while
guaranteeing that their information is safely kept in the database. An interactive dashboard with a
heatmap of India that highlights crime density and identifies high-risk locations is part of the Admin
Panel, which is intended for government officials. This graphic aids in the efficient distribution of
resources by authorities. Furthermore, data analysis tools improve reporting and decision-making
skills by offering tabular and graphical representations of crime information.
In order to guarantee prompt response, the system includes automated email notifications to the
appropriate authorities following report submission. Users can examine reports based on a variety
of factors, including location, crime type, or date, thanks to advanced filtering and sorting tools.
The Emergency Button, which is intended for women in crisis, is a noteworthy feature. When this
function is enabled, the user's current position is shared instantly with authorities, reliable contacts,
and local police stations. In order to get proximity-based notifications, citizens can sign up as
guardians, creating a network of supportive neighbors.
An AI chatbot is also included in the system to help users with questions and reporting procedures.
The Crime Management System solves issues with conventional crime reporting by automating
procedures and offering real-time insights, guaranteeing user safety, efficiency, and transparency.
By bridging the gap between technology and crime management, this project seeks to empower
citizens, decrease manual errors, and increase public trust in law enforcement.
CONTENTS
1. INTRODUCTION 3
1.1. Overview
2. REQUIREMENT ANALYSIS 5
2.2.Non-Functional Requirements 6
2.2.1.Performance/Time 6
2.2.2.Usability 7
2.2.3.Security 7
3. CONCEPTUAL MODELS 8
3.1.Entity-Relationship Diagram 8
4. SYSTEM DESIGN 10
5. IMPLEMENTATION
7. CONCLUSION 16
8. REFERENCES 17
1. INTRODUCTION
Rapid expansion and socioeconomic changes have been brought about in the modern
world by urbanization and technological breakthroughs. But this expansion is
accompanied by a rise in criminal activity, which presents problems for public safety
and law enforcement. A strong digital solution is required to close the gap caused by the
inefficiencies, delays, and lack of transparency that plague traditional systems of
reporting and handling crimes.
The Crime Management System is a cutting-edge web program created to better data
analysis, expedite crime reporting, and strengthen public safety protocols. It makes it
simple for citizens to report crimes and gives administrative authorities the resources
they need to properly investigate, track, and handle events.
This document outlines the design and implementation of the system, focusing on its
role as a centralized portal for crime data management. The system caters to two types
of users: general citizens and government authorities. Its primary goal is to ensure a
secure and efficient platform for reporting crimes, analyzing crime patterns, and
facilitating quick response mechanisms.
1. Admin User:
o Manages submitted reports and oversees the dashboard with real-time data
visualizations.
o Monitors the heatmap to identify crime-prone areas.
o Responds to alerts and provides necessary actions based on reports.
2. Registered User (Citizen):
o Submits detailed crime reports.
o Views their submitted reports and response status.
o Receives updates on reported incidents via email notifications.
3. Guardian or Emergency Contact User:
o Registered as part of the emergency feature for women.
o Receives alerts with live location details during emergencies.
This system ensures efficient crime reporting, reduces manual errors, and fosters a safer
environment for citizens while strengthening the trust in law enforcement authorities.
2. REQUIREMENT ANALYSIS
This web application supports multiple user modes: Registered Users, Guest Users, and Admin
Users.
Guest Users:
o Guests can explore the website to understand its purpose and features in the
About Us section, which provides contact details and system information.
o They can view sample reports and learn about the benefits of registering, but
crime reporting is restricted to registered users.
o Guests have the option to register by providing essential details (e.g., name,
email, password). An email confirmation link is sent for account activation.
Registered Users:
o Users can submit detailed crime reports, including type, description, and location,
and upload supporting evidence (images or videos).
o They can view and update their profile information, including contact details and
account settings.
o Users receive real-time email notifications upon report submission and updates on
the investigation status.
o Access a personalized dashboard displaying their report history and status.
o Utilize the Emergency Assistance feature for women, enabling live location
sharing and alert notifications to guardians, authorities, and nearby police stations.
o Interact with the AI Chatbot for guidance on report filing or general inquiries.
Admin Users:
o Admins can log in via a secure portal.
o Monitor crime reports, analyze patterns, and access real-time dashboards
displaying heatmaps and visual data (graphs and charts).
o Filter and sort reports based on criteria like crime type, date, or severity.
o Respond to emergency alerts by taking appropriate actions and contacting the
necessary authorities.
o Manage feedback provided by users and maintain system integrity.
2.2.1 Performance/Time:
The system ensures efficient processing of queries and report submissions, with response
times of less than 5 seconds for most operations.
Large datasets, such as crime density heatmaps, are rendered dynamically to provide
accurate and timely insights.
2.2.2 Usability:
A user-friendly interface ensures seamless navigation and accessibility, even for first-
time users.
The website design follows intuitive workflows for report submission, dashboard access,
and emergency assistance features.
2.2.3 Security:
Secure login with two-factor authentication (2FA) ensures user account protection.
Passwords are hashed using advanced cryptographic algorithms for integrity and
confidentiality.
Role-based access control restricts sensitive data and functionalities to authorized users
only.
The system guarantees high availability, ensuring users can report crimes or access data
at any time.
Data is backed up regularly to prevent loss and ensure consistency.
Reports and visualizations are designed to provide accurate, up-to-date information.
3.CONCEPTUAL MODELS
ER diagram
Relational schema is a logical definition of a table and can be derived from the above ER
Diagram. It defines the name of table and the attributes of columns in a table.
4. SYSTEM DESIGN
The design of the Crime Management System is structured into two primary parts:
a) Data Gathering
b) Integration of Front-End and Back-End
4.1 Design Goals
The following design goals were established for developing the Crime Management System:
Responsiveness: The web application must be accessible across all devices, including desktops,
tablets, and mobile phones.
Scalability: The system should efficiently handle increasing data and user traffic.
Technology Stack: The design is developed using PHP and MySQL for backend processing and
HTML, CSS, JavaScript, and Bootstrap for front-end responsiveness and aesthetics.
Security and Integrity: Data confidentiality and integrity are maintained using robust security
protocols like two-way authentication and password hashing.
User-Friendly Interface: An intuitive and engaging user interface is provided for seamless user
interaction.
Front-End Development:
The front end employs HTML, CSS, and JavaScript with the Bootstrap framework to
ensure a responsive and visually appealing interface.
Back-End Development:
The backend is built using PHP and MySQL, handling dynamic user requests, data
processing, and report generation.
Apache Server is utilized for hosting the application.
The system dynamically manages and processes data related to crime reports, user profiles, and
crime statistics. Crime data includes type, description, location, and supporting evidence.
Reports and analytics data are stored in MySQL tables, structured to facilitate efficient queries
and data visualizations.
Heatmap data is generated based on the density of crime reports across regions using
geolocation coordinates.
2. Registration:
o New users can register by providing essential details like name, email, and password.
o A confirmation email with an activation link ensures verified accounts.
3. Dashboard:
o Registered users can report crimes, view submitted reports, and monitor their statuses.
o Crime reports submitted include details such as crime type, description, location, and
optional evidence (e.g., photos).
o Reports are stored in the Reports Table in the MySQL database.
5. AI Chatbot:
o An interactive chatbot provides guidance for report filing and addresses common user
queries.
6. Admin Interface:
o The admin dashboard includes features to view all submitted crime reports, generate
heatmaps for crime density, and analyze patterns using charts and graphs.
o Admins can filter and sort reports based on criteria like crime type, region, or
submission date.
o Admins can also review user feedback stored in the Feedback Table.
7. Security Measures:
o Two-factor authentication (2FA) adds an additional layer of security during user login.
o Passwords are hashed and stored securely, ensuring no plaintext access to sensitive
data.
5.Conclusion
A complete system for reporting, organizing, and evaluating crime-related data has been
effectively put into place by the Crime Management System project. While guaranteeing that
their data is processed securely, the system enables users to report issues with ease. An admin
dashboard with a crime density heatmap and strong data visualization features is one of the
strong tools available to authorities. Better public safety, speedier responses, and effective crime
monitoring are made possible by these qualities.
User-friendliness, dependability, and security are among the functional and non-functional
requirements that the project satisfies. Advanced features that guarantee the platform stays very
relevant and impactful in real-world settings include emergency alert functionality for women
and an AI chatbot for support. All users will have a flawless experience if frontend and backend
components are successfully integrated.
This project demonstrates the potential for leveraging technology to address critical societal issues
effectively and lays the foundation for further innovation in public safety and law enforcement.
6. References
1. Research and insights into web application development: Stack Overflow
2. Learning resources for HTML, CSS, and Bootstrap: W3Schools
3. Database concepts and design techniques: Fundamentals of Database Systems by Elmasri &
Navathe
4. Map-based heatmap visualizations: Google Maps API Documentation
5. Implementation of secure user authentication: MDN Web Docs