+ All Categories

Final-1

Date post: 10-Jul-2016
Category:
Upload: shobhit
View: 224 times
Download: 3 times
Share this document with a friend
Description:
Final-1.pdf
50
A PROJECT REPORT On Submitted in the partial fulfillment of the Requirement for the Award of the degree of Submitted by Rakesh kumar Santosh Pal Anuj [1247910031] [1247910035] [1247910008] Under the Supervision of Mr. Praveen Verma May, 2016 Department of Computer Science and Engineering Rajshree Institute of Management & Technology, Bareilly
Transcript

A

PROJECT REPORT

On

Submitted in the partial fulfillment of the Requirement for the Award of the

degree of

Submitted by

Rakesh kumar Santosh Pal Anuj

[1247910031] [1247910035] [1247910008]

Under the Supervision of

Mr. Praveen Verma May, 2016

Department of Computer Science and Engineering Rajshree Institute of Management & Technology, Bareilly

CERTIFICATE

This is to certify that the following students of B.Tech final year in Computer Science &

Engineering of Batch 2012-16 have carried out the project titled “CRIME REPORTING

SYSTEM”.

Rakesh kumar Santosh Pal Anuj

[1247910031] [1247910035] [1247910008]

This project has been completed under the ordinance governing the course leading the

bachelor degree in computer science at Rajshree Institute of Management & Technology,

Bareilly affiliated to A.P.J. Abdul Kalam Technical University (Lucknow).

Approved for submission

Mr. Praveen Verma Mrs. Jyoti Agarwal

(Project Guide) (H.O.D. CS/IT)

ACKNOWLEDGEMENT

To comprehend the knowledge gained and to utilize its gist in a constructive manner to uplift

mankind is in all the duty of a concerned pupil. So extending this project report, in itself is a

matter of gratification, as it is driving us along the same path as enlightened by him.

On successful completion of our project, we owe this moment of satisfaction with a deep

gratitude towards our Parents, Project Guide Mr. Praveen Verma, Project Co-Ordinator and

HOD of CS/IT Department Mrs. Jyoti Agarwal. We are also thankful to Dr. Saket Agarwal,

Dean Academics, R.I.M.T Bareilly, whose zeal for the subject and continued guidance inspired

us to succeed in preparing the project. His invaluable guidance and encouragement in our project

work was an important aspect of our success.

We find ourselves delighted working on this project and would like to express our sincere

gratitude to Department of Computer Science / Information Technology, R.I.M.T who gave us

the opportunity to undertake this project work. We consider it a pleasant duty to express our deep

sense of appreciation, gratitude and indebtedness to thank the Entire Computer

Science/Information Technology Department for their valuable help and guidance in making this

project successful.

The acknowledgement would be incomplete without rendering thanks to all those colleagues and

friends who have joined hands in the successful completion of this project.

Rakesh Kumar (1247910031)

Santosh Pal (1247910035)

Anuj (1247910008)

Preface

It gives us great pleasure in designing our project for Crime Reporting System. Crime Reporting

System is unique software valuable for the paper less examination. It is made with several goals

in mind. It is design to provide all essential information related to online reporting of crimes. It

presents the modules which are Login Form, Register FIR, Services, Contact us.

We hope this project will fulfill requirements of the students. Mr. Praveen Verma, the guide of

project deserves a special appreciation for his valuable efforts in bringing out this project in such

an excellence form. We also thanks our parents for their help and suggestion to complete this

project.

In spite of all words efforts some errors may not be there. We shall be grateful to the use of the

same are brought to our notice. Suggestion and comments for further improvements of the

project will be acknowledged.

May, 2016 Rakesh Kumar (1247910031)

Santosh Pal (1247910035)

Anuj (1247910008)

Contents

Sr. No. Title

1 Abstract

2 Existing System

3 Need for new System

4 Functional Specification

5 Hardware and Software Requirement

6 System Flow Chart

7 Timeline Chart

8 E-R Diagram

9 UML Diagrams

9.1 Use Case Diagram

9.2 Activity Diagram

9.3 Class Diagram

9.4 Sequence Diagram

10 Database Tables

11 Testing

12 Post Implementation Review

13 Future Enhancement

14 Conclusion

15 Bibliography

Abstract

This crime reporting interface aims at providing facility to register the online report about the

crime. It saves time as it allows number of person to give report at a single time and takes

immediate action on that report, so there is no need to go to police station for the reporting of

crime. It is automatically generated by the server. It also thereby helps in saving resources- both

human and natural. User can log in and register the FIR with his specific id, and can see the

results as well. Any new user can register himself/herself on this website and instantly get the

user id and password. Using username and password, the user can login in into his/her profile.

In this web application, user can view the missing persons, read news about the crimes

happening in the country, view the nearby police stations, view the details of the police officers,

read the guidelines to register FIR.

EXISTING SYSTEM

• All criminal records are stored in a file.

• To add any new record, record file is used.

• When other police station require any criminal information at that time they need

to call that police station.

• There are many drawbacks like time consuming, require more man power.

• Citizens can’t get the information and the current status of the criminals of all cities.

NEED FOR NEW SYSTEM

•Citizens not need to go police station to see the criminal’s information. They can

directly see information on website.

• Visitor can easily get the information about the crime and criminal.

• Reduce the man power, and also reduce the time.

•Member can view the current status of the criminal.

FUNCTIONAL SPECIFICATION

USER SPECIFICATION:

• Admin:

Admin will be protected by username and password.

Ordinary user of website will not be permitted to enter into the application.

Admin can manage all records related to application that manage the crime detail.

• Member:

Member can add information about crime.

Member can add details of criminal.

• Visitor:

Visitor can view news, view missing citizens and view guideline about registration of

FIR.

MODULE SPECIFICATION:

•Registration:

New user can register in the system.

• Login Module:

Using the username and password admin and all Member can login in The system and

manage the application.

• Member Module:

Each of member view the criminal records and status.

Technologies used:

This project is a web application that is developed in PHP having MySql as back end.

1. Database Design (MySql)

2. Input Design (HTML)

3. Coding (PHP )

4. Java Script

5. CSS

Database (MySql):

A database management system (DBMS) is a computer software application that interacts with

the user, other applications, and the database itself to capture and analyze data. A general-

purpose DBMS is designed to allow the definition, creation, querying, update, and administration

of databases.

MySQL is a popular choice of database for use in web applications, and is a central component

of the widely used LAMP open-source web application software stack (and other "AMP" stacks).

LAMP is an acronym for "Linux, Apache, MySQL, Perl/PHP/Python". Free-software open-

source projects that require a full-featured database management system often use MySQL.

Applications that use the MySQL database include: TYPO3, MODx, Joomla, WordPress, php

BB, MyBB, Drupal and other software. MySQL is also used in many high-profile, large-

scale websites including Google (though not for the searches) Twitter, Flickr and YouTube.

On all platforms except Windows, MySQL ships with no GUI tools to administer MySQL

databases or manage data contained within the databases. Users may use the included command

line tools or install MySQL.

In computing, ODBC (Open Database Connectivity) is a standard programming language

middleware API for accessing database management systems (DBMS).

Input Design (HTML):

HyperText Markup Language, commonly abbreviated as HTML, is the standard markup

language used to create web pages. Along with CSS, and JavaScript, HTML is a cornerstone

technology used to create web pages, as well as to create user interfaces for mobile and web

applications. Web browsers can read HTML files and render them into visible or audible web

pages. HTML describes the structure of a website semantically and, before the advent of

Cascading Style Sheets (CSS), included cues for the presentation or appearance of the document

(web page), making it a markup language, rather than a programming language.

HTML elements form the building blocks of HTML pages. HTML allows images and other

objects to be embedded and it can be used to create interactive forms. It provides a means to

create structured documents by denoting structural semantics for text such as headings,

paragraphs, lists, links, quotes and other items. HTML elements are delineated by tags, written

using angle brackets. Tags such as <img> and <input> introduce content into the page directly.

Others such as <p> surround and provide information about document text and may include

other tags as sub-elements. Browsers do not display the HTML tags, but use them to interpret the

content of the page.

HTML can embed scripts written in languages such as JavaScript which affect the behavior of

HTML web pages. HTML markup can also refer the browser to Cascading Style Sheets (CSS) to

define the look and layout of text and other material. The World Wide Web Consortium (W3C),

maintainer of both the HTML and the CSS standards, has encouraged the use of CSS over

explicit presentational HTML since 1997.

HTML is a markup language for describing web documents (web pages). HTML stands for

Hyper Text Markup Language. A markup language is a set of markup tags. HTML documents

are described by HTML tags. Each HTML tag describes different document content.

Coding (PHP):

In this project we have used PHP as a coding language as it is easy to implement and open

source language. Php is the most widely used language for web development. PHP is a server-

side scripting language designed for web development but also used as a general-purpose

programming language. Originally created by Rasmus Lerdorf in 1994, the PHP reference

implementation is now produced by The PHP Group. PHP originally stood for Personal Home

Page, but it now stands for the recursive backronym PHP: Hypertext Preprocessor.

PHP code may be embedded into HTML code, or it can be used in combination with various web

template systems, web content management system and web frameworks. PHP code is usually

processed by a PHP interpreter implemented as a module in the web server or as a Common

Gateway Interface (CGI) executable.

The web server combines the results of the interpreted and executed PHP code, which may be

any type of data, including images, with the generated web page. PHP code may also be

executed with a command-line interface (CLI) and can be used to

implement standalone graphical applications.

The standard PHP interpreter, powered by the Zend Engine, is free software released under

the PHP License. PHP has been widely ported and can be deployed on most web servers on

almost every operating system and platform, free of charge.

The PHP language evolved without a written formal specification or standard until 2014, leaving

the canonical PHP interpreter as a de facto standard. Since 2014 work has gone on to create a

formal PHP specification.

PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web

pages. PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's

ASP. PHP is a server-side scripting language designed for web development but also used as a

general-purpose programming language.

Java Script:

JavaScript is a high-level, dynamic, un typed, and interpreted programming language. It has

been standardized in the ECMA Script language specification. Alongside HTML and CSS, it is

one of the three core technologies of World Wide Web content production; the majority

of websites employ it and it is supported by all modern Web browsers without plug-ins.

JavaScript is prototype-based with first-class functions, making it a multi-paradigm language,

supporting object-oriented, imperative, and functional programming styles. It has an API for

working with text, arrays, dates and regular expressions, but does not include any I/O, such as

networking, storage, or graphics facilities, relying for these upon the host environment in which

it is embedded.

Despite some naming, syntactic, and standard library similarities, JavaScript and Java are

otherwise unrelated and have very different semantics. The syntax of JavaScript is actually

derived from C, while the semantics and design are influenced by the Self

and Scheme programming languages.

JavaScript is also used in environments that are not Web-based, such as PDF documents, site-

specific browsers, and desktop widgets. Newer and faster JavaScript virtual machines (VMs) and

platforms built upon them have also increased the popularity of JavaScript for server-side Web

applications. On the client side, JavaScript has been traditionally implemented as an interpreted

language, but more recent browsers perform just-in-time compilation. It is also used in game

development, the creation of desktop and mobile applications, and server-side network

programming with runtime environments such as Node.js.

Basic properties of JavaScript :-

JavaScript is the programming language of HTML and the Web.

Programming makes computers do what you want them to do.

JavaScript is easy to learn

CSS:

Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a

document written in a markup language.

Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g., fonts, colors,

spacing) to Web documents. These pages contain information on how to learn and use CSS and

on available software. They also contain news from the CSS working group.

The CSS Working Group began tackling issues that had not been addressed with CSS level 1,

resulting in the creation of CSS level 2 on November 4, 1997. It was published as a W3C

Recommendation on May 12, 1998. CSS level 3, which was started in 1998, is still under

development as of 2014.

A CSS rule set consists of a selector and a declaration block: The selector points to the HTML

element you want to style. The declaration block contains one or more declarations separated by

semicolons. Each declaration includes a property name and a value, separated by a colon.

The CSS(Cascading Style Sheet) can be divided into 3 three parts:-

1.Inline CSS

2.Internal CSS

3.External CSS

All three types of CSS could be used in describing the presentation of a document written in

markup language depending on the way user wants to use it.

HARDWARE AND SOFTWARE REQUIREMENT

Hardware Interface

Client Side:

Internet Explorer : 6.0

Processor : Pentium IV 2.0 and above.

RAM : 256 MB

Server Side:

Processor : Pentium IV 2.0 and above.

RAM : 1 GB

Disk space : 4GB

Software Interface

Client Side : PHP, Web Browser, Windows10/8/7/XP/2000/Vista

Web Server : PHP, Windows 10/8/7/XP/2000/Vista

Data Base Server : MySql

Constraints

User interface is only in English i.e. no other language option is available.

User can login only with his assigned username and password i.e. no guest facility is

available.

Limited to HTTP/HTTPS.

Feasibility Study

A feasibility study aims to objectively and rationally uncover the strengths and weaknesses of an

existing business or proposed venture, opportunities and threats present in the environment,

the resources required to carry through, and ultimately the prospects for success. In its simplest

terms, the two criteria to judge feasibility are cost required and value to be attained.

A well-designed feasibility study should provide a historical background of the business or

project, a description of the product or service, accounting statements, details of the

operations and management, marketing research and policies, financial data, legal requirements

and tax obligations. Generally, feasibility studies precede technical development

and project implementation.

Technical feasibility

This assessment is based on an outline design of system requirements, to determine whether the

company has the technical expertise to handle completion of the project. When writing a

feasibility report, the following should be taken to consideration:

A brief description of the business to assess more possible factors which could affect the

study

The part of the business being examined

The human and economic factor

The possible solutions to the problem

At this level, the concern is whether the proposal is both technically and legally feasible

(assuming moderate cost)

Economic feasibility

The purpose of the economic feasibility assessment is to determine the positive economic

benefits to the organization that the proposed system will provide. It includes quantification and

identification of all the benefits expected. This assessment typically involves a cost/ benefits

analysis.

Legal feasibility

Determines whether the proposed system conflicts with legal requirements, e.g. a data processing

system must comply with the local data protection regulations and if the proposed venture is

acceptable in accordance to the laws of the land.

Operational feasibility

Operational feasibility is a measure of how well a proposed system solves the problems, and

takes advantage of the opportunities identified during scope definition and how it satisfies the

requirements identified in the requirements analysis phase of system development.

The operational feasibility assessment focuses on the degree to which the proposed development

projects fits in with the existing business environment and objectives with regard to development

schedule, delivery date, corporate culture, and existing business processes.

What are the user’s demonstrable needs?

User needs a web-based system, which will remove all the above-mentioned Problems that,

the user is facing. The user wants a web-based system, which will reduce the bulk of

paperwork, provide ease of work, flexibility, fast record finding, modifying, adding,

removing and generating the reports.

How can the problem be redefined?

We proposed our perception of the system, in accordance with the problems of existing

system by making a full layout of the system on paper. We tallied the problems and needs by

existing system and requirements. We were further updating in the layout in the basis of

redefined the problems. In feasibility study phase we had undergone through various steps,

which are described as under:

How feasible is the system proposed? This was analyzed by comparing the following factors

with both the existing system and proposed system.

Cost

The cost required in the proposed system is comparatively less to the existing system. The cost of

this system is very low as it saves human efforts. As we don’t need to go anywhere for reporting

about any crime happening. We can just sit down and lodge FIR online, so the cost is negligible.

Effort

Compared to the existing system the proposed system will provide a better working

environment in which there will be ease of work and the effort required will be

comparatively less than the existing system.

Time

Also the time required generating a report or for doing any other work will be comparatively

very less than in the existing system. Record finding and updating will take less time than the

existing system.

Labor

In the existing system the number of staff required for completing the work is more while the

new system will require quite less number of staff.

Specification Report

1.System Interface

Application would be a self-contained system. It will not access data of any other application nor

will other application have access to its data.

2.User Interface

Application will be accessed through a Browser Interface. The interface would be viewed

best using 1024 x 768 and 800 x 600 pixels resolution setting. The software would be fully

compatible with Microsoft Internet Explorer for version 6 and above. No user would be able

to access any part of the application without logging on to the system.

3.Hardware Interface

For Server

Intel Pentium III or above with

512 MB RAM

4 GB hard disk

Network Interface

For Client

256 MB RAM

Network Interface

4.Software Interface

For Server

For Client

1. Windows 2000

2. XAMP Server

3. MySql Server

1. Windows 95/98/2000/NT

2. Microsoft Internet Explorer 6 &

above

5.Communication Interface

The system should be accessed over LAN or WAN. For Clients to access application

server the network should be running TCP/IP protocol.

Interactive operations using options provided in the application, Example Data Entry

generation and viewing of reports.

Database backup should be taken every day. In case of data base crash, last backup

should be restored.

The end user of the software can be divided into two categories.

Administrator: Access to master forms for the purpose of data entry and generation of reports.

Operator: Access to his corresponding records and register a FIR only.

Bottlenecks Identified in Existing System

The first problem is that there are loads of hard copied documents being generated. This brings

us to the age-old discussion of keeping information in the form databases versus keeping the

same on sheets of paper. Keeping the information in the form of hard-copied documents leads to

the following problems:

Lack of space – It becomes a problem in itself to find space to keep the sheets of paper being

generated as a result of the ongoing discussion. The documents being generated are too

important to be ill-treated.

Filing poses a problem – Filing the documents categorically is a time consuming and tedious

exercise.

Filtering is not easy – It becomes hard to filter relevant documents for the irrelevant ones if the

count of the same crosses a certain manageable number.

Reviewing becomes time-consuming – All the process done manually at the centers and all the

records are maintained on the papers. So the maintenance of the record is very difficult in the

departments and as well as it’s very difficult for the workers to check the record. The Existing

system is paper based, time consuming, monotonous, less flexible and provides a very hectic

working schedule. The chance of loss of records is high and also record searching is difficult.

Maintenance of the system is also very difficult and takes lot of time.

Result - Processing is slow due to paper work and requirement of staff.

Aims and Objective

The main purpose behind the proposed system is to provide a comprehensive computerized

system, which can capture, collate and analyze the data from these wards and evaluate the

impact of the program.

Constraints, Assumptions, Dependencies

Constraints

As this system is based on client server technology, so for normal operation minimum of 64 MB

RAM will be required on all clients.

Assumptions

In general it has been assumed that the user has complete knowledge of the system that

means user is not a naïve user. Any data entered by him/her will be valid. To make the

software as user friendly as possible but at the same time keeping in minds user requirements.

Server OS should be Windows NT/2000/XP.

Client PC should be Windows 9X/NT/WorkStation or Windows 2000 with latest service

pack.

Dependencies

It depends that the one should follow the international standards for the generating the User ID &

should fill the related information in the proper format.

Software System Attributes

Usability: The links are provided for each form. The user is facilitated to view and make entries

in the forms. Validations are provided in each field to avoid inconsistent or invalid entry in the

databases. Some forms consists Hyper Links, which provides further details. Reports screen

contains text boxes and drop down lists, so that reports can be produced.

Security: Application will allow only valid users to access the system. Access to any application

resource will depend upon user’s designation. There are two types of users namely Administrator

and Student. Security is based upon the individual user ID and Password.

Maintainability: The installation and operation manual of examination management system will

be provided to the user.

Availability: System will be available around the clock except for the time required for the

backup of data.

Portability: The application is developed in PHP. It would be portable to other operating

system provided Framework is available for the OS. As the database is made in MySql,

porting the database to another database server would not require any development effort.

Acceptance Criteria

The software should meet the functional requirement and perform the functionality effectively

and efficiently.

A user-friendly interface with proper menus.

Data transfer should be accurate and within a reasonable amount of time keeping in mind

the network traffic.

The system should not allow entry of duplicate key values.

System should have the ability to generate transactional Logs to avoid any accidental loss

of data.

Log file should also be generated.

SYSTEM FLOW CHART

System flowcharts are a way of displaying how data flows in a system and how decisions are

made to control events. To illustrate this, symbols are used. They are connected together to show

what happens to data and where it goes.

TIMELINE CHART

Timeline charts are User Items that create a chart where a series of events are arranged on a bar

graph. Each event can be a single point in time or a date range.

E-R DIAGRAM

An entity-relationship diagram (ERD) is a data modeling technique that graphically illustrates an

information system's entities and the relationships between those entities. An ERD is a

conceptual and representational model of data used to represent the entity framework

infrastructure.

UML DIAGRAMS

UML stands for Unified Modeling Language which is used in object oriented software

engineering. Although typically used in software engineering it is a rich language that can be

used to model an application structures, behavior and even business processes.

1.USE CASE DIAGRAM

A use case diagram is a graphic depiction of the interactions among the elements of a system.

Ause case is a methodology used in system analysis to identify, clarify, and organize system

requirements.

Admin Use case:

Member Use case:

Visitor Use case:

2.ACTIVITY DIAGRAM

Activity diagrams are graphical representations of workflows of stepwise activities and actions

with support for choice, iteration and concurrency. In the Unified Modeling Language, activity

diagrams are intended to model both computational and organizational processes (i.e.

workflows).

Admin Activity:

Member Activity:

3.CLASS DIAGRAM

A class diagram is an illustration of the relationships and source code dependencies

among classes in the Unified Modeling Language (UML). In this context, a class defines the

methods and variables in an object, which is a specific entity in a program or the unit of code

representing that entity.

4.SEQUENCE DIAGRAM

A Sequence diagram is an interaction diagram that shows how processes operate with one

another and in what order. It is a construct of a Message Sequence Chart. A sequence diagram

shows object interactions arranged in time sequence.

Admin side:

Member side:

Database Tables

1.fir_detail

2.mstr_area

3.mstr_city

4.mstr_crimetype

5.mstr_designation

6.mstr_login

7.mstr_officer

8.mstr_policestation

9.mstr_profile

Screen Shots of the Project

1. Index:

This is the Home Page of the Website. Here user can login and he can also see the news,

contacts, etc. There are many other operation which are useful for the user. The Crime Solution is

the name of the website as defined by us.

2. Registration:

Here the user can register on the website and can create a Login id and password. Which is

required at the time of Log-In into the website.

3. Viewmissing_citizen:

Here the list of missing person can be displayed.

4.Econtact:

Here is the list of important contact numbers.

5.Home:

This is the home page after the user login into his account.

TESTING

POST IMPLEMENTATION REVIEW

Citizens not need to go police station to see the criminal’s information. They can directly

see information on site.

The Police officer can easily search the records of any police station through the system.

User can search crime according to city, crime type and year.

User can view graph of particular crime and city.

Police officers can easily get the information about the crime and criminal.

FUTURE ENHANCEMENT

In future system will provide mail facility to editors. Editors can send mail to other stations editor.

In future system will provide facility to send message.

In future system will allow user to register complains online.

Conclusion

This crime reporting interface aims at providing facility to register the online report on the crime

fastly. It saves time as it allows number of person to give report at a single time and takes

immediate action on that report, so there is no need to go to police station for the reporting of

crime. It is automatically generated by the server. It also thereby helps in saving resources- both

human and natural. User can log in and register the FIR with his specific id, and can see the

results as well. This application uses HTML, PHP, Javascript as front-end and My-SQL as back-

end on the Apache Server Framework and supports HTTP protocol with English Language.

Bibliography

Core PHP for beginner book.

PHP Complete Reference book.

www.w3schools.com

www.javatpoint.com

www.phppoint.com

www.9lession.com

www.wikipedia.com

www.google.com

www.stackchanger.com

www.programmingportal.in

www.php.net


Recommended