Design and Implementation of Web-Based GPS-GPRS Vehicle Tracking System
Design and Implementation of Web-Based GPS-GPRS Vehicle Tracking System
net/publication/310267800
CITATIONS READS
31 11,345
2 authors, including:
Khalifa Salim
University of Baghdad
5 PUBLICATIONS 33 CITATIONS
SEE PROFILE
All content following this page was uploaded by Khalifa Salim on 15 November 2016.
Abstract— In this paper, an integrated cost effective web- coordinates to a remote server facilitates the tracking of
based GPS-GPRS vehicle tracking system was designed and object remotely using any computer connected to the web.
implemented. The system enables enterprises owners to view
the present and past positions recorded of the target vehicle on II. GLOBAL POSITIONNING SYSTEM
Google Map through purpose designed web site. The current
position of the vehicle was acquired by GPS device which is The GPS is a space-based satellite navigation system that
integrated in the target vehicle and the location coordinates provides location and time information in all weather
are sent through GPRS service provided by the GSM network. conditions, anywhere on or near the Earth where there is an
The GPS data are sent using Get method of HTTP protocol, unobstructed line of sight to three or more GPS satellites.
the data at server side are stored in a database tables and can GPS technology can be described in terms of three
be retrieved as request for position browsing on map. A web segments:
application is developed using PHP, JavaScript, Ajax, XML, 1. Space Segment: Consists of twenty-four satellites
and MySQL with embedded Google Map to retrieve and orbiting 11,000 nautical miles above the earth.
display on track details.
2. Control Segment: Consists of 5 ground stations
around the globe that manage the operational health
Keywords—GPS, GPRS, Vehicle Tracking. of the satellites by transmitting orbital corrections
I. INTRODUCTION and clock updates.
3. User Segment: Consists of various types of GPS
The GPS-GPRS-based tracking system is a system that receivers that can vary in complexity and
makes use of the Global Positioning System GPS to sophistication.
determine the precise location of a vehicle to which the
device is attached. When a large number of objects or GPS receivers are able to identify their location when
vehicles were spread all over the ground, the owner of three GPS satellites triangulate and measure the distance to
corporation needs to keep track for fuel saving, security the receiver and compare the measurements. A fourth
purposes…etc. A tracking system is required to determine satellite measures the time to the receiver. The information
the location of any object at any given time and the distance from all four satellites is compiled to determine the location.
travelled. Also, the need for a tracking system in users The sophistication of a GPS receiver impacts the reliability
vehicle is used to prevent any kind of theft since police can and accuracy of the GPS data received [4]
use tracking reports to locate a stolen vehicle location.
GPRS and GPS based tracking system will provide III. GENRAL PACKET RADIO SERVICES
effective, real time vehicle location report. A GPS-GPRS General Packet Radio Service GPRS is a packet switched
based tracking system gives all the specifications about the service based on Global System for Mobile
location of a vehicle. The system utilizes geographic Communications GSM, an extensively deployed voice
position and time information from the Global Positioning technology. GPRS is a 2.5 G cellular network. It provides
Satellites [1-2]. affordable and fast internet connections to service users.
The system uses an On-Vehicle Module consists of GPS Billing is based on the amount of data transferred rather
receiver and GSM modem, the device resides in the vehicle than on the connection time. This is achieved by allocating
to be tracked. In order to track the movement of the vehicle resources radio channels to users only when they need to
Google Maps used for mapping the location. The GSM send data. GPRS may offer data rates up to 171.2 kbps [5-
modem fetches the GPS location and sends it to the server 6]. GPRS utilizes most nodes in an existing GSM network;
using GPRS. two additional nodes are introduced in the GSM network to
Extensive research work had been carried in the field of support GPRS Serving GPRS Support node SGSN and
object based system ranging from GSM based location Gateway GPRS Support Node GGSN, these two nodes
determination [3] to GPS based location determination [4]. constitute the core network of a GPRS sub-network and
The integration of GPS and GSM was first established they are connected through an IP based GPRS backbone
using SMS as a method of transmitting GPS coordinates. network.
The inclusion of GPRS technology to transmit location
443
Khalifa A. Salim et al | IJCSET | December 2013 | Vol 3, Issue 12, 443-448 www.ijcset.net | ISSN:2231-0711
444
Khalifa A. Salim et al | IJCSET | December 2013 | Vol 3, Issue 12, 443-448 www.ijcset.net | ISSN:2231-0711
445
Khalifa A. Salim et al | IJCSET | December 2013 | Vol 3, Issue 12, 443-448 www.ijcset.net | ISSN:2231-0711
relationship is to identify extra agent information ownership, up may take a minute, and then GPRS is configured with
and the second identify to which client this agent belongs. the GSM network APN and HTTP protocol initialized.
For track table one foreign key relationship used identify
the ownership of track data to agents.
446
Khalifa A. Salim et al | IJCSET | December 2013 | Vol 3, Issue 12, 443-448 www.ijcset.net | ISSN:2231-0711
to the provider. In case of network un-availability, the In real-time tracking only last location is queried from
acquisitioned GPS coordinates and other data such as time database and presented on map. In real-time tracking, the
and speed are stored temporarily until the network returns database is queried every 10 seconds for new data and the
back to service then the stored coordinates are sent with page refreshed with the new data.
their time stamp and speed. Figure 10 show the mapping process flowchart the three
displaying methods (static, simulated, realtime) are
XIII. TRACK BRWOSING presented.
A tracking page implemented for the purpose of track
browsing; this page consists of an embedded Google Map Start
in the body, two drop-down lists for agent selection and
route type, Show track details, and calendar. Through this
page, clients and agents can view track on map by selecting
Select agent, route
agent, route type, and date, however, for agents only route
type, and date
type drop-down list is used since the agent is identified.
Figure 8 shows tracking page.
The map cantered at Baghdad city centre for default case,
however, for a specific agent the map initially centred at Return XML markers of
Latitude, Longitude,
vehicle position and keeps updated at the specified intervals. Heading, Speed, and
Google Maps provide zoom and moving tools which ease Date
zooming in and out and navigation on map.
Return data with Return data with
Route
the same agent Static Simulated the same agent
type?
id and date id and date
Real‐time
Put the data on the map Put the n‐point on the
with connecting polygons Return last location
map and draw a polygon
related to the agent id
from the last one
simulated route type is selected then all track data for the
specified agent and date are retrieved, but for real time only Yes
the track data with max RecID are retrieved. For static
routing all the retrieved data are added on the map. For End Yes
simulated, the retrieved markers are added one-by-one by
duration on 2 seconds with polygons connecting the FIGURE 10 MAPPING PROCESS FLOWCHART
markers.
XIV. CONCLUSIONS
The integration of GPS with GPRS provides continuous
and real-time tracking. Transmission cost extremely
reduced by using GPRS service instead of SMS. Google
Map free service and the use of HTTP protocol as a data
sending method reduces the monthly cost for an individual
user or an enterprise. The proposed system was designed to
be expandable with unlimited number of users and support
independent different type of authorization.
Figure 9 Static Route Tracking
447
Khalifa A. Salim et al | IJCSET | December 2013 | Vol 3, Issue 12, 443-448 www.ijcset.net | ISSN:2231-0711
REFERENCES
The Designed system displays locations of the tracked [1] Akintunde Musibau Ajagbe, Stephen Enyinnaya Eluwa, Edward Eric
vehicle with an error between 2.5 and 50 meter in real-time Duncan, Mohd Khairuddin Bin Ramliy, Choi Sang Long, and
on the map. Accuracy of the system is highly dependent on Mkomange Claud Wantrudis, "The Use of Global System of Mobile
Communication (GSM) Among University Students in Malaysia",
the GPS device and the coordinates received from GPS International Journal of Innovation, Management and Technology,
satellite while reliability and usability depend on the vol. 2, no. 6, pp. 547-588,Malaysia, Dec. 2011.
reliability of the mobile communications network. The [2] Junaid Ali, Shaib Nasim, Taha Ali, Naveed Ahmed and syed Riaz un
system is very effective in areas where there is wide mobile Nabi, "Implementation of GSM based Commercial Automobile
Tracker Using PIC 18F452 and Development of Google Earth
network coverage; ease of use is another factor, the client Embedded Monitoring Software". IEEE International Conference on
application is a PC-based web browser, mobile browser or Research and Development, UPM Serdang, Malaysia, 16-18 Nov.
other PDAs browser which enables user to log check track 2009.
where and when ever internet access is available. The web [3] Shu Wang, Jungwon Min and Byung K. Yi, "Location Based Services
for Mobiles: Technologies and Standards", IEEE International
designed to be user friendly, interactive, secure, and reliable. Conference on Communication (ICC), Beijing, China, 2008.
Normalized database tables used results in reduction in [4] Tracy M. L. Brown, Steven A. McCabe and Charles Wellford, "Global
cost as the redundancy is avoided as much as possible. Positioning System (GPS) Technology for Community Supervision:
Repetition when occurs exhausts the server and database Lessons Learned", US Department of Justice, document No. 219376,
April 2007.
engines by checking similar data exist in a number of [5] G. Sanders, L. Thorens, M. Reisky, O. Rulik, and S. Deylitz, "GPRS
different tables. Using the standardized set procedures and Networks". Hoboken, NJ: Wiley, 2003.
distributing database functionality into set of stored [6] S. Hoff, M. Meyer, and A. Schieder, "A performance evaluation of
procedures reduces the needed code amount and syntax Internet access via the general packet radio service of GSM", in Proc.
48th IEEE Vehicular Technol. Conf., Ottawa, vol. 3, pp. 1760–1764,
lines of code used. 1998.
[7] SIMCom"SIM908 Hardware Design" Version 1.06, China, 2011.
448