SlideShare a Scribd company logo
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.

More Related Content

What's hot

Online Hostel Management System Proposal
Online Hostel Management System Proposal Online Hostel Management System Proposal
Online Hostel Management System Proposal
farhanamusthafa
 
srs for railway reservation system
 srs for railway reservation system srs for railway reservation system
srs for railway reservation system
khushi kalaria
 
Railway reservation system
Railway reservation systemRailway reservation system
Railway reservation system
KOYELMAJUMDAR1
 
Online reservation system project report(web development)
Online reservation system project report(web development)Online reservation system project report(web development)
Online reservation system project report(web development)
Prachiverma50
 
vehicle management system project report
vehicle management system project reportvehicle management system project report
vehicle management system project report
Ashik Khan
 
Online Examination System Project report
Online Examination System Project report Online Examination System Project report
Online Examination System Project report
SARASWATENDRA SINGH
 
Online Railway Reservation System
Online Railway Reservation SystemOnline Railway Reservation System
Online Railway Reservation System
Sanjay Saluth
 
online room booking system
online room booking systemonline room booking system
online room booking system
manuchinna
 
Software Requirements Specification for restaurant management system
Software Requirements Specification for restaurant management systemSoftware Requirements Specification for restaurant management system
Software Requirements Specification for restaurant management system
SM. Aurnob
 
SRS on airline reservation system
SRS on airline reservation system SRS on airline reservation system
SRS on airline reservation system
VikasSingh958
 
ONLINE HOTEL MANAGEMENT SYSTEM
ONLINE HOTEL MANAGEMENT SYSTEMONLINE HOTEL MANAGEMENT SYSTEM
ONLINE HOTEL MANAGEMENT SYSTEM
Abid Shaikh
 
Airline reservation system
Airline reservation system Airline reservation system
Airline reservation system
krishnayadav962132
 
online bus ticket booking system
online bus ticket booking systemonline bus ticket booking system
online bus ticket booking system
Umme habiba
 
Hotel management
Hotel managementHotel management
Hotel management
Arman Ahmed
 
Library management system
Library management systemLibrary management system
Library management systemashu6
 
Student feedback system
Student feedback systemStudent feedback system
Student feedback system
shindept123
 
Srs (Software Requirement Specification Document)
Srs (Software Requirement Specification Document) Srs (Software Requirement Specification Document)
Srs (Software Requirement Specification Document)
Fatima Qayyum
 
tour management system
tour management systemtour management system
tour management system
Khwaja Yunus Ali Medical University
 
ER diagrams for Railway reservation system
ER diagrams for Railway reservation systemER diagrams for Railway reservation system
ER diagrams for Railway reservation system
Soham Nanekar
 

What's hot (20)

Online Hostel Management System Proposal
Online Hostel Management System Proposal Online Hostel Management System Proposal
Online Hostel Management System Proposal
 
srs for railway reservation system
 srs for railway reservation system srs for railway reservation system
srs for railway reservation system
 
Railway reservation system
Railway reservation systemRailway reservation system
Railway reservation system
 
Online reservation system project report(web development)
Online reservation system project report(web development)Online reservation system project report(web development)
Online reservation system project report(web development)
 
vehicle management system project report
vehicle management system project reportvehicle management system project report
vehicle management system project report
 
Online Examination System Project report
Online Examination System Project report Online Examination System Project report
Online Examination System Project report
 
Online Railway Reservation System
Online Railway Reservation SystemOnline Railway Reservation System
Online Railway Reservation System
 
online room booking system
online room booking systemonline room booking system
online room booking system
 
Software Requirements Specification for restaurant management system
Software Requirements Specification for restaurant management systemSoftware Requirements Specification for restaurant management system
Software Requirements Specification for restaurant management system
 
SRS on airline reservation system
SRS on airline reservation system SRS on airline reservation system
SRS on airline reservation system
 
ONLINE HOTEL MANAGEMENT SYSTEM
ONLINE HOTEL MANAGEMENT SYSTEMONLINE HOTEL MANAGEMENT SYSTEM
ONLINE HOTEL MANAGEMENT SYSTEM
 
Airline reservation system
Airline reservation system Airline reservation system
Airline reservation system
 
online bus ticket booking system
online bus ticket booking systemonline bus ticket booking system
online bus ticket booking system
 
Hotel management
Hotel managementHotel management
Hotel management
 
Online Railway reservation
Online Railway reservationOnline Railway reservation
Online Railway reservation
 
Library management system
Library management systemLibrary management system
Library management system
 
Student feedback system
Student feedback systemStudent feedback system
Student feedback system
 
Srs (Software Requirement Specification Document)
Srs (Software Requirement Specification Document) Srs (Software Requirement Specification Document)
Srs (Software Requirement Specification Document)
 
tour management system
tour management systemtour management system
tour management system
 
ER diagrams for Railway reservation system
ER diagrams for Railway reservation systemER diagrams for Railway reservation system
ER diagrams for Railway reservation system
 

Similar to System Modeling And Achitecture Design

Railway Reservation System - Requirement Engineering
Railway Reservation System - Requirement EngineeringRailway Reservation System - Requirement Engineering
Railway Reservation System - Requirement Engineering
Danish Javed
 
Online spice selling report1
Online spice selling report1Online spice selling report1
Online spice selling report1
manasvi sarkar
 
U mobile
U mobileU mobile
U mobile
DivyaSure
 
Report on online bus management
Report on online bus managementReport on online bus management
Report on online bus management
Naeem Ahmad
 
Software Engineering ppt
Software Engineering pptSoftware Engineering ppt
Software Engineering pptshruths2890
 
Case study of spiral process model
Case study of spiral process  modelCase study of spiral process  model
Case study of spiral process modelminal kumar soni
 
Documentation of railway reservation system
Documentation of railway reservation systemDocumentation of railway reservation system
Documentation of railway reservation systemSandip Murari
 
Project synopsis.
Project synopsis.Project synopsis.
Project synopsis.
ssuser3bb83f1
 
Railway tracking system
Railway tracking systemRailway tracking system
Railway tracking system
MustafaQaiser1
 
Sw engg l4_requirements_case_study
Sw engg l4_requirements_case_studySw engg l4_requirements_case_study
Sw engg l4_requirements_case_studyMahima Bhave
 
Online bus ticket booking
Online bus ticket bookingOnline bus ticket booking
Online bus ticket booking
Gaurav kumar rai - student
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagramsMir Majid
 
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
Dinesh Nalluri
 
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...
IRJET Journal
 
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
memonsana
 
Bus information live monitoring system
Bus information live monitoring systemBus information live monitoring system
Bus information live monitoring system
Venkat Projects
 
Software Engineering Testing & Research
Software Engineering Testing & Research Software Engineering Testing & Research
Software Engineering Testing & Research
Vrushali Lanjewar
 
ppt-20.06.24.pptx ghyyuuuygrfggtyghffhhhh
ppt-20.06.24.pptx ghyyuuuygrfggtyghffhhhhppt-20.06.24.pptx ghyyuuuygrfggtyghffhhhh
ppt-20.06.24.pptx ghyyuuuygrfggtyghffhhhh
shaikfahim2127
 
online national polling
online national pollingonline national polling
online national polling
Kasi Annapurna
 
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
kiruthikamurugesan2628
 

Similar to System Modeling And Achitecture Design (20)

Railway Reservation System - Requirement Engineering
Railway Reservation System - Requirement EngineeringRailway Reservation System - Requirement Engineering
Railway Reservation System - Requirement Engineering
 
Online spice selling report1
Online spice selling report1Online spice selling report1
Online spice selling report1
 
U mobile
U mobileU mobile
U mobile
 
Report on online bus management
Report on online bus managementReport on online bus management
Report on online bus management
 
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
 
Online bus ticket booking
Online bus ticket bookingOnline bus ticket booking
Online bus ticket booking
 
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
 

Recently uploaded

Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Hivelance Technology
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
KrzysztofKkol1
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
IES VE
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
ayushiqss
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 

Recently uploaded (20)

Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 

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.