20
Project Of Software engineering Topic:-use case diagram of railway reservation system SUBMITTED TO:- Dr.PrabhatRanjan Dept.Of computer Science SUBMITTED BY:- Amit Kumar pandey Dept-M.Sc(csc)2ndsem CENTRAL UNIVERSITY OF BIHAR

Amit Software Engineering Project

Embed Size (px)

Citation preview

Page 1: Amit Software Engineering Project

Project

Of

Software engineeringTopic:-use case diagram of railway reservation system

SUBMITTED TO:-

Dr.PrabhatRanjan

Dept.Of computer Science SUBMITTED BY:-

Amit Kumar pandey

Dept-M.Sc(csc)2ndsem

Roll no-03

CENTRAL UNIVERSITY OF BIHAR

Page 2: Amit Software Engineering Project

Acknowledgement

I would like to extend my heartfelt thanks and deep sense of gratitude to all those who have

helped me in the accomplishment of this project .First and foremost, I would like express my

sincere to “DR.PRABHATH RANJAN” my CSE (524) Lecture in the Central University of

Bihar who gave enthusiastic support and encouragement to complete this project .I am also

grateful to my other lectures for their support and encouragement during the course my Term

Paper. Lastly I would like to thanks my friends and all the well-wishers for their moral support

and encouragements which enable me to complete this project successfully.

Table of contents

Page 3: Amit Software Engineering Project

s.no contents1 introduction2 purpose3 Software requirements specification4 System requirements5 Dfd o level or context level6 1 st level dfd7 Design mythology 8 Specific requirements9 Performance requirements10 Spiral model define railway reservation system11 Use case diagram12 Problem gathering information of entire system13 Benefits of the project14 conclusion15 reference

INTRODUCTION

Page 4: Amit Software Engineering Project

To make ticketing more easier for travelers, Indian Railways has started an online

reservation system, which helps us in booking tickets from the comfort of our homes or

offices. While this is convenient for most people, it has made things particularly easier for

people residing Remote areas. These tickets can be booked or cancelled for journeys

commencing in any part of India and ending in any other part, with travel time as long as

24 hours and distance up to several thousand kilometers.

should be able to manage all the reservation related functions. The system should be

distributed in nature. This system is divided into five zones.

NORTH ZONE

SOUTH ZONE

EAST ZONE

WEST ZONE

CENTRAL ZONE

The administrator should be able to enter any change related to the train information like

change in train name, number etc. The system should be able to reserve seat in a train for

a passenger. First the clerk will check for availability for the seats in a particular train on a

specified date of journey. If it is available the clerk will reserve seats. The passenger will

be given a unique PNR no. The system should be able to cancel a reservation. The clerk

will delete the entries in the system. The passenger can check their reservation status

online by entering their PNR no. The system will display his current status like confirmed,

RAC or waiting list. They are also able to see information related to the train

schedules. The system should be able to print the report like it should be able to generate

reservation chart, train report, reservation ticket which will have train no and name, date

of journey, boarding station, destination station, person name, age, [censored], total fare

and a unique PNR no. The system should be able to print the cancellation ticket which will

have total fare and the amount deducted.

Page 5: Amit Software Engineering Project

PURPOSE:

The purpose of this source is to describe the railway reservation system which provides

the train timing details, reservation, billing and cancellation on various types of

reservation namely,

Confirm Reservation for confirm Seat.

Reservation against Cancellation.

Waiting list Reservation.

Online Reservation.

Tatkal Reservation.

SOFTWARE REQUIREMENT SPECIFICATION

SRS contains details of the proposed software system, sufficient enough for

the designers to design the system . Thus, SRS is a means of communicating

the findings of the analysis stage to the design stage. The SRS includes

Interface

Logical database

Hardware

Performance

Page 6: Amit Software Engineering Project

System requirements

The person or passenger has the know the reservation system and ticketing system. The

passenger take the reservation form and fill the form means that he goes the proper

steps for railway reservation process means filling the form,tendering,paymenting and

colleting the ticket.

Passenger takes the ticket or leaves it.

Passenger takes information regarding fare, train timing and availability of tickets.

Passenger can have single ticket or multiple tickets

Journey begins on a day and will be over with one break in between.

Passenger is identified by name, age, sex and address.

Trains are identified by name and number.

No receipt is issued for money transaction.

Output of the system is ticket(s) with details.

A form is used for each train .Separate forms are used for each train.

METHOLOGY USED IN RAILWAY RESERVATION SYSTEM

SPIRAL MODEL

Page 7: Amit Software Engineering Project

Here I used spiral model as railway reservation is concerned. A spiral model is

divided into a set of framework activities defined by software engineering terms.

As the evolutionary process begins, software team performs activities that are

implied by a circuit around the spiral in a clockwise direction, beginning at the

center.

The first circuit around the spiral might result in the development of a

product specification; subsequent passes around the spiral might be used to develop

a prototype and then progressively more sophisticated versions of software.

Unlike other process models that end when software is delivered, the spiral model

can be adapted to apply throughout the life of the computer software.

Every new step is dependent on the previous step and moves spirally outwards.

At any point in the system we can return back to the previous step.

Because software evolves as the process progresses, both we and customers can

better understand and react to the risks at evolutionary level.

In the case of errors we can easily trace the root cause of errors.

Spiral model is very realistic approach towards the process development.

Page 8: Amit Software Engineering Project

CONTEXT LEVEL OR 0 LEVEL DFD

Fill cancelation form up down train info

Fill reservation form reser/cancel info

Ticket info passenger info

Examine form

Print out ticket-

Railway reservation

Passenger

Admin

Clerk

Page 9: Amit Software Engineering Project

1 LEVEL DFD

Reservation storage file

Down storage up storage

1.1Reservation processPassenger

1.2 Enquiry

1.3 ticket reservation process

1.4 reports to admin

Page 10: Amit Software Engineering Project

Design Methodology:- In railway reservation system we have select proper

step to design methodology

Step 1:- Make Use of Case Diagram.

The general flow of any analysis and design process is to begin with the identification of the

functionalities of the system and the actors associated with the system. We depict the overview

of the system to be developed by a Use Case diagram

After analyzing the above problem we have identified the following Use Case and Actor of the

system.

Actors of the given system are as follows:-

Admin

Passenger

Reservation clerk

Use cases of the systems are as follows:-

Login

Check availability

List of train

Filling form

Submit form

Conformation

Payment

Cancellation

Page 11: Amit Software Engineering Project

Precondition:-None

Post condition:- clerk and admin

Step 2:-SPECIFIC REQUIREMENT

External interface

Train Delay Alert Service. 

Booking Terminals. 

Interactive voice Response System. 

Touch Screen. 

Passengers operated Enquiry Terminals

Step 3:-Performance Requirements

It is available during all 24 hours. Here we book ticket either ac 3 tier 2 tier,2nd slipper

class,1 st class slipper. The performance of the system is very well maintained

Page 12: Amit Software Engineering Project

Check availability

List of train

Passenger Filling form

Submit form

Conformation

Clerk

Payment

Admin

Cancellation

Update train

Accepting form

Use case diagram of railway reservation system

Problem gathering information for Railway Reservation System

Date Train no

No.of seats

login

Nameage

Dest.

source

Page 13: Amit Software Engineering Project

As far as railway reservation system is concerned we develop such software which is problem

solving of all the users. The desired system should be distributed in entire nature. It should be

designed so that it provides underline functionality...

1.) Login: - login detail is for security purpose. All users of the system provide unique id

and password. If the id and Password is correct then user allowed entry to the system and

select from the options available in the systemSample of login screen is like this way.

Login

password

submit

cancel

2.) Reserve Seat:A passenger should be able to reserve seats in the train. It is filled by the

passenger and give to the clerk, who then checks for the availability of seats for the given date

of journey .Seats are available then the entries are made in the system regarding the train

name, train number, date of journey, boarding station, destination, person name, sex and total

fare. If the seats are not available then the passenger is informed seat is not available.

3.) Cancel Reservation: A passenger wishing to cancel a reservation is required to fill a form.

The passenger then submits the form and the ticket to the clerk. The clerk then deletes the

Page 14: Amit Software Engineering Project

entries in the system and changes the reservation status of that train. The clerk crosses the

ticket by hand to mark as cancelled.

4.) Check Availability- This module check the entire train route schedule,availibilty of desired

seats in the desired train.

5.) Report Generation: - Generation of different reports should be given in the system. The

system should be able to generate reservation chart, monthly train report etc.

6.) View Reservation Status:- All the users should be able to see the reservation status of the

train online. The user needs to enter the train number and the pin number printed on his ticket

so that the system can display his current reservation status like confirmed, RAC or Wait-listed.

7.) View Train Schedule: - Provision should be given to see information related to the train

schedules for the entire train network. The user should be able to see the train name, train

number, boarding and destination stations, duration of journey etc.

8.)Payment gateway:-this parameter help to deposit the fare amount which would be form

after reserving the ticket.

9.)Update Train Information: Only the administrator enters any changes related to the train

information like change in the train name, train number, train route etc.in the system

Benefits of use case diagram of railway reservation system

Page 15: Amit Software Engineering Project

A route based railway reservation system that facilities the ticket book from

any station to any station.

Passenger journey to multiple of reservation can be handled from a single

terminal window. 

Any train running schedule can be accommodated

Provides automatic database recovery against all kinds of hardware and

software failures.

Complete for transactions and data access.

Conclusion:-

Our project is only the gist of the online reservation system.

Due to time constraints it was not possible to incorporate all the concepts

related to the topic.

So the program created is just an instance of the Original Online Railway

Reservation System.

Page 16: Amit Software Engineering Project

References

www.indain railway.co.in

software Engineering text book written by Rajeev mall

wekipidea railway info