Professional Documents
Culture Documents
BY
MANISH NEUPANE
1
ABSTRACT
Real-Time public bus tracking application is a mobile-based application developed for the
public transportation user to know the public bus routes, track live bus location on that
route, and pay bus fare using integrated digital wallet of the application. Users can look for
the name list of bus stand, look for the bus route based on current location. The system also
provides a facility for the transportation services provider i.e., driver or bus owner to create
their profile and provide a necessary document to register in the application so that the live
location of the bus is collected from the mobile-based GPS(Global Positioning System)
owned by the driver or conductor and such update is sent to user devices through a real-
time database. The first chapter explains the introductions of the system with problems
statements, objectives, project scope, methodology, and development tools. The second
chapter consists of a literature review which includes background study, a similar feature of
the common system at least four, their comparison table. The third chapter is basically
about software methodology and tools used in developing the system.
2
ACKNOWLEDGEMENT
3
APPROVAL
We have reviewed this exposition to ensure that it complies with the requirements of the
Bachelor of Computer Science BCS program and the school (Hons.)
4
AGREEMENT
Students must present their chapter assignments to their assigned supervisor at the
end of each task.
Students must ensure that they understand how and when to show their work.
Students who miss deadlines due to illness must present an original (not a copy)
clinical evidence to the instructor on the first day back after a long absence.
Students who seek sympathetic thought should provide a memorial service
statement, eulogy, specialist's authentication or death testament, or other
appropriate evidence.
Students Declaration
I declare that this project is entirely my own work, free of plagiarism or conspiracy,
and that it will be graded as Failed if plagiarism or conspiracy is discovered.
It doesn't include any of my previous work unless this is stated.
I'm aware that any breach of these rules will be deemed cheating and will result in a
Failed grade.
I'm aware that all the materials submitted beyond the deadline will be acknowledge,
but no grades will be awarded.
I've prepared a hard copy and an electronic replica of my task, which I can recreate
if the original is lost in any manner.
Once I drop the IT Project subject, this declaration will be naturally erased.
5
DECLARATION
I certify that this project report and the research to which it refers are the result of my
efforts, and that any recommendations or statements based on other people's work, whether
authored or not, are regarded as Client-server in violation of the discipline's normal
reference procedures.
6
TABLE OF CONTENTS
TITLE PAGE...........................................................................................................................i
ABSTRACT............................................................................................................................ii
ACKNOWLEDGEMENT.....................................................................................................iii
APPROVAL..........................................................................................................................iv
AGREEMENT........................................................................................................................v
DECLARATION...................................................................................................................vi
TABLE OF CONTENTS......................................................................................................vii
LIST OF FIGURES..............................................................................................................xii
LIST OF TABLES...............................................................................................................xiv
LIST OF ABBREVIATIONS.................................................................................................1
CHAPTER 1...........................................................................................................................2
INTRODUCTION..................................................................................................................2
1.1 Introduction...................................................................................................................2
1.2 Problem Statement........................................................................................................2
1.3 Objective.......................................................................................................................3
1.4 Scope.............................................................................................................................3
1.4.1 User Scope..............................................................................................................3
1.4.2 System Scope..........................................................................................................3
1.4.3 Constraints..............................................................................................................3
1.5 Methodology.................................................................................................................4
1.5.1 Mobile GPS or Assisted GPS (A-GPS)..................................................................4
1.5.2 Digital Wallet integration.......................................................................................4
1.5.3 Google Maps...........................................................................................................4
1.5.6 Firebase as Real-Time Database.............................................................................5
1.6. Development Tools......................................................................................................5
1.6.1 Python.....................................................................................................................5
1.6.2. Kivy.......................................................................................................................5
7
1.6.2. Firebase..................................................................................................................5
1.6.3 Visual Studio Code.................................................................................................6
1.6.4 Google Drive..........................................................................................................6
1.7 Outline...........................................................................................................................6
1.8 Conclusion.....................................................................................................................6
CHAPTER 2...........................................................................................................................7
LITERATURE REVIEW.......................................................................................................7
2.1 Introduction...................................................................................................................7
2.2 Background study..........................................................................................................8
2.3 Research of similar system............................................................................................8
2.3.1 A Mobile Application for Bus Information System and Location Tracking using
Client-Server Technology................................................................................................8
2.3.2 Real-Time Web-Based Bus Tracking System........................................................9
2.3.3 BusMe: Automatic Bus Localization System and Route Registration...................9
2.3.4 Design and Developing Real-Time Interactive IIUC Bus Tracking System..........9
2.3.5 Real-Time Bus Position and Time Monitoring System..........................................9
2.4 Common features of the existing system...................................................................10
2.4.1 Live tracking of bus..............................................................................................10
2.4.2 Trip Planning........................................................................................................10
2.4.3 Notifications.........................................................................................................11
2.4.4 Favorites...............................................................................................................11
2.4.5 Nearby bus stops...................................................................................................12
2.5 Research on an existing similar application................................................................13
2.5.1 Chalo.....................................................................................................................13
2.5.2 Mero Sajha............................................................................................................13
2.5.3 GRTC....................................................................................................................13
2.5.4 Ride Smart Bus.....................................................................................................13
2.5.5 Moovit...................................................................................................................14
2.6 Comparison Table.......................................................................................................14
2.7 Conclusion...................................................................................................................16
CHPATER 3.........................................................................................................................18
METHODOLOGY................................................................................................................18
3.1 Introduction.................................................................................................................18
8
3.2 Agile Model.................................................................................................................18
3.3 Use Case Diagram.......................................................................................................20
3.4 Written Use Case.........................................................................................................21
3.4.1 User Registration..................................................................................................21
3.4.2 Validation.............................................................................................................21
3.4.3 Login.....................................................................................................................22
3.4.4 Look Routes List...................................................................................................23
3.4.5 Live Bus Location.................................................................................................23
3.4.6 Fare Payment........................................................................................................24
3.4.7 Driver Registration and add buses Details............................................................24
3.4.7 Update Bus Live Location....................................................................................25
3.5 Activity Diagram.........................................................................................................26
3.5.1 User Registration and Login.................................................................................26
3.5.2 Look Routes List...................................................................................................27
3.5.3 Live Bus Location.................................................................................................28
3.5.4 Fare Payment.......................................................................................................29
3.5.5 Driver Registration, Adding bus Details and Login.............................................30
3.5.6 Updating and Tracking Bus Live Location..........................................................31
3.5.7 User KYC Verification and Validation................................................................32
3.6 Sequence Diagram.......................................................................................................33
3.6.1 User Registration and Login.................................................................................33
3.6.2 Live Bus Tracking and fare payment....................................................................34
3.6.3 View Route List....................................................................................................35
3.6.4 Driver Registration and Adding bus Details.........................................................36
3.6.5 Updating and Tracking Bus Live Tracking..........................................................36
3.6.6 User KYC Verification and Validation................................................................37
3.7 Class Diagram.............................................................................................................39
3.8 Conclusion...................................................................................................................39
CHAPTER 4.........................................................................................................................40
INTERFACE.........................................................................................................................40
4.1 Introduction.................................................................................................................40
4.2 Interface Explained......................................................................................................40
9
4.2.1 Driver Registration...............................................................................................40
4.2.2 Driver Login.........................................................................................................41
4.2.3 Location Permission.............................................................................................42
4.2.4 Home Page :..........................................................................................................43
4.2.5 Driver Landing Page.............................................................................................44
4.2.6. User Landing Page...............................................................................................45
4.2.7 User Registration..................................................................................................46
4.2.8 User Login............................................................................................................47
4.2.9 Home page............................................................................................................48
4.2.10 Live Location......................................................................................................49
4.2.11 Payment Initiation Dialogue Box.......................................................................52
4.2.12 Digital Payment Integration................................................................................54
4.2.13 User KYC Verification Form.............................................................................55
4.2.14 View User KYC Details.....................................................................................58
4.2.15 View Bus Stand and Routes..............................................................................61
4.3 Conclusion...................................................................................................................63
CHAPTER 5.........................................................................................................................64
TESTING AND RESULT....................................................................................................64
5.1 Introduction.................................................................................................................64
5.2 Decision Table.............................................................................................................65
5.2.1 User Registration module.....................................................................................65
5.2.2 User Login module..............................................................................................67
5.2.3 Forgot Password Module......................................................................................70
5.2.4 Home Screen.........................................................................................................73
5.2.5 KYC Registration Module:...................................................................................74
5.2.6 Live Bus Location Module...................................................................................78
5.2.7 Digital Wallet Integration.....................................................................................79
5.2.8 Viewing Bus Routes and Bus Stop.......................................................................79
5.2.9 Driver Registration Module..................................................................................80
5.2.10 Driver Login Module..........................................................................................82
5.2.11 Location Tracking Module.................................................................................84
5.4 User Acceptance Testing.............................................................................................86
10
5.3.1 User acceptance testing procedures......................................................................86
5.3.2 Summary of Gathered Information.......................................................................86
5.3.3 Analysis of Gathered Information........................................................................87
5.5 Conclusion...................................................................................................................88
CHAPTER 6.........................................................................................................................89
CONCLUSION AND SUGGESTION.................................................................................89
6.1 Introduction.................................................................................................................89
6.2 Challenges...................................................................................................................89
6.3 Advantages of System.................................................................................................89
6.4 Disadvantage of System..............................................................................................90
6.5 Future Development....................................................................................................90
6.6 Conclusion...................................................................................................................90
REFERENCE........................................................................................................................90
APPENDICES : ACCEPTANCE TESTING RESPONSE DATA ANALYSIS..................93
APPENDICES : RESPONSE FORM...................................................................................94
11
LIST OF FIGURES
Figure Page Number
Figure 2.1 Literature Review Framework...............................................................................6
Figure 2.2 Chalo......................................................................................................................9
Figure 2.3 GRTC...................................................................................................................10
Figure 2.4 Moovit................................................................................................................10
Figure 2.5 Ride Smart Bus....................................................................................................11
Figure 2.6 Mero Sajha...........................................................................................................11
Figure 3.1 Agile Model.........................................................................................................18
Figure 3. 2 Use Case Diagram..............................................................................................19
12
Figure 4.2. 17 General Information Fill Up Form................................................................52
Figure 4.2. 18 Address Fill Up Form....................................................................................53
Figure 4.2. 19 Document Uploading Form...........................................................................54
Figure 4.2. 20 Profile View Navigation Drawer...................................................................55
Figure 4.2. 21 View Address Information............................................................................56
Figure 4.2. 22 View Uploaded Documents...........................................................................57
Figure 4.2. 23 Bus Stand List First view...............................................................................58
Figure 4.2. 24 Bus Stand List After Route Selection............................................................59
13
LIST OF TABLES
Table Page Number
Table 2.1 Feature comparison table of similar researched system..........................................................
Table 2.2 Feature comparison table of similar existing system...............................................................
14
LIST OF ABBREVIATIONS
GPS---Global Positioning System
A-GPS---Assisted Global Positioning System
GNSS---Global navigation satellite system
KYC---Know Your Customer
GRTC----Greater Richmond Transit Company
IIUC---Islamic University Chittagong Trust
API---Application Programming Interface
GUI---Graphical User Interface
UML---Unified Modelling Language
GSM---Global System for Mobile Communication
CDMA---Code Division Multiple Access
LTE---Long Term Evolution
15
CHAPTER 1
INTRODUCTION
1.1 Introduction
Technology advancement has made it possible for common people to get access to almost
every kind of information. It has made the lifestyle of people to be more qualitative by
integrating various tech components into one platform. This project also integrates different
tech-related components like GPS, API, and digital payment in one platform i.e., mobile
application to optimize all the public bus route information and digitalizing the bus fare
payment system to make it cashless, based on user i.e., partial fare payer and full fare
payer.
In today’s world, almost every person possesses a smartphone (According to the website
Statista the number of operating mobile devices worldwide is 15 billion as of 2021)
(Number of Mobile Devices Worldwide 2020-2025 | Statista, n.d.).Smartphone has various
features out of the GPS is also one of them. The main component of this project is GPS that
plays a vital role in locating the public buses on the routes mentioned by the user. After
locating the bus, the system will use the different APIs provided by Google maps to make
the system interactive and informative for any kind of user.
Nepal being a lower-middle economies(WB, 2019) country most of the people are not well
qualified with the income condition to possess a private bus. Likewise, in recent years, the
cost of bus oil has also been increasing so to travel with private buses in big cities like
Kathmandu middle-class people have to think twice. (Oil Price Hike in Nepal: Some
Critical Observations - MyRepublica - The New York Times Partner, Latest News of Nepal
in English, Latest News Articles, n.d.) Thus, public transportation can be the best option for
them to travel. This application is designed for the public transportation user making the
navigation system optimized, informative, easily accessible, and estimative.
16
1.3 Objective
1. To use the mobile-based GPS to obtain high accuracy on live location tracking.
2. To design public bus tracking application based on their daily riding routes.
3. To verify students, old age people and differently able people through (Know
Your Customer) KYC and categorized them as partial fare payer.
4. To facilitate the user with the easy route-specific navigation system.
5. To improve the accessibility of a user-based public bus fare payment system.
1.4 Scope
1. The system will provide the facility to create two types of accounts one for the
transportation services user and another for a provider.
2. The system will show real-time location of bus with the help of transportation
service provider or driver mobile-based GPS.
3. The system will allow the user to create their favorite lists of bus routes.
4. The system will transfer the bus fare after the confirmation is made from the
transportation service user to the service provider.
5. The system will categorize and verify both account holders i.e., transportation
services user and another for the service provider through the ( Know Your
Customer )KYC.
1.4.3 Constraints
1. The service user and provider phone should have internet access to use the system.
2. The service user and provider phone should be connected to GPS.
3. The user and provider must verify their accounts through the (Know Your
Customer) KYC form.
17
4. The application must perform real-time transactions of digital payment from the
user account to the service provider account according to the distance traveled.
1.5 Methodology
It gathers data from nearby cell towers and improves the performance of regular
GPS on cellular-connected mobile devices to provide location and time information
to any software that needs to use it.
Integration of digital wallets is done via APIs. Digital wallet vendors provide API
and authorization, which then is utilize to integrate the digital wallet into the
application through the API features.
This integrated digital wallet is designed to facilitate the application user with easy
fare payment based on the user category and their travelling distance. The public
transportation user and the service provider can perform different task related to the
payment. Transportation user can deposit money, ask for refund as well as view
their transactions details . Likewise, transportation service provider can withdraw
money to their respective verified bank accounts, and view the payment history
made by the traveler.
18
party websites and offers a locator for businesses and other organizations in
numerous countries around the world. (API, 2017)
In this application, Google Maps API provide the facility of returning the location
of device without relying on stand-alone GPS devices, using the built GPS of
mobile phone or geospatial data from cell towers. It helps to determine the routes, a
bus travels embedding simple map images on the application.
1.6.1 Python
1.6.2. Kivy
Kivy is a graphical user interface open-source Python library that will allow to
develop multi-platform applications on Windows, mac-Os, Android, iOS, Linux,
and Raspberry-Pi. (Kivy Tutorial - GeeksforGeeks, n.d.). It means this application
will be platform independent. Due to its own intermediate language called Kv
language, GUI widgets used in this application can be easily configured and
customized.
1.6.2. Firebase
19
define how data should be structured and when data can be read from or written to,
who has access to what data. (Firebase,n.d.)
Visual Studio Code is a streamlined code editor with support for development
operations like debugging, task running, and version control. (Microsoft,2020).
In this project this code editor is best tool because it is free to use and highly
compatible with using python language.
1.7 Outline
The proposed project consists of six chapters to provide a descriptive overview of all the
tasks and activities done to achieve the goal in a managed and scientific manner.
A brief description of each chapter is given below :
Introduction consists of an introductory view of the proposed project with the definition of
problems and the solution of the problem are defined as objective. There is a short
description of the methodology along with the technology and tools used for the
development of this project.
Literature Review deals with the analysis and comparison of the existing similar systems
and proposed systems. Review of different research, theory, concepts, ideology, and
opinions related to the title is done with valid proof of citations.
Methodology shows the justification of the selected methodology. In simple terms, it shows
the procedure and techniques used in the software development life cycle. It displays
different use case diagrams: its description, activity diagram, class diagram, sequence
diagram.
1.8 Conclusion
Introduction, problem statement, objective, project scope, methodology used in the project
are the main component of this section. The introduction part deals with a short
introduction of the project, motivation in doing the project, and a background statement
related to the project. The problem statement states the cons that the existing system has
which have been addressed in the objective section. Likewise, in the scope section, there is
a description of what the user and system will be able to do. And at last, the methodology
section defines different types of technology and systems that have been used to make this
project-specific, measurable, attainable, relevant, and time-bound.
20
CHAPTER 2
LITERATURE REVIEW
2.1 Introduction
A brief study of application’s history, comparison between the proposed and other existing
systems, analysis of relevant systems, their features as well as novel key features of the
proposed application is one of the main contexts of this chapter.
The first portion presents a background study that explains the real-time tracking system for
buses with critical review and analysis of related research, concepts, and theory.
And the comparison portion shows the tabular differentiation between the proposed system
and the other similar system and also demonstrates the new unique feature that is present in
the proposed system.
21
2.2 Background study
Bus tracking application is a software that integrates automatic bus location in individual
buses with software that collects fleet data to provide a complete picture of bus locations.
GPS is one of the most commonly used tracking technologies in modern buses.(bus
Tracking System, n.d.)
GPS tracking uses the GNSS network which incorporates a range of satellites that uses
microwave signals that are transmitted to GPS devices to give information on location ,bus
speed , time and direction . Thus, a GPS tracking system provides both real-time and
historic navigation data on any kind of circumstances. In an active GPS tracking, real-time
system information is automatically sent to a central tracking portal in real-time scenario.
(Dahad et al., n.d.)
Current smartphones offer the ability of powerful navigation information by the help of A-
GPS that determines the information from network stations(BTS/NodeB/eNodeB) based on
GSM (Global System for Mobile Communication), CDMA (Code Division Multiple
Access) or LTE (Long Term Evolution) technology employed in the mobile terminal.(GPS
Vs A-GPS | Difference Between GPS and GPS-A, n.d.). A-GPS speeds up signal
acquisition by removing other areas of the search field. Rather than forcing the phone to
download the ephemeris data directly from the slower satellite link, one approach involves
rebroadcasting the data from the base station directly to the phone. Furthermore, this
ephemeris data can be forecasted up to several hours in advance, eliminating the need for
the base station to wait for the satellite's transmission. When attempting to obtain an initial
fix, the receiver relies on the satellite position, atmospheric interference, and the resulting
Doppler effect to minimize the number of likely frequencies it must seek.(Zandbergen &
Barbeau, 2011)
22
2.3.2 Real-Time Web-Based Bus Tracking System
This project is a web-based tracking system designed to solve the drawback of the
current public transportation system by handling all the data like the current location
of the bus, management of buses, and its issues. The system uses technologies like
GPS, GPRS, for development purposes. There are three architecture models
proposed by the system. They are bus module i.e., tracking of the bus by installing
special device or GPS in the bus, central control unit i.e., admin module that
uploads all the static information about the bus, client-side application i.e.,
interactive web-based application which services the various functions of the system
to remote users.
(Kumbhar, M., Survase, M., Mastud, P., & Salunke, A. ,2016)
23
2.3.5 Real-Time Bus Position and Time Monitoring System
This project state that the movement of buses is affected by unusual conditions such
as traffic congestion, unexpected delays, and randomness in passenger demand,
irregular bus dispatch, etc. due to which passengers are suffering and are waiting for
their bus on their bus stops for a long time as they do not have real-time information
of the public buses. Thus, this paper focuses on the implementation of a Real-time
Bus Tracking system by installing GPS devices on the city buses which will
transmit the current location on GPS Receiver and the receiver will interface with
the computer and interface driver will autosave data into .txt file which will
continue till GPS module is working. From there, the application will retrieve data
and store it on a web server, and display real-time information about the bus.
( Pandey, V., 2015)
Source : https://play.google.com/store/apps/details?id=app.zophop&hl=en
24
Figure 2.3 GRTC
Source :https://play.google.com/store/apps/details?id=com.alesig.grtc&hl=en&gl=US
2.4.3 Notifications
Existing applications send users some service bulletin notifications to keep updated
about the issues or changes that occurred due to the bus being detoured.
Source: https://play.google.com/store/apps/details?id=com.tranzmate&hl=en&gl=US
2.4.4 Favorites
By becoming a member of the application user can have quick access to their
favorite bus they have used most often.
25
Figure 2.5 Ride Smart Bus
Source : https://play.google.com/store/apps/details?id=com.gw.smart&hl=en&gl=US
Source : https://play.google.com/store/apps/n&gl=USdetails?id=ramlaxman.gpsnepal&hl=e
26
2.5 Research on an existing similar application
2.5.1 Chalo
It is an Indian app that tracks buses live and provides mobile ticketing solutions for
bus tickets and bus passes. This app has ended the waiting time period at the bus
stops. It is currently available in more than 25 cities of India and its features vary
from place to place.
This application has a real-time proprietary algorithm that processes millions of data
points to calculate the live arrival time of the bus. It has a Chalo Super Saver plan
where users can save money on their trip as they entitle a specific number of trips
within its validity period for a much lower cost per trip. One of the main advantages
of this application is it works offline too where users can check bus schedules (with
platform numbers ). It also locates the closest bus stops, ferry points, and metro
/train stations near the user’s current location. Similarly, mobile tickets and bus pass
purchased from this application can be shown to the conductors making the travel
experience hassle-free and safer.(Chalo - Live Bus Tracking App - Google Play ,
n.d.)
2.5.3 GRTC
It is described as an easy-to-use mobile app where riders can get schedules, bus
trackers, and other features at their fingertips. It has tools called routes to get a
listing of SMART bus routes and published times. There is a feature called a tracker
that allows users to get the real-time bus information of their stop. By becoming a
27
MySMART member, users can have quick access to all favorite bus routes and
stops. Likewise, if users want to know where their trips begin, where they need to
go, and what time they need to travel, the tools trip planner is there for them in this
application.(Ride Smart Bus - Apps on Google Play, n.d.)
2.5.5 Moovit
It is one app for all urban mobility rides whether user rides the train, subway, bus
light rail, ferry or metro or scooters, bikes or even ride-sharing like Uber, Lyft all
the information are provided in a one-stop-shop journey experience to help them get
from one point to another point in the efficient and easiest manner. It guides more
than 930 million users in over 3400 cities all around the world. It was also named as
best apps of the year in 2016 and 2017 by the Google Play and App stores
respectively.
Users can plan trips by step-by-step directions of the optimal route bus, train, metro,
bike, scooter or combination of them and even pay for the ride and find critical
alerts and service disruption on the favorite line. This application uses augmented
reality to locate bus or train stops with a ‘way finder’. The real-time alert tools alert
about any issues such as emergency or unexpected disruption, delays, traffic jams,
new construction ahead of time. Users can report issues found with stations, line
services, and schedules with the help of the User report system so that the
application can inform all nearby riders about what’s going on in their area.
(Moovit: All Local Transit & Mobility Options - Apps on Google Play, n.d.)
28
Digital
Payment
Route- No No No No No Yes
based
Live Bus
Tracking
Driver No No No No No Yes
Profile
Favorite No No No No No Yes
Routes
29
Current
user
Location
Route- No No No No No Yes
based
Live Bus
Tracking
Driver No No No No No Yes
Profile
2.7 Conclusion
Different research systems based on the bus tracking system, as well as different
applications’ features have been discussed and shown in the pictorial form too. The last
30
portion consists of the tabular feature differentiation of all the existing applications and the
new proposed system.
From the study of the existing system and research of different published papers, the insight
and knowledge acquired are: description of previous system , their lacking functionality
and certain issue. Some of the systems were designed with the common motives thus ,they
were using same features and functionality but serving in different fields.
31
CHPATER 3
METHODOLOGY
3.1 Introduction
Using an agile model as a software development life cycle, this chapter describes in detail
how to build and assemble the proposed system. Besides that, the system uses four different
types of unified modeling language (UML) diagrams. First, there is a use case diagram,
which clarifies the execution characteristics of the actor and agent. Second, to facilitate
iteration, selection, and concurrency, an activity diagram displays a sequence activity and
action workflow. On the other hand, a sequence diagram shows the relationship between an
item and its location in time. In addition, there will be a class diagram showing the system's
design by explaining the class and attribute of the system, as well as the relation and
activity among the objects, which will provide clear modeling by translating the source
code into diagrams.
32
Figure 3.1 Agile Model
Requirement analysis :
In this phase various initial prerequisite: analyzing existing comparable,
distinguishing the issues of current system etc. has been documented before the
execution of planning of this application. After that objective were defined and
different technologies and techniques with necessary development tools were
gathered, analyzed proposed to meet the objective of application development .
Design
In this phase, the system documents are drafted according to the requirements
specifications and serve as the basis for the next phase of software development
cycle. There are two design document. There are two design documents. First is
referred to as high-level design, which includes a description of each module, its
functional outline, dependencies, and interface relationships, while second is
referred to as low-level design, which encompasses the functionality of the
modules, their inputs and outputs, database table, and interface details etc.
Development
This phase is the foundation of the entire process where the development of an
application begins. An application is set up so that code can be written and design
documents can be converted into fully functional applications.
Quality Assurance
In this phase, the system is tested based on its primary goal for bugs/defects till the
program is bug-free, stable, and meets the system's requirements.
Deployment :
33
In this phase, based on feedback from the quality assurance process, the final
product is delivered for the associated user to experience the capabilities of the
application and check for deployment issues, if any.
34
3.4 Written Use Case
Postcondition
Users need fill form providing valid email address and contact number.
Exceptions
Invalid Personal details submission
3.4.2 Validation
Admin should verify all the details and document submitted during
35
registration
Admin should provide notifications any missing proof and problems
regarding the validation and verifications.
Admin verifies all the buses profiles details and update the bus
information on its particular selected routes.
Exceptions
3.4.3 Login
Table 3.1 Written Use Case of Login
Exceptions
Password is incorrect
Password is blank
36
3.4.4 Look Routes List
Table 3.2 Written Use Case of Search and Look Routes
User can look for the routes list and list of bus stops.
Exceptions
Public Transportation user and service provider can view the bus location
with help of Google maps.
Public Transportation user and service provider can see the bus details
like bus number.
Exceptions
37
3.4.6 Fare Payment
Table 3.4 Written Use Case of Closed Wallet
Exceptions
Precondition
38
Public Transportation service provider enters the basic details like contact
number, email and password for registrations.
Public Transportation service provider makes its bus profile
Public Transportation service provider inserts bus number, selects its
routes.
Exceptions
Postcondition
Public Transportation service provider switch on/off the for tracking live
location of bus
Exceptions
39
3.5 Activity Diagram
40
Figure 3.5 1 Registration and Login Activity Diagram
This is the activity diagram of login for public transportation users and service provider.
This diagram shows the activity to register the public transportation users and service
provider in the system the verification and validation of KYC form.
This is the activity diagram that shows activity to search and view the location name based
on the routes defined by the government.
41
3.5.3 Live Bus Location
This is the activity diagram that show the activity to locate the live location of bus and
show the details like bus number, arrival time etc. about the bus based on the routes user
have selected.
42
3.5.4 Fare Payment
This is the activity diagram that show the activity of paying bus fare based on the distance
traveling and user category i.e., fare discounted user or not .
43
3.5.5 Driver Registration, Adding bus Details and Login
44
This is the activity diagram that shows activity to allow public transportation service
provider to add necessary detail information about their buses , select the routes on which
that bus operates.
Figure 3.5 6 Switch for updating and tracking real time location of bus by driver
This is the activity diagram of home screen interface for service provider app where driver
can either turn on or off the live location tracking switch to get the real-time latitude and
longitude of the device used for tracking. When the tracking switch is on an automatic and
continuous thread program is executed which assist on updating and storing real-time
location in real-time firebase at 5 second time interval.
45
3.5.7 User KYC Verification and Validation
Figure 3.6 2 Sequence Diagram of Live Bus Tracking and Fare Payment
This figure describes the sequence which is used to locate the live location of bus and show
the details like bus number, arrival time etc. about the bus based on the routes user have
selected.
48
3.6.3 View Route List
This above figure describes the sequential order to search and view the location name based
on the routes defined by the government.
49
3.6.4 Driver Registration and Adding bus Details
The above figure describes the sequential order to allow public transportation service
provider to add necessary detail information about their buses , select the routes on which
that bus operates.
50
Figure 3.6 5 Switch for updating and tracking real time location of bus by driver
This is the sequence diagram of home screen interface for service provider app where
driver can either turn on or off the live location tracking switch to get the real-time latitude
and longitude of the device used for tracking. When the tracking switch is on an automatic
and continuous thread program is executed which assist on updating and storing real-time
location in real-time firebase at 5 second time interval.
51
Figure 3.6 6 Sequence Diagram of User KYC verification and validation
The above figure describes sequential order of collecting and storing the user’s KYC data,
the admin will later verify and validate the data and execute the command to show the
verified icon on the user’s interface and allow them to view their KYC data and in case of
invalidation admin executes the KYC data deletion command and provide the access to re-
enter the valid KYC details.
52
3.7 Class Diagram
3.8 Conclusion
Agile model is used as software development approach due its flexibility, productivity,
iterative development , clear documentation. The UML design depicted the process to
create this system, activity diagram illustrated the behavioral diagram to picture the work
process of sequence activity. Likewise, sequence diagram shows an interaction diagram to
depict the relationship between the time sequence and the object. The class diagram
provide view on system's design by explaining the class and attribute of the system, as well
as the relation and activity among the objects to provide clear modeling by translating the
source code into diagrams. The project is based on real-time public bus tacking and
53
locating, google maps API has been used to provide the clear visual of current bus location
with real-time database connection to store the user and bus information.
CHAPTER 4
INTERFACE
4.1 Introduction
The actions and activities that users can perform on this system will have a range of user
interfaces. With a brief explanation of each functionality, this chapter lists all the actions an
end-user can take within the system. It effectively discusses every aspect of functionality in
detail. The entire system is displayed from the perspective of the end user who wants to
know the real-time bus location based on the routes provided and categorized themselves as
a partial or full fare payer. The system will be divided into pages, with instructions on how
to use each page's features. This system offers a user-friendly interface for using real-time
bus tracking and fare payment.
54
Route list drop down
menu
55
Figure 4.2. 2 Driver Login Page
56
Figure 4.2. 3 Asking Location Permission
57
Live Latitude of bus
58
Figure 4.2. 5 Driver First Splash Page
59
Figure 4.2. 6 User First Splash Page
60
Figure 4.2. 7 User Registration Page
61
Figure 4.2. 8 User Login Page
62
KYC verification and
user information section
Navigation menu in
home screen
63
Remove bus marker on
that route
List of the public bus
route
64
On Clicking the marker
Dialog box containing
various info is opened
Bus Marker based on
the route
65
Two Bus Marker based
on that route
66
Fare Amount without
entering destination
67
Initial location of bus
when the bus marker is
clicked
68
Figure 4.2. 16 E-sewa Payment Login Page
See total fare amount to
be paid Enter valid e-sewa id
and password for the
payment
4.2.13 User KYC Verification Form
This is the form section to that gather the KYC information of user to verify and category
user either they belong to full fare or partial fare paying category. General personal details,
address details , general identity verification card (like citizenship, driving license) as well
if user belong to category like student, old age or differently able person then document
proof of that identity are collected through this interface.
69
General information
storing tab
70
Address information
storing tab
71
Picking profile picture
for verification
72
View profile picture
after verification
73
Viewing User Address
information
74
Viewing Valid
documentation
75
Rout list Drop down
menu
Remove the list of bus
stand from the screen
76
Selecting route present
on that drop down menu
4.3 Conclusion
In conclusion, overall interface has achieved the stated goals and criteria outline in chapter
one. Every interface is created using standard mobile material design principle with title tab
design, validation testing, user’s reviews.
77
CHAPTER 5
5.1 Introduction
Software testing is important because it enables for the early detection and correction of
any bugs or flaws in the software before the software product is released. Software testing
aids in bug prevention, performance enhancement, cost reduction, and client satisfaction. It
makes it possible to comprehend the risk associated with the use of software. Properly
tested software solutions maintain dependability, stability, and good performance, which
also results in time investment, cost-productivity, and client dependability.
Unit Testing
1. During the project's comprehensive design and implementation phase, unit testing is
frequently used. The project's defects and flaws were to be found using the unit test.
2. By fixing faults early in the development cycle, units help to lower expenses.
3. Unit testing is the process of testing individual components or modules of a system. In
this project, unit testing is done on eight modules, including the Login module, the
Registration module, the Live Location Tracking module, the View Route Based Bus
Location Module, and the KYC Verification module.
Integration Testing
1. The goal of testing is to identify interface and system faults.
2. It finds the problems on how integrated units interacts.
3. Integration testing is viewed as being similar to design testing. Therefore, any issues
found are fixed in the integrated testing system for the testing phases.
78
5.2 Decision Table
79
Figure 5.2.1 2 Contact Number with no country code
80
Figure 5.2.1 4 Email Verification Link
81
Login into system with blank Display “please fill out the Pass
username. field”
Login into system with blank Display “please fill out the Pass
password. field”
82
Figure 5.2.2 2 Contact Number without the country code
83
Figure 5.2.2 4 Redirecting to homepage on successful login
84
Figure 5.2.3 1 When email field is empty
85
Figure 5.2.3 3 Password Reset Link in given email
86
Figure 5.2.3 5 Password Changed Notification
87
Figure 5.2.4 1 Home page with new user
88
On clicking user selection Display list of user pass
drop-down menu category
On clicking save button by Display “General pass
entering required Information Registration
credentials with newly successful.”
registered user
On clicking save button Display “Enter all the pass
without entering fields data information”
On clicking save button Redirect to Address pass
entering required information registration
credentials with newly form
registered user
On clicking save button Display “Enter all the pass
without entering fields data information”
On clicking save button Redirect to Document pass
without entering fields data Uploading section
On clicking choose image Display file manager to pass
button of profile picture select the required picture
section
On clicking choose image Display file manager to pass
button of Citizenship select the required picture
section
On clicking choose image Display file manager to pass
button of Fare discount select the required picture
identity card section
On clicking save button Display Navigation drawer pass
without entering fields data with user profile picture
and user category
On clicking User Redirect to General Pass
Information Button with Information tab with
already registered user registered user general
details
On clicking address tab Redirect to Address pass
Information tab with
registered user address
details
On clicking back button Redirect to the user profile pass
Navigation drawer
89
Figure 5.2.5 1 General Information Form
90
Figure 5.2.5 3 Image Uploading section
91
Figure 5.2.5 5 View Address Information
92
On selecting the particular Add the bus market and Pass
route from the drop-down display the live location of
menu bus present on that route
On pressing the cross Remove the bus marker Pass
button present on that location
On pressing the bus marker Display the dialog box Pass
icon with information like initial
bus location, final
destination drop-down list,
user category, and fare
amount section.
On pressing final Display the list of bus pass
destination drop-down list stand present on the
particular route
On pressing the particular Display the fare amount pass
bus stand in that route based on the distance
between initial and final
location.
On Pressing Accept button Display “Payment pass
Success”
93
list of bus stand
On pressing route form the Display the name of bus Pass
drop-down list stand on that route
On Clicking cross button Remove the name list of Pass
bus stand on that particular
route from the display
container
94
Figure 5.2.9 2 Mismatched Password
95
Figure 5.2.9 4 Registration Success
96
Figure 5.2.10 1 Login Page after registration
97
Figure 5.2.10 3 Entering Valid Credentials
98
on location on the database and
toast real-time location
storage successful
On clicking location update Toast Real-time Location Pass
switch on/off Storage Successful and store
the latitude and longitude
data in the Firebase real-time
database
99
5.4 User Acceptance Testing
During the user acceptance testing, 10 users were selected to run the system on their
laptop and provide feedback on the program. Five professionals with IT
backgrounds, three professionals without IT backgrounds, and two general users will
participate in the survey.
Performance 0 2 8 0 2% 80% 0%
Total 0 6 19 5
100
As shown in the table above, 20% of respondents have an average response rate, 63.33%
have a good response rate, and 16.67% have an excellent response rate. In terms of user
friendliness, 10% of respondents rated average, 60% rated good, and 30% rated outstanding
in terms of user friendliness as well as for performance, 20% had average satisfaction but
80% had good satisfaction.
Respondent
Profession Background
101
5.5 Conclusion
According to the document's stated objectives, the system's functionality is evaluated with
three testing approaches, and the results are positive. A decision table is used to ensure that
the system's data and process flow are accurate. Secondly, respondents are given the system
and asked what they think about it by giving them questions.
102
CHAPTER 6
6.1 Introduction
A system requires support and evolution stage to make the system a lot better. Each system
consists of bugs, simply there isn't system that does not contain bugs, so to keep up with the
security, and the application requires the evolution stage. The application might have
mistaken, flaws, and system failures during testing. The correction of the problem can
improve the application's quality and reduce risk in the future. The testing is done to lessen
the application error and handle the system failure. Thus, this application has met and filled
the stated objective and requirement.
6.2 Challenges
Following are the issues that came up during the development process of this project:
● Document Process
The documentation was lacking due to poor grammar and spelling, and the solution
to this was to use grammar and spelling corrector applications like Grammarly and
Mendeley.
● Testing Process
The lack of proper knowledge in testing made testing the system challenging for
me. In order to find out, I asked my friend and my supervisor and I received a lot of
assistance during the testing process from them.
● Implementation Process
A lack of implementation information prevented the development of the mobile
application. I have gained valuable knowledge about system design and
implementation from the research paper. Furthermore, I studied similar systems to
gain an understanding of the features and functionalities of my mobile app.
103
6.4 Disadvantage of System
● The live location of the bus needs to be updated via the internet
● To store the live location, we need to access the mobile GPS location of the driver.
● Activating and deactivating live location tracking is at the driver's choice so, if
driver prefer switch off location tracking, users cannot view the bus location.
● KYC validation and verification are required in order to access partial fare payment
services.
6.6 Conclusion
This application will easy the public transportation system by allowing user to view the live
location of public bus based on the bus routes, with enhancing the fare payment system by
the integration of digital wallet and categorization of service user based on partial or full
fare payer. Compared to other similar systems, this is not the best system but it is a good
starting point for public transportation service providers to study how a location tracking
system works and what methodology they should follow. Overall, this mobile application
meets the project's objective.
REFERENCE
Oil Price Hike in Nepal: Some Critical Observations - myRepublica - The New York Times
Partner, Latest news of Nepal in English, Latest News Articles. (n.d.). Retrieved December
17, 2021, from https://myrepublica.nagariknetwork.com/news/oil-price-hike-in-nepal-
some-critical-observations/
104
WB. (2019). World Bank Country and Lending Groups – World Bank Data Help Desk. In
The World Bank (pp. 1–8).
https://datahelpdesk.worldbank.org/knowledgebase/articles/906519-world-bank-country-
and-lending-groups
Number of mobile devices worldwide 2020-2025 | Statista. (n.d.). Retrieved December 17,
2021, from https://www.statista.com/statistics/245501/multiple-mobile-device-ownership-
worldwide/
How Assisted GPS Works in Cellphones. (n.d.). Retrieved February 14, 2022, from
https://www.lifewire.com/assisted-gps-1683306
Nolledo, M. (2020). What Is Google Drive? a Guide to Google’s File Storage Service.
Insider Inc. https://www.businessinsider.com/what-is-google-drive-guide
Zandbergen, P. A., & Barbeau, S. J. (2011). Positional accuracy of assisted GPS data from
high-sensitivity GPS-enabled mobile phones. Journal of Navigation, 64(3), 381–399.
https://doi.org/10.1017/S0373463311000051
Kumbhar, M., Survase, M., Mastud, P., & Salunke, A. (2016). Real Time Web Based Bus
Tracking System. International Research Journal of Engineering and Technology, 3(2),
632–635.
https://pdfs.semanticscholar.org/06df/12eaa6ede3ecb13f77c3bdf92d85051c81e0.pdf?
_ga=2.123533326.425985727.1520207232-958697846.1520207232
105
Elshaarawy, I. (n.d.). Faculty of Computer Science Student Name : Sara Khaled.
Sardey, Y., Deshmukh, P., Mandlik, P., Shelar, S., & Nerkar, M. (2014). A Mobile
Application for Bus Information System and Location Tracking using Client-Server
Technology. International Journal of Emerging Technology and Advanced Engineering,
4(4), 86–91. http://www.ijetae.com/files/Volume4Issue4/IJETAE_0414_14.pdf
%0Ahttps://pdfs.semanticscholar.org/8a0c/7c1f5112a18609462fd13beed52a8e8c8b74.pdf
Shinde, S., Nagalwar, V., Shinde, N., & Pawar, B. V. (2014). Design of E-City Bus
Tracking System. Int. Journal of Engineering Research and Applications, 4(4), 114–117.
組織 β-グルクロニダーゼによるグルクロニドの生体外脱共役の結果としてのフラ
ボノイドアグリコンの過大評価| Elsevier Enhanced Reader (p. undefined-undefined).
(2020).
https://reader.elsevier.com/reader/sd/pii/S1877050917310724?
token=CD4FCA2B3BEB1971D1D648E537960A9B5B7B9D7FE807A4F0ED067A8D475
D7DD60286E7A6B8B35F448812D275E94A9B9F&originRegion=eu-
west1&originCreation=20211223103208
Pandey, V. (2015). Real Time Bus Position and Time Monitoring System. IJSTE-
International Journal of Science Technology & Engineering |, 1(10), 80–84. www.ijste.org
Ride Smart Bus - Apps on Google Play. (n.d.). Retrieved December 27, 2021, from
https://play.google.com/store/apps/details?id=com.gw.smart&hl=en_US&gl=US
GRTC - Apps on Google Play. (n.d.). Retrieved December 27, 2021, from
https://play.google.com/store/apps/details?id=com.alesig.grtc&hl=en_US&gl=US
Mero Sajha - Google Play मा एपहरू. (n.d.). Retrieved December 27, 2021, from
https://play.google.com/store/apps/details?id=ramlaxman.gpsnepal&hl=ne&gl=US
Chalo - Live Bus Tracking App - Google Play मा एपहरू. (n.d.). Retrieved December 27, 2021,
from https://play.google.com/store/apps/details?id=app.zophop&hl=ne&gl=US
Moovit: All Local Transit & Mobility Options - Apps on Google Play. (n.d.). Retrieved
January 4, 2022, from https://play.google.com/store/apps/details?
id=com.tranzmate&hl=en&gl=US
106
bus tracking system - Wikipedia. (n.d.). Retrieved January 6, 2022, from
https://en.wikipedia.org/wiki/bus_tracking_system
EETimes - How does a GPS tracking system work? (n.d.). Retrieved January 6, 2022, from
https://www.eetimes.com/how-does-a-gps-tracking-system-work/
Hoque, F., Chakma, R., Profile, S., Mahtab, S. S., Akter, R., & Ahmed, S. S. (n.d.). Design
and Developing Real Time Interactive IIUC Bus Tracking System Renewable Energy
Sector View project CIGS Solar cell modelling View project Design and Developing Real
Time Interactive IIUC Bus Tracking System. Journal of Innovation in Computer Science
and Engineering, 9(2), 2278–0947. https://doi.org/10.18535/ijecs/v6i2.22
Mehta, H., Kanani, P., & Lande, P. (2019). Google Maps. International Journal of
Computer Applications, 178(8), 41–46. https://doi.org/10.5120/ijca2019918791
The Algorithms Behind The Working Of Google Maps | CodeChef. (n.d.). Retrieved
February 13, 2022, from https://blog.codechef.com/2021/08/30/the-algorithms-behind-the-
working-of-google-maps-dijkstras-and-a-star-algorithm/
Professional How do you rate How do you How do you rate Did you
Background the functionality rate the the system in encounter any
of the system in graphical user terms of user- difficulty while
terms of interface friendliness? using the
performance? design of this system ?
system?
107
IT background Average Excellent Good No
108
109