android based real time parcel management and …
Post on 09-Feb-2022
8 Views
Preview:
TRANSCRIPT
1
ANDROID BASED REAL TIME PARCEL MANAGEMENT AND TRACKING
SYSTEM WITH INTEGRATED GPS
NUR AZZIZATUL AISYAH BINTI NOR AZIZI
BACHELOR OF COMPUTER SCIENCE
(SOFTWARE DEVELOPMENT) WITH HONOURS
FACULTY OF INFORMATICS AND COMPUTING
UNIVERSITI SULTAN ZAINAL ABIDIN
2019
i
DECLARATION
I hereby declare that the report of the project titled Android Based Real Time
Parcel Management and Tracking System with Integrated GPS is based on my
own investigations and based on information from sources that stated. This
dissertation is submitted to the Faculty Informatics and Computing, University
Sultan Zainal Abidin as partial fulfilment of the requirements for the Bachelor of
Computer Science (Software Development) with Honours. I also declare that my
work was never be produced by any student of University Sultan Zainal Abidin.
_____________________________________
Name : Nur Azzizatul Aisyah Binti Nor Azizi
Date : ............................................................
ii
CONFIRMATION
I have read this report and in my point of view, this project report was prepared
and submitted by Nur Azzizatul Aisyah Binti Nor Azizi (BTAL16043744) and
has been satisfactory in terms of scope, quality and presentation as partial
fulfilment of the condition and requirements to be awarded as Bachelor of
Computer Science (Software Development) with Honours.
I also confirm that the research conducted and the writing of this report was under
my supervision.
_____________________________________
Name : Dr. Wan Suryani Binti Wan Awang
Date : ............................................................
iii
DEDICATION
In the name of Allah SWT, Most Gracious, Most Merciful
This final year project, Android Based Real Time Parcel Management and
Tracking System with Integrated GPS is dedicated to my beloved mother and
father who is giving me a lot of moral support to complete this project. Also, to
my supervisor, Dr. Wan Suryani Binti Wan Awang that always guides me to
complete my final year project. My sincere thank you goes to all lecturers and
Bachelor of Computer Science (Software Development) group members who
always help me in many ways to complete this project. Lastly, this project was
dedicated to the Faculty Informatics and Computing of University Sultan Zainal
Abidin.
iv
ABSTRACT
Nowadays, many students at universities used online shopping rather than go the
shop to buy something that they need. This may cause a problem, especially to the
Residential College to manage the parcel received. Android Based Real Time
Parcel Management and Tracking System with Integrated GPS is developed for
staffs and students of Residential College at University Sultan Zainal Abidin
(Besut Campus) to handle and manage parcel while for student they can easily
know whether they have parcel or not without entering Residential College office.
In the existing system, process is conducted manually that consumes a lot of time
and human effort. Therefore, the proposed system is to change the current process
to computerized system, by sending the notification using Gmail. This system also
can generate informative report about the parcel statistics. The technique that has
been applied in the project development is the integrated GPS. The Global
Positioning System (GPS) is a navigation and precise-positioning tool. In the
development, PHP language, Android Studio, Cordova and MySQL has been used
as programming tools. PHP is a scripting language widely used to write web
applications while MySQL is an open source relational database management
system. As a result, web-based and android-based system are developed and this
system helps increase the efficiency of parcel management activities.
v
ABSTRAK
Pada masa kini, ramai pelajar di universiti menggunakan belanja dalam talian
daripada pergi membeli-belah untuk membeli sesuatu yang mereka perlukan. Ini
boleh menyebabkan masalah, terutamanya kepada pihak Kolej Kediaman untuk
menguruskan bungkusan yang diterima. Android Based Real Time Parcel
Management and Tracking System with Integrated GPS dibangunkan untuk
kakitangan dan pelajar yang tinggal di Kolej Kediaman, Universiti Sultan Zainal
Abidin (Kampus Besut) untuk mengendalikan dan menguruskan bungkusan untuk
pelajar dengan mudah, mengetahui sama ada mereka mempunyai bungkusan atau
tidak tanpa memasuki Pejabat Kolej Kediaman. Dalam sistem yang sedia ada,
proses dijalankan secara manual yang mengambil masa yang lama dan
memerlukan banyak usaha manusia. Oleh itu, sistem yang dicadangkan adalah
untuk mengubah proses semasa kepada sistem berkomputer, dengan menghantar
pemberitahuan melalui Gmail dan juga mengetahui lokasi sebenar bungkusan
menggunakan GPS. Sistem ini juga boleh menghasilkan laporan informatif
mengenai statistik bungkusan. Teknik yang telah digunakan dalam pembangunan
projek adalah GPS bersepadu.
vi
Sistem Kedudukan Global (GPS) adalah alat navigasi dan tepat. Dalam
pembangunan system ini, bahasa PHP, Android Studio, Cordova dan MySQL
telah digunakan sebagai alat pengaturcaraan. PHP adalah bahasa yang banyak
digunakan untuk menulis aplikasi web sementara MySQL adalah sistem
pengurusan pangkalan data relasi sumber terbuka. Akibatnya, sistem berasaskan
web dan android dibangunkan dan sistem ini membantu meningkatkan kecekapan
aktiviti pengurusan bungkusan.
vii
CONTENTS
PAGE
DECLARATION i
CONFIRMATION ii
DEDICATION iii
ABSTRACT iv
ABSTRAK v-vi
CONTENTS vii-ix
LIST OF TABLES x
LIST OF FIGURES xi-xii
LIST OF ABBREVIATIONS xiii
CHAPTER 1 INTRODUCTION
1.1 Background 1
1.2 Problem Statements 2
1.3 Objectives 3
1.4 Scopes 4-5
1.5 Limitation of work 6
1.6 Expected result/contribution 6
1.7 Research structure 6
viii
CHAPTER 2 LITERATURE REVIEW
2.1 Introduction 7
2.2 Criteria from Previous Study (Existing System) 8-15
2.3 Research Comparison (Articles) 16-17
2.4 SDLC- Waterfall model 18-19
2.5 Chapter Summary 19
CHAPTER 3 METHODOLOGY
3.1 Waterfall Model 20
3.1.1 Requirement Analysis 21-22
3.1.2 System Design 22
3.1.3 Implementation 23
3.1.4 Testing 23
3.1.5 Deployment 24
3.1.6 Maintenance 24
3.2 Architecture and Modeling 25
3,3 Context Diagram (CD) 26-27
3.4 Data Flow Diagram (DFD)
3.4.1 DFD Level 0 28-30
3.4.2 DFD Level 1 31-33
3.5 Entity Relationship Diagram (ERD) 34-38
3.6 Data Dictionary 39-43
3.7 Chapter Summary 44
ix
CHAPTER 4 IMPLEMENTATION AND TESTING
4.1 GPS in Parcel Management and Tracking 45-48
System with Integrated GPS
4.2 Other Features in Parcel Management and 49
Tracking System with Integrated GPS
4.2.1 User Staff 50-55
4.2.2 User Admin 56-58
4.2.3 User Student 59-64
4.2.4 User every Courier 65
4.3 Testing 66
4.3.1 Unit Testing 66
4.3.2 Integration Testing 66
4.3.3 System Testing 66
4.3.4 Test Case 67-71
4.4 Chapter Summary 71
CHAPTER 5 RESULT AND DISCUSSION
5.1 Notification and Result 72-76
CHAPTER 6 CONCLUSION
6.1 Conclusion 77
6.2 Future Project 78
REFERENCES 79-80
APPENDIX 81-82
x
LIST OF TABLES
TABLE TITLE PAGE
2.2 Comparison of existing system 15
2.3 Research comparison 16-17
3.6 Admin 40
3.7 Staff 41
3.8 Student 42
3.9 Parcel 43
3.10 GPS 45
4.1 Test Case for User Login 67
4.2 Test Case for Add New Parcel Info 68-69
4.3 Test Case for User Update Parcel Info 69
4.4 Test Case for User Delete Parcel Info 70
4.5 Test Case for User Logout 70
xi
LIST OF FIGURES
FIGURE TITILE PAGE
2.4 Software Development Life Cycle 19
3.1 Waterfall Model 20
3.2 Architecture and Modelling 25
3.3 Context Diagram 26
3.4 Data Flow Diagram Level 0 29
3.5 Data Flow Diagram Level 1: Register details process 31
3.6 Data Flow Diagram Level 1: Login details process 32
3.7 Data Flow Diagram Level 1: Manage parcel process 33
3.8 Entity Relationship Diagram 34
4.1 Staff Track and Trace Parcel 45
4.2 Staff Live Tracking Parcel 46
4.3 Staff Live Tracking Parcel 47
4.4 Staff Live Tracking Parcel 47
4.5 Staff Live Tracking Parcel 48
4.6 Main Homepage 49
4.7 Login Staff 50
4.8 Staff Homepage 51
4.9 Staff Parcel Info 52
4.10 Staff All Parcel Info 53
4.11 Staff Update Parcel Info 54
4.12 Staff Delete Parcel Info 54
4.13 Staff Update Profile Account 55
4.14 Staff Change Password 55
4.15 Login Admin 56
xii
4.16 Admin Homepage 57
4.17 Admin Update Profile Account 57
4.18 Admin Change Password 58
4.19 Login Student 56
4.20 Student Homepage 60
4.21 Student Menu 61
4.22 Student Parcel Info 62
4.23 Student Update Profile Account 63
4.24 Student Change Password 64
4.25 Form User every Courier 65
5.1 Notification through Gmail for Student 72
5.2 List of Reports 73
5.3 Parcel Report 73
5.4 Parcel Info Report 73
5.5 Parcel Monitoring Graph by Month 74
5.6 Student Report 74
5.7 Student Monitoring Graph by Course 75
xiii
LIST OF ABBREVIATIONS / TERMS / SYMBOLS
CD Context Diagram
DFD Data Flow Diagram
ERD Entity Relationship Diagram
FYP Final Year Project
PK Primary Key
FK Foreign Key
SDLC System Development Life Cycle
1
CHAPTER 1
INTRODUCTION
1.1 Background
Information Technology has been widely used nowadays.
Importance of IT within today’s society cannot be denied and IT has
become one of the needs in our community. With the growth of IT, manual
of storage now can be replaced with computerized system.
For this project, the current system was used manual system, the
manual system is replaced with computer systems. The name of the system
is Android Based Real Time Parcel Management and Tracking System
with Integrated GPS. This system can help staff of the Residential College
to handle and manage the student’s parcel while for student they can easily
know whether they have parcel or not without entering Residential College
office.
2
1.2 Problems Statement
As mentioned previously, the whole mailing or parcel process is
managed manually by staffs. This caused a problem and time-consuming
in manipulating the data [1]. They need to manually recheck the received
of mail or parcel then students have to regularly check whether they have
any mail or parcel at their Residential College or check it through
Facebook page of Residential College [2].
Besides that, this currently process creates a problem of missing or
misplaced [3]. In addition, there is no notification system to notify students
of their mail or parcel [4]. Hence, it is more effective and efficient to have
a mail and parcel management and tracking system that records mail or
parcel as well as a notifications mechanism to alert students of their mail
or parcel.
3
1.3 Objectives
The main objective of this project is to design and develop a
system that helps the staffs to manage the parcel and stimulate the
usefulness of Android Based Real Time Parcel Management and Tracking
System with Integrated GPS on student. The detailed objectives of the
project are as follows:
i. To design a system that manages and notifying users about
their parcel through the Gmail.
ii. To develop a parcel management system for Residential
College especially for Besut Campus.
iii. To test how the system work based on the user requirement.
4
1.4 Scope
The cover of the system covers three types of users that will interact
directly with this system are student, staff and administrator. The scopes
for each type of the users are as follows:
Student
o Sing Up
o Log In
o Update Profile
o Get Notification
o Trace and Track Parcel
o Send Inbox to Staff
o Log Out
Staff
o Sign Up
o Log In
o Update Profile
o Manage Parcel Information
o Trace and Track
o Log Out
5
Admin
o Sign Up
o Log In
o Update Profile
o Report about Parcel
o Log Out
The scope for this project is:
i. The system focuses on parcel management and tracking
system at Residential College.
ii. The target users of this system are the staff and student of
University Sultan Zainal Abidin, Besut Campus.
iii. The system records the details of the parcel which are
tracking number, post name, post item etc.
iv. The system also updates the status of the parcel whether
already taken or not.
v. The system sends notification using Gmail to the student.
6
1.5 Limitation of Work
In this system, if there is no source of electrical or blackout the
notification will not send to the user and this system also not verify
notification using WhatsApp or SMS.
1.6 Expected result/Contribution:
Based on the objectives of the development for this project, this
system will propose a systematic mail and parcel management and system
and only notify a student if their parcel reaches the Residential College
through the Gmail and make a report for a list of the parcel that received
and has been taken from Residential College. This system also implements
how the system work based on the user requirement.
1.7 Research Structure
The report is organized in 3 Chapters. Background study and
rationale problem statement with objectives is presented in Chapter 1. A
review of the related research work is presented in Chapter 2; research
methodology with system model is described in Chapter 3.
7
CHAPTER 2
LITERATURE REVIEW
In this chapter discusses the literature review, research about the system
that has similar in functionality with the parcel management and tracking
system. In section 2.1 we describe the introduction of the Android Based
Real Time Parcel Management and Tracking System with Integrated GPS.
In section 2.2 we describe the current implementation of parcel (existing
system), section 2.3 describe research comparison (articles), section 2.4
describes the criteria for final year project and section 2.5 will describe
about the software development life cycle used in this project.
2.1 Introduction
Android Based Real Time Parcel Management and Tracking
System with Integrated GPS becomes an important when staff are difficult
to handle and manage parcel. This system is based on simply GPS is a
device that is capable of receiving information from GPS satellites and
then to calculate the device's geographical position. Using suitable
software, the device may display the position on a map, and it may offer
directions.
8
2.2 Criteria from Previous Study (Existing System)
2.2.1 Pos Malaysia
Pos Malaysia is a provider of parcel and mail services in Malaysia.
Other than websites, this company provides SMS functions. This is to
ensure their customer convenience because they can check their parcel at
anytime and anywhere. This SMS is allowing customer to track their
parcel from the point of pick up until the parcel is successfully delivered.
Pos Malaysia customer can track and check their parcel via SMS,
but it is available only for domestic delivery. Customer needs to send SMS
to track their parcel and the SMS is charged RM 0.50 for each SMS. This
function is available for Celcom, Maxis and DiGi subscribers only.
Customer need to type their tracking number and send it to 33333. Then,
they will get reply about their parcel.
9
2.2.2 Singapore Post
Singapore Post is a company that provide parcel and courier
service. This company has its own web site. This web site is same as other
courier company which is provides tracking an item function in their web
site. Customer can check their item current’s location if they enter item’s
tracking number.
The strength of Singapore Post is they provide SMS Mail service
which is a service to notify and alert recipient. One the item has been
delivered to the post or letter box, a SMS is sent to alert recipient via their
mobile phone. This service is very useful and efficient in notifying and
alerting the recipients that the items they are waiting and expecting have
been delivered. Singapore Post also provides Pick Own Parcel Station
(POPStation) service. POPStation is a new way to pick up and collect
parcels at any time where customer can choose to pick up their parcel from
POPStation if the customer not at home to receive their parcels.
Unfortunately, the weakness of Singapore Post is customer cannot visit an
access the Singapore Post website through mobile because there is no
mobile based provided.
10
Based on strength and weakness of Singapore Post, it is convenient
to their customers if they provide mobile application, so their customers
can access or system at anytime and anywhere.
2.2.3 Canada Post
Canada Post is a company which is offer and provides parcel
delivery based at Canada. Its same with other company, Canada Post also
has tracking parcel function. Customer can check their parcel’s location
through this function.
This website also available on mobile website, so customer can
visit and access this website through mobile phone at anytime and
anywhere. Customer can go directly canadapost.ca on their mobile. Mobile
application of Canada Post also available and customer can download it
then install in their mobile device. Both mobile website and mobile
application has same function which are can track parcel, find a postal
code or find a post office near customer’s location. But with mobile
application, customer can check their parcel’s delivery status with type
tracking number or can use their camera to can the barcode from delivery
slip or delivery notice card. This barcode function is only compatible for
iPhone 3GS and above only.
11
These services which are Canada Post provide are very convenient for
their customer. Regrettably, the weakness of Canada Post is they did not
have service like SMS which can notify customer if their parcel has
delivered.
Based on the strength and weakness of Canada Post, if they provide
SMS or something that can alert customer, their system is more convenient
to use.
12
2.2.4 DPD Ireland
DPD Ireland is a parcel delivery company in Ireland. This web-
based system provides tracking a parcel and other functions. To locate the
parcel, customers need to enter their parcel’s tracking number and then the
current’s location of the parcel is appeared. This system is same as other
courier companies.
The strength of DPD Ireland is it can be access whenever at
customer convenience because it’s available in mobile. Customer can find
DPD Ireland at m.dpd.ie link through their mobile. Customer can easily
access tracking details and other delivery information through their
mobile. This mobile based provides similar function as the web-based
system. Other than that, DPD Ireland also provides Real-Time Proof of
Delivery (PODs). It is available on website within seconds of delivery.
The weakness of DPD Ireland is SMS service is not provided to notify and
alert customer if their parcel is delivered.
Based on the strength and weakness of DPD Ireland, it is more
convenient to their customers if they provide SMS to alert and notify
customers.
13
2.2.5 Australia Post (Mobile Application)
Australia Post mobile application is a mobile version for the
Australia Post website. Their customers can access some of their popular
services at anytime and anywhere. This mobile application is available for
Android platform, iPhone platform and Windows Phone 7 platform.
The strength of this mobile application is, it provides scan for
tracked item and it can save it in history. It is also scan bills barcodes for
quick, easy payment and the details of payment can be saved. Postage
calculator also available in this mobile application is the barcode scanning
only available on compatible devices it currently not available for tablet
devices.
Based on strength and weakness if this mobile application is
available for all platform and all devices, it is convenient for their
customers.
14
2.2.6 United State Postal Service
United States Postal Services (USPS) mobile application is an
application which is offer their customers to access the most popular tools
they had through mobile device. This is easy and convenient for their
customers and they can enjoy and feel like having a post office in their
hand.
The strength of this mobile application is it allows customer to find
locations of their parcel and get their deliveries information with Track
and Confirms service. Customer also can calculate shipping prices. They
also can make schedule to pick up their parcel. It also allows customer to
look up a zip code and find USPS locations nearby. The weakness of this
mobile application is not all tools or services of USPS are available on
every phone.
Based on strength and weakness of this mobile application, it is
convenient to their customers if all tools or services can be available for all
mobile application platform.
15
Table 2.2: Comparison of existing system
Features/Previous Work Singapore Post Canada Post DPD Ireland
Website Yes Yes Yes
Mobile Website No Yes Yes
Mobile Application No Yes No
SMS Yes No No
Tracking Number Yes Yes Yes
Others POPStation Barcode PODs
16
2.3 Research Comparison (Articles)
Table 2.3: Research comparison
No. Author/Title/Year Overview/Method Strength
1. Poonam Patel et. al
-Arduino Based
Child Tracking
System Using GPS
and GSM
(2018)
-The lost child using
Google Map along with
the position and location
of that child through
GPS
-Global Positioning
System
-Can simply track
him/her by sending a
message
name “TRACK” to the
particular operating
device.
2. Jennifer N et. al
-On the
Development of
Real-Time Parcel
Tracking and
Monitoring System
(2018)
-Movement of the parcel
from one geographical
location in Nigeria to
another geographical
location within the same
country
-Object-Oriented
technique (OOT)
-Enable both the
receiver and sender of
various packages
to track and monitor
their packages with
ease from the comfort
of their homes, offices,
and
market using a web-
enabled device.
17
3. R.Ramani et. al
-Vehicle Tracking
and Locking System
Based on
GSM and GPS
(2013)
-Vehicle tracking and
locking system installed
in the vehicle, to track
the place and locking
engine motor
-Global Positioning
system (GPS) and
Global system mobile
communication (GSM)
-Watch a moving
Vehicle and report the
status on demand.
4. Saniah et.al
-Automatic Vehicle
Location System
(2015)
-Monitor any remote
vehicle and to track with
the device that receives
and send signals
-Global Positioning
System
-Provide the real
geographic location of
the vehicle
-Use for military
-Send information
through Radio System
5. Saniah et.al
-Assisted Global
Positioning System
(2015)
-Used to improve the
performance of GPS
receivers and provides
information about
satellite constellation
directly to GPS
receivers.
-Can provide futher
services like atomic
time.
-send information
through Short Message
Service (SMS)
18
2.4 Software Development Life Cycle (SDLC – Waterfall model)
Software Development Life Cycle (SDLC) is a process used by the
software industry to design and test high quality software. There are
various SDLC models defined and designed which are followed during the
software development process which also defined as process model. In this
final year project, waterfall model was been selected as process model to
show the steps to ensure success in the process of software development.
Waterfall model is very simple and easy to understand. Every
phase in the waterfall model must be completed before move on to the
next phase, there is no overlapping process in the phase. The output of one
phase normally is the input of next phases sequentially. Further
explanations about waterfall model used in this project will be in Chapter
3.
19
Figure 2.4: Software Development Life Cycle
2.5 Chapter Summary
Based on the discussed technology, various different method that can be
used to tracking system and also can used the tracking system for another
function. Hence, this project will be developed by using GPS uses mobile based
and Gmail to send notification information.
20
CHAPTER 3
RESEARCH METHODOLOGY
This chapter explains about waterfall model shown in figure 3.1 which include the
steps in integrated GPS implemented in this project. Besides, the design of context
diagram and data flow diagram to understand the system flow and entity
relationship diagram and data dictionary to understand the database design are
discussed.
3.1 Waterfall Model
User Requirement
System Design
Implementation
Testing
Deployment
Maintenance
Figure 3.1: Waterfall Model
21
3.1.1 Requirement Analysis
In this phase, the detailed of introduction has been decided in
which project title, problem statement, objectives and scope of project.
The survey of daily expenses among the students and staffs generally were
conducted for better understanding of the proposed system to be developed
rather than the current or existing system. The requirements are discovered
in order to build the better system to the user.
a) Software Requirement
To develop this project, it can be many choices to choose the
best software, this is because the selection of software depends on
requirement needed in this project. The software to develop this project
is shown as below.
-Hypertext Processor (PHP)
-Apache as Server (XAMPP)
-Hypertext Markup Language (HTML)
-Cascading Style Sheets (CSS)
-Structure Query Language (SQL)
-Android Studio
-Google Maps
-Cordova
22
b) Hardware Requirement
Hardware is important in ensuring the research of this project is
success. Each hardware has its own function in order to do this
research. The hardware to develop this project is shown as below.
- Large hard disk and Random-Access Memory (RAM)
- High processing speed and large storage capacity
-Android
-Smartphone User
-Personal Computer
3.1.2 System Design Phases
This is the second stage or phases that is used so that the flow of
the project will be successful. After gathered all important information
related to the project, a framework is done to show the flow of the system
so that this system will more easily to be understood. In the phase, a design
of flowchart and framework will be explained to show the flow of the
system specifically.
23
3.1.3 Implementation Phases
After all information has been gathered and the design has been
created, starting develop the system using all the hardware and software
that listed before. Implement phase is implemented process for android
GPS related to Smartphone to track the exact location of the parcel. To
develop the system, there are programming tools are used such as Android
Studio, Cordova, Notepad++, PHP programming etc. XAMPP server is
used for localhost server and web-based programming to create a graphical
user interface. If there any error or changes, it will be solved at this phase.
3.1.4 Testing Phases
In this phase, the system will be tested if the error will be occurred,
it will be solved at this phase and if there are any changes need to
implement, the project must back to design phase for revision of flow.
24
3.1.5 Deployment Phases
The system has achieved the objective and passed the testing, the
system can be deployed and user can use the system. Once the system is in
steady state, it is reviewed that the system met all the objectives and goals.
3.1.6 Maintenance Phases
In this phase, will always update the system to make sure if there
are no issues come up after deployment phase.
25
3.2 Architecture and Modeling
Figure 3.2 shows the architecture for mail and parcel tracking system. In
order to perform the system successfully, the user must have their smartphones
(android) to attach on the parcel. The user has to log in to the system to view and
track the current location of the mail and parcel.
Figure 3.2: Architecture and Modeling
26
3.3 Context Diagram (CD)
A Context Diagram (CD) is a data flow diagram with only one massive
central process that subsumes everything inside the scope of the system. It shown
the system will receive and send data flows to external entities involved. Such as
system, organization groups and external data stores.
Figure 3.3: Context Diagram
27
The context diagram for parcel management and tracking system is shown
in the figure above. The parcel management and tracking system process is at the
center of the diagram. The three entities (STUDENT, STAFF, ADMIN) are
placed around the central process. Twenty-four data flows are involved in the
interaction between the central process and the entities. The STUDENT entity has
four incomings data flows, LOGIN AUTHENTICATION, VIEW AND UPDATE
PROFILE, GET NOTIFICATION and PARCEL LIVE LOCATION and has
seven outgoing data flows, SIGNUP DETAILS, LOGIN DETAILS, VIEW AND
UPDATE PROFILE, CHECK TRACKING NUMBER, CHECK LIVE
LOCATION (GPS), CHECK MATRIC CARD AND PARCEL TRACKING
DETAILS. The STAFF entity has three incomings data flow, LOGIN
AUTHENTICATION, VIEW AND UPDATE PROFILE, REPORT DETAILS
and four outgoing data flow, SIGNUP DETAILS, LOGIN DETAILS, VIEW
AND UPDATE PROFILE and MANAGE PARCEL INFORMATION. The
ADMIN entity has three incomings data flow, SIGNUP AUTHENTICATION,
LOGIN AUTHENTICATION and REPORT and three outgoing data flow,
SIGNUP DETAILS, LOGIN DETAILS and VIEW AND UPDATE STAFF.
28
3.4 Data Flow Diagram (DFD)
Data flow diagram (DFD) provides a visual representation of the flow of
information within a system. By drawing a data flow diagram, you can tell the
information provided by and delivered to someone who takes part in the system
process, the information needed in order to complete the processes and the
information needed to be stored and accessed.
29
3.4.1 DFD Level 0
Figure 3.4: Data Flow Diagram
30
The DFD has three entities which are STUDENT, STAFF and ADMIN.
REGISTER DETAILS, LOGIN DETAILS, MANAGE PARCEL,
NOTIFICATION, TRACK LOCATION and GENERATE REPORT are seven
processes involve in the system. There are six data stores created in the system
which is STAFF, STUDENT, ADMIN, PARCEL and GPS.
1. STAFF, STUDENT and ADMIN enter STAFF SIGN UP, STUDENT SIGN
UP and ADMIN SIGN UP into STAFF, STUDENT and ADMIN data stores.
2. STAFF, STUDENT and ADMIN enter STAFF LOGIN, STUDENT LOGIN
and ADMIN LOGIN to LOGIN process which outputs STAFF INFO,
STUDENT INFO and ADMIN INFO into STAFF, STUDENT and ADMIN
data stores.
3. STAFF and STUDENT enter MANAGE PARCEL process then sends
MANAGE PARCEL DETAILS and CHECK MATRIC SCAN (PICK UP)
into PARCEL data store.
4. When STAFF enter MANAGE PARCEL DETAILS into PARCEL data store
and STUDENT will get notification.
5. STUDENT enter TRACK LOCATION of the parcel if STUDENT used a
special service provided and store it into GPS data store.
6. ADMIN and STAFF can view REPORT DETAILS and REPORT through
GENERATE REPORT process form a data store.
31
3.4.2 DFD Level 1
Figure 3.5: Register details process
1. STAFF, STUDENT and ADMIN inputs STAFF DATA, STUDENT DATA
and ADMIN DATA to ADD NEW USER process and send STAFF INFO,
STUDENT INFO and ADMIN INFO into STAFF, STUDENT and ADMIN
data store.
2. STAFF, STUDENT and ADMIN input STAFF DATA, STUDENT DATA
and ADMIN DATA to UPDATE USER process and send STAFF INFO,
STUDENT INFO and ADMIN INFO into STAFF, STUDENT and ADMIN
data store.
3.
32
Figure 3.6: Login details process
1. STAFF, STUDENT and ADMIN inputs STAFF DATA, STUDENT DATA
and ADMIN DATA to RETRIEVE USER INFO process and send STAFF
INFO, STUDENT INFO and ADMIN INFO into STAFF, STUDENT and
ADMIN data store.
33
Figure 3.7: Manage parcel process
1. STAFF input PARCEL DETAILS to ADD PARCEL process and send
PARCEL STATUS to UPDATE PARCEL process into PARCEL data store.
2. STUDENT can VIEW PARCEL from PARCEL data store.
34
3.5 Entity Relationship Diagram (ERD)
Entity Relationship Diagram in software engineering is an abstract to
describe a database. It is typically used in computing in regard to the organization
of data within database or information system. An entity is a piece of data an
object or concept about which data is stored. A relationship is how the data is
shared between entities.
Figure 3.8: Entity Relationship Diagram
35
An entity relationship diagram (ERD), is an illustration system that
representation of entities and their relationship to each other. ERD composed of
three things such as identifying and defining the entities, determine entities
interaction and the cardinality of the relationship.
Interaction of Staff and Admin
o One-to-one relationship
o A staff only can have one account user
o In staff: staff_id (PK)
o In admin: admin_id (PK), parcel_id (FK), staff_id (FK),
matric (FK)
Interaction of Staff and Student
o One-to-one relationship
o A staff only can have one account user
o In staff: staff_id (PK)
o In student: matric (PK), parcel_id (FK), gps_id (FK),
staff_id (FK)
Interaction of Staff and Parcel
o One-to-many relationship
o A staff only can have one account user
o In staff: staff_id (PK)
o In parcel: parcel_id (PK), gps_id (FK), admin_id (FK),
matric (FK), staff_id (FK)
36
Interaction of Staff and GPS
o One-to-one relationship
o A staff only can have one account user
o In staff: staff_id (PK)
o In gps: gps_id (PK), parcel_id (FK), staff_id (FK), matric
(FK)
Interaction of Admin and Staff
o One-to-many relationship
o An admin only can have one account user
o In admin: admin_id (PK)
o In staff: staff_id (PK), parcel_id (FK), staff_id (FK), matric
(FK), gps_id (FK)
Interaction of Admin and Student
o One-to-many relationship
o An admin only can have one account user
o In admin: admin_id (PK)
o In student: matric (PK), parcel_id (FK), staff_id (FK),
gps_id (FK)
37
Interaction of Admin and Parcel
o One-to-many relationship
o An admin only can have one account user
o In admin: admin_id (PK)
o In parcel: parcel_id (PK), staff_id (FK), matric (FK),
gps_id (FK)
Interaction of Student and Admin
o One-to-many relationship
o Student only can have one account user
o In student: matric (PK)
o In admin: admin_id (PK), parcel_id (FK), staff_id (FK),
matric (FK)
Interaction of Student and Staff
o One-to-many relationship
o Student only can have one account user
o In student: matric (PK)
o In staff: staff_id (PK), parcel_id (FK), gps_id (FK), matric
(FK)
38
Interaction of Student and Parcel
o One-to-many relationship
o Student only can have one account user
o In student: matric (PK)
o In parcel: parcel_id (PK), staff_id (FK), matric (FK),
gps_id (FK)
Interaction of Student and GPS
o One-to-one relationship
o Student only can have one account user
o In student: matric (PK)
o In gps: gps_id (PK), parcel_id (FK), staff_id (FK), matric
(FK)
39
3.6 Data Dictionary
In this section, the basic structure of the tables composing the database for
the project is shown along with information about primary and foreign keys.
Table 3.6: Admin
Column Type Null Key Description
admin_id varchar (50) No PK Admin unique identification to
authorize admin
admin_name varchar (50) No Admin name
admin_hp varchar (50) No Admin phone number
address varchar (50) No Admin address
email varchar (50) No Admin unique email as a username
for admin to identify user
password varchar (50) No Admin unique password for admin
to identify user
staff_id varchar (50) No FK Staff unique identification as
composite key
parcel_id varchar (50) No FK Parcel unique identification as
composite key
matric varchar (50) No FK Student unique identification as
composite key
40
Table 3.7: Staff
Column Type Null Key Description
staff_id varchar (50) No PK Staff unique identification to
authorize staff
staff_name varchar (50) No Staff name
staff_hp varchar (50) No Staff phone number
address varchar (50) No Staff address
email varchar (50) No Staff unique email as a username
for staff to identify user
password varchar (50) No Staff unique password for staff to
identify user
admin_id varchar (50) No FK Admin unique identification as
composite key
parcel_id varchar (50) No FK Parcel unique identification as
composite key
matric varchar (50) No FK Student unique identification as
composite key
41
Table 3.8: Student
Column Type Null Key Description
matric varchar (50) No PK Student unique identification to
authorize student
student_name varchar (50) No Student name
student_hp varchar (50) No Student phone number
course varchar (50) No Student course
email varchar (50) No Student unique email as a
username for student to identify
user
password varchar (50) No Student unique password for
student to identify user
staff_id varchar (50) No FK Staff unique identification as
composite key
parcel_id varchar (50) No FK Parcel unique identification as
composite key
admin_id varchar (50) No FK Admin unique identification as
composite key
42
Table 3.9: Parcel
Column Type Null Key Description
parcel_id varchar (50) No PK Parcel unique identification
number
tracking_numb varchar (50) No Tracking number of each parcel
date varchar (50) No Date of parcel arrived
student_hp varchar (50) No Student phone number for send
notification
staff_id varchar (50) No FK Staff unique identification as
composite key
gps_id varchar (50) No FK GPS unique identification as
composite key
matric varchar (50) No FK Student unique identification as
composite key
43
Table 3.10: GPS
Column Type Null Key Description
gps_id varchar (50) No PK GPS unique identification
number
date varchar (50) No Date of track location
staff_id varchar (50) No FK Staff unique identification as
composite key
parcel_id varchar (50) No FK Parcel unique identification as
composite key
matric varchar (50) No FK Student unique identification as
composite key
44
3.7 Chapter Summary
In this chapter, the methodology of this project is explained. The Waterfall
Model from System Development Life Cycle (SDLC) is used because every phase
during the system development follow the project methodology that is mentioned
in this chapter. The flow of this project is being shown in framework. The
requirement of software and hardware that being used are listed to ensure the
development of this project.
Besides, this chapter also discuss on the Context Diagram, Data Flow
Diagram and Entity Relationship Diagram of the system which are essential as a
guideline for the system development.
45
CHAPTER 4
IMPLEMENTATION AND TESTING
This chapter explains the implementation of GPS in Android Based Real Time
Parcel Management and Tracking System with Integrated GPS. Besides, the
system interface for every user involves. In the testing phase, there are a few types
of test that is discussed later in this chapter.
4.1 GPS in Parcel Management and Tracking System with Integrated
GPS
F
F
i
g
Figure 4.1: Staff Track and Trace Parcel
Figure 4.1 shows the interface of web based GPS. This system will attach
on the parcel. Staff just need to put their parcel tracking number and then turn on
the tracking. The GPS will run and staff now can track their current location of
parcel.
46
F
i
g
u
r
e
4
.
2
:
Staff Live Tracking Parcel
Figure 4.2 shows the maps web based system. This interface view after the
staff want to check the location of parcel. The staff need to know the parcel
tracking number to view the location. The red marker show the current location of
parcel.
47
Figure 4.3: Student Live Parcel Tracking
Figure 4.3 shown the interface of android GPS. This android will attach on
the parcel. Student just need to put their parcel tracking number and then turn on
the tracking. The GPS will run and student now can track their current location of
parcel.
Figure 4.4: Student Live Parcel Tracking
Figure 4.4 shown the interface of web based GPS. After Student click on
button search, this system will track based on the tracking number was given and
show the longitude and latitude of the current location.
48
Figure 4.5: Student Live Parcel Tracking
Figure 4.5 shown the maps android GPS. This interface view after the
student want to check the location of parcel. The student need to key in the parcel
tracking number to view the location. The red marker show the current location of
parcel.
49
4.2 Other Features in Parcel Management and Tracking System with
Integrated GPS
F
i
g
u
Figure 4.6: Main Homepage
Figure 4.6 displays the main page which also login page of the system. A
user is required to enter their email address and password to login the system.
Then, each user will be navigated to their respective homepage.
50
4.2.1 User Staff
Figure 4.7: Login Staff
Figure 4.7 shown the interface for staff login into the Parcel Management
and Tracking System through web based system. The interface login staff only
can be seen by the admin. The student not allow to open this site. The staff need to
know the email address and password to login to the system.
51
Figure 4.8: Staff Homepage
After login as staff, user will be navigated to staff homepage which is a
Home, shown in Figure 4.8. The Home displays posts, pages, comments, users,
subscribes and also monitoring graphs of users and users by device.
52
Figure 4.9: Staff Parcel Info
Figure 4.9 shows the form for add new parcel info when parcel was arrived
at Residential College by entering tracking number, parcel owner (student), phone
number (student), email address (student), staff id, date and parcel status in the
form.
53
Figure 4.10: Staff All Parcel Info
Figure 4.10 shows the list of the student details and tracking number. Staff
can view all parcel list or not pick up parcel list or already taken parcel list by
click the blue link on the top of the right previous form at add new parcel info
form. Staff can also sort the parcel list by entering tracking number in the form on
the left side of a list of the parcel table. Staff can update or delete parcel info by
click the icon on the right side of the table.
54
Figure 4.11: Staff Update Parcel Info
Figure 4.12: Staff Delete Parcel Info
Figure 4.11 shows interface for staff update parcel info. Staff can update
parcel info to already taken if parcel was already taken or picked up by student at
Residential College. While, Figure 4.12 shows interface for staff delete parcel
info.
55
Figure 4.13: Staff Update Profile Account
Figure 4.14: Staff Change Password
Figure 4.13 shows the interface for update staff profile. Figure 4.14
displays interface the interface for staff change password. Staff can update
profile, change password or logout by click dropdown icon on the top of the right.
User required to enter the old password and setting new password. After the
change password was a success, users need to login again using a new password.
56
4.2.2 User Admin
Figure 4.15: Login Admin
Figure 4.15 shown the interface for staff login into the Parcel Management
and Tracking System through web based system. The interface login admin only
can be seen by the staff. The student not allow to open this site. The admin need to
know the email address and password to login to the system.
57
Figure 4.16: Admin Homepage
After login as admin, user will be navigated to admin homepage which is a
Home, shown in Figure 4.16. The Home displays posts, pages, comments, users,
subscribes and also monitoring graphs of users and users by device.
58
Figure 4.17: Admin Update Profile Account
Figure 4.18: Admin Change Password
Figure 4.17 shows the interface for update admin profile. Figure 4.18
displays interface the interface for admin change password. Admin can update
profile, change password or logout by click dropdown icon on the top of the right.
User required to enter the old password and setting new password. After the
change password was a success, users need to login again using a new password.
59
4.2.3 User Student
Figure 4.19: Login Student
Figure 4.19 shown the interface for student login into the Parcel
Management and Tracking System through web application system. The staff
need to know the email address and password to login to the application.
60
Figure 4.20: Student Homepage
61
Figure 4.21: Student Menu
After login as student, user will be navigated to student homepage which is
a Home, shown in Figure 4.20. Only student allow to open this site. Figure 4.21
displays the student menu of the application.
62
Figure 4.22: Student Parcel Info
Figure 4.22 shows the information of the parcel details. Student can view
parcel details either not pick up parcel or already taken parcel list.
63
Figure 4.23: Student Update Profile Account
64
Figure 4.24: Student Change Password
Figure 4.23 shows the interface for update student profile. Figure 4.24
displays interface the interface for student change password. Student can update
profile, change password or logout by click dropdown icon on the top of the right.
User required to enter the old password and setting new password. After the
change password was a success, users need to login again using a new password.
65
4.2.4 User every Courier
Figure 4.25: Form User every Courier (GPS purposed)
Figure 4.25 shows interface for staff in charge on every courier that
responsible to key in and update the current location of the parcel. Staff can
update parcel current location by entering tracking number and get the current
location of the parcel.
66
4.3 Testing
There are four types of testing that was carried out in this system which are
unit testing, integration testing, system testing and test case. All four types of tests
will be explained in the next section.
4.3.1 Unit Testing
Unit testing was carried out in the development process as a unit or
module that are being coded. It is done to verify the correctness of the module and
check either each individual unit are functioning as expected.
4.3.2 Integration Testing
After unit testing was done, the next phase is integration testing.
Integration testing is carried out in order to make sure that every unit or modules
are interacting with each other. It is necessary to test every module since if one
module fails, it will affect all modules developed in the system.
4.3.3 System Testing
System testing can be done after unit and integration testing above are
completed. The aim in this phase is to find out the small error that might
unnoticed in the previous testing phases. The system testing phase is very
important to evaluate if the complete system has met the Parcel Management and
Tracking System’s objective as proposed in this final year project.
67
4.3.4 Test Case
Test case is a set of condition or variables under which a tester will
determine whether a system under test satisfies requirements or works correctly.
The process of developing test cases can also help find problems in the
requirements or design of an application. The test case for login, analysis and
logout will be shown below.
Table 4.1 Test Case for User Login
Test Case for User Login
Step Procedure Expected Result
1 User goes to system homepage. View system homepage.
2 User enter the following details
in the Login form:
Username: Admin
Password: 1234
User click ‘Login’ button.
Login page loaded.
Message login failure will be
displayed
“Wrong email and password”
User will be redirected to homepage
again.
3 User enter the following details
in the Login form:
Username: Admin
Password: admin
User click ‘Login’ button.
Login page loaded.
Login successful and user homepage
will display.
68
Table 4.2 Test Case for Add New Parcel Info
Test Case for Add New Parcel Info
Step Procedure Expected Result
1 User goes to ‘Parcel Info’ page. Form to key in a new parcel info
displayed.
2 User enter the following details in
the parcel info form:
Tracking Number:
EH5677611MY
Parcel Owner: Najah Fasihah
Phone Number: 0135679811
Email address:
najahfasihah96@gmail.com
Staff ID: ST1
Date: 2019/05/02
Parcel’s Status: Already Taken
User click ‘Submit’ button.
Parcel Info page loaded.
Message add new parcel info failure
will be displayed
“Data that you've entered was
invalid!”
User will be redirected to ‘Parcel
Info’ again.
3 User enter the following details in
the parcel info form:
Tracking Number:
EH5677611MY
Parcel Info page loaded.
Add new parcel info successful and
user parcel info will display.
69
Parcel Owner: Najah Fasihah
Phone Number: 0135679811
Email address:
najahfasihah96@gmail.com
Staff ID: ST1
Date: 2019/05/02
Parcel’s Status: Already Taken
User click ‘Submit’ button.
User can choose to display specific
parcel or view all parcel info.
Table 4.3 Test Case for User Update Parcel Info
Test Case for User Update Parcel Info
Step Procedure Expected Result
1 User goes to ‘Parcel Info’ page. Dropdown list will display.
2 User click ‘View All Parcel’ link. The page loaded.
User will be redirected to ‘View All
Parcel’ page.
3 User click ‘edit/update’ icon. The page loaded.
List of parcel info displayed
User successfully update parcel info
from the system.
User will be redirected to ‘View All
Parcel’ again.
70
Table 4.4 Test Case for User Delete Parcel Info
Test Case for User Delete Parcel Info
Step Procedure Expected Result
1 User goes to ‘Parcel Info’ page. Dropdown list will display.
2 User click ‘View All Parcel’ link. The page loaded.
User will be redirected to ‘View All
Parcel’ page.
3 User click ‘trash’ icon. The page loaded.
List of parcel info displayed
User successfully deleted parcel info
from the system.
User will be redirected to ‘View All
Parcel’ again.
Table 4.5 Test Case for User Logout
Test Case for User Logout
Step Procedure Expected Result
1 User click dropdown icon. Dropdown list will display.
2 User select logout. The page loaded.
User successfully logout from the
system.
User will be redirected to homepage.
71
Table 4.1 shows the test case for user login and the indicated checked if a
user entering the right details or not. Table 4.2 shows the test case for add new
parcel info for staff. While Table 4.3 shows the test case for staff successfully
updated parcel info. The test indicated checked if a staff key in the information
correctly or not. Next, Table 4.4 displayed the test case for deleting the parcel
info. Table 4.5 shows the test case of success user logout.
4.4 Chapter Summary
Implementation is an interrelated process where each of implementation
modules need to be tested in order to achieve less errors and meet requirement
specified. In general, most of the budget consume on implementation phase
because it is core process to complete the product and able to deliver all the
functionalities smoothly. Testing is focus on investigation and discovery. During
the testing phase, developers find out whether their code and programming work
according to customer requirements. There are four phases in this system which
are unit testing, integration testing, system testing and test case.
72
CHAPTER 5
RESULT AND DISCUSSION
In this chapter, the results are discussed after system testing for analyzing or
evaluating staff, admin and student’ access pattern when accessing Parcel
Management and Tracking System is completed.
5.1 Notification and Reports
After archiving and discussing the objectives to develop a parcel
management system for Residential College especially for Besut Campus and to
test how the system work based on the user requirement now to design a system
that manages and notifying users about their parcel through the Gmail.
Figure 5.1: Notification through Gmail for Student
73
Figure 5.2: List of Reports
Figure 5.3: Parcel Reports
74
Figure 5.4: Parcel Reports
Figure 5.5: Parcel Monitoring Graph by Month
75
Figure 5.6: Student Reports
Figure 5.7: Student Monitoring Graph by Course
76
Figure 5.0 shows the result of notification student through Gmail and
Figure 5.1 shows the page where the admin can choose and view the parcel and
student report. Next, Figure 5.2 displayed list of student that not pick up their
parcel and Figure 5.3 displayed list of student that already taken their parcel at
Residential College. While, Figure 5.4 shows the monitoring graph of all parcel
by monthly report. Admin also can view the student report which is shown in
Figure 5.5. Lastly, in Figure 5.6 shows the student monitoring graph by course.
77
CHAPTER 6
CONCLUSION
This chapter concludes the final year report and outline the future works for the
Android Based Real Time Parcel Management and Tracking System with
Integrated GPS project. In this project, the prototype of Android Based Real Time
Parcel Management and Tracking System with Integrated GPS is proposed and
developed to meet the three objectives mentioned in Chapter 1. The prototype of
this project in this final year project has met all the objectives and can be
expanded further for future system development.
6.1 Conclusion
In conclusion, this project focused on implementing the Global Position
System (GPS) to track the current location of parcel and the Android Based Real
Time Parcel Management and Tracking System with Integrated GPS prototype is
developed in order to get the input form user and to test the new method
implementation. The GPS is the real-time tracker will help locate parcel's current
location and retrieve it almost immediately.
78
6.2 Future Project
In future, this system can be improved in several ways. Firstly, notification
through WhatsApp. Current system only can notify student about their parcel
arrived through Gmail. So, it will be easier for user to get the notification because
nowadays everyone used WhatsApp at anytime and anywhere. Secondly, make an
improvement when student want to pick up their parcel by scanning student matric
card. It can reduce time-consuming. In the current system, there is only status
update when parcel was already taken by student and staff has to update the data
manually.
79
REFERENCES
[1] Patel, P., Rauniyar, S. K., Singh, T., Dwivedi, B., & Tripathi, H. (2018).
Arduino Based Child Tracking System Using GPS and GSM.
[2] Amannah, C. I. (2018). ON THE DEVELOPMENT OF REAL TIME
PARCEL TRACKING AND MONITORING SYSTEM. Journal of Remote Sensing
& GIS, 9(2), 60-83.
[3] Ramani, R., Valarmathy, S., SuthanthiraVanitha, N., Selvaraju, S.,
Thiruppathi, M., & Thangam, R. (2013). Vehicle tracking and locking system based
on GSM and GPS. IJ Intelligent Systems and Applications, 9, 86-93.
[4] Ahmed, S., Rahman, S., & Costa, S. E. (2015). Real-time vehicle tracking
system (Doctoral dissertation, BRAC University).
[5] al, P. V. (2013). Design and Development GPS-GSM Tracking. GPS-GSM
based Tracking System with Google Map based Monitoring, 5-8.
[6] al., H. e. (2013). Location Tracking System. Location Tracking System, 1-
14.
[7] al., J. A. (2017). Online New Event Detection and Tracking. Detection and
Tracking, 8-9.
80
[8] al., L. e. (2018). Wireless Asset Tracking System with Heterogeneous.
Tracking System, 1-21.
[9] al., P. G. (2014). Tracking System for Real-Time Privacy Monitoring on
Smartphones. TaintDroid, 1-3.
[10] al., S. K. (2013). Multi-Target Tracking in Mobile Sensor Network. Multi-
Target Tracking, 1-2.
81
ACTIVITIES SEPT OCT NOV DEC JAN FEB MAC APR MAY
Topic
Discussion and
Determination
Topic Project
Proposal
Proposal
Writing-
Introduction
Proposal
Writing-
Literature
Review
Proposal Slide
Presentation
Proposal
Progress
Presentation
Discussion and
Correction of
the Proposal
Proposed
Solution-
Methodology
Proposed
Solution-
Methodology
Prototype
Drafting Report
of the Proposal
Submit draft of
report to
supervisor
Seminar
Registration-
Project Poster
Seminar
Registration-
Project Slide
APPENDIX
82
Seminar
Presentation
and Evaluation
I
Final Report
Submission and
Evaluation I
Develop
System
Developing
System
Progress
Presentation
Discussion and
Correction of
the
development
Seminar
Presentation
and Evaluation
II
Final Report
Submission and
Evaluation II
top related