0% found this document useful (0 votes)
303 views

Final Report

This document provides a final report on the TaxiNet project. It includes sections on the initial idea and proposal for TaxiNet, a software project management plan, software requirements specification, software design document, and plans for software testing. The project aims to develop a taxi booking application with both web and mobile interfaces. It will allow users to book rides, track drivers, process payments, and manage the backend system. The report outlines the objectives, features, organization, schedule, requirements, architecture, and database design for the TaxiNet application.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
303 views

Final Report

This document provides a final report on the TaxiNet project. It includes sections on the initial idea and proposal for TaxiNet, a software project management plan, software requirements specification, software design document, and plans for software testing. The project aims to develop a taxi booking application with both web and mobile interfaces. It will allow users to book rides, track drivers, process payments, and manage the backend system. The report outlines the objectives, features, organization, schedule, requirements, architecture, and database design for the TaxiNet application.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 729

TaxiNet Project | Project Final Report

FPT University

MINISTRY OF EDUCATION AND


TRAINING

FPT UNIVERSITY
Capstone Project Document
Taxinet
Report #1 Introduction
Taxinet

Group Members

Ngc Tun

SE02939

Trng Hong H

SE02580

o Trung Hiu

SE02895

inh Quang Dng

SE02461

Trn Cnh Qun


Supervisor

April-2015-SE Intake 7B

01657

Mr. Nguyn Vn Sang

TaxiNet Project | Project Final Report

Project code

FPT University

Taxinet
- Hanoi, 04/2015 -

Table of Contents
1

Initial Idea for TaxiNet................................................................................6


1.1

INTRODUCTION.................................................................................... 6

1.1.1

Purpose.................................................................................................... 6

1.1.2

Acronyms and Definitions........................................................................6

1.2

ABSTRACT............................................................................................ 6

1.3

LITERATURE REVIEW............................................................................7

1.4

PROPOSAL......................................................................................... 10

1.4.1

The idea................................................................................................. 10

1.4.2

Objectives.............................................................................................. 10

1.4.3

Brief description about system..............................................................10

1.4.4

System features..................................................................................... 11

1.5

BENEFIT FROM PROJECT....................................................................13

1.5.1

For Organization.................................................................................... 13

1.5.2

For our group......................................................................................... 13

1.5.3

For Community...................................................................................... 13

1.6

CRITICAL ASSUMPTION AND CONSTRAINTS.......................................14

1.7

POTENTIAL RISKS...............................................................................14

April-2015-SE Intake 7B

TaxiNet Project | Project Final Report

1.8
2

FPT University

REFERENCES...................................................................................... 14

Software Project Management Plan..........................................................16


2.1

INTRODUCTION..................................................................................16

2.1.1

Purpose.................................................................................................. 16

2.1.2

Definition and Acronyms........................................................................16

2.1.3

References............................................................................................. 16

2.2

PROJECT OVERVIEW...........................................................................17

2.2.1

Project Description................................................................................. 17

2.2.2

Scope..................................................................................................... 17

2.2.3

Standard Objectives..............................................................................17

2.2.4

Milestone and Deliverables....................................................................17

2.3

PROJECT ORGANIZATION....................................................................18

2.3.1

Software Process Model.........................................................................18

2.3.2

Project lifecycle...................................................................................... 19

2.3.3

Roles and Responsibilities......................................................................20

2.4

TOOLS AND INFRASTRUCTURES.........................................................22

2.4.1

Hardware............................................................................................... 22

2.4.2

Software................................................................................................ 22

2.4.3

Android Application...............................................................................22

2.4.4

Backend Application.............................................................................. 23

April-2015-SE Intake 7B

TaxiNet Project | Project Final Report

2.5

SCHEDULE......................................................................................... 26

2.5.1

Detailed Schedule.................................................................................. 26

2.5.2

Meeting Schedule.................................................................................. 28

2.5.3

Effort Estimation.................................................................................... 28

2.6
3

FPT University

RISK MANAGEMENT............................................................................29

SOFTWARE REQUIREMENTS SPECIFICATION.............................................31


3.1

Introduction....................................................................................... 31

3.1.1

Purposes................................................................................................ 31

3.1.2

Definition and Acronyms........................................................................31

3.2

System Purpose................................................................................. 31

3.3

Scope................................................................................................. 31

3.4

Overall Description............................................................................ 33

3.4.1

System overview................................................................................... 33

3.4.2

Product Features.................................................................................... 34

3.4.3

User characteristics............................................................................... 41

3.4.4

User Documentation.............................................................................. 41

3.4.5

Assumption............................................................................................ 41

3.5

Entity Relation Model.........................................................................42

3.5.1

Entity-Relationship Diagram..................................................................42

3.5.2

Entity Detail........................................................................................... 42

April-2015-SE Intake 7B

TaxiNet Project | Project Final Report

3.6

Functional Specification.....................................................................47

3.6.1

UC01: Rider Management Information..................................................47

3.6.2

UC02: Driver Management Information.................................................68

3.6.3

UC03: Agents Web Functions................................................................92

3.6.4

UC04: Drivers Web Functions.............................................................109

3.6.5

UC04: Drivers Web Functions - Trip.....................................................119

3.6.6

UC04-03: Drivers Web Functions Invoice & Price Panel....................130

3.6.7

UC05: Riders Web Functions...............................................................137

3.6.8

UC06: Staff Manage Driver, Company, Staff Information..................156

3.6.9

UC06: Staff - Manage Agent Information and Login.............................176

3.7

FPT University

Non-functional Specification............................................................186

3.7.1

Reliability............................................................................................. 186

3.7.2

Performance Requirements.................................................................186

3.7.3

User Interface...................................................................................... 186

3.7.4

Design Constraints.............................................................................. 186

3.7.5

Usability............................................................................................... 186

3.7.6

Security Requirements........................................................................187

3.7.7

Hardware/Software Requirements.......................................................187

Software Design Document....................................................................188


4.1

Architecture Design.........................................................................188

April-2015-SE Intake 7B

TaxiNet Project | Project Final Report

4.1.1

Choice of Architecture Design.............................................................188

4.1.2

Component Design..............................................................................195

4.2

Detailed Design...............................................................................198

4.2.1

Web application................................................................................... 198

4.2.2

Driver mobile application.....................................................................351

4.2.3

Rider Mobile Application......................................................................405

4.3

FPT University

Database Design.............................................................................. 449

4.3.1

Database Diagram...............................................................................449

4.3.2

Table Descriptions................................................................................449

SOFTWARE TESTING...............................................................................470
5.1

INTRODUCTION................................................................................470

5.1.1

Purpose................................................................................................ 470

5.1.2

System Overview................................................................................. 470

5.2

TEST PLAN....................................................................................... 471

5.2.1

Scope of testing................................................................................... 471

5.2.2

Requirement for testing.......................................................................472

5.2.3

Test strategy........................................................................................ 475

5.3

Test cases........................................................................................ 480

5.4

Checklist.......................................................................................... 482

5.4.1

Check list about validation..................................................................482

April-2015-SE Intake 7B

TaxiNet Project | Project Final Report

5.4.2
5.5

Submission check list..........................................................................482

TEST LOGS....................................................................................... 484

5.5.1

Defect logs.......................................................................................... 484

5.5.2

Test report........................................................................................... 485

SOFTWARE USERS MANUALS................................................................492


6.1

INSTALLATION GUIDE.......................................................................492

6.1.1

Purposes.............................................................................................. 492

6.1.2

Environments....................................................................................... 492

6.1.3

Application Installation........................................................................493

6.2

FPT University

USER's GUIDE.................................................................................. 493

6.2.1

Purposes.............................................................................................. 493

6.2.2

Functional Description.........................................................................493

6.2.3

Detailed Guidelines.............................................................................495

PROJECT RESULT REPORT.......................................................................551


7.1.1

Product Judging.................................................................................... 551

7.1.2

Advantages of TaxiNet System............................................................551

7.1.3

Current limitations of TaxiNet System :................................................551

7.1.4

Expectations in the future :.................................................................551

7.1.5

Project Summary................................................................................. 552

7.1.6

Lessons Learnt..................................................................................... 552

April-2015-SE Intake 7B

TaxiNet Project | Project Final Report

FPT University

1 Initial Idea for TaxiNet


1.1 INTRODUCTION
1.1.1 Purpose
This document is prepared as the introduction for project TaxiNet, in scope of
Capstone Project at FPT University. It does not only explain the basic concept and
idea for our project but also discuss what projects benefits and threats, what
opportunities it offers and what existing problem it solves.
1.1.2 Acronyms and Definitions
Table 1-1: Definitions and Acronyms

Acronym &
Abbreviation
GPS
App

Definition

Note

Global Positioning System


Application

1.2 ABSTRACT
A taxicab, also known as a taxi or a cab, is a type of vehicle for hire with a driver,
used by a single passenger or small group of passengers, often for a non-shared
ride. A taxicab conveys passengers between locations of their choice. This differs
from other modes of public transport where the pick-up and drop-off locations are
determined by the service provider, not by the passenger, although demand
responsive transport and share taxis provide a hybrid bus/taxi mode.Nowadays, Taxi
April-2015-SE Intake 7B

TaxiNet Project | Project Final Report

FPT University

has become very popular means of transport and available in most countries. As
time, the number of taxi increase rapidly.
As a customer, when you want to go by taxi, you can go directly to a free taxi and
ask the driver. Or, if you dont see any free taxi near there, you can call to Taxi
company and take one; or you can stay in the sidewalk, wait for a taxi then take
one. But all that way, you cant take a taxi proactively. What happen if there arent
taxi there, or sometimes you dont know taxi company number, or you have waited
for so long but the taxi that you wait doesnt come. Our application will help you to
solve that problem by sending request directly to a taxi driver or taxi company near
where you stand. All you need to do is a few clicking on mobile screen, and well do
the rest.
As a taxi driver, with our application, you can take a customer easily. You can see
the request from customer, and when you accept, the position of customer will be
displayed on your mobile screen. So now, you dont have to go around city but still
able to get request from customer. This will reduce cost and save your time, help
you to have more customers.
Our application can do more and more to make your trip be better and more
comfortable.
Our application will be built as Android, iOS and Web application. The main purpose
of this application is to help customer and driver can find each other easier, by the
fastest way they can. In addition, it will help the taxi company can manage their
driver.

1.3 LITERATURE REVIEW


Currently, there are lots of Taxi applications that help user to take a taxi, like Grab
Taxi, Easy Taxi, Uber,
GrabTaxi:
GrabTaxi is a smartphone-based taxi booking and dispatching service.
3 unique points:
-

GrabTaxi lets you find the taxi nearest you in less than a minute with just two
taps
GrabTaxi provides you transparency in information of your taxi booking
drivers name, plate number, phone number, and estimated fare.

April-2015-SE Intake 7B

TaxiNet Project | Project Final Report

FPT University

There are lots of Taxi drivers using GrabTaxi, so you will easy to find a Taxi
near you.

Advantages:
-

Speed
Safety
Certainty
Free to use app

Figure 1-1: GrabTaxi


interface

Disadvantages
-

There are lots of Taxi markers on Google map that causes distraction
No Map direction for user
User cant send direct request to taxi driver
No Online Payment
GrabTaxi Company Model is a Virtual Taxi Company, which not allow other
Taxi Company to join with them.

Easy Taxi:
Easy Taxi is an application that connects drivers and passengers in a smooth, easy
and safe way.

April-2015-SE Intake 7B

10

TaxiNet Project | Project Final Report

FPT University

3 unique points:
-

Find and call a taxi by one step


Estimate cost and check driver information
Send message to driver via application

Advantages:
-

Figure 1-2: Easy Taxi


interface

Speed
Safety
Easy to use
Free to use

Disadvantages
-

User cant send direct request to taxi driver


Easy Taxi Company Model is a Virtual Taxi Company, which not allow other
Taxi Company to join with them.

Uber:
Uber is essentially an app which connects drivers with passengers directly, instead
of through a centralized booking service or just hailing a car in the street.

April-2015-SE Intake 7B

11

TaxiNet Project | Project Final Report

FPT University

Unique points:
-

Anyone who owned a car can be a Taxi Driver. So you can be picked up by
a BMW or Audi,
Clear price
Only online payment

Figure 1-3: Uber


interface

Advantages:
-

Speed
Lots of car models to choose
Cheaply

Disadvantages
-

No safety
No cash payment
Unfair competition with taxi company, so Uber has been banned in some
country

April-2015-SE Intake 7B

12

TaxiNet Project | Project Final Report

FPT University

1.4 PROPOSAL
1.4.1 The idea

The idea of creating a Taxi application is not new. However, our TaxiNet App will provide the
best service not only for user and driver but also for Taxi Company. And well add some new
functions for user and driver, like: Share a promotion trip (User/Driver can find a partner to go
with them), Favorite Customer/Driver,...
1.4.2 Objectives
Firstly, we do this project to fulfill the requirements from FPT University studying
program. During the time do this, we can learn how to develop a project, how to
communicate with other team members, how to control time, how to do teamwork
effectively. Therefore, after finishing this project, we can practice what we have
learnt in university and learn so many new things. It is very necessary for our future
work after graduating from FPT University.
Secondly, we want to create an application that help user can share their trip, so
they can have partners to go with them. And they can call a taxi easier, even that
there is no taxi near them. In that case, well contact to a Taxi company that near
your place and send a request to them. And about Taxi Company, we give them not
only an application to manage their driver but also lots of new customers. So, we
hope that people can travel easier, go everywhere they want with the cheapest Taxi
fee.
1.4.3 Brief description about system
The application has three versions for: iOS, Android and Web.
About iOS and Android app, with friendly interface, customer will use app to send
direct request to a taxi. We use Google map to display the position of customer and
taxi nearby. Customer click on Taxi marker then select Send request. After filling
some information (optional choice), a request from customer will be sent to Web
service and Google Cloud Messaging, then taxi drivers device. Driver can
accept/cancel it. Almost functions will send input to or retrieve information from
through Web service, Web service implementation function and send return output
to Smartphone device.

April-2015-SE Intake 7B

13

TaxiNet Project | Project Final Report

FPT University

In Web application, user (driver and rider) can see information about Taxi Driver,
Taxi company and promotion. And Taxi Companys Admin can edit their company
information, make promotion, and manage taxi driver.

Figure 1-4: System overview

1.4.4 System features


General features (run on both mobile and web module):
-

Find cheap trip: Find a trip that you can go with someone else.

April-2015-SE Intake 7B

14

TaxiNet Project | Project Final Report

FPT University

Update information: Update information of customer and driver.

Mobile application features:


- Customer:
o
o
o
o
o
o
o
o

Register- Log in- Log out


Display Google map and position of customer and taxi driver
nearby.
Send direct request to taxi driver
Manage favorite driver list
Display and update information.
Map direction
View Trip History
Register on a Promotion Trip

- Driver:
o
o
o
o
o
o
o
o

Register- Log in- Log out


Display Google map and position of customer (who sent request
only).
Display and update information, current position, current status.
Response request.
View Trip History
Manage VIP customer list
Map direction
Create Promotion Trip

Web application features:


-

Customer:
o Register- Log in- Log out
o Display and update information.
o View Trip History
o Find /Register Promotion Trip
Driver:
o Register-Log in-Log out
o Display and update information.
o Manage Vehicle
o Manage Price Panel
o View Trip History
o Create Promotion Trip
Taxi Companys Admin:

April-2015-SE Intake 7B

15

TaxiNet Project | Project Final Report

FPT University

o Register- Log in- Log out


o Manage Taxi drivers of company
o Update information of company
o Manage Vehicle
o Manage Agent
Agent:
o Register-Log in-Log out
o Search/Recharge account
o View/Update Agent Information
o Statistic, history

1.5 BENEFIT FROM PROJECT


1.5.1 For Organization
Taxi Company who uses our application will have a strong tool to manage driver.
They wont need more effort to search information about driver, change their
information or assign vehicle to driver. But the most things important are the
development of your company brand and customer confidence. If your services are
very well but no more people know that, well help you. Well introduce your brand
to the Taxi community, and youll have a chance to assert yourselves, or improve
your brand. In additional, using your application will help you increase turnover, by
providing a direct between rider and driver, so there are more trip will be
completed.
1.5.2 For our group
After developing and implementing that project we will:
-

Understand new technology like Android, iOS, Spring, Hibernate, My SQL,


Source code managing
Have the opportunity to experience and improve working in group skill
Know how to manage project, limit risk, control working time more effective
Know more about the business of taxi company
Take money profit from customer

1.5.3 For Community


For community, out application will help you to call a taxi more easy, save your
time, save your money. You can proactive in choosing driver, have list of favorite
April-2015-SE Intake 7B

16

TaxiNet Project | Project Final Report

FPT University

driver to call them whenever you need. Not only that, you can find promotions trip
so you can go to exactly where you want with lower cost. Or sometime, you forgot
your items, maybe phone, bag on a Taxi, and you dont know how to take it back.
With trip history function, you can contact us, well help you. Using our application,
no more waiting! Just click!
If you are a driver, our application is perfect for you. You can take a request with one
click; know exactly where to pick up customer, where to go and how much money
you can take. You dont have to go around the city, just stay there; well connect
you to customer. Or if want have to go somewhere far from where you work, e.g.
you live in Hanoi, but you have to go to Vinh city tomorrow, so you want to find
someone else to go with you to reduce cost. With promotion trip function, well do it
for you. All you have to do are some clicks on Mobile screens.
We want to create a Taxi community, where customer and driver can share
information about trip to other people. No more alone trip, find your partner now!
More friends, more fun.

1.6 CRITICAL ASSUMPTION AND CONSTRAINTS


After analyzing this project, we realize that there are some critical assumptions.
First, we assume that all team members will have no problem of health, because we
need more than 100% performance to finish the project. Second, we assume that
we can learn new technique in a short time and apply to the project. Its key to the
success of the project.
About constraint, we have to finish the project on time (4 months since we had
taken the project). And 4 months includes 2 weeks of Tet holiday, so we have
exactly 3 months and 2 weeks to do. In addition, we dont know more about Google
map, so we have to learn it as soon as possible. In additional, there are only 5
members in the project, so each member have to try the best to make this project
success.

1.7 POTENTIAL RISKS


After studying about this project, we find out some problem that we may be encountered:
- Requirement can be changed many times, so we have to focus on project.
- We have not much knowledge in the framework and technique of both Smartphone and
web (Spring, Google map API,). Therefore, we have to study all of these things from
the beginning.

April-2015-SE Intake 7B

17

TaxiNet Project | Project Final Report

FPT University

Misunderstand about knowledge of business of Taxi Company, so maybe well provide


some feature not well as we want.
Underestimate about time, work and effort.
Conflict between project members, or health issues of project member.

1.8 REFERENCES

[1] Uber
https://play.google.com/store/apps/details?id=com.ubercab
[2] Easy Taxi
https://play.google.com/store/apps/details?id=br.com.easytaxi
[3] GrabTaxi
https://play.google.com/store/apps/details?id=com.grabtaxi.passenger

April-2015-SE Intake 7B

18

TaxiNet Project | Project Final Report

FPT University

2 Software Project Management Plan


2.1 INTRODUCTION
2.1.1 Purpose
This part is the project management plan of TaxiNet Project our Capstone Project
in FPT University. It is included the project overview, project organization, tools and
infrastructures, schedule, risk of this project.
2.1.2 Definition and Acronyms
Table 2-2: Definitions and Acronyms

Acronym &
Abbreviation

Definition

Rider

The customers who want to use taxi


services

Driver

The drivers of taxi group

Private Driver

The drivers who drive their own


vehicles

Taxi Company

The taxi group which has many


drivers

Admin

The administrator of system

Fee Agent

The agent for fee transactions

Mobile Tel
Comp

The company which supply 3G and


Mobile Broadband

Frontend App

The android /iOS app

Backend App

The web app

April-2015-SE Intake 7B

Note

19

TaxiNet Project | Project Final Report

FPT University

2.1.3 References
1.

Wikipedia, 2012, IBM Rational Unified Process, viewed 30 September 2013,


http://en.wikipedia.org/wiki/IBM_Rational_Unified_Process
2. Business Analyst Faq, n.d, What is RUP? Rational Unified Modeling, viewed 30
September 2013, http://www.businessanalystfaq.com/whatisrup-rationalunified-processing.htm
3. Wikibooks, 2012, RUP-IBM Rational Unified Process/Phases, viewed 30
September2013, http://en.wikibooks.org/wiki/RUP__IBM_Rational_Unified_Process/Phases
4. Oracle, Java Coding Convention for Developers :
http://www.oracle.com/technetwork/java/codeconvtoc-136057.html

2.2 PROJECT OVERVIEW


2.2.1 Project Description
This project provides the easiest way to call a taxi for customer with their position.
Besides, it helps taxi driver to find customer, accept customers request and creates
the shortest way to pick up customer and create a trip with price and locations. Web
applications provides management methods for taxi groups and administrator for
control users and taxi driver.
2.2.2 Scope
Our project scope is included:

Developing user requirement and software requirement specification


Developing architecture and detailed design documents
Coding and unit test
Developing test case and execute system test.
The developing software will have these following functions

TaxiNet includes: 2 modules Frontend App and Backend App. Frontend app is an
applications which runs on mobile for drivers and customer who use this for
call/receive taxi request from each others. Backend App is an application for fee
agent, admin and Taxi Company for managing drivers, customer, vehicle , history
and transactions.

April-2015-SE Intake 7B

20

TaxiNet Project | Project Final Report

FPT University

2.2.3 Standard Objectives


Table 2-3: Standard Objectives

Metrics

Unit

Committed

Actual

Deviation

Start Date

dd-mm-yyyy

06/01/2014

06/01/2014

End Date

dd-mm-yyyy

24/4/2015

24/4/2015

Duration

Elapsed days

120 days

120 days

Max team
size

Person

2.2.4 Milestone and Deliverables


Table 2-4: Milestone and Deliverables

NO

Deliver/Milestone

Deliver
Date

Deliver Report 1

9/1/2015

Supervisor

Deliver Report 2

20/01/2015

Supervisor

Deliver Report 3

10/02/2015

Supervisor

Deliver Report 4

16/3/2015

Supervisor

Deliver Report 5

24/03/2015

Supervisor

Deliver Report 6

10/04/2015

Supervisor

Submit source code


and document

24/04/2015

FPT University

Capstone Project
Ceremony

6/5/2015

FPT University

April-2015-SE Intake 7B

Final

Deliver
Location

21

TaxiNet Project | Project Final Report

FPT University

2.3 PROJECT ORGANIZATION


2.3.1 Software Process Model
Due to the short time of project and the volume of work that we have to do, after
discussing, our project team chose RUP as our software project model.
The Rational Unified Process is a Software Engineering Process. It is a set of
principles for software development. It is an iterative software development
process framework created by the Rational Software Corporation, a division of
IBM since 2003. RUP is not a single concrete prescriptive process, but rather
an adaptable process framework, intended to be tailored by the development
organizations and software project teams that will select the elements of the
process that are appropriate for their needs. RUP is a specific implementation of the
Unified Process. (Wikipedia, 2012, IBM Rational Unified Process, viewed 26
September 2014, http://en.wikipedia.org/wiki/ Rational_Unified_Process )

Figure 2-5: Rational Unified Process Model overview

As figure 2-1 above, the RUP model has four phases: Inception, Elaboration,
Construction and Transition. Besides, it has six engineering disciplines: Business
Modelling, Requirements, Analysis and Design, Implementation, Test, Deployment
and three supporting disciplines: Configuration and Change Management, Project
April-2015-SE Intake 7B

22

TaxiNet Project | Project Final Report

FPT University

Management and Environment. RUP is based on a set of building blocks and


content elements, describing what is to be produced, the necessary skills
required and the step-by-step explanation describing how specific development
goals are to be achieved. The main building blocks, or content elements, are the
following:

Roles (who): defines a set of related skills, competencies and


responsibilities of an individual or a group of individuals as a team.
Work Products (what):
Task (how): describes a unit of work assigned to a Role that provides a
meaningful result. (Wikipedia, 2012, IBM Rational Unified Process,
viewed 26 September 2014,
http://en.wikipedia.org/wiki/Rational_Unified_Process )

2.3.2 Project lifecycle


Project life cycle of RUP model has four phases:

Inception Phase: Inception is the first phase of process. In this startup


phase, we should provide business case of the system and determine
the scope of project. Besides, we have to create the project
management plan that has project schedule, effort estimation and risk
management etc. At the end of this phase, we should check the objectives
of project and decide whether to continue development or not. Hence,
Inception phase must be properly planned and done. Based activities of this
phase
- Study business case and feasibility study of project
- Complete draft ERD of system
- Complete draft screen prototypes
- Complete draft requirements
- Determine project scopes
- Complete project management plan
Elaboration Phase: The objectives of this phase are to determine
appropriate architectural and construction plan for the project. The
architectural decision needs to be made for the entire system, and to
describe most of the requirements of system. At the end of this phase,
we must examine the objectives and scopes, the choice of architecture
and decide whether to proceed to the next phase. Based activities of this
phases:
- Complete user requirement specification
April-2015-SE Intake 7B

23

TaxiNet Project | Project Final Report

FPT University

Complete ERD, final prototypes


Complete Software Requirement Specification
Complete database model
Complete System Architecture Design
Construction Phase: Construction is the third phase of RUP lifecycle. In
this phase, we must have done all the coding and testing work. After
coding, developers will do unit test themselves, then test team will do
functional test and regression test when finishing all. Based activities of this
phase:
Complete coding and unit test
- Complete functional and regression test
Complete user manual
Transition Phase: Transition is the final phase of the RUP lifecycle. In this
phase, project team has to deploy the application and give it to
users. The next step is receiving feedback from users to identify the
problems and then complete the system. Based activities of this phase:
- Deploy the system
- Deliver source code
- Complete all reports and documents
-

2.3.3 Roles and Responsibilities


Table 2-5: Roles

April-2015-SE Intake 7B

24

TaxiNet Project | Project Final Report

FPT University

Table 2-6: Responsibilities

Member

Roles

Duong DQ

Leader
Developer Team
Test team

Ha TH

Responsibilities
1. Lead team
2. Develop Web app UI and
functions
3. Manage Source Code, hard
copy version
4. Manage Progress, milestones
and deliverables
5. Support other members
about technical problem
6. Execute test and fix bugs

Developer Team
1. Create and design mockup

April-2015-SE Intake 7B

25

TaxiNet Project | Project Final Report

FPT University

Design Team
and templates for web UI
2. Develop Web services and
DB manager
3. Review template with
supervisor
4. Apply template for web UI
Tuan DN

Design Team
Developer Team

Quan TC

Document Team
Developer Team

Hieu DT

1. Design mock up and


prototypes
2. Review prototypes with
supervisor
3. Manage prototypes
4. Prepare Android App
environment
5. Manage UI layouts and
transform prototypes to
Source Code
6. Help other team members
1. Prepare SR documents
2. Prepare meeting minutes
document
3. Review document with
supervisor
4. Update document with
supervisor comment
5. Develop 1 module on Web
App

Developer Team
Document Team

April-2015-SE Intake 7B

1. Prepare risk management


plan
2. Prepare effort estimate
3. Prepare android environment
4. Manage test cases and test
plans
5. Develop Android s web
services
6. Research Google map API

26

TaxiNet Project | Project Final Report

FPT University

technologies
7. Write report #5 and #6

2.4 TOOLS AND INFRASTRUCTURES


2.4.1 Hardware
Table 2-7: Hardware

Hardware

Configuration

Purposes

Laptop/Deskt
op

Core i5, 4gb ram,


500GB hard disk

Used for development


environment

Android
Smartphone

HTC One M8, 2GB


RAM, Asus
Zenphone 5 2GB
Ram

Install Android application for


testing

Android Tablet

Nexus 7, 2GB
RAM

Install android application for


testing

2.4.2 Software
2.4.3

Android Application

Android application is the mobile app for customer and taxi drivers.
Table 2-8: Android application

Software

ADT-Android
Development
Tools

Subclipse

April-2015-SE Intake 7B

Version

Purposes
Android Tools for development
Source: http://developer.android.com

1.10.4

Plug-in of eclipse is used to integrate with

27

TaxiNet Project | Project Final Report

FPT University

SVN server. Subclipse is an Eclipse Team


Provider for the Subversion version control
system.
Source: http://subclipse.tigris.org/
3

Subversion
Client Adapter

1.10.1

Plug-in of eclipse is used to integrate with


SVN server. Subversion Client Adapter
provides a common API for Subversion
client functionality.
Source: http://eclipse.org/subversive/

Subversion
Revision Graph

1.1.1

Plug-in of eclipse is used to integrate with


SVN server. Subversion Revision Graph for
Subclipse
Source: http://subclipse.tigris.org/

Subversion
JavaHL Native
Library Adapter

1.8.8

Subversion
Client Adapter

1.8.3

Plug-in of eclipse is used to integrate with


SVN server
Source: http://subclipse.tigris.org/
Plug-in of eclipse is used to integrate with
SVN server
Source: http://eclipse.org/subversive/

Subclipse
Integration for
Mylyn 3.x

3.0.0

Provides integration features between


Subclipse and Mylyn, such as automatic
change set management and linking
projects to issue tracking systemsbased on
svn properties.
Source: http://subclipse.tigris.org/

CollabNet
Merge client

4.0.2

The CollabNet Merge client provides


powerful Subversion merge capabilities
within the Eclipse environment.
Source:https://desktopeclipse.open.collab.net/source/browse/desk

April-2015-SE Intake 7B

28

TaxiNet Project | Project Final Report

FPT University

top-eclipse/
9

SVNKit Library

1.8.5.r2xx

SVNKit is a pure java Subversion client


library that may be used through its own
API or serve as a transparent replacement
of native javahl bindings.
Source: http://org.tmatesoft

10

2.4.4

SQLite
Developer Lite

Backend Application

Back-end application is a Java web with Pricefaces/JSF, Hibernate, Spring framework


and MySQL database. Back-end focus on admin and taxi groups for manage other
users information.
Table 2-9: Backend application

Software

Versio
n

Purposes

Eclipse
Juno

Juno
Servic
e
Releas
e2

Eclipse Java EE IDE for Web Developers.

Subclipse

1.10.4

Plug-in of eclipse is used to integrate with SVN


server. Subclipse is an Eclipse Team Provider for
the Subversion version control system.

Source:
http://www.eclipse.org/downloads/packages/eclips
e-ide-java-ee-developers/lunasr1

Source: http://subclipse.tigris.org/
3

Subversio
n Client
Adapter

1.10.1

Plug-in of eclipse is used to integrate with SVN


server. Subversion Client Adapter provides a
common API for Subversion client functionality.
Source: http://eclipse.org/subversive/

April-2015-SE Intake 7B

29

TaxiNet Project | Project Final Report

Subversio
n Revision
Graph

1.1.1

Subversio
n JavaHL
Native
Library
Adapter

1.8.8

Subversio
n Client
Adapter

1.8.3

Subclipse
Integratio
n for
Mylyn 3.x

3.0.0

FPT University

Plug-in of eclipse is used to integrate with SVN


server. Subversion Revision Graph for Subclipse
Source: http://subclipse.tigris.org/
Plug-in of eclipse is used to integrate with SVN
server
Source: http://subclipse.tigris.org/

Plug-in of eclipse is used to integrate with SVN


server
Source: http://subclipse.tigris.org/
Provides integration features between Subclipse
and Mylyn, such as automatic change set
management and linking projects to issue tracking
systemsbased on svn properties.
Source: http://subclipse.tigris.org/

Hibernate
Tools

3.6.0
Final

Hibernate Tools Eclipse Plugin provides


development wizards, a query console and a
mapping editor for Hibernate 3. Also includes
hibernate-tools.jar for use with standalone Ant
tools.
Source:
http://tools.jboss.org/downloads/jbosstools/juno/

CollabNet
Merge
Client

4.0.2

The CollabNet Merge client provides powerful


Subversion merge capabilities within the Eclipse
environment.
Source: https://desktopeclipse.open.collab.net/source/browse/desktopeclipse/

10

JBoss
Central
Communit

1.1.0

April-2015-SE Intake 7B

JBoss Central provides a central hub for new and


experienced users to get access to quickstarts,
projects, documentation resources, news blogs
30

TaxiNet Project | Project Final Report

FPT University

and access to easy installation of recommended


additonal plugins. Includes all dependencies to get
started with JBoss Central.
Source:
http://tools.jboss.org/downloads/jbosstools/juno/

11

JBoss tools
and library

12

Spring
Dashboard

JBoss tools from


http://tools.jboss.org/downloads/jbosstools/juno/
3.5.0x
xx

This feature provides the STS dashboard for


displaying RSS feeds and the extensions page
Source: http://projects.spring.io/spring-framework/

13

Spring IDE

3.5.0.x
xx

This feature provides integration for Spring IDE


with Eclipse AJDT.
Source: http://projects.spring.io/spring-framework/

14

14

15

Eclipse
Quick
search

3.5.0.x
xx

Tomcat
Plugin

3.3.1

My SQL
Database
server

5.7

This feature provides a QuickSearch dialog that


can be accessed quickly by a keyboard shortcut.
Source: http://projects.spring.io/spring-framework/
Plugin for Tomcat in Eclipse
Source:
http://marketplace.eclipse.org/content/eclipsetomcat-plugin
Database server
Source: http://www.mysql.com/downloads/

Table 2-10: Software & Libraries for Web Application runtime

Software

Version

Purposes

Spring core

4.1.2

Framework for business and data access layer


Source: http://www.springframework.org

April-2015-SE Intake 7B

31

TaxiNet Project | Project Final Report

Hibernate

4.3.7

FPT University

Libraries for Data Object mapping and access


data in DB
Source: http://hibernate.org/

Log4j

2.1

Use for logging of the application


Source: http://logging.apache.org/

JSF (Mojarra)

2.1

Use for User Interface Development and


runtime
Source:
https://javaserverfaces.java.net/download.html

Mysqlconnectorjava

5.1.17

Jquery

2.1.1

Use for connecting My SQL


Source:
http://dev.mysql.com/downloads/connector/j/5.0
.html
Use for user interface development and runtime
Source: http://jquery.com/

My SQL
Database

5.7

April-2015-SE Intake 7B

Use for Database Server


Source: http://www.mysql.com/downloads/

32

TaxiNet Project | Project Final Report

FPT University

2.5 SCHEDULE
2.5.1 Detailed Schedule

April-2015-SE Intake 7B

33

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

34

TaxiNet Project | Project Final Report

FPT University

2.5.2 Meeting Schedule


Our project team 2 types of meetings:
1. Meeting with supervisor: every Tuesday and Thursday from 9.00 am to
11h30am. In this meeting, we report percentages of work we did and discuss
for new problem so supervisor will give us advice and references link to solve
it.
2. Meeting with team members: because of we stay at FU-Hoa Lac so, we meet
each other every day. In this meeting, each member will report what he has
done last week to others and the problems he meets (if have). All members
will discuss about these problems and PM or technical leader will give the
April-2015-SE Intake 7B

35

TaxiNet Project | Project Final Report

FPT University

final solution for each. Finally, PM will give the tasks for all members to do
and report in the next meeting
2.5.3 Effort Estimation
Task name
Inception
Initiation
Technologies
Requirements
Develop Project Plan
Elaboration
Technology
User Requirement
Specification
System Requirement
Specification
Requirements&
Design
Coding
Test Document
Construction
Coding
Testing
Transition
Pre-closing
Closing
Total

Worst case
(days)
84
22
26
27
9
152
9
7

Best case
(days)
70
20
20
25
5
130
7
5

Most likely
(days)
76
21
22
26
7
135
8
6

26

20

22

40

35

35

49
21
99
50
49
17
11
6
375

45
18
87
45
42
13
9
4
375

45
19
91
45
46
15
10
5
375

2.6 RISK MANAGEMENT


Table 2-11: Risk management

No

Risk

Description

Root Cause

Potential
Responses

Risk
Owner

Probab
ility

Impac
t

Changing
requirem
ents

Team
members
and
supervisor

One or some
members find
out the
problem when

Meeting for
evaluating, and
changing the way
to develop new

Project
team

April-2015-SE Intake 7B

36

TaxiNet Project | Project Final Report

FPT University

find out
some
problems on
projects and
change the
requirements
for realistic
purpose

develop
software

requirements

Misunders
tanding
business
cases

Some
members of
team do not
research and
understand
about
business
cases

Low
responsibility
in working of
members

Finding the
reason,
evaluating and
giving
punishment for
members who not
research and
understand the
business cases

Project
team

Communi
ty Risk

Some
member
conflict,
misundersta
nd each
others leads
to wrong
actions and
decisions

Lack of
communicatio
ns skills

All members must


be careful in
talking with
others and writing
reports or
emails.PM assigns
member to write
meeting minute
after meeting or
take note after
discussing about
issues, then send
to all team
members

Project
team

Team leaders
plan an
unrealistic
schedule so
other team
members

Team leader
doesnt have
experiment in
creates WBS

Meeting with all


team and
supervisor to
review and
creates a plan
with discussion

Project
team

Unrealisti
c
Schedule

April-2015-SE Intake 7B

Careless when
reply email or
messages of
each other

37

TaxiNet Project | Project Final Report

can not
follow to
complete
their tasks in
time
5

Technical
risks

Short
durations of
learning new
frameworks

April-2015-SE Intake 7B

FPT University

and advice from


supervisor

Team
members cant
complete their
task in time
make the
schedule slow
down

Developers have
to study hard and
make some
examples

Project
team

Team needs some


technical
supervisor for
resolve problems
when studying
and developing

38

TaxiNet Project | Project Final Report

FPT University

3 SOFTWARE REQUIREMENTS SPECIFICATION


3.1 Introduction
3.1.1 Purposes
This is the Software Requirements Specification for the TaxiNet application. This SRS
details the capabilities and functions that the i2M must be capable of performing.
These requirements will assure that the system will correctly and reliably perform its
intended functionality. This specification will provide general, as well as specific
requirements to be used in the design, testing and validation of the system. It is
intended for both stakeholders and the project team of the system.
3.1.2 Definition and Acronyms
This section describes the definitions, terms, and acronyms that are used in
software requirements specification.
Table 3-12: Definition and acronyms

Items

Description

3.2 System Purpose


Nowadays, there are many Taxi applications for Android devices, but each
application has its own advantages and disadvantages. Our purpose when
developing this system is creating an application that has all main functions
improves the limitation and adds some special features of existing system. It
April-2015-SE Intake 7B

39

TaxiNet Project | Project Final Report

FPT University

provides the users a more effective, easier and simpler way to work with TaxiNet
service. This service very easily to use, and user can use free. Specially, TaxiNet
application support a lot of language, so customer can easily use it. Besides,
customer can choose payment method, they can payment by credit card, easily,
faster and save a lot of time and money.

3.3 Scope
Table 3-13: Scope

No

Function Group

Function

Mobile Driver

Login
Display Home Current Position
Receive Taxi Request
Do Payment for a Trip
View Driver's Profile
View Company Info
Logout
Register a Promotion Trip
View Trips History
View VIP Customer List
View Promotion Trips
View VIP Riders
Add Rider to VIP List

Mobile Rider

Login
Register a new Rider
Display Nearest Available Taxi
Request a Taxi
View Rider's Profile

April-2015-SE Intake 7B

40

TaxiNet Project | Project Final Report

FPT University

Edit Rider Profile


Change Rider's Home Address
Change Rider's Office Address
Change Rider's Payment Method
3

Web Agent

Login
Search Account
Charge Account
Search Charging Invoice
View Charging Invoice Details
View Agent Information
Edit Agent Information
Change Password
View Dashboard Information
Register a New Agent
Logout

Web Driver

Change Password
Display Vehicles List
Add Vehicle
View List of Live Vehicles
View Map of Live Vehicles
List Drivers
Add a New Driver
View Driver Info
View Price Panel List

April-2015-SE Intake 7B

41

TaxiNet Project | Project Final Report

FPT University

Add Price Panel


Edit Price Panel
View Price Panel Info
Forgot Password
Display Promotion Trips
Add a Promotion Trip
5

Web-Rider

Login
Logout
Display My Trips
Register Rider
View Rider Profile
Update Rider Profile
Change Password
View Payment Info
Edit Payment Info
Update Home Address
Update Office Address
Apply Promotion Code
View Trip Details
Find Free Trips

Web-Staff

Login
Search Drivers
View Driver Information
Approve New Driver

April-2015-SE Intake 7B

42

TaxiNet Project | Project Final Report

FPT University

Search Company
View Company Info
Approve New Company
Search Company Drivers
Display Company's Vehicles List
View Vehicle Details
Search Agent
View Agent Info
Approve Agent
View Agent Dashboard Information

3.4 Overall Description


3.4.1 System overview
This application is one version for iPhones user, everybody just register one
account to use. User can easily find the functions they want with friendly and simple
interface. They can manage trips, personal information, update and edit
information. Besides, user can view dashboards, invoices, register promotion trip
and payment easily, etc. If they face any problem, they can get help from User
Instruction and feedback function from TaxiNet User.

April-2015-SE Intake 7B

43

TaxiNet Project | Project Final Report

FPT University

Figure 3-6: System overview

3.4.2 Product Features


About the feature of TaxiNet application, it has main features of existing app such as
April-2015-SE Intake 7B

44

TaxiNet Project | Project Final Report

FPT University

view user profile, call taxi service, etc. Besides, it has some extra functions: change
language for users know about that language. Example, application can change
language to Vietnamese for Vietnamese users. There are the detailed functions of
this application:
No

Function Group

Function

Description

01

Mobile-Drivers

Login

Login to system

Display Home Current


Position

Display current position


of driver in map

Receive Taxi Request

Receive request from


rider

Do Payment for a Trip

Payment for a Trip after


finish it

View Driver's Profile

View profile of driver

View Companys
Information

View information of
company

Logout

Logout application

Register a Promotion
Trip

Register a promotion trip

View Trips History

View history of trip

View VIP Rider List

View list of VIP Rider

View Promotion Trips

View list of promotion trip


which registered by
driver

Add Rider to VIP List

Add a rider to the list of


VIP rider

View Trip Details

View detail information of


history of trip

Change Password

Change driver Password

Update Home Address

Update home address of

April-2015-SE Intake 7B

45

TaxiNet Project | Project Final Report

FPT University

driver

02

Mobile-Riders

April-2015-SE Intake 7B

View Riders
Registration
Information

View information of
registration of rider of a
promotion trip which
driver were registered

Login

Login to system

Register a new Rider

Register an riders
account to use
application

Display Nearest
Available Taxi

Display nearest available


driver around rider

Request a Taxi

Send a request to driver

View Rider's Profile

View profile of rider

Edit Rider Profile

Edit profile of rider

Change Rider's Home


Address

Change home address of


rider

Change Rider's Office


Address

Chang office address of


rider

Change Rider's
Payment Method

Chang payment method


for rider

Display My Promotion
Trips

Show registered
promotion trip

View Promotion Trip


Information

View information of
promotion trip

Register Promotion Trip

Send register request to


driver who create
promotion trip

View Trip History

View information of trip


history

View Favorite Drivers

View list of Favorite driver


46

TaxiNet Project | Project Final Report

03

Web-Agents

April-2015-SE Intake 7B

FPT University

Add Favorite Driver To


List

Add a driver to list of


favorite driver

Login

Login to system

Search Account

Search account login,


user have to enter
account and driver name/
agent name for search

Charge Account

User can charge money


to account

Search Charging
Invoice

User can search charging


invoice by the way enter
login account and time
implement invoice to
search

View Charging Invoice


Details

View charging invoice


details, include invoice
number, Username, login
account, address, contact
number, etc.

View Agent
Information

User can view all agent


information, include
agent code, agent name,
address, personal
information, account
information, etc.

Edit Agent Information

User can edit agent


information, include
represent image,
personal information,
TaxiNet account
information, etc.

Change Password

User can change account


Password.

47

TaxiNet Project | Project Final Report

04

Web-Drivers

April-2015-SE Intake 7B

FPT University

View Dashboard
Information

User can view all


dashboard information,
include account balance,
payment transactions,
total collected amount in
the month, etc.

Register a New Agent

User can register


information for new
agent, include agent
name, city, personal
information, etc.

Logout

Logout from the system.

Change Password

Driver can change


account Password.

Display Vehicles List

driver can view vehicle


list, include vehicle type,
license plate, year
product, insurance
certificate, IRS status,
etc.

Add Vehicle

Driver can add new


vehicle into vehicle list,
include vehicle
information, year
product, interior color,
exterior color, license
plate, etc.

View List of Live


Vehicles

View list of live vehicle,


include current position
status, vehicle, etc.

View Map of Live


Vehicles

View list of live vehicle in


the map, current position,
driver name, etc.

List Drivers

View list drivers, account


48

TaxiNet Project | Project Final Report

FPT University

name, driver name, email


address, phone number,
license plate, etc.

April-2015-SE Intake 7B

Add a New Driver

Add new driver, include


personal information,
name, address, contact
phone, account for new
driver, etc.

View Driver
Information

View driver information


details, include personal
information, full name,
email address, phone
number, country, account
information, vehicle
control, etc.

View Price Panel List

Driver can view price


panel list, some price
panel information,
include open price, first
kilometre price, waiting
price, apply date, etc.

Add Price Panel

Driver can add new price


panel, include price panel
information, open price,
first kilometre price,
waiting price, apply code,
etc.

Edit Price Panel

Driver can edit price


panel information,
include price panel
information, open price,
first kilometres price,
waiting price, apply code,
etc.

49

TaxiNet Project | Project Final Report

05

Web-Riders

April-2015-SE Intake 7B

FPT University

View Price Panel


Information

Driver can view Price


Panel Information

Forgot Password

Driver can view price


panel information details,
include open price, first
kilometre price, waiting
price, apply code, etc.

Display Promotion Trips

When driver forgot


Password, the system will
send an email for them
and driver have to
confirm it to re-set
Password.

Add a Promotion Trip

View promotion trips list,


and some trip
information, include time,
place, price, status, etc.

Login

Login into the system

Logout

Logout from the system.

Display My Trips

Rider can view their trip,


trip information details,
include time, place, fee,
driver name, etc.

Register Rider

User can register


information new rider,
include personal
information, home
address, office address,
contact number, etc.

View Rider Profile

Rider can view rider


profile, include personal
information, represent
image, name, email
50

TaxiNet Project | Project Final Report

FPT University

address, phone number,


etc.

April-2015-SE Intake 7B

Update Rider Profile

Rider can edit and


update profile, include
personal information,
represent image, name,
email address, home
address, office address,
phone number, language,
etc.

Change Password

Rider can change


account Password.

View Payment
Information

Rider can view payment


information, include
payment method, bank
name, etc.

Edit Payment
Information

Beside view payment


information, rider can
edit them, include
payment method, bank
name, etc.

Update Home Address

Rider can update home


address in profile.

Update Office Address

Rider can update office


address in profile.

Apply Promotion Code

Rider can apply


promotion code to give
promotion from TaxiNet.

View Trip Details

Rider can view trip


information details,
include time, date, place,
fee, driver name, etc.

Find Free Trips

Rider can find promotion


trips, after find trips, rider
51

TaxiNet Project | Project Final Report

FPT University

can view trip information,


time, place, fee, driver
name, vehicle, etc.
064

Web-Staff

April-2015-SE Intake 7B

Login

Login to the system.

Search Drivers

Staff can search driver,


and view some
information about driver,
include login account,
driver name, company,
status, etc.

View Driver
Information

Staff can view driver


information details,
include company
information, personal
information, TaxiNet
account information,
document necessary, etc.

Approve New Driver

When user register new


driver, staff have to
approve this driver for
complete driver
registration.

Search Company

Staff can search


company, and view some
information about
company, include
account login, company
name, address, status,
etc.

View Company
Information

Staff can view company


information details,
include company
information,
representative
52

TaxiNet Project | Project Final Report

FPT University

information, documents,
etc.

April-2015-SE Intake 7B

Approve New
Company

When user register new


company, staff have to
approve this company to
complete company
registration.

Search Company
Drivers

Staff can search company


drivers, and view some
information about this
driver, include account
login, driver name,
status, control vehicle,
etc.

Display Company's
Vehicles List

Staff can search


companys vehicle list,
and view some vehicle
information, include
vehicle name, license
plate, produce year,
registration, etc.

View Vehicle Details

Staff can view vehicle


information details,
include vehicle name,
year produce, license
plate, interior color,
exterior color, status,
documents necessary,
include Insurance
Certificate, Inspection &
Registration Stamp, etc.

Search Agent

Search staff, and view


some staff information,
include login account,
staff name, address,

53

TaxiNet Project | Project Final Report

FPT University

status, level, etc.


View Agent
Information

Staff can view agent


information details,
include agent
information,
representative
information, etc.

Approve Agent

When user register new


agent, staff have to
approve this agent to
complete registration.

View Agent Dashboard


Information

View agent dashboard


information, include
summary of collected
amount.

Figure 3-7: Produce Features

3.4.3 User characteristics


This application is used by only one kind of users who has downloaded and
installed TaxiNet in their Android device. They can use all functions of
application free.
3.4.4 User Documentation
List of document when delivering this application is in the table below:
Name

Description

User
Manu
al

Provide detailed explanation about the system, screens and


guild users how to use all features of TaxiNet application.

April-2015-SE Intake 7B

54

TaxiNet Project | Project Final Report

FPT University

3.4.5 Assumption
After analysing this project, we realize that there are some critical assumptions.
First, we assume that all team members will have no problem of health, because we
need more than 100% performance to finish the project. Second, we assume that
we can learn new technique in a short time and apply to the project. Its key to the
success of the project.

April-2015-SE Intake 7B

55

TaxiNet Project | Project Final Report

FPT University

3.5 Entity Relation Model


3.5.1 Entity-Relationship Diagram

Figure 3-8: ERD

April-2015-SE Intake 7B

56

TaxiNet Project | Project Final Report

FPT University

3.5.2 Entity Detail


Table 3-14: Relationship between entities

Entity
Name

Relationship

Entity Name

TaxiNetUse
r

includes

Rider

includes

Driver

Payment

has

Trip

links

Rider

has

Trip

has

Payment

links

TaxiNet User

links

Driver

has

Trip

has

Vehicle

has

Company

links

TaxiNet User

links

Trip

has

Company

links

Driver

has

Price Panel

includes

Vehicle

has

Price Panel

includes

Driver

links

Vehicle

links

Trip

Rider

Driver

Vehicle

Company

PricePanel

April-2015-SE Intake 7B

57

TaxiNet Project | Project Final Report

Trip

FPT University

includes

Payment

has

Driver

has

Rider

has

Vehicle

has

Price Panel

3.5.2.1TaxiNet User Entity


Table 3-15: TaxiNet User Entity

Entity

Artribute

Type

Mandatory

Description

TaxiNe
t User

User ID

string

Yes

Id of user

User Name

string

Yes

Account name

Password

string

Yes

Password account

Email

string

Yes

Email address of user

Language
Code

int

Yes

Id of language

City ID

int

Yes

Id of city

Status

string

Yes

Status of user

Image

string

Yes

Represent image

Postal Code

int

Yes

Postal code

Deactivated
Date

date

Yes

Deactivated date

Group Code

string

Yes

Id of group

Country Code

string

Yes

Id of country

April-2015-SE Intake 7B

58

TaxiNet Project | Project Final Report

FPT University

3.5.2.2Payment Entity
Table 3-16: Payment Entity

Entity

Artribute

Type

Mandatory

Description

Payme
nt

Payment ID

int

Yes

Id of payment

Card No

string

Yes

Id no card payment

Expired Year

string

Yes

Expired year

Expired
Month

string

Yes

Expired month

Bank ID

int

Yes

Id of bank

CVV

string

Yes

CVV of card

Type

string

Yes

Payment type

Status

string

Yes

Card status

3.5.2.3Rider Entity
Table 3-17: Rider Entity Details

Entity

Artribute

Type

Mandatory

Description

Rider

Rider ID

string

Yes

Id of rider

First Name

string

Yes

First name and


middle name of
rider

Last Name

string

Yes

Last name of rider

Mobile No

int

Yes

Phone number of
rider

Home Address

string

Yes

Riders home
address

Office Address

string

Yes

Riders office
address

April-2015-SE Intake 7B

59

TaxiNet Project | Project Final Report

RegID

string

FPT University

Yes

Registration ID

3.5.2.4Driver Entity
Table 3-18: Driver Entity Details

Entity

Artribute

Type

Mandatory

Description

Driver

DriverID

string

Yes

Id of driver

First Name

string

Yes

First name and


middle name of
driver

Last Name

string

Yes

Last name of driver

Mobile No

int

Yes

Phone number of
driver

Driver Lisence

int

Yes

Vehicle lisence
plate of driver

Current Vehicle

int

Yes

Current vehicle
which driver use to
work

Driver
Experinence

int

Yes

Experience of driver

Address ID

string

Yes

Drivers address

Invitation Code

string

Yes

Drivers invitation
code

Reg ID

string

Yes

Registration id

3.5.2.5Vehicle Entity
Table 3-19: Vehicle Entity Details

Entity

Artribute

Type

Mandatory

Description

Vehicl

Vehicle ID

int

Yes

Id of vehicle

April-2015-SE Intake 7B

60

TaxiNet Project | Project Final Report

FPT University

Plate

string

Yes

Vehicle lisence
plate

Interior Color

string

Yes

Interior color of
vehicle

Exterior Color

string

Yes

Exterior color of
vehicle

Produce Year

string

Yes

Produce year of
vehicle

Lisence Plate
Country

int

Yes

Country offer
lisence plate

Lisence Plate
State

int

Yes

State offer lisence


plate

Level

string

Yes

Vehicles level

3.5.2.6Company Entity
Table 3-20: Company Entity Details

Entity

Artribute

Type

Mandatory

Description

Comp
any

Company ID

int

Yes

Id of company

Name

int

Yes

Company name

Address ID

string

Yes

Id of address

Business Type

string

Yes

Type of business

Balance

int

Yes

Balance of
company

VAT Number

int

Yes

VAT number

Mobile No

int

Yes

Phone number

Service Charge

int

Yes

Charge for service

Rate

int

Yes

rating

Current

int

Yes

Promotion code of

April-2015-SE Intake 7B

61

TaxiNet Project | Project Final Report

FPT University

Promotion Code

company

Parent ID

int

Yes

Id of parent

Operating
Lisence

int

Yes

Operating lisence
of company

Business
Registration

int

Yes

Business
registration of
company

Bank No

string

Yes

Number of banks
card

Bank ID

int

Yes

ID of bank

3.5.2.7Price Panel Entity


Table 3-21: Price Panel Entity Details

Entity

Artribute

Type

Mandatory

Description

Price
Panel

Price Panel ID

int

Yes

Id of price panel

Title

int

Yes

Title of price panel

Start Date

date

Yes

Date to start

End Date

date

Yes

Date to end

Open KM

int

Yes

Regulation for open


kilometer

Open Price

int

Yes

Open price

First KM

int

Yes

Regulation for first


kilometer

First KM Price

int

Yes

Price for first


kilometer

Next KM

int

Yes

Regulartion for next


kilometer

Next KM Price

int

Yes

Price for next

April-2015-SE Intake 7B

62

TaxiNet Project | Project Final Report

FPT University

kilometer
Waiting Price

int

Yes

Waiting price for a trip

Return Trip
Price

int

Yes

Trip price for return

3.5.2.8Trip Entity
Table 3-22: Trip Entity

Entity

Artribute

Type

Mandatory

Description

Trip

Request ID

string

Yes

Id of request

Request Date
Time

string

Yes

Date and time of


request

From Address

string

Yes

Address

To Address

string

Yes

Address

Time Request

string

Yes

Time to request

Time Start

string

Yes

Time to start

Time End

string

Yes

Time to end

Fee

int

Yes

Price for trip

Status

string

Yes

Status of trip

Country ID

int

Yes

Id of country

From City

int

Yes

City

To City

int

Yes

City

Start Latitude

int

Yes

Start latitude
point

Start Longtitude

int

Yes

Start longtitude
point

End Latitude

int

Yes

End latitude point

April-2015-SE Intake 7B

63

TaxiNet Project | Project Final Report

End Longtitude

April-2015-SE Intake 7B

FPT University

int

Yes

End longtitude
point

64

TaxiNet Project | Project Final Report

FPT University

3.6 Functional Specification


3.6.1 UC01: Rider Management Information
3.6.1.1Use Case Diagram

April-2015-SE Intake 7B

65

TaxiNet Project | Project Final Report

FPT University

Figure 3-9: Rider use-cases

April-2015-SE Intake 7B

66

TaxiNet Project | Project Final Report

FPT University

3.6.1.2Use Case Specification


3.6.1.2.1 UC01-01: Login
Table 3-23: Login

Use Case ID

UC01

Version

1.0

Use Name

Login

Actor

Rider

Description

The function allows rider login to the system

Precondition

Go to [Rider Start] screen

Trigger

Click on [Ignore This Step To Start] button on [Rider


Start] screen

Post-Condition

Rider can login to the system.

Main flows
Step

Actor

Action

Rider

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Display [Start] Screen with following components:


- [Image introduce about TaxiNet]
- [Previous] button
- [Next] button
- [Ignore This Step To Start] button

Rider

Tap on [Ignore This Step To Start] button

TaxiNet

Display [Login] Screen with following components:


- [TaxiNet] logo
- [Login with FaceBook] button
- [Email]

April-2015-SE Intake 7B

67

TaxiNet Project | Project Final Report

FPT University

- [Password]
- [Login] button
- [Register] Hyperlink
- [Forgot Password] Hyperlink
5

Rider

Enter Email and Password into [Email] field and


[Password] field then tap on [Login] button

TaxiNet

Validate data input then login to the system

Alternative flows
AT1
Step

Actor

Action

3.6.1.2.2 UC01-02: Register A New Rider


Table 3-24: Register rider

Use Case ID

UC02

Version

1.0

Use Name

Register New Rider

Actor

Rider

Description

The function allows rider register a new account, use for


log into system.

Precondition

Go to [Login] screen.

Trigger

Tap on [Register] Hyperlink.

Post-Condition

Rider can register new account successfully.

Main flows
April-2015-SE Intake 7B

68

TaxiNet Project | Project Final Report

FPT University

Step

Actor

Action

Rider

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display Login Screen

Rider

Click on [Register] Hyperlink on Login Screen

TaxiNet

Display Register Personal Information Screen with


components bellow:
- Email:
- Password:
- Confirm Password:
- Last Name:
- First Name:
- Phone Number:
- [Continues] button
- [Cancel] button
- [Privacy Policy] button

Rider

Fill all information on this screen and click on


[Continues] button

TaxiNet

Display Register Payment Screen with components


bellow:
- [Number]
- [CVV]
- [Expired Date] include [Month] and [Year]
- [Postal]
- [Add] button

April-2015-SE Intake 7B

69

TaxiNet Project | Project Final Report

FPT University

- [Register] button
- [Cancel] button
- [Privacy Policy] button
7

Rider

Fill all information on this screen and click on [Register]


button

TaxiNet

Display Home Screen

Alternative flows
AT1

At step 5 in the main flows, if Rider dont fill into some field and then
click on [Continues] button

Step

Actor

Action

TaxiNet
Rider

Application will display error message CMSxxx is


required

AT2

At step 7 in the main flows, if Rider dont fill into some field and then
click on [Register] button

Step

Actor

Action

TaxiNet
Rider

Application will display error message CMSxxx is


required

AT3

At step 5 in the main flows, if LMS failed to validate user name &
Password

Step

Actor

Action

TaxiNet
Rider

Display Error message with message "Your user name


or Password is not correct."

Business Roles
#

Rule Description

BR0
1

When user choose [Privacy Policy] button, app will display [Terms
and Conditions] Screen

April-2015-SE Intake 7B

70

TaxiNet Project | Project Final Report

FPT University

BR0
2

When Rider click on [Cancel] button, app will display [Login]


Screen

BR0
3

[Phone Number] field will get current phone number on the


mobile phone

BR0
4

When Rider click on [Add] button on [Register Payment Method]


screen, app will display some field allow Rider enter more
information about Payment Method

BR0
5

When Rider click on [Cancel] button on [Register Payment


Method] screen, app will dislpay [Login] screen

3.6.1.2.3 UC01-03: Display nearest Available Taxi


Table 3-25: Display Nearest Available taxi

Use Case ID

UC03

Version

1.0

Use Name

Display nearest available taxi and send an request

Actor

Rider

Description

The function allows rider view nearest available taxi and


send an request

Precondition

Go to [Login] screen.

Trigger

Login to the system.

Post-Condition

Rider can new nearest available taxi and send an


request

Main flows
Step

Actor

Action

Rider

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Display [Start] Screen with following components:


- [Image introduce about TaxiNet]

April-2015-SE Intake 7B

71

TaxiNet Project | Project Final Report

FPT University

- [Previous] button
- [Next] button
- [Ignore this step to Start] button
3

Rider

Tap on [Ignore This Step To Start] button

TaxiNet

Display [Login] Screen with following components:


- [TaxiNet] logo
- [Login with Facebook] button
- [Email]
- [Password]
- [Login] button
- [Register] Hyperlink
- [Forgot Password] Hyperlink

Rider

Enter Email and Password into [Email] field and


[Password] field then tap on [Login] button

TaxiNet

Validate data input then login to the system, display


[Home] screen with following components:
- [Menu Icon]
- [Services]
- [Screen Name]
- The map display current rider position and three
nearest available taxi

Alternative flows
AT1
Step

Actor

April-2015-SE Intake 7B

Action

72

TaxiNet Project | Project Final Report

FPT University

Bussiness Roles
#

Rule Description

BR0
1

Always display three nearest available taxi, status taxi is update


in 5 seconds

BR0
2

While waiting taxi or taxi is coming, if user tap on [Tab] bar,


system will display popup Warning with component bellow:
- Do you want to cancel request?
- [Cancel] button
- [No] button
If user tap on [Cancel] button, application will send request
[Cancel] to Driver

3.6.1.2.4 UC01-04: Request A Taxi


Table 3-26: Request Taxi

Use Case ID

UC04

Use Name

Request A Taxi

Actor

Rider

Description

The function allows rider view nearest available taxi and


send an request

Precondition

Go to [Rider-Home] screen.

Trigger

Tap on one of the nearest available taxi.

Post-Condition

Rider send an request to driver

April-2015-SE Intake 7B

Version

1.0

73

TaxiNet Project | Project Final Report

FPT University

Main flows
Step

Actor

Action

Rider

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Display [Start] Screen with following components:


- [Image introduce about TaxiNet]
- [Previous] button
- [Next] button
- [Ignore this step to Start] button

Rider

Tap on [Ignore This Step To Start] button

TaxiNet

Display [Login] Screen with following components:


- [TaxiNet] logo
- [Login with Facebook] button
- [Email]
- [Password]
- [Login] button
- [Register] Hyperlink
- [Forgot Password] Hyperlink

Rider

Enter Email and Password into [Email] field and


[Password] field then tap on [Login] button

TaxiNet

Validate data input then login to the system, display


[Home] screen with following components:
- [Menu Icon]
- [Services]
- [Screen Name]

April-2015-SE Intake 7B

74

TaxiNet Project | Project Final Report

FPT University

- The map display current rider position and three


nearest available taxi
7

Rider

Tap on one of the nearest available taxi

TaxiNet

Display a notification under the screen with components


bellow:
- [Open Price]
- [From]
- [To]
- [Fee Estimate]
- [Driver Name]
- [Send an Request] button

Rider

Tap on [Send an Request] button

10

TaxiNet

Display a notification under the screen with following


components:
- [Open Price]
- [From]
- [To]
- [Fee Estimate]
- [Please wait]
When driver accept request, the screen will display
notification bellow:
- [Driver is coming]

Alternative flows
AT1
Step

Actor

April-2015-SE Intake 7B

Action

75

TaxiNet Project | Project Final Report

FPT University

3.6.1.2.5 UC01-05: View Riders Profile


Table 3-27: View Rider Profile

Use Case ID

UC05

Version

1.0

Use Name

View Riders Information

Actor

Rider

Description

The function allows rider view their information.

Precondition

User downloaded and installed TaxiNet application in


their device

Trigger

Application runs normally and displays Rider Profile


Screen

Post-Condition

Rider can view all their information.

Main flows
Step

Actor

Action

Rider

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display Login Screen

Rider

Fill Username and Password, then click on [Login] button

TaxiNet

Display Home Screen

Rider

Click on [Profile] button on the Menu Bar

TaxiNet

Display Rider Profile Screen with components bellow:

April-2015-SE Intake 7B

76

TaxiNet Project | Project Final Report

FPT University

- Represent Image
- First Name
- Last Name
- Account Information
+ Email
+ Phone Number
+ Password
- Trips History
- Home Address
- Office Address
- [Logout] button
Alternative flows
AT1
Step

Actor

Action

3.6.1.2.6 UC01-06: Edit Rider Profile


Table 3-28: Edit Rider Profile

Use Case ID

UC06

Use Name

Edit Riders Information

Actor

Rider

Description

The function allows rider edit their information.

Precondition

User downloaded and installed TaxiNet application in

April-2015-SE Intake 7B

Version

1.0

77

TaxiNet Project | Project Final Report

FPT University

their device
Trigger

Application runs normally and displays [Edit Profile]


Screen

Post-Condition

Rider can edit all their information.

Main flows
Step

Actor

Action

Rider

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display Login Screen

Rider

Fill Username and Password, then click on [Login] button

TaxiNet

Display Home Screen

Rider

Click on [Profile] button on the Menu Bar

TaxiNet

Display Rider Profile Screen with components bellow:


- [Menu Bar] with 3 button:
+ [Back] button
+ [Profile] button
+ [Edit] button
- Image represent
- First Name
- Last Name
- Account Information
+ Email
+ Phone Number
+ Password

April-2015-SE Intake 7B

78

TaxiNet Project | Project Final Report

FPT University

- Trips History
- Home Address
- Office Address
- [Logout] button
7

Rider

Tap on [Edit] button on the Menu Bar

TaxiNet

Display [Edit Profile] screen with components bellow:


- Image represent
- [Update Image Represent] button
- First Name
- Last Name
- Account Information
+ Email
+ Phone Number
+ Password
- Trips History
- Home Address
- Office Address
- [Save] button

Rider

Enter information need to edit then tap on [Save] button

10

TaxiNet

Validate data input and save into database

Alternative flows
AT1
Step

Actor

April-2015-SE Intake 7B

Action

79

TaxiNet Project | Project Final Report

FPT University

3.6.1.2.7 UC01-07: Change Riders Home Address


Table 3-29: Change Rider's Home Address

Use Case ID

UC07

Version

1.0

Use Name

Change Home Address

Actor

Rider

Description

The function allows rider change homes address


information

Precondition

Go to [Rider Profile] Screen

Trigger

Tap on [>] button near Home Address

Post-Condition

Rider can change homes address information as they


want.

Main flows
Step

Actor

Action

Rider

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display Login Screen

Rider

Fill Username and Password, then click on [Login] button

TaxiNet

Display Home Screen

Rider

Click on [Profile] button on the Menu Bar

TaxiNet

Display Rider Profile Screen with components bellow:


- Image represent
- First Name

April-2015-SE Intake 7B

80

TaxiNet Project | Project Final Report

FPT University

- Last Name
- Account Information
+ Email
+ Phone Number
+ Password
- Trips History
- Home Address
- Office Address
- [Logout] button
7

Rider

Click on [>] button near [Home Address]

TaxiNet

Display [Change Address] Screen with components


bellow:
- [Back] button
- [Home Address]
- [Save] button
- [Home Number]
- [Street]
- [State]
- [City]
- [Map]

Rider

Fill all information need to change and then click on


[Save] button

10

TaxiNet

Change Homes Address Successfully

Alternative flows

April-2015-SE Intake 7B

81

TaxiNet Project | Project Final Report

FPT University

AT1
Step

Actor

Action

Business Roles
#

Rule Description

BR0
1

When Rider click on [Back] button, app will display [Rider Profile]
screen

BR0
2

When Rider click on [Save] button, data user enter will checked
and save on database

BR0
3

When Rider no enter some field and click on [Save] button, app
will display error message with massage xxx is required and
Rider have to enter again.

BR0
4

When Rider choose position on the map, software automatically


records the coordinates (longitude, latitude) and check the
information taken from Google Map, and compared to information
the user entered. If different, priority information taken from
Google Map.

3.6.1.2.8 UC01-08: Change Riders Office Address


Table 3-30: Change Rider's Office Address

Use Case ID

UC08

Use Name

Change Office Address

Actor

Rider

Description

The function allows rider change Offices address

April-2015-SE Intake 7B

Version

1.0

82

TaxiNet Project | Project Final Report

FPT University

information
Precondition

Go to [Rider Profile] Screen

Trigger

Tap on [>] button near Office Address

Post-Condition

Rider can change offices address information as they


want.

Main flows
Step

Actor

Action

Rider

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display Login Screen

Rider

Fill Username and Password, then click on [Login] button

TaxiNet

Display Home Screen

Rider

Click on [Profile] button on the Menu Bar

TaxiNet

Display Rider Profile Screen with components bellow:


- Image represent
- First Name
- Last Name
- Account Information
+ Email
+ Phone Number
+ Password
- Trips History
- Home Address
- Office Address

April-2015-SE Intake 7B

83

TaxiNet Project | Project Final Report

FPT University

- [Logout] button
7

Rider

Click on [>] button near [Office Address]

TaxiNet

Display [Change Address] Screen with components


bellow:
- [Back] button
- [Office Address]
- [Save] button
- [Home Number]
- [Street]
- [State]
- [City]
- [Map]

Rider

Fill all information need to change and then click on


[Save] button

10

TaxiNet

Change Offices Address Successfully

Alternative flows
AT1
Step

Actor

Action

3.6.1.2.9 UC01-09: Find Promotion Trip


Table 3-31: Find Promotion Trip

April-2015-SE Intake 7B

84

TaxiNet Project | Project Final Report

FPT University

Use Case ID

UC09

Version

1.0

Use Name

Find Promotion Trip

Actor

Rider

Description

The function allows rider edit their information.

Precondition

User downloaded and installed TaxiNet application in


their device

Trigger

Application runs normally and displays [Edit Profile]


Screen

Post-Condition

Rider can edit all their information.

Main flows
Step

Actor

Action

Rider

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display Login Screen

Rider

Fill Username and Password, then click on [Login] button

TaxiNet

Display Home Screen

Rider

Click on [Profile] button on the Menu Bar

TaxiNet

Display Rider Profile Screen with components bellow:


- [Menu Bar] with 3 button:
+ [Back] button
+ [Profile] button
+ [Edit] button
- Image represent
- First Name
- Last Name

April-2015-SE Intake 7B

85

TaxiNet Project | Project Final Report

FPT University

- Account Information
+ Email
+ Phone Number
+ Password
- Trips History
- Home Address
- Office Address
- [Logout] button
7

Rider

Tap on [Edit] button on the Menu Bar

TaxiNet

Display [Edit Profile] screen with components bellow:


- Image represent
- [Update Image Represent] button
- First Name
- Last Name
- Account Information
+ Email
+ Phone Number
+ Password
- Trips History
- Home Address
- Office Address
- [Save] button

Rider

Enter information need to edit then tap on [Save] button

10

TaxiNet

Validate data input and save into database

April-2015-SE Intake 7B

86

TaxiNet Project | Project Final Report

3.6.1.2.10

FPT University

UC01-10: Display My Promotion Trips


Table 3-32: Display My Promotion Trips

Use Case ID

UC10

Version

1.0

Use Name

Display My Promotion Trips

Actor

Rider

Description

The function allows rider to find promotion trips

Precondition

Go to [Rider-Home] screen.

Trigger

Tap on [Menubar] button

Post-Condition

Connected to Internet

Main flows
Step

Actor

Action

Rider

Login to the system

TaxiNet

Display [Rider-Home] screen

Rider

Click on [Find Promotion Trips] button

TaxiNet

Display [Find Promotion Trip] Screen with components


bellow:
- Menu Icon
- My Promotion Trips
- Services
- Google Map
- 3 progress button
- Choose button

April-2015-SE Intake 7B

87

TaxiNet Project | Project Final Report

FPT University

Rider

Enter Start point, End Point and other settings(capacity,


time)

TaxiNet

Check if no promotion trip found then show message, if


found, display promotion trip

3.6.1.2.11

UC01-11: View Promotion Trip Information


Table 3-33: View Promotion Trip Information

Use Case ID

UC11

Version

1.0

Use Name

View Promotion Trip Information

Actor

Rider

Description

The function allows rider view promotion trip information

Precondition

Go to [Find Promotion Trips] screen

Trigger

Tap on [Find] button

Post-Condition

Rider can register a promotion trip

Main flows
Step

Actor

Action

Rider

Login to the system

TaxiNet

Display [Rider-Home] screen

Rider

Tap on [Find Promotion Trips] button

TaxiNet

Display [Find Promotion Trip] screen with following


components:
- From
- To
- Slot
- Date and Time

April-2015-SE Intake 7B

88

TaxiNet Project | Project Final Report

FPT University

- The map
- [Find] button
5

Rider

Enter into [From] field, [To] field, [Slot] field, [Date] field,
[Time] field or choose position in the Map, then tap on
[Find] button

TaxiNet

Display promotion trip list, include following


components:
- Date and Time
- [Register] button
- From
- To
- Slot
- Price
- Driver Name

Alternative flows
AT1
Step

Actor

3.6.1.2.12

Action

UC01-12: View Trips History


Table 3-34: View Trip History

Use Case ID

UC13

Use Name

View Trip History

April-2015-SE Intake 7B

Version

1.0

89

TaxiNet Project | Project Final Report

Actor

Rider

Description

The function allows rider view trips history

Precondition

Go to [Rider] Home Screen.

Trigger

Tap on [Trip History] button

Post-Condition

Rider can view trips history

FPT University

Main flows
Step

Actor

Action

Rider

Login to the system

TaxiNet

Display [Rider-Home] screen.

Rider

Tap on [My Trips] button

TaxiNet

Display [My Trips] Screen with components bellow:


- Menu Icon
- My Trips
- Services
- Date
- List Trips
- Trip Information include components bellow:
+ From
+ To
+ Driver with License Plate
+ Time

Alternative flows
AT1

April-2015-SE Intake 7B

90

TaxiNet Project | Project Final Report

Step

Actor

3.6.1.2.13

FPT University

Action

UC01-13: View Favorite Drivers


Table 3-35: View Favorite Drivers

Use Case ID

UC13

Version

1.0

Use Name

View Favorite Drivers

Actor

Rider

Description

The function allows rider view favorite drivers

Precondition

Go to [Rider] Home Screen.

Trigger

Tap on [Favorite Driver] button

Post-Condition

Rider can view favorite drivers

Main flows
Step

Actor

Action

Rider

Login to the system

TaxiNet

Display [Rider-Home] screen.

Rider

Tap on [Favorite Driver] button

TaxiNet

Display [Favorite Driver] Screen with components


bellow:
- Menu Icon
- Drivers name
- Drives Phone Number

April-2015-SE Intake 7B

91

TaxiNet Project | Project Final Report

FPT University

- [Call] Button
Alternative flows
AT1
Step

Actor

3.6.1.2.14

Action

UC01-14: Add Favorite Driver


Table 3-36: Add Favorite Driver

Use Case ID

UC13

Version

1.0

Use Name

Add Favorite Drivers

Actor

Rider

Description

The function allows rider add favorite drivers

Precondition

Go to [Trip History] Home Screen.

Trigger

Tap on [Add Favorite Driver] button

Post-Condition

Driver isnt in Riders Favorite Driver List

Main flows
Step

Actor

Action

Rider

Login to the system

TaxiNet

Display [Trip History] screen.

Rider

Tap on [Add Favorite Driver] button

TaxiNet

Send request to Server


Response Request

April-2015-SE Intake 7B

92

TaxiNet Project | Project Final Report

FPT University

Alternative flows
AT1
Step

Actor

April-2015-SE Intake 7B

Action

93

TaxiNet Project | Project Final Report

FPT University

3.6.2 UC02: Driver Management Information


3.6.2.1Use Case Diagram

April-2015-SE Intake 7B

94

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

95

TaxiNet Project | Project Final Report

FPT University

Figure 3-10: Driver use-cases

3.6.2.2Use Case Specification


3.6.2.2.1 UC02-01: Login
Table 3-37: Login

Use Case ID

UC01

Version

1.0

Use Name

Login

Actor

Driver

Description

The function allows Driver login to the system

Precondition

User downloaded and installed TaxiNet application in


their device, then tap on the TaxiNets icon

Trigger

Application runs normally and displays [Login] Screen

Post-Condition

Driver can login to the system

Main flows
Step

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display [Login] Screen with following


components:
- [Email] field
- [Password] field
- [Login] button
- [Register] Hyperlink
- [Forgot Password] Hyperlink

Driver

Fill [Username] and [Password] then tap on [Login]


button

TaxiNet

Validate data input and login to the system

April-2015-SE Intake 7B

96

TaxiNet Project | Project Final Report

FPT University

3.6.2.2.2 UC02-02: Display Home Current Position


Table 3-38: Display Home Current Position

Use Case ID

UC02

Version

1.0

Use Name

Display Home Position

Actor

Driver

Description

The function allows Driver see current position on the


Map

Precondition

Tap on [TaxiNet] icon

Trigger

Login to the system

Post-Condition

Driver can see current position on the Map

Main flows
Step

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display [Login] Screen with following


components:
- [Email] field
- [Password] field
- [Login] button
- [Register] Hyperlink
- [Forgot Password] Hyperlink

Driver

April-2015-SE Intake 7B

Fill [Username] and [Password] then tap on [Login]


button
97

TaxiNet Project | Project Final Report

FPT University

TaxiNet

Validate data input and login to the system

Driver

Login into the system

TaxiNet

Display [Home] screen with following components:


- The Map display Taxi current position

3.6.2.2.3 UC02-03: Receive Taxi Request


Table 3-39: Receive Taxi Request

Use Case ID

UC03

Version

1.0

Use Name

Display Home Position

Actor

Driver

Description

The function allows Driver receive request from rider

Precondition

Go to [Home] screen

Trigger

Rider send an request to driver

Post-Condition

Driver can receive request from rider

Main flows
Step

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display [Login] Screen with following


components:
- [Email] field
- [Password] field
- [Login] button
- [Register] Hyperlink
- [Forgot Password] Hyperlink

April-2015-SE Intake 7B

98

TaxiNet Project | Project Final Report

FPT University

Driver

Fill [Username] and [Password] then tap on [Login]


button

TaxiNet

Validate data input and login to the system

Driver

Login into the system

TaxiNet

Display [Home] screen with following components:


- The Map display Taxi current position

Driver

When [Rider] send request

TaxiNet

Display current position of Rider and notification under


screen include following components:
- [Rider Name]
- [Phone Number]
- [Address]
- [Accept] button
- [Deny] button

Driver

Tap on [Accept] button

10

TaxiNet

Display notification under screen include following


components:
- [Rider Name]
- [Phone Number]
- [Address]
- [Accepted] button
- [Cancel] button

April-2015-SE Intake 7B

99

TaxiNet Project | Project Final Report

FPT University

3.6.2.2.4 UC02-04: Do Payment for A Trip


Table 3-40: Do Payment for A Trip

Use Case ID

UC05

Version

1.0

Use Name

View Drivers Profile

Actor

Driver

Description

The function allows Driver do payment for a trip

Precondition

Accept request of rider

Trigger

Tap on [Payment] button

Post-Condition

Driver can view Profile

Main flows
Step

Actor

Action

Driver

Accept request of rider

TaxiNet

Display [Payment Invoice] popup with following


components:
- Rider Name
- From
- To
- Distance
- Total Price
- Payment Method
- Password
- [Payment] button

Business Roles:

April-2015-SE Intake 7B

100

TaxiNet Project | Project Final Report

FPT University

Rule Description

BR0
1

[Password] field just displayed when rider choose payment


method is ATM or Transfer.

BR0
2

When rider not register payment method, default payment


method is direct.

BR0
3

Estimate total price based on Double kilometer.

3.6.2.2.5 UC02-05: View Drivers Profile


Table 3-41: View Drivers Profile

Use Case ID

UC05

Version

1.0

Use Name

View Drivers Profile

Actor

Driver

Description

The function allows Driver login to the system and view


drivers profile

Precondition

Login to the system.

Trigger

Tap on [Drivers Profile]

Post-Condition

Driver can view Profile

Main flows
Step

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display [Login] Screen with following


components:
- [Email] field
- [Password] field

April-2015-SE Intake 7B

101

TaxiNet Project | Project Final Report

FPT University

- [Login] button
- [Register] Hyperlink
- [Forgot Password] Hyperlink
3

Driver

Fill [Username] and [Password] then tap on [Login]


button

TaxiNet

Validate data input and login to the system

Driver

Tap on [Drivers Profile] button

TaxiNet

Display [Drivers Profile] screen with following


components:
- [Back] button
- [Edit] button
- [Image Represent]
- [Last Name]
- [First Name and Middle Name]
- [Account] include components bellow:
+ [Email]
+ [Language]
+ [Password] with [Change] button
+ [Account Balance]
- [Address] include components bellow:
+ [Home Address] with [>] button
+ [Company Information] with [>] button
- [Logout] button

Business Roles:
April-2015-SE Intake 7B

102

TaxiNet Project | Project Final Report

FPT University

Rule Description

BR0
1

All of fields in this screen is only read, not allow edit information.

BR0
2

If driver choose [Change] button near [Password], [Change


Password] screen is display.

BR0
3

If driver choose [>] button near [Home Address], [Change Home


Address] screen is displayed.

BR0
4

If driver choose [>] button near [Company Information],


[Company Information] screen is displayed.

3.6.2.2.6 UC02-06: View Company Information


Table 3-42: View Company Information

Use Case ID

UC06

Version

1.0

Use Name

View Company Information

Actor

Driver

Description

The function allows Driver view Company information.

Precondition

Go to [Driver Profile] screen

Trigger

Tap on [>] button near [Company Information]

Post-Condition

Rider can view all their information.

Main flows
Step

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display Login Screen

Driver

Fill Username and Password, then click on [Login] button

TaxiNet

Display Home Screen

April-2015-SE Intake 7B

103

TaxiNet Project | Project Final Report

FPT University

Driver

Click on [Profile] button on the Menu Bar

TaxiNet

Display Driver Profile Screen with components bellow:


- [Back] button
- [Edit] button
- Image represent
- First Name
- Last Name
- Account Information
+ Email
+ Phone Number
+ Password
+ Balance
- Home Address
- Office Address
- Company Information
- [Logout] button

Driver

Tap on [>] button near [Company Information]

TaxiNet

[Company Information] Screen is displayed with


components bellow:
- [Back] button
- Company Name
- Address
- City

April-2015-SE Intake 7B

104

TaxiNet Project | Project Final Report

FPT University

- Zip Code
- Contact Phone
- VAT Number
- Vehicle
- [Logout] button
Alternative flows
AT1
Step

Actor

Action

3.6.2.2.7 UC02-07: Register A Promotion Trip


Table 3-43: Register A Promotion Trip

Use Case ID

UC07

Version

1.0

Use Name

Register Promotion Trip

Actor

Driver

Description

The function allows Driver view Promotion Trips List,


detail information.

Precondition

User downloaded and installed TaxiNet application in


their device

Trigger

Application runs normally and displays [Promotion Trips]


Screen

Post-Condition

Driver can view details information of Promotion Trips.

Main flows
Step

Actor

April-2015-SE Intake 7B

Action
105

TaxiNet Project | Project Final Report

FPT University

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display Login Screen

Driver

Fill Username and Password then tap on [Login] button

TaxiNet

Display [Home Page] Screen

Driver

Tap on [Promotion Trips] on the Menu Bar

TaxiNet

Display [Promotion Trips] screen with components


bellow:
- [Menu Icon]
- Services
- Promotion Trips list include:
+ Time
+ Status (Opening, Closed)
+ From:
+ To:
+ Person Register (Not yet, displayed full name if
have person register).
+ [Register Promotion Trip] button

Driver

Click on [Register Promotion Trip] button

TaxiNet

App will display [Register Promotion Trip] Screen with


components bellow:
- [Back] button
- [Save] button
- [From] include [City] and [Address]
- [To] include [City] and [Address]
- Number of register person

April-2015-SE Intake 7B

106

TaxiNet Project | Project Final Report

FPT University

- Time include components bellow:


+ From
+ To
+ Date
+ Fee
+ Map display entry point and destination

Alternative flows

3.6.2.2.8 UC02-08: View Promotion Trips


Table 3-44: View Promotion Trips

Use Case ID

UC08

Version

1.0

Use Name

View Promotion Trips

Actor

Driver

Description

The function allows Driver view Promotion Trips List,


detail information.

Precondition

User downloaded and installed TaxiNet application in


their device

Trigger

Application runs normally and displays Promotion Trips


Screen

Post-Condition

Driver can view details information of Promotion Trips.

Main flows
Step

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display Login Screen

April-2015-SE Intake 7B

107

TaxiNet Project | Project Final Report

FPT University

Driver

Fill Username and Password then tap on [Login] button

TaxiNet

Display [Home Page] Screen

Driver

Tap on [Promotion Trips] on the Menu Bar

TaxiNet

Display [Promotion Trips] screen with components


bellow:
- [Menu Icon]
- Services
- Promotion Trips list include:
+ Time
+ Status (Opening, Closed)
+ From:
+ To:
+ Person Register (Not yet, displayed full name if
have person register).
+ [Register Promotion Trip] button

Alternative flows

3.6.2.2.9 UC02-09: View VIP Rider List


Table 3-45: View VIP Rider List

Use Case ID

UC09

Use Name

View VIP customer list

April-2015-SE Intake 7B

Version

1.0

108

TaxiNet Project | Project Final Report

FPT University

Actor

Driver

Description

The function allows Driver view VIP customer list

Precondition

User downloaded and installed TaxiNet application in


their device

Trigger

Application runs normally and displays VIP customer


Screen

Post-Condition

Rider can view information of VIP customer.

Main flows
Step

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display Login Screen

Driver

Fill Username and Password, then click on [Login] button

TaxiNet

Display Home Screen

Driver

Click on [VIP Rider List] button on the Menu Bar

TaxiNet

Display [VIP Rider List] screen with components bellow:


- [Menu] icon
- Services
- The table include some components bellow:
+ STT
+ Rider Name (Full Name)
+ Riders Phone Number
+ Time

Alternative flows
AT1

April-2015-SE Intake 7B

109

TaxiNet Project | Project Final Report

Step

Actor

3.6.2.2.10

FPT University

Action

UC02-10: View Trips History


Table 3-46: View Trips History

Use Case ID

UC10

Version

1.0

Use Name

View Trip History

Actor

Driver

Description

The function allows Driver view Trip History List and


Details Information of each Trip.

Precondition

User downloaded and installed TaxiNet application in


their device

Trigger

Application runs normally and displays History Trips


Screen

Post-Condition

Driver can view Trip History and details information of


each trip.

Main flows
Step

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display Login Screen

Driver

Fill Username and Password then tap on [Login] button

TaxiNet

Display [Home Page] Screen

Driver

Tap on [Trip History] on the Menu Bar

April-2015-SE Intake 7B

110

TaxiNet Project | Project Final Report

TaxiNet

FPT University

Display [Trip History] screen with components bellow:


Register).
- [Menu Icon]
- [Services]
- [Trip List] include components below:
+ Rider Name (Full name)
+ Time
+ From
+ To

Business Roles:
#

Rule Description

BR0
1

The trip not to the departure time, the status is opening, but the
trip was the last departure time more than 10 minutes, the status
is closed.

BR0
2

When rider register a promotion trip, rider name is displayed


under trip information, with Waiting accept status.

BR0
3

When driver accept, riders status is transfer to Accepted.

3.6.2.2.11

UC02-11: View Trip Information


Table 3-47: View Trip Information

Use Case ID

UC11

Use Name

View Trips Information

Actor

Driver

April-2015-SE Intake 7B

Version

1.0

111

TaxiNet Project | Project Final Report

FPT University

Description

The function allows Driver view Promotion Trips List,


detail information.

Precondition

Go to [Promotion Trip] screen

Trigger

Tap on [>] button near [Accepted] status of rider

Post-Condition

Driver can view details trip information

Main flows
Step

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display Login Screen

Driver

Fill Username and Password then tap on [Login] button

TaxiNet

Display [Home Page] Screen

Driver

Tap on [Promotion Trips] on the Menu Bar

TaxiNet

Display [Promotion Trips] screen with components


bellow:
- [Menu Icon]
- Services
- Promotion Trips list include:
+ Time
+ Status (Opening, Closed)
+ From:
+ To:
+ [Person Register] with [Waiting Accept] status and
[>] button
+ [Register Promotion Trip] button

Driver

April-2015-SE Intake 7B

Tap on [>] button near [Waiting Accept] status

112

TaxiNet Project | Project Final Report

TaxiNet

FPT University

Display [Registration Information] screen with following


components:
- Rider Name
- From
- To
- Slot
- Date and Time
- Phone Number
- The Map display register position of rider
- [Back] button
- [Deny] button
- [Accept] button

Driver

Tap on [Accept] button

10

TaxiNet

Riders status is transfer to Accepted with [>] button

11

Driver

Tap on [>] button near [Accepted] status of rider

12

TaxiNet

Display trip information with following components:


- Rider Name
- From
- To
- Slot
- Time and Date
- Phone Number
- The Map display register position of rider
- [Back] button

April-2015-SE Intake 7B

113

TaxiNet Project | Project Final Report

FPT University

Alternative flows

3.6.2.2.12

UC02-12: Add Rider To VIP List


Table 3-48: Add Rider To VIP List

Use Case ID

UC12

Version

1.0

Use Name

Add Rider to VIP list

Actor

Driver

Description

The function allows Driver view Trip History List and


Details Information of each Trip.

Precondition

User downloaded and installed TaxiNet application in


their device

Trigger

Application runs normally and displays History Trips


Screen

Post-Condition

Driver can view Trip History and details information of


each trip.

Main flows
Step

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display Login Screen

Driver

Fill Username and Password then tap on [Login] button

TaxiNet

Display [Home Page] Screen

Driver

Tap on [Trip History] on the Menu Bar

TaxiNet

Display [Trip History] screen with components bellow:


Register).

April-2015-SE Intake 7B

114

TaxiNet Project | Project Final Report

FPT University

- [Menu Icon]
- [Services]
- [Trip List] include components below:
+ Rider Name (Full name)
+ Time
+ From
+ To
7

Driver

Tap to choose one Trip and tap on [Details] Hyperlink

TaxiNet

App will display new page with components bellow:


- [Back] button
- [Rider Name] (Full Name)
- [From]
- [To]
- Distance
- Status
- Date and time
- Fee
- Payment Method
- Rider Phone Number
- Rider Icon
- Note
- [Add Rider to VIP List] Hyperlink

Driver

Tap on [Add Rider to VIP List] Hyperlink

10

TaxiNet

Rider will be add on [VIP Customer List] successfully.

April-2015-SE Intake 7B

115

TaxiNet Project | Project Final Report

3.6.2.2.13

FPT University

UC02-13: Change Password

Table 3-49: Change Password

Use Case ID

UC13

Version

1.0

Use Name

Change Password

Actor

Driver

Description

The function allows Driver login to the system and view


drivers profile

Precondition

Go to [Driver Profile] screen

Trigger

Tap on [Change]

Post-Condition

Driver can view Profile

Main flows
Ste
p

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display [Login] Screen with following


components:
- [Email] field
- [Password] field
- [Login] button
- [Register] Hyperlink
- [Forgot Password] Hyperlink

Driver

Fill [Username] and [Password] then tap on [Login]

April-2015-SE Intake 7B

116

TaxiNet Project | Project Final Report

FPT University

button
4

TaxiNet

Validate data input and login to the system

Driver

Tap on [Drivers Profile] button

TaxiNet

Display [Drivers Profile] screen with following


components:
- [Back] button
- [Edit] button
- [Image Represent]
- [Last Name]
- [First Name and Middle Name]
- [Account] include components bellow:
+ [Email]
+ [Language]
+ [Password] with [Change] button
+ [Account Balance]
- [Address] include components bellow:
+ [Home Address] with [>] button
+ [Compnay Information] with [>] button
- [Logout] button

Driver

Tap on [Change] button near [Password] text

TaxiNet

[Change Password] screen is displayed, with following


components:
- [Back] button
- [Save] button

April-2015-SE Intake 7B

117

TaxiNet Project | Project Final Report

FPT University

- [Current Password] field


- [New Password] field
- [Confirm New Password] field
9

Driver

Enter [Current Password] field, [New Password] field,


[Confirm New Password] field then tap on [Save] button

10

TaxiNet

Validate data input then save into database

3.6.2.2.14

UC02-14: Update Home Address


Table 3-50: Update Home Address

Use Case ID

UC14

Version

1.0

Use Name

Update Home Address

Actor

Driver

Description

The function allows Driver login to the system and view


drivers profile

Precondition

Go to [Driver Profile] screen

Trigger

Tap on [>] near Home Address

Post-Condition

Driver can view Profile

Main flows
Step

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display [Login] Screen with following


components:
- [Email] field
- [Password] field
- [Login] button

April-2015-SE Intake 7B

118

TaxiNet Project | Project Final Report

FPT University

- [Register] Hyperlink
- [Forgot Password] Hyperlink
3

Driver

Fill [Username] and [Password] then tap on [Login]


button

TaxiNet

Validate data input and login to the system

Driver

Tap on [Drivers Profile] button

TaxiNet

Display [Drivers Profile] screen with following


components:
- [Back] button
- [Edit] button
- [Image Represent]
- [Last Name]
- [First Name and Middle Name]
- [Account] include components bellow:
+ [Email]
+ [Language]
+ [Password] with [Change] button
+ [Account Balance]
- [Address] include components bellow:
+ [Home Address] with [>] button
+ [Compnay Information] with [>] button
- [Logout] button

Driver

Tap on [>] button near [Home Address] text

TaxiNet

[Update Home Address] screen is displayed, with


following components:

April-2015-SE Intake 7B

119

TaxiNet Project | Project Final Report

FPT University

- [Back] button
- [Save] button
- [Home Number] field
- [Street] field
- [State] field
- [City]
- [The Map]
9

Driver

Enter all information then tap on [Save] button

10

TaxiNet

Validate data input then save into database

3.6.2.2.15

UC02-15: View Riders Registration Information


Table 3-51: View Riders Registration Information

Use Case ID

UC10

Version

1.0

Use Name

View Promotion Trips

Actor

Driver

Description

The function allows Driver view Promotion Trips List,


detail information.

Precondition

User downloaded and installed TaxiNet application in


their device

Trigger

Application runs normally and displays Promotion Trips


Screen

Post-Condition

Driver can view details information of Promotion Trips.

Main flows
Step

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

April-2015-SE Intake 7B

120

TaxiNet Project | Project Final Report

FPT University

TaxiNet

Start to run and display Login Screen

Driver

Fill Username and Password then tap on [Login] button

TaxiNet

Display [Home Page] Screen

Driver

Tap on [Promotion Trips] on the Menu Bar

TaxiNet

Display [Promotion Trips] screen with components


bellow:
- [Menu Icon]
- Services
- Promotion Trips list include:
+ Time
+ Status (Opening, Closed)
+ From:
+ To:
+ [Person Register] with [Waiting Accept] status and
[>] button
+ [Register Promotion Trip] button

Driver

Tap on [>] button near [Waiting Accept] status

TaxiNet

Display [Registration Information] screen with following


components:
- Rider Name
- From
- To
- Slot
- Date and Time
- Phone Number

April-2015-SE Intake 7B

121

TaxiNet Project | Project Final Report

FPT University

- The Map display register position of rider


- [Back] button
- [Deny] button
- [Accept] button
9

Driver

Tap on [Accept] button

10

TaxiNet

Riders status is transfer to Accepted with [>] button

Alternative flows

Business Roles:
#

Rule Description

BR0
1

When rider register a promotion trip, a popup is display notice for


driver with following components:
- Rider name
- From
- To
- Phone Number
- Slot
- Date and Time
- Note
- [Accept] button
- [View Details] button
- [Deny] button

BR0

If driver tap on [Accept] button, one message will send to rider.

April-2015-SE Intake 7B

122

TaxiNet Project | Project Final Report

FPT University

2
BR0
3

If driver tap on [Deny] button, one message will send to rider and
rider name is remove from register list of promotion trip.

3.6.2.2.16

UC02-16: Logout
Table 3-52: Logout

Use Case ID

UC16

Version

1.0

Use Name

Logout

Actor

Driver

Description

The function allows Driver logout to the system

Precondition

Go to [Driver Profile] screen

Trigger

Tap on [Logout] near Home Address

Post-Condition

Driver can view Profile

Main flows
Step

Actor

Action

Driver

Tap on TaxiNet application icon on the devices screen.

TaxiNet

Start to run and display [Login] Screen with following


components:
- [Email] field
- [Password] field
- [Login] button
- [Register] Hyperlink
- [Forgot Password] Hyperlink

Driver

April-2015-SE Intake 7B

Fill [Username] and [Password] then tap on [Login]

123

TaxiNet Project | Project Final Report

FPT University

button
4

TaxiNet

Validate data input and login to the system

Driver

Tap on [Drivers Profile] button

TaxiNet

Display [Drivers Profile] screen with following


components:
- [Back] button
- [Edit] button
- [Image Represent]
- [Last Name]
- [First Name and Middle Name]
- [Account] include components bellow:
+ [Email]
+ [Language]
+ [Password] with [Change] button
+ [Account Balance]
- [Address] include components bellow:
+ [Home Address] with [>] button
+ [Compnay Information] with [>] button
- [Logout] button

Driver

Tap on [Logout] button at the end of the screen

TaxiNet

[Alert Dialog] is displayed whit following components:


[OK] button
[Cancel] Button
[Message Content] TextView

April-2015-SE Intake 7B

124

TaxiNet Project | Project Final Report

FPT University

Driver

Tap on [OK] button

10

TaxiNet

Delete all Data in Database offline, send request to


Server. Login screen will be displayed.

April-2015-SE Intake 7B

125

TaxiNet Project | Project Final Report

FPT University

3.6.3 UC03: Agents Web Functions


3.6.3.1Use Case Diagram

April-2015-SE Intake 7B

126

TaxiNet Project | Project Final Report

FPT University

Figure 3-11: Agents Web Function Use Case Diagram

April-2015-SE Intake 7B

127

TaxiNet Project | Project Final Report

FPT University

3.6.3.2Use Case Specification


3.6.3.2.1 UC03-01: Login
Use Case ID

UC01

Version

1.0

Use Name

Login

Actor

Agent

Description

The function allows a user to login in the software when


they have registered an account and their account is still
active.

Precondition

Type address website on browser.

Trigger

Click on [Login with Agent] Hyperlink on the [Home]


screen

Post-Condition

Agent user can login to the system.

Main flows
Ste
p

Actor

Action

Agent

Type URL into location field of internet browser and then


press enter

TaxiNet

Display Login screen with the following fields:


- [Email]
- [Password]
- [Remember Password] checkbox
- [Login] button
- [Forgot Password] Hyperlink
- [Register New Account] Hyperlink

Agent

Enter email & Password into Email & Password fields on

April-2015-SE Intake 7B

128

TaxiNet Project | Project Final Report

FPT University

the Login screen, then click on Login button.


4

TaxiNet

Validate the entered email & Password and then display


Home screen

3.6.3.2.2 UC03-02: Search Account


Use Case ID

UC02

Version

1.0

Use Name

Search Account

Actor

Agent

Description

The function allows a user to search account follow


email and Driver Name (Agent Name)

Precondition

Login to the system

Trigger

Click on [Search Account] on the Menu Bar

Post-Condition

Agent user can find account they want to view follow


Email and Driver Name (Agent Name).

Main flows
Ste
p

Actor

Action

Agent

Login to the system.

TaxiNet

Display Home screen.

Agent

Click on [Search Account] button on the Menu Bar

TaxiNet

Display [Search Account] screen with the following


components:
- [Email] field
- [Driver Name/ Agent Name] field
- [Search] button
- Table display results when click on search button.

April-2015-SE Intake 7B

129

TaxiNet Project | Project Final Report

FPT University

Agent

Enter email and driver name/agent name into [Email]


and [Driver Name/ Agent Name] fields on the [Search
Account] screen, then click on [Search] button

TaxiNet

Display a table with results founded, with following


components:
- [Account List Want To Display] dropdown box
- [Sequence Number]
- [Login Account]
- [Driver Name/ Agent Name]
- [Address]
- [Phone Number]
- [Services] include [Account Charging] Hyperlink
- [Previous] button
- [Next] button

Bussiness Rules:
#

Rule Description

BR0
1

When Agent user no enter email and driver name/ agent name
into [Email] and [Driver Name/ Agent Name/ field, then click on
[Search] button, application will display all user account list.

BR0
2

Agent user can charging directlly for customer when click on


[Charging Account] Hyperlink

3.6.3.2.3 UC03-03: Charge Account


Use Case ID

UC03

Use Name

Charge Account

April-2015-SE Intake 7B

Version

1.0

130

TaxiNet Project | Project Final Report

FPT University

Actor

Agent

Description

The function allows agent user charging directly for


customer.

Precondition

Go to [Search Account] screen and click on [Find] button

Trigger

Click on [Charging Account] Hyperlink

Post-Condition

Agent user can charging directly for customer.

Main flows
Ste
p

Actor

Action

Agent

Login to the system.

TaxiNet

Display Home screen.

Agent

Click on [Search Account] button on the Menu Bar

TaxiNet

Display [Search Account] screen with the following


components:
- [Email] field
- [Driver Name/ Agent Name] field
- [Search] button
- Table display results when click on search button.

Agent

Enter email and driver name/agent name into [Email]


and [Driver Name/ Agent Name] fields on the Search
Account screen, then click on [Search button]

TaxiNet

Display a table with results founded, with following


components:
- [Account List Want To Display] dropdown box
- [Sequence Number]
- [Login Account]

April-2015-SE Intake 7B

131

TaxiNet Project | Project Final Report

FPT University

- [Driver Name/ Agent Name]


- [Address]
- [Phone Number]
- [Services] include [Account Charging] Hyperlink
- [Previous] button
- [Next] button
7

Agent

Click on [Account Charging] Hyperlink

TaxiNet

Application will display one dialog with components


bellow:
- [Invoice Number]
- [Customer Name]
- [Account Login]
- [City]
- [Address]
- [Phone Number]
- [Staff]
- [Current Balance]
- [Amount Charging]
- [Charging Date]
- [Discount]
- [New Balance]
- [Confirm] button
- [Print] button
- [Exit] button

April-2015-SE Intake 7B

132

TaxiNet Project | Project Final Report

FPT University

Agent

Agent user enter amount and charging date into


[Amount] and [Charging Date] field, then click on
[Confirm] button

10

TaxiNet

Charging amount successfully and display new balance.

Bussiness Rules:
#

Rule Description

BR0
1

If want to cancel, agent user can click on [Exit] button or [X]


button to close the dialog.

BR0
2

If charging account successful, dialog closed and display message


Amount customer XXX is YYY charging successfully.

BR0
3

Charging Date default is current date, allow user choose from


calendar. Charging Date cannot be future date.

BR0
4

Invoice Number will be create automatically.

3.6.3.2.4 UC03-04: Search Charging Invoices


Use Case ID

UC04

Version

1.0

Use Name

Search Charging Invoices

Actor

Agent

Description

The function allows agent user search charging invoices


of customer.

Precondition

Login to the system.

Trigger

Click on [Charging Invoices] on the Menu Bar.

Post-Condition

Agent user can search charging invoices of customer.

Main flows
Ste

Actor

Action

April-2015-SE Intake 7B

133

TaxiNet Project | Project Final Report

FPT University

p
1

Agent

Login to the system.

TaxiNet

Display Home screen.

Agent

Click on [Charging Invoices] button on the Menu Bar

TaxiNet

Display [Charging Invoices] screen with the following


components:
- [Account Login] field
- [From Date] field
- [To Date] field
- [Refine Invoice] button
- Table display results founded.

Agent

Enter account login, from date, to date into [Account


Login], [From Date], [To Date] fields on the Charging
Invoices screen, then click on [Refine Invoice] button

TaxiNet

Display a table with results founded, with following


components:
- [Invoices List Want To Display] dropdown box
- [Sequence Number]
- [Invoice Number]
- [Invoice Date]
- [Amount]
- [Login Account] Hyperlink
- [View Details] Icon
- [Previous] button
- [Next] button

April-2015-SE Intake 7B

134

TaxiNet Project | Project Final Report

FPT University

3.6.3.2.5 UC03-05: View Charging Invoice Details


Use Case ID

UC05

Version

1.0

Use Name

View Charging Invoices Details

Actor

Agent

Description

The function allows agent user view charging invoices


details

Precondition

Go to [Charging Invoices] screen

Trigger

Click on [View Details] Hyperlink

Post-Condition

Agent user can view charging invoices details.

Main flows
Ste
p

Actor

Action

Agent

Login to the system.

TaxiNet

Display Home screen.

Agent

Click on [Charging Invoices] button on the Menu Bar

TaxiNet

Display [Charging Invoices] screen with the following


components:
- [Account Login] field
- [From Date] field
- [To Date] field
- [Refine Invoice] button
- Table display results founded.

Agent

Enter account login, from date, to date into [Account


Login], [From Date], [To Date] fields on the Charging
Invoices screen, then click on [Refine Invoice] button

April-2015-SE Intake 7B

135

TaxiNet Project | Project Final Report

TaxiNet

FPT University

Display a table with results founded, with following


components:
- [Invoices List Want To Display] dropdown box
- [Sequence Number]
- [Invoice Number]
- [Invoice Date]
- [Amount]
- [Login Account] Hyperlink
- [View Details] Icon
- [Previous] button
- [Next] button

Agent

Click on [View Details] Hyperlink

TaxiNet

Display window popup with following components:


- [Invoice Number]
- [User Name]
- [Login Account]
- [City]
- [Address]
- [Phone Number]
- [Cashier]
- [Current Account Balance]
- [Charging Amount]
- [Charging Date]
- [Discount]

April-2015-SE Intake 7B

136

TaxiNet Project | Project Final Report

FPT University

- [New Account Balance]


- [Note]
- [Print] button
- [Close] button

Business Rules:
#

Rule Description

BR0
1

User can click on [Close] button or [X] button to cancel.

BR0
2

When user click on [Print] button, [Print Model] screen is


displayed with following components:
- Title include components bellow:
+ [TaxiNet Company]
+ [Charging Invoices]
- Concept with components bellow:
+ [Invoice Number]
+ [User Name]
+ [Login Account]
+ [Address]
+ [Phone Number]
+ [Staff]
+ [Charging Amount]
+ [Discount]
+ [Charging Date]

April-2015-SE Intake 7B

137

TaxiNet Project | Project Final Report

FPT University

+ [Note]
- Date
- Sign (Full Name)

3.6.3.2.6 UC03-06: View Agent Information


Use Case ID

UC06

Version

1.0

Use Name

View Agent Information

Actor

Agent

Description

The function allows agent user view all agents contact


information

Precondition

Login to the system

Trigger

Click on [Contact Information] on the Menu Bar.

Post-Condition

Agent user can view all agents contact information.

Main flows
Ste
p

Actor

Action

Agent

Login to the system.

TaxiNet

Display Home screen.

Agent

Click on [Contact Information] button on the Menu Bar

TaxiNet

Display [Contact Information] screen with the following


components:
- [Agent Information] include components bellow:
+ Agent Code
+ Agent Name
+ Address

April-2015-SE Intake 7B

138

TaxiNet Project | Project Final Report

FPT University

+ City
+ Zip Code
+ Phone Number
+ VAT Number
- [Personal Information] include components bellow:
+ Last Name
+ First Name and Middle Name
+ Email Address
+ Phone Number
+ Language
- [TaxiNet Account Information] include components
bellow:
+ Account Name
+ Promotion Code
- [Edit Information] button
- Image Represent
- [Update Image Represent] button

3.6.3.2.7 UC03-07: Edit Agent Information


Use Case ID

UC07

Use Name

Edit Agent Information

Actor

Agent

Description

The function allows agent user view all agents contact

April-2015-SE Intake 7B

Version

1.0

139

TaxiNet Project | Project Final Report

FPT University

information
Precondition

Go to [Contact Information] screen

Trigger

Click on [Edit Information] button

Post-Condition

Agent user can view all agents contact information.

Main flows
Ste
p

Actor

Action

Agent

Login to the system.

TaxiNet

Display Home screen.

Agent

Click on [Contact Information] button on the Menu Bar

TaxiNet

Display [Contact Information] screen

Agent

Click on [Edit Contact Information] button on the


[Contact Information] screen

TaxiNet

Display [Edit Contact Information] screen with the


following components:
- [Agent Information] include fields bellow:
+ Company Name
+ Old Address
+ New Address
+ State
+ City
+ Zip Code
+ Phone Number
+ VAT Number
- [Personal Information] include components bellow:

April-2015-SE Intake 7B

140

TaxiNet Project | Project Final Report

FPT University

+ Last Name
+ First Name and Middle Name
+ [Email Address] field
+ [Country] dropdown list
+ ]Phone Number] field
+ [Language] dropdown list
- [TaxiNet Account Information] include components
bellow:
+ [Account Name] Hyperlink
+ [Change Password] Hyperlink
- [Save] button
- Image Represent
- [Update Image Represent] button
7

Agent

Enter all information want to edit and click on [Save]


button

TaxiNet

Validate data input and save into database

3.6.3.2.8 UC03-08: Change Password


Use Case ID

UC08

Use Name

Change Password

Actor

Agent

Description

The function allows agent user change Password of


personal account

Precondition

Go to [Edit Information] Screen

Trigger

Click on [Change Password] Hyperlink

April-2015-SE Intake 7B

Version

1.0

141

TaxiNet Project | Project Final Report

Post-Condition

FPT University

Agent user can change Password of personal account

Main flows
Ste
p

Actor

Action

Agent

Login to the system.

TaxiNet

Display Home screen.

Agent

Click on [Contact Information] button on the Menu Bar

TaxiNet

Display [Contact Information] screen

Agent

Click on [Edit Contact Information] button on the


[Contact Information] screen

TaxiNet

Display [Edit Contact Information] screen

Agent

Click on the [Change Password] Hyperlink on the [Edit


Contact Information] screen

TaxiNet

Display [Change Password] screen with following fields:


- [Old Password]
- [New Password]
- [Confirm New Password]
- [Save] button

Agent

Enter old Password, new Password, confirm new


Password into [Old Password], [New Password], [Confirm
New Password] then click on [Save] button

10

TaxiNet

Validate data input and save into database.

April-2015-SE Intake 7B

142

TaxiNet Project | Project Final Report

FPT University

3.6.3.2.9 UC03-09: View Dashboard Information


Use Case ID

UC09

Version

1.0

Use Name

View Dashboard Information

Actor

Agent

Description

The function allows agent user view all Dashboard


information

Precondition

Login to the system.

Trigger

Click on [Dashboard Information] on the Menu Bar

Post-Condition

Agent user can view all Dashboard Information

Main flows
Ste
p

Actor

Action

Agent

Login to the system.

TaxiNet

Display Home screen.

Agent

Click on [Dashboard Information] button on the Menu


Bar

TaxiNet

Display [Dashboard Information] screen with


components bellow:
- Account Balance
- Rate
- [Month] dropdown list
- [Year] dropdown list
- Total collected amount in the month
- Total discounted amount
- Total payment in the month

April-2015-SE Intake 7B

143

TaxiNet Project | Project Final Report

FPT University

- Paid Amount in the month


- Balance in last month
- Total payment
- Table summary of charging transactions (month)
include component bellow:
+ Sequence Number
+ Account
+ Driver/Company
+ Amount
+ Total
- Table [Payment transactions for TaxiNet (month)]
include components bellow:
+ Sequence Number
+ Payer
+ Date
+ Amount
+ Payment Method
+ Total

Business Rules:
#

Rule Description

BR0
1

Year default is current year

BR0
2

Month default is current month

April-2015-SE Intake 7B

144

TaxiNet Project | Project Final Report

3.6.3.2.10

FPT University

UC03-10: Register New Agent

Use Case ID

UC10

Version

1.0

Use Name

Register New Agent

Actor

Agent

Description

The function allows user register a new agent

Precondition

Go to [Login] screen

Trigger

Application runs normally and displays [Login] screen,


then click on [Register] Hyperlink

Post-Condition

User can register new agent successfully.

Main flows
Ste
p

Actor

Action

Agent

Enter address TaxiNet Web Services on the browser

TaxiNet

Display Home screen.

Agent

Click on [Login With Agent] Hyperlink on the [Home]


screen

TaxiNet

Display [Login] screen with components bellow:


- [Email]
- [Password]
- [Remember Password] checkbox
- [Login] button
- [Forgot Password] Hyperlink
- [Register New Account] Hyperlink

Agent

Click on [Register New Account] Hyperlink on [Login]

April-2015-SE Intake 7B

145

TaxiNet Project | Project Final Report

FPT University

Screen
6

TaxiNet

Display [Register A] screen with following components:


- [City] field
- [Your Agent] field
- [Register with TaxiNet] button
- [If you have some question, please contact with us]
Hyperlink

Agent

Enter City, Your Agent into [City], [Your Agent] field then
click on [Register With TaxiNet] button

TaxiNet

Display [Register B] screen with following components:


- [Contact Information] include fields bellow:
+ [Last Name]
+ [First Name]
+ [Phone Number]
+ [Language] dropdown list
- [Account] include fields bellow:
+ [Email Address]
+ [Password]
- [Agent Information] include fields bellow:
+ [Company Name]
+ [Home Number]
+ [Street]
+ [State]
+ [City] dropdown list

April-2015-SE Intake 7B

146

TaxiNet Project | Project Final Report

FPT University

+ [Zip Code]
- [Send] button
9

Agent

Enter all information for register then click on [Send]


button

10

TaxiNet

Display [Register Confirm] screen with following


components:
- [Help] text
- [Dashboard Personal] text
- [Dashboard Management Agent]
- [View Personal Information] button

Business Rules:
#

Rule Description

BR0
1

When user choose [If you have some question, please contact
with us] Hyperlink in [Register A] screen, [Send Email] screen is
displayed.

BR0
2

When user enter all information in [Register B] screen, then click


on [Send] button, system will send an email to email user
registered before, and user have to login to email to confirm
registration.

April-2015-SE Intake 7B

147

TaxiNet Project | Project Final Report

3.6.3.2.11

FPT University

UC03-11: Logout

3.6.4 UC04: Drivers Web Functions


3.6.4.1Use Case Diagram

Figure 3-12: Driver Information Use Case Diagram

April-2015-SE Intake 7B

148

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

149

TaxiNet Project | Project Final Report

FPT University

3.6.4.2Use Case Specification


3.6.4.2.1 UC04-01: List Drivers
Use Case ID

UC01

Version

1.0

Use Name

List Drivers

Actor

Driver

Description

The function allows driver user view Drivers List

Precondition

Login to the system.

Trigger

Click on [Drivers List] on the Menu Bar.

Post-Condition

Driver user can view Driver List

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Drivers List] button on the Menu Bar

TaxiNet

Display [Driver List] screen with following components:


- Table display driver list with components bellow:
+ Sequence Number
+ Account
+ Full Name
+ Email
+ Phone Number
+ Vehicle License Plate

April-2015-SE Intake 7B

150

TaxiNet Project | Project Final Report

FPT University

+ [Details] Hyperlink
- [Previous] button
- [Next] button
- [Add New Driver] button

3.6.4.2.2 UC04-02: Add New Driver


Use Case ID

UC02

Version

1.0

Use Name

Add New Drivers

Actor

Driver

Description

The function allows driver user view Drivers List

Precondition

Go to [Driver List] screen.

Trigger

Click on [Add Driver] button on [Driver List] screen.

Post-Condition

Driver user can view Driver List

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Drivers List] button on the Menu Bar

TaxiNet

Display [Driver List] screen with following components:


- Table display driver list with components bellow:
+ Sequence Number
+ Account
+ Full Name

April-2015-SE Intake 7B

151

TaxiNet Project | Project Final Report

FPT University

+ Email
+ Phone Number
+ Vehicle License Plate
+ [Details] Hyperlink
- [Previous] button
- [Next] button
- [Add New Driver] button
5

Driver

Click on [Add New Driver] button on the [Drivers List]


Screen

TaxiNet

Display [Add New Driver] Screen with following


components:
- [Personal Information] with following fields:
+ First Name
+ Last Name
+ Email Address
+ [Country] dropdown list
+ Contact Phone
- [Create New Account] with following fields:
+ [Language] dropdown list
+ Username
+ Password
+Confirm Password
- [Privacy Prolicy] checkbox
- [Send] button

April-2015-SE Intake 7B

152

TaxiNet Project | Project Final Report

FPT University

- [Cancel] button
7

Driver

Enter all information for create new account, check on


[Privacy Policy] checkbox then click on [Send] button

TaxiNet

Validate data and save into database

3.6.4.2.3 UC04-03: View Driver Information


Use Case ID

UC03

Version

1.0

Use Name

View Driver Information

Actor

Driver

Description

The function allows driver user view Drivers Information

Precondition

Go to [Driver List] screen.

Trigger

Click on [View Details] Hyperlink on [Driver List] screen.

Post-Condition

Driver user can view Driver Information

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Drivers List] button on the Menu Bar

TaxiNet

Display [Driver List] screen with following components:


- Table display driver list with components bellow:
+ Sequence Number
+ Account
+ Full Name

April-2015-SE Intake 7B

153

TaxiNet Project | Project Final Report

FPT University

+ Email
+ Phone Number
+ Vehicle License Plate
+ [Details] Hyperlink
- [Previous] button
- [Next] button
- [Add New Driver] button
5

Driver

Click on [Details] button on the [Drivers List] Screen

TaxiNet

Display [Driver Information] Screen with following


components:
- [Personal Information] with following fields:
+ First Name
+ Last Name
+ Email Address
+ Country
+ Contact Phone
- [Account Information] with following fields:
+ [Language] dropdown list
+ Username
- [Control Vehicle] with following fields:
+ Vehicle Type
+ License Plate
- [Edit] button
- [Delete] button

April-2015-SE Intake 7B

154

TaxiNet Project | Project Final Report

FPT University

3.6.4.2.4 UC04-04: Forgot Password


Use Case ID

UC04

Version

1.0

Use Name

Forgot Password

Actor

Driver

Description

The function allows driver user reset Password.

Precondition

Go to [Login] screen.

Trigger

Click on [Forgot Password] Hyperlink.

Post-Condition

Driver user can reset Password.

Main flows
Ste
p

Actor

Action

Driver

Click on [Login] Hyperlink on the [Driver Home] screen

TaxiNet

Display [Login] screen

Driver

Click on [Forgot Password] button on the [Login] Screen

TaxiNet

Display [Forgot Password] screen with following


components:
- Email
- [Reset Password] button
- [Register] Hyperlink

Driver

Enter email into [Email] field then click on [Reset


Password] button

TaxiNet

System will send an email to driver, include link to reset


Password

April-2015-SE Intake 7B

155

TaxiNet Project | Project Final Report

FPT University

3.6.4.2.5 UC04-05: Change Password


Use Case ID

UC05

Version

1.0

Use Name

Change Password

Actor

Driver

Description

The function allows driver user change Password.

Precondition

Go to [Edit Information] screen

Trigger

Click on [Change Password] near [Password] in [Edit


Information] screen.

Post-Condition

Driver user can change Password.

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Contact Information] button on the Menu Bar

TaxiNet

Display [Contact Information] screen.

Driver

Click on [Edit Contact Information] button on the


[Contact Information] screen

TaxiNet

Display [Edit Contact Information] screen with


components bellow:
- [Company Information] with following fields:
+ Company Name
+ Address 1
+ Address 2
+ [Country] dropdown list

April-2015-SE Intake 7B

156

TaxiNet Project | Project Final Report

FPT University

+ City
+ State
+ Zip Code
+ Phone Number
+ VAT Number
- [Personal Information] with following components:
+ Last Name
+ First Name and Middle Name
+ [Email Address] field
+ [Country] dropdown list
+ Phone Number
+ [Language] dropdown list
- [TaxiNet Account Information] with following
components:
+ Account
+ Password with [Change Password] Hyperlink
- Image Represent
- [Update Image Represent] button
- [Save] button

Driver

Click on [Change Password] Hyperlink on the [Edit


Contact Information] screen

TaxiNet

Display [Change Password] screen with following fields:


- Old Password

April-2015-SE Intake 7B

157

TaxiNet Project | Project Final Report

FPT University

- New Password
- Confirm
- [Save] button
9

Driver

Enter [Old Password], [New Password], [Confirm New


Password] then click on [Save] button on the [Change
Password] screen

10

TaxiNet

Validate data input and save into database

3.6.4.2.6 UC04-06: Edit Driver Information


Use Case ID

UC06

Version

1.0

Use Name

Edit Driver Information

Actor

Driver

Description

The function allows driver user view Drivers Information

Precondition

Go to [Driver Information] screen.

Trigger

Click on [Edit] button.

Post-Condition

Driver user can view Driver Information

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Drivers List] button on the Menu Bar

TaxiNet

Display [Driver List] screen with following components:


- Table display driver list with components bellow:
+ Sequence Number

April-2015-SE Intake 7B

158

TaxiNet Project | Project Final Report

FPT University

+ Account
+ Full Name
+ Email
+ Phone Number
+ Vehicle License Plate
+ [Details] Hyperlink
- [Previous] button
- [Next] button
- [Add New Driver] button
5

Driver

Click on [Details] button on the [Drivers List] Screen

TaxiNet

Display [Driver Information] Screen

Driver

Click on [Edit] button on the [Drivers Details] Screen

TaxiNet

Display [Edit Driver Information] Screen with following


components:
- [Personal Information] with following fields:
+ First Name
+ Last Name
+ [Email Address] field
+ [Country] dropdown list
+ [Contact Phone] field
- [Account Information] with following fields:
+ [Language] dropdown list
+ Username
- [Control Vehicle] with following fields:

April-2015-SE Intake 7B

159

TaxiNet Project | Project Final Report

FPT University

+ [Vehicle Type] dropdown list


+ License Plate
- [Save] button
- [Cancel] button
9

Driver

Enter all information need to edit into fields, then click


on [Save] button

10

TaxiNet

Validate data input and save into database

April-2015-SE Intake 7B

160

TaxiNet Project | Project Final Report

FPT University

3.6.5 UC04: Drivers Web Functions - Trip


3.6.5.1Use Case Diagram

Figure 3-13; Trip Use Case Diagram

April-2015-SE Intake 7B

161

TaxiNet Project | Project Final Report

FPT University

3.6.5.2Use Case Specification


3.6.5.2.1 UC04-07: Display Promotion Trips
Use Case ID

UC01

Version

1.0

Use Name

Find Promotion Trips

Actor

Driver

Description

The function allows driver user find promotion trips

Precondition

Login to the system.

Trigger

Click on [Find Promotion Trips] on the Menu Bar.

Post-Condition

Driver user can find promotion trips

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Find Promotion Trips] button on the Menu Bar

TaxiNet

Display [Find Promotion Trips] screen with following


components:
- From Date
- To Date
- Status
- [Refine Promotion Trips] button

Driver

Enter information into fields and click on [Refine


Promotion Trips] button

TaxiNet

Display table summary results with components bellow:


- [Trips want to display] dropdown list

April-2015-SE Intake 7B

162

TaxiNet Project | Project Final Report

FPT University

- [Sequence Number]
- [Date]
- [From]
- [To]
- [Price]
- [Status]
- [Previous] button
- [Next] button
- [Add New Promotion Trips] button

3.6.5.2.2 UC04-08: Display Vehicle List


Use Case ID

UC02

Version

1.0

Use Name

Display Vehicles List

Actor

Driver

Description

The function allows driver user view vehicle information

Precondition

Login to the system.

Trigger

Click on [Vehicle Information] on the Menu Bar.

Post-Condition

Driver user can view vehicle information

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Vehicles List] button on the Menu Bar

April-2015-SE Intake 7B

163

TaxiNet Project | Project Final Report

TaxiNet

FPT University

Display [Vehicles List] screen with following


components:
- [Vehicle Type] field
- [Status] dropdown list
- [Refine Vehicle] button
- [Add New Vehicle] button

Driver

Fill on [Vehicle Type] and choose [Status] then click on


[Refine Vehicle] button

TaxiNet

Display table summary results with following


components:
- [Number of Vehicle want to display] dropdown list
- [Sequence Number]
- [Vehicle Type]
- [License Plate]
- [Year]
- [Insurance Certificate]
- [IRS Status]
- [Status]
- [View Details] Hyperlink
- [Previous] button
- [Next] button

3.6.5.2.3 UC04-09: Add New Vehicle


Use Case ID

UC03

Use Name

Add New Vehicle

April-2015-SE Intake 7B

Version

1.0

164

TaxiNet Project | Project Final Report

Actor

Driver

Description

The function allows driver user add new vehicle

Precondition

Go to [Vehicle Information] screen.

Trigger

Click on [Add New Vehicle] button.

Post-Condition

Driver user can add new vehicle

FPT University

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Vehicle Information] button on the Menu Bar

TaxiNet

Display [Vehicle Information] screen with following


components:
- Help
- Table Vehicle Information with following components:
+ Vehicle Name
+ Produce Year
+ License Plate
+ Interior Color
+ Exterior Color
+ Status
+ [Delete] button
- [Insurance Certificate] with following components:
+ [Expiration Date] with [Year] dropdown list and

April-2015-SE Intake 7B

165

TaxiNet Project | Project Final Report

FPT University

[Month] dropdown list


+ [Choose File] button
+ Status
+ [Submit] button
- [Inspection & Registration Stamp] with following
components:
+ [Expiration Date] with [Year] dropdown list and
[Month] dropdown list
+ [Choose File] button
+ Status
+ [Submit] button
- [Price Panel Apply for: ] with [Change] Hyperlink
- [Add New Vehicle] button
5

Driver

Click on [Add New Vehicle] button on the [View Vehicle


Information] screen

TaxiNet

Display [Add New Vehicle] screen with components


bellow:
- Help
- [Vehicle Type] dropdown list
- [Year Production] dropdown list
- [Interior Color] dropdown list
- [Exterior Color] dropdown list
- [License Plate] field
- [License Plat Country] dropdown list
- [License Plat State] dropdown list

April-2015-SE Intake 7B

166

TaxiNet Project | Project Final Report

FPT University

- [Save] button
7

Driver

Choose information and enter into fields, then click on


[Save] button

TaxiNet

Validate data input and save into database

3.6.5.2.4 UC04-10: View List Of Live Vehicles


Use Case ID

UC04

Version

1.0

Use Name

Live Status

Actor

Driver

Description

The function allows driver user view Driver Live Status

Precondition

Login to the system.

Trigger

Click on [Live Status] on the Menu Bar.

Post-Condition

Driver user can view Driver Live Status

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Live Status] button on the Menu Bar

TaxiNet

Display [Live Status] screen with following components:


- [Driver List] button
- [Map] button

Driver

Click on [Driver List] button on the [Live Status] screen

TaxiNet

Display table with components bellow:


- Sequence Number

April-2015-SE Intake 7B

167

TaxiNet Project | Project Final Report

FPT University

- Driver Name
- Current Position
- Vehicle
- Status
- [Previous] button
- [Next] button

3.6.5.2.5 UC04-11: View Map Of Live Vehicles


Use Case ID

UC05

Version

1.0

Use Name

View Map Of Live Vehicles

Actor

Driver

Description

The function allows driver user view Map of live vehicle.

Precondition

Go to [Live Status] screen.

Trigger

Click on [Map] Hyperlink.

Post-Condition

Driver user can view Map of live vehicles

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Live Status] button on the Menu Bar

TaxiNet

Display [Live Status] screen with following components:


- [Driver List] button

April-2015-SE Intake 7B

168

TaxiNet Project | Project Final Report

FPT University

- [Map] button
5

Driver

Click on [Driver List] button on the [Live Status] screen

TaxiNet

Display table with components bellow:


- Sequence Number
- Driver Name
- Current Position
- Vehicle
- Status
- [Previous] button
- [Next] button

Driver

Click on [Map] button on the [Live Status] screen

TaxiNet

Display the map and current Drivers position in the Map

3.6.5.2.6 UC04-12: View Vehicle Details


Use Case ID

UC06

Version

1.0

Use Name

View Vehicle Details

Actor

Driver

Description

The function allows driver user view vehicle information

Precondition

Go to [Vehicle List] Screen

Trigger

Click on [View Details] Hyperlink.

Post-Condition

Driver user can view vehicle information

Main flows
Ste

Actor

Action

April-2015-SE Intake 7B

169

TaxiNet Project | Project Final Report

FPT University

p
1

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Vehicle List] button on the Menu Bar

TaxiNet

Display [Vehicle List] screen

Driver

Click on [View Details] Hyperlink on [Vehicle List] screen

TaxiNet

Display [Vehicles Information] screen with following


components:
- Help
- Table Vehicle Information with following components:
+ Vehicle Name
+ Produce Year
+ License Plate
+ Interior Color
+ Exterior Color
+ Status
+ Taxi Level
+ [Delete] button
- [Insurance Certificate] with following components:
+ [Expiration Date] with [Year] dropdown list and
[Month] dropdown list
+ [Choose File] button
+ Status
+ [Submit] button
- [Inspection & Registration Stamp] with following

April-2015-SE Intake 7B

170

TaxiNet Project | Project Final Report

FPT University

components:
+ [Expiration Date] with [Year] dropdown list and
[Month] dropdown list
+ [Choose File] button
+ Status
+ [Submit] button
- [Price Panel Apply for: ] with [Change] Hyperlink
- [Vehicles] button

Business Rules:
#

Rule Description

BR0
1

When the driver not upload documents, documents status is Not


submitted.

BR0
2

When the driver upload documents, documents status is


Submitted.

BR0
3

When TaxiNets staff check documents, if documents is invalid,


the documents status transfer to Rejected, if valid, the
documents status transfer to Verified.

BR0
4

When TaxiNets staff reject document, the driver upload


documents, documents status transfer to Submitted.

BR0
5

When new vehicle information added into database, the Vechiles


status is Unreview.

BR0
6

When TaxiNets staff check documents, if the documents is valid,


vechiles status transfer to Active, if documents is lack or
invalid, vehicles status is transfer to Documents Missing.

BR0
7

When Driver click on [Delete] button near [Vehicle], vehicles


status transfer to Inactive if vehicle have some trips. If vehicle
have no trip, its removed from database.

April-2015-SE Intake 7B

171

TaxiNet Project | Project Final Report

FPT University

3.6.5.2.7 UC04-13: Assign Vehicle to Driver


Use Case ID

UC07

Version

1.0

Use Name

Assign Vehicle to Driver

Actor

Driver

Description

The function allows company owners to assign vehicle to


their drivers

Precondition

Go to [Assign Vehicle] screen

Trigger

Click on [Assign Vehicle] button.

Post-Condition

Driver user can add promotion trips

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Assign Vehicle] button on the Menu Bar

TaxiNet

Display [Assign Vehicle] screen with following


components:
- Vehicle List
- Driver List
- [Assign Vehicle] button

Driver

Enter information into fields and click on [Assign Vehicle]


button

TaxiNet

Update current vehicle for selected driver

April-2015-SE Intake 7B

172

TaxiNet Project | Project Final Report

FPT University

3.6.5.2.8 UC04-14: Add A Promotion Trip


Use Case ID

UC08

Version

1.0

Use Name

Add A Promotion Trips

Actor

Driver

Description

The function allows driver user add a promotion trip

Precondition

Go to [Promotion Trips] screen

Trigger

Click on [Add New Promotion Trip] button.

Post-Condition

Driver user can add promotion trips

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Find Promotion Trips] button on the Menu Bar

TaxiNet

Display [Find Promotion Trips] screen with following


components:
- From Date
- To Date
- Status
- [Refine Promotion Trips] button

Driver

Enter information into fields and click on [Refine


Promotion Trips] button

TaxiNet

Display table summary results with components bellow:

April-2015-SE Intake 7B

173

TaxiNet Project | Project Final Report

FPT University

- [Trips want to display] dropdown list


- [Sequence Number]
- [Date]
- [From]
- [To]
- [Price]
- [Status]
- [Previous] button
- [Next] button
- [Add New Promotion Trips] button
7

Driver

TaxiNet

Click on [Add New Promotion Trips] button

April-2015-SE Intake 7B

174

TaxiNet Project | Project Final Report

FPT University

3.6.6 UC04-03: Drivers Web Functions Invoice & Price Panel


3.6.6.1Use Case Diagram

Figure 3-14: Invoice & Price Panel Use Case Diagram

3.6.6.2Use Case Specification


3.6.6.2.1 UC04-15: View Price Panel List
Use Case ID

UC01

Use Name

View Price Panel List

Actor

Driver

Description

The function allows driver user view Price Panel

Precondition

Login to the system.

Trigger

Click on [Price Panel List] on the Menu Bar.

April-2015-SE Intake 7B

Version

1.0

175

TaxiNet Project | Project Final Report

Post-Condition

FPT University

Driver user can view Price Panel

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Price Panel] button on the Menu Bar

TaxiNet

Display [Price Panel] screen with following components:


- Help
- Table summary price panel with following components:
+ Sequence Number
+ Title
+ Open Price
+ First Kilometer Price
+ Waiting Price
+ Date Apply
+ [Details] Hyperlink
- [Add New Price Panel] button

3.6.6.2.2 UC04-16: View Price


Use Case ID

UC02

Use Name

View Details Price Panel

Actor

Driver

April-2015-SE Intake 7B

Version

1.0

176

TaxiNet Project | Project Final Report

FPT University

Description

The function allows driver user View Details Price Panel

Precondition

Go to [Price Panel List] screen.

Trigger

Click on [Details] Hyperlink.

Post-Condition

Driver user can view edit Price Panel

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Price Panel] button on the Menu Bar

TaxiNet

Display [Price Panel] screen with following components:


- Help
- Table summary price panel with following components:
+ Sequence Number
+ Title
+ Open Price
+ First Kilometer Price
+ Waiting Price
+ Date Apply
+ [Details] Hyperlink
- [Add New Price Panel] button

Driver
User

Click on [Details] Hyperlink on [Price Panel] screen

TaxiNet

Display [Price Panel Information] screen with following

April-2015-SE Intake 7B

177

TaxiNet Project | Project Final Report

FPT University

components:
- Help
- [Price Panel] with following components:
+ Title
+ Open Price for xxx kilometer
+ Price under xxx kilometer
+ Price
+ Waiting Price
+ Repurchase Price
+ Date Apply
- [Edit Price Panel] button

3.6.6.2.3 UC04-17: Edit Price Panel


Use Case ID

UC03

Version

1.0

Use Name

Edit Price Panel Information

Actor

Driver

Description

The function allows driver user edit Price Panel

Precondition

Go to [Price Panel Information] screen.

Trigger

Click on [Edit Price Panel Information] button.

Post-Condition

Driver user can view edit Price Panel

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

April-2015-SE Intake 7B

178

TaxiNet Project | Project Final Report

FPT University

TaxiNet

Display Driver Interface screen.

Driver

Click on [Price Panel] button on the Menu Bar

TaxiNet

Display [Price Panel] screen with following components:


- Help
- Table summary price panel with following components:
+ Sequence Number
+ Title
+ Open Price
+ First Kilometer Price
+ Waiting Price
+ Date Apply
+ [Details] Hyperlink
- [Add New Price Panel] button

Driver

Click on [Details] Hyperlink on [Price Panel] screen

TaxiNet

Display [Price Panel Information] screen with following


components:
- Help
- [Price Panel] with following fields:
+ Title
+ Open Price for xxx kilometer
+ Price under xxx kilometer
+ Price
+ Waiting Price

April-2015-SE Intake 7B

179

TaxiNet Project | Project Final Report

FPT University

+ Repurchare Price
+ Date Apply
- [Edit Price Panel] button
7

Driver

Click on [Edit Price Panel Information] button on [Price


Panel Information] screen

TaxiNet

Display [Edit Price Panel Information] screen with


following components:
- Help
- [Price Panel] with following fields:
+ Title
+ Open Price for xxx kilometer
+ Price under xxx kilometer
+ Price
+ Waiting Price
+ Repurchase Price
+ Date Apply
+ [Apply for current vehicle] checkbox
- [Update Price Panel] button

Driver

Enter information need for edit then click on [Update


Price Panel] button

10

TaxiNet

Validate data input and save into database

3.6.6.2.4 UC04-18: Add Price Panel


Use Case ID

UC04

Use Name

Add New Price Panel

April-2015-SE Intake 7B

Version

1.0

180

TaxiNet Project | Project Final Report

Actor

Driver

Description

The function allows driver user add new Price Panel

Precondition

Go to [Price Panel List] screen.

Trigger

Click on [Add New Price Panel] button.

Post-Condition

Driver user can view add new Price Panel

FPT University

Main flows
Ste
p

Actor

Action

Driver

Enter Email and Password to login to the system

TaxiNet

Display Driver Interface screen.

Driver

Click on [Price Panel] button on the Menu Bar

TaxiNet

Display [Price Panel] screen with following components:


- Help
- Table summary price panel with following components:
+ Sequence Number
+ Title
+ Open Price
+ First Kilometer Price
+ Waiting Price
+ Date Apply
+ [Details] Hyperlink
- [Add New Price Panel] button

Driver

Click on [Add New Price Panel] button on [Price Panel]


screen

April-2015-SE Intake 7B

181

TaxiNet Project | Project Final Report

TaxiNet

FPT University

Display [Add New Price Panel] screen with following


components:
- Help
- [Price Panel] with following fields:
+ Title
+ Open Price for xxx kilometer
+ Price under xxx kilometer
+ Price
+ Waiting Price
+ Repurchase Price
+ Date Apply
- [Add Price Panel] button

Driver

Enter Price Panel Information then click on [Add Price


Panel] button

TaxiNet

Validate data and save into database

April-2015-SE Intake 7B

182

TaxiNet Project | Project Final Report

FPT University

3.6.7 UC05: Riders Web Functions


3.6.7.1Use case diagram

April-2015-SE Intake 7B

183

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

184

TaxiNet Project | Project Final Report

FPT University

Figure 3-15: Rider Web Functions Diagram

3.6.7.2Use Case Specification


3.6.7.2.1 UC05-01: Login
Use Case ID

UC01

Version

1.0

Use Name

Login

Actor

Rider

Description

The function allows Rider user Login to system

Precondition

Enter address TaxiNet Website service on the Browser to


go to [Rider Home] screen.

Trigger

Click on [Login] Hyperlink.

Post-Condition

Agent user can Login to system

Main flows
Ste
p

Actor

Action

Rider

Enter address TaxiNet service on the Browser

TaxiNet

Display Home screen with following components:


- [Login] Hyperlink
- [Register] Hyperlink
- [Register New Driver] Hyperlink
- [Register With TaxiNet] button

Rider

Click on [Login] Hyperlink on the Home Screen

TaxiNet

Display [Login] screen with components bellow:


- [Login with Facebook] button
- [Email] field

April-2015-SE Intake 7B

185

TaxiNet Project | Project Final Report

FPT University

- [Password] field
- [Remember Password] checkbox
- [Login] button
- [Forgot Password] Hyperlink
- [Register New Account] Hyperlink
5

Rider

Enter email, Password into [Email], [Password] field,


then click on [Login] button

TaxiNet

Validate data input and login to system.

Business Rules:
#

Rule Description

BR0
1

If user choose [Login with Facebook] button, system will check


account Facebook of user in system. If account Facebook is
registered, after Facebook confirm successfully, the system will
display [My Trips] screen. If account Facebook is not registered,
after Facebook confirm the system will display [Register] screen,
and information from Facebook will default enter into fields on the
[Register] screen.

BR0
2

If user choose login with account, the system will checked


Username and Password, then [My Trips] is displayed if Username
and Password are correct.

BR0
3

If user click on [Forgot Password], the system will displayed


[Forgot Password] screen.

3.6.7.2.2 UC05-02: Logout


3.6.7.2.3 UC05-03: Display My Trips
Use Case ID

UC03

April-2015-SE Intake 7B

Version

1.0

186

TaxiNet Project | Project Final Report

Use Name

Display My Trips

Actor

Rider

Description

The function allows Rider user view trip history

Precondition

Enter address TaxiNet service on the browser.

Trigger

Login to the system with Rider account.

Post-Condition

Agent user can view all information about trip

FPT University

Main flows
Ste
p

Actor

Action

Rider

Enter address TaxiNet service on the Browser

TaxiNet

Display Home screen.

Rider

Click on [Login] Hyperlink on the Home Screen

TaxiNet

Display [Login] screen

Rider

Enter Email and Password, then click on [Login] button

TaxiNet

Login to system successfully, system will display User


Interface.

Rider

Click on [History Trips] on the Menu Bar

TaxiNet

[Trips History] screen is displayed with following


components:
- [Month]
- [Year]
- [City]
- [Payment Method]

April-2015-SE Intake 7B

187

TaxiNet Project | Project Final Report

FPT University

- [Refine Trip] button


9

Rider

Enter [Month], [Year], [City], [Payment Method] then


click on [Refine Trip] button

10

TaxiNet

Table display results after refine trip, with following


components:
- [Trips Number want to display] dropdown box
- [Sequence Number]
- [Date]
- [From]
- [To]
- [Driver]
- [Fee]
- [Vehicle]
- [Payment Method]
- [Details] Hyperlink
- [Delete] Hyperlink
- [Previous] button
- [Next] button

Business Rules:
#

Rule Description

BR0
1

When user enter into fields for searching, system will recommend
for user based on information user enter.

April-2015-SE Intake 7B

188

TaxiNet Project | Project Final Report

FPT University

3.6.7.2.4 UC05-04: Register Rider


Use Case ID

UC04

Version

1.0

Use Name

Register New Account

Actor

Rider User

Description

The function allows Rider user register new rider


account

Precondition

Enter address TaxiNet Website service on the Browser to


go to [Rider Home] screen.

Trigger

Click on [Register] Hyperlink.

Post-Condition

Agent user can register new rider account

Main flows
Ste
p

Actor

Action

Rider

Enter address TaxiNet service on the Browser

TaxiNet

Display Home screen with following components:


- [Login] Hyperlink
- [Register] Hyperlink
- [Register New Driver] Hyperlink
- [Register With TaxiNet] button

Rider

Click on [Register] Hyperlink on the Home Screen

TaxiNet

Display [Register] screen with components bellow:


- [Account] with following components:
+ [Email] field
+ [Password] field
- [Profile] with following components:

April-2015-SE Intake 7B

189

TaxiNet Project | Project Final Report

FPT University

+ [First Name] field


+ [Last Name and Middle Name] field
+ [Phone Number] field
+ [Language] dropdown list
- [Payment] with following components:
+ [Payment Method] dropdown list
+ [Card Number] field
+ [CVV] field
+ [Expiration Date] with [Year] field and [Month] field
+ [Zip Code] field
- Add Promotion Code
- [Register] button
- [Terms and Conditions] and [Privacy Policy] Hyperlink.
5

Rider

Enter all information for register, then click on [Register]


button

TaxiNet

Validate data input and save into database. Then one


account for rider is created and system will send an
email for rider.

Business Rules:
#

Rule Description

BR0
1

When user choose payment method is credit card, [Card Number]


field, [CVV] field, etc is displayed and user have to enter in this
fields.

BR0
2

When user choose payment method is transfer, [Account


Number] field, [Bank] field, etc is displayed and user have to

April-2015-SE Intake 7B

190

TaxiNet Project | Project Final Report

FPT University

enter in this fields.


BR0
3

When user click on [Register] button, information user enter


before will checked and system will send an email notification for
user.

3.6.7.2.5 UC05-05: View Rider Profile


Use Case ID

UC05

Version

1.0

Use Name

View Rider Profile

Actor

Rider

Description

The function allows Rider user view Profile registered


with TaxiNet

Precondition

Login to the system.

Trigger

Click on [Profile] on the Menu Bar

Post-Condition

Agent user can view Profile registered with TaxiNet

Main flows
Ste
p

Actor

Action

Rider

Enter address TaxiNet service on the Browser

TaxiNet

Display Home screen.

Rider

Click on [Login] Hyperlink on the Home Screen

TaxiNet

Display [Login] screen

Rider

Enter Email and Password, then click on [Login] button

TaxiNet

Login to system successfully, system will display User


Interface.

April-2015-SE Intake 7B

191

TaxiNet Project | Project Final Report

FPT University

Rider

Click on [Profile] on the Menu Bar

TaxiNet

[Profile] screen is displayed with following components:


- [Personal Information] include components bellow:
+ Last Name
+ First Name and Middle Name
+ Email
+ Phone Number
+ Country
+ Image represent
+ Zip Code
+ Laguage
+ Introduce Code
+ Password
- [Edit Profile] button
- [Update Image Represent] button
- [Email List]
- [City List]
- [Home Address]
- [Office Address]

3.6.7.2.6 UC05-06: Update Rider Profile

Use Case ID

UC06

April-2015-SE Intake 7B

Version

1.0

192

TaxiNet Project | Project Final Report

FPT University

Use Name

Edit Rider Profile

Actor

Rider

Description

The function allows Rider user view Profile registered


with TaxiNet.

Precondition

Login to the system.

Trigger

Click on [Profile] on the Menu Bar

Post-Condition

Agent user can view Profile registered with TaxiNet.

Main flows
Ste
p

Actor

Action

Rider

Enter address TaxiNet service on the Browser

TaxiNet

Display Home screen.

Rider

Click on [Login] Hyperlink on the Home Screen

TaxiNet

Display [Login] screen

Rider

Enter Email and Password, then click on [Login] button

TaxiNet

Login to system successfully, system will display User


Interface.

Rider

Click on [Profile] on the Menu Bar then click on [Edit


Profile] button

TaxiNet

[Edit Profile] screen is displayed with following


components:
- [Personal Information] include components bellow:
+ [Last Name] field
+ [First Name and Middle Name] field

April-2015-SE Intake 7B

193

TaxiNet Project | Project Final Report

FPT University

+ [Old Email]
+ [New Email] field
+ [Phone Number] field
+ [Country] dropdown list
+ Image represent
+ [Zip Code] field
+ [Laguage] dropdown list
+ Introduce Code
+ [Password] and [Change Password] Hyperlink
- [Update Profile] button
- [Update Image Represent] button
- [Email List]
- [City List] and [Delete] button
- [Home Address] with [Change] button
- [Office Address] with [Change] button
9

Rider

Enter all information need to edit then click on [Update


Profile] button

10

TaxiNet

Validate data input then save into database

11

Rider

Click on [Delete] button near [City] List

12

TaxiNet

Delete City from List

Business Rules:
#

Rule Description

BR0
1

When user click on [Update Represent Image], system will display


screen allow user choose image profile, image profile just accept

April-2015-SE Intake 7B

194

TaxiNet Project | Project Final Report

FPT University

file png, jpg, gif.

3.6.7.2.7 UC05-07: Change Password


Use Case ID

UC07

Version

1.0

Use Name

Change Password

Actor

Rider

Description

The function allows Rider user change Password

Precondition

Go to [Profile] screen

Trigger

Click on [Change] Hyperlink near [Password] field.

Post-Condition

Agent user can change Password

Main flows
Ste
p

Actor

Action

Rider

Enter address TaxiNet service on the Browser

TaxiNet

Display Home screen.

Rider

Click on [Login] Hyperlink on the Home Screen

TaxiNet

Display [Login] screen

Rider

Enter Email and Password, then click on [Login] button

TaxiNet

Login to system successfully, system will display User


Interface.

Rider

Click on [Profile] on the Menu Bar then click on [Edit


Profile] button

TaxiNet

[Edit Profile] screen is displayed with following

April-2015-SE Intake 7B

195

TaxiNet Project | Project Final Report

FPT University

components:
- [Personal Information] include components bellow:
+ [Last Name] field
+ [First Name and Middle Name] field
+ [Old Email]
+ [New Email] field
+ [Phone Number] field
+ [Country] dropdown list
+ Image represent
+ [Zip Code] field
+ [Language] dropdown list
+ Introduce Code
+ [Password] and [Change Password] Hyperlink
- [Update Profile] button
- [Update Image Represent] button
- [Email List]
- [City List] and [Delete] button
- [Home Address] with [Change] button
- [Office Address] with [Change] button
9

Rider

Click on [Change] Hyperlink

10

TaxiNet

Display [Change Password] screen with following


components:
- [Old Password]
- [New Password]

April-2015-SE Intake 7B

196

TaxiNet Project | Project Final Report

FPT University

- [Confirm New Password]


- [Save] button
- [Cancel] button
11

Rider

Fill on [Old Password], [New Password], [Confirm New


Password] fields then click on [Save] button

12

TaxiNet

Validate data input and save into database

3.6.7.2.8 UC05-08: View Payment Information


Use Case ID

UC08

Version

1.0

Use Name

Payment Method

Actor

Rider

Description

The function allows Rider user view Profile registered


with TaxiNet

Precondition

Login to the system.

Trigger

Click on [Payment Method] on the Menu Bar.

Post-Condition

Agent user can view Profile registered with TaxiNet

Main flows
Ste
p

Actor

Action

Rider

Login to the system

TaxiNet

Display User Interface

Rider

Click on [Payment Method] on the Menu Bar

TaxiNet

Display [Payment Method] Screen with Components


bellow:
- [Payment Method] include components bellow:

April-2015-SE Intake 7B

197

TaxiNet Project | Project Final Report

FPT University

+ [+] button
+ Payment method and Expiration Date, [Edit] button
+ Bank and Account Number, [Delete] button and
[Edit] button
- [Promotions] field with [Apply] button
- [Purchased GIFT Cards]

3.6.7.2.9 UC05-09: Edit Payment Information


Use Case ID

UC09

Version

1.0

Use Name

Edit Payment Method

Actor

Rider

Description

The function allows Rider user view Profile registered


with TaxiNet

Precondition

Go to [Payment Method] Screen.

Trigger

Click on [Edit] button.

Post-Condition

Agent user can view Profile registered with TaxiNet

Main flows
Ste
p

Actor

Action

Rider

Login to the system

TaxiNet

Display User Interface

Rider

Click on [Payment Method] on the Menu Bar

TaxiNet

Display [Payment Method] Screen with Components


bellow:
- [Payment Method] include components bellow:

April-2015-SE Intake 7B

198

TaxiNet Project | Project Final Report

FPT University

+ [+] button
+ Payment method and Expiration Date, [Edit] button
+ Bank and Account Number, [Delete] button and
[Edit] button
- [Promotions]
- [Purchased GIFT Cards]
5

Rider

Click on [Edit] button

TaxiNet

Some following fields is display:


- [Expiration]
- [CVV]
- [Personal] dropdown list
- [Cancel] button
- [Save] button

Rider

Fill on [Expiration], [CVV], [Personal] then click on [Save]


button

TaxiNet

Validate data input then save into database

3.6.7.2.10

UC05-10: Update Home Address

Use Case ID

UC10

Use Name

Update Home Address

Actor

Rider

Description

The function allows Rider user update home address

Precondition

Go to [Profile] screen

Trigger

Click on [Change] button near [Home Address] text.

April-2015-SE Intake 7B

Version

1.0

199

TaxiNet Project | Project Final Report

Post-Condition

FPT University

Agent user can change home address

Main flows
Ste
p

Actor

Action

Rider

Enter address TaxiNet service on the Browser

TaxiNet

Display Home screen.

Rider

Click on [Login] Hyperlink on the Home Screen

TaxiNet

Display [Login] screen

Rider

Enter Email and Password, then click on [Login] button

TaxiNet

Login to system successfully, system will display User


Interface.

Rider

Click on [Profile] on the Menu Bar then click on [Edit


Profile] button

TaxiNet

[Edit Profile] screen is displayed with following


components:
- [Personal Information] include components bellow:
+ [Last Name] field
+ [First Name and Middle Name] field
+ [Old Email]
+ [New Email] field
+ [Phone Number] field
+ [Country] dropdown list

April-2015-SE Intake 7B

200

TaxiNet Project | Project Final Report

FPT University

+ Image represent
+ [Zip Code] field
+ [Language] dropdown list
+ Introduce Code
+ [Password] and [Change Password] Hyperlink
- [Update Profile] button
- [Update Image Represent] button
- [Email List]
- [City List] and [Delete] button
- [Home Address] with [Change] button
- [Office Address] with [Change] button
9

Rider

Enter all information need to edit then click on [Update


Profile] button

10

TaxiNet

Validate data input then save into database

11

Rider

Click on [Delete] button near [City] List

12

TaxiNet

Delete City from List

13

Rider

Click on [Change] button near [Home Address]

14

TaxiNet

Display popup with components bellow:


- [City] dropdown list
- [Address] field
- [Save] button
- [Cancel] button

15

Rider

Click on [Change] button near [Office Address]

16

TaxiNet

Display popup with components bellow:

April-2015-SE Intake 7B

201

TaxiNet Project | Project Final Report

FPT University

- [City] dropdown list


- [Address] field
- [Save] button
- [Cancel] button
17

Rider

Choose City from dropdown list and enter [Address] then


click on [Save] button

18

TaxiNet

Validate Data input then save into database.

3.6.7.2.11

UC05-11: Apply Promotion Code

Use Case ID

UC11

Version

1.0

Use Name

Apply Promotion Code

Actor

Rider

Description

The function allows Rider user apply promotion code

Precondition

Go to [Payment Information] screen

Trigger

Fill on [Promotion Code] then click on [Apply]

Post-Condition

Agent user can apply promotion code

Main flows
Ste
p

Actor

Action

Rider

Login to the system

TaxiNet

Display User Interface

Rider

Click on [Payment Method] on the Menu Bar

TaxiNet

Display [Payment Method] Screen with Components


bellow:
- [Payment Method] include components bellow:

April-2015-SE Intake 7B

202

TaxiNet Project | Project Final Report

FPT University

+ [+] button
+ Payment method and Expiration Date, [Edit] button
+ Bank and Account Number, [Delete] button and
[Edit] button
- [Promotions] field with [Apply] button
- [Purchased GIFT Cards]
5

Rider

Fill on [Promotion Code] field then click on [Apply]


button

TaxiNet

Validate data then save into database

3.6.7.2.12

UC05-12: View Trip Details

Use Case ID

UC12

Version

1.0

Use Name

View Trips Details

Actor

Rider

Description

The function allows Rider user view trip history

Precondition

Go to [My Trips] screen.

Trigger

Click on [Details] Hyperlink.

Post-Condition

Agent user can view all information about trip

Main flows
Ste
p

Actor

Action

Rider

Enter address TaxiNet service on the Browser

TaxiNet

Display Home screen.

Rider

Click on [Login] Hyperlink on the Home Screen

April-2015-SE Intake 7B

203

TaxiNet Project | Project Final Report

FPT University

TaxiNet

Display [Login] screen

Rider

Enter Email and Password, then click on [Login] button

TaxiNet

Login to system successfully, system will display User


Interface.

Rider

Click on [History Trips] on the Menu Bar

TaxiNet

[Trips History] screen is displayed with following


components:
- [Month]
- [Year]
- [City]
- [Payment Method]
- [Refine Trip] button

Rider

Enter [Month], [Year], [City], [Payment Method] then


click on [Refine Trip] button

10

TaxiNet

Table display results after refine trip, with following


components:
- [Trips Number want to display] dropdown box
- [Sequence Number]
- [Date]
- [From]
- [To]
- [Driver]
- [Fee]
- [Vehicle]

April-2015-SE Intake 7B

204

TaxiNet Project | Project Final Report

FPT University

- [Payment Method]
- [Details] Hyperlink
- [Delete] Hyperlink
- [Previous] button
- [Next] button
11

Rider

Click on [Details] Hyperlink.

12

TaxiNet

Display a popup with following components:


- Date
- From
- To
- Distance
- Fee
- Discount
- Payment Method
- Driver Name
- Vehicle
- [Close] button

3.6.7.2.13

UC05-13: Find Free Trips

Use Case ID

UC13

Use Name

Find Free Trips

Actor

Rider

Description

The function allows Rider user find free trips

Precondition

Login to the system.

April-2015-SE Intake 7B

Version

1.0

205

TaxiNet Project | Project Final Report

Trigger

Click on [Find Free Trips] on the Menu Bar.

Post-Condition

Rider user can find free trips from trips list

FPT University

Main flows
Ste
p

Actor

Action

Rider

Login to the system

TaxiNet

Display User Interface

Rider

Click on [Find Free Trips] on the Menu Bar

TaxiNet

Display [Find Free Trips] Screen with fields bellow:


- [Time]
- [From] include [City] field and [Address] field
- [To] include [City] field and [Address] field
- [Find] button

Rider

Enter all information on the fields then click on [Find]


button

TaxiNet

Display table summary result found, with following


components:
- [Trips Number want to display] dropdown list
- [Sequence Number]
- [Date]
- [From]
- [To]
- [Driver]
- [Fee]

April-2015-SE Intake 7B

206

TaxiNet Project | Project Final Report

FPT University

- [Vehicle]

3.6.7.2.14

UC05-14: Reset Password

Use Case ID

UC14

Version

1.0

Use Name

Reset Password

Actor

Rider

Description

The function allows Rider user reset Password.

Precondition

Go to [Login] screen.

Trigger

Click on [Forgot Password] Hyperlink.

Post-Condition

Rider user can reset Password

Main flows
Ste
p

Actor

Action

Rider

Click on [Login] Hyperlink on the [Home] Screen

TaxiNet

Display [Login] Screen

Rider

Click on [Forgot Password] Hyperlink on the [Login]


screen

TaxiNet

Display [Forgot Password] Screen with fields bellow:


- [Email Address] field
- [Reset Password] button
- [Login to TaxiNet] Hyperlink

Rider

Enter Email Address then click on [Reset Password]


button

TaxiNet

System will send an email reset Password for rider,


incude link to reset Password.

Rider

Click on Link in the Email

April-2015-SE Intake 7B

207

TaxiNet Project | Project Final Report

TaxiNet

FPT University

Display [Set Password] Screen with following


components:
- [New Password]
- [Set Password] button

Rider

Enter [New Password] then click on [Set Password]


button on [Set Password] Screen

10

TaxiNet

Validate data input then save into database

Business Rules:
#

Rule Description

BR0
1

When user enter email then click on [Reset Password], the system
will send an email for user. If user click on link in email, system
will display [Reset Password] screen.

BR0
2

When user enter new Password then click on [Set Password] on


[Reset Password] screen, system will check new Password and
display [My Trips] screen if successfully.

April-2015-SE Intake 7B

208

TaxiNet Project | Project Final Report

FPT University

3.6.8 UC06: Staff Manage Driver, Company, Staff Information


3.6.8.1Use Case Diagram

April-2015-SE Intake 7B

209

TaxiNet Project | Project Final Report

FPT University

Figure 3-16: Staff Management User Use Case Diagram

April-2015-SE Intake 7B

210

TaxiNet Project | Project Final Report

FPT University

3.6.8.2Use Case Specification


3.6.8.2.1 UC06-01: Search Drivers
Use Case ID

UC01

Version

1.0

Use Name

Search Drivers

Actor

Staff

Description

The function allows Staff user search drivers

Precondition

Login to the system.

Trigger

Click on [Search Driver] on the Menu Bar.

Post-Condition

Staff user can search drivers

Main flows
Ste
p

Actor

Action

Staff

Login to the system with staff account

TaxiNet

Display staff interface

Staff

Click on [Driver Management] category on the Menu


Bar, then click on [Search Driver] in [Driver
Management] category

TaxiNet

Display [Search Driver] screen with following


components:
- [From Date]
- [To Date]
- [Driver Name]
- [Status] dropdown list
- [Refine Driver] button

Staff

Enter all information into fields then click on [Refine

April-2015-SE Intake 7B

211

TaxiNet Project | Project Final Report

FPT University

Driver] button
6

TaxiNet

Display table summary results with following


components:
- [Drivers want to display] dropdown list
- [Sequence Number]
- [Account Login]
- [Driver Name]
- [Company Name]
- [Status]
- [Register Date]
- [View Details] Hyperlink
- [Previous] button
- [Next] button

Business Rules:
#

Rule Description

BR0
1

When the page is first shown the default status is "New", list of
registered new driver will be displayed in ascending order of the
date of registration, driver's name (sorted by ABC order). The
number of records displayed on the number configured for one
page.

BR0
2

Staff only view list driver of the city which his unit responsible.

3.6.8.2.2 UC06-02: View Driver Information


Use Case ID

UC02

April-2015-SE Intake 7B

Version

1.0
212

TaxiNet Project | Project Final Report

FPT University

Use Name

View Driver Information

Actor

Staff

Description

The function allows Staff user view driver information

Precondition

Go to [Search Driver] screen.

Trigger

Click on [View Details] Hyperlink.

Post-Condition

Staff user can view driver information

Main flows
Ste
p

Actor

Action

Staff

Login to the system with staff account

TaxiNet

Display staff interface

Staff

Click on [Driver Management] category on the Menu


Bar, then click on [Search Driver] in [Driver
Management] category

TaxiNet

Display [Search Driver] screen with following


components:
- [From Date]
- [To Date]
- [Driver Name]
- [Status] dropdown list
- [Refine Driver] button

Staff

Enter all information into fields then click on [Refine


Driver] button

TaxiNet

Display table summary results with following


components:
- [Drivers want to display] dropdown list

April-2015-SE Intake 7B

213

TaxiNet Project | Project Final Report

FPT University

- [Sequence Number]
- [Account Login]
- [Driver Name]
- [Company Name]
- [Status]
- [Register Date]
- [View Details] Hyperlink
- [Previous] button
- [Next] button
7

Staff

Click on [View Details] Hyperlink

TaxiNet

Display [Driver Information] Screen with following


components:
- [Company Information] include components bellow:
+ Company Name
+ Address 1
+ City
+ Zip Code
+ Phone Number
+ VAT Number
+ Company Type
+ Service Charge Type
- [Personal Information] include components bellow:
+ Last Name
+ First Name and Middle Name

April-2015-SE Intake 7B

214

TaxiNet Project | Project Final Report

FPT University

+ Email Address
+ Phone Number
+ Language
- [TaxiNet Account Information] include components
bellow:
+ Account Name
+ Promotion Code
- [Image Represent]
- [B2 Drivers License] include components bellow:
+ Status
+ File
+ Expiration Date
+ [Checked] button
+ [Invalid] button
- [Exec Qualification] include components bellow:
+ Status
+ File
+ [Checked] button
+ [Invalid] button
- [Back] button
- [Accept] button
- [Send Email] button

Business Rules:
April-2015-SE Intake 7B

215

TaxiNet Project | Project Final Report

FPT University

Rule Description

BR0
1

When staff choose [Checked] button, documents status is


transfer to Verifired and [Accept] button, [Checked] button,
[Invalid] button are not displayed.

BR0
2

When staff choose [Invalid] button, documents status is transfer


to Rejected and [Accept] button, [Checked] button, [Invalid]
button are not displayed.

BR0
3

Button [Accept] just display when all of status drivers documents


is Verifired.

BR0
4

When user click on [Send Email] button, one popup is displayed


with following components:
- [Title]
- [Concept]
- [Send] button
- [Close] button

3.6.8.2.3 UC06-03: Approve New Driver


Use Case ID

UC03

Version

1.0

Use Name

Approve New Driver

Actor

Staff

Description

The function allows Staff to approve a new Driver.

Precondition

Login to the system.

Trigger

Click on [Detail] on [Driver Company] page

Post-Condition

N/A

Main flows

April-2015-SE Intake 7B

216

TaxiNet Project | Project Final Report

Ste
p

Actor

Action

Staff

Login to the system with staff account

TaxiNet

Display staff interface

Staff

Click on [Detail] on [Driver Company] page

TaxiNet

Display [Approve New Driver] screen with following


components:

FPT University

- [Status] dropdown list


- [Approve] button
5

Staff

Check all Drivers document

TaxiNet

Show all Drivers document

Staff

Click on Approve button

TaxiNet

Driver status is updated to database

April-2015-SE Intake 7B

217

TaxiNet Project | Project Final Report

FPT University

Business Rules:
#

Rule Description

BR0
1

When the page is first shown the default status is "New", list of
registered new driver will be displayed in ascending order of the
date of registration, company's name (sorted by ABC order). The
number of records displayed on the number configured for one
page.

3.6.8.2.4 UC06-04: Search Company


Use Case ID

UC04

Version

1.0

Use Name

Search Company

Actor

Staff

Description

The function allows Staff user search company

Precondition

Login to the system.

Trigger

Click on [Search Company] on the Menu Bar.

Post-Condition

Staff can search company

Main flows
Ste
p

Actor

Action

Staff

Login to the system with staff account

TaxiNet

Display staff interface

Staff

Click on [Driver Management] category on the Menu


Bar, then click on [Search Company] in [Driver
Management] category

TaxiNet

Display [Search Company] screen with following


components:
- [From Date]

April-2015-SE Intake 7B

218

TaxiNet Project | Project Final Report

FPT University

- [To Date]
- [Company Name]
- [Status] dropdown list
- [Refine Company] button
5

Staff

Enter all information into fields then click on [Refine


Company] button

TaxiNet

Display table summary results with following


components:
- [Companies want to display] dropdown list
- [Sequence Number]
- [Account Login]
- [Company Name]
- [Address]
- [Status]
- [Register Date]
- [View Details] Hyperlink
- [Previous] button
- [Next] button

Business Rules:
#

Rule Description

BR0
1

When the page is first shown the default status is "New", list of
registered new company will be displayed in ascending order of
the date of registration, company's name (sorted by ABC order).
The number of records displayed on the number configured for
one page.

April-2015-SE Intake 7B

219

TaxiNet Project | Project Final Report

BR0
2

FPT University

Staff only view list company of the city which his unit responsible.

3.6.8.2.5 UC06-05: View Company Information


Use Case ID

UC05

Version

1.0

Use Name

View Company Information

Actor

Staff

Description

The function allows Staff user view company information

Precondition

Go to [Search Company] screen.

Trigger

Click on [View Details] Hyperlink.

Post-Condition

Staff user can view company information

Main flows
Ste
p

Actor

Action

Staff

Login to the system with staff account

TaxiNet

Display staff interface

Staff

Click on [Driver Management] category on the Menu


Bar, then click on [Search Company] in [Driver
Management] category

TaxiNet

Display [Search Company] screen with following


components:
- [From Date]
- [To Date]
- [Company Name]
- [Status] dropdown list
- [Refine Company] button

April-2015-SE Intake 7B

220

TaxiNet Project | Project Final Report

Staff

Enter all information into fields then click on [Refine


Company] button

TaxiNet

Display table summary results with following


components:

FPT University

- [Companies want to display] dropdown list


- [Sequence Number]
- [Account Login]
- [Company Name]
- [Address]
- [Status]
- [Register Date]
- [View Details] Hyperlink
- [Previous] button
- [Next] button
7

Staff

Click on [View Details] Hyperlink

TaxiNet

Display [Company Information] screen with following


components:
- [Topbar] include components bellow:
+ [Company Information] Hyperlink
+ [Drivers] Hyperlink
+ [Vehicle] Hyperlink
+ [Invoices] Hyperlink
+ [Trip Invoice] Hyperlink
- [Company Information] include components bellow:

April-2015-SE Intake 7B

221

TaxiNet Project | Project Final Report

FPT University

+ Company Name
+ Address 1
+ City
+ Zip Code
+ Phone Number
+ VAT Number
+ Bussiness Type
+ Register Services
- [Representative Information] include components
bellow:
+ Last Name
+ First Name and Middle Name
+ Email Address
+ Phone Number
+ Language
+ Account
+ Promotion Code
- [Business Registration Certificate for service of
passenger transportation by car] include components
bellow:
+ Status
+ File
+ Expiration Date
- [Operating License] include components bellow:

April-2015-SE Intake 7B

222

TaxiNet Project | Project Final Report

FPT University

+ Status
+ File
+ Expiration Date
- [Back] button
- [Accept] button
- [Send Email] button

3.6.8.2.6 UC06-06: Approve New Company


Use Case ID

UC06

Version

1.0

Use Name

Approve Company

Actor

Staff

Description

The function allows Staff to approve a new Company

Precondition

Login to the system.

Trigger

Click on [Detail] on [Search Company] page

Post-Condition

N/A

Main flows
Ste
p

Actor

Action

Staff

Login to the system with staff account

TaxiNet

Display staff interface

Staff

Click on [Detail] on [Search Company] page

TaxiNet

Display [Approve New Company] screen with following


components:
- [Status] dropdown list

April-2015-SE Intake 7B

223

TaxiNet Project | Project Final Report

FPT University

- [Approve] button
- [Company information] label
- [Company Name] field
- [Address] field
- [City] field
- [Postal Code] field
- [Phone number] field
5

Staff

Check all Companys documents

TaxiNet

Show all Companys document

Staff

Click on Approve button

TaxiNet

Company status is updated to database

April-2015-SE Intake 7B

224

TaxiNet Project | Project Final Report

FPT University

Business Rules:
#

Rule Description

3.6.8.2.7 UC06-07: Search Company Drivers


Use Case ID

UC07

Version

1.0

Use Name

Search Company Driver

Actor

Staff

Description

The function allows Staff user search company drivers

Precondition

Go to [Company Information] screen.

Trigger

Click on tab [Company Driver] on the top menu bar.

Post-Condition

Staff user can search company drivers

Main flows
Ste
p

Actor

Action

Staff

Login to the system with staff account

TaxiNet

Display staff interface

Staff

Click on [Driver Management] category on the Menu


Bar, then click on [Search Company] in [Driver
Management] category

TaxiNet

Display [Search Company] screen

Staff

Enter all information into fields then click on [Refine


Company] button

TaxiNet

Display table summary results with following


components:
- [Companies want to display] dropdown list

April-2015-SE Intake 7B

225

TaxiNet Project | Project Final Report

FPT University

- [Sequence Number]
- [Account Login]
- [Company Name]
- [Address]
- [Status]
- [Register Date]
- [View Details] Hyperlink
- [Previous] button
- [Next] button
7

Staff

Click on [View Details] Hyperlink

TaxiNet

Display [Company Information] screen with components


bellow:
- [Topbar] include components bellow:
+ [Company Information] Hyperlink
+ [Drivers] Hyperlink
+ [Vehicle] Hyperlink
+ [Invoices] Hyperlink
+ [Trip Invoice] Hyperlink

Staff

Click on [Drivers] Hyperlink on the Top Menu Bar

10

TaxiNet

Display [Company Driver] screen with components


bellow:
- [Status]
- [Refine] button
- Table display results after click on [Refine] button

April-2015-SE Intake 7B

226

TaxiNet Project | Project Final Report

FPT University

11

Staff

Enter [Status] then click on [Refine] button

12

TaxiNet

Display table summary results with components bellow:


- Sequence Number
- Account
- Driver Name
- Register Date
- Status
- Vehicle
- [Details] Hyperlink

3.6.8.2.8 UC06-08: Display Companys Vehicles List


Use Case ID

UC08

Version

1.0

Use Name

Search Company Vehicle

Actor

Staff

Description

The function allows Staff user search company vehicle

Precondition

Go to [Company Information] screen.

Trigger

Click on tab [Vehicle] on the top menu bar.

Post-Condition

Staff user can search company vehicle.

Main flows
Ste
p

Actor

Action

Staff

Login to the system with staff account

TaxiNet

Display staff interface

April-2015-SE Intake 7B

227

TaxiNet Project | Project Final Report

FPT University

Staff

Click on [Driver Management] category on the Menu


Bar, then click on [Search Company] in [Driver
Management] category

TaxiNet

Display [Search Company] screen

Staff

Enter all information into fields then click on [Refine


Company] button

TaxiNet

Display table summary results with following


components:
- [Companies want to display] dropdown list
- [Sequence Number]
- [Account Login]
- [Company Name]
- [Address]
- [Status]
- [Register Date]
- [View Details] Hyperlink
- [Previous] button
- [Next] button

Staff

Click on [View Details] Hyperlink

TaxiNet

Display [Company Information] screen with components


bellow:
- [Topbar] include components bellow:
+ [Company Information] Hyperlink
+ [Drivers] Hyperlink
+ [Vehicle] Hyperlink

April-2015-SE Intake 7B

228

TaxiNet Project | Project Final Report

FPT University

+ [Invoices] Hyperlink
+ [Trip Invoice] Hyperlink
9

Staff

Click on [Vehicle] Hyperlink on the Top Menu Bar

10

TaxiNet

Display [Vehicle] screen with components bellow:


- [Status]
- [Refine] button
- Table display results after click on [Refine] button

11

Staff

Enter [Status] then click on [Refine] button

12

TaxiNet

Display table summary results with components bellow:


- Sequence Number
- Vehicle Name
- Year Production
- License Plate
- Vehicle Registration
- Certificate
- [Details] Hyperlink

3.6.8.2.9 UC06-09: View Vehicle Details


Use Case ID

UC09

Use Name

Search Company Vehicle

Actor

Staff

Description

The function allows Staff user search company vehicle

Precondition

Go to [Vehicle] screen.

April-2015-SE Intake 7B

Version

1.0

229

TaxiNet Project | Project Final Report

Trigger

Click on [Details] Hyperlink.

Post-Condition

Staff user can search company vehicle

FPT University

Main flows
Ste
p

Actor

Action

Staff

Login to the system with staff account

TaxiNet

Display staff interface

Staff

Click on [Driver Management] category on the Menu


Bar, then click on [Search Company] in [Driver
Management] category

TaxiNet

Display [Search Company] screen

Staff

Enter all information into fields then click on [Refine


Company] button

TaxiNet

Display table summary results with following


components:
- [Companies want to display] dropdown list
- [Sequence Number]
- [Account Login]
- [Company Name]
- [Address]
- [Status]
- [Register Date]
- [View Details] Hyperlink
- [Previous] button
- [Next] button

April-2015-SE Intake 7B

230

TaxiNet Project | Project Final Report

FPT University

Staff

Click on [View Details] Hyperlink

TaxiNet

Display [Company Information] screen with components


bellow:
- [Topbar] include components bellow:
+ [Company Information] Hyperlink
+ [Drivers] Hyperlink
+ [Vehicle] Hyperlink
+ [Invoices] Hyperlink
+ [Trip Invoice] Hyperlink

Staff

Click on [Vehicle] Hyperlink on the Top Menu Bar

10

TaxiNet

Display [Vehicle] screen with components bellow:


- [Status]
- [Refine] button
- Table display results after click on [Refine] button

11

Staff

Enter [Status] then click on [Refine] button

12

TaxiNet

Display table summary results with components bellow:


- Sequence Number
- Vehicle Name
- Year Production
- License Plate
- Vehicle Registration
- Certificate
- [Details] Hyperlink

April-2015-SE Intake 7B

231

TaxiNet Project | Project Final Report

13

Staff

Click on [Details] Hyperlink

14

TaxiNet

Display [Vehicle Information] screen with following


components:

FPT University

- Vehicle Name
- Notification missing documents
- Vehicle Level
- Year Register
- License Plate
- Interior Color
- Exterior Color
- [Status] with [Checked] and [Invalid] button
- [Insurance Certificate] include components bellow:
+ Expiration Date
+ File
+ [Status] with [Checked] and [Invalid] button
- [Inspection & Registration Stamp] include components
bellow:
+ Expiration Date
+ File
+ Status
- [Price Panel Apply] with [Details] Hyperlink
- [Back] button
- [Confirm] button
- [Send Email] button

April-2015-SE Intake 7B

232

TaxiNet Project | Project Final Report

FPT University

Business Rules:
#

Rule Description

BR0
1

When staff choose [Checked] button, documents status is


transfer to Verified and [Checked] button, [Invalid] button are
not displayed.

BR0
2

When staff choose [Invalid] button, documents status is transfer


to Rejected and [Confirm] button, [Checked] button, [Invalid]
button are not displayed.

BR0
3

Button [Confirm] just display when all of status drivers


documents is Verified.

BR0
4

When user click on [Send Email] button, one popup is displayed


with following components:
- [Title]
- [Concept]
- [Send] button
- [Close] button

BR0
5

When user click on [Back] button, [Company Vehicle] screen is


displayed.

April-2015-SE Intake 7B

233

TaxiNet Project | Project Final Report

FPT University

3.6.9 UC06: Staff - Manage Agent Information and Login


3.6.9.1Use Case Diagram

Figure 3-17: Staff Management Agent Information Use Case Diagram

April-2015-SE Intake 7B

234

TaxiNet Project | Project Final Report

FPT University

3.6.9.2Use Case Specification


3.6.9.2.1 UC06-10: Login
Use Case ID

UC01

Version

1.0

Use Name

Login

Actor

Staff

Description

The function allows Staff user Login to the system

Precondition

Enter address TaxiNet Website on the Browser to go to


[TaxiNetHome] screen.

Trigger

Click on [Login] Hyperlink.

Post-Condition

Staff user can login to the system

Main flows
Ste
p

Actor

Action

Staff

Enter TaxiNet website service address on the browser

TaxiNet

Display [TaxiNetHome] Screen with following


components:
- Menu
- [Login] Hyperlink
- [Register] Hyperlink

Staff

Click on [Login] Hyperlink on the [Login] screen

TaxiNet

Display [Login] Screen with fields bellow:


- [Email Address]
- [Password]
- [Remember Password] checkbox
- [Login] button

April-2015-SE Intake 7B

235

TaxiNet Project | Project Final Report

FPT University

- [Forgot Password] Hyperlink


5

Staff

Enter [Email Address], [Password] then click on [Login]


button

TaxiNet

Validate data input and login to the system.

3.6.9.2.2 UC06-11: Search Agent


Use Case ID

UC02

Version

Use Name

Search Agent

Actor

Staff

Description

The function allows search Agent

Precondition

Login to the system.

Trigger

Click on [Search Agent] in the Menu Bar.

Post-Condition

Staff user can search agent

1.0

Main flows
Ste
p

Actor

Action

Staff

Login to the system with staff account

TaxiNet

Display staff interface

Staff

Click on [Search Agent] on the Menu Bar

TaxiNet

Display [Search Agent ] screen with following


component:
- [From Date]
- [To Date]
- [Agent Name]
- [Status] dropdown list

April-2015-SE Intake 7B

236

TaxiNet Project | Project Final Report

FPT University

- [Search Agent] button


- Table summary results
5

Staff

Enter all information into fields then click on [Search


Agent] button

TaxiNet

Display table summary results with following


components:
- [Number of agent want to display] dropdown list
- Sequence Number
- Login Account
- Agent Name
- Address
- Status
- Register Date
- Account Balance
- [Details] Hyperlink
- [Previous] button
- [Next] button

Business Rules:
#

Rule Description

BR0
1

When the page is first shown the default status is "New", list of
registered new agent will be displayed in ascending order of the
date of registration, agent's name (sorted by ABC order). The
number of records displayed on the number configured for one
page.

BR0

Staff only view list agent of the city which his unit responsible.

April-2015-SE Intake 7B

237

TaxiNet Project | Project Final Report

FPT University

3.6.9.2.3 UC06-12: View Agent Information


Use Case ID

UC03

Version

1.0

Use Name

View Agent Information

Actor

Staff

Description

The function allows view agent information

Precondition

Go to [Search Agent] screen.

Trigger

Click on [Details] Hyperlink.

Post-Condition

Staff user can view agent information

Main flows
Ste
p

Actor

Action

Staff

Login to the system with staff account

TaxiNet

Display staff interface

Staff

Click on [Search Agent] on the Menu Bar

TaxiNet

Display [Search Agent ] screen with following


component:
- [From Date]
- [To Date]
- [Agent Name]
- [Status] dropdown list
- [Search Agent] button
- Table summary results

Staff

Enter all information into fields then click on [Search

April-2015-SE Intake 7B

238

TaxiNet Project | Project Final Report

FPT University

Agent] button
6

TaxiNet

Display table summary results with following


components:
- [Number of agent want to display] dropdown list
- Sequence Number
- Login Account
- Agent Name
- Address
- Status
- Register Date
- Account Balance
- [Details] Hyperlink
- [Previous] button
- [Next] button

Staff

Click on [Details] Hyperlink

TaxiNet

Display [Agent Information] screen with following


components:
- [Top bar] include components bellow:
+ [Agent Information] Tab bar
+ [Dashboard] Tab bar
+ [Charged Invoice] Tab bar
+ [Agent Invoice] Tab bar
- [Agent Information] include components bellow:
+ Agent Name

April-2015-SE Intake 7B

239

TaxiNet Project | Project Final Report

FPT University

+ Address
+ City
+ Zip Code
+ VAT Number
+ Status
+ Bank Account Number
+ Bank Name
+ [Rate] with [Change] Hyperlink
- [Representative Information] include components
bellow:
+ Last Name
+ First Name and Middle Name
+ Email Address
+ Phone Number
+ Language
+ Account Name
- [Back] button
- [Approve] button
- [Send Email] button

3.6.9.2.4 UC06-13: Approve New Agent


Use Case ID

UC04

Use Name

View Agent Information

Actor

Staff

April-2015-SE Intake 7B

Version

1.0

240

TaxiNet Project | Project Final Report

Description

The function allows staff approve agent

Precondition

Go to [Search Agent] screen.

Trigger

Click on [Details] Hyperlink.

Post-Condition

Staff user can view agent information

FPT University

Main flows
Ste
p

Actor

Action

Staff

Login to the system with staff account

TaxiNet

Display staff interface

Staff

Click on [Search Agent] on the Menu Bar

TaxiNet

Display [Search Agent ] screen with following


component:
- [From Date]
- [To Date]
- [Agent Name]
- [Status] dropdown list
- [Search Agent] button
- Table summary results

Staff

Enter all information into fields then click on [Search


Agent] button

TaxiNet

Display table summary results with following


components:
- [Number of agent want to display] dropdown list
- Sequence Number

April-2015-SE Intake 7B

241

TaxiNet Project | Project Final Report

FPT University

- Login Account
- Agent Name
- Address
- Status
- Register Date
- Account Balance
- [Details] Hyperlink
- [Previous] button
- [Next] button
7

Staff

Click on [Details] Hyperlink

TaxiNet

Dispplay [Agent Information] screen with following


components:
- [Topbar] include components bellow:
+ [Agent Information] Tab bar
+ [Dashboard] Tab bar
+ [Charged Invoice] Tab bar
+ [Agent Invoice] Tab bar
- [Agent Information] include components bellow:
+ Agent Name
+ Address
+ City
+ Zip Code
+ VAT Number
+ Status

April-2015-SE Intake 7B

242

TaxiNet Project | Project Final Report

FPT University

+ Bank Account Number


+ Bank Name
+ [Rate] with [Change] Hyperlink
- [Representative Information] include components
bellow:
+ Last Name
+ First Name and Middle Name
+ Email Address
+ Phone Number
+ Language
+ Account Name
- [Back] button
- [Approve] button
- [Send Email] button
9

Staff

Click on [Approve] button

10

TaxiNet

Agent status is updated to Approved in database

3.6.9.2.5 UC06-14: View Agent Dashboard Information


Use Case ID

UC05

Use Name

View Agent Dashboard

Actor

Staff

Description

The function allows view agent dashboard

Precondition

Login to the system.

Trigger

Click on [Search Agent] on the Menu Bar, then click on

April-2015-SE Intake 7B

Version

1.0

243

TaxiNet Project | Project Final Report

FPT University

[Details] Hyperlink -> [Agent Dashboard] top bar


Post-Condition

Staff user can view agent dashboard

Main flows
Ste
p

Actor

Action

Staff

Login to the system with staff account

TaxiNet

Display staff interface

Staff

Click on [Search Agent] on the Menu Bar

TaxiNet

Display [Search Agent ] screen with following


component:
- [From Date]
- [To Date]
- [Agent Name]
- [Status] dropdown list
- [Search Agent] button
- Table summary results

Staff

Enter all information into fields then click on [Search


Agent] button

TaxiNet

Display table summary results with following


components:
- [Number of agent want to display] dropdown list
- Sequence Number
- Login Account
- Agent Name
- Address

April-2015-SE Intake 7B

244

TaxiNet Project | Project Final Report

FPT University

- Status
- Register Date
- Account Balance
- [Details] Hyperlink
- [Previous] button
- [Next] button
7

Staff

Click on [Details] Hyperlink

TaxiNet

Display [Agent Information] screen with following


components:
- [Top bar] include components bellow:
+ [Agent Information] Tab bar
+ [Dashboard] Tab bar
+ [Charged Invoice] Tab bar
+ [Agent Invoice] Tab bar

Staff

Click [Dashboard] Tab bar

10

TaxiNet

Display [Agent Dashboard] screen with components


bellow:
- [Show month of data]
- [Year]
- [Summary of collected amount (in month)] include
following components:
+ [Total collected amount in the month]
+ [Total discounted amount (5%)]
+ [Total payment in the month]

April-2015-SE Intake 7B

245

TaxiNet Project | Project Final Report

FPT University

+ [Paid Amount in the month]


+ [Balance in last month]
+ [Total payment]
+[Summary of charging transactions]
+[Payment transactions]

3.7 Non-functional Specification


3.7.1 Reliability
o
o
o

Analyze the consequences of the failure


Divided by the failure of the different groups
Establish requirements for reliability using the appropriate metrics
for each type

3.7.2 Performance Requirements


3.7.2.1Availability
The application must be available 95% of time. Users can access to it everywhere
from their iPhone in both with or without internet.
3.7.2.2Response time
Besides, in term of response time, the time to start and run application will be 2 to 5
seconds; time to process any functions will not exceed 7 seconds.
3.7.3 User Interface
Intuitive interface, not broken font, the color of the button is not blinding and color
combinations screen is logically.
3.7.4 Design Constraints

Color: The background color will be white and grey in default. The color of

April-2015-SE Intake 7B

246

TaxiNet Project | Project Final Report

FPT University

text will be black.


Text: All texts bases on Helvetica style and title or label will use upper case
with the first letter.

3.7.5 Usability

Design Functional: User need to click less than 3 times to enter the screen
needed
Design Screen, Button: All screens, buttons and texts must be clear, easy
to use and harmonious colors.
Language: Application can be displayed in English and Vietnamese

3.7.6 Security Requirements

Manage Data Layer: Only Administrator can modify database system.


Stored Data: All data about information of user, trip, will be saved in My
SQL Server, and be easy for data classification or backup
User only can use all features after logining to the system

3.7.7 Hardware/Software Requirements


Table 3-53: Hardware for project

No

Name

Detail

HTC One M7

Nexus 7

Asus Zenphone 5

Table 3-54: Software and framework for project

Name

Version

Operating system

Android

4.1.2 or higher

Framework

JDK

7u14 or higher

April-2015-SE Intake 7B

247

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

248

TaxiNet Project | Project Final Report

FPT University

4 Software Design Document


4.1 Architecture Design
4.1.1 Choice of Architecture Design
The main function of TaxiNet system provides ability to create communication
between rider, driver and manage taxi company, staff. TaxiNet system needs to
listen to users request and retrieve appropriate data from the data storage and
display it for the user. The system is structured basing on MVC combined with multitier layers architecture. Architectural Presentation

April-2015-SE Intake 7B

249

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

250

TaxiNet Project | Project Final Report

FPT University

Figure 4-18: System overview

4.1.1.1Spring MVC
In the overall architecture of the TaxiNet system, Spring MVC acts as the
presentation layer. Action Form receiving web form submission data to be
processed, face-config.xml is configured to call corresponding action, and then
through the result to the appropriate web page.

Figure 4-19: Spring architecture

The View is responsible for rendering the model data and in general it generates
HTML output that the client's browser can interpret.
Interceptors are responsible for most of the request processing. They are invoked
April-2015-SE Intake 7B

251

TaxiNet Project | Project Final Report

FPT University

by the controller before and after invoking action, thus they sit between the
controller and action. Interceptors perform tasks such as Logging, Validation, File
Upload, Double-submit guard etc.
The Dispatcher Servlet the Spring Web model-view-controller (MVC) framework is
designed around a DispatcherServlet that handles all the HTTP requests and
responses. The request processing workflow of the Spring Web
MVC DispatcherServlet is illustrated.
The Controllers job is to map incoming HTTP requests to actions. Those mapping
are defined by using XML-based configuration (face-config.xml) or Java
annotations. Forms and hyperlinks
in the user interface that require business logic to be executed are submitted to a
request URI that is mapped to an action. One instance of this class exists and
receives and processes all requests that change the state of a user's interaction
with the application. This component represents
The Model encapsulates the application data and in general they will consist of
POJO.
4.1.1.2Hibernate
Hibernate is the most popular O / R mapping framework, an automatic mapping
between relational database and Java objects, so that the operation of the database
programmers can achieve in a very simple way.
Hibernate is responsible for the persistence layer to complete the database CRUD
operations. It has a set of hbm.xml files and POJO corresponding with appearances
in the database. And then define the DAO, these classes dealing with the database,
they will use the PO.
Programmers to access the database needs to be done is the preparation for the
persistent object xml mapping file. For example City table in MySQL is represented
by City.hbm.xml file. City table has the following attributes: city name, city code,
latitude, longitude, telephone area code. Then, programmer needs to create getter
and setter method for all of these attributes.
The underlying database changes simply change the initial configuration file
(database.properties). It not has an impact on the application.
Has its own object-oriented query language HQL in Hibernate HQL features powerful
April-2015-SE Intake 7B

252

TaxiNet Project | Project Final Report

FPT University

support most of the major databases, such as Oracle, DB2, MySQL, Microsoft SQL.

Figure 4-20: Hibernate architecture

Hibernate architecture has three main components:

Connection Management: Hibernate Connection management service


provide efficient management of the database connections. Database
connection is the most expensive part of interacting with the database as it
requires a lot of resources of open and close the database connection.
Transaction management: Transaction management service provides the
ability to the user to execute more than one database statements at a time.
Object relational mapping: Object relational mapping is technique of
mapping the data representation from an object model to a relational data
model. This part of hibernate is used to select, insert, update and delete the
records form the underlying table. When we pass an object to a Session.
Save() method, Hibernate reads the state of the variables of that object and
executes the necessary query.

April-2015-SE Intake 7B

253

TaxiNet Project | Project Final Report

FPT University

4.1.1.3JavaServer Faces (JSF)


JavaServer Faces (JSF) is a standardized specification for building User Interfaces
(UI) for server-side applications
JavaServer Faces (JSF) is a server-side technology for developing web applications
with rich user interfaces. With JSF, you can resolve such technical challenges as
creating custom user interface components. This is because JSF technology is a user
interface framework for building Java-based web applications that run on the server
side, and render the user interface back to the client. That's right! The user
interface code runs on the server, responding to events generated on the client.
Rich user interfaces consist of a set of rich components. There are a number of
options out there today for building rich server-side user interfaces, such as Prime,
Flash, Swinglets, and Jade. However, these solutions are proprietary; the tools and
runtimes that support their development are usually only available through a single
vendor. JSF is, above all, a standard, which means that the developer does not get
locked into a single vendor

Figure 4-21: Hibernate architecture

April-2015-SE Intake 7B

254

TaxiNet Project | Project Final Report

FPT University

4.1.1.4Primeface
PrimeFaces is a component suite open source User Interface (UI) component
library for JavaServer Faces (JSF) based applications
A different point of view: Technology is not a software vendor but a software
development house along with the consulting & training activities. A framework
that's not even used by its own creators can easily miss vital points regarding
usability and simplicity, a major difference compared to vendor products is that we
use PrimeFaces in all of our clients' projects as the front end framework. This helps
us to view the project from an application developer's point of view so that we can
easily realize the missing features and quickly fix the bugs. This significantly differs
PrimeFaces from other libraries.
Simplicity and performance: PrimeFaces is a lightweight library, all decisions
made are based on keeping PrimeFaces as lightweight as possible. Usually adding a
third-party solution could bring a overhead however this is not the case with
PrimeFaces. It is just one single jar with no dependencies and nothing to configure.
Ease of use: Components in PrimeFaces are developed with a design principle
which states that "A good UI component should hide complexity but keep the
flexibility" while doing so.
4.1.1.5Android Client Side
It base on android platform with the Restful to send/receive data from web service.

REST is an architecture style for designing networked applications. The


idea is that, rather than using complex mechanisms such as CORBA, RPC
or SOAP to connect between machines, simple HTTP is used to make calls
between machines.

Application is not only storage and query data from server on Internet. But also, it
saves data to client by SQLite

SQLite is a relational database management system contained in a small


programming library.
In contrast to other database management systems, SQLite is not a separate
process that is accessed from the client application, but an integral part of it.
SQLite is ACID-compliant and implements most of the SQL standard, using a
dynamically and weakly typed SQL syntax that does not guarantee the

April-2015-SE Intake 7B

255

TaxiNet Project | Project Final Report

FPT University

domain integrity.
SQLite is a popular choice as embedded database for local/client storage
in application software such as web browsers. It is arguably the most widely
deployed database engine, as it is used today by several widespread
browsers, operating systems, and embedded systems, among others. SQLite
has many bindings to programming languages.

4.1.1.6Web service Server Side


System combined JAX-WS with spring to create web service. Spring provides
remoting support for web services via JAX-WS. The server and client communicate
using XML to send messages or use remote procedure calls to exchange data
between client and service provider. JAX-WS has many advantages to use:

JAX-WS is typically used in conjunction with other technologies.


JAX-WS represents remote procedure calls or messages
Invoking Web services asynchronously.
The platform independence of the Java programming language.
JAX-WS is not restrictive: a JAX-WS client can access a web service that is
not running on the Java platform and vice versa.

Figure 4-22: Restful Service

April-2015-SE Intake 7B

256

TaxiNet Project | Project Final Report

FPT University

4.1.2 Component Design


4.2.1.1 Web app Component

Figure 4-23: Web app Component Architecture

Presentation layer: It covers the entire architecture of Spring. As


mentioned in the previous section, our team used Spring to develop
presentation layer based on MVC model.
o User interface is the view component in MVC model. It is expressed
by combination of JSP, CSS and JS. UI is the only part visible to the
users. Users can use button, link to send desired request to server.
o Presentation logic contains JSF Action, Action Form. The action class

April-2015-SE Intake 7B

257

TaxiNet Project | Project Final Report

FPT University

contains business logic, retrieve resource bundle, hold the data,


validation, and select the view result page that should send back to
the user. Action Form contains getter, setter methods for all fields in
view and extends from Base Action.
Data Access layer:
o Configuration: It is represented by orgmapping.xml. This is the
actual container which instantiates, configures, and manages a
number of beans. These beans typically collaborate with one
another, and thus have dependencies between themselves. These
dependencies are reflected in the configuration data.
o Transaction: Comprehensive transaction support is among the
most compelling reasons to use the Spring Framework. The Spring
Framework provides a consistent abstraction for transaction
management. Transaction management is required to ensure the
data integrity and consistency in database such as rollback,
committed or timeout.
o Hibernate session management: Sessions are a Hibernate
construct used to mediate connections with the database. The
session opens a single database connection when it is created, and
holds onto it until the session is closed. Every object that is loaded
by Hibernate from the database is associated with the session,
allowing Hibernate to automatically persist objects that are
modified, and allowing Hibernate to implement functionality such as
lazy-loading. The session opens a single database connection when
it is created, and holds onto it until the session is closed. Every
object that is loaded by Hibernate from the database is associated
with the session, allowing Hibernate to automatically persist objects
that are modified, and allowing Hibernate to implement
functionality such as lazy-loading.
o DAO Interface: DAO is Data Access Object that is an object
provides an abstract interface to some type of database of TAXINET
system. Based on users request, appropriate DAO will be called.
DAOs provide some specific data operations without exposing
details of the database.
o DAO Implementation: This component implements above
interface. This component is responsible to get data from the
TAXINET data source.
o Model or Value Object: This object is simple POJO containing
get/set methods to store data retrieved using DAO class.
o HBM file: It is Hibernate XML mapping file contains the mapping

April-2015-SE Intake 7B

258

TaxiNet Project | Project Final Report

FPT University

relationship between Java class and database table. This is always


named xx.hbm.xml Mobile app Component

Mobile Client: We would like to mention all people who use the services
of TAXINET on mobile application such as normal user. Refers to report 1
to have more information about those types of users.
Services layer: web service is built based on JAX-WS standard integrated
to Spring3. The Restful specification defines the envelope structure,
encoding rules, and conventions for representing web service invocations
and responses. These calls and responses are transmitted as Restful
messages over HTTP.
o TAXINET web service interface: define all web method with
return type, name and parameters using Restful.
o TAXINET web service implementation: implement the
above TAXINET web service interface (end point interface refers
to web service interface package). All methods in web service
interface will be implemented to call appropriate action through
business logic layer and retrieve data from data sources to
return to clients through hibernate.
o Technologies: HTTP, Restful.

April-2015-SE Intake 7B

259

TaxiNet Project | Project Final Report

FPT University

4.2 Detailed Design


4.2.1 Web application
4.2.1.1Common Design
4.2.1.1.1 DTO

Figure 4-24 Common design DTO

April-2015-SE Intake 7B

260

TaxiNet Project | Project Final Report

FPT University

4.2.1.1.2 Exception

Figure 4-25 Common design Exception

April-2015-SE Intake 7B

261

TaxiNet Project | Project Final Report

FPT University

4.2.1.1.3 Mail

Figure 4-26 Common design Mail

April-2015-SE Intake 7B

262

TaxiNet Project | Project Final Report

FPT University

4.2.1.1.4 Utils

April-2015-SE Intake 7B

263

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

264

TaxiNet Project | Project Final Report

FPT University

Figure 4-27 Common design Utils

April-2015-SE Intake 7B

265

TaxiNet Project | Project Final Report

FPT University

4.2.1.2Presentation Layer
4.2.1.2.1 Class diagram
4.2.1.2.1.1

Bean

Figure 4-28 Bean

April-2015-SE Intake 7B

266

TaxiNet Project | Project Final Report

4.2.1.2.1.2

FPT University

Web service

Figure 4-29 Web service

April-2015-SE Intake 7B

267

TaxiNet Project | Project Final Report

FPT University

4.2.1.2.2 Class description


4.2.1.2.2.1

Bean

4.2.1.2.2.1.1 BaseBean Detail

Figure 4-30 BaseBean Detail

April-2015-SE Intake 7B

268

TaxiNet Project | Project Final Report

FPT University

4.2.1.2.2.1.2 ChangePasswordBean Detail

Figure 4-31 ChangePasswordBean Detail

4.2.1.2.2.1.3 ErrorBean Detail

Figure 4-32 ErrorBean Detail

April-2015-SE Intake 7B

269

TaxiNet Project | Project Final Report

FPT University

4.2.1.2.2.1.4 ForgotPasswordBean Detail

Figure 4-33 ForgotPassword Detail

4.2.1.2.2.1.5 LoginBean Detail

Figure 4-34 LoginBean Detail

April-2015-SE Intake 7B

270

TaxiNet Project | Project Final Report

FPT University

4.2.1.2.2.1.6 AgentInfoBean Detail

Figure 4-35 AgentInfoBean Detail

April-2015-SE Intake 7B

271

TaxiNet Project | Project Final Report

FPT University

4.2.1.2.2.1.7 AgentDashBoardBean Detail

Figure 4-36 AgentDashBoard Detail

April-2015-SE Intake 7B

272

TaxiNet Project | Project Final Report

FPT University

4.2.1.2.2.1.8 SearchAgentBean Detail

Figure 4-37 SearchAgentBean Detail

April-2015-SE Intake 7B

273

TaxiNet Project | Project Final Report

FPT University

4.2.1.2.2.1.9 SearchCompanyBean Detail

April-2015-SE Intake 7B

274

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

275

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

276

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

277

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

278

TaxiNet Project | Project Final Report

FPT University

Figure 4-38 SearchCompanyBean Detail

April-2015-SE Intake 7B

279

TaxiNet Project | Project Final Report

4.2.1.2.2.1.10

FPT University

SearchDriverBean Detail

April-2015-SE Intake 7B

280

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

281

TaxiNet Project | Project Final Report

FPT University

Figure 4-39 SearchDriverBean Detail

April-2015-SE Intake 7B

282

TaxiNet Project | Project Final Report

4.2.1.2.2.1.11

FPT University

AddNewDriverBean Detail

April-2015-SE Intake 7B

283

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

284

TaxiNet Project | Project Final Report

FPT University

Figure 4-40 AddNewDiverBean Detail

April-2015-SE Intake 7B

285

TaxiNet Project | Project Final Report

4.2.1.2.2.1.12

FPT University

AddPricePanelBean Detail

April-2015-SE Intake 7B

286

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

287

TaxiNet Project | Project Final Report

FPT University

Figure 4-41: AddPricePaneBean Detail

4.2.1.2.2.1.13

DriverContactInfoBean Detail

Figure 4-42: DriverContactInfobean Detail

April-2015-SE Intake 7B

288

TaxiNet Project | Project Final Report

4.2.1.2.2.1.14

FPT University

DriverDashboardBean Detail

April-2015-SE Intake 7B

289

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

290

TaxiNet Project | Project Final Report

FPT University

Figure 4-43: DriverDashboardBean Detail

April-2015-SE Intake 7B

291

TaxiNet Project | Project Final Report

4.2.1.2.2.1.15

FPT University

DriverListBean Detail

April-2015-SE Intake 7B

292

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

293

TaxiNet Project | Project Final Report

FPT University

Figure 4-44: DriverListBean Detail

4.2.1.2.2.1.16

DriverRegisterBean Detail

April-2015-SE Intake 7B

294

TaxiNet Project | Project Final Report

FPT University

Figure 4-45: Driver RegisterBean

April-2015-SE Intake 7B

295

TaxiNet Project | Project Final Report

4.2.1.2.2.1.17

FPT University

LiveStatusBean Detail

Figure 4-46: lIveStatusBean Detail

April-2015-SE Intake 7B

296

TaxiNet Project | Project Final Report

4.2.1.2.2.1.18

FPT University

PricePanelListBean Detail

Figure 4-47: PricePanelListBean Detail

April-2015-SE Intake 7B

297

TaxiNet Project | Project Final Report

4.2.1.2.2.1.19

FPT University

PromotionTripsBean Detail

Figure 4-48: PromotionTripBean Detail

April-2015-SE Intake 7B

298

TaxiNet Project | Project Final Report

4.2.1.2.2.1.20

FPT University

TripInvoicesBean Detail

April-2015-SE Intake 7B

299

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

300

TaxiNet Project | Project Final Report

FPT University

Figure 4-49 TripInvoicesBean Detail

April-2015-SE Intake 7B

301

TaxiNet Project | Project Final Report

4.2.1.2.2.1.21

FPT University

VehicleListBean Detail

April-2015-SE Intake 7B

302

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

303

TaxiNet Project | Project Final Report

FPT University

Figure 4-50 VehicleListBean Detail

4.2.1.2.2.1.22

VehiclesBean Detail

Figure 4-51 VehicleBean Detail

April-2015-SE Intake 7B

304

TaxiNet Project | Project Final Report

4.2.1.2.2.1.23

FPT University

FeeAgentChargingInvoiceBean Detail

Figure 4-52 FeeAgentChargingInvoiceBean Detail

April-2015-SE Intake 7B

305

TaxiNet Project | Project Final Report

4.2.1.2.2.1.24

FPT University

FeeAgentContactInfoBean Detail

Figure-4-53 FeeAgentContactInfoBean Detail

April-2015-SE Intake 7B

306

TaxiNet Project | Project Final Report

4.2.1.2.2.1.25

FPT University

FeeAgentRegister Detail

Figure-4-54 FeeAgentRegisterBean Detail

April-2015-SE Intake 7B

307

TaxiNet Project | Project Final Report

4.2.1.2.2.1.26

FPT University

FeeAgentDashBoardBean Detail

April-2015-SE Intake 7B

308

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

309

TaxiNet Project | Project Final Report

FPT University

Figure 4-55 FeeAgentDashBoardBean Detail

April-2015-SE Intake 7B

310

TaxiNet Project | Project Final Report

4.2.1.2.2.1.27

FPT University

FeeAgentHomeBean Detail

April-2015-SE Intake 7B

311

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

312

TaxiNet Project | Project Final Report

FPT University

Figure 4-56 FeeAgentHomeBean Detail

April-2015-SE Intake 7B

313

TaxiNet Project | Project Final Report

4.2.1.2.2.1.28

FPT University

RiderFindFreeTripBean Detail

April-2015-SE Intake 7B

314

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

315

TaxiNet Project | Project Final Report

FPT University

Figure 4-57 RiderFindFreeTripBean Detail

4.2.1.2.2.1.29

RiderMyTripsBean Detail

April-2015-SE Intake 7B

316

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

317

TaxiNet Project | Project Final Report

FPT University

Figure-4-58 RiderMyTripBean Detail

4.2.1.2.2.1.30

RiderPaymentBean Detail

April-2015-SE Intake 7B

318

TaxiNet Project | Project Final Report

FPT University

Figure 4-59 RiderPaymentBean Detail

April-2015-SE Intake 7B

319

TaxiNet Project | Project Final Report

4.2.1.2.2.1.31

FPT University

RiderProfileBean Detail

April-2015-SE Intake 7B

320

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

321

TaxiNet Project | Project Final Report

FPT University

Figure-4-60 RiderProfileBean Detail

April-2015-SE Intake 7B

322

TaxiNet Project | Project Final Report

4.2.1.2.2.1.32

FPT University

RiderRegisterBean Detail

April-2015-SE Intake 7B

323

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

324

TaxiNet Project | Project Final Report

FPT University

Figure 4-61 RiderRegisterBean Detail

April-2015-SE Intake 7B

325

TaxiNet Project | Project Final Report

4.2.1.2.2.2

FPT University

Web service

4.2.1.2.2.2.1 CommonController Detail

Figure 4-62 CommonControllder Detail

4.2.1.2.2.2.2 CompanyController Detail

Figure 4-63 CompanyController Detail

April-2015-SE Intake 7B

326

TaxiNet Project | Project Final Report

FPT University

4.2.1.2.2.2.3 DriverController Detail

Figure 4-64: DriverController Detail

4.2.1.2.2.2.4 FavoriteController Detail

Figure 4-65: FavoriteController Detail

April-2015-SE Intake 7B

327

TaxiNet Project | Project Final Report

FPT University

4.2.1.2.2.2.5 PaymentController Detail

Figure 4-66: PaymentController Detail

4.2.1.2.2.2.6 RiderController Detail

Figure 4-67: RiderController Detail

4.2.1.2.2.2.7 TermController Detail

Figure 4-68: TermController Detail

April-2015-SE Intake 7B

328

TaxiNet Project | Project Final Report

FPT University

4.2.1.2.2.2.8 TripController Detail

Figure 4-69: TripController Detail

April-2015-SE Intake 7B

329

TaxiNet Project | Project Final Report

FPT University

4.2.1.3Business logic layer


4.2.1.3.1 Class diagram
4.2.1.3.1.1

BO interface

Figure 4-70: BO Interface

April-2015-SE Intake 7B

330

TaxiNet Project | Project Final Report

4.2.1.3.1.2

FPT University

BOImpl

Figure 4-71: BO Impl

April-2015-SE Intake 7B

331

TaxiNet Project | Project Final Report

4.2.1.3.1.3

FPT University

APNS

Figure 4-72: APPNS

4.2.1.3.1.4

GCM

Figure 4-73: GCM

April-2015-SE Intake 7B

332

TaxiNet Project | Project Final Report

4.2.1.3.1.5

FPT University

DAO interface

April-2015-SE Intake 7B

333

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

334

TaxiNet Project | Project Final Report

FPT University

Figure 4-74: DAO Interface

4.2.1.3.1.6

DAOImpl

Figure 4-75: DAO Impl

April-2015-SE Intake 7B

335

TaxiNet Project | Project Final Report

FPT University

4.2.1.3.2 Class description


4.2.1.3.2.1

AgentBOImpl

Figure 4-76: AgentBoImpl

4.2.1.3.2.2

AuthenticationBOImpl

Figure 4-77: AuthenticationBOImpl

April-2015-SE Intake 7B

336

TaxiNet Project | Project Final Report

4.2.1.3.2.3

FPT University

BaseBOImpl

April-2015-SE Intake 7B

337

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

338

TaxiNet Project | Project Final Report

FPT University

Figure 4-78: BaseBO Impl

4.2.1.3.2.4

CommonBOImpl

Figure 4-79: CommonBOImpl

4.2.1.3.2.5

CompanyBOImpl

Figure 4-80: CompanyBoImpl

April-2015-SE Intake 7B

339

TaxiNet Project | Project Final Report

4.2.1.3.2.6

FPT University

DriverBOImpl

April-2015-SE Intake 7B

340

TaxiNet Project | Project Final Report

FPT University

Figure 4-81: DriverBOImpl

4.2.1.3.2.7

FavoriteBOImpl

Figure 4-82: FavoriteBOImpl

4.2.1.3.2.8

PaymentBOImpl

Figure 4-83: PaymentBoImpl

April-2015-SE Intake 7B

341

TaxiNet Project | Project Final Report

4.2.1.3.2.9

FPT University

RiderBOImpl

Figure 4-84: RiderBOImpl

4.2.1.3.2.10 SchedulerCalculationBOImpl

Figure 4-85: SchedulerCalculationBOImpl

April-2015-SE Intake 7B

342

TaxiNet Project | Project Final Report

FPT University

4.2.1.3.2.11 StaffBOImpl

Figure 4-86: StaffBOImpl

April-2015-SE Intake 7B

343

TaxiNet Project | Project Final Report

FPT University

4.2.1.3.2.12 TaxiNetUserBOImpl

Figure 4-87: TaxiNetUserBOImpl

4.2.1.3.2.13 TermBOImpl

Figure 4-88: TermBOImpl

4.2.1.4Data Access layer

April-2015-SE Intake 7B

344

TaxiNet Project | Project Final Report

FPT University

4.2.1.4.1 Class diagram


4.2.1.4.1.1

ORM

Figure 4-89: ORM

April-2015-SE Intake 7B

345

TaxiNet Project | Project Final Report

FPT University

4.2.1.5Web agent
4.2.1.5.1 Class diagram

Figure 4-90: ClassDiagram

April-2015-SE Intake 7B

346

TaxiNet Project | Project Final Report

FPT University

4.2.1.5.2 UC-03-01 Login


4.2.1.5.2.1

Screen design

Figure 4-91 Login screen design

4.2.1.5.2.2

Screen description
Table 4-55: Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Description

Login with
Facebook

Login with
Facebook

button

10

Email to login

Email

Email

Text

50

Password to login

Password

Password

Text

30

Click Login button


to login

Login

Login

button

N/A

April-2015-SE Intake 7B

Click if you forgot


your password

347

TaxiNet Project | Project Final Report

Forgot
Password

4.2.1.5.2.3

Forgot
Password

FPT University

Hyperlin
k

N/A

Name of
Application

Sequence diagram

Figure 4-92 Login sequence diagram

4.2.1.5.3 UC-03-02 Search account


4.2.1.5.3.1

Screen design

April-2015-SE Intake 7B

348

TaxiNet Project | Project Final Report

FPT University

Figure 4-93 Search account screen design

4.2.1.5.3.2

Screen description
Table 4-56: Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Require
d

Length

Description

Driver
Name

Driver Name

Text

50

Drivers name

Login
Account

Login Account

Text

50

Drivers account

Search

Search

button

30

Search button

Account
List

Account List

List

N/A

N/A

Login
Account

Login Account

Text

30

Driver
Name/Co
mpany
Name

Driver
Name/Compa
ny Name

Text

30

Phone
number

Phone
number

Text

N/A

Address

Address

Text

50

Account
Charging

Account
Charging

Hyperlin
k

April-2015-SE Intake 7B

N/A

N/A

Hyper link to
account charging

349

TaxiNet Project | Project Final Report

4.2.1.5.3.3

FPT University

Sequence diagram

Figure 4-94 Search account sequence diagram

April-2015-SE Intake 7B

350

TaxiNet Project | Project Final Report

FPT University

4.2.1.5.4 UC-03-03 Charge Account


4.2.1.5.4.1

Screen Design

Figure 4-95 Charging invoice screen design

4.2.1.5.4.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Description

Customer
name

Customer
name

Text

N/A

10

Drivers name

Login
Name

Login Name

Link

N/A

50

Drivers account

Address

Address

Text

N/A

30

Drivers address

April-2015-SE Intake 7B

351

TaxiNet Project | Project Final Report

FPT University

Phone
number

Phone
number

Text

N/A

N/A

Drivers phone
number

Staff

Staff

Text

N/A

30

Agent name

Balance

Balance

Text

N/A

N/A

Driver balance

Amount

Amount

Number
(10,2)

10

Charge amount

Confirm

Confirm

Button

N/A

N/A

Confirm button

Cancel

Cancel

Button

N/A

N/A

Hyper link to
account charging

10

Print

Print

Button

N/A

N/A

11

New
Balance

New Balance

Text

N/A

10

12

Invoice
Number

Invoice
Number

Text

20

13

Charging
Date

Charging
Date

Date

10

4.2.1.5.4.3

Driver balance
after charged

Sequence diagram

Figure 4-96 Charge account sequence diagram

April-2015-SE Intake 7B

352

TaxiNet Project | Project Final Report

FPT University

4.2.1.5.5 UC-03-04 Charging Invoices


4.2.1.5.5.1

Screen design

Figure 4-97 : Charging invoices screen design

April-2015-SE Intake 7B

353

TaxiNet Project | Project Final Report

4.2.1.5.5.2

FPT University

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Account
Login

Account Login

Field

N/A

30

From Date

From Date

Field

N/A

N/A

To Date

To Date

Field

N/A

N/A

Refine
Invoice

Refine Invoice

Button

N/A

N/A

Show

Show

Text

N/A

N/A

No

No

Text

N/A

10

Invoice
Number

Invoice
Number

Text

10

Invoice
Date

Invoice Date

Text

N/A

Amount

Amount

Text

N/A

N/A

10

Account
Login

Account Login

Link

N/A

30

11

Previous

Previous

Button

N/A

N/A

12

Next

Next

Button

N/A

13

Download

Download

Button

N/A

April-2015-SE Intake 7B

Description

354

TaxiNet Project | Project Final Report

4.2.1.5.5.3

FPT University

Sequence diagram

Figure 4-98 Charging invoices screen design

April-2015-SE Intake 7B

355

TaxiNet Project | Project Final Report

FPT University

4.2.1.5.6 UC-03-05 View charging invoice detail


4.2.1.5.6.1

Screen Design

Figure 4-99 View charging invoice detail screen design

4.2.1.5.6.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Description

Customer
name

Customer
name

Text

N/A

10

Drivers name

Login

Login Name

Link

N/A

50

Drivers account

April-2015-SE Intake 7B

356

TaxiNet Project | Project Final Report

FPT University

Name
3

Address

Address

Text

N/A

30

Drivers address

Phone
number

Phone
number

Text

N/A

N/A

Drivers phone
number

Cashier

Cashier

Text

N/A

30

Agent name

Balance

Balance

Text

N/A

N/A

Driver balance

Amount

Amount

Number
(10,2)

10

Charge amount

Confirm

Confirm

Button

N/A

N/A

Confirm button

Cancel

Cancel

Button

N/A

N/A

Hyper link to
account charging

10

Print

Print

Button

N/A

N/A

11

New
Balance

New Balance

Text

N/A

10

12

Invoice
Number

Invoice
Number

Text

20

13

Charging
Date

Charging
Date

Date

10

4.2.1.5.6.3

Driver balance
after charged

Sequence diagram

Figure 4-100 View charging invoice detail sequence diagram

April-2015-SE Intake 7B

357

TaxiNet Project | Project Final Report

FPT University

4.2.1.5.7 UC-03-06 View agent information


4.2.1.5.7.1

Screen design

Figure-4-101 : View contact information screen design

4.2.1.5.7.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Agent
Name

Agent Name

Text

50

City

City

Text

50

Address

Address

Text

50

Phone
number

Phone
number

Text

N/A

20

Zip/Postal

Zip/Postal

Text

N/A

April-2015-SE Intake 7B

Description

358

TaxiNet Project | Project Final Report

FPT University

Code

Code

VAT Code

VAT Code

Text

N/A

15

Personal
Informatio
n

Personal
Information

Text

N/A

N/A

Name

Name

Text

N/A

20

Family
Name

Family Name

Text

N/A

50

10

Email

Email

Text

N/A

50

11

Mobile No

Mobile No

Text

N/A

20

12

Login
Account

Login Account

Text

N/A

N/A

13

Promotion
Code

Promotion
Code

Text

N/A

20

14

Edit Info

Edit Info

Button

N/A

N/A

15

Upload
Image

Upload Image

Button

N/A

N/A

16

Image

Image

Image

N/A

N/A

17

Language

Language

Text

50

18

Agent
Code

Agent Code

Text

N/A

April-2015-SE Intake 7B

359

TaxiNet Project | Project Final Report

4.2.1.5.7.3

FPT University

Sequence diagram

Figure 4-102 View agent Information sequence diagram

April-2015-SE Intake 7B

360

TaxiNet Project | Project Final Report

FPT University

4.2.1.5.8 UC-03-07 Edit agent information


4.2.1.5.8.1

Screen design

Figure 4-103 Edit agent information screen design

4.2.1.5.8.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Agent
Name

Agent Name

Textbox

50

City

City

Dropdo
wn

50

April-2015-SE Intake 7B

Description

361

TaxiNet Project | Project Final Report

FPT University

Address 1

Address 1

Textbox

50

Phone
number

Phone
number

Textbox

N/A

20

Zip/Postal
Code

Zip/Postal
Code

Textbox

N/A

VAT Code

VAT Code

Textbox

N/A

15

Personal
Informatio
n

Personal
Information

Text

N/A

N/A

Name

Name

Text

N/A

20

Family
Name

Family Name

Text

N/A

50

10

Email

Email

Text

N/A

50

11

Mobile No

Mobile No

Text

N/A

20

12

Login
Account

Login Account

Text

N/A

N/A

13

Promotion
Code

Promotion
Code

Text

N/A

20

14

Save

Save

Button

N/A

N/A

15

Upload
Image

Upload Image

Button

N/A

N/A

16

Image

Image

Image

N/A

N/A

17

Address 2

Address 2

Textbox

50

18

Country

Country

Dropdo
wn

N/A

April-2015-SE Intake 7B

362

TaxiNet Project | Project Final Report

4.2.1.5.8.3

FPT University

Sequence diagram

Figure 4-104 Edit agent information sequence diagram

4.2.1.5.9 UC-03-08 Change password


4.2.1.5.9.1

Screen design

Figure 4-105 Change password screen design

April-2015-SE Intake 7B

363

TaxiNet Project | Project Final Report

4.2.1.5.9.2

FPT University

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Require
d

Length

Old
Password

Old Password

TextBox

20

New
Password

New Password

TextBox

20

Confirm
Password

Confirm
Password

TexBox

20

Confirm

Confirm

Button

N/A

N/A

Save

Save

TextBox

4.2.1.5.9.3

Description

Sequence diagram

Figure 4-106 Change password sequence diagram

April-2015-SE Intake 7B

364

TaxiNet Project | Project Final Report

4.2.1.5.10

FPT University

UC-03-09 View Dashboard information

4.2.1.5.10.1 Screen design

Figure 4-107 View Dashboard information screen degisn

4.2.1.5.10.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Month

Month

Dropdo
wn

Year

Year

Dropdo
wn

Total
collected
amount in
the month

Total
collected
amount in the
month

Text

N/A

April-2015-SE Intake 7B

Description

365

TaxiNet Project | Project Final Report

FPT University

Total
discounted
amount

Total
discounted
amount

Number

N/A

Total
payment
in the
month

Total payment
in the month

Number

N/A

Paid
Amount in
the month

Paid Amount
in the month

Number

N/A

Balance in
last month

Balance in
last month

Number

N/A

Total
payment

Total payment

Number

N/A

Summary
of
charging
transactio
ns

Summary of
charging
transactions

List

N/A

10

Collected

Collected

List

N/A

11

No

No

Text

10

12

Payer

Payer

Text

30

13

Date

Date

Text

N/A

14

Amount

Amount

Text

N/A

15

Form to
submit

Form to
submit

Text

N/A

16

Total

Total

Text

N/A

April-2015-SE Intake 7B

366

TaxiNet Project | Project Final Report

FPT University

4.2.1.5.10.3 Sequence Diagram

Figure 4-108 View dashboard information sequence diagram

April-2015-SE Intake 7B

367

TaxiNet Project | Project Final Report

4.2.1.5.11

FPT University

UC-03-10 Register New Agent

4.2.1.5.11.1 Screen design

Figure 4-109 Register new agent screen design

April-2015-SE Intake 7B

368

TaxiNet Project | Project Final Report

FPT University

4.2.1.5.11.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Agent
Name

Agent Name

text

50

Phone
number
header

Phone
number
header

Dropdo
wn

Phone
number

Phone
number

number

12

Language

Language

Dropdo
wn

N/A

Password

Password

passwor
d

30

Confirm
password

Confirm
password

passwor
d

30

Agent
name

Agent name

Text

50

House
number

House
number

Text

30

street

street

Text

30

10

District

District

Text

30

11

Country

Country

Dropdo
wn

N/A

12

City

City

Dropdo
wn

N/A

13

Submit

Submit

Button

N/A

April-2015-SE Intake 7B

Description

369

TaxiNet Project | Project Final Report

FPT University

4.2.1.5.11.3 Sequence Diagram

Figure 4-110 Register new agent sequence diagram

4.2.1.6Web driver

April-2015-SE Intake 7B

370

TaxiNet Project | Project Final Report

FPT University

Figure 4-111 Web driver class diagram 1

4.2.1.6.1 UC04-01: List Drivers


4.2.1.6.1.1

Screen design

Figure 4-112: List drivers

4.2.1.6.1.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Drivers

Drivers

Text

N/A

No

No

Text

10

April-2015-SE Intake 7B

Description

371

TaxiNet Project | Project Final Report

FPT University

Account

Account

Link

30

Full Name

Full Name

Text

N/A

30

Email

Email

Text

N/A

50

Phone
Number

Phone
Number

Text

N/A

N/A

Lisence

Lisence

Text

20

View
Detail

View Detail

Link

N/A

Previous

Previous

Button

N/A

N/A

10

Next

Next

Button

N/A

N/A

11

Add New
Driver

Add New
Driver

Button

N/A

4.2.1.6.1.3

Sequence diagram

April-2015-SE Intake 7B

372

TaxiNet Project | Project Final Report

FPT University

4.2.1.6.2 UC04-02: Add New Driver


4.2.1.6.2.1

Screen design

Figure 4-113: Add new driver

4.2.1.6.2.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Personal
Informatio
n

Personal
Information

Text

N/A

First Name

First Name

Field

20

Last Name

Last Name

Field

10

Email

Email Address

Field

N/A

50

April-2015-SE Intake 7B

Description

373

TaxiNet Project | Project Final Report

FPT University

Address
5

Country

Country

Dropdo
wn

N/A

20

Phone
Number

Phone
Number

Field

N/A

N/A

Create
New
Account

Create New
Account

Text

N/A

Language

Language

Dropdo
wn

N/A

Account

Account

Field

N/A

30

10

Password

Password

Field

N/A

30

11

Confirm
Password

Confirm
Password

Field

30

12

Privacy
Policy

Privacy Policy

Checkbo Y
x

N/A

13

Send

Send

Button

N/A

14

Cancel

Cancel

Button

N/A

4.2.1.6.2.3

Sequence diagram

April-2015-SE Intake 7B

374

TaxiNet Project | Project Final Report

FPT University

4.2.1.6.3 UC04-03: View Driver Information


4.2.1.6.3.1

Screen design

Figure 4-114: View Rider Information

4.2.1.6.3.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Contact
Informatio
n

Contact
Information

Text

N/A

Company
name

Company
name

Text

Address

Address

Text

April-2015-SE Intake 7B

Description

50

375

TaxiNet Project | Project Final Report

FPT University

City

City

Text

N/A

10

Zip code

Zip code

Text

N/A

10

Phone
number

Phone
number

Text

N/A

10

VAT
number

VAT number

Text

10

Personnal
Informatio
n

Personnal
Information

Text

N/A

First name

First name

Text

15

10

Last name

Last name

Text

15

11

Email

Email

HyperLi
nk

50

12

Phone
number

Phone
number

Text

10

13

Language

Language

Text

20

14

Account
Informatio
n

Account
Information

Text

N/A

15

Email

Email

HyperLi
nk

50

16

Promotion
code

Promotion
code

Text

10

17

Edit

Edit

Button

N/A

18

Image

Image

Image

N/A

19

Update

Update

Button

N/A

April-2015-SE Intake 7B

376

TaxiNet Project | Project Final Report

4.2.1.6.3.3

FPT University

Sequence diagram

4.2.1.6.4 UC04-04: Forgot Password


4.2.1.6.4.1

Screen design

Figure 4-115: Forgot Password

April-2015-SE Intake 7B

377

TaxiNet Project | Project Final Report

4.2.1.6.4.2

FPT University

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Forgot
password

Forgot
password

Text

N/A

Email
Address

Email Address

Field

50

Recover
Password

Recover
Password

Button

N/A

Register

Register

Link

N/A

N/A

4.2.1.6.4.3

Description

Sequence diagram

April-2015-SE Intake 7B

378

TaxiNet Project | Project Final Report

FPT University

4.2.1.6.5 UC04-05: Change Password


4.2.1.6.5.1

Screen design

Figure 4-116: Change password

4.2.1.6.5.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Change
password

Change
password

Text

N/A

N/A

Old
password

Old password

Label

40

New
password

New
password

Label

40

April-2015-SE Intake 7B

Description

379

TaxiNet Project | Project Final Report

FPT University

Confirm
password

Confirm
password

Label

40

Save

Save

Button

N/A

4.2.1.6.5.3

Sequence diagram

4.2.1.6.6 UC04-06: Edit Driver Information


4.2.1.6.6.1

Screen design

Figure 4-117: Edit Driver Information

April-2015-SE Intake 7B

380

TaxiNet Project | Project Final Report

4.2.1.6.6.2

FPT University

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Company
Informatio
n

Company
Information

Text

N/A

Company
name

Company
name

Label

100

Address 1

Address 1

Label

50

Address 2

Address 2

Label

N/A

50

Country

Country

Dropdo
wn

N/A

20

City

City

Label

N/A

10

State

State

Label

20

Zip code

Zip code

Dropdo
wn

10

Phone
number

Phone
number

Dropdo
wn

10

10

VAT
number

VAT number

Dropdo
wn

10

11

Personal
Informatio
n

Personal
Information

Text

N/A

12

First name

First name

Text

15

13

Last name

Last name

Text

15

14

Email

Email

Label

50

15

Country

Country

Dropdo
wn

20

April-2015-SE Intake 7B

Description

381

TaxiNet Project | Project Final Report

FPT University

16

Phone
number

Phone
number

Label

10

17

Language

Language

Dropdo
wn

20

18

Account
Informatio
n

Account
Information

Text

N/A

19

Account

Account

Text

50

20

Password

Password

Text

40

21

Change
password

Change
password

HiperLin
k

N/A

22

Save

Save

Button

N/A

23

Image

Image

Image

N/A

24

Update

Update

Button

N/A

25

Company
Informatio
n

Company
Information

Text

N/A

4.2.1.6.6.3

Sequence diagram

April-2015-SE Intake 7B

382

TaxiNet Project | Project Final Report

FPT University

4.2.1.6.7 UC04-07: Display Promotion Trips


4.2.1.6.7.1

Screen design

Figure 4-118: Display promotion trip

4.2.1.6.7.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

From Date

From Date

Field

N/A

To Date

To Date

Field

N/A

Status

Status

Field

N/A

Refine
Promotion
Trips

Refine
Promotion
Trips

Button

N/A

N/A

April-2015-SE Intake 7B

Description

383

TaxiNet Project | Project Final Report

FPT University

Show

Show

Dropdo
wn

N/A

10

No

No

Text

N/A

10

Date to
Perform

Date to
Perform

Text

N/A

From

From

Text

50

To

To

Text

N/A

50

10

Price

Price

Text

N/A

N/A

11

Status

Status

Text

N/A

12

Previous

Previous

Button

N/A

13

Next

Next

Button

N/A

14

Add
Promotion
Trip

Add
Promotion
Trip

Button

N/A

4.2.1.6.7.3

Sequence diagram

April-2015-SE Intake 7B

384

TaxiNet Project | Project Final Report

FPT University

4.2.1.6.8 UC04-08: Display Vehicle List


4.2.1.6.8.1

Screen design

Figure 4-119: Display vehicle list

4.2.1.6.8.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Vehicles
List

Vehicles List

Label

N/A

N/A

Vehicle
Category

Vehicle
Category

TextBox

50

Status

Status

Dropdo
wn

20

Vehicles

Vehicles

Label

N/A

N/A

April-2015-SE Intake 7B

Description

385

TaxiNet Project | Project Final Report

FPT University

Vehicle
Category

Vehicle
Category

Text

N/A

N/A

Insurance
Certificate

Insurance
Certificate

Text

N/A

N/A

License
Plate

License Plate

Text

N/A

N/A

Year

Year

Text

N/A

N/A

Inspection
&
Registratio
n stamp

Inspection &
Registration
stamp

Text

N/A

N/A

10

Status

Status

Text

N/A

N/A

11

View
Details

View Details

Hyperlin
k

N/A

N/A

12

Add a
Vehicle

Add a Vehicle

Button

N/A

N/A

April-2015-SE Intake 7B

386

TaxiNet Project | Project Final Report

4.2.1.6.8.3

FPT University

Sequence diagram

April-2015-SE Intake 7B

387

TaxiNet Project | Project Final Report

FPT University

4.2.1.6.9 UC04-09: Add New Vehicle


4.2.1.6.9.1

Screen design

Figure 4-120: Add new vehicle

4.2.1.6.9.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Vehicles

Vehicles

Text

N/A

N/A

Car

Car

Dropdo
wn

20

Year
production

Year
production

Dropdo
wn

Interior
color

Interior color

Dropdo
wn

N/A

20

Exterior

Exterior color

Dropdo

N/A

20

April-2015-SE Intake 7B

Description

388

TaxiNet Project | Project Final Report

color

FPT University

wn

Lisence
Plate

Lisence Plate

Label

N/A

10

License
plat
country

License plat
country

Dropdo
wn

10

Lisence
plat state

Lisence plat
state

Dropdo
wn

10

Add

Add

Button

N/A

4.2.1.6.9.3

Sequence diagram

April-2015-SE Intake 7B

389

TaxiNet Project | Project Final Report

4.2.1.6.10

FPT University

UC04-10: View List Of Live Vehicles

4.2.1.6.10.1 Screen design

Figure 4-121: View list of live vehicles

4.2.1.6.10.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Live status

Live status

Text

N/A

Text

10

Driver

Driver

Text

30

Current
position

Current
position

Text

N/A

50

Car

Car

Text

N/A

20

Status

Status

Text

N/A

N/A

Previous

Previous

Button

N/A

Next

Next

Button

N/A

April-2015-SE Intake 7B

Description

390

TaxiNet Project | Project Final Report

FPT University

4.2.1.6.10.3 Sequence diagram


4.2.1.6.11

UC04-11: View Map Of Live Vehicles

4.2.1.6.11.1 Screen design

Figure 4-122: View map of live vehicles

4.2.1.6.11.2 Screen description


No

Object/

Object/

April-2015-SE Intake 7B

Type

Required

Length

Description
391

TaxiNet Project | Project Final Report

FPT University

Control
Name

Control Name
in English

Live status

Live status

Text

N/A

List

Link

10

Driver

Map

Button

10

4.2.1.6.11.3 Sequence diagram


4.2.1.6.12

UC04-12: View Vehicle Details

4.2.1.6.12.1 Screen design

Figure 4-123: View Vehicle Details

4.2.1.6.12.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Vehicle
Informatio

Vehicle
Information

Text

N/A

April-2015-SE Intake 7B

Description

392

TaxiNet Project | Project Final Report

FPT University

n
2

Help

Help

Text

N/A

N/A

Vehicles

Vehicles

Text

20

Year

Year

Text

N/A

Lisence

Lisence

Text

N/A

10

Interior
color

Interior color

Text

N/A

20

Exterior
color

Exterior color

Text

20

Status

Status

Text

N/A

Delete

Delete

Button

N/A

10

Insurance
Certificate

Insurance
Certificate

Text

N/A

11

Expiration
date

Expiration
date

Dropdo
wn

N/A

12

Choose file

Choose file

Button

N/A

13

Status

Status

Text

N/A

14

Submit

Submit

Button

N/A

15

Inspection
&
Registratio
n stamp

Inspection &
Registration
stamp

Text

N/A

16

Expiration
date

Expiration
date

Dropdo
wn

N/A

17

Choose file

Choose file

Button

N/A

18

Status

Status

Text

N/A

19

Submit

Submit

Button

N/A

April-2015-SE Intake 7B

393

TaxiNet Project | Project Final Report

FPT University

20

Add

Add

Button

N/A

21

Taxi Level

Taxi Level

Label

N/A

4.2.1.6.12.3 Sequence diagram

April-2015-SE Intake 7B

394

TaxiNet Project | Project Final Report

4.2.1.6.13

FPT University

UC04-14: Assign Vehicle to Driver

4.2.1.6.13.1 Screen design

Figure 4-124: Assign Vehicle to Driver

4.2.1.6.13.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Personal
Info

Personal Info

label

N/A

First Name

First Name

Text

50

Last Name

Last Name

Text

30

Email

Email

Text

50

April-2015-SE Intake 7B

Description

395

TaxiNet Project | Project Final Report

FPT University

Country

Country

Text

10

Phone
Number

Phone
Number

Text

20

Language

Language

Text

20

Username

Username

Text

50

Car

Car

dropdo
wn

20

Plate

Plate

Text

20

4.2.1.6.13.3 Sequence diagram

April-2015-SE Intake 7B

396

TaxiNet Project | Project Final Report

4.2.1.6.14

FPT University

UC04-15: View Price Panel List

4.2.1.6.14.1 Screen design

Figure 4-125: View Price Panel List

4.2.1.6.14.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Price Panel
List

Price Panel
List

Text

N/A

Help

Help

Text

N/A

No

No

Text

10

Title

Title

Text

N/A

50

April-2015-SE Intake 7B

Description

397

TaxiNet Project | Project Final Report

FPT University

Opening
Price

Opening Price

Text

N/A

N/A

First
Kilometer
Price

First
Kilometer
Price

Text

N/A

N/A

Panding
Price

Panding Price

Text

N/A

Date to
Perform

Date to
Perform

Text

N/A

Detail

Detail

Text

N/A

N/A

10

Add New
Price Panel

Add New
Price Panel

Button

N/A

N/A

4.2.1.6.14.3 Sequence diagram

April-2015-SE Intake 7B

398

TaxiNet Project | Project Final Report

4.2.1.6.15

FPT University

UC04-16: View Price Panel Information

4.2.1.6.15.1 Screen design

Figure 4-126: View Price Panel List

4.2.1.6.15.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Price Panel
Informatio
n

Price Panel
Information

Text

N/A

Help

Help

Text

N/A

Price Panel

Price Panel

Text

N/A

Title

Title

Field

N/A

50

April-2015-SE Intake 7B

Description

399

TaxiNet Project | Project Final Report

FPT University

Opening
Price

Opening Price

Field

N/A

N/A

First
Kilometer
Price

First
Kilometer
Price

Field

N/A

N/A

Pending
Price

Pending Price

Field

N/A

Repurchas
e Price

Repurchase
Price

Field

N/A

Date to
Perform

Date to
Perform

Field

N/A

N/A

10

Edit Price
Panel

Edit Price
Panel

Button

N/A

N/A

11

Price Panel
Informatio
n

Price Panel
Information

Text

N/A

4.2.1.6.15.3 Sequence diagram

April-2015-SE Intake 7B

400

TaxiNet Project | Project Final Report

4.2.1.6.16

FPT University

UC04-17: Edit Price Panel

4.2.1.6.16.1 Screen design

Figure 4-127: Edit Price Panel

4.2.1.6.16.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Price Panel
Informatio
n

Price Panel
Information

Text

N/A

Help

Help

Text

N/A

Price Panel

Price Panel

Text

N/A

Title

Title

Field

N/A

50

April-2015-SE Intake 7B

Description

401

TaxiNet Project | Project Final Report

FPT University

Opening
Price

Opening Price

Field

N/A

First
Kilometer
Price

First
Kilometer
Price

Field

N/A

Pending
Price

Pending Price

Field

N/A

Repurchas
e Price

Repurchase
Price

Field

N/A

Date to
Perform

Date to
Perform

Field

N/A

10

Apply for
current car

Apply for
current car

Checkbo N/A
x

N/A

11

Update
New Price
Panel

Update New
Price Panel

Button

N/A

N/A

4.2.1.6.16.3 Sequence diagram

April-2015-SE Intake 7B

402

TaxiNet Project | Project Final Report

4.2.1.6.17

FPT University

UC04-18: Add Price Panel

4.2.1.6.17.1 Screen design

Figure 4-128: Add Price Panel

4.2.1.6.17.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Price Panel
Informatio
n

Price Panel
Information

Text

N/A

N/A

Help

Help

Text

N/A

N/A

Price Panel

Price Panel

Text

N/A

N/A

Title

Title

Field

50

April-2015-SE Intake 7B

Description

403

TaxiNet Project | Project Final Report

FPT University

Opening
Price

Opening Price

Field

N/A

First
Kilometer
Price

First
Kilometer
Price

Field

N/A

Pending
Price

Pending Price

Field

N/A

Repurchas
e Price

Repurchase
Price

Field

N/A

Date to
Perform

Date to
Perform

Field

N/A

10

Apply for
current car

Add New
Price Panel

Button

N/A

4.2.1.6.17.3 Sequence diagram

April-2015-SE Intake 7B

404

TaxiNet Project | Project Final Report

FPT University

4.2.1.7Web rider
4.2.1.7.1 Class diagram

Figure 4-129: Web rider class diagram

April-2015-SE Intake 7B

405

TaxiNet Project | Project Final Report

FPT University

4.2.1.7.2 UC05-01: Login


4.2.1.7.2.1

Screen design

Figure 4-130: Login

4.2.1.7.2.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Login with
Facebook

Login with
Facebook

button

10

Email

Email

Text

50

Password

Password

Text

30

Login

Login

button

N/A

Forgot
Password

Forgot
Password

Hyperlin
k

N/A

Register

Register

Hyperlin
k

N/A

April-2015-SE Intake 7B

Description

406

TaxiNet Project | Project Final Report

4.2.1.7.2.3

FPT University

Sequence diagram

April-2015-SE Intake 7B

407

TaxiNet Project | Project Final Report

FPT University

4.2.1.7.3 UC05-03: Display My Trips


4.2.1.7.3.1

Screen design

Figure 4-131: Display My Trips

4.2.1.7.3.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Month

Month

Dropdo
wn

20

Year

Year

Dropdo
wn

20

Image

Image

Image

N/A

Filter Trips

Filter Trips

button

N/A

N/A

April-2015-SE Intake 7B

Description

408

TaxiNet Project | Project Final Report

FPT University

City

City

Text

N/A

20

Payment
Method

Payment
Method

button

N/A

N/A

My Trips

My Trips

List

N/A

N/A

Date

Date

Label

N/A

Pickup

Pickup

Label

50

10

Destinatio
n

Destination

Label

50

11

Driver

Driver

Label

30

12

Car

Car

Label

20

4.2.1.7.3.3

Sequence diagram

April-2015-SE Intake 7B

409

TaxiNet Project | Project Final Report

FPT University

4.2.1.7.4 UC05-04: Register Rider


4.2.1.7.4.1

Screen design

Figure 4-132: Register Rider

April-2015-SE Intake 7B

410

TaxiNet Project | Project Final Report

4.2.1.7.4.2

FPT University

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Email

Email

Text

50

Password

Password

Text

40

Name

Name

Text

50

Phone
number

Phone
number

button

N/A

10

Language

Language

List

N/A

20

Credit card
number

Credit card
number

Label

10

Credit card
verify

Credit card
verify

Label

10

April-2015-SE Intake 7B

Description

411

TaxiNet Project | Project Final Report

FPT University

Expiration
date

Expiration
date

Label

Month

Month

Label

10

Year

Year

Label

11

Zip code

Zip code

Label

10

12

Register

Register

button

N/A

N/A

13

Payment
Type

Payment Type

dropdo
wn

30

4.2.1.7.4.3

Sequence diagram

April-2015-SE Intake 7B

412

TaxiNet Project | Project Final Report

FPT University

4.2.1.7.5 UC05-05: View Rider Profile


4.2.1.7.5.1

Screen design

Figure 4-133: View Rider Profile

4.2.1.7.5.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

First name
and Last
name

First name
and Last
name

Text

30

Email
address

Email address

Text

50

Phone

Phone

Button

15

April-2015-SE Intake 7B

Description

413

TaxiNet Project | Project Final Report

FPT University

number

number

Image
Profile

Image Profile

Button

N/A

N/A

Country

Country

Button

N/A

20

Language

Language

Button

N/A

20

Invite code

Invite code

Text

N/A

10

Password

Password

Text

40

Zip code

Zip code

Text

10

10

Change
password

Change
password

Button

N/A

11

Home

Home

Text

N/A

12

Office

Office

Text

N/A

13

Update

Update

Text

N/A

14

Update
profile

Update profile

Button

N/A

15

Email Lists

Email Lists

Label

N/A

16

Delete

Delete

Button

N/A

17

Add a list

Add a list

dropdo
wn

N/A

18

Email
address 2

Email address
2

Text

50

19

Your list

Your list

Label

April-2015-SE Intake 7B

N/A

414

TaxiNet Project | Project Final Report

4.2.1.7.5.3

FPT University

Sequence diagram

April-2015-SE Intake 7B

415

TaxiNet Project | Project Final Report

FPT University

4.2.1.7.6 UC05-06: Update Rider Profile


4.2.1.7.6.1

Screen design

Figure 4-134: Update Rider Profile

4.2.1.7.6.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

First name
and Last
name

First name
and Last
name

Text

30

Email
address

Email address

Text

50

Phone

Phone

Button

15

April-2015-SE Intake 7B

Description

416

TaxiNet Project | Project Final Report

FPT University

number

number

Image
Profile

Image Profile

Button

N/A

N/A

Country

Country

Button

N/A

20

Language

Language

Button

N/A

20

Invite code

Invite code

Text

N/A

10

Password

Password

Text

40

Zip code

Zip code

Text

10

10

Change
password

Change
password

Button

N/A

11

Home

Home

Text

N/A

12

Office

Office

Text

N/A

13

Update

Update

Text

N/A

14

Update
profile

Update profile

Button

N/A

15

Email Lists

Email Lists

Label

N/A

16

Delete

Delete

Button

N/A

17

Add a list

Add a list

dropdo
wn

N/A

18

Email
address 2

Email address
2

Text

50

19

Your list

Your list

Label

April-2015-SE Intake 7B

N/A

417

TaxiNet Project | Project Final Report

4.2.1.7.6.3

FPT University

Sequence diagram

4.2.1.7.7 UC05-07: Change Password


4.2.1.7.7.1

Screen design

Figure 4-135: Change Password

April-2015-SE Intake 7B

418

TaxiNet Project | Project Final Report

4.2.1.7.7.2

FPT University

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Require
d

Length

Old
Password

Old Password

TextBox

20

New
Password

New Password

TextBox

20

Confirm
Password

Confirm
Password

TexBox

20

Confirm

Confirm

Button

N/A

N/A

Save

Save

TextBox

4.2.1.7.7.3

Description

Sequence diagram

April-2015-SE Intake 7B

419

TaxiNet Project | Project Final Report

FPT University

4.2.1.7.8 UC05-08: View Payment Information


4.2.1.7.8.1

Screen design

Figure 4-136: View Payment Information

4.2.1.7.8.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Paymenth
Methods

Paymenth
Methods

List

N/A

Add

Add

icon

N/A

Edit

Edit

button

N/A

Cancel

Cancel

button

N/A

April-2015-SE Intake 7B

Description

420

TaxiNet Project | Project Final Report

FPT University

Expiration

Expiration

Text

N/A

10

Save

Save

button

N/A

N/A

CVV

CVV

Text

N/A

N/A

Promotion
Code

Promotion
Code

Text

10

Apply

Apply

button

N/A

N/A

Promotion
s

Promotions

List

N/A

10

Purchased
Gift Cards

Purchased
Gift Cards

List

N/A

4.2.1.7.8.3

Sequence diagram

April-2015-SE Intake 7B

421

TaxiNet Project | Project Final Report

FPT University

4.2.1.7.9 UC05-10: Update Home Address


4.2.1.7.9.1

Screen design

Figure 4-137: Update Home Address

4.2.1.7.9.2

Screen description

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

First name
and Last
name

First name
and Last
name

Text

30

Email
address

Email address

Text

50

Phone

Phone

Button

15

April-2015-SE Intake 7B

Description

422

TaxiNet Project | Project Final Report

FPT University

number

number

Image
Profile

Image Profile

Button

N/A

N/A

Country

Country

Button

N/A

20

Language

Language

Button

N/A

20

Invite code

Invite code

Text

N/A

10

Password

Password

Text

40

Zip code

Zip code

Text

10

10

Change
password

Change
password

Button

N/A

11

Home

Home

Text

N/A

12

Office

Office

Text

N/A

13

Update

Update

Text

N/A

14

Update
profile

Update profile

Button

N/A

15

Email Lists

Email Lists

Label

N/A

16

Delete

Delete

Button

N/A

17

Add a list

Add a list

dropdo
wn

N/A

18

Email
address 2

Email address
2

Text

50

19

Your list

Your list

Label

April-2015-SE Intake 7B

N/A

423

TaxiNet Project | Project Final Report

4.2.1.7.9.3

Sequence diagram

4.2.1.7.10

UC05-11: Apply Promotion Code

FPT University

4.2.1.7.10.1 Screen design

Figure 4-138: Apply Promotion Code

April-2015-SE Intake 7B

424

TaxiNet Project | Project Final Report

FPT University

4.2.1.7.10.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

Type

Require
d

Length

Paymenth
Methods

Paymenth
Methods

List

N/A

Add

Add

icon

N/A

Edit

Edit

button

N/A

Cancel

Cancel

button

N/A

Expiration

Expiration

Text

N/A

10

Save

Save

button

N/A

N/A

CVV

CVV

Text

N/A

N/A

Promotion
Code

Promotion
Code

Text

10

Apply

Apply

button

N/A

N/A

Promotion
s

Promotions

List

N/A

10

Purchased
Gift Cards

Purchased
Gift Cards

List

N/A

Description

4.2.1.7.10.3 Sequence diagram

April-2015-SE Intake 7B

425

TaxiNet Project | Project Final Report

4.2.1.7.11

FPT University

UC05-12: View Trip Details

4.2.1.7.11.1 Screen design

Figure 4-139: View Trip Details

4.2.1.7.11.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

Type

Require
d

Length

Trip Code

Trip Code

Text

11

Customer
name

Customer
name

Text

80

Driver
name

Driver name

Text

80

Vehicle

Vehicle Plate

Text

N/A

30

April-2015-SE Intake 7B

Description

426

TaxiNet Project | Project Final Report

FPT University

Plate
4

Start
Address

Start Address

Text

N/A

200

End
Address

End Address

Text

N/A

200

Email
address

Email address

Text

N/A

50

Start time

Start time

Text

50

End time

End time

Text

50

Fee

Fee

Text

50

10

Pay
method

Pay method

Text

30

4.2.1.7.11.3 Sequence diagram

April-2015-SE Intake 7B

427

TaxiNet Project | Project Final Report

4.2.1.7.12

FPT University

UC05-13: Find Free Trips

4.2.1.7.12.1 Screen design

Figure 4-140: Find Free Trips

4.2.1.7.12.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

Type

Require
d

Length

Time

Time

Field

N/A

From

From

Field

N/A

To

To

Field

N/A

Time to
start

Time to start

Field

N/A

April-2015-SE Intake 7B

Description

428

TaxiNet Project | Project Final Report

FPT University

Address

Address

Field

N/A

10

Find

Find

Button

N/A

N/A

Show

Show

DropDo
wn

N/A

N/A

Text

10

Date

Date

Text

N/A

N/A

From

From

Text

N/A

10

To

To

Text

N/A

11

Driver

Driver

Text

N/A

12

Fee

Fee

Text

N/A

13

Lisence
Plates

Lisence Plates

Text

N/A

14

Time

Time

Field

N/A

4.2.1.7.12.3 Sequence diagram

April-2015-SE Intake 7B

429

TaxiNet Project | Project Final Report

4.2.1.7.13

FPT University

UC05-14: Reset Password

4.2.1.7.13.1 Screen design

Figure 4-141: Reset Password

4.2.1.7.13.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Forgot
password

Forgot
password

Text

N/A

Email
Address

Email Address

Field

50

Recover
Password

Recover
Password

Button

N/A

April-2015-SE Intake 7B

Description

430

TaxiNet Project | Project Final Report

Register

Register

FPT University

Link

N/A

N/A

4.2.1.7.13.3 Sequence diagram

4.2.1.8Web staf
4.2.1.8.1 Class diagram

Figure 4-142: Web staff class diagram

April-2015-SE Intake 7B

431

TaxiNet Project | Project Final Report

FPT University

4.2.1.8.2 UC06-01: Search Drivers


4.2.1.8.2.1

Screen design

Figure 4-143: Search Drivers

April-2015-SE Intake 7B

432

TaxiNet Project | Project Final Report

4.2.1.8.2.2

FPT University

Screen definition

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

From Date

From Date

TextBox

N/A

To Date

To Date

TextBox

N/A

Driver
Name

Driver Name

TextBox

30

Status

Status

Dropdo
wn

N/A

Refine
Driver

Refine Driver

Button

N/A

N/A

Show

Show

Text

10

Text

10

Account
Login

Account Login

Link

30

Driver
Name

Driver Name

Text

30

10

Company
Name

Company
Name

Text

N/A

50

11

Status

Status

Text

N/A

N/A

12

Register
Date

Register Date

Text

N/A

N/A

13

View
Detail

View Detail

Link

N/A

N/A

14

Previous

Previous

Button

N/A

N/A

15

Next

Next

Button

N/A

N/A

April-2015-SE Intake 7B

Description

433

TaxiNet Project | Project Final Report

4.2.1.8.2.3

FPT University

Sequence diagram

4.2.1.8.3 UC06-02: View Driver Information


4.2.1.8.3.1

Screen design

Figure 4-144: View Driver Information

4.2.1.8.3.2
No

Screen definition

Object/
Control

Object/
Control Name

April-2015-SE Intake 7B

Type

Required

Length

Description

434

TaxiNet Project | Project Final Report

FPT University

Name

in English

Company
Name

Company
Name

Text

50

Address

Address

Text

50

City

City

Text

N/A

20

Zip Code

Zip Code

Text

10

VAT
Number

VAT Number

Text

N/A

10

Phone
Number

Phone
Number

Text

N/A

Personal
Informatio
n

Personal
Information

Text

N/A

Image

Image

Text

N/A

Last Name

Last Name

Text

10

10

First Name

First Name

Text

20

11

Email
Address

Email Address

Link

30

12

Phone
Number

Phone
Number

Text

N/A

13

Language

Language

Text

N/A

20

14

Account
Informatio
n

Account
Information

Text

N/A

N/A

15

Account
Name

Account
Name

Link

N/A

30

16

Promotion
Code

Promotion
Code

Text

N/A

10

April-2015-SE Intake 7B

435

TaxiNet Project | Project Final Report

FPT University

17

B2 Driver's
Lisence

B2 Driver's
Lisence

Text

N/A

N/A

18

Status

Status

Text

N/A

N/A

19

Choose
File

Choose File

Button

N/A

20

Expiration
Date

Expiration
Date

Text

N/A

21

Exec
Qualificati
ons

Exec
Qualifications

Text

N/A

22

Status

Status

Text

23

Choose
File

Choose File

Button

N/A

24

Back

Back

Button

N/A

N/A

25

Accept

Accept

Button

N/A

N/A

26

Feedback

Feedback

Button

N/A

N/A

4.2.1.8.3.3

Sequence diagram

April-2015-SE Intake 7B

436

TaxiNet Project | Project Final Report

FPT University

4.2.1.8.4 UC06-03: Approve New Driver


4.2.1.8.4.1

Screen design

Figure 4-145: Approve New Driver

4.2.1.8.4.2

Screen definition

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Driver
license

Driver license

label

60

Qualificati
on

Qualification

label

50

Verify
license

Verify license

Button

N/A

N/A

Reject
license

Reject license

Button

N/A

N/A

Download
license

Download
license

Button

N/A

N/A

Verify
qualificatio

Verify

Button

N/A

N/A

April-2015-SE Intake 7B

Description

437

TaxiNet Project | Project Final Report

FPT University

qualification

Reject
qualificatio
n

Reject
qualification

Button

N/A

N/A

Download
qualificatio
n

Download
qualification

Button

N/A

N/A

VAT
Number

VAT Number

Button

N/A

N/A

10

Approve

Approve

Button

N/A

N/A

11

Back

Back

Button

N/A

N/A

12

Send
email

Send email

Button

N/A

N/A

4.2.1.8.4.3

Sequence diagram

April-2015-SE Intake 7B

438

TaxiNet Project | Project Final Report

FPT University

4.2.1.8.5 UC06-04: Search Company


4.2.1.8.5.1

Screen design

Figure 4-146: Search Company

4.2.1.8.5.2

Screen definition

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

From Date

From Date

Text

N/A

To Date

To Date

Text

N/A

Status

Status

Dropdo
wn

N/A

Filter
Company

Filter
Company

Button

N/A

N/A

Company
Name

Company
Name

Text

50

Show

Show

Text

10

April-2015-SE Intake 7B

Description

439

TaxiNet Project | Project Final Report

FPT University

Text

10

Account
Login

Account Login

Text

30

Company
Name

Company
Name

Text

50

10

Address

Address

Text

50

11

Status

Status

Text

N/A

12

Register
Date

Register Date

Text

N/A

13

View
Detail

View Detail

Link

N/A

14

Previous

Previous

Button

N/A

N/A

4.2.1.8.5.3

Sequence diagram

April-2015-SE Intake 7B

440

TaxiNet Project | Project Final Report

FPT University

4.2.1.8.6 UC06-05: View Company Information


4.2.1.8.6.1

Screen design

Figure 4-147: View Company Information

4.2.1.8.6.2

Screen definition

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Back

Back

Button

N/A

Accept

Accept

Button

N/A

Personal
Informatio
n

Personal
Information

Text

N/A

Last Name

Last Name

Text

N/A

20

First Name

First Name

Text

N/A

10

Email
Address

Email Address

Link

N/A

30

Drive

Drive License

Text

N/A

April-2015-SE Intake 7B

Description

441

TaxiNet Project | Project Final Report

FPT University

License
8

Phone
Number

Phone
Number

Text

N/A

Account
Informatio
n

Account
Information

Text

N/A

N/A

10

Language

Language

Text

N/A

20

11

User
Name

User Name

Link

30

12

Verhicle

Verhicle

Text

N/A

13

Verhicle
Name

Verhicle
Name

Text

N/A

14

Lisence

Lisence

Text

N/A

15

Year

Year

Text

N/A

16

Inspection
&
Registratio
n Date

Inspection &
Registration
Date

Text

N/A

4.2.1.8.6.3

Sequence diagram

April-2015-SE Intake 7B

442

TaxiNet Project | Project Final Report

FPT University

4.2.1.8.7 UC06-06: Approve New Company


4.2.1.8.7.1

Screen design

Figure 4-148: Approve New Company

4.2.1.8.7.2

Screen definition

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Back

Back

Button

N/A

Accept

Accept

Button

N/A

Personal
Informatio
n

Personal
Information

Text

N/A

Last Name

Last Name

Text

N/A

20

First Name

First Name

Text

N/A

10

April-2015-SE Intake 7B

Description

443

TaxiNet Project | Project Final Report

FPT University

Email
Address

Email Address

Link

N/A

30

Drive
License

Drive License

Text

N/A

Phone
Number

Phone
Number

Text

N/A

Account
Informatio
n

Account
Information

Text

N/A

N/A

10

Language

Language

Text

N/A

20

11

User
Name

User Name

Link

30

12

Verhicle

Verhicle

Text

N/A

13

Verhicle
Name

Verhicle
Name

Text

N/A

14

Lisence

Lisence

Text

N/A

15

Year

Year

Text

N/A

16

Inspection
&
Registratio
n Date

Inspection &
Registration
Date

Text

N/A

April-2015-SE Intake 7B

444

TaxiNet Project | Project Final Report

4.2.1.8.7.3

FPT University

Sequence diagram

4.2.1.8.8 UC06-07: Search Company Drivers


4.2.1.8.8.1

Screen design

Figure 4-149: Search Company Drivers

4.2.1.8.8.2
No

Screen definition

Object/

Object/

April-2015-SE Intake 7B

Type

Required

Length

Description
445

TaxiNet Project | Project Final Report

FPT University

Control
Name

Control Name
in English

Company
Drivers

Company
Drivers

Text

N/A

Status

Status

Field

N/A

Refine

Refine

Button

N/A

Text

10

Account

Account

Text

N/A

30

Name

Name

Text

10

Register
Date

Register Date

Text

N/A

Status

Status

Text

N/A

Verhicle

Verhicle

Text

20

4.2.1.8.8.3

Sequence diagram

April-2015-SE Intake 7B

446

TaxiNet Project | Project Final Report

FPT University

4.2.1.8.9 UC06-08: Display Companys Vehicles List


4.2.1.8.9.1

Screen design

Figure 4-150: Display Companys Vehicles List

4.2.1.8.9.2

Screen definition

No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Company
Drivers

Company
Drivers

Text

N/A

Status

Status

Field

N/A

Refine

Refine

Button

N/A

Text

10

Vehicles'
Name

Vehicles'
Name

Text

N/A

30

License
Plate

License Plate

Text

10

April-2015-SE Intake 7B

Description

447

TaxiNet Project | Project Final Report

FPT University

Year

Year

Text

Registratio
n

Registration

Text

Certificati
on

Text

4.2.1.8.9.3

Certification

Sequence diagram

April-2015-SE Intake 7B

448

TaxiNet Project | Project Final Report

4.2.1.8.10

FPT University

UC06-09: View Vehicle Details

4.2.1.8.10.1 Screen design

Figure 4-151: View Vehicle Details

4.2.1.8.10.2 Screen definition


No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Vehicle
Informatio
n

Vehicle
Information

Text

N/A

Vehicle
Type

Vehicle Type

Text

20

Year

Year

Text

N/A

Lisence

Lisence

Text

N/A

10

Interior
color

Interior color

Text

N/A

20

Exterior

Exterior color

Text

20

April-2015-SE Intake 7B

Description

449

TaxiNet Project | Project Final Report

FPT University

color
7

Status

Status

Text

N/A

Delete

Delete

Button

N/A

Insurance
Certificate

Insurance
Certificate

Text

N/A

10

Expiration
date

Expiration
date

Dropdo
wn

N/A

11

Status

Status

Text

N/A

12

Inspection
&
Registratio
n stamp

Inspection &
Registration
stamp

Text

N/A

13

Expiration
date

Expiration
date

Dropdo
wn

N/A

14

Status

Status

Text

N/A

15

Add

Add

Button

N/A

16

Taxi Level

Taxi Level

Label

N/A

17

Message

Message

Label

N/A

18

Accept

Accept

Button

N/A

19

Reject

Reject

Button

N/A

20

Back

Back

Button

N/A

21

OK

OK

Button

N/A

21

Send
Email

Send Email

Button

N/A

April-2015-SE Intake 7B

450

TaxiNet Project | Project Final Report

FPT University

4.2.1.8.10.3 Sequence diagram

4.2.1.8.11

UC06-10: Login

4.2.1.8.11.1 Screen design

Figure 4-152: Login

4.2.1.8.11.2 Screen description


No

Object/
Control
Name

Object/
Control Name
in English

April-2015-SE Intake 7B

Type

Required

Length

Description

451

TaxiNet Project | Project Final Report

FPT University

Login with
Facebook

Login with
Facebook

button

10

Email

Email

Text

50

Password

Password

Text

30

Login

Login

button

N/A

Forgot
Password

Forgot
Password

Hyperlin
k

N/A

Register

Register

Hyperlin
k

N/A

4.2.1.8.11.3 Sequence diagram

April-2015-SE Intake 7B

452

TaxiNet Project | Project Final Report

4.2.1.8.12

FPT University

UC06-11: Search Agent

4.2.1.8.12.1 Screen design

Figure 4-153: Search Agent

4.2.1.8.12.2 Screen definition


No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Agent List

Agent List

Text

N/A

From Date

From Date

TextBox

N/A

To Date

To Date

TexBox

N/A

Agent
Name

Agent Name

TexBox

50

Status

Status

Dropdo
wn

N/A

20

April-2015-SE Intake 7B

Description

453

TaxiNet Project | Project Final Report

FPT University

Refine

Refine

Button

N/A

N/A

Show

Show

Dropdo
wn

N/A

10

No

No

Text

N/A

Account
Login

Account Login

Hypelin
k

N/A

10

Agent
Name

Agent Name

Text

N/A

11

Address

Address

Text

N/A

12

Status

Status

Text

N/A

13

Register
Date

Register Date

Text

N/A

14

Account
Balance

Account
Balance

Text

N/A

15

View
Detail

View Detail

Hypelin
k

N/A

N/A

16

Previous

Previous

Button

N/A

17

Next

Next

Button

N/A

April-2015-SE Intake 7B

454

TaxiNet Project | Project Final Report

FPT University

4.2.1.8.12.3 Sequence diagram

April-2015-SE Intake 7B

455

TaxiNet Project | Project Final Report

4.2.1.8.13

FPT University

UC06-12: View Agent Information

4.2.1.8.13.1 Screen design

Figure 4-154: View Agent Information

4.2.1.8.13.2 Screen definition


No

Object/
Control
Name

Object/
Control Name
in English

April-2015-SE Intake 7B

Type

Required

Length

Description

456

TaxiNet Project | Project Final Report

FPT University

Agent
Informatio
n

Agent
Information

Text

N/A

Agent
Name

Agent Name

Text

N/A

Address

Address

Text

N/A

City

City

Dropdo
wn

N/A

Zip Code

Zip Code

Button

N/A

N/A

Phone
Number

Phone
Number

Text

N/A

VAT
Number

VAT Number

Text

N/A

Status

Status

Text

N/A

Represent
ative
Informatio
n

Representativ
e Information

Text

N/A

N/A

10

Last Name

Last Name

Text

N/A

11

First Name

First Name

Text

N/A

12

Email
Address

Email Address

Text

N/A

N/A

13

Phone
Number

Phone
Number

Text

N/A

N/A

14

Language

Language

Text

N/A

15

Account

Account

Text

N/A

16

Back

Back

Button

N/A

17

Accept

Accept

Button

N/A

April-2015-SE Intake 7B

457

TaxiNet Project | Project Final Report

FPT University

18

Send
Email

Send Email

Button

N/A

19

Bank
Account

Bank Account

Text

N/A

20

Bank
Name

Bank Name

Text

N/A

21

Receive
Rate

Receive Rate

Text

4.2.1.8.13.3 Sequence diagram

April-2015-SE Intake 7B

458

TaxiNet Project | Project Final Report

4.2.1.8.14

FPT University

UC06-13: Approve New Agent

4.2.1.8.14.1 Screen design

Figure 4-155: Approve New Agent

4.2.1.8.14.2 Screen definition


No

Object/
Control
Name

Object/
Control Name
in English

April-2015-SE Intake 7B

Type

Required

Length

Description

459

TaxiNet Project | Project Final Report

FPT University

Agent
Informatio
n

Agent
Information

Text

N/A

Agent
Name

Agent Name

Text

N/A

Address

Address

Text

N/A

City

City

Dropdo
wn

N/A

Zip Code

Zip Code

Button

N/A

N/A

Phone
Number

Phone
Number

Text

N/A

VAT
Number

VAT Number

Text

N/A

Status

Status

Text

N/A

Represent
ative
Informatio
n

Representativ
e Information

Text

N/A

N/A

10

Last Name

Last Name

Text

N/A

11

First Name

First Name

Text

N/A

12

Email
Address

Email Address

Text

N/A

N/A

13

Phone
Number

Phone
Number

Text

N/A

N/A

14

Language

Language

Text

N/A

15

Account

Account

Text

N/A

16

Back

Back

Button

N/A

17

Accept

Accept

Button

N/A

April-2015-SE Intake 7B

460

TaxiNet Project | Project Final Report

FPT University

18

Send
Email

Send Email

Button

N/A

19

Bank
Account

Bank Account

Text

N/A

20

Bank
Name

Bank Name

Text

N/A

21

Receive
Rate

Receive Rate

Text

4.2.1.8.14.3 Sequence diagram

April-2015-SE Intake 7B

461

TaxiNet Project | Project Final Report

4.2.1.8.15

FPT University

UC06-14: View Agent Dashboard Information

4.2.1.8.15.1 Screen design

Figure 4-156: View Agent Dashboard Information

4.2.1.8.15.2 Screen definition


No

Object/
Control
Name

Object/
Control Name
in English

Type

Required

Length

Dashboard

Dashboard

Text

N/A

Show

Show

Dropdo
wn

10

Year

Year

TextBox

Text

10

Category

Category

Text

N/A

30

VND

VND

Text

April-2015-SE Intake 7B

Description

Currency

462

TaxiNet Project | Project Final Report

FPT University

4.2.1.8.15.3 Sequence diagram

April-2015-SE Intake 7B

463

TaxiNet Project | Project Final Report

FPT University

4.2.2 Driver mobile application


4.2.2.1Common design
4.2.2.1.1 Class diagram

Figure 4-157: Class diagram- Common design

April-2015-SE Intake 7B

464

TaxiNet Project | Project Final Report

FPT University

4.2.2.1.2 Utilities

Name

Description

Constants.java

Describe all Constant Strings use in


Driver Mobile Application

CustomDateTimePicker.java

Custom display when user pick Date,


Time

ObjectEncoder.java

Encode data before sending to server

PlaceProvider.java

Provide Place base on Google Place


API

PlaceDetailJSONParser.java

Parse JSON Place Detail from Google


Place API

PlaceJSONParser.java

Parse JSON Place from Google Place


API

AlertDialogManager.java

Contain all Alert Dialog in Driver


Mobile Application

HandlerMessageReceiver.java

Handle all Promotion Trip Notification


from GcmIntentService

GcmIntentService.java

Handle all Promotion Trip Notification


from Google Cloud Message

WakeLocker.java

Light up the screen

Utils.java

Contain lots of public functions use in


Driver Mobile Application

DirectionsJSONParser.java

Draw Direction on Google Map

AppController.java

Contain all Global variable use in


Driver Mobile Application

DatabaseHandler.java

Control Database offline on Driver


Mobile Application

April-2015-SE Intake 7B

465

TaxiNet Project | Project Final Report

FPT University

4.2.2.2Profile Management
4.2.2.2.1 Class Diagram

April-2015-SE Intake 7B

466

TaxiNet Project | Project Final Report

FPT University

Figure 4-158: Profile management class diagram

4.2.2.2.2 Class Description


4.2.2.2.2.1

HomeAddressActivity

Class

HomeAddressActivity

Description

Pick Home Address of Driver

Base Class

newactivity

Constructor

N/A

Prototype

N/A

April-2015-SE Intake 7B

467

TaxiNet Project | Project Final Report

FPT University

Source File

HomeAddressActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mGoogleMap, mContext,

Methods
Name

4.2.2.2.2.2

Input

Output

Description

initializeMa
p

Void

Initialize
Google Map

setupSearc
hView

Void

Modify the
PickAddressActi
vity screen

onCreate

Void

Override from
Activity extend

changeHo
meAddess

Void

Pick address on
Google Map
and send to
Server

ChangeHomeAddressBO

ChangeHomeAddressBO

Class

Description

ChangeHomeAddress BO

Base Class

bo

Constructor

N/A

Prototype

N/A

Source File

ChangeHomeAddressBO.java

Namespace

vn.co.TaxiNet.mobile

April-2015-SE Intake 7B

468

TaxiNet Project | Project Final Report

Attributes

FPT University

Activity, address,

Methods
Name

execute

4.2.2.2.2.3

Input

country,
city,
address,
lat,lng, id

Output

Void

Description

Send request to
Server and
receive
response

ProfileActivity

ProfileActivity

Class

Description

Manage Drivers Profile

Base Class

newactivity

Constructor

N/A

Prototype

N/A

Source File

ProfileActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

Bo, email, phone,

Methods
Name

Input

Output

Initialize
Void

April-2015-SE Intake 7B

Description

Initialize
Activity

updateProfi
le

Void

Update Profiles
change

changePass

Void

Change

469

TaxiNet Project | Project Final Report

FPT University

word

4.2.2.2.2.4

password

pickHomeA
ddress

Void

Pick home
address on
Google Map

Logout

Void

Logout

ProfileBO

ProfileBO

Class

Description

Drivers Profile BO

Base Class

bo

Constructor

N/A

Prototype

N/A

Source File

ProfileBO.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mContext, handler, driver,

Methods
Name

checkProfile

updateAddr
ess

April-2015-SE Intake 7B

Input

firstName,
lastName,
email,
phone

Output

Description

String

Check
Validation of
Information
then send to
server

Void

Update Profiles
change

470

TaxiNet Project | Project Final Report

4.2.2.2.2.5

FPT University

changePass
word

Void

Change
password

pickHomeAd
dress

Void

Pick home
address on
Google Map

Logout

Void

Logout

SupportActivity

SupportActivity

Class

Description

Support user

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

SupportActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mContext, subject, content,

Methods

Name

Input

Output

Description

sendEmail

View

Void

Send email to
Supporter

call

View

Void

Call to
Supporter

4.2.2.2.2.6

SupportBO

April-2015-SE Intake 7B

471

TaxiNet Project | Project Final Report

FPT University

Class

SupportBO

Description

Support user BO

Base Class

bo

Constructor

N/A

Prototype

N/A

Source File

SupportBO.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mContext, subject, content,

Methods

Name

Input

Output

Description

checkInfo

Object,
content

Void

Check Infor
Validation then
send to Server

4.2.2.2.2.7

ChangePasswordActivity

Class

ChangePasswordActivity

Description

Change Drivers Password

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

ChangePasswordActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mOldPassword, mNewPassword,

Methods

Name

April-2015-SE Intake 7B

Input

Output

Description

472

TaxiNet Project | Project Final Report

changePass
word

4.2.2.2.2.8

View

FPT University

Void

Check Infor
Validation then
send to
ChangePasswor
dBO

ChangePasswordBO

Class

ChangePasswordBO

Description

Change Drivers Password BO

Base Class

bo

Constructor

N/A

Prototype

N/A

Source File

ChangePasswordActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

driverid, mOldPassword, mNewPassword,

Methods

Name
execute

4.2.2.2.2.9

Input

Output

Description

Void

Send Infor to
Server and
receive
response

LogoutBO

Class

LogoutBO

Description

Logout

Base Class

bo

April-2015-SE Intake 7B

473

TaxiNet Project | Project Final Report

Constructor

N/A

Prototype

N/A

Source File

LogoutBO.java

Namespace

vn.co.TaxiNet.mobile

Attributes

Activity, handler,

Methods

Name

Input

execute

FPT University

Output

Description

Void

Send logout
request to
Server and
receive
response

4.2.2.2.2.10 LoginActivity

Class

LoginActivity

Description

Login to Driver Mobile Application

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

LoginActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mEmail,mPassword,

Methods

Name

Input

Output

Description

Login

View

Void

Send Infor to
LoginBO

April-2015-SE Intake 7B

474

TaxiNet Project | Project Final Report

FPT University

4.2.2.2.2.11 LoginBO

Class

LoginBO

Description

Login BO

Base Class

bo

Constructor

N/A

Prototype

N/A

Source File

LoginBO.java

Namespace

vn.co.TaxiNet.mobile

Attributes

account, password,

Methods

Name

Input

Output

Description

checkLoginI
nfor

Activity,
account,
password

Void

Check Infor
Validation then
send login
request to
Server and
receive
response

4.2.2.2.2.12 ForgotPasswordActivity

Class

ForgotPasswordActivity

Description

Use when user forgot their password and want to get


it back

Base Class

Activity

Constructor

N/A

Prototype

N/A

April-2015-SE Intake 7B

475

TaxiNet Project | Project Final Report

FPT University

Source File

ForgotPasswordActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mInfo, mContext,

Methods

Name

Input

Output

Description

getPassword

View

Void

Send Infor to
ForgotPassword
BO

4.2.2.2.2.13 ForgotPasswordBO

Class

ForgotPasswordBO

Description

ForgotPassword BO

Base Class

bo

Constructor

N/A

Prototype

N/A

Source File

ForgotPasswordBO.java

Namespace

vn.co.TaxiNet.mobile

Attributes

email, context,

Methods

Name

Input

Output

Description

checkInfo

email

Void

Check Infor
Validation then
send request to
Server and
receive
response

April-2015-SE Intake 7B

476

TaxiNet Project | Project Final Report

FPT University

4.2.2.2.2.14 MapActivity

Class

MapActivity

Description

Display GoogleMap and Drivers current position

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

MapActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

googleMap, updateTripBO, updateCurrentStatusBo,

Methods

Name

Output

Description

initializeMap

Void

Display
GoogleMap and
Driver current
Position

createSlide
Menu

Void

Create Slide
Menu on Driver
Mobile
Application

startLocatio
nUpdate

Void

Update location

stopLocatio
nUpdate

Void

Stop uddating
location

showNotific
ation

Void

Show
Notification
when a rider
send request

April-2015-SE Intake 7B

Input

477

TaxiNet Project | Project Final Report

FPT University

4.2.2.2.2.15 UpdateCurrentStatusBO

Class

UpdateCurrentStatusBO

Description

UpdateCurrentStatusBO

Base Class

bo

Constructor

N/A

Prototype

N/A

Source File

UpdateCurrentStatusBO.java

Namespace

vn.co.TaxiNet.mobile

Attributes

driverId, lat,lng, location

Methods

Name

Input

Output

Description

execute

driverId,
lat,lng,
location

Void

send update
current status
request to
Server and
receive
response

4.2.2.2.2.16 DatabaseHandler

Class

DatabaseHandler

Description

Control Database Offline of Driver Mobile Application

Base Class

database

Constructor

N/A

Prototype

N/A

Source File

DatabaseHandler.java

April-2015-SE Intake 7B

478

TaxiNet Project | Project Final Report

FPT University

Namespace

vn.co.TaxiNet.mobile

Attributes

trip, promotionTrip, driver,

Methods

Name

Input

Output

Description

onCreate

db

Void

Create all Table


in DB

addDriver

driver

Void

Add driver to
Driver Table

driver

Get driver in
DB

Void

Update drivers
information in
DB

Void

Delete driver in
DB

Void

Add a trip to
DB

findDriver

updateDrive
r

driver

deleteDriver

addTrip

trip

4.2.2.2.2.17 Driver Controller

Refer to Driver Controler


4.2.2.2.2.18 Utils

Class

Utils

April-2015-SE Intake 7B

479

TaxiNet Project | Project Final Report

FPT University

Description

Contain public functions use in Driver Mobile


Application

Base Class

utils

Constructor

N/A

Prototype

N/A

Source File

Utils.java

Namespace

vn.co.TaxiNet.mobile

Attributes

patern, matcher,

Methods

Name

Input

Output

Description

displayMess
age

Context,
message

Void

Display
message
received from
Server

displayRequ
est

Context,
riderImage,
ridername,
longitude,
latitude

Void

Display request
received from
Server

isConnectin
gToInternet

boolean

Check if
Application is
connecting to
Internet

getDateTim
e

Void

Get Date, Time

HashMa
p<Strin
g,
String>

Return place
information

getAddress

April-2015-SE Intake 7B

longitude,
latitude

480

TaxiNet Project | Project Final Report

FPT University

4.2.2.2.3 Login on Driver Mobile Application


4.2.2.2.3.1

Screen design

Figure 4-159: Login

Table 4-57: Login Screen

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

Email

Email

EditText

N/A

Email to
login

April-2015-SE Intake 7B

481

TaxiNet Project | Project Final Report

FPT University

Password

Password

EditText

N/A

Password to
login

ng nhp

Login

Button

N/A

Click Login
button to
login

Qun mt
khu

Forgot
Password

Button

N/A

Click if you
forgot your
password

T-Net

T-Net

TextView

N/A

Name of
Application

4.2.2.2.3.2

Sequence Diagram

Figure 4-160: Driver Login Sequence Diagram

April-2015-SE Intake 7B

482

TaxiNet Project | Project Final Report

FPT University

4.2.2.2.4 Logout on Driver Mobile Application


4.2.2.2.4.1

Screen Design

Table 4-58: Logout screen description

No

Object/
Control
Name

Object/
Control
Name in
English

ng xut

2
3

Figure 4-161: Logout

Type

Required

Lengt
h

Description

Logout

Title

N/A

Title of
Dialog

Ni dung

Content

TextView

N/A

Content of
message

Hy

Cancel

Button

N/A

Click to

April-2015-SE Intake 7B

483

TaxiNet Project | Project Final Report

FPT University

cancel logout
4

Chp nhn

4.2.2.2.4.2

OK

Button

N/A

Click to
logout

Sequence Diagram

Figure 4-162: Logout sequence diagram

4.2.2.2.5 View Driver Profile


4.2.2.2.5.1

Screen Design

April-2015-SE Intake 7B

484

Figure 4-163: Driver Profile

TaxiNet Project | Project Final Report

FPT University

Table 4-59: Driver profile description

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Require
d

Length

Description

Tn

First name

EditText

N/A

Drivers first
name

Tn m

Last name

EditText

N/A

Drivers last
name

T-Net

T-Net

TextView

N/A

Name of
Application

Ti khon

Account

TextView

N/A

Information
of profile

Biu tng
Email

Email icon

Icon

N/A

Email icon

Email

Email

EditText

N/A

Drivers
email

Biu tng
s in
thoi

Phone
number icon

Icon

N/A

Phone
number icon

S in
thoi

Phone
Number

EditText

N/A

Drivers
phone
number

Biu tng
s d ti
khon

Balance icon

Icon

N/A

Balance icon

10

S d ti
khon

Balance

EditText

N/A

Drivers
balance

11

Ngn ng

Language

N/A

Language
user want to

April-2015-SE Intake 7B

485

TaxiNet Project | Project Final Report

FPT University

be displayed
12

i mt
khu

Change
Password

Button

N/A

Change
current
password

13

a im
thng
dng

Usual Place

TextView

N/A

The place
driver
usually use

14

a ch
nh

Home
address

TextView

N/A

Drivers
home
address

15

Thng tin
cng ty

Company
infnormation

Button

N/A

Drivers
company
information

16

Sa

Edit

Button

N/A

Edit Profile

17

ng xut

Logout

Button

N/A

Logout this
account,
back to login
screen

4.2.2.2.5.2

Sequence Diagram

April-2015-SE Intake 7B

486

TaxiNet Project | Project Final Report

FPT University

Figure 4-164: Driver Logout sequence diagram

4.2.2.2.6 Edit Driver Profile


4.2.2.2.6.1

Screen Design

Figure 4-165: Edit Profile


Table
4-60: Edit Profile screen description
Screen

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

Tn

First name

EditText

N/A

Drivers first
name

Tn m

Last name

EditText

N/A

Drivers last
name

T-Net

T-Net

TextView

N/A

Name of

April-2015-SE Intake 7B

487

TaxiNet Project | Project Final Report

FPT University

Application
4

Ti khon

Account

TextView

N/A

Information
of profile

Biu tng
Email

Email icon

Icon

N/A

Email icon

Email

Email

EditText

N/A

Drivers
email

Biu tng
s in
thoi

Phone
number icon

Icon

N/A

Phone
number icon

S in
thoi

Phone
Number

EditText

N/A

Drivers
phone
number

Lu

Save

Button

N/A

Save
information

10

Hy

Cancel

Button

N/A

Cancel, no
change
information

April-2015-SE Intake 7B

488

TaxiNet Project | Project Final Report

4.2.2.2.6.2

FPT University

Sequence Diagram

Figure 4-166: Driver Edit Profile sequence diagram

4.2.2.2.7 Change Password


4.2.2.2.7.1

Screen Design

April-2015-SE Intake 7B

489

TaxiNet Project | Project Final Report

FPT University

Figure
Change
Table 4-167:
4-61: Logout
screen description
Password Screen

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

Mt khu
c

Old Password

EditText

N/A

Drivers
current
password

Mt khu
mi

New
Password

EditText

N/A

Drivers new
password

Nhp li
mt khu

Confirm
Password

EditText

N/A

Drivers new
password

i mt
khu

Change
Password

Button

N/A

Change
password

T-Net

T-Net

TextView

N/A

Name of
Application

4.2.2.2.7.2

Sequence Diagram

April-2015-SE Intake 7B

490

TaxiNet Project | Project Final Report

FPT University

Figure 4-168: Change Password sequence diagram

4.2.2.2.8 Forgot Password


4.2.2.2.8.1

Screen Design

April-2015-SE Intake 7B

491

TaxiNet Project | Project Final Report

FPT University

Table 4-169:
4-62: Logout
screen description
Figure
Reset Password
Screen

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

Email

Email

EditText

N/A

Drivers
current email

To mt
khu mi

Reset
Password

Button

N/A

Reset
password

T-Net

T-Net

TextView

N/A

Name of
Application

4.2.2.2.8.2

Sequence Diagram

Figure 4-170: Forgot Password sequence diagram

April-2015-SE Intake 7B

492

TaxiNet Project | Project Final Report

FPT University

4.2.2.3Company Info
4.2.2.3.1 Class Diagram

Figure 4-171: Company class diagram

4.2.2.3.2 Class Description


4.2.2.3.2.1

CompanyActivity

Class

Description
April-2015-SE Intake 7B

CompanyActivity

Company info
493

TaxiNet Project | Project Final Report

FPT University

Base Class

newactivity

Constructor

N/A

Prototype

N/A

Source File

CompanyActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

company, companyInfo, mContext,

Methods
Name

4.2.2.3.2.2

Input

Output

Description

onCreate

Void

Override from
Activity extend

initialize

Void

Define
Component

Output

Description

CompanyBO

Class

CompanyBO

Description

Company info BO

Base Class

bo

Constructor

N/A

Prototype

N/A

Source File

CompanyActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

id, companyInfo,

Methods

Name

April-2015-SE Intake 7B

Input

494

TaxiNet Project | Project Final Report

FPT University

execute

id

Void

Send request to
Server

parsejson

respon
se

Void

Receive data
from Server

4.2.2.3.3 View Company Info


4.2.2.3.3.1

Screen Design

Figure 4-172: Company Info


Screen
Table 4-63: Company Info screen description

April-2015-SE Intake 7B

495

No Object/
TaxiNet
Project
Control
Name

Object/
Type
|Control
Project Final Report
Name in
English

Required

Lengt
h

Description
FPT University

Biu tng
cng ty

Company
icon

Icon

N/A

Company
icon

Tiu
tn cng
ty

Company
label

TextView

N/A

Company
label

Tn cng
ty

Company

TextView

N/A

Company

Biu tng
a ch
cng ty

Address icon

Icon

N/A

Address icon

Tiu a
ch cng ty

Address label

TextView

N/A

Address label

a ch
cng ty

Address

TextView

N/A

Address

Biu tng
thnh ph

City icon

Icon

N/A

City icon

Tiu
thnh ph

City label

TextView

N/A

City label

Thnh ph

City

TextView

N/A

City

10

Biu tng
Zip Code

Zip Code
icon

Icon

N/A

Zip Code
icon

11

Tiu
Zip Code

Zip Code
label

TextView

N/A

Zip Code
label

12

Zip Code

Zip Code

TextView

N/A

Zip Code

13

Biu tng
VAT

VAT icon

Icon

N/A

VAT icon

14

Tiu
VAT

VAT label

TextView

N/A

VAT label

15

VAT

VAT

TextView

N/A

VAT

16

Biu tng
s in
thoi

Phone
number icon

Icon

N/A

Phone
number icon

April-2015-SE
Intake
7B
17
Tiu S
Phone
in thoi
number label

TextView

N/A

Phone
number label

18

TextView

N/A

Phone
number

S in
thoi

Phone
number

496

TaxiNet Project | Project Final Report

4.2.2.3.3.2

FPT University

Sequence Diagram

Figure 4-173: View company info sequence diagram

April-2015-SE Intake 7B

497

TaxiNet Project | Project Final Report

FPT University

4.2.2.4Payment
4.2.2.4.1 Class Diagram

Figure 4-174: Payment class diagram

4.2.2.4.2 Class Description


4.2.2.4.2.1

PaymentActivity

Class

Description

April-2015-SE Intake 7B

PaymentActivity

Payment

498

TaxiNet Project | Project Final Report

FPT University

Base Class

newactivity

Constructor

N/A

Prototype

N/A

Source File

PaymentyActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

listPayment, mAdapter, handler

Methods
Name

4.2.2.4.2.2

Input

Output

Description

onCreate

Void

Override from
Activity extend

initialize

Void

Define
Component

GetPaymentBO

Class

GetPaymentBO

Description

Get Payment Infor

Base Class

newactivity

Constructor

N/A

Prototype

N/A

Source File

PaymentyActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

Pd, showPregressDialog,

Methods
Name

April-2015-SE Intake 7B

Input

Output

Description

499

TaxiNet Project | Project Final Report

4.2.2.4.2.3

FPT University

execute

Void

Send request to
server

parseJson

Void

Receive
Payment type
from server

PaymentBO

Class

PaymentBO

Description

Payment BO

Base Class

newactivity

Constructor

N/A

Prototype

N/A

Source File

PaymentyActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

Pd, showPregressDialog,

Methods
Name

4.2.2.4.2.4

Input

Output

Description

execute

Void

Send Payment
quest to Server
to complete
trip

parseJson

Void

Receive data
responsefrom
server

Payment Adater

April-2015-SE Intake 7B

500

TaxiNet Project | Project Final Report

FPT University

Class

PaymentAdapter

Description

Payment Adapter

Base Class

Adapter

Constructor

N/A

Prototype

N/A

Source File

PaymentAdapter.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mContext, listPayment, handler

Methods
Name

4.2.2.4.2.5

Input

Output

Description

generateVi
ew

Positio
n,
parent

View

Define
components

fillValues,
convertVie
w

Positio
n,

Void

Fill data to
components

DeletePaymentBO

Class

DeletePaymentBO

Description

Delete Payment

Base Class

bo

Constructor

N/A

Prototype

N/A

Source File

PaymentAdapter.java

April-2015-SE Intake 7B

501

TaxiNet Project | Project Final Report

FPT University

Namespace

vn.co.TaxiNet.mobile

Attributes

mContext, listPayment, handler

Methods
Name

Input

Output

Description

execute

View

Send delete
payment
request to
Server

parseJson

Void

Receive data
from Server

4.2.2.4.3 Payment Activity


4.2.2.4.3.1

Screen Design

Figure 4-175: Payment Screen

April-2015-SE Intake 7B

502

TaxiNet Project | Project Final Report

FPT University

Table 4-64: Company Info screen description

April-2015-SE Intake 7B

503

No

Object/
Control
Name
TaxiNet Project

Object/
Type
Control
Name in
| Project Final Report
English

Required

Biu tng
khong
cch

Distance icon

Icon

N/A

Distance icon

Tiu
khong
cch

Distance
label

TextView

N/A

Distance
label

Khong
cch

Distance

TextView

N/A

Distance

Biu tng
chi ph

Fee icon

Icon

N/A

Fee icon

Tiu chi
ph

Fee label

TextView

N/A

Fee label

Chi ph

Fee

TextView

N/A

Fee

Biu tng
a im
bt u

From icon

Icon

N/A

From icon

Tiu a
im bt
u

From label

TextView

N/A

From label

a im
bt u

From

TextView

N/A

From

10

Biu tng
a im
kt thc

To icon

Icon

N/A

To icon

11

Tiu a
im kt
thc

To label

TextView

N/A

To label

12

a im
kt thc

To

TextView

N/A

To

13

Biu tng
hnh thc
thanh ton

Payment
type icon

Icon

N/A

Payment
type icon

14

Tiu
hnh thc
thanh ton

Payment
type label

TextView

N/A

Payment
type label

April-2015-SE
7B
15
Hnh thcIntake
Payment
thanh ton type

TextView

N/A

Payment
type

16

Button

N/A

Pay

Thanh
ton

Pay

Lengt
h

Description
FPT University

504

TaxiNet Project | Project Final Report

4.2.2.4.3.2

FPT University

Sequence Diagram

Figure 4-176: View payment sequence diagram

April-2015-SE Intake 7B

505

TaxiNet Project | Project Final Report

FPT University

4.2.2.5Trip management
4.2.2.5.1 Class Diagram

April-2015-SE Intake 7B

506

TaxiNet Project | Project Final Report

April-2015-SE Intake 7B

FPT University

507

TaxiNet Project | Project Final Report

FPT University

Figure 4-177: Trip management class diagram

4.2.2.5.2 Class Description


4.2.2.5.2.1

PaymentActivity

Refer to 4.2.2.4.2.1
4.2.2.5.2.2

PaymentBO

Refer to 4.2.2.4.2.3
4.2.2.5.2.3

MapActivity

Refer to 4.2.2.2.2.14
4.2.2.5.2.4

UpdateTripBO

Class

UpdateTripBO

Description

Update Trip Status

Base Class

bo

Constructor

N/A

Prototype

N/A

Source File

MapActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

requestID, userID, status,

Methods

Name
execute

April-2015-SE Intake 7B

Input

Output

Description

Void

Send update
trip dtatus
request to
server
508

TaxiNet Project | Project Final Report

parseJson

4.2.2.5.2.5

respon
se

Void

Receive data
response from
server

Output

Description

Void

Define
components

TripHistoryActivity

Class

TripHistoryActivity

Description

Trip completed history

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

TripHistoryActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

handler, list,

Methods

Name

Input

Initialize

4.2.2.5.2.6

FPT University

GetTripHistoryBO

Class

GetTripHistoryBO

Description

Get Trip completed history BO

Base Class

bo

Constructor

N/A

Prototype

N/A

Source File

TripHistoryActivity.java

April-2015-SE Intake 7B

509

TaxiNet Project | Project Final Report

Namespace

vn.co.TaxiNet.mobile

Attributes

driverID

Methods

Name

Input

execute

parseJson

4.2.2.5.2.7

respon
se

FPT University

Output

Description

Void

Send
getListTrip
request to
Server

Void

Receive data
response from
Server

MyTripAdater

Class

MyTripAdapter

Description

Setup Trip View

Base Class

Adapter

Constructor

N/A

Prototype

N/A

Source File

MyTripAdapter.java

Namespace

vn.co.TaxiNet.mobile

Attributes

activity, list,

Methods

Name

Input

Output

Description

getView

Positio
n,
convert
View,
parent

Void

Get information
then display

April-2015-SE Intake 7B

510

TaxiNet Project | Project Final Report

updateListT
rip

4.2.2.5.2.8

FPT University

List<Tri
p>

GetListtrip from
Database
Offline

TripHistoryDetailActivity

Class

TripHistoryDetailActivity

Description

Trip detail

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

TripHistoryDetailActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

trip, actionBar,

Methods

Name

Output

Description

Initialize

Void

Define
components

onDestroy

Void

Override from
Activity extend

Void

Add Vip rider

addVipRide
r

Input

rider

4.2.2.5.3 Receive trip request


4.2.2.5.3.1

Screen Design

April-2015-SE Intake 7B

511

TaxiNet Project | Project Final Report

FPT University

Figure 4-178: Receive trip


request
Table 4-65: Company Info screen description

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Marker

Marker

Google
Marker

N/A

Position of
rider who
send reuest

Tn khch
hng

Riders name

TextView

N/A

Riders name

S in
thoi

Riders
Phone
Number

TextView

N/A

Riders
Phone
Number

Chp nhn

Accept

Button

N/A

Accept
request

Hy

Cancel

Button

N/A

Cancel
request

Picked

Button

N/A

Change Trip
status to
picked

April-2015-SE Intake 7B

512

TaxiNet Project | Project Final Report

4.2.2.5.3.2

FPT University

Sequence Diagram

Figure 4-179: Receive Trip request sequence diagram

4.2.2.5.4 Trip History Activity

4.2.2.5.4.1

Screen Design

April-2015-SE Intake 7B

513

TaxiNet Project | Project Final Report

FPT University

Figure 4-180: Trip History


Screen
Table 4-66: Company Info screen description

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Tn khch
hng

Riders name

TextView

N/A

Riders name

Biu tng
a im
bt u

From address
icon

Icon

N/A

From icon

Tiu a
im bt
u

From address
label

TextView

N/A

From label

a im
bt u

From address

TextView

N/A

From

Biu tng
a im
kt thc

To address
icon

Icon

N/A

To icon

Tiu a
im kt
thc

To address
label

TextView

N/A

To label

a im
kt thc

To address

TextView

N/A

To

Button

N/A

Update List
trip history

9
Cp nht
Update
April-2015-SE Intake 7B

514

TaxiNet Project | Project Final Report

4.2.2.5.4.2

FPT University

Sequence Diagram

Figure 4-181: Trip History sequence diagram

4.2.2.5.5 Trip History Detail Activity


4.2.2.5.5.1

Screen Design

April-2015-SE Intake 7B

515

TaxiNet Project | Project Final Report

FPT University

Figure 4-182: Trip History


Detail Screen
Table 4-67: Company Info screen description

April-2015-SE Intake 7B

516

TaxiNet Project | Project Final Report

FPT University

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Thi gian
chuyn i
bt u

Start time

TextView

N/A

Start time

Trng thi
chuyn i

Status

TextView

N/A

Trip status

Biu tng
a im
bt u

From address
icon

Icon

N/A

From address
icon

Tiu a
im bt
u

From address
label

TextView

N/A

From address
label

a im
bt u

From address

TextView

N/A

From address

Biu tng
a im
kt thc

To address
icon

Icon

N/A

To address
icon

Tiu a
im kt
thc

To address
label

TextView

N/A

To address
label

a im
kt thc

To address

TextView

N/A

To address

S in
thoi

Phone
number

TextView

N/A

Phone
number

10

Gi

Fee

TextView

N/A

Fee

11

Hnh thc
thanh ton

Payment
Type

TextView

N/A

Payment
Type

12 Ngy khi
Start Time
April-2015-SE
Intake 7B
hnh

TextView

N/A

Start Time

13

TextView

N/A

End Time

Ngy kt
thc

End Time

517

TaxiNet Project | Project Final Report

4.2.2.5.5.2

FPT University

Sequence Diagram

Figure 4-183: View Trip Detail sequence diagram

April-2015-SE Intake 7B

518

TaxiNet Project | Project Final Report

FPT University

4.2.2.6Promotion Trip management


4.2.2.6.1 Class Diagram

April-2015-SE Intake 7B

519

TaxiNet Project | Project Final Report

FPT University

Figure 4-184: Promotion Trip management class diagram

4.2.2.6.2 Class Description


4.2.2.6.2.1

PickAddressActivity

Class

PromotionTripActivity

Description

Create a new Promotion Trip

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

PickAddressActivity.java

Namespace

vn.co.TaxiNet.mobile

April-2015-SE Intake 7B

520

TaxiNet Project | Project Final Report

FPT University

Attributes

mGoogleMap, promotionTrip, process,

Methods

Name

4.2.2.6.2.2

Input

Output

Description

initializeMa
p

Void

Display Google
Map on screen

Process1

Void

Pick Start Point

Process2

Void

Pick End Point

Process3

Void

Input other
information(cap
acity, time,
cost)

Pick

Void

Send request to
Server

PromotionTripActivity

Class

PromotionTripActivity

Description

Get List Created Promotion Trip

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

PromotionTripActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

handler, mAdapter, bo,

Methods

Name

April-2015-SE Intake 7B

Input

Output

Description

521

TaxiNet Project | Project Final Report

OnCreate

Void

Override from
Activity extend

Initialize

Void

Define
Component

List<Pro
motionT
rip>

Get List
Promotion Trip

getListPro
motionTrip

4.2.2.6.2.3

FPT University

driverI
D

PromotionTripRidersActivity

Class

PromotionTripActivity

Description

Get List Created Promotion Trip

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

PromotionTripRidersActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

handler, mAdapter, bo,

Methods

Name

Output

Description

OnCreate

Void

Override from
Activity extend

Initialize

Void

Define
Component

List<Rid
er>

Get List
Promotion Trip

getListPro
motionTrip
Riders

April-2015-SE Intake 7B

Input

promot
iontripI
D

522

TaxiNet Project | Project Final Report

FPT University

4.2.2.6.3 Create Promotion Trip


4.2.2.6.3.1

Screen Design

Table 4-68: Register Promotion trip description


Figure 4-185: Create
Promotion Trip

April-2015-SE Intake 7B

523

TaxiNet Project | Project Final Report

FPT University

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Nhp a
im

Enter place

SearchVi
ew

N/A

Enter place
here, place
suggestion
will be
displayed

Chn im
n

Choose Pick
up here

TextView

N/A

Choose Pick
up point

n ti
y

Pick up here

Button

N/A

Pick Pick up
point

Chn im
dng

Choose end
point here

TextView

N/A

Choose end
point

Dng ti
y

Stop here

Button

N/A

Pick Stop
up point

S ch
ngi

Number of
rider

EditText

N/A

Number of
rider can
register in
this
promotion
trip

Gi

Cost

EditText

N/A

Cost

Thi gian

Time

DateTim
ePicker

N/A

Time when
promotion
trip starts

10

Hon
thnh
ng k

Complete
Register

Button

N/A

Register
promotion
trip

April-2015-SE Intake 7B

524

TaxiNet Project | Project Final Report

4.2.2.6.3.2

FPT University

Sequence Diagram

Figure 4-186: Create Promotion Trip sequence diagram

April-2015-SE Intake 7B

525

TaxiNet Project | Project Final Report

FPT University

4.2.2.6.4 List Promotion trip


4.2.2.6.4.1

Screen Design

Figure 4-187: List Promotion Trip


Screen
Table 4-69: Register Promotion trip description

April-2015-SE Intake 7B

526

TaxiNet Project | Project Final Report

No

FPT University

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Biu tng
a im
bt u

From address
icon

Icon

N/A

From icon

a im
bt u

From address

TextView

N/A

From

Biu tng
a im
kt thc

To address
icon

Icon

N/A

To icon

a im
kt thc

To address

TextView

N/A

To

Thi gian

Time

TextView

N/A

Time when
promotion
trip starts

Cp nht

Update

Button

N/A

Reload page

Trng thi

Status

TextView

N/A

Status of
promotion
Trip

4.2.2.6.4.2
Se

quence Diagram

April-2015-SE Intake 7B

527

TaxiNet Project | Project Final Report

FPT University

Figure 4-188: View List Promotion Trip sequence diagram

4.2.2.6.5 Promotion trip detail


4.2.2.6.5.1

Screen Design

April-2015-SE Intake 7B

528

TaxiNet Project | Project Final Report

FPT University

Figure 4-189: Promotion trip detail


screenTable 4-70: Register Promotion trip description

April-2015-SE Intake 7B

529

TaxiNet Project | Project Final Report

FPT University

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Biu tng
a im
bt u

From address
icon

Icon

N/A

From address
icon

Tiu a
im bt
u

From address
label

TextView

N/A

From address
label

a im
bt u

From address

TextView

N/A

From address

Biu tng
a im
kt thc

To address
icon

Icon

N/A

To address
icon

Tiu a
im kt
thc

To address
label

TextView

N/A

To address
label

a im
kt thc

To address

TextView

N/A

To address

S ngi
ng k

Number of
rider

TextView

N/A

Number of
rider

Thi gian
khi hnh

Time

TextView

N/A

Time

10

S in
thoi

Phone
number

TextView

N/A

Phone
number

11

Hy

Reject

Button

N/A

Reject rider
registration

12

Chp nhn

Accept

Button

N/A

Accept rider
registration

April-2015-SE Intake 7B

530

TaxiNet Project | Project Final Report

4.2.2.6.5.2

FPT University

Sequence Diagram

Figure 4-190: View Promotion Trip Detail sequence diagram

April-2015-SE Intake 7B

531

TaxiNet Project | Project Final Report

FPT University

4.2.2.7VIP Rider management


4.2.2.7.1 Class Diagram

Figure 4-191: Promotion Trip management class diagram

4.2.2.7.2 Class Description


4.2.2.7.2.1

VIPRiderActivity

Class

VIPRiderActivity

Description

Display list VIP riders

Base Class

Activity

Constructor

N/A

April-2015-SE Intake 7B

532

TaxiNet Project | Project Final Report

Prototype

N/A

Source File

VIPRiderActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

listRider, handler,

Methods

Name

Input

initialize
getListVipR
ider
4.2.2.7.2.2

driverI
d

FPT University

Output

Description

Void

Define
component

List<Rid
er>

getListVipRider

AddVIPRiderBO

Class

VIPRiderActivity

Description

Add rider to list VIP rider

Base Class

bo

Constructor

N/A

Prototype

N/A

Source File

TripHistoryDetailsActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

listRider, handler,

Methods

Name

Input

Output

Description

addVIPRide
r

driverI
d,
riderId

Void

Add Rider to
VIP rider list

April-2015-SE Intake 7B

533

TaxiNet Project | Project Final Report

FPT University

4.2.2.7.3 View VIP Rider


4.2.2.7.3.1

Screen Design

Figure 4-192: VIP Driver


screen
Table 4-71: Register Promotion trip description

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Tn khch
hng

Riders name

TextView

N/A

Riders name

S in
thoi

Phone
Number

TextView

N/A

Phone
Number

Biu tng
gi

Call icon

Icon

N/A

Call icon

Button

N/A

Call to rider

April-2015-SE Intake 7B
5
Cp nht
Update

534

TaxiNet Project | Project Final Report

4.2.2.7.3.2

FPT University

Sequence Diagram

Figure 4-193: View Vip Rider sequence diagram

4.2.2.7.4 Add VIP Rider


4.2.2.7.4.1

Screen Design

April-2015-SE Intake 7B

535

TaxiNet Project | Project Final Report

FPT University

Figure 4-194: VIP Driver


screen
Table 4-72: Register Promotion trip description

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

Thm
khch
hang VIP

Add to VIP
Rider

Button

N/A

Add to VIP
Rider

4.2.2.7.4.2
Se

quence Diagram

April-2015-SE Intake 7B

536

TaxiNet Project | Project Final Report

FPT University

Figure 4-195: Add Rider to VIP list sequence diagram

April-2015-SE Intake 7B

537

TaxiNet Project | Project Final Report

FPT University

4.2.3 Rider Mobile Application


4.2.3.1Common design
4.2.3.1.1 Class diagram

Figure 4-196: Class diagram- Common design

April-2015-SE Intake 7B

538

TaxiNet Project | Project Final Report

FPT University

4.2.3.1.2 Utilities

Name

Description

Constants.java

Describe all Constant Strings use in


Rider Mobile Application

CustomDateTimePicker.java

Custom display when user pick Date,


Time

ObjectEncoder.java

Encode data before sending to server

PlaceProvider.java

Provide Place base on Google Place


API

PlaceDetailJSONParser.java

Parse JSON Place Detail from Google


Place API

PlaceJSONParser.java

Parse JSON Place from Google Place


API

AlertDialogManager.java

Contain all Alert Dialog in Driver


Mobile Application

HandlerMessageReceiver.java

Handle all Promotion Trip Notification


from GcmIntentService

GcmIntentService.java

Handle all Promotion Trip Notification


from Google Cloud Message

WakeLocker.java

Light up the screen

Utils.java

Contain lots of public functions use in


Driver Mobile Application

DirectionsJSONParser.java

Draw Direction on Google Map

AppController.java

Contain all Global variable use in


Driver Mobile Application

DatabaseHandler.java

Control Database offline on Rider


Mobile Application

April-2015-SE Intake 7B

539

TaxiNet Project | Project Final Report

FPT University

4.2.3.2Profile Management
4.2.3.2.1 Class Diagram

Figure 4-197: Profile management class diagram

April-2015-SE Intake 7B

540

TaxiNet Project | Project Final Report

FPT University

4.2.3.2.2 Class Description


4.2.3.2.2.1

ProfileActivity

Class

ProfileActivity

Description

Manage Riders Profile

Base Class

newactivity

Constructor

N/A

Prototype

N/A

Source File

ProfileActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

Bo, email, phone,

Methods

Name

April-2015-SE Intake 7B

Input

Output

Description

Initialize

Void

Initialize
Activity

updateProfi
le

Void

Update Profiles
change

changePass
word

Void

Change
password

pickHomeA
ddress

Void

Pick home
address on
Google Map

Logout

Void

Logout

541

TaxiNet Project | Project Final Report

4.2.3.2.2.2

FPT University

PickAddressActivity

Class

PickAddressActivity

Description

Pick Address of Rider

Base Class

newactivity

Constructor

N/A

Prototype

N/A

Source File

PickAddressActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mGoogleMap, mContext,

Methods

Name

Output

Description

Initialize

Void

Initialize
Activity

setupSearc
hView

Void

Modify the
PickAddress
Activity
screen

onCreate

Void

Override
from
Activity
extend

ChangeAdd
ress

Change
home or
office
address

ChangeAdd
ress

4.2.3.2.2.3

Input

type

LoginActivity

April-2015-SE Intake 7B

542

TaxiNet Project | Project Final Report

FPT University

Class

LoginActivity

Description

Login to Rider Mobile Application

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

LoginActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mEmail,mPassword,

Methods

Name

Input

Output

Description

checkInfo

Username,
password

Void

Check
validation of
data, then send
login request to
Server

Output

Description

4.2.3.2.2.4

LogoutBO

Class

LogoutBO

Description

Logout

Base Class

bo

Constructor

N/A

Prototype

N/A

Source File

LogoutBO.java

Namespace

vn.co.TaxiNet.mobile

Attributes

Activity, handler,

Methods

Name

April-2015-SE Intake 7B

Input

543

TaxiNet Project | Project Final Report

logout

4.2.3.2.2.5

riderID

FPT University

Void

Send logout
request to
Server and
receive
response

ForgotPasswordActivity

Class

ForgotPasswordActivity

Description

Use when user forgot their password and want to get


it back

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

ForgotPasswordActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mInfo, mContext,

Methods

Name

Input

Output

Description

getPassword

email

Void

Send reset
password
request to
Server

4.2.3.2.2.6

SupportActivity

Class

SupportActivity

Description

Support user

Base Class

Activity

April-2015-SE Intake 7B

544

TaxiNet Project | Project Final Report

FPT University

Constructor

N/A

Prototype

N/A

Source File

SupportActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mContext, subject, content,

Methods

Name

Input

Output

Description

sendEmail

View

Void

Send email to
Supporter

call

View

Void

Call to
Supporter

4.2.3.2.2.7

ChangePasswordActivity

Class

ChangePasswordActivity

Description

Change Riders Password

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

ChangePasswordActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mOldPassword, mNewPassword,

Methods

Name

April-2015-SE Intake 7B

Input

Output

Description

545

TaxiNet Project | Project Final Report

changePass
word

FPT University

View

Void

Check Infor
Validation then
send to
ChangePasswor
dBO

4.2.3.2.3 Login on Rider Mobile Application


4.2.3.2.3.1

Screen design

Table 4-73: Login Screen


Figure 4-198: Login

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

Email

Email

EditText

N/A

Email to
login

Password

Password

EditText

N/A

Password to

April-2015-SE Intake 7B

546

TaxiNet Project | Project Final Report

FPT University

login
3

ng nhp

Login

Button

N/A

Click Login
button to
login

Qun mt
khu

Forgot
Password

Button

N/A

Click if you
forgot your
password

ng k

Register

Button

N/A

Register a
new account

T-Net

T-Net

TextView

N/A

Name of
Application

4.2.3.2.3.2

Sequence Diagram

Figure 4-199: Login sequence diagram

April-2015-SE Intake 7B

547

TaxiNet Project | Project Final Report

FPT University

4.2.3.2.4 Logout on Rider Mobile Application


4.2.3.2.4.1

Screen Design

Figure 4-200: Logout


Table 4-74: Logout screen description

N
o

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

ng
xut

Logout

Title

N/A

Title of
Dialog

Ni dung

Content

TextView

N/A

Content of
message

Hy

Cancel

Button

N/A

Click to
cancel logout

Chp

OK

Button

N/A

Click to

April-2015-SE Intake 7B

548

TaxiNet Project | Project Final Report

nhn

4.2.3.2.4.2

FPT University

logout

Sequence Diagram

Figure 4-201: Logout sequence diagram

4.2.3.2.5 View Rider Profile


4.2.3.2.5.1

Screen Design

April-2015-SE Intake 7B

549

TaxiNet Project | Project Final Report

FPT University

Figure 4-202: View Profile


Screen
Table 4-75: Driver profile description

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Require
d

Length

Description

Tn

First name

EditText

N/A

Drivers first
name

Tn m

Last name

EditText

N/A

Drivers last
name

T-Net

T-Net

TextView

N/A

Name of
Application

Ti khon

Account

TextView

N/A

Information
of profile

Biu tng
Email

Email icon

Icon

N/A

Email icon

Email

Email

EditText

N/A

Drivers
email

April-2015-SE Intake 7B

550

TaxiNet Project | Project Final Report

FPT University

Biu tng
s in
thoi

Phone
number icon

Icon

N/A

Phone
number icon

S in
thoi

Phone
Number

EditText

N/A

Drivers
phone
number

11

Ngn ng

Language

N/A

Language
user want to
be displayed

12

i mt
khu

Change
Password

Button

N/A

Change
current
password

13

a im
thng
dng

Usual Place

TextView

N/A

The place
driver
usually use

14

a ch
nh

Home
address

TextView

N/A

Drivers
home
address

15

a im
thng
dng

Usual Place

TextView

N/A

The place
driver
usually use

16

a ch
nh

Home
address

TextView

N/A

Drivers
home
address

17

Sa

Edit

Button

N/A

Edit Profile

18

ng xut

Logout

Button

N/A

Logout this
account.

April-2015-SE Intake 7B

551

TaxiNet Project | Project Final Report

4.2.3.2.5.2

FPT University

Sequence Diagram

Figure 4-203: View Rider Profile Sequence Diagram

4.2.3.2.6 Edit Rider Profile


4.2.3.2.6.1

Screen Design

April-2015-SE Intake 7B

Figure 4-204: Edit Profile


Screen

552

TaxiNet Project | Project Final Report

FPT University

Table 4-76: Edit Profile Screen Description

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

Tn

First name

EditText

N/A

Drivers first
name

Tn m

Last name

EditText

N/A

Drivers last
name

T-Net

T-Net

TextView

N/A

Name of
Application

Ti khon

Account

TextView

N/A

Information
of profile

Biu tng
Email

Email icon

Icon

N/A

Email icon

Email

Email

EditText

N/A

Drivers
email

Biu tng
s in
thoi

Phone
number icon

Icon

N/A

Phone
number icon

S in
thoi

Phone
Number

EditText

N/A

Drivers
phone
number

Lu

Save

Button

N/A

Save

April-2015-SE Intake 7B

553

TaxiNet Project | Project Final Report

FPT University

information
10

Hy

4.2.3.2.6.2

Cancel

Button

N/A

Cancel, no
change
information

Sequence Diagram

Figure 4-205: Edit Profile sequence diagram

4.2.3.2.7 Change Password


4.2.3.2.7.1

Screen Design

April-2015-SE Intake 7B

554

TaxiNet Project | Project Final Report

FPT University

Table 4-77: Change Password screen description


Figure 4-206: Change

No

Object/
Control
Name

Object/ PasswordType
Screen
Control
Name in
English

Required

Lengt
h

Description

Mt khu
c

Old Password

EditText

N/A

Drivers
current
password

Mt khu
mi

New
Password

EditText

N/A

Drivers new
password

Nhp li
mt khu

Confirm
Password

EditText

N/A

Drivers new
password

i mt
khu

Change
Password

Button

N/A

Change
password

T-Net

T-Net

TextView

N/A

Name of
Application

4.2.3.2.7.2

Sequence Diagram

April-2015-SE Intake 7B

555

TaxiNet Project | Project Final Report

FPT University

Figure 4-207: Change Password sequence diagram

4.2.3.2.8 Forgot Password


4.2.3.2.8.1

Screen Design

April-2015-SE Intake 7B

556

TaxiNet Project | Project Final Report

FPT University

Figure 4-208: Reset Password


Screen
Table 4-78: Logout screen description

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

Email

Email

EditText

N/A

Drivers
current email

To mt
khu mi

Reset
Password

Button

N/A

Reset
password

T-Net

T-Net

TextView

N/A

Name of
Application

4.2.3.2.8.2

Sequence Diagram

April-2015-SE Intake 7B

557

TaxiNet Project | Project Final Report

FPT University

Figure 4-209: Forgot Password sequence diagram

April-2015-SE Intake 7B

558

TaxiNet Project | Project Final Report

FPT University

4.2.3.3Register management
4.2.3.3.1 2.2.3.1 Class Diagram

Figure 4-210: Register class diagram

4.2.3.3.2 Class description


4.2.3.3.2.1

RegisterActivity

Class

RegisterActivity

Description

Register a new Rider account

April-2015-SE Intake 7B

559

TaxiNet Project | Project Final Report

Base Class

newactivity

Constructor

N/A

Prototype

N/A

Source File

RegisterActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

alert, bo,

Methods

Name

Input

onCreate
register

4.2.3.3.2.2

email,
passwor
d,
confirmP
assword,
firstNam
e,
lastNam
e,phone
Number

FPT University

Outpu
t

Description

Void

Override from
Activity extend

Void

Send Infor to
RegisterBO

TermActivity

Class

TermActivity

Description

Terms of Use

Base Class

newactivity

Constructor

N/A

Prototype

N/A

Source File

TermActivity.java

April-2015-SE Intake 7B

560

TaxiNet Project | Project Final Report

Namespace

vn.co.TaxiNet.mobile

Attributes

mTerm,

Methods

Name

Input

FPT University

Outpu
t

Description

onCreate

Void

Override from
Activity extend

getTerm

Void

Send Infor to
TermBO

4.2.3.3.3 Register
4.2.3.3.3.1

Screen Design

Figure 4-211: Register Screen


Table 4-79: Logout screen description

April-2015-SE Intake 7B

561

TaxiNet Project | Project Final Report

FPT University

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

Email

Email

EditText

N/A

Riders
current email

Mt khu

Password

EditText

N/A

Password

Xc nhn
mt khu

Confirm
Password

EditText

N/A

Confirm
Password

Tn

First name

EditText

N/A

First name

Tn m

Last name

EditText

N/A

Last name

S in
thoi

Phone
number

EditText

N/A

Phone
number

ng vi
iu
khon s
dng

Agree with
terms of use

Checkbo
x

N/A

Agree with
terms of use

ng k

Register

Button

N/A

Register

Hy

Cancel

Button

N/A

Cancel

10

T-Net

T-Net

TextView

N/A

Name of
Application

4.2.3.3.3.2

Sequence Diagram

April-2015-SE Intake 7B

562

TaxiNet Project | Project Final Report

FPT University

Figure 4-212: Register sequence diagram

April-2015-SE Intake 7B

563

TaxiNet Project | Project Final Report

FPT University

4.2.3.4Promotion Trip management


4.2.3.4.1 Class Diagram

April-2015-SE Intake 7B

564

TaxiNet Project | Project Final Report

FPT University

Figure 4-213: Promotion Trip management class diagram

4.2.3.4.2 Class Description


4.2.3.4.2.1

FindPromotionTripActivity

Class

FindPromotionTripActivity

Description

Find Promotion Trips

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

FindPromotionTripActivity.java

Namespace

vn.co.TaxiNet.mobile

April-2015-SE Intake 7B

565

TaxiNet Project | Project Final Report

FPT University

Attributes

mGoogleMap, promotionTrip, process,

Methods

Name

4.2.3.4.2.2

Input

Output

Description

initializeMa
p

Void

Display Google
Map on screen

Process1

Void

Pick Start Point

Process2

Void

Pick End Point

Process3

Void

Input other
information(cap
acity, time)

findPromoti
onTrip

Void

Send request to
Server

ListPromotionTripActivity

Class

PromotionTripActivity

Description

List result of Finding Promotion Trip

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

ListPromotionTripActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mContext, handler,

Methods

Name
OnCreate

April-2015-SE Intake 7B

Input

Output

Description

Void

Override from
Activity extend

566

TaxiNet Project | Project Final Report

4.2.3.4.2.3

FPT University

Initialize

Void

Define
Component

getListPro
motionTrip

List<Pro
motionT
rip>

Get List
Promotion Trip

PromotionTripDetailsActivity

Class

PromotionTripActivity

Description

Display Promotion Trip detail information

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

PromotionTripDetailsActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

handler, mAdapter, bo,

Methods

Name

Output

Description

OnCreate

Void

Override from
Activity extend

Initialize

Void

Define
Component

List<Rid
er>

Get List
Promotion Trip

getListPro
motionTrip
Riders
4.2.3.4.2.4

Input

promot
iontripI
D

ListRegisteredPromotionTripActivity

April-2015-SE Intake 7B

567

TaxiNet Project | Project Final Report

FPT University

Class

ListRegisteredPromotionTripActivity

Description

Display Promotion Trip which rider registered in

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

ListRegisteredPromotionTripActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

handler, mAdapter, bo,

Methods

Name

Input

Output

Description

OnCreate

Void

Override from
Activity extend

Initialize

Void

Define
Component

getListRegi
steredProm
otionTripRi
ders

List<Rid
er>

Get List
Registered
Promotion Trip

4.2.3.4.3 Find Promotion Trip


4.2.3.4.3.1

Screen Design

April-2015-SE Intake 7B

568

Figure 4-214: Find promotion


Trip

TaxiNet Project | Project Final Report

FPT University

Table 4-80: Find Promotion trip description

April-2015-SE Intake 7B

569

TaxiNet Project | Project Final Report

FPT University

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Nhp a
im

Enter place

SearchVi
ew

N/A

Enter place
here, place
suggestion
will be
displayed

Chn im
n

Choose Pick
up here

TextView

N/A

Choose Pick
up point

n ti
y

Pick up here

Button

N/A

Pick Pick up
point

Chn im
dng

Choose end
point here

TextView

N/A

Choose end
point

Dng ti
y

Stop here

Button

N/A

Pick Stop
up point

S ch
ngi

Number of
rider

EditText

N/A

Number of
rider will join
promotion
trip

Thi gian

Time

DateTim
ePicker

N/A

Time when
rider wanna
go

Tm kim

Find
Promotion
Trip

Button

N/A

Find
Promotion
Trip

4.2.3.4.3.2
Se

quence Diagram

April-2015-SE Intake 7B

570

TaxiNet Project | Project Final Report

FPT University

Figure 4-215: Find Promotion Trip sequence diagram

4.2.3.4.4 List Promotion trip


4.2.3.4.4.1

Screen Design

April-2015-SE Intake 7B

571

TaxiNet Project | Project Final Report

FPT University

Figure 4-216: List Promotion Trip


Screen
Table
4-81: Register Promotion trip description

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Biu tng
a im
bt u

From address
icon

Icon

N/A

From icon

Tiu a
im bt
u

From address
label

TextView

N/A

From label

a im
bt u

From address

TextView

N/A

From

Biu tng
a im
kt thc

To address
icon

Icon

N/A

To icon

Tiu a
im kt
thc

To address
label

TextView

N/A

To label

a im
kt thc

To address

TextView

N/A

To

Thi gian

Time

DateTim
ePicker

N/A

Time when
promotion
trip starts

Trng thi

Status

TextView

N/A

Status of
Promotion
Trip

April-2015-SE Intake 7B

572

TaxiNet Project | Project Final Report

4.2.3.4.4.2

FPT University

Sequence Diagram

Figure 4-217: View Promotion Trip sequence diagram

4.2.3.4.5 Promotion trip detail


4.2.3.4.5.1

Screen Design

April-2015-SE Intake 7B
Figure 4-218: Promotion trip detail
screen

573

TaxiNet Project | Project Final Report

FPT University

Table 4-82: Register Promotion trip description

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Biu tng
a im
bt u

From address
icon

Icon

N/A

From address
icon

Tiu a
im bt
u

From address
label

TextView

N/A

From address
label

a im
bt u

From address

TextView

N/A

From address

Biu tng
a im
kt thc

To address
icon

Icon

N/A

To address
icon

Tiu a
im kt
thc

To address
label

TextView

N/A

To address
label

a im
kt thc

To address

TextView

N/A

To address

S ngi
ng k

Number of
rider

TextView

N/A

Number of
rider

Thi gian
khi hnh

Time

TextView

N/A

Time

10

S in
thoi

Phone
number

TextView

N/A

Phone
number

11

ng k

Register

Button

N/A

Register to
join selected
promotion
trip

April-2015-SE Intake 7B

574

TaxiNet Project | Project Final Report

4.2.3.4.5.2

FPT University

Sequence Diagram

Figure 4-219: View Promotion Trip Detail sequence diagram

4.2.3.4.6 List Registered Promotion trip


4.2.3.4.6.1

Screen Design

April-2015-SE Intake 7B

575

TaxiNet Project | Project Final Report

FPT University

Figure 4-220: List Registered Promotion


trip screen

Table 4-83: Register Promotion trip description

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Biu tng
a im
bt u

From address
icon

Icon

N/A

From icon

Tiu a
im bt
u

From address
label

TextView

N/A

From label

a im
bt u

From address

TextView

N/A

From

Biu tng
a im
kt thc

To address
icon

Icon

N/A

To icon

Tiu a
im kt
thc

To address
label

TextView

N/A

To label

a im
kt thc

To address

TextView

N/A

To

Thi gian

Time

DateTim
ePicker

N/A

Time when
promotion
trip starts

Trng thi

Status

TextView

N/A

Status of
Promotion
Trip

April-2015-SE Intake 7B

576

TaxiNet Project | Project Final Report

4.2.3.4.6.2

FPT University

Sequence Diagram

Figure 4-221: View Promotion Trip Detail sequence diagram

4.2.3.5Favorite Driver management


4.2.3.5.1 Class Diagram

Figure 4-222: Promotion Trip management class diagram

April-2015-SE Intake 7B

577

TaxiNet Project | Project Final Report

FPT University

4.2.3.5.2 Class Description


4.2.3.5.2.1

FavoriteDriverActivity

Class

FavoriteDriverActivity

Description

Display list Favorite Drivers

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

FavoriteDriverActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

listDriver, handler,

Methods

Name

Input

initialize
getListFavo
riteDrivers

4.2.3.5.2.2

riderId

Output

Description

Void

Define
component

List<Dri
ver>

Get List
Favourite
Driver

AddFavoriteDriverBO

Class

AddFavoriteDriverBO

Description

Add driver to list Favorite Driver

Base Class

bo

April-2015-SE Intake 7B

578

TaxiNet Project | Project Final Report

FPT University

Constructor

N/A

Prototype

N/A

Source File

AddFavoriteDriverBO.java

Namespace

vn.co.TaxiNet.mobile

Attributes

listDriver, handler,

Methods

Name

Input

Output

Description

addFavorite
Driverr

driverI
d,
riderId

Void

Add Driver to
Favorite Driver
list

4.2.3.5.3 View Favorite Driver


4.2.3.5.3.1

Screen Design

Figure 4-223: Favorite Driver


screen
Table 4-84: Register Promotion trip description

April-2015-SE Intake 7B

579

TaxiNet Project | Project Final Report

FPT University

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Tn ti x

Drivers
name

TextView

N/A

Drivers
name

S in
thoi

Phone
Number

TextView

N/A

Phone
Number

Biu tng
gi

Call icon

Icon

N/A

Call icon

Cp nht

Update

Button

N/A

Call to driver

4.2.3.5.3.2
Se

quence Diagram

April-2015-SE Intake 7B

580

TaxiNet Project | Project Final Report

FPT University

Figure 4-224: View Favorite Driver sequence diagram

4.2.3.5.4 Add Favorite Driver


4.2.3.5.4.1

Screen Design

Figure 4-225: VIP Driver


screen
Table 4-85: Register Promotion trip description

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

Thm ti
x yu
thch

Add to
Favorite
Driver

Button

N/A

Add to
Favorite
Driver

April-2015-SE Intake 7B

581

TaxiNet Project | Project Final Report

4.2.3.5.4.2

FPT University

Sequence Diagram

Figure 4-226: Add Driver to Favorite list sequence diagram

April-2015-SE Intake 7B

582

TaxiNet Project | Project Final Report

FPT University

4.2.3.6Trip management
4.2.3.6.1 Class Diagram

April-2015-SE Intake 7B

583

TaxiNet Project | Project Final Report

FPT University

Figure 4-227: Trip management class diagram

4.2.3.6.2 Class Description


4.2.3.6.2.1

MapActivity

Class

MapActivity

Description

Display Google Map and Driver Nearby

Base Class

newactivity

Constructor

N/A

Prototype

N/A

Source File

MapActivity.java

Namespace

vn.co.TaxiNet.mobile

April-2015-SE Intake 7B

584

TaxiNet Project | Project Final Report

FPT University

Attributes

googleMap, startPoint, endPoint,

Methods

Name

4.2.3.6.2.2

Input

Outpu
t

Description

onCreate

Void

Override from
Activity extend

pick

Void

Pick Start Point


and End Point

sendReque
st

Void

Call MapBO

onReceive

Void

Receive data

getDriver

Void

Get list Driver


nearby

TripHistoryActivity

Class

TripHistoryActivity

Description

List result of Finding Promotion Trip

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

TripHistoryActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

mContext, handler,

Methods

Name
OnCreate

April-2015-SE Intake 7B

Input

Output

Description

Void

Override from
Activity extend

585

TaxiNet Project | Project Final Report

4.2.3.6.2.3

FPT University

Initialize

Void

Define
Component

getTripHist
ory

List<Tri
p>

Get List History


Trip

TripHistoryDetailsActivity

Class

TripHistoryDetailsActivity

Description

Display Promotion Trip detail information

Base Class

Activity

Constructor

N/A

Prototype

N/A

Source File

TripHistoryDetailsActivity.java

Namespace

vn.co.TaxiNet.mobile

Attributes

handler, mAdapter, bo,

Methods

Name

Output

Description

OnCreate

Void

Override from
Activity extend

Initialize

Void

Define
Component

List<Tri
p>

Get Trip
Information

getTripDeta
il

Input

tripId

4.2.3.6.3 Trip History Activity


4.2.3.6.3.1

Screen Design

April-2015-SE Intake 7B

586

TaxiNet Project | Project Final Report

FPT University

Figure 4-228: Trip History


Screen
Table 4-86: Company Info screen description

April-2015-SE Intake 7B

587

TaxiNet Project | Project Final Report

No

Object/
Control
Name

Object/
Control
Name in
English

Type

FPT University

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Tn ti x

Drivers
name

TextView

N/A

Drivers
name

Biu tng
a im
bt u

From address
icon

Icon

N/A

From icon

Tiu a
im bt
u

From address
label

TextView

N/A

From label

a im
bt u

From address

TextView

N/A

From

Biu tng
a im
kt thc

To address
icon

Icon

N/A

To icon

Tiu a
im kt
thc

To address
label

TextView

N/A

To label

a im
kt thc

To address

TextView

N/A

To

Cp nht

Update

Button

N/A

Update List
trip history

4.2.3.6.3.2
Se

quence Diagram

April-2015-SE Intake 7B

588

TaxiNet Project | Project Final Report

FPT University

Figure 4-229: Trip History sequence diagram

4.2.3.6.4 Trip History Detail Activity


4.2.3.6.4.1

Screen Design

April-2015-SE Intake 7B

589

TaxiNet Project | Project Final Report

FPT University

Figure 4-230: Trip History


Table 4-87:
Company Info screen description
Detail
Screen

April-2015-SE Intake 7B

590

TaxiNet Project | Project Final Report

FPT University

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Thi gian
chuyn i
bt u

Start time

TextView

N/A

Start time

Trng thi
chuyn i

Status

TextView

N/A

Trip status

Biu tng
a im
bt u

From address
icon

Icon

N/A

From address
icon

Tiu a
im bt
u

From address
label

TextView

N/A

From address
label

a im
bt u

From address

TextView

N/A

From address

Biu tng
a im
kt thc

To address
icon

Icon

N/A

To address
icon

Tiu a
im kt
thc

To address
label

TextView

N/A

To address
label

a im
kt thc

To address

TextView

N/A

To address

S in
thoi

Phone
number

TextView

N/A

Phone
number

10

Gi

Fee

TextView

N/A

Fee

11

Hnh thc
thanh ton

Payment
Type

TextView

N/A

Payment
Type

12 Ngy khi
Start Time
April-2015-SE
Intake 7B
hnh

TextView

N/A

Start Time

13

TextView

N/A

End Time

Ngy kt
thc

End Time

591

TaxiNet Project | Project Final Report

4.2.3.6.4.2

FPT University

Sequence Diagram

Figure 4-231: View Trip Detail sequence diagram

4.2.3.6.5 Send trip request


4.2.3.6.5.1

Screen Design

Figure 4-232: Send trip request

April-2015-SE Intake 7B

592

TaxiNet Project | Project Final Report

FPT University

Table 4-88: Send trip request screen description

No

Object/
Control
Name

Object/
Control
Name in
English

Type

Required

Lengt
h

Description

T-Net

T-Net

TextView

N/A

Name of
Application

Marker

Marker

Google
Marker

N/A

Position of
rider who
send reuest

Tn ti x

Drivers
name

TextView

N/A

Drivers
name

Nhp a
im

Enter place

Button

N/A

Enter
address to
search

Chn im
i

Pick up here

Button

N/A

Pick Pick
up point

Chn im
n

Stop here

Button

N/A

Pick Stop
point

Thng tin
chuyn i

Trip Info

Button

N/A

Info of trip
(fee
estimated,
distance)
based on
pick up and
stop point

Gi yu
cu

Send request

Button

N/A

Send request
to driver

Hy

Cancel

Button

N/A

Cancel trip
request

4.2.3.6.5.2
Se

quence Diagram

April-2015-SE Intake 7B

593

TaxiNet Project | Project Final Report

FPT University

Figure 4-233: Receive Trip request sequence diagram

Figure 4-234: Receive Trip Request

April-2015-SE Intake 7B

594

TaxiNet Project | Project Final Report

FPT University

4.3 Database Design


4.3.1 Database Diagram

Figure 4-235: Database Design

April-2015-SE Intake 7B

595

TaxiNet Project | Project Final Report

FPT University

4.3.2 Table Descriptions


4.3.2.1Table ADDRESS
Table 4-89: Address

No
.

Attribute

ADDRESSID

Type

Constraints

VARCHAR(50) NOT NULL,


PRIMARY
KEY

Description

The PRIMARY KEY


auto generated by
the system

COUNTRYID

VARCHAR(4)

NOT NULL

Id of country of
address

CITYID

INT(10)

NOT NULL

Id of city of
address

DISTRICTNAME

VARCHAR(50) NOT NULL

Name of district of
address

ADDRESSDETAIL

VARCHAR

Detail of address
like street, home
number

NOT NULL

(70)
6

POSTALCODE

VARCHAR

Postal code of
country

(5)
7

LATITUDE

DOUBLE

NOT NULL

Latitude of address

LONGITUDE

DOUBLE

NOT NULL

Longitude of
address

April-2015-SE Intake 7B

596

TaxiNet Project | Project Final Report

FPT University

4.3.2.2Table AGENT
Table 4-90: Agent

No.

Attribute

Type

Constraints

Description

AGENTID

VARCHAR(50) NOT NULL,


The PRIMARY KEY
PRIMARY KEY auto generated by
the system

FIRSTNAME

VARCHAR(30) NOT NULL

First name of
agent

LASTNAME

VARCHAR(50) NOT NULL

Last name of
agent

MOBILENO

VARCHAR(20) NOT NULL

Phone number of
agent

HOMEADDRESSID

VARCHAR(50)

Id of home address
of agent

OFFICEADDRESSID

VARCHAR(50)

Id of office address
of agent

VATNUMBER

VARCHAR(20)

Vat number of
agent

PROMOTIONCODE

VARCHAR(20)

Promotion code of
agent

PARENTID

VARCHAR(50)

Id of parent of
agent

10

AGENTCODE

VARCHAR(50)

Code of agent

11

AGENTNAME

VARCHAR(75)

Name of agent

12

SHARERATE

DOUBLE

Share rate of
agent

13

BALANCE

DOUBLE

Balance of agent

April-2015-SE Intake 7B

597

TaxiNet Project | Project Final Report

STATUS

FPT University

VARCHAR(2)

Status of agent

14

4.3.2.3Table BANK
Table 4-91: Bank

No
.

Attribute

Type

BANKID

INT(11)

BANKNAME

VARCHAR(1
00)

Constraints

Description

NOT NULL,
The PRIMARY KEY
PRIMARY KEY, auto generated by the
foreign key
system
Name of bank

4.3.2.4Table BUSSINESSUNIT
Table 4-92: BUSSINESSUNIT

No
.

Attribute

Type

Constraints

Description

BUSSINESSUNITID

VARCHAR(5 NOT NULL,


0)
PRIMARY KEY

The PRIMARY KEY


auto generated by
the system

CITYID

INT(11)

Id of city of business
unit

COUNTRYID

VARCHAR(4) NOT NULL

Id of country of
business unit

PARENTID

VARCHAR(5
0)

Id of parent of
business unit

April-2015-SE Intake 7B

598

TaxiNet Project | Project Final Report

FPT University

BUSSINESSUNITNA LONGTEXT
ME

Name of business
unit

STATUS

Status of business
unit

VARCHAR(1 NOT NULL


5)

4.3.2.5Table CARMAKER
Table 4-93: CARMAKER

No
.

Attribute

Type

Constraints

CARMAKERID

INT(11)

NOT NULL,
PRIMARY KEY

CARMAKER

VARCHAR(20 NOT NULL


)

Description

The PRIMARY KEY


auto generated by
the system
Name of carmaker

4.3.2.6Table CARTYPE
Table 4-94: CARTYPE

No
.

Attribute

Type

Constraints

Description

CARTYPEID

INT(11)

NOT NULL,
PRIMARY KEY

The PRIMARY KEY


auto generated by
the system

CARMAKEID

INT(11)

NOT NULL

Id of car maker of
car type

CARTITLE

VARCHAR(3 NOT NULL


0)

April-2015-SE Intake 7B

Title of car type

599

TaxiNet Project | Project Final Report

LEVEL

VARCHAR(4)

CAPACITY

INT(11)

FPT University

Level of car type


NOT NULL

Capacity of car type

4.3.2.7Table City
Table 4-95: City

No
.

Attribute

Type

Constraints

NOT NULL,
PRIMARY KEY

Description

CITYID

INT(11)

The PRIMARY KEY


auto generated by
the system

COUNTRYCODE

VARCHAR(4) NOT NULL

NORTHBOUNDARY DOUBLE

NOT NULL

North boundary of
city

SOUTHBOUNDARY DOUBLE

NOT NULL

South boundary of
city

WESTBOUNDARY

DOUBLE

NOT NULL

West boundary of
city

EASTBOUNDARY

DOUBLE

NOT NULL

East boundary of
city

Code of country of
city

4.3.2.8Table CITYNAME
Table 4-96: CITYNAME

No
.

Attribute

April-2015-SE Intake 7B

Type

Constraints

Description

600

TaxiNet Project | Project Final Report

FPT University

CITYID

INT(11)

NOT NULL,
PRIMARY KEY

Id of city

LANGUAGECODE

VARCHAR(4) NOT NULL,


PRIMARY KEY

Code of language

CITYNAME

VARCHAR(2 NOT NULL


0)

Name of city with


different language

4.3.2.9Table COMPANY
Table 4-97: COMPANY

No
.

Attribute

Type

NOT NULL,
PRIMARY KEY

Description

COMPANYID

OPERATINGLICENCE INT(11)

License of operating
of company

BUSSINESSREGISTR INT(11)
ATION

Business
registration of
company

ADDRESSID

VARCHAR(5
0)

Id of address
of company

PARENTID

INT(11)

Id of parent o of
company

NAME

VARCHAR(1 NOT NULL


00)

Name of company

BUSSINESSTYPE

VARCHAR(1 NOT NULL


0)

Business type of
company

BALANCE

DOUBLE

Balance of company

April-2015-SE Intake 7B

INT(11)

Constraints

The PRIMARY KEY


auto generated by
the system

601

TaxiNet Project | Project Final Report

VATNUMBER

FPT University

VARCHAR(2
0)

Vat number of
company

10 MOBILENO

VARCHAR(2
0)

Phone number of
company

11 POSTALCODE

VARCHAR(5)

Postal code of
company

12 SERVICECHARGE

VARCHAR(2)

Service charge of
company

13 STATUS

VARCHAR(2)

Status of company

14 RATE

DOUBLE

Rate of company

15 BANKNO

VARCHAR(2
0)

Bank number of
company

16 BANKID

INT(11)

Id of bank of
company

4.3.2.10

Table COMPANYPARKARER
Table 4-98: COMPANYPARKARER

No
.

Attribute

Type

Constraints

Description

PARKAREAID

INT(11)

NOT NULL,
PRIMARY KEY

The PRIMARY KEY


auto generated by
the system

COMPANYID

INT(11)

NOT NULL

If of company own
park area

LATITUDE

DOUBLE

NOT NULL

Latitude of park
area

April-2015-SE Intake 7B

602

TaxiNet Project | Project Final Report

FPT University

LONGITUDE

DOUBLE

NOT NULL

NAME

VARCHAR(5 NOT NULL


0)

4.3.2.11

Longitude of park
area
Name of of park
area

Table COUNTRY
Table 4-99: COUNTRY

No
.

Attribute

Constraints

Description

CODE

VARCHAR(4) NOT NULL,


PRIMARY KEY

Code of country

NAME

VARCHAR(2 NOT NULL


0)

Name of country

POSTALCODE

VARCHAR(5) NOT NULL

Postal code of
country

CURRENCY

VARCHAR(1 NOT NULL


0)

Currency of country

Type

INTERNATIONALCO VARCHAR(5) NOT NULL


5DE

April-2015-SE Intake 7B

International code of
country

603

TaxiNet Project | Project Final Report

4.3.2.12

FPT University

Table CURRENTSTATUS
Table 4-100: CURRENTSTATUS

No
.

Attribute

DRIVERID
1

Type

Constraints

VARCHAR(5 NOT NULL,


0)
PRIMARY KEY

CURRENTLATITUDE DOUBLE

Description

The PRIMARY KEY


auto generated by
the system

Current latitude of
driver

CURRENTLONGITU DOUBLE
3DE

Current longitude of
driver

CURRENTSTATUS
4

Current status of
driver

CURRENTLOCATION VARCHAR(2
5
00)

Current location of
driver

4.3.2.13

VARCHAR(2)

Table DIARYDRIVERSUMMARY
Table 4-101: DIARYDRIVERSUMMARY

No.

Attribute

Type

DYILYDRIVERSUMM BIGINT(20)
1 ARYID

April-2015-SE Intake 7B

Constraints

NOT NULL,
PRIMARY KEY

Description

The PRIMARY KEY


auto generated by
the system

604

TaxiNet Project | Project Final Report

FPT University

DRIVERID

VARCHAR(5 NOT NULL


0)

Id of driver

PROCESSEDATE

DATETIME

Process date of
diary

SHAREDFARE

DOUBLE

Shared fare of diary

INVOICESTATUS

VARCHAR(5) NOT NULL

Status of invoices of
of diary

WEEKNO

INT(11)

Week number of of
diary

NOTRIPS

INT(11)

Number of trip of
diary

COMPANYID

INT(11)

Id of company

TOTALFATE

DOUBLE

Total fare of diary

DOUBLE

Amount of adjust of
diary

NOT NULL

9
ADJUSTAMOUNT
10

PROMOTIONAMOU DOUBLE
11NT

Amount of
promotion of diary

PAYMENT
12

Payment of diary

April-2015-SE Intake 7B

DOUBLE

605

TaxiNet Project | Project Final Report

FPT University

WEEKNUMBERID
13

BIGINT(20)

Id of week number

ACTUALPAYMENT
14

DOUBLE

Actual payment of
diary

4.3.2.14

Table DOCCUMENT
Table 4-102: DOCCUMENT

No.

Attribute

Type

Constraints

DOCUUMENTID

INT(11)

FILENAME

VARCHAR(3 NOT NULL


0)

Name of file of
document

LINK

VARCHAR(2 NOT NULL


55)

Link of document

EXPIREDMONTH

VARCHAR(2) NOT NULL

Expired month of
document

EXPIREDYEAR

VARCHAR(4) NOT NULL

Expired year of
document

STATUS

VARCHAR(2
0)

Status of document

2
3

NOT NULL,
PRIMARY KEY

Description

4
5
6

April-2015-SE Intake 7B

The PRIMARY KEY


auto generated by
the system

606

TaxiNet Project | Project Final Report

4.3.2.15

FPT University

Table DRIVER
Table 4-103: DRIVER

No.

Attribute

Type

Constraints

Description

DRIVERID

VARCHAR(5 NOT NULL,


0)
PRIMARY KEY

The PRIMARY KEY


auto generated by
the system

DRIVERLISENCE

INT(11)

License of driver

2
CURRENTVEHICLE INT(11)

Id of current vehicle
of driver if riding

ADDRESSID

Id of address of
driver

VARCHAR(5
0)

DRIVEREXPERIENC INT(11)
5E

Experiment of driver
(year)

FIRSTNAME

VARCHAR(3 NOT NULL


0)

First name of driver

LSTNAME

VARCHAR(5 NOT NULL


0)

Last name of driver

MOBILENO

VARCHAR(2
0)

Phone number of
driver

BALANCE

DOUBLE

balance

April-2015-SE Intake 7B

607

TaxiNet Project | Project Final Report

FPT University

INVITATIONCODE
10

VARCHAR(2
0)

Invitation code of
driver to invite other
user

MOBILEDIVICEID
11

VARCHAR(2
00)

Id of mobile device
of driver

4.3.2.16

Table FAVORITE
Table 4-104: FAVORITE

No.

Attribute

Type

Constraints

Description

RIDERID

VARCHAR(5 NOT NULL,


0)
PRIMARY KEY

Id of rider

DRIVERID

VARCHAR(5 NOT NULL,


0)
PRIMARY KEY

Id of driver

STATUS

VARCHAR(2
0)

Status of favorite (1
is favorite, 0 is not)

TYPE

VARCHAR(4)

Type of favorite(FR
is favorite rider for
driver, FD is favorite
driver for rider)

4.3.2.17

Table INVITATIONLOG
Table 4-105: INVITATIONLOG

No.

Attribute

April-2015-SE Intake 7B

Type

Constraints

Description

608

TaxiNet Project | Project Final Report

FPT University

DRIVERID

VARCHAR(5 NOT NULL,


0)
PRIMARY KEY

Id of driver

RIDERID

VARCHAR(5 NOT NULL,


0)
PRIMARY KEY

Id of rider

4.3.2.18

Table LANGUAGE
Table 4-106: LANGUAGE

No.

Attribute

Type

Constraints

Description

LANGUAGECODE

VARCHAR(4) NOT NULL,


PRIMARY KEY

Code of language

LANGUAGE

VARCHAR(2 NOT NULL


0)

Name of language

4.3.2.19

Table PAYMENT
Table 4-107: PAYMENT

No.

Attribute

Type

Constraints

PAYMENTID

INT(11)

BANKID

INT(11)

Id of bank of
payment which user
use to pay

USERID

VARCHAR(5 NOT NULL


0)

Id of user pay this


payment

NOT NULL,
PRIMARY KEY

Description

April-2015-SE Intake 7B

The PRIMARY KEY


auto generated by
the system

609

TaxiNet Project | Project Final Report

FPT University

CARDNO

VARCHAR(1 NOT NULL


5)

Number bank card


use to pay payment

EXPIREDYEAR

VARCHAR(4)

Expired year of card

EXPIREDMONTH

VARCHAR(2)

Expired month of
card

CVV

VARCHAR(4)

CVV of bank card

TYPE

VARCHAR(2)

Type of bank card


(ATM, paypal )

STATUS

VARCHAR(2)

Status of bank card

4.3.2.20

Table PRICEPANEL
Table 4-108: PRICEPANEL

No.

Attribute

Type

Constraints

Description

PRICEPANELID

INT(11)

NOT NULL,
PRIMARY KEY

The PRIMARY KEY


auto generated by
the system

COMPANYID

INT(11)

NOT NULL

Id of company

TITLE

VARCHAR(1
00)

April-2015-SE Intake 7B

Title of price panel

610

TaxiNet Project | Project Final Report

FPT University

STARTDATE

DATE

ENDDATE

DATE

Date that end price


panel

OPENKM

DOUBLE

Number of miles
when start trip

OPENKMPRICE

DOUBLE

Price of number of
miles when start trip

FIRSTKM

DOUBLE

The first KM

FIRSTKMPRICE

DOUBLE

Price of first miles


when miles is over
OPENKM

NEXTKM
10

DOUBLE

The next KM

NEXTKMPRICE
11

DOUBLE

Price of first miles


when miles is over
NEXTKM

WAITINGPRICE
12

DOUBLE

Price when waiting


for customer

NOT NULL

Date that apply


price panel

RETURNTRIPPRICE DOUBLE
13

April-2015-SE Intake 7B

The price when


driver take rider
back

611

TaxiNet Project | Project Final Report

4.3.2.21

FPT University

Table PROMOTIONTRIP
Table 4-109: PROMOTIONTRIP

No.

Attribute

Type

Constraints

PROMOTRIONTRIPI VARCHAR(5 NOT NULL,


1D
0)
PRIMARY KEY

Description

The PRIMARY KEY


auto generated by
the system

TOCITY

INT(11)

NOT NULL

Id of city where to
end trip

VEHICLEID

INT(11)

NOT NULL

Id of vehicle go by

DRIVERID

VARCHAR(5 NOT NULL


0)

Id of driver

FROMCITY

INT(11)

Id of city where to
start trip

PAYMENTID

INT(11)

Id of payment of trip

CAPACITY

INT(11)

Number of riders

COUNTRYCODE

VARCHAR(4)

Code of country

FROMADDRESS

VARCHAR50
)

Address where to
start trip

April-2015-SE Intake 7B

612

TaxiNet Project | Project Final Report

FPT University

TOADDRESS
10

VARCHAR(5
0)

Address where to
end trip

TIMESTART
11

DATETIME

Time to start trip

TIMEEND
12

DATETIME

Time to end trip

STARTLATITUDE
13

DOUBLE

Latitude of trip
where to pick rider

STARTLONGITUDE DOUBLE
14

Longitude of trip
where to pick rider

ENDLONGITUDE
15

DOUBLE

Latitude of trip
where end trip

ENDLATITUDE
16

DOUBLE

Longitude of trip
where end trip

FEE
17

DOUBLE

Fee of trip

STATUS
18

VARCHAR(4)

Status of trip

4.3.2.22

Table PROMOTIONTRIPRIDERS
Table 4-110: PROMOTIONTRIPRIDERS

No.

Attribute

April-2015-SE Intake 7B

Type

Constraints

Description

613

TaxiNet Project | Project Final Report

FPT University

PROMOTRIONTRIPI VARCHAR(5 NOT NULL,


1D
0)
PRIMARY KEY

Id of promotion trip

RIDERID

VARCHAR(5 NOT NULL,


0)
PRIMARY KEY

Id of rider

TOCITY

INT(11)

Id of city where to
end trip

FROMCITY

INT(11)

Id of city where to
start trip

STATUS

VARCHAR(2)

Status of this
registration

STARTADDRESS

VARCHAR(1
00)

Address where rider


want driver pick up

ENDADDRESS

VARCHAR(1
00)

Address where rider


want driver stop

NUMBEROFSEATS

INT(11)

Number of rider will


go this ride

TIMESTART

DATETIME

Time which rider


want driver start trip

4.3.2.23

Table REFERENCEDATE
Table 4-111: REFERENCEDATE

No.

Attribute

April-2015-SE Intake 7B

Type

Constraints

Description

614

TaxiNet Project | Project Final Report

GROUPCODE

VARCHAR(2 NOT NULL,


0)
PRIMARY KEY

CODE

VARCHAR(2) NOT NULL,


PRIMARY KEY

LANGUAGECODE

VARCHAR(4) NOT NULL,


PRIMARY KEY

4.3.2.24

FPT University

Table RIDER
Table 4-112: RIDER

No.

Attribute

RIDERID
1

Type

Constraints

VARCHAR(5 NOT NULL,


0)
PRIMARY KEY

Description

The PRIMARY KEY


auto generated by
the system

HOMEADDRESSID VARCHAR(5
0)

Id of home address
of rider

OFFICEADDRESSID VARCHAR(5
0)

Id of office address
of rider

FIRSTNAME

VARCHAR(3 NOT NULL


0)

First name of rider

LASTNAME

VARCHAR(5 NOT NULL


0)

Last name of rider

MOBILENO

VARCHAR(2
0)

Phone number of
rider

April-2015-SE Intake 7B

615

TaxiNet Project | Project Final Report

MOBILEDIVICEID
7

VARCHAR(2
00)

PROMOTIONCODE VARCHAR(4
0)

4.3.2.25

FPT University

Mobile device of
rider
Promotion code of
rider

Table STAFF
Table 4-113: STAFF

No.

Attribute

STAFFID
1

Type

Constraints

VARCHAR(5 NOT NULL,


0)
PRIMARY KEY

Description

The PRIMARY KEY


auto generated by
the system

BUSSINESSUNITID VARCHAR(5 NOT NULL


0)

Id of business unit
that staff register
with company

ADDRESSID

VARCHAR(5
0)

Id of address of staff

FIRSTNAME

VARCHAR(3 NOT NULL


0)

First name of staff

LASTNAME

VARCHAR(5 NOT NULL


0)

Last name of staff

DATEOFBIRTH

DATE

Date of birth of staff

6
NATIONALIDENTIFI VARCHAR(3
7 CATION
0)

April-2015-SE Intake 7B

National
identification of staff

616

TaxiNet Project | Project Final Report

FPT University

MOBILENO

VARCHAR(2
0)

Phone number of
staff

STAFFTYPE

VARCHAR(2)

Type of staff

STATUS
10

VARCHAR(4)

Status of staff

STARTDATE
11

DATE

Date that staff start


working in company

ENDDATE
12

DATE

Date that staff stop


working in company

4.3.2.26

Table TAXINETUSERS
Table 4-114: TAXINETUSERS

No.

Attribute

Type

Constraints

Description

USERID

VARCHAR(5 NOT NULL,


0)
PRIMARY KEY

The PRIMARY KEY


auto generated by
the system

GROUPCODE

VARCHAR(3) NOT NULL

Group code of user


(driver, rider, staff,
admin..)

LANGUAGECODE

VARCHAR(4) NOT NULL

Language code of
user

COMPANYID

INT(11)

Id of company of
user

April-2015-SE Intake 7B

617

TaxiNet Project | Project Final Report

FPT University

COUNTRYCODE

VARCHAR(4) NOT NULL

Code of country of
user

USERNAME

VARCHAR(5 NOT NULL


0)

Username of user
use to login to app
and web app

PASSWORD

VARCHAR(4 NOT NULL


0)

Password of
username

EMAIL

VARCHAR(5
0)

Email of user

CITYID

INT(11)

9
STATUS
10

VARCHAR(1
0)

Status of user
(active,
deactivate ...)

IMAGE
11

VARCHAR(2
55)

Image of user

POSTALCODE
12

VARCHAR(5)

Postal code of
country of user

DEACIVATEDATE
13

DATE

Date that user was


deactivate

4.3.2.27

Table TRIP
Table 4-115: TRIP

No.

Attribute

April-2015-SE Intake 7B

Type

Constraints

Description

618

TaxiNet Project | Project Final Report

FPT University

REQUESTID

VARCHAR(5 NOT NULL,


0)
PRIMARY KEY

The PRIMARY KEY


auto generated by
the system

TOCITY

INT(11)

Id of city where to
end trip

RIDERID

VARCHAR(5 NOT NULL


0)

Id of rider go this
trip

DRIVERID

VARCHAR(5 NOT NULL


0)

Id of driver driving
trip

VEHICLEID

INT(11)

Id of vehicle which
driver driving

FROMCITY

INT(11)

Id of city where to
start trip

PAYMENTID

INT(11)

Id of payment of trip

COUNTRYID

VARCHAR(4)

Id of country where
trip is start

FROMADDRESS
9

VARCHAR(5
0)

address where to
start trip

TOADDRESS
10

VARCHAR(5
0)

address where to
end trip

NOT NULL

April-2015-SE Intake 7B

619

TaxiNet Project | Project Final Report

FPT University

TIMESTART
11

DATETIME

Time of trip when


trip is start

TIMEEND
12

DATETIME

Time of trip when


trip is stop

STARTLATITUDE
13

DOUBLE

Latitude of trip
where to start

STARTLONGITUDE DOUBLE
14

Longitude of trip
where to start

ENDLATITUDE
15

DOUBLE

Latitude of trip
where to stop

ENDLONGITUDE
16

DOUBLE

Longitude of trip
where to start

FEE
17

DOUBLE

Fee of trip

STATUS
18

VARCHAR(2
0)

Status of trip

DISTANCE
19

DOUBLE

Distance between
start point and end
point of trip

4.3.2.28

Table USERGROUP
Table 4-116: USERGROUP

No.

Attribute

April-2015-SE Intake 7B

Type

Constraints

Description

620

TaxiNet Project | Project Final Report

GROUPCODE

VARCHAR(3) NOT NULL,


PRIMARY KEY

The PRIMARY KEY


auto generated by
the system

GROUPNAME

VARCHAR(3 NOT NULL


0)

Name of group

4.3.2.29

FPT University

Table VEHICLE
Table 4-117: VEHICLE

No.

Attribute

VEHICLEID

Type

INT(11)

Constraints

NOT NULL,
PRIMARY KEY

Description

The PRIMARY KEY


auto generated by
the system

INSURANCECERTIFI INT(11)
2 CATE
COMPANYID

INT(11)

Id of company own
this vehicle

3
REGISTRATIONSTA INT(11)
4 MP
CARTYPEID

INT(11)

NOT NULL

Type of vehicle

PRICEPANELID

INT(11)

Price panel of
vehicle

PLATE

VARCHAR(2 NOT NULL


0)

Plate of vehicle

April-2015-SE Intake 7B

621

TaxiNet Project | Project Final Report

FPT University

INTERIORCOLOR

VARCHAR(2
0)

Color inside of
vehicle

EXTERIORCOLOR

VARCHAR(2
0)

Color outside of
vehicle

VARCHAR(4)

Year when vehicle


was design

LISENCEPLATCOUN VARCHAR(4)
11TRY

License in county

LISENCEPLATSTATE VARCHAR(2
12
0)

License in state

LEVEL
13

VARCHAR(4)

Car
level(economy.su
per car )

STATUS
14

VARCHAR(2)

Status of vehicle

9
PRODUCEYEAR
10

4.3.2.30

Table WEKKLYDRIVERSUMMARY
Table 4-118: WEKKLYDRIVERSUMMARY

No.

Attribute

Type

WEKKLYDRIVERSU BIGINT(20)
1 MMARYID
DRIVERID
2

April-2015-SE Intake 7B

Constraints

NOT NULL,
PRIMARY KEY

VARCHAR(5 NOT NULL


0)

Description

The PRIMARY KEY


auto generated by
the system
Id of driver is
summary

622

TaxiNet Project | Project Final Report

FPT University

PROCESSEDDATE

DATETIME

Invoice processed
date

SHAREDFARE

DOUBLE

Total amount Taxi


Net is shared from
driver = (total fare promotionadjustment) *
shared Rate

INVOICESTATUS

VARCHAR(5) NOT NULL

Invoice status

WEEKNO

INT(11)

Number of week of
summary

NUMBERTRIPS

INT(11)

5
NOT NULL

Number of trips was


create

NUMBERDRIVERCA INT(11)
8 NCELLEDTRIPS

Number of trip was


cancel by driver

NUMBERRIDERCAN INT(11)
9 CELLEDTRIPS

Number of trip was


cancel by rider

COMPANYID
10

INT(11)

TOTALFATE
11

DOUBLE

Total fare based on


panel price of the
completed trips by
the drivers

DISTANCE
12

DOUBLE

Distance of all trip

April-2015-SE Intake 7B

NOT NULL

id

623

TaxiNet Project | Project Final Report

ADJUSTAMOUNT
13

FPT University

DOUBLE

Total adjustment
amount which have
done

PROMOTIONAMOU DOUBLE
14NT

Total promotion
amount of the
completed trips

PAYMENT
15

DOUBLE

Total payment paid


for the driver

PAYMENTDATE
16

DATETIME

The Date when the


payment paid to
driver

WEEKNUMBERID
17

BIGINT(20)

Link to
WeekNumber table
(read only attribute,
no insert/update)

ACTUALPAYMENT
18

DOUBLE

Total actual
payments for driver
in the month

CHARGEDAMOUNT DOUBLE
19

Total charged
money into account

DISCOUNTEDAMOU DOUBLE
20NT

Total discounted
money from Taxi Net

4.3.2.31

Table WEEKNUMBER
Table 4-119: WEEKNUMBER

No.

Attribute

April-2015-SE Intake 7B

Type

Constraints

Description

624

TaxiNet Project | Project Final Report

FPT University

WEEKNUMBERID

BIGINT(20)

WEEKNUMBER

INT(11)

FINANCIALYEAR

INT(11)

WEEKSTARTDATE

DATETIME

NOT NULL

WEEKENDATE

DATETIME

NOT NULL

ADJUSTAMOUNT

DOUBLE

NOT NULL,
PRIMARY KEY

6
PROMOTIONAMOU DOUBLE
7 NT
PAYMENT

DOUBLE

PAYMENTDATE

DATETIME

WEEKNUMBERID
10

BIGINT(20)

ACTUALPAYMENT
11

DOUBLE

April-2015-SE Intake 7B

625

TaxiNet Project | Project Final Report

FPT University

CHARGEDAMOUNT DOUBLE
12
DISCOUNTEDAMOU DOUBLE
13NT

4.3.2.32

Table ACCOUNTTRANSACTION
Table 4-120: ACCOUNTTRANSACTION

No.

Attribute

Type

TRANSACTIONI VARCHAR(50)
1D

Constraints

Description

NOT NULL,
PRIMARY KEY

The PRIMARY KEY


auto generated by
the system

NOT NULL

Id of user made
transaction

USERID

VARCHAR(50)

AMOUNT

DOUBLE

Amount of
transaction

TYPE

VARCHAR(4)

Type of transaction

April-2015-SE Intake 7B

626

TaxiNet Project | Project Final Report

FPT University

FPT UNIVERSITY
Capstone Project Document
TaxiNet Project
Report #5 - Introduction
Taxi net
SE02461 inh Quang Dng
SE02939 Ngc Tun

Group Member

01657 Trn Cnh Qun


SE02580 Trng Hong H
SE02895 o Trung Hiu

Supervisor

Nguyn Vn Sang

Ext. Supervisor
Project Code

TaxiNet

- Hanoi, 04/2015-

April-2015-SE Intake 7B

627

TaxiNet Project | Project Final Report

FPT University

Table of Contents
5

SOFTWARE TESTING...............................................................................470
5.1

INTRODUCTION...........................................................................470

5.1.1

Purpose.................................................................................470

5.1.2

System Overview..................................................................470

5.2

TEST PLAN.................................................................................. 471

5.2.1

Scope of testing....................................................................471

5.2.2

Requirement for testing........................................................472

5.2.3

Test strategy.........................................................................475

5.3

Test cases................................................................................... 480

5.4

Checklist..................................................................................... 482

5.4.1

Check list about validation...................................................482

5.4.2

Submission check list...........................................................482

5.5

TEST LOGS..................................................................................484

5.5.1

Defect logs...........................................................................484

5.5.2

Test report............................................................................485

April-2015-SE Intake 7B

628

TaxiNet Project | Project Final Report

FPT University

5 SOFTWARE TESTING
5.1 INTRODUCTION
5.1.1 Purpose

The purpose of this document is to plan all the activities needed to perform testing for the system
including test strategy and test control. This document also defines scope, requirements, and
constraints, risks of testing stages.
5.1.2 System Overview

Taxi net is an online system that can run in both web application and Android devices so it is
flexible and convenient to use every time and everywhere that can connect to the internet. The
system is divided into multiple modules for each specific kind of user. The combination of these
modules makes the workflow of the whole system become unified, so that it can work fluently
- On mobile application, provides those main functions :
1. Driver
Receive And Response Trip Request
Manage Promotion Trip
Manage VIP rider
Send Feedback
Manage Trip History
Manage profile
2. Rider
Send Trip Request
Manage Promotion Trip
Manage VIP Driver
Manage Trip history
Send Feedback
Manage profile
-

On web module, that system provides these main functions:

April-2015-SE Intake 7B

629

TaxiNet Project | Project Final Report

FPT University

1. Driver

Manage prolife and document

Manage trip history

Manage Promotion Trip

Manage Price panel

View List vehicle

View List driver

View Invoices

Register

Login

Logout

2. Rider

Login

Register

Manage Profile

Manage payment

View trip

Find promotion trip

Register promotion trip

April-2015-SE Intake 7B

630

TaxiNet Project | Project Final Report

Reset password

Logout

FPT University

3. Staff

Login

Logout

Manage agent

Manage company

Search and view driver info

View vehicle

4. Agent

Login

Logout

Manage profile

Register

Search and charge account

View dashboard info

April-2015-SE Intake 7B

631

TaxiNet Project | Project Final Report

FPT University

5.2 TEST PLAN


5.2.1

Scope of testing

The scope of testing in the project include:

- Stages of testing: the team has responsibility to conduct Unit testing, Integration testing and
System testing
- Types of testing: The test team have to test functional and user interface testing
- Range of testing: Team performs testing all functions defined in the SRS based on the
approved version. Test cases of each function are defined in the Test cases document that will be
tested to determine if they meet the requirements and intermediate result will also be checked
according to the SRS
5.2.2

Requirement for testing

5.2.2.1Test items
Table 5-121: Test items

Group
of
functio
n

No

Functions

Mobile application
Login

2
3
4
5
6

Driver mobile function

Display Home Current Position


Receive Taxi Request
Do Payment For A Trip
Driver's Profile
View Company Information
Logout

7
April-2015-SE Intake 7B

632

TaxiNet Project | Project Final Report

FPT University

Register A Promotion Trip


8
View Trip History
9
View list VIP Rider
10
View Promotion Trips
11
Add Rider To VIP List
12
View Trip Details
13
Change Password
14
View Promotion Trip details
15
Update Home Address
16
View Payment Information
17
Edit Payment Information
18
Support
19
About US
20
21

Login

22

Register A New Rider

24
25
26
27
28

Rider mobile function

23

Display Nearest Available Taxi


Request A Taxi
View Rider Profile
Edit Rider Profile
Change Rider's Home Address
Change Rider's Office Address

29

Change Rider's Payment Method

30

Display Registered Promotion Trips

April-2015-SE Intake 7B

633

TaxiNet Project | Project Final Report

31

View Promotion Trip Information

32

Register Promotion Trip

33

Find Promotion Trip

34

View Trip History

35

View Favorite Driver

36

Add Favorite Driver To List

37

Change Password

FPT University

Web Application
Login
1
Search Account
2
Charge Account
3

5
6
7
8

Agent Web Function

Search Charging Invoice


View Charging Invoice Details
View Agent Information
Edit Agent Information
Change Password
View Dashboard Information

9
Register a New Agent
10
Logout
11

13

Driver
Web
Functi

12

Register a Driver Company


Login

April-2015-SE Intake 7B

634

TaxiNet Project | Project Final Report

on

FPT University

View Dashboard

14
View Driver's Documents
15
View Trips Invoices
16
View Partner's Invoices
17
View Contact Info
18
Edit Contact Info
19
Change Password
20
Display Vehicles List
21
Add Vehicle
22
View List of Live Vehicles
23
View Map of Live Vehicles
24
List Drivers
25
Add a New Driver
26
View Driver Info
27
View Price Panel List
28
Add Price Panel
29
Edit Price Panel
30
View Price Panel Info
31
Forgot Password
32
Display Promotion Trips
33
Add a Promotion Trip
34
April-2015-SE Intake 7B

635

TaxiNet Project | Project Final Report

FPT University

View Vehicle Details


35
Edit Driver Info
36
Assign Vehicle to Driver
37
Login
38
Logout
39
Display My Trips
40
Register Rider
41
View Rider Profile
42

44
45
46
47

Rider Web Function

43

Update Rider Profile


Change Password
View Payment Info
Edit Payment Info
Update Home Address
Update Office Address

48
Apply Promotion Code
49
View Trip Details
50
Find Promotion Trips
51
Re-set password
52

54
55

Staff Web
Function

53

Login
Search Drivers
View Driver Information

April-2015-SE Intake 7B

636

TaxiNet Project | Project Final Report

FPT University

Approve New Driver


56
Search Company
57
View Company Info
58
Approve New Company
59
Search Company Drivers
60
Display Company's Vehicles List
61
View Vehicle Details
62
Search Staff
63
View Staff Detailed Info
64
Add a New Staff
65
Edit Staff Information
66
Search Agent
67
View Agent Info
68
Approve Agent
69
View Agent Dashboard Information
70
Search Agent's Charged Invoices
71
View Agent's Charged Invoice
72
Search Agent Invoices
73
View Agent Invoice Details
74
Create Agent Invoice
75

April-2015-SE Intake 7B

637

TaxiNet Project | Project Final Report

FPT University

5.2.2.2 Acceptance Test Criteria

System does not have customers to perform acceptance test.

5.2.2.3 Constraints

Duration of testing is from 2-April to 24-April


Testing team only has 2 members
The program run between mobile application and web app, so arising more test case

5.2.2.4 Risk list


The project could face with some risks:

5.2.3

Tester has not familiar with Android OS so that the progress testing is slower than plan,
team may not keep the deadline as plan
Test devices may go off
Lack of time and resources for testing
Test strategy

5.2.3.1Test policy

Test without good faith


Find bugs as soon as possible and always make sure they have been fixed
No outstanding high severity faults
Ensuring the product covers key features and attributes requirements
Ensuring the software fulfills its requirements

5.2.3.2Test model
Using V-Model to implement testing process

April-2015-SE Intake 7B

638

TaxiNet Project | Project Final Report

FPT University

Figure 5-236: V-Model to implement testing process

Due to scope of TAXINET project and project must always fulfill user requirements.
With V-Model, software development is separated into two appropriate phases groups:
development and testing. Testing phase is carried out simultaneously from the early of project,
the requirement specification phase. Therefore, tester could study and understand the entire
requirement as well as business of project
Moreover, there are many variations among planning, design and implementation during
the whole project. To catch up with all changes and ensure logic as well as business, V-model is
chose as a solution to help testers control and follow the actual workflows.
This testing is executed to ensure that all requirements mentioned in SRS, included both
functional requirements and non-functional requirements which are implemented correctly.
-

Technique:

Integration test: Base on requirement in SRS and validation in


database, test team will test as black box testing method to check if the input and
output display as expected and does that flow work fluently
System testing: Based on requirements in SRS, test team will
create scenarios for system testing (ST) to ensure projects business. In ST, tester

April-2015-SE Intake 7B

639

TaxiNet Project | Project Final Report

FPT University

will create test cases based on these scenarios and run to verify functional and nonfunctional requirements.
-

Completion criteria:

o
o
o
o

All planned test cases have been executed compared with expected
result in test cases.
System test cases must be green (passed) at least 97%
All defects must be logged into test documents and re-tested after it
is fixed.
All defects, which are accepted by customer or project technical
leader and project manager, will be marked as accepted and not be retested.
All defects must be resolved or accepted.
These criteria will be applied for all test types.

Special considerations:

Test databases will be required

Testing may be stopped when


Time runs out
A certain number of defects found
Test coverage > 97%
Stop when testing becomes unproductive.
5.2.3.3Type of testing
5.2.3.3.1 Functional Testing
Function testing of the target-of-test should focus on any requirements for test that
can be traced directly to use cases or business functions and business rules. The
goals of these tests are to verify proper data acceptance, processing, and retrieval,
and the appropriate implementation of the business rules. This type of testing is
based upon black box a 1application via the Graphical User Interface (GUI) and
analyzing the output or results. Identified below is an outline of the testing
recommended for each application
Table 5-122: Functional testing

April-2015-SE Intake 7B

640

TaxiNet Project | Project Final Report

Test
Objective:

FPT University

The type of this test is to ensure proper target-of-test


functionality, including user interaction, all function defined in
specification document implemented correctly.
5.2.3.3.2
User

Technique:

The test team will execute each use case, use-case


flow, or function, using valid and invalid data, to verify
the following:

The expected results occur when valid data is used.

The appropriate error or warning messages are


displayed when invalid data is used.
Each business rule is properly applied.
All planned tests have been executed.
Completion
Criteria:

All identified defects have been addressed and closed


Testing may be stopped when

Special
Considerations
:

Time runs out


A certain number of defects found
Test coverage > 97%
Stop when testing becomes unproductive

Interface Testing
User Interface (UI) testing verifies a users interaction with the software. The goal of
UI testing is to ensure that the User Interface provides the user with the appropriate
access and navigation through the functions of the target-of-test. In addition, UI
testing ensures that the objects within the UI function as expected and conform to
corporate or industry standards.

Verify the following: Navigation through the target-of-test


properly reflects business functions and requirements, including
Test Objective:
window-to-window, field-to-field, and use of access methods
(tab keys, mouse movements, accelerator keys

Create or modify tests for each page to verify proper


April-2015-SE
Technique: Intake 7B
navigation and object states for each page

Completion
Criteria:

Each window successfully verified to remain consistent


with benchmark version or within acceptable standard

Table
5-123:
User
Interface
testing

641

TaxiNet Project | Project Final Report

FPT University

5.2.3.4Test stage
Clearly state the stage in which the test will be executed. Identified below are the
stages in which common test are executed
Table 5-124: Test stages
Table 5-125: Test stage

Type of Tests

Stage of Test
Unit

Function Test

User Interface test

Purpose

Integration
x

x
x

Tool

Access to website

System

Vendor/I
n-house

Version

Chrome

Table
5-126:
Tools

Firefox
Run the software

Android OS
device

5.2.3.5T
o
o
l
s

Android OS 4.1.2
or higher

Keep tracking
defects

MS Word

Office 2010 &


2013

Test Plan Intake 7B


April-2015-SE

MS Word

Office 2010 &


2013

Test Case, Test


Report

MS Excel

Office 2010 &


2013

642

TaxiNet Project | Project Final Report

FPT University

5.2.3.6Resources
This table shows the staffing assumptions for the project.
Table 5-127: Human resource

Worker/Doer

Specific Responsibilities/Comments
-

o Trung Hiu
Ngc Tun

Manage Test resource and assign test tasks


Create Test Plan
Review Test Cases
Create Test Report
Execute Test

This table shows the device resource for the project.


Table 5-128: Device resource

Device

Specific Responsibilities/Comments
-

Run driver and rider mobile application

Nexus 7,
Asus Zenfone 5,
HTC one9

April-2015-SE Intake 7B

643

TaxiNet Project | Project Final Report

FPT University

5.3 Test cases


Below are some simple test case about Home screen, Reference to:

Driver-Android-TestCase.xls

Rider-Android-TestCase.xls

WEB-Agent_Test_Case.xls

WEB-Driver_Test_Case.xls

WEB-Rider_Test_Case.xls

WEB-Staff_Test_Case.xls

Test case ID

Test case Title


Home

Test procedure

- User role: Driver


- Pre-condition: The Home screen is displayed

[Home-1]

Test [Map] Screen

[Home-2]

Display Map
around Driver's
Position

[Home-3]

Update current
status of driver

1. Move Android device over 10m.


Wait 10 sec

Receive trip
Request from
rider

1. Rider send an taxi request to driver

[Home-4]

April-2015-SE Intake 7B

644

TaxiNet Project | Project Final Report

FPT University

1. Rider send an taxi request to driver

[Home-5]

Function accept
Taxi request

[Home-6]

Function picked
rider

[Home-7]

Function cancel
request after
receive request

1. Rider send a taxi request to driver


2. Tap on [Cancel] button

Function cancel
request after
accept request

1. Rider send a taxi request to driver


2. Tap on [Cancel] button

receive promotion
trip Request from
rider

1. Rider send a promotion trip request to driver

[Home-8]

[Home-9]

April-2015-SE Intake 7B

2. Tap on [Accept] button

1. Rider send a taxi request to driver


2. Tap on [Picked] button

645

TaxiNet Project | Project Final Report

FPT University

5.4 Checklist
5.4.1 Check list about validation
Table 5-129: Validation check list

Question

Yes

No

N/A

If the user enters an invalid value and clicks on


the OK button is the invalid field identified and
highlighted correctly with an error message?
Do all mandatory fields require user input?
For all numeric fields check whether negative
numbers cannot and should not be able to be
entered.
Does username require the right form of an
email?
Can input password less than 6 characters?
Can edit mandatory fields?

5.4.2 Submission check list

Table 5-130: Submission check list

Question

Yes

No

N/A

TABLES AND FIGURES


Does every table column, including the stub
column, have a heading?

Are all tables referred to in text?

Is lettering in a figure no smaller than 12 points

April 2015- SE

646

TaxiNet Project | Project Final Report

FPT University

and no larger than 14 points?


Are all figures and tables mentioned in the text
and numbered in the order in which they are
mentioned?

REFERENCES
Are references cited both in text and in the
reference list?

Do the text citations and reference list entries


agree both in spelling and in date?

Are website links in the reference list typed fully?

Have all referenced information noted with their


sources?

FORMAT
Do all pages have header and footer?

Does margin display as: Top: 2.5cm, Bottom:


2.5cm, Left: 3.5cm, Right: 2cm for the whole
report?

Is Time New Roman font used for the whole


report?

Are all pages numbered in sequence, starting with


the title page?

PARAGRAPHS AND HEADINGS


Is each paragraph longer than a single sentence
but not longer than one manuscript page?

Are all paragraph distributed as justify format?

Does all normal text have font size as 12point?

Is the line spacing multiple at 1.15 for the whole


report?

Do the levels of headings accurately reflect the


organization of the report?

April 2015- SE

647

TaxiNet Project | Project Final Report

Do all headings of the same level appear in the


same format?

FPT University

USABILITY
Are the entire field prompts spelt correctly?

Are fonts too large or too small to read?

Are names in command button & option box


names are not abbreviations.

Assure that option boxes, option buttons, and


command buttons are logically grouped together
in clearly demarcated areas "Group Box"

Can the typical user run the system without


frustration?

Does the site have a consistent, clearly


recognizable "look-&-feel"?

Is all terminology understandable for all of the


sites intended users?

USER INTERFACE TESTING-COLOR


Are hyperlink colors standard?

Are the field prompts the correct color?

Are the field backgrounds the correct color?

Are the screen and field colors adjusted correctly


for non-editable mode?

Does the site use (approximately) standard link


colors?

Are all the buttons are in standard format and


size?

Is the general screen background the correct


color?

Is the page background (color) distraction free?

April 2015- SE

648

TaxiNet Project | Project Final Report

FPT University

USER INTERFACE TESTING-CONTENT


All fonts to be the same

Are all the screen prompts specified in the correct


screen font?

Is all text properly aligned?

Is the text in all fields specified in the correct


screen font?

Is all the headings left aligned?

Does the first letter of the second word appear in


lowercase?

April 2015- SE

649

TaxiNet Project | Project Final Report

FPT University

5.5 TEST LOGS


5.5.1 Defect logs
Table 5-131: Defect logs

April 2015- SE

650

No

Modul
e
name

Defec
Statu
Priority
t
s

TaxiNet
Final Report
1
TripProject1 | Project
Medium
Open
history
details

View
Agent
Informat
ion

Medium

Open

Agent
Login

Medium

Open

Charge
Account

Medium

Open

Edit
Agent
Informat
ion

Medium

Open

Change
Passwor
d

Medium

Open

Register
new
agent

Medium

Open

Live
Status

Medium

Open

Staff
search
agent

Medium

Open

10

Rider
profile

11

Staff
agent
info

Medium

Open

Medium

Open

12 Price
PanelSE
April 2015List

Assign to

Fix on

Retest
on
FPT University

651

TaxiNet Project | Project Final Report

FPT University

5.5.2 Test report

Project Name
Project Code
Document Code

April 2015- SE

Taxi Net Project

Creator

TaxiNet

Reviewer/Appro
ver
Issue Date

HieuDT,HaTH
SangNV
April 20th
2015

652

No

Module code

Pass

Fail

Unteste
d

N/A

Number
of test
cases

TaxiNetApplication
Project | Project Final Report
Mobile

FPT University

Driver Mobile Function


1

Login

10

10

Home

19

19

Profile

19

19

Change password

12

12

Change home address

11

11

Company information

Promotion Trip

15

15

Promotion Trip Rider

11

11

Register promotion trip

19

1
0

Trip history

10

10

1
1

Trip history details

11

11

1
2

Vip rider

11

11

1
3

Payment

1
4

About Us

1
5

Support

10

10

10

10

Table
5-132:
Test
Result

MINISTRY
AND
0
0OF EDUCATION
0
19
TRAINING

Rider Mobile Function


1

Login

Register

Home

20

20

Profile

18

18

April 2015- SE

10

10

Change password

Change Office address

653

TaxiNet Project | Project Final Report

FPT University

FPT UNIVERSITY

CAPSTONE PROJECT DOCUMENT


<TaxiNet System >
Report #6 User's Manual Documents
<TaxiNet >
SE inh Quang Dng
SE Trng Hong H
Group Member

SE o Trung Hiu
SE Ngc Tun
SE Trn Cnh Qun

Supervisor

Mr. Nguyn Vn Sang

Ext. Supervisor
Project Code

April 2015- SE

TaxiNet System

654

TaxiNet Project | Project Final Report

FPT University

- Hanoi, 05/2012 -

Table of Contents
1

INSTALLATION GUIDE............................................................................. 492


1.1

Purposes.......................................................................................... 492

1.2

Environments................................................................................... 492

1.3

Application Installation....................................................................493

1.3.1

Download from Google Store

493

1.3.2

Copy directly to Android Devices493

USER's GUIDE......................................................................................... 493


2.1

Purposes.......................................................................................... 493

2.2

Functional Description.....................................................................493

2.3

Detailed Guidelines..........................................................................495

2.3.1

Rider - Mobile Application 495

2.3.2

Driver - Mobile Application

2.3.3

Basic Access - Web Application 517

2.3.4

Rider - Web Application

2.3.5

Driver - Web Application 530

2.3.6

Agent - Web Application

2.3.7

Admin - Web Application 546

April 2015- SE

505

521

541

655

TaxiNet Project | Project Final Report

FPT University

PROJECT RESULT REPORT.......................................................................551


3.1

Product Judging................................................................................ 551

3.1.1

Advantages of TaxiNet System

551

3.1.2

Current limitations of TaxiNet System : 551

3.1.3

Expectations in the future :

551

3.2

Project Summary............................................................................. 552

3.3

Lessons Learnt.................................................................................552

April 2015- SE

656

TaxiNet Project | Project Final Report

FPT University

6 SOFTWARE USERS MANUALS


6.1 INSTALLATION GUIDE
6.1.1 Purposes
This document contains guidelines for user to installing this application to use it.
6.1.2 Environments
Hardware required for using these applications
For Android Apps
Name

Android 4.3 devices

Purpose

Devices for using


this application

Detail
1. RAM and processor are
fixed for each devices
( >= 2GB RAM)
2. Memory storage : 2GB
or higher

For Web Applications


Name

Purpose

Windows 7/8/8.1 pc

Devices for using


this application

MacOS
10.8/10.9/10.10

Devices for using


this application

Ubuntu (12/13/14)

Devices for using


this applications

April 2015- SE

Detail
1. RAM and processcor are
fixed for each devices
( >= 2GB RAM, core i3
or higher )
2. Browser : Google
Chrome, Firefox, Opera,
Internet Explorer
1. RAM and processors are
fixed for each devices
(>=2GB RAM, core i3 or
higher )
2. Browser : Opera,
Safari,Google Chrome
1.RAM and processors are
fixed for each devices
(>=2GB RAM, core i3 or

657

TaxiNet Project | Project Final Report

FPT University

higher )
2.Browser : Chromium,Firefox

6.1.3 Application Installation


6.1.3.1Download from Google Store
After we upload this android application to Google Store, users can be search and
download it from there.There are detailed step by step :
( You need connect to Wifi or 3G before follows these steps )
1.
2.
3.
4.
5.

Open Google Store ( tap to Google Store icon on your Android Device )
In Search Bar, type TaxiNet
Google Store will be displayed apps which match TaxiNet
Tap on the TaxiNet Applications with creator is TaxiNet Team
Google Store will displayed detail of the TaxiNet Applications, tap on
Install button
6. Wait some minutes and this applications will be downloaded and auto
installed
6.1.3.2Copy directly to Android Devices
Users can use this way if their devices cant connect to Google Store to download
this applications.The pre-conditions devices have to be ROOT
1. Get the TaxiNet.apk file
2. Connect Android device to computer
3. Install APK file by your manager file applications

6.2 USER's GUIDE


6.2.1 Purposes
These guidelines are the instructions of general steps for users to use all functions
of
TaxiNet application.

April 2015- SE

658

TaxiNet Project | Project Final Report

FPT University

6.2.2 Functional Description


TaxiNet applications are include : Android Applications for Customer and Drivers,
Web Applications for Taxi Groups, Fee Agent and Administrator
Android Application :
Customers :
1. Register account
2. Login/logout
3. Search taxi nearby
4. Call direct to taxi driver
5. Show history/transactions
6. Search for promotions trips
7. Edit user profile
8. Manage Favourite Taxi Drivers
9. Change password/recovery password
Taxi Drivers :
1. Login/log out
2. Accept request of customers
3. Show history/transactions
4. Create promotion trips
5. Edit user profile
6. Manage Favourite Customer
7. Payment
8. Change password/recovery password
Web Application :
Fee Agent
1. Register account
2. Login/logout
3. Search accounts by name or email
4. Add balances to accounts
5. Print invoices
6. Edit user profile
7. Change password/recovery password
8. Show transactions history
Taxi Group
1. Register account
2. Login/logout
3. Upload documents ( company documents/vehicles documents/drivers
documents )
4. Create taxi drivers
5. Show list of drivers
6. Edit taxi drivers info
7. Create vehicles
8. Show list of vehicles

April 2015- SE

659

TaxiNet Project | Project Final Report

FPT University

9. Edit vehicles Info


10.
Assign vehicles for drivers
11.
Dashboard
12.
Manage invoices
13.
Live Status of drivers and vehicles
14.
Edit user profile
15.
Change password / recovery password
16.
Add/manage price panels
17.
Search promotion trips
Administrator
1. Login
2. Search drivers
3. Search Company
4. Search Companys drivers
5. Search Companys vehicles
6. Review documents
7. Search Staff
8. Add new staff
9. Edit staff information
10.
Search Agent
11.
View/edit Agent information
12.
Search invoices
13.
View invoices

6.2.3 Detailed Guidelines


6.2.3.1Rider - Mobile Application
6.2.3.1.1 UC01-01 - Login
Step 1: Tap on T-net

April 2015- SE

icon on screen

660

TaxiNet Project | Project Final Report

FPT University

Figure 6-237: Login

Step 2: Type Email on Email field, Password on Password filed


Step 3: Tap on ng nhp (Or Login) Button
6.2.3.1.2 UC01-02 Register a new rider
Step 1: On Login screen(see Figure 1), tap on ng k(Or Register)
button

Figure 6-238 : Register

April 2015- SE

661

TaxiNet Project | Project Final Report

FPT University

Step 2: Type Email on Email field, type Password on Password field, retype
password on Confirm Password field, type First name on First name field, type
Last name on Last name field, type Phone Number on Phone Number field
Step 3: Tap on Checkbox: I agree with term
Step 4: Tap on ng k(Or Register) button
6.2.3.1.3 UC01-03 Display Nearest Available Taxi
Step 1: Login to T-Net(UC01-01)

Figure 6-239: Display nearest


Taxi

April 2015- SE

662

TaxiNet Project | Project Final Report

FPT University

6.2.3.1.4 UC01-04 Request a Taxi


Step 1: On Map screen (Figure 2-3), tap on a Driver Marker Send request Step 1
Screen(Figure 2-4)
Step 2: Pick Start Point: There are 2 ways to pick address:
The First: You enter place on Enter Place Textbox on the top
(Figure 2-6.2), suggestion will be displayed (Figure 2-6.3). And
then you choose a suggestion, the screen will be liked on Figure 26.4. Address will be displayed as Marker title. You tap to Pick
button on the bottom right.
o The second: You can tap in Google Map to point your address
(Figure 2-6.4). Address will be displayed as Marker title. You tap to
Pick button on the bottom right.
Step 3: Pick End Point
o

Step 4: After picked 2 points, the screen will be like Figure 2-7
Step 5: Tap on Trip Info button to see Trip Information: Distance and fee
estimated (Figure 2-8)
Step 6: Tap on Send request button do send request to driver Sent request to
driver screen ((Figure 2-9)

If driver accepted request, Driver accepted request screen will be shown


(Figure 2-10)
If driver cancelled request, Driver cancelled request will be shown
(Figure 2-11)
When trip completed, a message will be shown (Figure 2-12)

April 2015- SE
Figure 6-240: Pick a
Taxi

663
Figure 6-241: Pick
Start point

Figure 6-242: Pick End


point

TaxiNet Project | Project Final Report

Figure 6-243: Picked 2


points

Figure 6-246:
Request accepted

Figure 6-244: Trip Detail

Figure 6-247:
Request
cancelled

FPT University

Figure 6-245; Sent request

Figure 6-248: Trip


completed

6.2.3.1.5 UC01-05 View Rider Profile


Step 1: Tap on Menu bar

April 2015- SE

icon on the top left

664

TaxiNet Project | Project Final Report

Step 2: Tap on big icon

FPT University

on the top left (Figure 2-13)

Step 3: Profile screen will be display (Figure 2-14)

Figure 6-249: Menu bar

Figure 6-250: Profile

6.2.3.1.6 UC01-06 Edit Rider Profile


Step 1: On Rider Profile Screen, tap on Edit

button on top right (Figure 2-14)

Step 2: Enter field you want to edit (First name, Last name, email, phone number)
Step 3: Tap on Save

April 2015- SE

button on top right

665

TaxiNet Project | Project Final Report

FPT University

Figure 6-251: Edit Profile

6.2.3.1.7 UC01-07 Change Rider Home Address


Step 1: On Rider Profile Screen, tap on first field on Usual place Pick Address
Screen( Figure 2-17)
Step 2: If the change success, rider profile will be displayed with updated
information. If not, error message will be shown.

Figure 6-252: Profile Screen

April 2015- SE

Figure 6-253: Enter Place

666

TaxiNet Project | Project Final Report

Figure 6-255: Choose place


suggestion

FPT University

Figure 6-254: Choose place


suggestion

6.2.3.1.8 UC01-08 Change Rider Office Address

Step 1: On Rider Profile Screen, tap on second field on Usual place Pick Address
Screen( Figure 2-6.2)
Step 2: Do the same things like UC01-07

April 2015- SE

667

TaxiNet Project | Project Final Report

FPT University

Figure 6-256: Change Office

6.2.3.1.9 UC01-09 Find


Promotion Trip
Address

Step 1: On Menu bar Screen (Figure 2.4.1), tap on Find Promotion Trip button
Step 2: Find Promotion Trip screen will be displayed
Step 3: Youll choose Pickup address. You can pick address by 2 ways (see in 2.3.7
UC01-07)
Step 4: After picking address, you tap on Pick up here
Step 5: The screen will be changed to next step (Figure 2.8-2). You pick address,
then tap on Stop here button Other Settings Screen will be shown (Figure 2.8-3)
Step 6: In this screen, you tap on the Number of seat text field to enter number
of people maybe join the trip. After that, you tap on Time text field to choose the
day you want to go. Then tap on Find promotion trip button
Step 7: If no promotion trip found, alert message will be show, and if we found
trips, list of trips will be shown.

Figure 6-257: Pick Start


Address

April 2015- SE

Figure 6-258: Pick End


Address

Figure 6-259: Enter other


setting

668

TaxiNet Project | Project Final Report

6.2.3.1.10

FPT University

UC01-10 View Promotion Trip Detail

Step 1: After finding a promotion trip (UC01-09), if we found trips, list of trips will
be shown. (Figure 2-24).
Step 2: On List Promotion trip screes, tap on a Promotion trip
Step 3: Promotion trip detail will be shown(Figure 2-25)

Figure 6-261: promotion Trip Detail


Figure 6-260: List Promotion

6.2.3.1.11
Trip

UC01-11 Register promotion trip

Step 1: On Promotion trip Detail screen (Figure 2-25), click on Register button
Step 2: Request will be sent to the trip owner
Step 3: A result message will be shown

6.2.3.1.12

UC01-12 View List Registered promotion trip

Step 1: On Menu bar (Figure 2.13), tap on Promotion trip button


Step 2: List Promotion trip that you registered will be shown. Tap on a Trip to see
its detail information.

April 2015- SE

669

TaxiNet Project | Project Final Report

FPT University

Figure 6-262: List Registered Promotion Trip

6.2.3.1.13

UC01-13 View Trip History

Step 1: On Menu bar (Figure 2.13), tap on Trip History button


Step 2: The list trip that you joined in today and yesterday will be shown
Step 3: Tap on a trip to see its detail information.

Figure 6-263: History trip

April 2015- SE

Figure 6-264: Trip Detail

670

TaxiNet Project | Project Final Report

6.2.3.1.14

FPT University

UC01-14 Add Favourite Driver

Step 1: On Trip Detail Screen( Figure 2-28), tap on Add Favorite Driver Button
Step 2: Result message will be shown.
6.2.3.1.15

UC01-15 View Favorite Driver

Step 1: On Menu Bar(Figure 2-4.1). tap on Favorite Driver button


Step 2: List Favorite Driver will be shown

6.2.3.1.16

UC01-16 Logout

There are 2 ways to logout:

Figure 6-265: Favorite


Driver

The first way:


On Menu Bar(Figure 2-4.1). tap on Logout button
The second way:
Go to Profile, tap on Log out button

April 2015- SE

671

TaxiNet Project | Project Final Report

FPT University

Figure 6-266: Logout

6.2.3.2Driver - Mobile Application


6.2.3.2.1 UC02-01 Login
Step 1: Tap on T-net

icon on screen

Step 2: Type Email on Email field, Password on Password filed


Step 3: Tap on ng nhp (Or Login) Button

Figure 6-267: Login

April 2015- SE

672

TaxiNet Project | Project Final Report

FPT University

6.2.3.2.2 UC02-02 Display Home Current Position


Step 1: After Login to system(UC02-01), current position of driver will be
shown on map Screen

Figure 6-268: Current Position

6.2.3.2.3 UC02-03 Receive Taxi request


Step 1: When a request was sent to Driver, the position of rider will be
displayed (Figure )
Step 2: Tap on Cancel to cancel request,, or tap Accept to accept the request
Receive request 2 screen
Step 3: Tap on Cancel to cancel request, or tap Picked when you picked rider
Payment screen

April 2015- SE

673

TaxiNet Project | Project Final Report

Figure 6-271: Receive

Figure 6-270: Receive

FPT University

Figure 6-269: Payment

request
6.2.3.2.4
for2 a trip
request UC02-04 Do Payment

When on a trip, the distance and fee will be automatically calculated


Step 1: When trip complete, on Payment Screen (Figure 2-35), tap on Pay
button on the bottom.
Step 2: If success, the map screen will be displayed, if not, error message will be
shown.
6.2.3.2.5 UC02-05 View Driver Profile
Step 1: Tap on Menu bar

Step 2: Tap on big icon

icon on the top left

on the top left (Figure )

Step 3: Profile screen will be display (Figure )

April 2015- SE

674

TaxiNet Project | Project Final Report

Figure
6-273: Menu
6.2.3.2.6
UC02-06
Viewbar
CompanyFigure
Info 6-272: Profile 2

FPT University

Figure 6-274: Profile 2

Step 1: Tap on Company Information button on Profile screen (Figure 2-36) or on


Menu bar
Step 2: Company info screen will be shown

Figure 6-275: Company Info

April 2015- SE

675

TaxiNet Project | Project Final Report

FPT University

6.2.3.2.7 UC02-07 Register a promotion trip


Step 1: Tap on Promotion trip on Menu bar Promotion trip screen will be shown
Step 2: Tap on Register
will be shown

button om the top right Pick address screen

Step 3: There are 2 ways to pick address:


The First: You enter place on Enter Place Textbox on the top
(Figure 2-6.2), suggestion will be displayed (Figure 2-6.3). And
then you choose a suggestion, the screen will be liked on Figure 26.4. Address will be displayed as Marker title. You tap to Pick
button on the bottom right.
o The second: You can tap in Google Map to point your address
(Figure 2-6.4). Address will be displayed as Marker title. You tap to
Pick button on the bottom right
Step 4: After pick Start Point and End Point, Other Settings Screen will be shown.
Tap on Number of seat field to enter capacity, Fee to enter cost of the trip,
Time to choose the day trip start.
o

Step 5: Tap on Complete Register button to complete registering Promotion trip


Step 6: Result message will be shown

Figure 6-276:Pick

April 2015- SE

Start Point

676

TaxiNet Project | Project Final Report

FPT University

Figure 6-277: Pick


End Point

Figure 6-278: Choose


other setting

April 2015- SE

677

TaxiNet Project | Project Final Report

6.2.3.2.8 UC02-08 View promotion trip


Step 1: Tap on Promotion trip button on Menu bar
Step 2: Promotion trip screen will be shown

Figure 6-279: List Promotion Trip

6.2.3.2.9 UC02-09 View VIP riders list


Step 1: On Menu bar, tap on VIP Riders button
Step 2: VIP Rider screen will be shown

April 2015 SE Intacke 7B

Page 678

FPT University

TaxiNet Project | Project Final Report

Figure 6-280: VIP Riders

6.2.3.2.10

UC02-10 View trip history

Step 1: On Menu bar, tap on Trip History button


Step 2: Trip History screen will be shown

April 2015 SE Intacke 7B

Page 679

FPT University

TaxiNet Project | Project Final Report

Figure 6-281: Trip History

6.2.3.2.11

UC02-11 View trip history detail

Step 1: On Trip History Screen, tap on a trip


Step 2: Trip History screen will be shown

April 2015 SE Intacke 7B

Page 680

FPT University

TaxiNet Project | Project Final Report

FPT University

Figure 6-282: Trip Detail

6.2.3.2.12

UC02-12 Add VIP rider

Step 1: On Trip detail Screen, tap on Add to VIP rider button


Step 2: Result message will be shown

6.2.3.2.13

UC02-13 Change password

Step 1: On Profile screen (Figure 2-36), tap on Change Password button to change
current password. Change password screen will be shown.
Step 2: Type current password on Old Password field, new password on New
Password field, re-type New Password on Confirm Password field then tap on
Change Password button to change current password. New password will be sent
to email.

April 2015 SE Intacke 7B

Page 681

TaxiNet Project | Project Final Report

FPT University

Figure 6-283: Change password

6.2.3.2.14

UC02-14 Update Home Address

Step 1: At Profile screen, tap on Usual Place field, tap on Home Address Button
Pick Address screen
Step 2: After pick an address, tap son Save button.
Step 3: Result message will be shown.

April 2015 SE Intacke 7B

Page 682

TaxiNet Project | Project Final Report

Figure 6-284: Profile Screen

6.2.3.2.15

FPT University

Figure 6-285: Pick address

UC02-15 View Rider registration

Step 1: On Menu bar, tap on Promotion button Promotion Trip Screen (Figure
2.50)
Step 2: Tap on a Promotion trip
Step 3: Tap Accept button to accept the registration, Reject button to cancel the
registration screen (Figure 2-51)

April 2015 SE Intacke 7B

Page 683

TaxiNet Project | Project Final Report

Figure 6-286: List Promotion Trip

6.2.3.2.16

FPT University

Figure 6-287: Registration

UC02-16 Logout

There are 2 ways to logout:


Step 1: The first way:
On Menu Bar(Figure 2-36), tap on Logout button
Step 2: The second way:
Go to Profile, tap on Log out button

April 2015 SE Intacke 7B

Page 684

TaxiNet Project | Project Final Report

Figure 6-288: Logout

April 2015 SE Intacke 7B

Page 685

FPT University

TaxiNet Project | Project Final Report

FPT University

6.2.3.3Basic Access - Web Application


6.2.3.3.1.1

Access to Main page

TaxiNets Website can be accessed by using any browser. Open browser then enter
the following address: http://localhost:8080/TN/faces/MainPage.xhtml

Figure 6-289: Home page

Main page will appear to where user can Login or Create an account.
6.2.3.3.1.2

Create an Account

An account is required to login to the TaxiNet. Here are steps to create one:
Step 1: From main page, click

button. User will be redirected to

Step 2: Select values from dropdown lists. User need to choose business
type before they can register

April 2015 SE Intacke 7B

Page 686

TaxiNet Project | Project Final Report

FPT University

Figure 6-290: Pre-Register page

Step 3: Click

button to continue to the detail

registration
Step 3: Enter all required information into the registration. All information
must be exact

April 2015 SE Intacke 7B

Page 687

TaxiNet Project | Project Final Report

Figure 6-291: Main Register page 1

Figure 6-292: Main Register page 2

April 2015 SE Intacke 7B

Page 688

FPT University

TaxiNet Project | Project Final Report

Step 4: Click

FPT University

button. If all required information are valid. Account

will be created and user will be redirect to the Login page


6.2.3.3.1.3

Login

User can login to function page by enter their account. All type of account have the
similar login method
Step 1: From main page. Click

button

Step 2: Choose account type. There are four types of user correspond to four
types account.
Step 3: Enter Email and Password then click

button

Figure 6-293: Login page

6.2.3.3.1.4

Forgot password

Forgot password can be restored through email


Step 1: From login page, click Forgot password? link. User will be redirected
to Forgot Password interface

April 2015 SE Intacke 7B

Page 689

TaxiNet Project | Project Final Report

FPT University

Figure 6-294: Forgot Password page

Step 2: Enter email that use for registering then click

April 2015 SE Intacke 7B

Page 690

button

TaxiNet Project | Project Final Report

FPT University

Figure 6-295: Success reset password

Upon success, user will be announced to get new password on their email
6.2.3.4Rider - Web Application
6.2.3.4.1.1

UC05-03 & UC05-12 - View my trips & detail

User can search all trips in the past with the given criteria.
Step 1: Get to the My Trips interface by selecting Trip History on the menu
bar
Step 2: Enter needed criteria for searching then click

April 2015 SE Intacke 7B

Page 691

button

TaxiNet Project | Project Final Report

Figure 6-296: My Trip page

Step 3: For detail information of a trip, click Detail link

April 2015 SE Intacke 7B

Page 692

FPT University

TaxiNet Project | Project Final Report

Figure 6-297: Trip Detail dialog

April 2015 SE Intacke 7B

Page 693

FPT University

TaxiNet Project | Project Final Report

6.2.3.4.1.2

FPT University

UC05-05 - View rider profile

User can see their profile with full information


Step 1: Get to the Profile interface by selecting Profile on the menu bar.
Information will be displayed automatically

Figure 6-298: Profile page

6.2.3.4.1.3

UC05-06 - Update rider profile

From Profile interface, user can update their profile


Step 1: Click on information field. Change information by enter new value or
select value in the dropdown list
Step 2: Click

April 2015 SE Intacke 7B

button

Page 694

TaxiNet Project | Project Final Report

FPT University

Figure 6-299: Update General Information successfully

6.2.3.4.1.4

UC05-08 - View payment information

User can see all payment method and other information.


Step 1: Get to the Payment interface by selecting Payment on the menu
bar. Payment methods will be display automatically

April 2015 SE Intacke 7B

Page 695

TaxiNet Project | Project Final Report

Figure 6-300: Payment page

6.2.3.4.1.5

UC05-09 - Edit payment method

From list of payment method, user can edit payment information.


Step 1: Click Edit link
Step 2: Change needed information
Step 3: Click

April 2015 SE Intacke 7B

button

Page 696

FPT University

TaxiNet Project | Project Final Report

FPT University

Figure 6-301: Payment Detail dialog

6.2.3.4.1.6

Delete payment method (Not it UC)

From list of payment method, user can delete payment method.


Step 1: Choose a payment method
Step 2: Click Delete link on selected payment method. A dialog will appear
to confirm user decision
Step 3: Confirm to delete the payment method

April 2015 SE Intacke 7B

Page 697

TaxiNet Project | Project Final Report

FPT University

Figure 6-302: A dialog to confirm payment deletion

6.2.3.4.1.7

Add payment method (Not in UC)

User can add more payment method.


Step 1: Get to the Payment interface by selecting Payment on the menu bar
Step 2: Click

button. A dialog with empty fields will appear

Step 3: Enter all required information for new payment method then click
button

April 2015 SE Intacke 7B

Page 698

TaxiNet Project | Project Final Report

FPT University

Figure 6-303: Add Payment dialog

6.2.3.4.1.8

UC05-10 - Update current address

From Profile interface, user can update their home and office address
Step 1: Click on information field. Change information by enter new value
Step 2: Click

April 2015 SE Intacke 7B

button

Page 699

TaxiNet Project | Project Final Report

FPT University

Figure 6-304: Update Current Address successfully

6.2.3.4.1.9

UC05-13 - Find promotion trips

User can search all promotion trip or by specific criteria.


Step 1: Get to the Find Promotion Trip interface by selecting Find Promotion
Trip on the menu bar
Step 2: Enter needed criteria for searching then click

April 2015 SE Intacke 7B

Page 700

button

TaxiNet Project | Project Final Report

FPT University

Figure 6-305: Promotion Trip page

6.2.3.5Driver - Web Application


6.2.3.5.1.1

View dashboard (Not in UC)

User can view general information, statistic about trips and driver through
Dashboard interface
Step 1: Get to the Dashboard interface by selecting Dashboard on the
menu bar
Step 2: User can choose number of displayed data records by choosing value
in
dropdown list

April 2015 SE Intacke 7B

Page 701

TaxiNet Project | Project Final Report

FPT University

Figure 6-306: Dashboard page

6.2.3.5.1.2

Delete driver (Not in UC)

From Drivers interface, user can delete driver.


Step 1: Choose a driver.
Step 2: Click Delete link. A dialog will appear to confirm user decision
Step 3: Confirm to delete the driver

April 2015 SE Intacke 7B

Page 702

TaxiNet Project | Project Final Report

FPT University

Figure 6-307.Delete Driver successfully

6.2.3.5.1.3

View Document (Not in UC)

User can view business certificate and other relate document through Document
interface.
Step 1: Get to the Document interface by select Document on menu bar

Figure 6-308.Document page

April 2015 SE Intacke 7B

Page 703

TaxiNet Project | Project Final Report

6.2.3.5.1.4

FPT University

UC04-01 - View drivers

User can view all current driver of the company


Step 1: Get to the Drivers interface by selecting Drivers on the menu bar.
List of current driver will be displayed automatically

Figure 6-309: Drivers page

Step 2: For detail view, click

April 2015 SE Intacke 7B

icon on selected driver

Page 704

TaxiNet Project | Project Final Report

FPT University

Figure 6-310.Driver Detail Information dialog

6.2.3.5.1.5

UC04-07 - View Promotion Trip List

User can search all active vehicle


Step 1: Get to the Promotion Trip List interface by select Register for
Promotion Trip on menu bar
Step 2: Enter needed criteria for searching then click

April 2015 SE Intacke 7B

Page 705

button

TaxiNet Project | Project Final Report

FPT University

Figure 6-311: Promotion Trip page

6.2.3.5.1.6

UC04-08 - View Vehicle List

User can search all active vehicle


Step 1: Get to the Vehicle list interface by select Vehicle on menu bar
Step 2: Enter needed criteria for searching then click

April 2015 SE Intacke 7B

Page 706

button

TaxiNet Project | Project Final Report

FPT University

Figure 6-312: Vehicle page

6.2.3.5.1.7

UC04-09 - Add driver

User can add more driver.


Step 1: Get to the Drivers interface by selecting Drivers on the menu bar
Step 2: Click

button. Redirect Add New Driver page

Step 3: Enter all required information for new driver then click

April 2015 SE Intacke 7B

Page 707

button

TaxiNet Project | Project Final Report

FPT University

Figure 6-313: Add New Driver page

6.2.3.5.1.8

UC04-10 & UC04-11 - View live status

User can view current status of all drivers, their vehicle plate and current location
Step 1: Get to the Live Status interface by selecting Live Status on the
menu bar. Driver information will be displayed automatically as a data table.

April 2015 SE Intacke 7B

Page 708

TaxiNet Project | Project Final Report

FPT University

Figure 6-314: Live Status page (in Default tab)

Step 2: Switch to Map View by Clicking Map tap. A map will appear with
current location of drivers

Figure 6-315: Live Status page (in Map tab)

April 2015 SE Intacke 7B

Page 709

TaxiNet Project | Project Final Report

6.2.3.5.1.9

FPT University

UC04-13 Assign vehicle to driver

From list of Drivers, user can assign a vehicle to driver


Step 1: Select one driver then click
you can assign a vehicle.

icon. A dialog will appear to where

Step 2: Choose vehicle in Car dropdown list then click

Figure 6-316: Assign Vehicle dialog

6.2.3.5.1.10 UC04-15 & UC04-16 - View price panel & detail


User can view all current price panel
Step 1: Get to the Price Panel interface

April 2015 SE Intacke 7B

Page 710

button

TaxiNet Project | Project Final Report

FPT University

Figure 6-317: Price Panel page

Step 2: For detail view, click

icon on selected price panel

Figure 6-318: Price Panel dialog

April 2015 SE Intacke 7B

Page 711

TaxiNet Project | Project Final Report

FPT University

6.2.3.5.1.11 UC04-17 Edit price panel


From list of Price Panel, user can edit information
Step 1: Select price panel then click
user can enter new values

icon. A dialog will appear to where

Step 2: Enter needed information then click

button

Figure 6-319: Edit Price Panel dialog

6.2.3.5.1.12 UC04-18 - Add price panel


User can add more price panel
Step 1: Get to the Price Panel interface
Step 2: Enter all required information for new price panel then click
button

April 2015 SE Intacke 7B

Page 712

TaxiNet Project | Project Final Report

FPT University

Figure 6-320: Add Price Panel page

6.2.3.6Agent - Web Application


6.2.3.6.1.1

UC03-02 & UC03-03 - Search account & Charge money

User can search all account which are active


Step 1: Enter needed criteria for searching
Step 2: Click
button. List of active account will be display where
user can charge money

April 2015 SE Intacke 7B

Page 713

TaxiNet Project | Project Final Report

FPT University

Figure 6-321: Account Searching page

Step 3: Click Detail link. A dialog will appear to where user can enter
charging information

April 2015 SE Intacke 7B

Page 714

TaxiNet Project | Project Final Report

FPT University

Figure 6-322: Account Charging dialog

Step 4: Enter all required information then click


6.2.3.6.1.2

button

UC03-04 - Charge Invoice

User can view history of all transaction through Charge Invoice interface
Step 1: Get to Charge Invoice interface by selecting Charge Invoice on the
menu bar. All transaction information will be display automatically

April 2015 SE Intacke 7B

Page 715

TaxiNet Project | Project Final Report

FPT University

Figure 6-323: Transaction Invoice page

Step 2: For searching specific transaction, enter needed criteria then click
button
6.2.3.6.1.3

UC03-06 - View Contact Information

User can view and edit their contact information through Contact Info interface
Step 1: Get to Contact Info interface by selecting Contact Info on the menu
bar. All contact information will be displayed automatically

April 2015 SE Intacke 7B

Page 716

TaxiNet Project | Project Final Report

FPT University

Figure 6-324: Contact Info page

6.2.3.6.1.4

UC03-07 - Edit Contact Information

Step 1: Get to Contact Info interface by selecting Contact Info on the menu
bar
Step 2: To edit contact information. Click
button. A similar interface
will appear to where user edit information, change password and update
profile picture

April 2015 SE Intacke 7B

Page 717

TaxiNet Project | Project Final Report

FPT University

Figure 6-325: Edit Contact Info page

Step 3: To change password, click Change Password link. A new interface


will appear to where you can set a new password. Enter required information
then click

button

April 2015 SE Intacke 7B

Page 718

TaxiNet Project | Project Final Report

FPT University

Figure 6-326: Change Password page

Step 4: To update profile picture, click


button. An Open Window will
appear. Select an image to upload then click open

April 2015 SE Intacke 7B

Page 719

TaxiNet Project | Project Final Report

FPT University

Figure 6-327: A window is display to get an upload image

6.2.3.6.1.5

UC03-09 - View dashboard

User can view summary, statistic of finance through Dashboard interface


Step 1: Get to the Dashboard interface by selecting Dashboard from menu
bar. Summary tables and statistic information are displayed automatically

April 2015 SE Intacke 7B

Page 720

TaxiNet Project | Project Final Report

FPT University

Figure 6-328: Dashboard

Step 2: User can view statistic of specific period of time by choose time
values in dropdown lists
6.2.3.7Admin - Web Application
6.2.3.7.1.1

UC06-01 - Search Driver

User can search all active Driver


Step 1: Get to Search Driver interface
Step 2: Enter needed criteria for searching then click

April 2015 SE Intacke 7B

Page 721

button

TaxiNet Project | Project Final Report

FPT University

Figure 6-329: Search Driver page

6.2.3.7.1.2

UC06-04 - Search Company

User can search all active company


Step 1: Get to Search Company interface
Step 2: Enter needed criteria for searching then click

Figure 6-330: Search Company page

April 2015 SE Intacke 7B

Page 722

button

TaxiNet Project | Project Final Report

6.2.3.7.1.3

FPT University

UC06-05 - View Company Information

User can view company information


Step 1: Get to Company Info interface

Figure 6-331: Company Info page

6.2.3.7.1.4

UC06-07 Search Company Drivers

User can search for companys driver


Step 1: Get to Company Information
Step 2: Click Company Driver tab
Step 3: Enter needed criteria for searching then click

April 2015 SE Intacke 7B

Page 723

button

TaxiNet Project | Project Final Report

FPT University

Figure 6-332: Company Drivers tab

6.2.3.7.1.5

UC06-08 - Display Companys Vehicles List

User can search all companys vehicle


Step 1: Get to Company Information
Step 2: Click Company Vehicle tab
Step 3: Select Vehicle Status then click

Figure 6-333: Company Vehicle tab

April 2015 SE Intacke 7B

Page 724

button

TaxiNet Project | Project Final Report

6.2.3.7.1.6

FPT University

UC06-11 - Search Agent

User can search all active agent


Step 1: Get to Search Agent interface
Step 2: Enter needed criteria for searching then click

Figure 6-334: Search Agent page

6.2.3.7.1.7

UC06-12 - Agent Information

User can view agent information


Step 1: Get to Agent Info interface

April 2015 SE Intacke 7B

Page 725

button

TaxiNet Project | Project Final Report

FPT University

Figure 6-335: Agent Info page

7 PROJECT RESULT REPORT


7.1.1 Product Judging
7.1.2 Advantages of TaxiNet System
Our applications have more advantages than other applications. Examples Uber,
Grab Taxi, Easy Taxi doesnt incorporate with Taxi Groups so this make the unfair
situations. Some country like Korean or India , the governments banned Uber
because of the risk for customer. So, these are our advantages :

Customer can call directly to taxi drivers

Call a taxi with few taps on screens ( fast, easy and safety)

Drivers can accept request immediately

Customer can choose the taxi drivers in the list of drivers nearby

Payment withs cash or credit card

Incorporate

April 2015 SE Intacke 7B

with

taxi

groups
Page 726

for

managing

taxi

groups

TaxiNet Project | Project Final Report

FPT University

drivers/vehicles/prices

Manage list of favourite drivers/customers

Promotion trips for customer

7.1.3 Current limitations of TaxiNet System :


Becase of short time so we have many limitiations :

We cant uploads our applications to Google Store so user cant


download it from there. The only way is copy directly to Android Devices

Some bugs werent fixed

Some GUI is updating for better user experiments and easy to use

Some functions are not smooth as expected

7.1.4 Expectations in the future :

Upload applications to Google Store

Fix bugs

Upgrade GUI

Optimized codes

Optimized performance

Demo run with real taxi groups

Add many new functions :


1. Login with facebook
2. Upload status / photo to facebook accounts
3. Payment with bank accounts ( Banks API )
4. Payments with Paypal
5. Upgrade code with better versions of Google API for better directions

7.1.5 Project Summary

April 2015 SE Intacke 7B

Page 727

TaxiNet Project | Project Final Report

FPT University

7.1.6 Lessons Learnt


Before this project, our groups do not know much about JAVA framework
and Android.After more than four months , we have more experiences and
deeply understand about Java WEB app and Android Applications, how to
face problems and fix bug in JAVA and Android ( Google API)
We also improved a lots of skills :

JSF/PrimeFaces, Hibernate, Spring are JAVA frameworks that help us a


lots

We know how to use SVN and google code to manage/merge code from
others

We also improves a lot of skills with Microsoft Office ( Word, Excel,


Project,..)

About soft skills : we know about communicate to others team members,


how to avoid conflict between team members. After lots of team
meeting, we know how to brainstorm with all team to generate creative
idea or solution to a problem. In addition, two important skills are
researching and self-studying, we have to research and self-study a lot
to do our work in project, to solve a problem.

Finally, one of the most important skill we have learnt through this
project is project management. We know how to manage a project from
the beginning to the end, how to create project plan, how to collect
requirements, how to create SRS, how to design an application, how to
create test cases etc. It is very important for our job in the future.

Through this projects, our group learn about risk management and
human resources
o

About technical

Just leader have experiences with JAVA before so we


assigned the teaching and training to each others by
lessons.

Members dont know about searching google for problems


or asking support community for resolver so we have to
support and guide each others for work more efficiently.

About human resources :

Some members are lazy for a while, they cant meet


deadlines or cant do their task so we define a detail
schedule and remind each others

April 2015 SE Intacke 7B

Page 728

TaxiNet Project | Project Final Report

FPT University

Some members were ill for some days so others have to


replace them.

Members were lack of project informations so we use SVN


and google issues to communicate about the projects
change.

We helds a lots of team meetings so everyone was


reminded about their task, brain storming about solutions
and share experiences.

Team members have to report about their task twice a


week so leader and supervisor will give them new tasks and
define a schedule according to their capability.

About missing deadlines :

The coding languages is new with us, Google API and JSF
are brand new things to team members so we need more
time to acquainted this.

Sometimes, members make conflict files with SVN so


others cant check in/check out code.

Some members were conflicted to others so they wasted


their times

Some members do not pay attentions from beginning so


they need more times to learn and work

Some members are lazy, they didnt work so the


deadlines were missed

Our devices got problem about setting project, and we


didnt have enough Android devices for testing.

April 2015 SE Intacke 7B

Page 729

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy