SlideShare a Scribd company logo
2014
Ankur Gupta
Project Design Report
IST 659-Data Admin Concepts & DB Mgmt.
Professor- Yun Huang
Centro Bus Transit Message Centre
Abstract: The project focuses on helping the Syracuse
(Central New York Regional Transportation Authority
(Centro) Bus transit system by creating an online database
and connect all the residents via mobile and online
website, considering the recent trend, to enable the cell
phones users to receive a text message when your bus is
approaching your stop.
Ankur Gupta: 416169524
IST 659- Data admin concepts & DB Mgmt.
CENTRO Bus Transit Message Center: Project Summary
Background
The Centro bus information system is currently running with the help of manual posters, flyers,
online pdf files and images for the bus routes/timings and there is no database system which can
be collaborated with a mobile application and can be made easily accessible to users. These flyers
are freely available on the http://www.centro.org as well as at many public destinations such as
Destiny USA (shopping mall), Wal-Mart and some community centers across the city.
The traditional backend database system for this website is used by Centro organization is
currently limited to its internal organization and its services. Whereas, the day to day commuters
face a lot of problem in accessing the bus routes/timings, as the information is available only via
pdf’s or on website. Also, users have to carry the Centro manual maps with them while travelling
or in their phones in form of pdf’s.
According to an online survey created by me at http://soorvey.com/en/?s=1C27KYLIRNQ, to which
more than 70 users have responded, 76% of users rides a Centro bus more than 10 times a
month. The survey results clearly displayed that only 9% users are currently satisfied with the
information provided to them and 44% user demands improvement in the current system
where 46% of users are not at all satisfied by the information services provided to them.
Proposed Solution
1. User can create its profile by signing up and entering its Identity details, Living area,
details. User can search for the bus routes and timings.
2. User can add his day to day schedule routes by entering the Source, destination, boarding
time, reaching time, day, and month.
3. User can just enter the destination details and system will automatically pick up his
location and will give him details about the nearest stop name along with the best suitable
bus timings.
4. The database system will take input of the user preferences such as travelled routes, bus
stops. Centro services will send the email/ text messages according to the users need.
5. The system will track the real time information according to the user’s geographical
location and is not only dependent on the data entered by the user. It will be helpful as
most of the times the university students have to take an unplanned bus, because of
varying course schedules and group activities and seminars. The system should be
integrated with each bus stop geographical location in order to enhance the transport
experience.
6. The system will suggest the user about the best available route for his destination.
7. Current system will provide information about the delay in the bus schedule. Integration
of the traffic, weather, special events and other uncontrollable circumstances.
Ankur Gupta: 416169524
IST 659- Data admin concepts & DB Mgmt.
Tables & Related Attributes:
DATA OBJECT : MSG_CENTRO
This database contains all the tables and relations that together build the Centro Bus
Messaging System.
Table Name Attributes Data Type Other Properties
User_Details User_Id (Primary Key) Number(10) -Required, Auto generated,
-Must be ten digits
Full_Name Varchar(20) -Required
Age Number(3) -Not Required
Address Varchar(100) -Not Required
Email Varchar(30) -Required
Phone_Number Varchar(12) -Required
Card_Type Varchar(20) -Required
Rider_Card User_Id (Primary &
Foreign Key)
Number(10) -Required, -Auto generated
-Must be ten digits
Card_Description Varchar(100) -Not Required
Card_Expiry_Date Varchar(20) -Not Required
Account_Balance Varchar(20) -Required
Last_Recharge_Amount Varchar(20) -Not Required
Monthly_Card User_Id (Primary &
Foreign Key)
Number(10) -Required, can’t be null
-Must be ten digits
-Auto generated
Card_Description Varchar(100) -Not Required
Card_Expiry_Date Varchar(20) -Not Required
Account_Balance Varchar(20) -Required
Last_Recharge_Amount Varchar(20) -Not Required
User_Favourite_S
top
User_Id (Primary &
Foreign Key)
Number(10) -Required, can’t be null
-Must be ten digits
-Auto generated
Stop_Number (Primary Key) Varchar(20) -Required, can’t be null
Pattern<Stop_Initials><Number>
<City Initials >
Stop_Name Varchar(20) -Required
Stop_Location Varchar(20) -Required
User_Message_B
ox
Message_Title Varchar(20) -Required
Message_Name Varchar(100) -Not Required
Message_Text Varchar(100) -Required
Sender_Details Varchar(20) -Required
User_Id (Foreign Key) Number(10) -Required
Time_Received(Primary
Key)
Varchar(20) -Required
User_Login User_Id (Foreign Key) Number(10) -Required, can’t be null
-Must be ten digits
-Auto generated
Email_Id Varchar(30) -Required
Ankur Gupta: 416169524
IST 659- Data admin concepts & DB Mgmt.
Password Varchar(20) -Required
Last_Login Varchar(20) -No Required
Bus_Stop_Details Stop_Number (Primary
Key)
Varchar(20) -Required, can’t be null
Pattern<Stop_Initials><Number>
<City Initials >
Stop_Name Varchar(20) -Required
Stop_Location Varchar(20) -Required
X_Coordinate Number(10) -Required(on scale of graph
created)
Y_Coordinate Number(10) -Required(on scale of graph
created)
Bus_Schedule Stop_Number Varchar(20) -Required, can’t be null
Pattern<Stop_Initials><Number>
<City Initials >
Route_Number Varchar(20) -Required
-Should follow the pattern
<Route000>… <Route999>
Route_Direction Varchar(20) -Required
Reach_Time Number(4) -Required
Bus_Details Bus_Number(Primary
Key)
Varchar(20) -Required
-Should follow the pattern
<SYR0001>…<SYR9999>
Route_Number(Foreign
Key)
Varchar(20) -Required
-Should follow the pattern
<Route000>… <Route999>
Driver_Name Varchar(20) -Not required
Bus_Capacity Number(3) -Not Required
Route_Direction Varchar(20) -Required
Route_Details Route_Number(Primar
y Key)
Varchar(20) -Required
-Should follow the pattern
<Route000>… <Route999>
Route_Name Varchar(20) -Required
Route_Direction Varchar(20) -Required
Start_Point Varchar(20) -Required
End_Point Varchar(20) -Required
Start_Time Number(4) -Required (In 0000 to 2400hrs)
End_time Number(4) -Required (In 0000 to 2400hrs)
Total_Duration Number(4) -Required -In Minutes
User_Message_Ce
nter
Message_Title(Primary) Varchar(20) -Required
Message_Name Varchar(100) -Not Required
Message_Text Varchar(100) -Required
Sender_Details Varchar(20) -Required
Ankur Gupta: 416169524
IST 659- Data admin concepts & DB Mgmt.
Relational Data Model:
Ankur Gupta: 416169524
IST 659- Data admin concepts & DB Mgmt.
System Internal Architecture: This diagram represents the method for finding the
nearest bus stop for the user using the X and Y coordinates.
200, 1440
Centro
Transit Hub
1480, 1440
Forman Ave
1480, 960
Irving Ave
1800, 960
University
Place
2120, 960
Ernie Davis
2120, 480
College Place
2120, 320
Ostrom Ave.
2760, 320
Sumner Ave.
3400, 320
Westcott Street
1700, 700
User 1
800, 1200
User 2
3000, 400
User 3
3200, 200
User 4
0
200
400
600
800
1000
1200
1400
1600
0 500 1000 1500 2000 2500 3000 3500 4000
YAXIS-INMETERS
X AXIS - IN METERS
Centro Bus Map
Ankur Gupta: 416169524
IST 659- Data admin concepts & DB Mgmt.
Method for finding the nearest bus stop
Whenever a user requests for a bus details. The system will pick up user’s geographical location using his
GPS (In this case manual data is used). Then system will use the user’s location to find out the nearest bus
stop for that user. System is using the displacement theorem where each bus stop from database is
compared against the user’s location and the smallest value is returned.
Dummy User Data:
User1: Location -> (1700, 700), Time = 1000 Hrs.
User2: Location -> (800, 1200), Time = 2200 Hrs.
User3: Location -> (3000, 400), Time = 1450 Hrs.
User4: Location -> (3200, 200), Time = 1110 Hrs.
Calculation of Nearest Bus Stop for User1 at (1700, 700):
Distance from Centro Transit Hub = User 1 (1700, 700) and Centro Transit Hub (200, 1440) = >
= 1672.6028
Similarly finding the distance from other bus stops as well:
Distance from Centro Transit Hub(200,1440) 1672.6028
Distance from Forman Ave (1480, 1440) 772
Distance from Irving Ave (1480, 960) 340
Distance from University Place (1800, 960) 278 (Lowest)
Distance from Ernie Davis (2120, 960) 493.96
Distance from College Place (2120, 480) 474.13
Distance from Ostrom Ave (2120, 320) 566.39
Distance from Sumner Ave (2760, 320) 1126.05
Distance from Westcott Street (3400, 320) 1741.95
Business Rules:
1. User can Start or Stop the bus service if he wants. Also the initial status of a message
service is ‘active’ for all users.
2. User can see a maximum of 3 best suitable bus timings according to the location
entered by him/her.
3. A user can have only one User ID corresponding to an email address.
4. A user can be issues more than one Bus pass.
Ankur Gupta: 416169524
IST 659- Data admin concepts & DB Mgmt.
5. Once the card is expired, User needs to renew the card. Also, User can check the
balance amount on each of his card.
6. A bus is supposed to run only on a single route and may be in both the directions.
Major Data Questions:
Who will send a Query?
1. Any user with a bus card can use the mobile application. The user has to input only the
destination where user wants to go. The system will calculate the time, and his
geographical location.
2. Admin can ask the system to send the message to a particular user and the system will
automatically send out the message whenever a user requests a bus details.
What Queries can be sent to the system?
1. User can ask the system to fetch the details of latest bus from his nearest stop by only
entering his destination.
2. The system will check the user’s current geographical location and then finds out the
nearest bus stop for the user.
3. The system will find out the most recent bus from that bus stop to the user’s defined
destination.
4. User can ask the admin to start and stop a bus messaging service.
5. User can query the system to fetch out the details of a favorite bus stop added by him
and then can ask for the buses timing from that bus stop.
6. User can check the balance on his bus card and the last recharge amount.
7. User can enter the bus route number and system will fetch the all route details along
with the bus stops with the stop timings on that route.
8. User can check the details of a particular bus. The system will fetch the driver name, Bus
capacity and its route direction.
9. A user can fetch all the details of a particular route. The system will fetch the Route
Name, route direction, and the bus number going on that route.
10. The system will fetch the start time and end time of a route along with the start stop
and the end stop.
11. The admin can manage the messaging system and can ask the system to send out the
messages to the user for user’s destination. The system will send the message title, the
text of the message and the sender’s details along with the time stamp.
12. The user can login into the system and check for all the messages he has received till
date along with the receiving time, sender’s details and the message text.

More Related Content

PDF
Database Management System of Travel Co.
PDF
Hard copy of proj doc
DOCX
Online bus ticket booking
DOCX
Online Bus Ticket Reservation System
DOCX
Bus Ticket Management System Documentation
DOCX
food delivery website-1.docx
DOC
Bus Booking Management System
PDF
Online Food Order System for Restaurants.pdf
Database Management System of Travel Co.
Hard copy of proj doc
Online bus ticket booking
Online Bus Ticket Reservation System
Bus Ticket Management System Documentation
food delivery website-1.docx
Bus Booking Management System
Online Food Order System for Restaurants.pdf

What's hot (20)

PPTX
Mobile Phone Shop
PPTX
Dbms presentation!!
PPTX
Online Bus Reservatiom System
DOCX
Synopsis for Online Railway Railway Reservation System
DOC
Online e-voting
PDF
Railway Reservation System - Software Engineering
DOCX
Online votingsystem
PPT
Air line reservation system software engeniring
PDF
Gps enabled android application for bus
PPTX
Online shopping
DOCX
Hospital Management System
PPS
Project report on mobile shop management
PPTX
Online Railway Reservation System
PDF
Final year project working documentation 2020
DOC
Online Bus Reservation
DOC
Mini project report_on_online_shopping
PDF
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
DOCX
Online restaurant management system
DOCX
Documentation of railway reservation system
PDF
Bus Ticket Management System
Mobile Phone Shop
Dbms presentation!!
Online Bus Reservatiom System
Synopsis for Online Railway Railway Reservation System
Online e-voting
Railway Reservation System - Software Engineering
Online votingsystem
Air line reservation system software engeniring
Gps enabled android application for bus
Online shopping
Hospital Management System
Project report on mobile shop management
Online Railway Reservation System
Final year project working documentation 2020
Online Bus Reservation
Mini project report_on_online_shopping
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
Online restaurant management system
Documentation of railway reservation system
Bus Ticket Management System
Ad

Similar to Database project design report of Centro bus transit system (20)

PDF
GPRS Based Bus Monitoring System
PPTX
Mt croid
DOCX
Highway Terminal Station Information System
PDF
Highway Terminal Station Information System
PDF
Travel Management Application
DOCX
Introduction of smart bus transportation project @ IICDC 2016-2017
PPTX
Bus Tracking And Tracing System
PDF
University Buses Routing and Tracking System
PDF
UNIVERSITY BUSES ROUTING AND TRACKING SYSTEM
PDF
University Buses Routing and Tracking System
DOCX
Public Bus Tracking System EzTravel
PPTX
Online Bus Reservation System
PPTX
Real time bus information system
PPTX
Online travel booikng
PPTX
Online Bus Service
DOCX
DOC
30635395 synopsis-of-bus-information-system
PDF
IRJET- Electronic Ticketing for PMPML Buses
PDF
ROUTING AND TRACKING SYSTEM FOR BUSES
PDF
Routing and Tracking System for Buses
GPRS Based Bus Monitoring System
Mt croid
Highway Terminal Station Information System
Highway Terminal Station Information System
Travel Management Application
Introduction of smart bus transportation project @ IICDC 2016-2017
Bus Tracking And Tracing System
University Buses Routing and Tracking System
UNIVERSITY BUSES ROUTING AND TRACKING SYSTEM
University Buses Routing and Tracking System
Public Bus Tracking System EzTravel
Online Bus Reservation System
Real time bus information system
Online travel booikng
Online Bus Service
30635395 synopsis-of-bus-information-system
IRJET- Electronic Ticketing for PMPML Buses
ROUTING AND TRACKING SYSTEM FOR BUSES
Routing and Tracking System for Buses
Ad

Recently uploaded (20)

PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
01-Introduction-to-Information-Management.pdf
PDF
Updated Idioms and Phrasal Verbs in English subject
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
RMMM.pdf make it easy to upload and study
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Complications of Minimal Access Surgery at WLH
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Lesson notes of climatology university.
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Yogi Goddess Pres Conference Studio Updates
Final Presentation General Medicine 03-08-2024.pptx
01-Introduction-to-Information-Management.pdf
Updated Idioms and Phrasal Verbs in English subject
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
RMMM.pdf make it easy to upload and study
STATICS OF THE RIGID BODIES Hibbelers.pdf
Final Presentation General Medicine 03-08-2024.pptx
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Anesthesia in Laparoscopic Surgery in India
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
A systematic review of self-coping strategies used by university students to ...
Complications of Minimal Access Surgery at WLH
UNIT III MENTAL HEALTH NURSING ASSESSMENT
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Lesson notes of climatology university.
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
2.FourierTransform-ShortQuestionswithAnswers.pdf
Yogi Goddess Pres Conference Studio Updates

Database project design report of Centro bus transit system

  • 1. 2014 Ankur Gupta Project Design Report IST 659-Data Admin Concepts & DB Mgmt. Professor- Yun Huang Centro Bus Transit Message Centre Abstract: The project focuses on helping the Syracuse (Central New York Regional Transportation Authority (Centro) Bus transit system by creating an online database and connect all the residents via mobile and online website, considering the recent trend, to enable the cell phones users to receive a text message when your bus is approaching your stop.
  • 2. Ankur Gupta: 416169524 IST 659- Data admin concepts & DB Mgmt. CENTRO Bus Transit Message Center: Project Summary Background The Centro bus information system is currently running with the help of manual posters, flyers, online pdf files and images for the bus routes/timings and there is no database system which can be collaborated with a mobile application and can be made easily accessible to users. These flyers are freely available on the http://www.centro.org as well as at many public destinations such as Destiny USA (shopping mall), Wal-Mart and some community centers across the city. The traditional backend database system for this website is used by Centro organization is currently limited to its internal organization and its services. Whereas, the day to day commuters face a lot of problem in accessing the bus routes/timings, as the information is available only via pdf’s or on website. Also, users have to carry the Centro manual maps with them while travelling or in their phones in form of pdf’s. According to an online survey created by me at http://soorvey.com/en/?s=1C27KYLIRNQ, to which more than 70 users have responded, 76% of users rides a Centro bus more than 10 times a month. The survey results clearly displayed that only 9% users are currently satisfied with the information provided to them and 44% user demands improvement in the current system where 46% of users are not at all satisfied by the information services provided to them. Proposed Solution 1. User can create its profile by signing up and entering its Identity details, Living area, details. User can search for the bus routes and timings. 2. User can add his day to day schedule routes by entering the Source, destination, boarding time, reaching time, day, and month. 3. User can just enter the destination details and system will automatically pick up his location and will give him details about the nearest stop name along with the best suitable bus timings. 4. The database system will take input of the user preferences such as travelled routes, bus stops. Centro services will send the email/ text messages according to the users need. 5. The system will track the real time information according to the user’s geographical location and is not only dependent on the data entered by the user. It will be helpful as most of the times the university students have to take an unplanned bus, because of varying course schedules and group activities and seminars. The system should be integrated with each bus stop geographical location in order to enhance the transport experience. 6. The system will suggest the user about the best available route for his destination. 7. Current system will provide information about the delay in the bus schedule. Integration of the traffic, weather, special events and other uncontrollable circumstances.
  • 3. Ankur Gupta: 416169524 IST 659- Data admin concepts & DB Mgmt. Tables & Related Attributes: DATA OBJECT : MSG_CENTRO This database contains all the tables and relations that together build the Centro Bus Messaging System. Table Name Attributes Data Type Other Properties User_Details User_Id (Primary Key) Number(10) -Required, Auto generated, -Must be ten digits Full_Name Varchar(20) -Required Age Number(3) -Not Required Address Varchar(100) -Not Required Email Varchar(30) -Required Phone_Number Varchar(12) -Required Card_Type Varchar(20) -Required Rider_Card User_Id (Primary & Foreign Key) Number(10) -Required, -Auto generated -Must be ten digits Card_Description Varchar(100) -Not Required Card_Expiry_Date Varchar(20) -Not Required Account_Balance Varchar(20) -Required Last_Recharge_Amount Varchar(20) -Not Required Monthly_Card User_Id (Primary & Foreign Key) Number(10) -Required, can’t be null -Must be ten digits -Auto generated Card_Description Varchar(100) -Not Required Card_Expiry_Date Varchar(20) -Not Required Account_Balance Varchar(20) -Required Last_Recharge_Amount Varchar(20) -Not Required User_Favourite_S top User_Id (Primary & Foreign Key) Number(10) -Required, can’t be null -Must be ten digits -Auto generated Stop_Number (Primary Key) Varchar(20) -Required, can’t be null Pattern<Stop_Initials><Number> <City Initials > Stop_Name Varchar(20) -Required Stop_Location Varchar(20) -Required User_Message_B ox Message_Title Varchar(20) -Required Message_Name Varchar(100) -Not Required Message_Text Varchar(100) -Required Sender_Details Varchar(20) -Required User_Id (Foreign Key) Number(10) -Required Time_Received(Primary Key) Varchar(20) -Required User_Login User_Id (Foreign Key) Number(10) -Required, can’t be null -Must be ten digits -Auto generated Email_Id Varchar(30) -Required
  • 4. Ankur Gupta: 416169524 IST 659- Data admin concepts & DB Mgmt. Password Varchar(20) -Required Last_Login Varchar(20) -No Required Bus_Stop_Details Stop_Number (Primary Key) Varchar(20) -Required, can’t be null Pattern<Stop_Initials><Number> <City Initials > Stop_Name Varchar(20) -Required Stop_Location Varchar(20) -Required X_Coordinate Number(10) -Required(on scale of graph created) Y_Coordinate Number(10) -Required(on scale of graph created) Bus_Schedule Stop_Number Varchar(20) -Required, can’t be null Pattern<Stop_Initials><Number> <City Initials > Route_Number Varchar(20) -Required -Should follow the pattern <Route000>… <Route999> Route_Direction Varchar(20) -Required Reach_Time Number(4) -Required Bus_Details Bus_Number(Primary Key) Varchar(20) -Required -Should follow the pattern <SYR0001>…<SYR9999> Route_Number(Foreign Key) Varchar(20) -Required -Should follow the pattern <Route000>… <Route999> Driver_Name Varchar(20) -Not required Bus_Capacity Number(3) -Not Required Route_Direction Varchar(20) -Required Route_Details Route_Number(Primar y Key) Varchar(20) -Required -Should follow the pattern <Route000>… <Route999> Route_Name Varchar(20) -Required Route_Direction Varchar(20) -Required Start_Point Varchar(20) -Required End_Point Varchar(20) -Required Start_Time Number(4) -Required (In 0000 to 2400hrs) End_time Number(4) -Required (In 0000 to 2400hrs) Total_Duration Number(4) -Required -In Minutes User_Message_Ce nter Message_Title(Primary) Varchar(20) -Required Message_Name Varchar(100) -Not Required Message_Text Varchar(100) -Required Sender_Details Varchar(20) -Required
  • 5. Ankur Gupta: 416169524 IST 659- Data admin concepts & DB Mgmt. Relational Data Model:
  • 6. Ankur Gupta: 416169524 IST 659- Data admin concepts & DB Mgmt. System Internal Architecture: This diagram represents the method for finding the nearest bus stop for the user using the X and Y coordinates. 200, 1440 Centro Transit Hub 1480, 1440 Forman Ave 1480, 960 Irving Ave 1800, 960 University Place 2120, 960 Ernie Davis 2120, 480 College Place 2120, 320 Ostrom Ave. 2760, 320 Sumner Ave. 3400, 320 Westcott Street 1700, 700 User 1 800, 1200 User 2 3000, 400 User 3 3200, 200 User 4 0 200 400 600 800 1000 1200 1400 1600 0 500 1000 1500 2000 2500 3000 3500 4000 YAXIS-INMETERS X AXIS - IN METERS Centro Bus Map
  • 7. Ankur Gupta: 416169524 IST 659- Data admin concepts & DB Mgmt. Method for finding the nearest bus stop Whenever a user requests for a bus details. The system will pick up user’s geographical location using his GPS (In this case manual data is used). Then system will use the user’s location to find out the nearest bus stop for that user. System is using the displacement theorem where each bus stop from database is compared against the user’s location and the smallest value is returned. Dummy User Data: User1: Location -> (1700, 700), Time = 1000 Hrs. User2: Location -> (800, 1200), Time = 2200 Hrs. User3: Location -> (3000, 400), Time = 1450 Hrs. User4: Location -> (3200, 200), Time = 1110 Hrs. Calculation of Nearest Bus Stop for User1 at (1700, 700): Distance from Centro Transit Hub = User 1 (1700, 700) and Centro Transit Hub (200, 1440) = > = 1672.6028 Similarly finding the distance from other bus stops as well: Distance from Centro Transit Hub(200,1440) 1672.6028 Distance from Forman Ave (1480, 1440) 772 Distance from Irving Ave (1480, 960) 340 Distance from University Place (1800, 960) 278 (Lowest) Distance from Ernie Davis (2120, 960) 493.96 Distance from College Place (2120, 480) 474.13 Distance from Ostrom Ave (2120, 320) 566.39 Distance from Sumner Ave (2760, 320) 1126.05 Distance from Westcott Street (3400, 320) 1741.95 Business Rules: 1. User can Start or Stop the bus service if he wants. Also the initial status of a message service is ‘active’ for all users. 2. User can see a maximum of 3 best suitable bus timings according to the location entered by him/her. 3. A user can have only one User ID corresponding to an email address. 4. A user can be issues more than one Bus pass.
  • 8. Ankur Gupta: 416169524 IST 659- Data admin concepts & DB Mgmt. 5. Once the card is expired, User needs to renew the card. Also, User can check the balance amount on each of his card. 6. A bus is supposed to run only on a single route and may be in both the directions. Major Data Questions: Who will send a Query? 1. Any user with a bus card can use the mobile application. The user has to input only the destination where user wants to go. The system will calculate the time, and his geographical location. 2. Admin can ask the system to send the message to a particular user and the system will automatically send out the message whenever a user requests a bus details. What Queries can be sent to the system? 1. User can ask the system to fetch the details of latest bus from his nearest stop by only entering his destination. 2. The system will check the user’s current geographical location and then finds out the nearest bus stop for the user. 3. The system will find out the most recent bus from that bus stop to the user’s defined destination. 4. User can ask the admin to start and stop a bus messaging service. 5. User can query the system to fetch out the details of a favorite bus stop added by him and then can ask for the buses timing from that bus stop. 6. User can check the balance on his bus card and the last recharge amount. 7. User can enter the bus route number and system will fetch the all route details along with the bus stops with the stop timings on that route. 8. User can check the details of a particular bus. The system will fetch the driver name, Bus capacity and its route direction. 9. A user can fetch all the details of a particular route. The system will fetch the Route Name, route direction, and the bus number going on that route. 10. The system will fetch the start time and end time of a route along with the start stop and the end stop. 11. The admin can manage the messaging system and can ask the system to send out the messages to the user for user’s destination. The system will send the message title, the text of the message and the sender’s details along with the time stamp. 12. The user can login into the system and check for all the messages he has received till date along with the receiving time, sender’s details and the message text.