Вы находитесь на странице: 1из 37

PROJECT

on
METRO RAILWAY
Presented to the Department of Computer Science & Engineering of Bangladesh
University of Business & Technology (BUBT) in Software Engineering of the
requirements for the degree B.Sc. in Computer Science & Engineering.

BANGLADESH UNIVERSITY OF BUSINESS AND


TECHNOLOGY (BUBT)
Plot # 77-78, Road # 9, Rupnagar, Mirpur-2, Dhaka-1216
About the Reviewer :

SUMAN SAHA is the Honorable Lecturer of the Department of CSE of Bangladesh


University of Business & Technology (BUBT). He has been working in the field of
software development since a long time and has extensive experience in system
analysis and core level programming. He also has a strong experience in the sector
of networking.

He has worked for several software as a portfolio of his carrier. Most Importantly,

he is the supervisor of this project METRO RAILWAY


ABOUT THE DEVELOPERS:

Meer Muttakin Alam

Meer Muttakin Alam is a student of Bangladesh University of Business &


Technology (BUBT). Studying in B.Sc. in Computer Science & Engineering at 29th
intake, Section 4 and his ID no. is 14152103175.
DECLARATION:

We, hereby, declare that the work presented in this Project is the outcome of the
investigation performed by us under the supervision of SUMAN SAHA, Lecturer,
Department of Computer Science and Engineering (BUBT), Dhaka, Bangladesh.

We, the undersigned hereby declare that the METRO RAILWAY is our own work,
that it has not been submitted for any degree or examination in any other university
to our knowledge, and that all sources we have used or quoted have been indicated
and acknowledged by complete references.

Name: Meer Muttakin Alam

Signature: .............................. Date:


Acknowledgement
First and foremost, we are grateful to the Allah, the Almighty, the Merciful without
whose patronage and blessing this project would not been successfully completed.

This Project is lovingly dedicated to our respective parents who have been our
constant source of inspiration. They have given us the drive and discipline to tackle
any task with enthusiasm and determination. Without their love and support this
project would not have been made possible

We acknowledged with great thanks to the university authority for providing helpful
environment to learn knowledge & organize such a program. We acknowledged with
great thanks to our project supervisor SUMAN SAHA (Lecturer, Department
of CSE, BUBT) for his most valuable suggestions & co-operations. The blessing,
help and guidance given by him time to time shall carry a long way in the journey
of life on which we about to embark. We also acknowledged with great thanks to
our entire family member for their support & aspiration. They always expect our
best performance. We wish we could fulfill their aspiration. We also pay regards to
our friends in the department who, through their interest and work, are our contestant
source of inspiration.
ABSTRACT

This is an integrated service which provide all information about the metro rail and
its routes for public. The proposed system is a web based application which provides
information regarding timings, routes, fair.

This system manages public feedback about services through its complaint
management system. This system also contains an online ticket recharge module
where users can recharge their smart cards online through the site.

There is also an admin module where admin can add stations, trains, routes and also
update the fairs. The admin is a panel consisting of a group of authorized persons.
LIST OF FIGURES
PAGE

1.1 COMPLAINT MANAGMENT MODULE 2

1.2 ONLINE TICKET RECHARGE MODULE 3

1.3 METRO TIME TABLE MODULE 4

1.4 FAIR AND ROUTE MAP MODULE 4

1.5 ADMIN MODULE 5

E-R DIAGRAMS AND DFD

3.13 COMPLETE DIAGRAM 24

3.14 COMPLAINT MANAGMENT SYSTEM DFD 26

3.15 ONLINE TICKET RECHARGE DFD 27

3.16 METRO TIME TABLE DFD 28

3.17 FAIR AND ROUTE MAP DFD 29

3.18 ADMIN DFD 30

LIST OF TABLES

PAGE

3.1 ADMIN TABLE 18

3.2 COMPLAINT DETAILS TABLE 18

3.3 FAIR DETAILS TABLE 19


3.4 METRO CARD TABLE 19

3.5 RECHARGE DETAILS TABLE 20

3.6 REPLY TABLE 20

3.7 ROUTE TABLE 20

3.8 ROUTE DETAILS TABLE 21

3.9 STATIONS TABLE 21

3.10 TRAIN TABLE 21

3.11 TRIP TABLE 22

3.12 TRIP DETAILS TABLE 22

TABLE OF CONTENTS

PAGE
ACKNOWLEDGEMENT

ABSTRACT i

LIST OF FIGURE ii

LIST OF TABLES iii

1. INTRODUCTION
1.1 OBJECTIVES 1
1.2 OVER VIEW 1
1.2.1 COMPLAINT MANAGMENT MODULE 2
1.2.2 ONLINE TICKET RECHARGE 3
1.2.3 METRO TIME TABLE 4
1.2.4 FAIR AND ROUTE MAP 4
1.2.5 ADMIN 5

2. SYSTEM ANALYSIS 6
2.1 EXISTING SYSTEM 6
2.2 PROPOSED SYSTEM 7
2.3 SYSTEM REQUIREMENT SPECIFICATION 8
2.3.1 GENERAL DESCRIPTION 8
2.3.2 SYSTEM OBJECTIVES 9
2.3.3 SYSTEM REQUIREMENTS 9

2.3.3.1 NON FUNCTIONAL REQUIREMENT 9

2.3.3.2 FUNCTIONAL REQUIREMENT 10

2.3.4 SOFTWARE AND HARDWAREREQUIREMENTS 12

2.3.4.1 SOFTWARE REQUIREMENTS 12

2.3.4.2 HARDWARE REQUIREMENTS 13

3. SYSTEM DESIGN 14
3.1 INPUT AND OUTPUT DESIGN 14
3.1.1 INPUT DESIGN 14
3.1.2 OUTPUT DESIGN 15
3.2 DATABASE 15
3.3 SYSTEM TOOLS 16
3.3.1 FRONT END 16
3.3.2 BACK END 17
3.4 TABLES 18
3.5 E-R DIAGRAMS 28
3.6 DATA FLOW DIAGRAMS (DFD) 30
3.7 SCREEN SHOTS 37

4. CONCLUSION 56

REFERENCES 57

APPENDIX 58
CHAPTER 1

INTRODUCTION

This is an integrated service which provide all information about the metro rail and its
routes for public. The proposed system is a web based application which provides
information regarding timings, routes, fair. This system manages public feedback about
services through its complaint management system. This system also contains an online
ticket recharge module where users can recharge their smart cards online through the
site.

There is also an admin module where admin can add stations, trains, routes and also
update the fairs. The admin is a panel consisting of a group of authorized persons.

1.1 OBJECTIVE
. The objectives of the project are as follows:

Users can register complaints through the site.


User login page where users can recharge tickets online.
Users can view metro timetable.
User can also view the fair details and the route map.
An admin login page where admin can add stations, trains, routes, update fairs
and even add a new admin.
1.2 OVERVIEW

Metro Rail Management System consist of the following implementation modules.

Fig 1.2.1 Complaint Management Module

This module contains various facilities like view complaints and reply to complaints.
Fig 1.2.3 Metro Time table module

This module contains various facilities like view time chart between two stations.

Fig 1.2.4 Fair and route map module

This module contains various facilities like display fair and display route map.
Fig 1.2.2 Online Ticket Recharge Module

This module contains various facilities like request for smart card, recharge, view
balance ,view journey history.
CHAPTER 2

SYSTEM ANALYSIS

System analysis is the process of gathering and interpreting facts, diagnosing problems
and using the information to recommend improvements on the system. System analysis
is a problem-solving activity that requires intensive communication between the system
users and system developers.

System analysis or study is an important phase of any system development process. The
system is viewed as a whole, the inputs are identified and the system is subjected to
close study to identify the problem areas. The solutions are given as a proposal. The
proposal is reviewed on user request and suitable changes are made. This loop ends as
soon as the user is satisfied with the proposal.

2.1 EXISTING SYSTEM

Information cannot be collected, processed and communicated more


quickly and efficiently.

Current working systems doesnt ensure that right information reaches the
right person at the right time.

2.2 PROPOSED SYSTEM


The proposed system is designed to eliminate the disadvantages of the existing
system.The proposed system Metro Rail Management System is mentioned for tracing
the problems in the existing system.

Increased efficiency and reliability.


Easier Access.

Easy to use

Provide accurate information to the user for taking necessary decisions.

Accuracy - The information will be correct, accurate and unambiguous.

Efficiency - Information can be collected, processed and communicated

more quickly and efficiently. Systems ensure that right information reaches

the right person at the right time.

Reliability - Since systems are free from boredom and tiredness, they work

constantly on data to produce more reliable outputs.

Accessibility, Usability and Understandability

The options used can be easily accessed, used and realized.

2.3 SYSTEM REQUIREMENT SPECIFICATION

2.3.1 GENERAL DESCRIPTION

Product Description:
Metro rail management system is an online system which helps the user to recharge their
tickets online, it also have a complaint management system in which users can register
their complaints online.
By visiting the site the users can get metro time table. Other than that by entering the
source station and destination station the users can get all sorts of information about
trains arriving and departing from the stations, its fair details and even it provides you
the route map.

Problem Statement:
The problem occurred before having online system includes: File lost
When online system is not implemented the complaints are reported in files. The files are
always lost due to some human errors.
Time consuming
When there is no computerized system then for recharge purposes the users need to
travel to the stations and also sometimes even need to stand in large queues for recharge
purposes.
Most updations are unnoticeable
When online systems is not implemented any changes in fair, timings etc when
updated ,the details of these things are only available at the stations.

2.3.2 SYSTEM OBJECTIVES

Improvement in Control and performance


The system is developed to cope up with current issues and problems of the metro rail.
The system helps to recharge online, make a complaint online , display metro timetable
,fairs and route maps.
Save time
User is able to recharge online, see details of metro time table , fairs & route maps and
even the user can complaint online there by saving his valuable time.
Easy to Use
A person with just an internet connection and a pc can do things such as complaint,
recharge and view metro details very easily.
2.3.3 SYSTEM REQUIREMENTS

2.3.3.1 NON FUNCTIONAL REQUIREMENTS

EFFICIENCY REQUIREMENT
When a metro rail management system will be implemented then the user can
recharge, complaint and view metro information fastly& easily. RELIABILITY
REQUIREMENT
The system should accurately perform recharge, store complaints, show the details of
metro such as fair, route maps.

USABILITY REQUIREMENT

The system is designed for a user friendly environment so that user and admin of metro
rail can perform various tasks easily and in an effective way.

IMPLEMENTATION REQUIREMENTS

In implementing whole system it uses html in front end with jsp as server side scripting
language which will be used for database connectivity and the backend ie the database
part is developed using mysql.
DELIVERY REQUIREMENTS
The whole system is expected to be delivered in six months of time with a weekly
evaluation by the project guide.

2.3.3.2 FUNCTIONAL REQUIREMENTS


REGISTER COMPLAINT
Description of Feature

This feature allows users to file complaints through the site. The user does not require a
registration. He can give his name, email-id, phone number, address and other details
along with the complaints. The admin will reply to the complaints sent by user.

Functional Requirements

System must be able to verify information.


System must be able to store the information in database.
System must be able to retrieve information when required by admin.

METRO CARD
Description of Feature

This feature allows the user to recharge their metro card online, there by saving their
valuable time. Users need to login with their card number& password and can recharge
their tickets online. It also allows them to view their balance and journey history.

Functional Requirements

User id is provided when they register.


The system must be able to show the users balance and journey history.
The user must be able to logout after they had finished recharging or after viewing
the balance or journey history.

METRO TIME TABLE


Description of feature

This feature allows the users to view the metro time table. Users are required to enter
the source station and destination station, when they enter the data then the system will
show the metro time table.

Functional Requirements

System must allow the users to enter the source station and destination stations.
System must be able to process information from database.

FAIR AND ROUTEMAP


Description of Feature
This feature allows the users to view the fair and route map. Users are required to enter
the source and destination station, when they enter the data then the system will display
fair details and the route map.

Functional Requirements

System must allow the users to enter the source and destination stations.
System must be able to retrieve information from the database.

ADMIN
Description of Feature

This feature allows the admin to view and reply to complaints. Admin can add stations,
routes ,train , trip . Admin can also add and update fair details, and even add a new
admin. Actually, the admin is a panel consisting of a group of authorized persons.

Functional Requirements

The system must allow admin to add train, stations ,routes,fair ,metro
timetable and even add a new admin.
The system must also allow admin to reply to the complaints send by the user.
The system should be designed in such a way that only authorized people
should be allowed to access some particular modules.
The records should be modified by only administrators and no one else.

2.3.4 SOFTWARE AND HARDWARE REQUIREMENTS


This section describes the software and hardware requirements of the system
2.3.4.1 SOFTWARE REQUIREMENTS
Operating system- Windows 7 is used as the operating system as it is stable
and supports more features and is more user friendly
Database MYSQL-MYSQL is used as database as it easy to maintain and
retrieve records by simple queries which are in English language which are
easy to understand and easy to write.
Development tools and Programming language- HTML is used to write the
whole code and develop webpages with css, java script for styling work
and php for sever side scripting.
2.3.4.2 HARDWARE REQUIREMENTS
Intel core i3 2nd generation is used as a processor because it is fast than other
processors an provide reliable and stable and we can run our pc for longtime.
By using this processor we can keep on developing our project without any
worries.
Ram 1 gb is used as it will provide fast reading and writing capabilities and
will in turn support in processing
CHAPTER 3

SYSTEM DESIGN
System design is the solution for the creation of a new system.
This phase focuses on the detailed implementation of the feasible system. It emphasis
on translating design.Specifications to performance specification. System design has
two phases of development

Logical design
Physical design

During logical design phase the analyst describes inputs (sources), output
s(destinations), databases (data sores) and procedures (data flows) all in a format that
meets the user requirements. The analyst also specifies the needs of the user at a
level that virtually determines the information flow in and out of the system and the data
resources. Here the logical design is done through data flow diagrams and database
design. The physical design is followed by physical design or coding. Physical
design produces the working system by defining the design specifications, which
specify

exactly what the candidate system must do.The programmers write the
necessary programs that accept input from the user, perform necessary processing on
accepted data and produce the required report on a hard copy or display it on the
screen.

3.1 INPUT AND OUTPUT DESIGN

3.1.1 INPUT DESIGN:

Input design is the link that ties the information system into the world of its

users. The input design involves determining the inputs, validating the data,
minimizing the data entry and provides a multi-user facility. Inaccurate inputs are the
most common cause of errors in data processing. Errors entered by the data
entry operators can be controlled by input design. The user-originated inputs are
converted to a computer based format in the input design. Input data are collected and
organized into groups of similar data. Once identified, the appropriate input media are
selected for processing. All the input data are validated and if any data violates any
conditions, the user is warned by a message. If the data satisfies all the
conditions, it is transferred to the appropriate tables in the database. In this project the
student details are to be entered at the time of registration. A page is designed for this
purpose which is user friendly and easy to use. The design is done such that users
get appropriate messages when exceptions occur.

3.1.2 OUTPUT DESIGN:

Computer output is the most important and direct source of information to the user.
Output design is a very important phase since the output needs to be in an efficient
manner. Efficient and intelligible output design improves the system relationship with the
user and helps in decision making. Allowing the user to view the sample screen is
important because the user is the ultimate judge of the quality of output. The output
module of this system is the selected notifications.

3.2 DATABASE

DATABASE DESIGN:

Databases are the storehouses of data used in the software systems. The data is stored
in tables inside the database. Several tables are created for the manipulation of
the data for the system. Two essential settings for a database are

- the field that is unique for all the record occurrences.

-the field used to set relation between tables.

Normalization is a technique to avoid redundancy in the tables.


3.3 SYSTEM TOOLS

The various system tools that have been used in developing both the front end and the
back end of the project are being discussed in this chapter.

3.3.1.FRONT END:

JSP, HTML, CSS, JAVA SCRIPTS are utilized to implement the frontend.

Java Server Pages (JSP)

Different pages in the applications are designed using jsp. A Java Server Pages
component is a type of Java servlet that is designed to fulfil the role of a user interface
for a Java web application. Web developers write JSPs as text files that combine HTML
or XHTML code, XML elements, and embedded JSP actions and commands. Using JSP,
one can collect input from users through web page.

HTML (Hyper Text Markup Language)

HTML is a syntax used to format a text document on the web.

CSS (Cascading Style Sheets)

CSS is a style sheet language used for describing the look and formatting of a
document written in a markup language.

Java Script

JS is a dynamic computer programming language. It is most commonly used as part of


web browsers, whose implementations allow client-side scripts to interact with the user,
control the browser, communicate asynchronously, and alter the document content
that is displayed.

3.3.2 BACK END


The back end is implemented using MySQL which is used to design the databases.

MySQL

MySQL is the world's second most widely used open-source relational database
management system (RDBMS). The SQL phrase stands for Structured Query
Language.

An application software called wamp was used to design the tables in MySQL.

3.4 TABLES
Admin

Fig 3.4.1 Admin Table


Complaints

Fig 3.4.2 complaint Details table

Fair

Fig 3.4.3 Fair Details Table


METRO CARD

Fig 3.4.4 Metro Card Table

RECHARGE _DETAILS

Fig 3.4.5 Recharge Details Table


Routes

Fig 3.4.7Route Table

Stations

Fig 3.4.9 Stations Table

Trains

Fig 3.4.10 Train Table


SCREEN SHOTS

Home:

Dashboard:
Train Route:

Fair Query:

Purchase Ticket:
About:

Contact us:

Admin Login:
Admin Dashboard:

Users:

Ticket:
Change Password:
Admin Logout:

Users Registration:
Users Login:

Users Dashboard:
CHAPTER 4

CONCLUSION

The project entitled Metro Rail Management Onlinewas completed successfully.

The system has been developed with much care and free of errors and at the same time
it is efficient and less time consuming. The purpose of this project was to develop a web
application for metro rail management .

This project helped us in gaining valuable information and practical knowledge on


several topics like designing web pages using html &css, usage of responsive
templates, designing of android applications, and management of database using mysql
. The entire system is secured. Also the project helped us understanding about the
development phases of a project and software development life cycle. We learned how
to test different features of a project.

This project has given us great satisfaction in having designed an application which
can be implemented to any nearby shops or branded shops selling various kinds of
products by simple modifications.

There is a scope for further development in our project to a great extend. A number of
features can be added to the system in future like watch me module, each admin having
separate permissions.
REFERENCES

[1] Cody Lindley ,JavaScript Enlightenment,First Edition, ECMA-262 ,2007

[2] Herbert Schildit, Java : The complete reference, 7th Edition,Mc GrawHills, 2004

[3]Jaison Falkner and Kevin Jones,Servlets and JavaServer Pages: The


J2EE Technology Web Tier,3rd Edition,2010;