Railway Reservation System
Railway Reservation System
Submitted By: Ali Rizwan (2113268) Rehan Shafiq (2113222) Salman Karim (2113023)
Contents
Online Railway Reservation System............................................................................................................. 1 Railway Reservation System ........................................................................................................................ 3 Introduction ................................................................................................................................................... 3 Objective ....................................................................................................................................................... 3 Current System.............................................................................................................................................. 3 Limitations of Current System ...................................................................................................................... 3 Proposed System ........................................................................................................................................... 3 Phases............................................................................................................................................................ 4 Planning: ............................................................................................................................................... 4 Risk Analysis Phase: ............................................................................................................................. 4 Engineering Phase:................................................................................................................................ 5 Evaluation Phase: .................................................................................................................................. 5
Requirement Specification ............................................................................................................................ 5 Security Specifications.................................................................................................................................. 5 Data Flow Diagrams ..................................................................................................................................... 6 Level-0 DFD ............................................................................................................................................. 6 Why Spiral Model? ....................................................................................................................................... 7 Spiral Diagram .............................................................................................................................................. 7 Coding ........................................................................................................................................................... 8 Case Diagram ................................................................................................................................................ 9 Sequence Diagram ...................................................................................................................................... 10 Activity Diagram ........................................................................................................................................ 11
Objective
The objective of Computerized Passenger Railway System (PRS) was to provide reserved accommodations on any train from any counter, preparation of train charts and accounting of the money collected.
Current System
The existing system has many shortcomings associated with it. In the existing system railways used to set railway reservation levels higher than seating capacity to compensate for passenger cancellations. If the traveler had to make / cancel the reservation he had to visit the railway office thus wasting time and money. In the existing system due to non-availability of central server the airline and agents suffered from unwanted delays in booking and payments.
Proposed System
The main objective is to develop a user-friendly system which enables the customer to book & purchase online ticket conveniently. This system maintain the database centrally giving the clients the information required from anywhere in the world. Providing journey details. This system facilitates the railway booking for a particular destination, date & time and also provides a pin code.
Phases Planning:
1. Railway passengers frequently need to know about their ticket reservation status, ticket availability on a particular train or for a place, train arrival or departure details, special trains etc. Customer information centers at the railway stations are unable to serve such queries at peak periods. 2. The number of the reservation counters available to the passengers and customers are very less. 3. On most of the reservation systems there are long queues, so it takes a long time for any individual to book the ticket. 4. As now there are no call center facilities available to solve the queries of the passengers. 5. In Online Railway Reservation System, for booking the tickets online the intended user has to enter details like username and password. 6. Once the username and passwords are verified then he is allowed to enter the main system wherein he can select the destination, date and no of tickets. 7. For the purchase of the tickets he is asked for payment details (like credit card details etc.). 8. The user is also provided with a provision of canceling the reservation where in the entire amount is credited back to his account. 9. We have to design a website for user interaction, a database and then link both of these to work together. 10. 6 month time period is given for the successful development and implementation of this system.
Engineering Phase:
1. For the website of company, well use .Net language on which well design layout of website then code it for the behavior of the website. 2. First well design a prototype of website how it will look and will show it to the company if they satisfy then continue with it. 3. Otherwise modify according to requirement. 4. Then implement (sample) it over the web and test it through different methods. 5. Then well use SQL server for the database of records. 6. Here also well design prototype and test it through different inputs. 7. Then well attach it with the website and then will test it as a whole. 8. Well ask all our team to test it through different inputs. 9. Then well ask staff members to test it according to their requirement.
Evaluation Phase:
1. After engineering phase, refine the prototype and remove the errors. 2. The project will be tested on the basis of the refined prototype. 3. As explained above, before continuing to the next spiral well discuss it with the railway staff. 4. Modifications will be done in routine. 5. Customer evaluation is also important. 6. It is important because of to prevent large scale failure.
Requirement Specification
Software Requirement: Sql Server 2008 for Database. .Net Framework 3.5 Windows Operating System (XP/Server)
Security Specifications
As a security point of view, authentication and authorization will be done by password checking. If correct password has been entered by the user, the user will get further access to the system, otherwise he will have to re-enter the password. The facility to change the password has also been provided but for that the user will have to first enter the old password. The password can be eight characters long.
Level-0 DFD
The level 0 DFD or a context model represents the entire software element as a single entity with input and output data indicated by incoming and outgoing arrows, respectively. In the following level-0 DFD, the passenger fills either the reservation or cancellation form as input. He gets the ticket as the output and the report is sent to the administration.
Passenger
Railway Reservation
Admin
Spiral Diagram
Project Code
Coding
Customer Evaluation
Testing
Coding
Class:
class a private: int c, n, a, i, s; char id[50]; char pasw[50]; char date[10]; char d1[15], d2[15];
Case Diagram
System
Make a Reservation
Use r
Verify Payments
Update Reservations
Cancellation of Reservation
Administrator
Sequence Diagram
User Log in
System
Administrator
Secure communication Enter date Request confirmation Enter desired destination Choose desired express Enter the no of tickets Request confirmation Confirm purchase
{Verify user}
{Verify date}
{Verify funds}
Activity Diagram
(Invalid) (Success)
Send confirmation
Close transaction