SlideShare uma empresa Scribd logo
1 de 14
Online Airline Reservation System
--Detailed design
Pingping Ma
Oct 19, 2006
Overview
Database

design
Activity diagram
Class interface
Fault tolerant issues
Database design
 There

are mainly 5 entities involved:

 Flight

info.
 Customer info
 Reservation
 Purchase
 Creditcard info.
 Please

slides

see the entity diagram in the next
Database design diagram
Activity Diagram
Major class interface
 Authenticate
 Search
 CreditCard
 FlightInfo
 ReservationInfo
Authenticate Interface
 Variable

username, password, email
 Boolean Authenticate (String username, String
password);



This method checks if the user name and password input is a
valid input.
If true, it will return true; otherwise, return false.

 Boolean

Register (String username, String
password, String email)



This method is used to register a new user.
If the register is successful, return true; otherwise, return false.

 Boolean IsAlive (String username)
 This method checks to see if the user is still active when it
doesn’t reponse in a certain amount of time.
Flight Interface
A

class about the flight information with
the following variables
 FlightId
 From_City
 To_City
 Dept_Time
 Arr_Time
 Num_Of_Seats
 Price
Search Interface
 This

class has only one method Search. Maybe
can be combined with the Flight class.
 Flight Search_oneway (String from_city, String
to_city, Date dept_time, Date arr_time, int
num_of_Seat)
 Flight Search_round (String from_city, String
to_city, Date dept_time, Date return_time, int
num_of_Seat)
 Given the search criteria, searches the database
looking for flights that match the criteria.
Creditcard Interface



A class about the credit card information
Variables








User_id
Card_number
Type
Year
Month

Methods






Boolean IsValid()
String GetNumber()
String GetType()
Number GetYear()
Number GetMonth()
Reservation Info
A

class about the reservation information.
 Variables
 Reservation_id
 User_id
 Flight
 Credit_card
 Reservation_date
 Num_of_seats
 Passenger_name:

an String array
ReserveAndPurchase Method
 Methods
 Boolean

Reserve(String Reservation_id,
String User_id, Flight flightobj, Creditcard cc,
Date Reservation_date, Integer
Num_of_seats, String [] Passenger_name)
 Boolean CancelReservation ()
 Reservation ReadReservation()
 Boolean Purchase()
 If the action is successful, return True;
otherwise, return False.
Fault Tolerant issues
A

failure in any transaction step causes
the whole transaction to be lost.
 Possible

Solution: two phase commit procotol
can be used. Or make full use of the
COMMIT, ROLLBACK command in the
database.

 How

to identify a client or server failure?

 Implement

an IsAlive function which ping the
client or server to make sure that it is still
active.
Fault tolerant issues
 Synchronization
 Use

monitor method in the Reserve method to
make sure there is no client reserving the
same ticket at the same time

 Data

replication

 Use

data replication techniques to improve
the reliability of the system.
 Use primary copy method to enhance the
consistency of the data.

Mais conteúdo relacionado

Mais procurados

Flight reservation and ticketing system ppt
Flight reservation and ticketing system pptFlight reservation and ticketing system ppt
Flight reservation and ticketing system ppt
marcorelano
 
AIS, Airline Information System, Pilot Project
AIS, Airline Information System, Pilot ProjectAIS, Airline Information System, Pilot Project
AIS, Airline Information System, Pilot Project
Mahesh Panchal
 
Airline Flight Tracking
Airline Flight TrackingAirline Flight Tracking
Airline Flight Tracking
mariasinha81
 
Airline Reservation System - Model Driven Software Engineering Approach
Airline Reservation System - Model Driven Software Engineering ApproachAirline Reservation System - Model Driven Software Engineering Approach
Airline Reservation System - Model Driven Software Engineering Approach
Onkar Kadam
 

Mais procurados (19)

Airline Reservation Sytem
Airline Reservation SytemAirline Reservation Sytem
Airline Reservation Sytem
 
Airline reservation system
Airline reservation systemAirline reservation system
Airline reservation system
 
Presentation On Online Airline Ticket Booking Project Planning
Presentation On Online Airline Ticket Booking Project PlanningPresentation On Online Airline Ticket Booking Project Planning
Presentation On Online Airline Ticket Booking Project Planning
 
Airline ticket reservation system
Airline ticket reservation systemAirline ticket reservation system
Airline ticket reservation system
 
Airline reservation system db design
Airline reservation system db designAirline reservation system db design
Airline reservation system db design
 
Airline reservation system
Airline reservation systemAirline reservation system
Airline reservation system
 
Flight reservation and ticketing system ppt
Flight reservation and ticketing system pptFlight reservation and ticketing system ppt
Flight reservation and ticketing system ppt
 
I-tare - Commercial Airline Reservation System
I-tare - Commercial Airline Reservation SystemI-tare - Commercial Airline Reservation System
I-tare - Commercial Airline Reservation System
 
AIS, Airline Information System, Pilot Project
AIS, Airline Information System, Pilot ProjectAIS, Airline Information System, Pilot Project
AIS, Airline Information System, Pilot Project
 
Airline Reservation System
Airline Reservation SystemAirline Reservation System
Airline Reservation System
 
Airlines Reservation System
Airlines Reservation SystemAirlines Reservation System
Airlines Reservation System
 
Overview of airline booking process
Overview of airline booking processOverview of airline booking process
Overview of airline booking process
 
[Airline Information System] in Database Project presntation
[Airline Information System] in Database Project presntation[Airline Information System] in Database Project presntation
[Airline Information System] in Database Project presntation
 
Airline reservation system 1
Airline reservation system 1Airline reservation system 1
Airline reservation system 1
 
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTMLAirline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
 
Finale project 1
Finale project 1Finale project 1
Finale project 1
 
Airline Flight Tracking
Airline Flight TrackingAirline Flight Tracking
Airline Flight Tracking
 
Air ticket reservation_system_presentati
Air ticket reservation_system_presentatiAir ticket reservation_system_presentati
Air ticket reservation_system_presentati
 
Airline Reservation System - Model Driven Software Engineering Approach
Airline Reservation System - Model Driven Software Engineering ApproachAirline Reservation System - Model Driven Software Engineering Approach
Airline Reservation System - Model Driven Software Engineering Approach
 

Semelhante a DetaileddesignSampleUpload

Flight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docxFlight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docx
AKHIL969626
 
Air_Ticket_Reservation_System_presentati.pptx
Air_Ticket_Reservation_System_presentati.pptxAir_Ticket_Reservation_System_presentati.pptx
Air_Ticket_Reservation_System_presentati.pptx
AnilVastav
 
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt
40NehaPagariya
 
can you help me write this code in Net Maui App please than.pdf
can you help me write this code in Net Maui App please than.pdfcan you help me write this code in Net Maui App please than.pdf
can you help me write this code in Net Maui App please than.pdf
akshpatil4
 
AIRLINE RESERVATION SYSTEM Application Development (1).pptx
AIRLINE RESERVATION SYSTEM Application Development (1).pptxAIRLINE RESERVATION SYSTEM Application Development (1).pptx
AIRLINE RESERVATION SYSTEM Application Development (1).pptx
nanis62
 
Dont call me cache april 17
Dont call me cache april 17Dont call me cache april 17
Dont call me cache april 17
Nati Shalom
 
Iswim for testing
Iswim for testingIswim for testing
Iswim for testing
ClarkTony
 
Iswim for testing
Iswim for testingIswim for testing
Iswim for testing
ClarkTony
 
Sahil Dhungel & Het Unadkat Data Mining.pdf
Sahil Dhungel & Het Unadkat Data Mining.pdfSahil Dhungel & Het Unadkat Data Mining.pdf
Sahil Dhungel & Het Unadkat Data Mining.pdf
HetUnadkat
 
Java programing please help me. Hello, I tried making a Class Flight.pdf
Java programing please help me. Hello, I tried making a Class Flight.pdfJava programing please help me. Hello, I tried making a Class Flight.pdf
Java programing please help me. Hello, I tried making a Class Flight.pdf
arjunanenterprises
 

Semelhante a DetaileddesignSampleUpload (20)

Flight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docxFlight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docx
 
Air_Ticket_Reservation_System_presentati.pptx
Air_Ticket_Reservation_System_presentati.pptxAir_Ticket_Reservation_System_presentati.pptx
Air_Ticket_Reservation_System_presentati.pptx
 
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt
 
can you help me write this code in Net Maui App please than.pdf
can you help me write this code in Net Maui App please than.pdfcan you help me write this code in Net Maui App please than.pdf
can you help me write this code in Net Maui App please than.pdf
 
AIRLINE RESERVATION SYSTEM Application Development (1).pptx
AIRLINE RESERVATION SYSTEM Application Development (1).pptxAIRLINE RESERVATION SYSTEM Application Development (1).pptx
AIRLINE RESERVATION SYSTEM Application Development (1).pptx
 
GigaSpaces XAP - Don't Call Me Cache!
GigaSpaces XAP - Don't Call Me Cache!GigaSpaces XAP - Don't Call Me Cache!
GigaSpaces XAP - Don't Call Me Cache!
 
Ressys
RessysRessys
Ressys
 
Movie ticket booking
Movie ticket bookingMovie ticket booking
Movie ticket booking
 
Csci 1101 computer science ii assignment 3/tutorialoutlet
Csci 1101 computer science ii assignment 3/tutorialoutletCsci 1101 computer science ii assignment 3/tutorialoutlet
Csci 1101 computer science ii assignment 3/tutorialoutlet
 
Dont call me cache april 17
Dont call me cache april 17Dont call me cache april 17
Dont call me cache april 17
 
What is inventor2
What is inventor2What is inventor2
What is inventor2
 
PPT For Airline Reservation System (pooja).ppt
PPT For Airline Reservation System (pooja).pptPPT For Airline Reservation System (pooja).ppt
PPT For Airline Reservation System (pooja).ppt
 
Spring Data JPA USE FOR CREATING DATA JPA
Spring Data JPA USE FOR CREATING DATA  JPASpring Data JPA USE FOR CREATING DATA  JPA
Spring Data JPA USE FOR CREATING DATA JPA
 
Airline Reservation presentation (1) (1).pptx
Airline Reservation presentation (1) (1).pptxAirline Reservation presentation (1) (1).pptx
Airline Reservation presentation (1) (1).pptx
 
Iswim for testing
Iswim for testingIswim for testing
Iswim for testing
 
Iswim for testing
Iswim for testingIswim for testing
Iswim for testing
 
User stories basics
User stories basicsUser stories basics
User stories basics
 
Sahil Dhungel & Het Unadkat Data Mining.pdf
Sahil Dhungel & Het Unadkat Data Mining.pdfSahil Dhungel & Het Unadkat Data Mining.pdf
Sahil Dhungel & Het Unadkat Data Mining.pdf
 
Java programing please help me. Hello, I tried making a Class Flight.pdf
Java programing please help me. Hello, I tried making a Class Flight.pdfJava programing please help me. Hello, I tried making a Class Flight.pdf
Java programing please help me. Hello, I tried making a Class Flight.pdf
 
ppt-of-airline-reservation-system-project-report.docx
ppt-of-airline-reservation-system-project-report.docxppt-of-airline-reservation-system-project-report.docx
ppt-of-airline-reservation-system-project-report.docx
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

DetaileddesignSampleUpload

  • 1. Online Airline Reservation System --Detailed design Pingping Ma Oct 19, 2006
  • 3. Database design  There are mainly 5 entities involved:  Flight info.  Customer info  Reservation  Purchase  Creditcard info.  Please slides see the entity diagram in the next
  • 6. Major class interface  Authenticate  Search  CreditCard  FlightInfo  ReservationInfo
  • 7. Authenticate Interface  Variable username, password, email  Boolean Authenticate (String username, String password);   This method checks if the user name and password input is a valid input. If true, it will return true; otherwise, return false.  Boolean Register (String username, String password, String email)   This method is used to register a new user. If the register is successful, return true; otherwise, return false.  Boolean IsAlive (String username)  This method checks to see if the user is still active when it doesn’t reponse in a certain amount of time.
  • 8. Flight Interface A class about the flight information with the following variables  FlightId  From_City  To_City  Dept_Time  Arr_Time  Num_Of_Seats  Price
  • 9. Search Interface  This class has only one method Search. Maybe can be combined with the Flight class.  Flight Search_oneway (String from_city, String to_city, Date dept_time, Date arr_time, int num_of_Seat)  Flight Search_round (String from_city, String to_city, Date dept_time, Date return_time, int num_of_Seat)  Given the search criteria, searches the database looking for flights that match the criteria.
  • 10. Creditcard Interface   A class about the credit card information Variables       User_id Card_number Type Year Month Methods      Boolean IsValid() String GetNumber() String GetType() Number GetYear() Number GetMonth()
  • 11. Reservation Info A class about the reservation information.  Variables  Reservation_id  User_id  Flight  Credit_card  Reservation_date  Num_of_seats  Passenger_name: an String array
  • 12. ReserveAndPurchase Method  Methods  Boolean Reserve(String Reservation_id, String User_id, Flight flightobj, Creditcard cc, Date Reservation_date, Integer Num_of_seats, String [] Passenger_name)  Boolean CancelReservation ()  Reservation ReadReservation()  Boolean Purchase()  If the action is successful, return True; otherwise, return False.
  • 13. Fault Tolerant issues A failure in any transaction step causes the whole transaction to be lost.  Possible Solution: two phase commit procotol can be used. Or make full use of the COMMIT, ROLLBACK command in the database.  How to identify a client or server failure?  Implement an IsAlive function which ping the client or server to make sure that it is still active.
  • 14. Fault tolerant issues  Synchronization  Use monitor method in the Reserve method to make sure there is no client reserving the same ticket at the same time  Data replication  Use data replication techniques to improve the reliability of the system.  Use primary copy method to enhance the consistency of the data.