“Distributed Airline Reservation System”


Presentation by:
Group: 9

Dwiti Gajab    – 008020038
Aman Chaurasia – 008017516
Pardeep Badhan – 004504293

Advisor: Dr. Rod Fatoohi


5/15/12                                     1
Contents:
1) Presentation overview
2) System functionality
3) Database design
4) Flow diagram
5) Project features
6) Project Implementation code (GUI)
7) Snapshots
8) Challenges
9) References
10) Demonstration of project



5/15/12                                2
Presentation Overview:

    Objective - To develop and design a distributed airline
    reservation system.


    C# (for GUI), .NET sockets (client), BSD sockets (server) with
    C programming, MYSQL database, UNIX environment.




5/15/12                                                              3
System Functionality:

    Login required for all.

      System Administrator:
-    Add airline database/representative

       Airline Representative:
- Add/Delete specific flights
-    View its own flights
-    List all customers for specific flight
-    Update the airline information (email, airline name, password etc.)

       Customers:
-    Register as a new user
-    Make/Cancel/View reservations
-    Update personal information

5/15/12                                                                    4
Database Design:
S y ste m
a d m in is tra to r




 A ir lin e r e p r e s e n t a t iv e




 U se rs/ C u sto m e rs




         5/15/12                         5
Flow Diagram:




5/15/12          6
Project Features:

    BSD sockets (server): – well integrated with OS.

    .NET sockets (client)

    I/O multiplexing “select ()” used:
          -   application needs data sharing.
          -   less switching time between process.

    “MySQL” database.

    Encryption using MD5 algorithm.

    Multi-user authentication: – Login required.

    Data passed in binary format
          -   less BW usage, fast transmission of signals.


5/15/12                                                      7
Project implementation code:
GUI: Login Example (Form - new_user_form.cs)
1 button_login_click() /* function called upon Click of login button*/
2 String username = textBox_login_username.Text.Trim().ToString(); /* read the username string
      from the textbox */
3 String password = textBox_login_password.Text.Trim().ToString();
/* read the password string from the textbox */




5/15/12                                                                                     8
Project implementation code (contd):
GUI: Login Example (contd)

4 if (flight_resv_client.attempt_login(username, password, user_info) == true)
{     /* user was authentication successfully */
}
/* Do not do anything, authentication failed */
5. attempt_login() /* form a message that will sent to the server */
6. msg.msg_id = HTON(MSG_ID_LOGIN_USER)
7. msg.username = username
8. msg.password = password
9. Steam s = tcp_client.GetStream(); /* get TCP client data stream */
10. s.write(msg, msg.Length);           /* send the message to the server */
11. s.Flush();                        /* flush the buffer now */
12. s.Read(user_info, sizeof(user_info)
           if (user_info.success != 0 ) {
    /* user was authenticated was successfully */       return (true);
} else {    /* user was not authenticated */
    MessageBox.Show(user_info.error);       return (false);
}


    5/15/12                                                                      9
                                                                                 1
MySql:
  Table “users”




 Table “flights”




5/15/12            10
Snapshot:
System Administrator:




5/15/12                 11
Snapshot:
Airline representative:




5/15/12                   12
Snapshot:
Airline representative (contd):




5/15/12                           13
Snapshot:
Customers:




5/15/12      14
Snapshot:
Customers:




5/15/12      15
Snapshot:
Server:




 5/15/12     16
Snapshot:
Server (Contd):




 5/15/12          17
Challenges:

    Implementing C# and linking it with client

    MYSQL database

    Encrypting password using MD5




5/15/12                                          18
References:
1. http://zetacode.com/tutorials/mysqlcapitutorial/(For entire MYSQL
     database implementation)
2. http://en.wikipedia.org/wiki/MySQL
3. http://www.pantz.org/software/mysql/mysqlcommands.html(for
      commands)
4. TCP/IP Volume III Client server programming and application by
     Stevens and Comer
5. UNIX Network Programming by Stevens and Fenner




5/15/12                                                                19
5/15/12   20
Any Questions???

          Thank You…




5/15/12                      21

More Related Content

PPT
Airline reservation system
DOCX
Airline Reservation System
PDF
Airline reservation system
DOCX
Airline ticket reservation system
PPT
Airline Reservation system(project report of six week training)-ppt
DOC
Airline Flight Tracking
PPTX
Presentation On Online Airline Ticket Booking Project Planning
DOCX
industrial
Airline reservation system
Airline Reservation System
Airline reservation system
Airline ticket reservation system
Airline Reservation system(project report of six week training)-ppt
Airline Flight Tracking
Presentation On Online Airline Ticket Booking Project Planning
industrial

What's hot (19)

DOCX
Finale project 1
PPTX
[Airline Information System] in Database Project presntation
PPTX
Distributed airline reservation system
PDF
Airline Reservation System - Software Engineering
PPT
Air line reservation system software engeniring
PDF
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
PPTX
Flight reservation and ticketing system ppt
PPTX
Airline Reservation System - Model Driven Software Engineering Approach
DOCX
Airlines Database Design
DOCX
MS Access Database Project proposal on Airline Reservation System
DOCX
SRS on airline reservation system
DOC
Airline reservation system documentation
DOCX
Airlines Reservation System
PPTX
Airline Management System [for presentation]
PPTX
Online Airway Reservation System
PDF
Online flight booking srs document
PDF
Airline reservation system
PPSX
Flight reservation and ticketing system Final PPT
PPTX
Srs of make my trip.com
Finale project 1
[Airline Information System] in Database Project presntation
Distributed airline reservation system
Airline Reservation System - Software Engineering
Air line reservation system software engeniring
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
Flight reservation and ticketing system ppt
Airline Reservation System - Model Driven Software Engineering Approach
Airlines Database Design
MS Access Database Project proposal on Airline Reservation System
SRS on airline reservation system
Airline reservation system documentation
Airlines Reservation System
Airline Management System [for presentation]
Online Airway Reservation System
Online flight booking srs document
Airline reservation system
Flight reservation and ticketing system Final PPT
Srs of make my trip.com
Ad

Similar to Distributed Airline Reservation System (20)

PPTX
Distributed airline reservation system
PDF
Airlineppt 160621085220 (1)
DOC
Srs mine
PPT
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt
DOCX
ppt-of-airline-reservation-system-project-report.docx
PPT
Shahab mis bba 6th
PPT
ABSTRACT ariline reservation system .ppt
DOCX
Flight Reservation SystemThe flight reservation system” proje.docx
PPT
DetaileddesignSampleUpload
PPTX
Air ticket reservation_system_presentati
PDF
SE-PostgreSQL - System wide consistency of access control
PPTX
Online Airline Ticket reservation System
PDF
AIRLINE RESERVATION SYSTEM.pdf
PPTX
Air_Ticket_Reservation_System_presentati.pptx
DOCX
Airline Reservation System Documentation
PPTX
Project management Proposal And Presentation
PPT
AIRLINE PRESENTATION.ppt
PDF
Research Inventy : International Journal of Engineering and Science
DOC
Airline reservation system project report (1)
PDF
Title c project
Distributed airline reservation system
Airlineppt 160621085220 (1)
Srs mine
327923326-Ppt-of-Airline-Reservation-System-Project-Report.ppt
ppt-of-airline-reservation-system-project-report.docx
Shahab mis bba 6th
ABSTRACT ariline reservation system .ppt
Flight Reservation SystemThe flight reservation system” proje.docx
DetaileddesignSampleUpload
Air ticket reservation_system_presentati
SE-PostgreSQL - System wide consistency of access control
Online Airline Ticket reservation System
AIRLINE RESERVATION SYSTEM.pdf
Air_Ticket_Reservation_System_presentati.pptx
Airline Reservation System Documentation
Project management Proposal And Presentation
AIRLINE PRESENTATION.ppt
Research Inventy : International Journal of Engineering and Science
Airline reservation system project report (1)
Title c project
Ad

Distributed Airline Reservation System

  • 1. “Distributed Airline Reservation System” Presentation by: Group: 9 Dwiti Gajab – 008020038 Aman Chaurasia – 008017516 Pardeep Badhan – 004504293 Advisor: Dr. Rod Fatoohi 5/15/12 1
  • 2. Contents: 1) Presentation overview 2) System functionality 3) Database design 4) Flow diagram 5) Project features 6) Project Implementation code (GUI) 7) Snapshots 8) Challenges 9) References 10) Demonstration of project 5/15/12 2
  • 3. Presentation Overview:  Objective - To develop and design a distributed airline reservation system.  C# (for GUI), .NET sockets (client), BSD sockets (server) with C programming, MYSQL database, UNIX environment. 5/15/12 3
  • 4. System Functionality:  Login required for all.  System Administrator: - Add airline database/representative  Airline Representative: - Add/Delete specific flights - View its own flights - List all customers for specific flight - Update the airline information (email, airline name, password etc.)  Customers: - Register as a new user - Make/Cancel/View reservations - Update personal information 5/15/12 4
  • 5. Database Design: S y ste m a d m in is tra to r A ir lin e r e p r e s e n t a t iv e U se rs/ C u sto m e rs 5/15/12 5
  • 7. Project Features:  BSD sockets (server): – well integrated with OS.  .NET sockets (client)  I/O multiplexing “select ()” used: - application needs data sharing. - less switching time between process.  “MySQL” database.  Encryption using MD5 algorithm.  Multi-user authentication: – Login required.  Data passed in binary format - less BW usage, fast transmission of signals. 5/15/12 7
  • 8. Project implementation code: GUI: Login Example (Form - new_user_form.cs) 1 button_login_click() /* function called upon Click of login button*/ 2 String username = textBox_login_username.Text.Trim().ToString(); /* read the username string from the textbox */ 3 String password = textBox_login_password.Text.Trim().ToString(); /* read the password string from the textbox */ 5/15/12 8
  • 9. Project implementation code (contd): GUI: Login Example (contd) 4 if (flight_resv_client.attempt_login(username, password, user_info) == true) { /* user was authentication successfully */ } /* Do not do anything, authentication failed */ 5. attempt_login() /* form a message that will sent to the server */ 6. msg.msg_id = HTON(MSG_ID_LOGIN_USER) 7. msg.username = username 8. msg.password = password 9. Steam s = tcp_client.GetStream(); /* get TCP client data stream */ 10. s.write(msg, msg.Length); /* send the message to the server */ 11. s.Flush(); /* flush the buffer now */ 12. s.Read(user_info, sizeof(user_info) if (user_info.success != 0 ) { /* user was authenticated was successfully */ return (true); } else { /* user was not authenticated */ MessageBox.Show(user_info.error); return (false); } 5/15/12 9 1
  • 10. MySql: Table “users” Table “flights” 5/15/12 10
  • 18. Challenges:  Implementing C# and linking it with client  MYSQL database  Encrypting password using MD5 5/15/12 18
  • 19. References: 1. http://zetacode.com/tutorials/mysqlcapitutorial/(For entire MYSQL database implementation) 2. http://en.wikipedia.org/wiki/MySQL 3. http://www.pantz.org/software/mysql/mysqlcommands.html(for commands) 4. TCP/IP Volume III Client server programming and application by Stevens and Comer 5. UNIX Network Programming by Stevens and Fenner 5/15/12 19
  • 20. 5/15/12 20
  • 21. Any Questions??? Thank You… 5/15/12 21