Professional Documents
Culture Documents
SE Project E-Ticketing
SE Project E-Ticketing
E-TICKETING
AIM: To create an automated system to perform E-ticketing.
PROBLEM STATEMENT: Our project is carried out to develop software for online
Railway Reservation System. This system has various options like reservation, cancellation
and to view details about available seats. Our project mainly simulates the role of a Railway
ticket booking officer, in a computerized way. The reservation option enables a person to
reserve for a ticket at their home itself. All he/ she has to do is to just login and enter the
required details. After this the reservation database is updated with the person details, train
name and also the source and destination place. The cancellation option enables the
passenger to cancel the tickets that has been already booked by him/her. The availability
option prompts the person to enter train number, train name and date of travel. After this
the availability database is accessed and available positions are produced
1.1 PURPOSE
If the entire process of reservation is done in a manual manner then it would takes several
months for reservation to reach the applicant. Considering the fact that the number of
passenger is increasing every year, an Automated System becomes essential to meet the
demand. So this system uses several programming and database techniques to elucidate the
work involved in this process. As this is a matter of National Security, the system has been
carefully verified and validated in order to satisfy it.
1.2 SCOPE
• The System provides an online interface to the user where they can fill in their
personal details and submit the necessary documents (may be by scanning).
• The authority concerned with the issue of railway can use this system to reduce his
workload and process the application in a speedy manner.
• Provide a communication platform between the passenger and the administrator.
• Passenger will come to know their status of application and the date in which they
must subject themselves for manual document verification.
1
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
Product Functions
2.1 Administrators
Admin should be able to add or delete shows from the site.
Admin can reject the user if he/she does not accept terms and conditions.
2..2 Users
Account: Members are given a provision to check their account’s information and change it.
Availability: User can search presently available shows or upcoming shows in different theatres.
Booking: User can book required number of seats by selecting empty seats and then pay for
them.
Transaction: To book the seats they user must pay the total amount including taxes and other
charges through online transactions like net banking, or debit/credit cards, or through UPIs. A
transaction id is created and given to the user for future purposes.
Ticketing: A ticket is produced with seat numbers, time and place of show on it and also a QR
code.
Cancellation: User also may unbook the seats and get a 50% cashback excluding taxes.
2.4 Constraint
The major constraints that the project has are as follows:
The information of all users and shows must be stored in a database that is accessible by the
website.
The number of invalid pin entries attempted must not exceed five. After five unsuccessful login
attempts, the user can create a new password by clicking on ‘Forgot password’ and confirm the mail
sent to their respected e-mail id.
The transaction must be successful for the seats to be booked.
User can access the portal from any device which has good internet connection and internet
browsing capacities.
2
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
System Features
Registration: If customer wants to book some seats, then he/she must be registered,
unregistered user can’t book the seats.
Login: Customer logins to the system by entering valid email id and password for the seats to be
booked.
Search: The user can search their required shows and check for available seats at different
theatres.
Select: User is allowed to select required number of seats at liked places.
Payment: Payment is done through net banking or debit/credit cards or through UPI. The seats
will be booked and blocked only after a successful payment.
Receipt Generation: A unique transaction id is generated for future references.
Ticket Generation: A ticket is produced with seat numbers, time and place of show on it and also
a QR code.
Error handling: If any of the above validation/sequencing flow does not hold true, appropriate
error messages will be prompted to the user for doing the needful.
Non-functional Requirements
3
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
Consistency – All code will be consistent with respect to the style. (This is implied
when adhering to the standard).
Test cases – All functionality will be thoroughly tested
5.1 Reliability
The system provides storage of all databases on redundant computers with automatic
switchover.
The reliability of the overall program depends on the reliability of the separate/distinct
components. The main pillar of reliability of the system is the backup of the database which is
continuously maintained and updated/revised to reflect the most recent changes.
5.2 Availability
The system should be available at all times, the meaning user can access it using a web browser,
only restricted/ prohibited by the downtime/ rest of the server on which the system runs.
In case of a hardware failure or database corruption, a replacement page will be shown. Also, in
case of a hardware failure or database corruption/ fraud, backups of the database should be
retrieved/ obtained from the server and saved by the administrator. Then the service will be
restarted. It means 24×7 availability.
5.2.3 Security
The system uses SSL (secured socket layer) in all transactions that include any confidential
customer information.
The system must automatically log out all customers after a period of inactivity.
The system should not leave any cookies on the customer's computer containing the user's
password.
Sensitive data will be encrypted before being sent over insecure connections like the internet.
5.2.4 Maintainability
A commercial/saleable database is used for maintaining the database and the
application server takes care of the site. In case of a failure, a re-initialization of the
program will be done. Furthermore, the software design is being done with modularity
in mind so that Maintainability can be done efficiently.
The online ticket reservation system uses the following use cases:
4
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
ACTORS INVOLVED:
1) System
2) Passenger
5
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
The class diagram, also referred to as object modeling is the main static analysis
diagram. The main task of object modeling is to graphically show what each object will
do in the problem domain. The problem domain describes the structure and the
relationships among objects.
the online ticket reservation system makes use of the following classes:
1. ticketReservation
2. trainInfo
3. passengerInfo
4. seatAvailStatus
1. TICKETRESERVATION
It consists of twelve attributes and two operations. It records the details of every
ticket booked such as ticket number, passenger ID, source and destination station and etc.
2. TRAININFO
It stores the details of all the trains such as train number, train name, speed, source
and destination stations, etc.
3. PASSENGERINFO
It consists of seven attributes and three operations. This class is used to store
6
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
passenger details such as, passenger name, age, address and etc.
4. SEATAVAILSTATUS
This class is used to update the number of seats available for a particular train by
using updateStatus() operation.
(lll)SEQUENCE DIAGRAM
7
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
SEQUENCE DIAGRAM
8
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
COLLABRATION DIAGRAM
(v)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 can be used to describe the business and operational step-
by-step workflows of components in a system. An activity diagram shows the overall
flow of control. An activity is shown as an rounded box containing the name of the
operation.
9
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
• First state is login where the passenger login to the E-Ticketing system.
• The next state is filling details the passenger are used to fill the form.
• Then passenger used to selecting the flight.
• The passenger appears for book ticket and search details from E-Ticketing DataBase.
10
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
11
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
12
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
13
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
(vi)COMPONENT DIAGRAM
14
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
15
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
16
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
TEST CASES
17
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
Ticket Details
Start & Destination
details.
Ticket Details
Login
Start
Ticket Details
TC-5 Cancell Ticket Ticket must Login. passed
ation number be Start &
Form were cancelled Destination
entered and details.
database Details
must be
Uploaded
6.0 RISK MANAGEMENT
INTRODUCTION
Railways are regarded as an economic, efficient, environmentally friendly and very safe
mode of transport. Risk, in the railroad sector, can be defined as relating to accidents and
events that lead to injury to passengers and employees. For the national risk assessment
model, the definition of a generic railway system, technical specifications and operating
systems is very important and must be considered.
Risk management process
At the broadest level, risk management is a system of people, processes and technology that
enables an organization to establish objectives in line with values and risks.
A successful risk assessment program must meet legal, contractual, internal, social and
ethical goals, as well as monitor new technology-related regulations. By focusing attention on
risk and committing the necessary resources to control and mitigate risk, a business will
protect itself from uncertainty, reduce costs and increase the likelihood of business continuity
and success.
Three important steps of the risk management process are risk identification, risk analysis and
assessment, and risk mitigation and monitoring.
Types of Risks
18
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
The three main aspects of the concept of railway system safety risk are:
Identifying risks
Risk identification is the process of identifying and assessing threats to an organization, its
operations and its workforce. For example, risk identification may include assessing IT
security threats such as malware and ransomware, accidents, natural disasters and other
potentially harmful events that could disrupt business operations.
Risk mitigation refers to the process of planning and developing methods and options to
reduce threats to project objectives. A project team might implement risk mitigation
strategies to identify, monitor and evaluate risks and consequences inherent to completing a
specific project, such as new product creation. Risk mitigation also includes the actions put
into place to deal with issues and effects of those issues regarding a project.
Risk management is a nonstop process that adapts and changes over time. Repeating and
continually monitoring the processes can help assure maximum coverage of known and
unknown risks.
Safety Management System and Lifecycle Stages of the Railway Transport System
The main lifecycle stages of a Railway Transport System focusses on generic management issues.
There should be specific elements of any developed SMS that deal with aspects of each of the
following stages of the Railway Transport System lifecycle:
Pre-operation: Safety approval, system handover and acceptance are therefore crucial
interfaces between the developer and the duty-holder that need to be managed effectively
to ensure safety. The dutyholders need to assure themselves that the system development
has been undertaken in a manner that is consistent with the risk tolerability criteria set for
this overall Railway Transport System SMS framework.
19
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
Operation: The duty holder should have the necessary arrangements for identifying the
operating requirements of the equipment, subsystems and systems it controls. They should
include requirements and constraints for their normal and degraded modes of operation.
Maintenance: A duty holder should have adequate arrangements for implementing
planned and preventative maintenance (including, where appropriate, maintenance based
on monitoring of equipment condition) of its equipment, subsystems and systems.
Renewal: A duty-holder should have necessary arrangements for identifying and planning
renewal work which it has to undertake for regulatory or business reasons. For example, for
maintaining performance level a duty holder may need to carry out like for like replacement
for time-expired assets, or introduce new technology to improve performance.
RISK TABLE:
Risk Title Risk Description Risk measure Probability Impact
20
E-TICKETING(RAILWAY TICKET SYSTEM) MGIT
21