Online Bus Ticket Reservation System
Online Bus Ticket Reservation System
By
8208E21CSR062-KISHORE KUMAR.R
8208E21CSR032-GUNAL.M
8208E21CSR034-GURUTHECHANMOORTHI. G
of
For
BACHELOR OF ENGINEERING
IN
NAGAPATTINAM
E.G.S. PILLAY ENGINEERING COLLEGE(Autonomous),
NAGAPATTINAM
BONAFIDE CERTIFICATE
We thank GOD, the almighty for end owing his immense blessing that helped us
in each step of our progress towards the successful completion four mini project II.
We wish to express heartfelt thanks to our college Founder (late) CHEV. Dr. G. S.
PILLAY, chairman Mrs. JOTHIMANI G. S. PILLAY, Secretary Shri.S.
SENTHIL KUMAR, Joint Secretary Shri. S. SANKARGANESH, Advisor
CHEV. Dr.S.PARAMESWARAN, Principal Dr.S.RAMABALAN,M.E.,Ph.D..,
Head of the Department of Computer Science and Engineering
Dr.T.GANESAN,M.E.,Ph.D., our Course Coordinators who had always stood as
a moral support and guided me tirelessly with their valuable ideas along with
constant encouragement, throughout the period of study and encouraged me to
shine as a good technologist.
I also thank other Staff Members and Technical Staff Members in our
department for their constant support throughout my project work and encouraged
me to complete this project successfully.
Finally, with a deep feeling of intentness, I thank my parents and friends
who have encouraged me with good spirit by the incessant prayers to complete this
project.
TABLE OF CONTENTS
i BONAFIEDCERTIFICATE
ii ACKNOWLEDGEMENT
1 ABSTRACT
2 INTRODUCTION
3 OVERALLDESCRIPTION
4 SYSTEM CONFIGURATION
The system is a web – based application that allows visitors to check bus
availability, buy and pay bus ticket online. In this paper, the proposed bus
reservation system was developed using Extensible Hypertext Markup Language
(XHTML), PHP Hypertext Preprocessor (PHP), Structure Query Language (SQL),
Ajax, Cascading Style Sheet (CSS), and JavaScript.
OBJECTIVEOFTHEPROJECT
Bus Ticket Reservation System enables the customer to buy bus ticket, make
payment, and ask for information online easily. Furthermore, staff can sell bus
ticket using Bus Ticket Reservation System after check bus ticket availability for
the customer and print the bus ticket to the customer that queue up in the counter.
The method to solve this problem is to create an online buying bus ticket system.
Customer can buy the bus ticket over the Internet, 24 hours a day, 7 days a week
and the bus ticket can't be lost, stolen or left behind. In addition, the online system
lets the customers check the availability of the bus ticket before they buy bus ticket
(Wee, 2007). Furthermore, customers no need to pay cash to buy bus ticket
because they can pay the bus ticket by using deposit slip number order by bank.
OVERVIEW
Problem Statement:
The system that is used by the staff at the counter currently is an internal
system and just used to sell bus tickets at the counter. The customer has gone to the
counter to buy the ticket or ask for the bus schedule. Furthermore, customers need
to pay cash when they buy bus tickets and sometimes, need to queue up for a long
time to get the bus ticket. Besides that, customers are also not allowed to buy the
bus tickets through telephone and the bus company’s telephone always busy line.
Solution:
The method to solve this problem to create an online booking bus ticket
system. Customer can buy the book ticket over the internet system, 24 hours a day,
7 days a week and the bus ticket can’t be lost, stolen or behind.
In additionally, the online system lets the customer check the availability
of the bus ticket before they buy bus ticket. Furthermore, customers no need to pay
the bus ticket on the travelling time.
Scope:
Performance:
Accuracy
User friendly
Efficiency
Availability
Reliable
Durable
SYSTEM CONFIGURATION
HARDWARE CONFIGURATION:
SOFTWARE CONFIGURATION:
For
2. Overall Description
2.1 Product Perspective
Registration:
The system will be used in the Travel agency. The administrators, front-desk
staff and passengers will be the main users. Given the condition that not all the
users are computer-literate. The system is also designed to be user-friendly. It uses
a Graphical User Interface (GUI).
Table 3: different user classes and their characteristics
S.no USER CHARACTERISTICS DESCRIPTION
1. Admin ID Admin also manages and
Name maintains and the passengers
Login Id record and database. Every
Email Id administrator has basic
Address computer training.
Contact no
Gender
All bus and passenger records must be protected for all steps.
In the future, it is possible that the software design will have to incorporate
changes that could take place in other Travel agencies in the same domain.
The bus and passengers record of all Travel agencies in domain should
have the same standard of data format and security of data when
transferring between the agencies is also needed.
Changes or additions to payment methods can affect the system directly.
The system must be user-friendly.
3. Specific Requirements
3.1 External Interface Requirements
3.1.1 User Interfaces
The user interface for the software shall be compatible with the user which can
access the system. The user interface shall be implemented using any tool or
software package like servlet,asp,jsp etc.
Registration:
Reserve Ticket:
o Sign In: The passenger first needs to sign in to the system with
the username and password he/she has provided with. The system
needs to check for validation of that username and password and
then only allow his/her to access the system.
o Check Availability: The passenger must be allowed to see all
available options for the journey. And see if the seat is available
or not.
o Reserve Ticket: Then if the ticket is available then the seat should be
booked
with the PIN of that passenger only and it should not be granted
to another passenger again till it gets free.
Maintain History:
. Report Generation:
o Bus Information: The BRS shall generate reports on bus about the
following information: Bus Number, daily root, driver name,
cleaner name, conductor name, no. of passengers can travel, type
of bus: Normal or AC list of passengers who have booked their sits
in bus and technical issues occurred in bus also.
o Sit Availability: The BRS shall generate reports on seats
availability about the following information: bus number, sit
number, occupied/unoccupied.
Database:
o Passenger related Information: Each passenger shall have the
following mandatory information: first name, last name, phone
number, passenger identification number, address, postal code,
city, country, username and password.
o Bus related Information: Each bus should have the following
information: bus number, number of seats, bus type: normal or AC,
driver, engine details.
o Update Passenger Information: The BRS shall allow the
Administrator to update any of the bus information.
This is the Activity UML diagram of Bus Booking System which shows the
flows between the activity of Customer, Ticket, Route, Booking, Bus. The main
activity involved in this UML Activity Diagram of Bus Booking System are as
follows:
Customer Activity
Ticket Activity
Route Activity
Booking Activity
Bus Activity
Login Activity Diagram Of Bus Booking System:
This is the Login Activity Diagram of Bus Booking System, which shows
the flows of Login Activity, where admin will be able to login using their
username and password. After login user can manage all the operations on Route,
Customer, Ticket, Bus, Booking. All the pages such as Ticket, Bus, Booking are
secure and user can access these page after login. The diagram below helps
demonstrate how the login page works in a Bus Booking System. The various
objects in the Bus, Route, Customer, Ticket, and Booking page—interact over the
course of the Activity, and user will not be able to access this page without
verifying their identity.
DATA FLOW DIAGRAM (DFD)
A DFD is a process oriented graphical representation of an application
system. A DFD “ is a picture of the movement of external entities and the
processes and the data stores within a system. The components of a typical data
flow diagram are:
Process
Data flow
Data store
Terminator
Bus Booking System Class Diagram
Bus Booking System Class Diagram describes the structure of a Bus Booking
System classes, their attributes, operations (or methods), and the relationships
among objects. The main classes of the Bus Booking System are Bus, Booking,
Customer, Sales, Ticket Booking, Operators.Classes of Bus Booking System Class
Diagram:
Bus Class : Manage all the operations of Bus
Booking Class : Manage all the operations of Booking
Customer Class : Manage all the operations of Customer
Sales Class : Manage all the operations of Sales
Ticket Booking Class : Manage all the operations of Ticket Booking
Operators Class : Manage all the operations of Operators
Bus Booking System Component Diagram
Customer Component
Route Component
Booking Component
Ticket Component
Bus Component
Bus Booking System ER Diagram
This is the UML sequence diagram of Bus Booking System which shows the
interaction between the objects of Booking, Ticket, Customer, Bus, Route. The
instance of class objects involved in this UML Sequence Diagram of Bus Booking
System are as follows:
Booking Object
Ticket Object
Customer Object
Bus Object
Route Object
Login Sequence Diagram Of Bus Booking System:
4 Other Non-functional Requirements
Maintainability:
Back Up: The system shall provide the capability to back-up the Data
Errors: The system shall keep a log of all the errors.
Reliability:
Availability: The system shall be available all the time
5.2TESTING
Testing is a process of executing a program with the interest of finding an error. A
good
test is one that has high probability of finding the yet undiscovered error. Testing
should
systematically uncover different classes of errors in a minimum amount of time
with a
minimum amount of efforts. Two classes of inputs are provided to test the process
E-Ticketing 54
1. A software configuration that includes a software requirement specification, a
design
specification and source code.
2. A software configuration that includes a test plan and procedure, any testing tool
and
test cases and their expected results.
Testing is divided into several distinct operations:
1. Unit Testing
Unit test comprises of a set tests performed by an individual program prior to the
integration of the unit into large system. A program unit is usually the smallest free
functioning part of the whole system. Module unit testing should be as exhaustive
as
possible to ensure that each representation handled by each module has been
tested. All
the units that makeup the system must be tested independently to ensure that they
work
as required.
During unit testing some errors were raised and all of them were rectified and
handled well. The result was quiet satisfactory and it worked well.
2. Integration Testing
Integration testing is a system technique for constructing the program structure
while at the same time conducting tests to uncover errors associated with
interfacing.
The objective is to take unit tested modules and build a program structure that has
been
dictated by design. Bottom-up integration is the traditional strategy used to
integrate the
components of a software system into functioning whole. Bottom-up integration
consists
of unit test followed by testing of the entire system. A sub-system consists of
several
modules that communicated with another defined interface.
The system was done the integration testing. All the modules were tested for
their compatibility with other modules. They test was almost successful. All the
modules coexisted very well, with almost no bugs. All the modules were
encapsulated
very well so as to not hamper the execution of other modules.
3. Validation Testing
After validation testing, software is completely assembled as a package,
interfacing errors that have been uncovered and corrected and the final series of
software test; the validation test begins. Steps taken during software design and
testing
can greatly improve the probability of successful integration in the larger system.
System testing is actually a series of different tests whose primary purpose is to
fully
exercise the computer –based system.
4. Recovery Testing
It is a system that forces the software to fail in a variety of ways and verifies that
the recovery is properly performed.
5. Security Testing
It attempts to verify that protection mechanisms built into a system will in fact
protect it from improper penetration. The system’s security must of course be
tested
from vulnerability from frontal attack.
6. Stress Testing
Stress tools are designed to confront programs with abnormal situations. Stress
testing executes a system in a manner that demands resources in abnormal quantity
and
volume.
The mentioned testing is carried out successfully for this application according
to the user’s requirement specification.
8. Test Data Output
After preparing test data, the system under study is tested using the test data.
While testing the system using test data, errors are again uncovered and corrected
by
using above testing and corrections are also noted for future use.
This SRS document is used to give details regarding. Online Bus Ticket
Reservation System. In this all the functional and non-functional
requirements are specified in order to get a clear-cut idea to develop a project.
CONCLUSION:
The OBTRS is provides online reservation of bus availability, no.of. Seats
available, source, route, destination place, amount ,etc..,. And it is user
friendly ,accurate and no hidden cost in fares.
RESULT:
Thus, the main project 1 to develop software prototype for Online bus
ticket reservation System is done successfully with software requirement
specification document.