Distributed airline reservation system

Post on 14-Feb-2017

51 views 11 download

Transcript of Distributed airline reservation system

05/01/2023 Group 14

1

Distributed Airline Reservation System

KARTHIK SIDDALINGAPPANAGTHEJ MANANGIPRAMOD PRAKASH

05/01/2023 Group 14

2Overview of our Presentation

Design of our project The Project Implementation The Customer Part Database Customer Demo System Admin Commercial Airliner Hurdles Enhancements Learnings

05/01/2023 Group 14

3Design

TCP Concurrent Server Multithreaded Server 3 layers Distributed System Mutex / Semaphore Database : Backups and Restore File system – Display page: with forwards and backwards

traversing C programming BSD sockets

05/01/2023 Group 14

4ImplementationDistributed

Airline Reservation

System

Customer System Admin

Commercial Airliner

Client

Server Database

05/01/2023 Group 14

5Control Flow Diagram

05/01/2023 Group 14

6The Customer

The Distributed Systems Main

Page

Customer Login (New and

existing Users with

Authentication)

Customer Main Page

05/01/2023 Group 14

7Customer contd.

Cust

omer

Op

tions

Book Flights

Cancel Booking

Book Hotels

Book your rides

Update user Info

Contact us

05/01/2023 Group 14

8The Flow Chart

Client is constantly reading the command line and writing it to the server

Server will process the information depending the input given

Dynamic data processing

Database

Customer?

Existing Customer? New Customer?

•Book Flights•Cancel Flights•Book Hotels•Book Cabs•Update personal Info•Contact us

Process the Selected option

Stop

Start

05/01/2023 Group 14

9Customer (Demo)

05/01/2023 Group 14

10Database

DatabaseSqlite 3

Flights Database

Customer Database

Airliner Database

05/01/2023 Group 14

11Customer Database

Customer information Add new Customer Update customer information

05/01/2023 Group 14

12Customer Database (Demo)

05/01/2023 Group 14

13The System Admin

The sysadmin handles both the flights and the airliner data to meet efficient services

Adding, removing, or updating flights/airliner

adding, deleting and backup the database.

05/01/2023 Group 14

14Block Diagram:The

Distributed Systems Main

Page

Administrator Login and

Authentication

Administrator Main Page

05/01/2023 Group 14

15

Adm

in O

ptio

ns

Flight databaseAirliner

databasedatabase backup

Flig

ht d

atab

ase

opt

ions

Create flight database

Add flights

Update flights

Delete flights

Display flights

Airli

ner

data

base

opt

ions

Create Airliner database

Add Airliner

Delete Airliner

Display Airliner

05/01/2023 Group 14

16System Admin (Demo)

05/01/2023 Group 14

17Multithreading (Demo)

05/01/2023 Group 14

18Semaphore (Demo)

05/01/2023 Group 14

19The Commercial Airliner

Acts as a flight customer service agents.

Notifies System admin if there are any changes in Flight details.

Has the authority to add flights, Update, delete and display flight details.

Provides information about Seat availability, Baggage information and on-board facilities.

05/01/2023 Group 14

20Flow Chart:USER

AUTHENTICATION

SERVICE OPTIONS FOR AIRLINER

1. ADD FLIGHTS2. UPDATE FLIGHTS 3. DELETE FLIGHTS4. DISPLAY FLIGHT

DETAILS

AUTHENTICATED?

YES

NO

05/01/2023 Group 14

21Airliner implementation:

Database handling is done using SQLite 3.

Database includes Itinerary comprising the flight number, Seat availability, Travel class, Baggage info, and on-board facilities.

Provides the database to sysadmin and notifies if there is any update in flight details.

05/01/2023 Group 14

22Airliner Demo

05/01/2023 Group 14

23Hurdles:

Figuring out the “\n" terminated string, had to be read correctly. “The While problem” Moving on from File based implementation: “The Database” “Backward Traversing” Databases + BSD socket program : “The Merge” “Bringing it all together”

05/01/2023 Group 14

24Enhancements planned:

IPV6 Encryption Winsock State information

05/01/2023 Group 14

25We learnt! • Learnt programming using BSD sockets.BSD Sockets

• Concept of threading.• Memory and resources sharing.Multithreading

• Communication between them.• Design and implementation.Client-Server

• Implementing a client-server at an enterprise level, takes a lot of planning and design, this project gave us an overview as to how a client server model can be implemented at an enterprise level.Implementation

• Learnt about the behaviour of the model at different hierarchyMutex/Semaphore

• Learnt about the difference between different calls in IPV4 and IPV6IPV4 vs IPV6

• Got to learn about creating and passing queries to the database using SQL.Database

• The most important task of all is to work as a team effectively, we managed to emerge as a better team.Team Work

05/01/2023 Group 14

26Thank You!

Questions?