Docsity

Airlines Reservation System, Thesis of Information Systems

Toggle sidebar
bg1
SWIFT AIRLINES
1. Overview
1.1 Purpose
The purpose of this document is to describe the requirements that are necessary for developing the Airline
Reservation System. It also helps to gather and analyze the new ideas incorporated to the existing reservation
system. The intended audience is any person who wants to view, book or cancel air tickets.
1.2 Scope
The system provides an online interface where users can search for specific flights from any source to destination.
The user can view flight timings, book and cancel tickets. There are several features offered in this system that
sets it apart from the many existing systems, such as allowing booking till the last minute as emergency services.
1.3 Objective
General Objective:
The main goal of the proposed system is to make the process of airline reservation online.
Specific Objectives:
To create a system that makes booking and cancelling easy and user friendly.
Make the entire process of itinerary decisions On-The-Go.
To provide the customer more options like last minute emergency booking, low-cost chartered flights etc.
Reduce the work load of ticket officers and counters.
To enable bulk amount of booking and cancellations in a very short time.
Instant refund of payments
1.4 Requirements
1.4.1 Business Requirements
Investment, to host and advertise the application
A technical and managerial team, to maintain the system and update it on a consistent basis
1.4.2 System Requirements
PHP 5.3+, HTML5, Twitter Bootstrap v3, jQuery 1.7, MySQL DB
Windows/Fedora operating system
Server Bandwidth : 100TB, Space: unlimited
Database space: Unlimited
1.4.3 Functional Requirements
The functional requirements of the system are divided among the Customers and Administrator of the
application. It can be explained in detail:
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18

Partial preview of the text

Download Airlines Reservation System and more Thesis Information Systems in PDF only on Docsity!

SWIFT AIRLINES

1. Overview

1.1 Purpose

The purpose of this document is to describe the requirements that are necessary for developing the Airline

Reservation System. It also helps to gather and analyze the new ideas incorporated to the existing reservation

system. The intended audience is any person who wants to view, book or cancel air tickets.

1.2 Scope

The system provides an online interface where users can search for specific flights from any source to destination.

The user can view flight timings, book and cancel tickets. There are several features offered in this system that

sets it apart from the many existing systems, such as allowing booking till the last minute as emergency services.

1.3 Objective

General Objective:

The main goal of the proposed system is to make the process of airline reservation online.

Specific Objectives:

 To create a system that makes booking and cancelling easy and user friendly.

 Make the entire process of itinerary decisions On-The-Go.

 To provide the customer more options like last minute emergency booking, low-cost chartered flights etc.

 Reduce the work load of ticket officers and counters.

 To enable bulk amount of booking and cancellations in a very short time.

 Instant refund of payments

1.4 Requirements

1.4.1 Business Requirements

 Investment, to host and advertise the application

 A technical and managerial team, to maintain the system and update it on a consistent basis

1.4.2 System Requirements

 PHP 5.3+, HTML5, Twitter Bootstrap v3, jQuery 1.7, MySQL DB

 Windows/Fedora operating system

 Server Bandwidth : 100TB, Space: unlimited

 Database space: Unlimited

1.4.3 Functional Requirements

The functional requirements of the system are divided among the Customers and Administrator of the

application. It can be explained in detail:

1.4.3.1 Use case name: User Registration

 Description: This use case describes the scenario where the customer should provide all their details

in order to create an account for themselves to use for login purposes.

 Actor: User or the customer

 Input: Personal details such as Name, Address, Phone Number and Email ID etc.

 Output: All the details will be saved into a database and can be used to fill in the appropriate fields

at the time of booking.

Use Case: Fig 1.

1.4.3.2 Use case name: User Login/Logout

 Description: This use case describes the scenario where the customer logs into their account by

entering the username and password provided at the time of registration.

 Actor: User or the customer

 Input: Username, password and/or any other form of verification (eg: captcha). Click the logout

button.

 Output: The entered fields will be matched with the data from the database. If the case and content

match, the user is logged into their profile or asked to re-enter the details. The user will be logged

out of their account as and when they wish. This prevents their personal information from being

shared with subsequent users.

Use Case: Fig 1.

1.4.3.3 Use case name: Book Flights

 Description: This use case describes the scenario where the customer searches for flights and goes

ahead with booking.

 Actor: User or the customer

 Input: Source, Destination names or flight codes, Date of travel, number of passengers and class.

Use Case: Fig 1.

1.4.3.6 Use case name: Payment Mode

 Description: This use case describes the scenario where the customer is required to pay for the

booking(s) made.

 Actor: User or the customer

 Input: Credit Card details, each time, for non-account holders, email ID, phone number, security

pin/questions

 Output: Confirmation of booking if all the bank details get verified OK. Error in payment if they do

not match.

Use Case: Fig 1.

1.4.3.7 Administrator Activities:

 Add/Modify Flight Information: The Administrator has the sole rights to add, delete or modify the

flight information. Sometimes, flights get delayed or cancelled. The details of such flights need to be

removed/ modified. The changes must also be reflected in the databases.

 Cancellation of Reservations: The administrator has a duty to approve the cancellation of reservations

made. Send an acknowledgement of the cancellation and approve for the reversal of the amount

previously paid.

 E-mail confirmations: Whenever a customer makes or cancels a reservation, the administrator is

responsible for sending confirmation e-mails to the customer, confirming the booking with details.

1.4.4 Non-Functional Requirements:

1.4.4.1 Performance Requirements:

 The system is not run from a single server as that will not be able handle the load when the site visits go

beyond a threshold limit. Too many page visits may slow down page navigations and also payment

authorization, eventually leading to a server crash. To handle bulk amount of traffic, multiple servers are

to be set up. This will ensure smooth functionality of the booking system.

 The beta version of application is run on localhost hence the response time depends on the RAM speed of

the processor being used

1.4.4.2 Security Requirements:

 Users are required to login with their user ID and password to book/cancel flight details and modify

personal details

 The system permits only authorized members to do administrative tasks.

 The system allows users to view only their information and no other users’.

 This system is SQL Injection proof and safe from XSS attack.

2 Literature Survey: 2.1 Existing Systems: The existing online airline booking systems come with many banners of advertisements and pop-ups on the sides of the website that it hinders with the entire booking process. It is known that a booking is not finalized till the transaction of payment is authorized and confirmed. Such have been instances where the user books their ticket provisionally but fails to go through with the transaction. Such tickets are not booked however the reversal of their bookings is not reflected instantly instead take an average of 20 minutes. Existing system allows only those bookings that are confirmed 5 hours before the departure of the flight. These happenings invite many customer care calls towards the company. To attend these queries, man hours are put on the line. Many systems crash during the peak hour of their local time. The servers are not enough to handle the load then. Too many users make the page navigations slow, hindering the overall number of bookings that go through till the end. 2.2 Proposed System:

 The proposed system towards online airline reservation is faster. Unlike many existing systems, there are

multiple servers installed to run the website. This reduces almost all possibilities for a website to hang as a

result of server crash.

 When transactions do not get authorized, the reversals of the reservations appear on the system without much

delay so that they are open for the next user. Such a feature is helpful when multiple users do bulk booking.

 For travel security reasons, the bookings are expected to be done a few hours prior to the flight departure. This

system allows last minute booking for emergencies, if the flight is not fully booked, as long as it does not

challenge the airlines’ security.

Overall, the proposed system is robust as it caters to all the needs of present day users expect from an online

booking.

3. Implementation 3.1 Coding 3.1.1 Index.php

Flights from '.$from.' to '.$to.''; $query = "SELECT * FROM `flight_search` WHERE `from_city`= '$from' AND `to_city` = '$to' AND `departure_date` = '$departdate'"; $result = mysql_query($query); if($result) { if(mysql_num_rows($result) > 0) { while($row = mysql_fetch_assoc($result)) { ?>
Flights from '.$from.' to '.$to.''; $query1 = "SELECT * FROM `flight_search` WHERE `from_city`= '$from' AND `to_city` = '$to' AND `departure_date` = '$departdate'";} ?>

3.1.2 Book.php

Your flight from '.$row1['from_city'].' to '. $row1['to_city'].''; echo 'Flight Number: '.$row1['fno'].'
'; if($class==='Economy') { if(($counta+$countc)<=$row1['e_seats_left']) { echo 'Departure Time: '.$row1['departure_time'].'
'; echo 'Arrival Time: '.$row1['departure_time'].'
'; echo 'Number of Adults: '.$counta.'
'; echo 'Number of Children: '.$countc.'

'; $eat1 = $counta * $row1['e_price']; echo 'Cost of '.$counta.' adult(s): '.$counta.' * Rs. '. $row1['e_price'].' = Rs. '.$eat1.'
'; $ect1 = ($countc * $row1['e_price']) * 0.75; echo 'Cost of '.$countc.' child: 75% of '.$countc.' * Rs. '. $row1['e_price'].' = Rs. '.$ect1.'
'; $etax1 = 500; echo 'Service Tax: Rs. '.$etax1.'

'; $etot1 = $eat1 + $ect1 + $etax1; echo 'Cost of one trip is Rs. '. $etot1.'
'; } else { echo 'Not enough available seats. Sorry, please check some other flight!'; header("refresh:10; url=index.php"); }

3.1.4 Card.php

3.1.5 Confirm.php

0) { while($row10 = mysql_fetch_assoc($r10)) { $balance = $row10['c_balance']; if($balance>=$etotr) { $deduct = $balance - $etotr; mysql_query("UPDATE `card_details` SET `c_balance`='$deduct' WHERE `c_cvv`='$cvvnum' AND `c_cnum`='$cardnum'"); $q11 = "SELECT `e_seats_left` FROM `flight_search` WHERE `fno`='$to'";

3.2 Screenshots

Fig 3.

Fig 3.

4. Design and Structure 4.1 Data Flow Diagram

Fig 4.

4.2 Database Structures 4.2.1 flight_search Column Type Null Default id int(11) No fno varchar(10) No from_city varchar(20) No to_city varchar(20) No departure_date varchar(20) No arrival_date varchar(20) No departure_time varchar(20) No arrival_time varchar(20) No e_seats_left int(3) No 20 b_seats_left int(3) No 10 e_price int(5) No b_price int(5) No

Table 4.

4.2.2 flight_users Column Type Null Default f_id int(11) No f_fname varchar(20) No f_lname varchar(20) No f_sex varchar(10) No f_uname varchar(32) No f_password varchar(32) No f_mailid varchar(100) No f_mailcode varchar(100) No f_active int(11) No f_regdate datetime No f_passrec int(11) No f_address varchar(500) No f_phone varchar(10) No

Tbale 4.

b_status varchar(10) No b_pnr varchar(20) No b_card varchar(16) No

Table 4.

4.3 Entity – Relationship Diagram

Fig 4.

5. External Interfaces The different interfaces we would come across while developing the Airline Reservation System are:  User Interface  Hardware Interface  Software Interface 5.1 User Interface

Fig 5.