Date post: | 23-Nov-2014 |
Category: |
Documents |
Upload: | alpesh08b091 |
View: | 145 times |
Download: | 13 times |
System Analysis And Desgin
Online Railway Reservation System
Created By :
Name : Alpesh Prajapati Roll No : 085Sem : VID No : 08b091
Submitted To:
Prof.Chintan Kanadia
Definition
Definition
Develop a Online Railway Reservation System, Considering BookingI-Ticket and e-Ticket, Canceling Reservation, Checking PNR Status, Train Details, Booking History..
Booking I- Ticket OR e-Ticket(Reservation) :
For Booking Ticket, take the Destination, source, date of journey, Train No, Train Name, with class that Passenger wants. According to Date of journey check journey date is after the 15 days from Today, if its true then according to Train No/Name with class check Reservation of that day is possible for Passenger/Passengers that is given by user, if yes then generate PNR No for Passenger and allow user to enter Passengers Name, Age, Gender, Senior citizen or not. If any passenger is Senior Citizen then give 5 % discount, and generate Payment slip, And Ticket. For Payment Provide 2 options a) Through net Banking b) Through Credit Card.
Checking PNR Status :
For checking PNR Status, take the PNR No from the user. Check PNR Nois valid or not. If Not valid then give appropriate message to user else give details of that PNR No like Passengers Name, Ticket No, Seat No, Quota to the user.
Canceling Reservation OR Booking :
For Canceling Reservation OR Booking, it’s necessary that before 10days from journey date passenger can cancel ticket. For Cancel Ticket take the PNR No from the User/Passenger, check PNR No is valid or not. If not valid then display appropriate message to user else display the details of that PNR No and ask sure user want to cancel ticket if yes then cancel the reservation of that PNR No.
Checking Train Details :
For Checking Train Details take the Train No or Train Name Form the user, and check it is valid or not. If Not then display appropriate message to user elsedisplay the Train No, Train Name, Source, Destination, Arrival Time, and Departual Time to the user.
Use-Case Diagram
User
Admin
Reservation
PNR Status
Train Details
Update PNR StatusReserve The ticket
Update Train Details
Cancel Resrvation
Create User
Flow-Chart
No
No
NoNo
No
No
No
No
Context-Level DFD
Context Diagram(0-Level)
BOOKINGCENTREPASSENGER
Terms and conditions/
ProcedurePassenger Details (sign up)
SCHEDULE FARES
Ticket Details
Ticket Confirmation
Cancellation/Change
Cancel/Change Confirmation
Passenger/seat details
Birth/Ticket Info.
Ticket confirmation
Schedule/Discounts Info
Booking Information
Passenger personal Info.
Schedule/Train Info.
Seats available Class/Birth Schedule
Passengers/Ticket Info
Fare/Discounts Details
Ticket Details
Amount
Book Ticket
Paid Details
ONLINE RAILWAY
RESERVATION
First-Level DFD
SIGN UP
IndividualRegistration
SIGN IN
Validates
Passenger Account Database
Reservation Database
Cancellation Database
Passenger
ChangePassword
0.6Update Profile
0.7 Reservation0.1
Cancellation0.2
Booked History0.3
Find Train0.4
RegistrationMenu
Cancelled TicketHistory0.5
Account Profile
Second-Level DFD
Details Required:ToFromDateQuotaClassTatkal(YES/NO)
Passenger
Class
Have to select one
Valid Destination0.4.3
Find Train0.4.1 Check Date
0.4.6
Check Quota
Check Tatkal0.4.5
General
First Class
List Trains0.4.4
Only valid for some trains
Should be after 15 days
Valid source0.4.2
Tatkal
Class
Senior Citizen
Quota
Distance
Lists of Trains
Select Train
Passenger Account Database
Status Report
Distance
Route
Display
Birth preferenceAge
Payment Options
Reservation Database
Reservation0.1.1
Get Fare0.1.2
Show Availability0.1.3Show Route
0.1.4
Third-Level DFD
Password
Passenger
CancellationDatabase
PNR numberValid
YES
NO
Displays details
Displays Error
Booked History0.3
Password
CancellationDatabase
Booked History
Displays Error
Invalid
Valid
Processed
Passenger
Cancellation0.5.1
Decision-Table
1). Limited Decision Table
Title : User rights and discount condition System : Railway Reservation SystemDate : 20/10/2010 Comment : -Author :Account Exist? Y Y Y Y Y N N N N NNet Banking/ Credit card
Y Y Y N Y Y Y Y Y N
Senior citizen Y Y N Y N Y N Y Y NBefore 15 Days Y N Y Y N Y N N Y N
5% Discount XNo Discount XReservation X XNo Reservation X X X X X X X X
2). Mixed Decision Table
Title : User rights and discount condition System : Railway Reservation SystemDate : 20/10/2010 Comment : -Author :Account Exist?
Having A/c
Having A/c
Having A/c
Having A/c
Having A/c
Not Having A/c
Not Having A/c
Not Having A/c
Not Having A/c
Not Having A/c
Net Banking/ Credit card
Having Having Having Having NotHaving
Having Having Having Having NotHaving
Senior citizen Senior N N Senior N Senior N Senior Senior NBefore 15 Days
Before After Before Before After Before After After Before After
5% Discount XNo Discount XReservation X XNo Reservation
X X X X X X X X
3). Extended Decision Table
Title : User rights and discount condition System : Railway Reservation SystemDate : 20/10/2010 Comment : -Author :Account Exist?
Having A/c
Having A/c
Having A/c
Having A/c
Having A/c
Not Having A/c
Not Having A/c
Not Having A/c
Not Having A/c
Not Having A/c
Net Banking/ Credit card
Having Having Having Having NotHaving
Having Having Having Having NotHaving
Senior citizen
Senior N N Senior N Senior N Senior Senior N
Before 15 Days
Before After Before Before After Before After After Before After
Reservation And Discount
5 % Discount
No Discount
No Reservation
No Reservation
No Reservation
No Reservation
No Reservation
No Reservation
No Reservation
No Reservation
Decision-Tree
- Take Details of Customer- Check waiting seat- Before 15 Days- Senior citizen- Reserve seats and generate ticket- Generate PNR No
Login
Admin
Create - Take User Details- Give User Name
Password
PNR status, Reserve the Ticket
- Take PNR No- Confirm seat No
Update Train
- Add New Train Details- Update Train Details- Remove Train
UserReservation
Cancel
- Take PNR No- Before 10 Days- Delete Customer Details- Make Reserved Seats available
PNR Status
- Enter PNR No- Show Confirmation
Train Details
- Enter Train No- Display Schedule
Data-Dictionary
Data StructureName
Data ElementName
Data Type
Size in termsOf Bytes
Optional(Y/N)
Description
Login Table User IDPasswordQuestionAnswer
VarcharVarcharVarcharVarchar
20151520
NNNN
----
Passenger_Details PNR NoPIDPNameGenderAgeSeat NoTicket No
VarcharVarcharVarcharcharNumberNumberNumber
1010202255
NNNNNNN
-Passenger IDPassenger Name---
Passenger_Personal_Details PNR NoNameAddressCityPin codeState
VarcharVarcharVarcharVarcharNumberVarchar
10205020610
NNNNNN
------
Reservation_Details NamePNR NoTrain NoTrain NameJTypeJDateFromToSeat
VarcharVarcharVarcharVarcharVarcharDate/TimeVarcharVarcharNumber
2010101010-20205
NNNNNNNNN
----Journey TypeJourney Date---
Reservation_Fare_Details PNR NoFare
VarcharCurrency
1010
NN
--
Train_Details Train NoTrain NameTrain TypeFromToDTimeATimeSeat
VarcharVarcharVarcharVarcharVarcharDate/TimeDate/TimeNumber
101051010--5
NNNNNNNN
-----
-
Train_Fare Train NoKMFirstClassSeatingSleeperACFAC
VarcharNumberNumberNumberNumberNumberNumber
10101010101010
NNNNNNN
-------