SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Downloaden Sie, um offline zu lesen
Railway Ticket Reservation System
System Modeling
&
Architecture Design
Group # 6
Arsalan Ali Daim BSCS14068
Hafiz M. Abdul Wajid BSCS14054
Azhar Ali BSCS14058
Danish Javed BSCS14028
Requirement Elicitation Techniques
We are using Use-cases technique for requirement elicitation. The reason is that as we are using incremental
approach so with the use of this technique we can easily find out working functionality of different modules
one by one. On the other hand, required input and expected output can also be easily illustrated by use-
cases. Other than that, we will also be using ethnography to observe already implemented system of railway
reservation. This will help a lot to find out actual requirements for our system. For this purpose, we visit
the railway website where the system to be replaced has been deployed and explore our relevant sections.
Long story short, these two techniques have proved very useful so far.
Other than that, we will also be using ethnography to observe already implemented system of railway
reservation. This will help a lot to find out actual requirements for our system. For this purpose, we visit
the railway website where the system to be replaced has been deployed and explore our relevant sections.
Long story short, these two techniques have proved very useful so far.
System Modeling
We are using two main system models to meet the requirements of our project. There system models are as
follows
▪ Interaction Modeling
▪ Structural Modeling
Interaction Modeling:
Interaction model is very useful Railway Reservation System. The reason is that the sub-model techniques
like use-case diagrams, sequential diagrams are very suitable for our software. The software is fully based
on different use cases, which will be mention later. When a person come to the railway station and ask for
his requirement then there are some actions done by the operator/Admin that will define our uses
cases.Listing down those use cases contains:
When a passenger come to station and can ask for:
1. Admin Asks destination and searches if train is avaialable
2. Inquirey for available seat
3. View time schedule
4. Gives information to admin for booking and admin enters his information to System
5. Admin asks for destination and system tells fare amount by entering starting and ending point
6. Passenger makes payment
7. Admin marks in software that amount has received
8. Ticket issued
9. Print ticket
In case of cancelation of ticket, the use cases could be:
1. Asks passenger’s information and search if he is registered
2. If record found then cancel the ticket
3. Seat will be automatically set as available
4. Refund amount
Also, the use-cases have been mentioned diagrammatically. With the help of this diagram we are able to
see that what are the services our system provides and what kind of function it will perform. The reasons
behind the use of use case modeling in our project are, as mentioned in use-cases when passengers come to
the railway station for ticket reservation according to their destination, available train, and desired seat in
the different coaches of the train, all of these cases vary for each individual passenger. Now not all
passengers come to the stations to reserve a ticket, but some of them come there to cancel their reserved
tickets and then they get the given amount for the seat in return (refunding amount). Therefore, we used
Interaction Modeling to see all the use-cases that will cover all of the different scenarios.
Fig. 1: Use-Case Diagram for Booking and Cancelling tickets
Similarly, the interaction model also defined by the sequence diagram which tells the life of each system
components with a specific time duration. The time has been divided into the request being interchanging
between the user and system. For our system, the sequence diagram below explains that how the passenger
come to the operator and how the information goes to the database and then in case of seats availability, the
admin collects the fare amount which is being told by the system. Then, admin enters the amount accepted
and system of railway reservation save the information to the database and issued the ticket. Here you can
see that the ‘sequential diagrams’ is easily demonstrating the detailed communication between different
modules of our project. This is also showing almost complete workflow of our required system.
Fig. 2: Sequence Diagram for Booking Ticket.
Structural model:
As our software is fully related to the object-oriented programming so we are using the structural modeling.
With the help of this we are able to see structure of our whole software modules. We have made different
classes and their interaction using the concept of OOP. Well a project with the implementation of fully
object-oriented model consists of class diagrams. So, we made classes and then made class diagrams. These
class diagrams and their attributes are shown in a particular manner. And these classes have somewhat
association (relationship) with each other according to basic functionality of our system. Another major
aspect/part of Structural model is Generalization. In our case, we generalized some attributes to reduce
redundancy but this is on very small scale in our project.
Fig. 3: Classes for Railway Ticket Reservation System.
Above classes has relations with each other. Because of object orientation in our project classes have
relation of associativity and aggregation. These relation specifications produce simplicity for us to manage
and understand the software development process.
Now, by using these classes we have made class diagrams in which all the relations are mentioned with the
help of their representing symbols. See below the class diagram for above classes.
Fig. 4: Class Diagram showing the relation between all the classes.
System Architecture Design
Pipe and Filter architecture:
As our model is sequential. So, we are using pipe and filter architecture for our system. In railway
reservation system, at every step there is a condition needed. If something occurs then do next step.
Similarly, if train is available and seat is available then passenger ask for entry. When he has been asked
for his information for booking then he has to pay fare for ticket issuing. If he pays for it then system issued
the ticket.
Pros:
▪ Very understandable transformation of functional requirements.
▪ We can easily see how our transactions are transferring from one end to another.
▪ Input and Output workflow can easily be analyzed in our case.
Cons:
▪ For displaying info at screen, we have to follow some specific format which will increase the time
required for development.
▪ For communication between different functional components, we have to keep check on input types
being received so that there is no problem because there are large number of conversions e.g. int to str
or vice versa and etc. Therefore, parsing is required for this purpose.
Fig. 5: Pipe and Filter Architecture for Railway Reservation System
Layered Architecture:
This architecture is properly fits in our system. As there are divisions in this architecture, similarly our
model is also having divisions. Showing the model by picture we can get more understanding about it.
Pros:
It is perfectly fitting in our case as we are dealing with different layer. Some of major pros are as follows:
▪ It fulfills our nonfunctional requirement (Security) as authentication and authorization on each level is
required in our case for each transaction.
▪ It enhances and supports incremental approach as we can add another layer for the new requirements.
▪ Its hierarchical structure made us easy to write code according to OOP.
Cons:
▪ Performance can be compromised because of multiple levels of interpretation of a service request as it
is processed at each layer. So, there is probability that transaction time will increase here.
▪ Dependency issues will increase as layers are communicating with each other so single failure or one
corrupt layer can crash our system instantly.
Fig. 6: Layered Architecture of Railway Reservation System.
Client - Server Architecture:
This architecture is properly fits in our system. As there are divisions in this architecture, similarly our
model is also having divisions. Showing the model by picture we can get more understanding about it.
Pros:
▪ easy to manage
▪ security
Cons:
▪ Server may not be able to handle too much requests that may cause server to down.
▪ Since its centralized if a critical server fails, client requests are not accomplished.
Fig. 7: Client Server Architecture of Railway Reservation System
Repository architecture
This is architecture will not be implemented in our case the reason is that we are dealing
with a system that is working on only in one place, in short, we don’t have to share large
data from one system to another system according to our requirements. That is why
repository architecture is not useful for us.
Model view Controller:
Similarly, this architecture model is also not fitting in our project. Because we can’t make
a separate view and controller so that we can view and then update our software. Reason
is very simple, we are using incremental approach so we will go module by module and if
something goes wrong or some up gradations are required then we simple go to source
code and change them, so there is no role of controller here.

Weitere ähnliche Inhalte

Was ist angesagt?

Vehicle management system
Vehicle management systemVehicle management system
Vehicle management system
Mohd Saddam
 
Presentation on Railway Reservation System
Presentation on Railway Reservation SystemPresentation on Railway Reservation System
Presentation on Railway Reservation System
Priyanka Sharma
 

Was ist angesagt? (20)

E-TICKETING ON RAILWAY TICKET RESERVATION
E-TICKETING ON RAILWAY TICKET RESERVATIONE-TICKETING ON RAILWAY TICKET RESERVATION
E-TICKETING ON RAILWAY TICKET RESERVATION
 
SRS for Railways Reservation System
SRS for Railways Reservation System SRS for Railways Reservation System
SRS for Railways Reservation System
 
Vehicle management system
Vehicle management systemVehicle management system
Vehicle management system
 
ONLINE BUS BOOKING SYSTEM
ONLINE BUS BOOKING SYSTEMONLINE BUS BOOKING SYSTEM
ONLINE BUS BOOKING SYSTEM
 
Online Bus Reservatiom System
Online Bus Reservatiom SystemOnline Bus Reservatiom System
Online Bus Reservatiom System
 
Online railway reservation system
Online railway reservation systemOnline railway reservation system
Online railway reservation system
 
Synopsis for Online Railway Railway Reservation System
Synopsis for Online Railway Railway Reservation SystemSynopsis for Online Railway Railway Reservation System
Synopsis for Online Railway Railway Reservation System
 
Online bus ticket booking
Online bus ticket bookingOnline bus ticket booking
Online bus ticket booking
 
Railways reservation system using socket programming
Railways reservation system using socket programmingRailways reservation system using socket programming
Railways reservation system using socket programming
 
Report on online bus management
Report on online bus managementReport on online bus management
Report on online bus management
 
railway reservation software documentaion
railway reservation software documentaionrailway reservation software documentaion
railway reservation software documentaion
 
online Cab Booking System PPT Presentation
online Cab Booking System PPT Presentation online Cab Booking System PPT Presentation
online Cab Booking System PPT Presentation
 
Presentation on Railway Reservation System
Presentation on Railway Reservation SystemPresentation on Railway Reservation System
Presentation on Railway Reservation System
 
JUSTCABS - an Online Cab Reservation System (Final Year Project)
JUSTCABS - an Online Cab Reservation System (Final Year Project)JUSTCABS - an Online Cab Reservation System (Final Year Project)
JUSTCABS - an Online Cab Reservation System (Final Year Project)
 
VEHICLE MANAGEMENT SYSTEM
VEHICLE MANAGEMENT SYSTEMVEHICLE MANAGEMENT SYSTEM
VEHICLE MANAGEMENT SYSTEM
 
srs for railway reservation system
 srs for railway reservation system srs for railway reservation system
srs for railway reservation system
 
Railway Reservation System - Requirement Engineering
Railway Reservation System - Requirement EngineeringRailway Reservation System - Requirement Engineering
Railway Reservation System - Requirement Engineering
 
Project Report Format College Project
 Project Report Format College Project Project Report Format College Project
Project Report Format College Project
 
Online railway reservation system
Online railway reservation systemOnline railway reservation system
Online railway reservation system
 
Bus Booking Management System
Bus Booking Management SystemBus Booking Management System
Bus Booking Management System
 

Ähnlich wie System Modeling And Achitecture Design

Software Engineering ppt
Software Engineering pptSoftware Engineering ppt
Software Engineering ppt
shruths2890
 
Case study of spiral process model
Case study of spiral process  modelCase study of spiral process  model
Case study of spiral process model
minal kumar soni
 
Documentation of railway reservation system
Documentation of railway reservation systemDocumentation of railway reservation system
Documentation of railway reservation system
Sandip Murari
 
Sw engg l4_requirements_case_study
Sw engg l4_requirements_case_studySw engg l4_requirements_case_study
Sw engg l4_requirements_case_study
Mahima Bhave
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
Mir Majid
 

Ähnlich wie System Modeling And Achitecture Design (20)

Online spice selling report1
Online spice selling report1Online spice selling report1
Online spice selling report1
 
U mobile
U mobileU mobile
U mobile
 
Software Engineering ppt
Software Engineering pptSoftware Engineering ppt
Software Engineering ppt
 
Case study of spiral process model
Case study of spiral process  modelCase study of spiral process  model
Case study of spiral process model
 
Documentation of railway reservation system
Documentation of railway reservation systemDocumentation of railway reservation system
Documentation of railway reservation system
 
Project synopsis.
Project synopsis.Project synopsis.
Project synopsis.
 
Railway tracking system
Railway tracking systemRailway tracking system
Railway tracking system
 
Sw engg l4_requirements_case_study
Sw engg l4_requirements_case_studySw engg l4_requirements_case_study
Sw engg l4_requirements_case_study
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
Online car parking reservation system 9160262550 dinesh
Online car parking reservation system   9160262550 dineshOnline car parking reservation system   9160262550 dinesh
Online car parking reservation system 9160262550 dinesh
 
IRJET- Automatic Detection of Characteristics of Clothing using Image Process...
IRJET- Automatic Detection of Characteristics of Clothing using Image Process...IRJET- Automatic Detection of Characteristics of Clothing using Image Process...
IRJET- Automatic Detection of Characteristics of Clothing using Image Process...
 
Railway Reservation system Case study of oracle db by cj date
Railway Reservation system Case study of oracle db by cj dateRailway Reservation system Case study of oracle db by cj date
Railway Reservation system Case study of oracle db by cj date
 
Bus information live monitoring system
Bus information live monitoring systemBus information live monitoring system
Bus information live monitoring system
 
Software Engineering Testing & Research
Software Engineering Testing & Research Software Engineering Testing & Research
Software Engineering Testing & Research
 
ppt-20.06.24.pptx ghyyuuuygrfggtyghffhhhh
ppt-20.06.24.pptx ghyyuuuygrfggtyghffhhhhppt-20.06.24.pptx ghyyuuuygrfggtyghffhhhh
ppt-20.06.24.pptx ghyyuuuygrfggtyghffhhhh
 
online national polling
online national pollingonline national polling
online national polling
 
Unit iv function and service oriented designs 9
Unit iv function and service oriented designs 9Unit iv function and service oriented designs 9
Unit iv function and service oriented designs 9
 
Online Railway Reservation System
Online Railway Reservation SystemOnline Railway Reservation System
Online Railway Reservation System
 
Use Case Modeling
Use Case ModelingUse Case Modeling
Use Case Modeling
 
Transport plus project
Transport plus projectTransport plus project
Transport plus project
 

Kürzlich hochgeladen

%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 

Kürzlich hochgeladen (20)

Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 

System Modeling And Achitecture Design

  • 1. Railway Ticket Reservation System System Modeling & Architecture Design Group # 6 Arsalan Ali Daim BSCS14068 Hafiz M. Abdul Wajid BSCS14054 Azhar Ali BSCS14058 Danish Javed BSCS14028
  • 2. Requirement Elicitation Techniques We are using Use-cases technique for requirement elicitation. The reason is that as we are using incremental approach so with the use of this technique we can easily find out working functionality of different modules one by one. On the other hand, required input and expected output can also be easily illustrated by use- cases. Other than that, we will also be using ethnography to observe already implemented system of railway reservation. This will help a lot to find out actual requirements for our system. For this purpose, we visit the railway website where the system to be replaced has been deployed and explore our relevant sections. Long story short, these two techniques have proved very useful so far. Other than that, we will also be using ethnography to observe already implemented system of railway reservation. This will help a lot to find out actual requirements for our system. For this purpose, we visit the railway website where the system to be replaced has been deployed and explore our relevant sections. Long story short, these two techniques have proved very useful so far. System Modeling We are using two main system models to meet the requirements of our project. There system models are as follows ▪ Interaction Modeling ▪ Structural Modeling Interaction Modeling: Interaction model is very useful Railway Reservation System. The reason is that the sub-model techniques like use-case diagrams, sequential diagrams are very suitable for our software. The software is fully based on different use cases, which will be mention later. When a person come to the railway station and ask for his requirement then there are some actions done by the operator/Admin that will define our uses cases.Listing down those use cases contains: When a passenger come to station and can ask for: 1. Admin Asks destination and searches if train is avaialable 2. Inquirey for available seat 3. View time schedule 4. Gives information to admin for booking and admin enters his information to System 5. Admin asks for destination and system tells fare amount by entering starting and ending point 6. Passenger makes payment 7. Admin marks in software that amount has received 8. Ticket issued 9. Print ticket In case of cancelation of ticket, the use cases could be: 1. Asks passenger’s information and search if he is registered 2. If record found then cancel the ticket 3. Seat will be automatically set as available 4. Refund amount Also, the use-cases have been mentioned diagrammatically. With the help of this diagram we are able to see that what are the services our system provides and what kind of function it will perform. The reasons
  • 3. behind the use of use case modeling in our project are, as mentioned in use-cases when passengers come to the railway station for ticket reservation according to their destination, available train, and desired seat in the different coaches of the train, all of these cases vary for each individual passenger. Now not all passengers come to the stations to reserve a ticket, but some of them come there to cancel their reserved tickets and then they get the given amount for the seat in return (refunding amount). Therefore, we used Interaction Modeling to see all the use-cases that will cover all of the different scenarios. Fig. 1: Use-Case Diagram for Booking and Cancelling tickets Similarly, the interaction model also defined by the sequence diagram which tells the life of each system components with a specific time duration. The time has been divided into the request being interchanging between the user and system. For our system, the sequence diagram below explains that how the passenger come to the operator and how the information goes to the database and then in case of seats availability, the admin collects the fare amount which is being told by the system. Then, admin enters the amount accepted and system of railway reservation save the information to the database and issued the ticket. Here you can
  • 4. see that the ‘sequential diagrams’ is easily demonstrating the detailed communication between different modules of our project. This is also showing almost complete workflow of our required system. Fig. 2: Sequence Diagram for Booking Ticket. Structural model: As our software is fully related to the object-oriented programming so we are using the structural modeling. With the help of this we are able to see structure of our whole software modules. We have made different classes and their interaction using the concept of OOP. Well a project with the implementation of fully object-oriented model consists of class diagrams. So, we made classes and then made class diagrams. These class diagrams and their attributes are shown in a particular manner. And these classes have somewhat association (relationship) with each other according to basic functionality of our system. Another major aspect/part of Structural model is Generalization. In our case, we generalized some attributes to reduce redundancy but this is on very small scale in our project.
  • 5. Fig. 3: Classes for Railway Ticket Reservation System. Above classes has relations with each other. Because of object orientation in our project classes have relation of associativity and aggregation. These relation specifications produce simplicity for us to manage and understand the software development process. Now, by using these classes we have made class diagrams in which all the relations are mentioned with the help of their representing symbols. See below the class diagram for above classes.
  • 6. Fig. 4: Class Diagram showing the relation between all the classes. System Architecture Design Pipe and Filter architecture: As our model is sequential. So, we are using pipe and filter architecture for our system. In railway reservation system, at every step there is a condition needed. If something occurs then do next step. Similarly, if train is available and seat is available then passenger ask for entry. When he has been asked for his information for booking then he has to pay fare for ticket issuing. If he pays for it then system issued the ticket. Pros: ▪ Very understandable transformation of functional requirements. ▪ We can easily see how our transactions are transferring from one end to another. ▪ Input and Output workflow can easily be analyzed in our case. Cons: ▪ For displaying info at screen, we have to follow some specific format which will increase the time required for development.
  • 7. ▪ For communication between different functional components, we have to keep check on input types being received so that there is no problem because there are large number of conversions e.g. int to str or vice versa and etc. Therefore, parsing is required for this purpose. Fig. 5: Pipe and Filter Architecture for Railway Reservation System Layered Architecture: This architecture is properly fits in our system. As there are divisions in this architecture, similarly our model is also having divisions. Showing the model by picture we can get more understanding about it. Pros: It is perfectly fitting in our case as we are dealing with different layer. Some of major pros are as follows: ▪ It fulfills our nonfunctional requirement (Security) as authentication and authorization on each level is required in our case for each transaction. ▪ It enhances and supports incremental approach as we can add another layer for the new requirements. ▪ Its hierarchical structure made us easy to write code according to OOP. Cons: ▪ Performance can be compromised because of multiple levels of interpretation of a service request as it is processed at each layer. So, there is probability that transaction time will increase here. ▪ Dependency issues will increase as layers are communicating with each other so single failure or one corrupt layer can crash our system instantly.
  • 8. Fig. 6: Layered Architecture of Railway Reservation System. Client - Server Architecture: This architecture is properly fits in our system. As there are divisions in this architecture, similarly our model is also having divisions. Showing the model by picture we can get more understanding about it. Pros: ▪ easy to manage ▪ security Cons: ▪ Server may not be able to handle too much requests that may cause server to down. ▪ Since its centralized if a critical server fails, client requests are not accomplished.
  • 9. Fig. 7: Client Server Architecture of Railway Reservation System Repository architecture This is architecture will not be implemented in our case the reason is that we are dealing with a system that is working on only in one place, in short, we don’t have to share large data from one system to another system according to our requirements. That is why repository architecture is not useful for us. Model view Controller: Similarly, this architecture model is also not fitting in our project. Because we can’t make a separate view and controller so that we can view and then update our software. Reason is very simple, we are using incremental approach so we will go module by module and if something goes wrong or some up gradations are required then we simple go to source code and change them, so there is no role of controller here.