Gps Location Handling System On Web

advertisement
Gps Location Handling System On Web
Shaveta Bhatia
Research Scholar, Manav Rachna International University, Faridabad
&
Dr. Saba Hilal
Professor and Consultant, D.A.V Institute of Management, Faridabad
Abstract
A growing number of web services including location based services is available to public, but it is
difficult to find them or to judge whether they could be used in combination with other services. It is not
easy for a mobile user to find right service that is with right functionality and possibilities for specific
purpose. Today, Location based Tracking is an innovative application which is in great demand. The
application called GPS Location Handling System to run on web is developed for tracking the locations
of various mobile phones having the small application installed on their mobile phones.
1.
INTRODUCTION
The web service technique provides the interoperable capability of cross platform and cross language in
distributed net environment and this approach they help geographical information services to be
implemented in more precise way. The “GPS Location Handling System” is designed to track the
locations of users with microaddressing having a small application on their mobile phones. The web
application performs five functions. The first function is to display the locations with their distance on
the map. In the second function, new areas can be added in the database. The third function is to view
the history of all locations tracked with their longitude, latitude, name and distance with date and time
stored in database. The fourth function is to handle the user queries and add the users into the system.
The fifth function is to view and delete the new areas added into the system.
2.
RELATED WORK
The recent convergence of various technological and application trends in Location based Services have
resulted in the major level of interest in Location Tracking
Mehak Khurana et al [1] developed a distance based Centroid Localization Algorithm, for finding the
exact location of sensor nodes. This is economical and free application , where user can localize itself
by calculating the centroid position of all adjacent anchor nodes.This algorithm provides good
localization performance, cost effective consumes less energy and does not require any additional
hardware but it fails to provide accurate localization and is complex for implementation since the
locations are tracked using wireless sensor networks.
Maya Haridasan et al [2] designed and implemented a framework, called StarTrack, for enabling track
based applications .This is a system that works on extensive operations of tracks .The discrete tracks
combines to form a continuous route. This system is a foundation of various track based applications as
the system works on thousand of tracks. The system will locate the time order sequence of various
tracks using GPS, cell tower triangulation and WI-FI beacons. The limitation of this system is that it
works only outdoor and not indoor.
Silky Feldomann et al [3] contributed a Bluetooth based Indoor Positioning System based on radio
signal strength and associated distance between sender and receiver. In this system, the position is
tracked using sensors based on triangulation technique. But the limitation of the system is again low
signaling of sensors.
The
widely
used
softwares
like
Bhartiya
Mobile[4],IndiaTrace[5],
Mobile
Tracker[15],Facebook[6],IPadddress Locator[7] only provides the information about area and service
provider of the mobile phone, Other popularly used softwares are Google Latitude[8], CellID
Info[9],CellPhone Tracker[10] and SMS Tracker[11] are good for locating the users with large
constraints, but finer softwares are not prevalent. The locations tracked by the few of above softwares
www.theinternationaljournal.org > RJSITM: Volume: 04, Number: 06, April-­‐2015 Page 15
uses cell-id technique that does not provide the accurate results as it depends on the tower that comes
under the range. GSM phones can easily get the towers but CDMA phones can’t come in the reach.
Users can track the locations in broader area like mall, sector 21C of faridabad.But locating a particular
room in the home, locating a particular floor in the society is still left by existing softwares.
3 DESIGN OF GPS LOCATION HANDLING SYSTEM
The GPS Location Handling System is a web service that works intandom with mobile application
running continuously on mobile phone having android operating system. The processing of all the
tracked locations and retrieval of all locations on web is implemented through class
“GeocodingEngine.Java. The application works through plotting engine.This engine matched the
tracked locations with the prespecified (added locations) locations stored in MySql database. After
matching, the plotting engine plots these locations on the map displayed to user. The service provider
GoogleMap API is used in the application which allows any application to use google maps.The
application will run on any browser either on mobile phone or on desktop with the help of web
services. The web application has five objects The five services provided by the system is shown in fig
1.
The services are ShowMap, Add New Location, Show Queries, Show Locations and View/Delete
Locations. ShowMap object is used to display Locations on the Map using showmap_admin.php. Add
New Location is used to define a new area or new location using insertlocations.php. Show Queries
object is used to handle the user queries and to add the users into the system using approveReject.php.
Show Locations object is used to show the history of all tracked locations with date and time using
allocations.php. The View/Remove Saved Locations Object is used to see the list of all locations
entered and delete if any one is wrong entered using savedlocations.php.The information of locations
is stored in MySql database Server. The accessibility of the application is not provided to the user for
maintaining the privacy of tracked locations. The home page of the developed web application is
created by web service called “default_admin.php”.
4 DEVELOPMENT TOOLS
The different tools required to develop the web applications are:4.1 PHP Language
PHP (Hypertext Preprocessor) [12] is general purpose and widely used HTML embedded Scripting
Language which especially suited for Web development. The purpose of the language is to allow web
developers to write dynamically generated pages quickly. It is a server side scripting language which is
easy, freely available and can run successfully on any platform like UNIX, windows and others. The
code of our web application is written in PHP as PHP code is directly embedded into html that
increases the quality of website and website can be run easily on any browser without plug-in.
4.2 GoogleMap API
The Application Programming Interface (API) is a specification used by various application
components to communicate with each other. It describes the ways to perform a particular task. The
Google Map API is a Service provider that provides freedom to user for using the customized Google
maps in their application.GoogleMasAPI is the most popular most popular API on the internet. The
GoogleAPI allows you to harness the power of Google Maps to be used in the application for
displaying your own data in efficient and usable manner.GooglemapAPI is also called
GoogleMapJavascriptAPI where HTML,CSS and JavaScript works together. The API consists of
JavaScript files which contain classes with methods and properties that can use by developer to tell
how map behaves. The API runs faster on Mobile platforms and desktops. The main fundamental of
API is coordinates [13]. The coordinates are used to express locations in the world. The coordinate
system used in Google maps is Word Geodetic System 84 (WGS 84) which is same a sin case of
Global Positioning System The coordinates are expressed using longitude and latitude. The latitude
measures from south to north and longitude measures from west to east. At equator, the latitude is zero
www.theinternationaljournal.org > RJSITM: Volume: 04, Number: 06, April-­‐2015 Page 16
therefore everything below operator has negative value and everything above operator has positive
value. The latitude always precedes the longitude value.
4.3 Apache Server
The Apache Server is the most popular Web Server or HTTP Server which was initially designed for
UNIX environment, but later on it was ported to windows and other network operating systems. The
name "Apache" derives from the word "patchy" that the Apache developers used to describe early
versions of their software. Apache is freely available software supported by Apache Software
Foundation that provides various free open source technologies. Today Apache Server is most widely
used web server for various web applications running on multiple platforms like Windows and Linux.
4.4 JavaScript API
JavaScript is widely used to provide client-side functionality in web applications [14]. Many
contemporary websites incorporate JavaScript code into their pages in order to provide advertisements,
google maps, so-called gadgets, and applications on social networking websites. Since JavaScript code
has the ability to manipulate the page Document Object Model (DOM), steal cookies, and navigate the
page, JavaScript code may pose a significant security threat to the hosting page. In our application,
JavaScript API is used to create a page that display the locations on the map with the combination of
Google Map API.The supported platform for using JavaScript are Android ,Blackberry Operating
System,iOS,Web O.S application platform and so on.
5. EXECUTION OF THE APPLICATION
The extensive testing is done in the city to locate different persons in different areas. Now this section
described the detailed execution of web application for tracking a person. The results of the application
are shown in next subsections.
4.5 To Show Locations on Map
To show the tracked locations on a map, the administrator is having the object “SHOWMAP”.The
webpage has the list of all the users who are using the application. The administrator can see the
current location of any user .The Fig 1 shows the current location of two users using google maps.
Fig 1: Location of two users shown using google maps [16]
www.theinternationaljournal.org > RJSITM: Volume: 04, Number: 06, April-­‐2015 Page 17
4.6 To show history of all locations with date and time
The system is also provided with the history of all the previous locations tracked of different users so
that if the user has lost his mobile phone can see all the locations which are stored in the database with
date and time. This information is provided with the administrator and retrieves using an object SHOW
LOCATIONS. The screen containing information of few locations of a user as shown in appendix I.
4.7 To Define New Areas into the System
The system provides the facility to define new areas in the database with microaddressing for
providing more accuracy to the user for example, the tracked location is IInd floor, Retech Society,
The Tracked location is Staff Room, IIIrd Floor, and the tracked location is XYZ restaurant and so on.
This provides the easy searching of a person. The administrator can add, update, view and modify the
specified locations as per the need.
4.8 To View and Remove Saved Locations in the System
The new areas defined in the above section can be removed and change if required or wrong entered.
The Fig 2 shows the snapshot of few of the locations stored with the option of deletion.
Fig 1: Location of two users shown using google maps [16]
4.9 To show history of all locations with date and time
The system is also provided with the history of all the previous locations tracked of different users so
that if the user has lost his mobile phone can see all the locations which are stored in the database with
date and time. This information is provided with the administrator and retrieves using an object SHOW
LOCATIONS. The screen containing information of few locations of a user as shown in appendix I.
4.10 To Define New Areas into the System
The system provides the facility to define new areas in the database with microaddressing for
providing more accuracy to the user for example, the tracked location is IInd floor, Retech Society,
The Tracked location is Staff Room, IIIrd Floor, and the tracked location is XYZ restaurant and so on.
This provides the easy searching of a person. The administrator can add, update, view and modify the
specified locations as per the need.
4.11 To View and Remove Saved Locations in the System
The new areas defined in the above section can be removed and change if required or wrong entered.
The Fig 2 shows the snapshot of few of the locations stored with the option of deletion.
www.theinternationaljournal.org > RJSITM: Volume: 04, Number: 06, April-­‐2015 Page 18
Longitude
28.44999
28.450443
28.450367
28.450288
Latitude
77.2868
77.2868
77.2867
77.2866
Location with distance
26.41 mts second gate,T block
13.87 mts from Class nearby staffroom
5.76 mts from Class nearby staffroom
7.94 mts from Class nearby staffroom
Date/Time
7/8/2014 10:26
7/8/2014 10:26
7/8/2014 10:26
7/8/2014 10:00
Fig 3: Testing of application with Mobile 3
7. COMPARISON WITH OTHER SOFTWARES
The application described in this paper is compared with various available softwares. Now table 2
below shows the comparison of different softwares with the application described in the paper. From
the comparison it is shown that the developed application described in the paper covers all the
limitations of the current available softwares.It provides microaddressing with distance updating of
<=1m and time threshold value of <=1 minute. The application will work for both indoor and outdoor.
As the most used software Google Latitude can also tell the distance between various locations but not
the updating. The software describe in the paper calculates the distance updating of moving distance.
The graph shown in Fig below compares the accuracy level of both the softwares.The calculated mean
error percentage using various statistical algorithms for the above application is 4% which is much less
than other software’s.
Table 2: Comparison of different Softwares with GPS Location Handling System
Software
Longitude/Latitu Distanc Micro
Additio History Results
de
e
Addressin n
of of
g
new
location
areas
s with
date
and
time
Bhartiya
No
No
No
No
No
Location related to
Mobile
service provider
IndiaTrace
No
No
No
No
No
Location related to
service provider
IPAdresslocat Yes
No
No
No
No
Location related to
www.theinternationaljournal.org > RJSITM: Volume: 04, Number: 06, April-­‐2015 Page 19
or
Facebook
No
No
No
No
No
No
No
No
No
No
Yes
No
No
No
No
Cell
Phone Yes
Tracker
Cell ID
No
No
No
No
No
No
No
No
No
Google
Latitude
Yes
No
No
No
Yes
Yes
Mobile
Tracker
SMS Tracker
No
GPS Location Yes
Handling
system
Yes
Yes
within
1m of
radius
service provider
Location related to
service provider
Location related to
service provider
Location
in
broader area
Location
in
broader area
Location
in
broader area
Location
in
broader
area,
stationary distance
between
two
places
Location tracked
in
microareas,distan
ce within 1m of
radius,
time
threshold
value<=1 minute
8.CONCLUSION
Location based Services is the most valuable development in the mobile phone industry. Searching of
appropriate service on the mobile is important for public. The general people always need an easy way
to solve their purpose and to fulfill their requirements.The application of the “GPS Location Handling
System” described in the paper is to track the location of a person for safety and other law and order
purposes. Location tracking has both positive aspects and negative aspects. The one aspect is to search
you friend, family members, elders of family, children of family or any other person using mobile
applications. The other aspect is misuse of locations tracked by unauthorized users. For this purpose the
details of locations are only provided with the administrator. Only if user wants to see locations for
emergency then their data will be provided to them with verification so that no third person can track
their locations.
ACKNOWLEDGEMENT
The first author likes to express her gratitude to Dr. Babu Ram for his kind support and encouragement
during the preparation of this paper.
References
[1]
[2]
[3]
Mehak Khurana et al,” An improvement of Centroid Algorithm based on Distance in Wireless
Sensor Network”, International Journal of Smart Sensors and Ad-Hoc Networks,Vol 1,issue
1,2011,pp 28-32.
Maya Haridassan et al,”StarTrack: A Framework for Enabling Track based Applications”,
Proceedings of the 7th International Conference on Mobile Systems, Applications, and Services,
ACM, Newyork, 2002, pp 207-220.
Silke Feldmann et al,”An Indoor Bluetooth based Positioning System: Concept, Implementation
and Experimental Evaluation”, Proceedings of International Conference on Wireless Networks,
Las-Vegas, June 23-26, 2003.
www.theinternationaljournal.org > RJSITM: Volume: 04, Number: 06, April-­‐2015 Page 20
Bhartiya Mobile,” Trace Indian Mobile Location and Operator”, available at
http://trace.bharatiyamobile.com/ retrieved on 4 July 2012.
[5] India Trace,” Mobile Number Location Trace”, available at http://www.indiatrace.com/tracemobile-number-location/trace-mobile-number.php retrieved on 12 July 2012.
[6] Facebook,”Map to display Location of Friends” available at http://Facebook.com retrieved on 10
July, 2012.
[7] Geobytes,”IP Address Locator” available at http://www.geobytes.com/iplocator.html ,retrieved on
2 July, 2012.
[8] Wikipedia,”Google Latitude” available at, http://en.wikipedia.org/wiki/google_latitude,retrieved
on 17 August, 2012.
[9] Ajparag,”Track Your Location without GPS”, available at http://www.instructables.com/id/Trackyour-location-without-using-GPS-using-LAC-a/, retrieved on 2 Jan 2014.
[10] Zoemob,”Cell
Phone
Tracker”,
available
at
https://play.google.com/store/apps/details?id=com.zoemob.gpstracking retrieved on 4 Jan 2014.
[11] Gizmoquip,”SMS Tracker”, available at http://www.gizmoquip.com/smslog/,retreived on 15 July
2012.
[12] Faisal,”Advantages
of PHP”, An Article of TechIndia InfoTech, available at
http://www.techindiainfotech.com/blogs/view.php?blog=Advantages-of-PHP/13 retrieved on 2
Nov, 2012.
[13] Gabriel Svennerberg,”Beginning Google Maps API 3”,A Book published by Paul Manning
APress, USA,2010.
[14] Ankur Taly et al,”Automated Analysis of Security-Critical JavaScript APIs”, Proceedings of 2011
IEEE Symposium on Security and Privacy, 2011, pp 363-378.
[15] Mobile Tracker,” Tracing Location of Mobile” available at http://mobilenumbertracker.co.in/”
retrieved on 4 July, 2012.
[16] Google,” Web Mapping” available at http://maps.google.com, retrieved on 21 July 2014.
[4]
APPENDIX I
History of locations stored in database
www.theinternationaljournal.org > RJSITM: Volume: 04, Number: 06, April-­‐2015 Page 21
APPENDIX II
Request of various users for mobile application
Name
Shaveta
Anupama Pankaj
Siddharth
AAA
BBB
Aakriti
Shraddha
Arjun
Shruti
IMEI no.
3566751783574595
3564950306759436
1556722456823576
24257638273892980
46587698
357196059277637
911208750575901
355810051760620
352306052732406
Query
For Safety
Emergency
For Safety
safety
-------Tracking
Tracking
Tracking
Tracking
Date/Time
22 April 2013 1:04 p.m
25 April 2013 9:05 a.m
12 May 2013 10:05 a.m
Ist Jan 2014 2:13 p.m
24 Jan 2014 5:25 p.m
5 Aug,2014 4:30 p.m
5 Aug,2014 2:20 p.m
5 Aug,2014
1:10 p.m
5 Aug,2014
1:30 p.m
Action
Approved
Approved
Approved
Reject
Reject
Approved
Approved
Approved
Approved
www.theinternationaljournal.org > RJSITM: Volume: 04, Number: 06, April-­‐2015 Page 22
Download