IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 474- 481

International Journal of Research in Information Technology (IJRIT) www.ijrit.com

ISSN 2001-5569

Android application to track real time position of public transport vehicle Vishal Sonawane1, Sopnil Shinde2, Nayan Malwade3 1

Student, Computer Engineering, University Of Pune Pune, Maharashtra, India [email protected]

2

Student, Computer Engineering, University Of Pune Pune, Maharashtra, India [email protected]

3

Student, Computer Engineering, University Of Pune Pune, Maharashtra, India [email protected]

Abstract This proposed android application for public vehicle tracking system works using GPS technology, which would be the cheapest source of vehicle tracking. It is an android application which is used for tracking the real time position of public transport vehicle by using Global Positioning System (GPS). This design will continuously monitor a moving Vehicle and report the status of the Vehicle on demand by the user (passenger). For doing so a android mobile device with GPS facility (we call it as a GPS device for our convenience) acts as a transmitter and another android mobile device as a receiver are used. A GPS device is used to send the position (Latitude and Longitude) of the vehicle from a remote place. The GPS device will continuously give the data i.e. the latitude and longitude indicating the position of the vehicle. The same data is sent to the mobile at the other end from where the position of the vehicle is demanded i.e. on user’s mobile device. When the request by user is sent to the server, the server sends a return reply to that mobile indicating the position of the vehicle in terms of latitude and longitude in real time and this real time position of the vehicle is shown to the user on Google map. We are trying to solve the problems of users who daily use public transport. Passenger has to wait for long time for their buses as they don’t know the exact location of bus. By this application we will provide them the exact location of their bus, by which they can know how much time they have to wait more. Due to this in case of emergency they can opt other way of transport apart from bus if it takes long time for the bus to reach them Keywords: GPS, Android Application, VTS.

1. Introduction This project is an android application which will track the real time position of public transport vehicle and display the same to the user on Google map. The project contains two android applications, one which will be using GPS facility of the android mobile and will act as a GPS device to fetch location of the vehicle in Vishal Sonawane,

IJRIT

474

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 474- 481

terms of latitude and longitude and another application for client side which will display this fetched location to the user on Google map. A database is maintained at server side to store the data about location such as bus number, latitude, longitude and IMEI number of the mobile device acting as a GPS device. This database will also contain the data related to the user such as name of user, email address, mobile number, username, password and IMEI number. The GPS device will continuously fetch the location of the vehicle and send it to the server. Along with sending the location this GPS device will also fetch the IMEI number of the mobile in which this application will be installed and send it to the server. On the client side whenever user will request the position of any vehicle the location data of that selected vehicle will be fetched from the server and then this location will be shown to the user on the Google map. Before using this application the user will have to register so that we will be able to keep user records and keep an eye on the users who are using our application. As soon as the user installs the application IMEI number of the user’s device will be fetched and stored in the database present at server side. This is done in order to avoid misuse of the application. 1.2 Related Technology A. GPS Technology: In 1973, the Department of Defense funded the Navigation Technology Program that resulted in Navigation System and Ranging Global Positioning System (NAVSTAR GPS), now known as GPS. The current GPS system consists of satellites in 6 different orbits. At present, there are 29 active satellites circling the globe at an altitude of 20,200km. They are arranged to provide at least four satellites within the line of sight of any point on the globe.[7,8] How does GPS work? Each GPS satellite transmits radio signals that enable the GPS receivers to calculate where its (or your vehicles) location on the Earth and convert the calculations into geodetic latitude, longitude and velocity. A receiver needs signals from at least three GPS satellites to pinpoint your vehicle’s position. Triangulation phenomenon is used to calculate the position of the GPS device.

Fig. Triangulation phenomenon GPS Receivers commonly used in most Vehicle tracking systems can only receive data from GPS Satellites. They cannot communicate back with GPS or any other satellite. A system based on GPS can only calculate its location but cannot send it to central control room. In order to do this they normally use GSM-GPRS Cellular networks connectivity using additional GSM modem/module.[9,10,11] B.GSM Technology: GSM, Global system of Mobile, is a popular Mobile communication system provided by Cellular service providers or GSM Operators in most countries internationally. It is used in most mobile handsets used by us. GSM Mobile communication system can be intelligently used by electronic devices which can collect some data and send it to the central place using SMS or GSM data call. GSM is required in Vehicle tracking systems because GPS system can normally only receive location information from satellites but cannot communicate back with them. Hence we need some other communication system like GSM to send this location information to central control room. Other technologies can also be used but they are more costly.[5,6] Vishal Sonawane,

IJRIT

475

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 474- 481

1.3 Purpose of the Project Vehicle tracking system is being used by various transportation corporations to track their goods carrying vehicles whether these vehicles reach to their destination in time or not; whether the driver follows the same path or misuses the vehicle by roaming here and there instead of taking appropriate path. [1] Many people use vehicle tracking system for personal vehicle tracking such as car tracking. The common thing in both these tracking system is that the vehicle being tracked is seen to the private organization or the user can view only its vehicle tracking positions which is beneficial to that organization or person only. But what if a person wants to know the position of public transport vehicle so that he/she can reach at stop in time? Many time it happens with passengers that they has to wait for the vehicle for long time as they are unaware about the location of public transport vehicle, where it is and when it will reach to their stop. This waste their time as well as it frustrates them. The objective of this project is to solve the problems of users who daily use public transport. Passenger has to wait for long time for their buses as they don’t know the exact location of bus. By this application we will provide them the exact location of their bus, by which they can know how much time they have to wait more. Due to this they can manage their time as well as in case of emergency they can opt other way of transport apart from bus if it takes long time for the bus to reach them and of course it will kill their frustration also.

2. Existing System The roots of Vehicle Tracking Systems lie in shipping industry. When large fleet of vehicles were spread out over the vast expanses of ocean, the owner corporations often found it difficult to keep track of what was happening. They required some sort of system to determine where each vehicle was at any given time and for how long it travelled. The need of vehicle tracking in consumer’s vehicle rose to prevent any kind of theft because Police can use tracking reports to locate stolen vehicle.[2] Initially vehicle tracking systems developed for fleet management were passive tracking system. In passive tracking system a hardware device installed in the vehicle store GPS location, speed, heading and a trigger event such as key on/off, door open/closed .When vehicle returns to a specific location device is removed and data downloaded to computer. Passive systems also included auto download type that transfer data via wireless download but the system was not real time. Passive systems weren’t useful to track consumer’s vehicle for theft prevention. Real time tracking system was required that can transmit the collected information about the vehicle after regular intervals or at least could transmit the information when required by monitoring station. Active systems were developed that transmit vehicle’s data in real time via cellular or satellite networks to a remote computer or data centre. Such active systems are nowadays implemented in car tracking system, school bus tracking systems etc. Today most of the tracking systems use real time data transmission that means the position of vehicle is sent to the user with some time delay of micro seconds or instantaneously. [3] While gathering data related to our project topic we come across two main existing android applications which were similar to our project. Those are Mumbai Indicator and Pune PMPML info. But these two applications use static data i.e. the database from where the data necessary for the computations in application used is static in nature whereas our application uses real time data for computations.[4]

2.1 Drawbacks of Existing System Drawbacks of existing systems mentioned above are as follows: 1] Mumbai Indicator application This app shows the position of the local trains in Mumbai to the users. It shows the arrival and departure time of trains and buses from various stations.

Vishal Sonawane,

IJRIT

476

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 474- 481

Fig.1 Mumbai Indicator application -It does not show real time position of trains and buses. -Time mismatch in actual position of train or bus and the position shown to user. -Poor GUI. -Information is shown to user in textual format only. 2] Pune PMPML Info This application shows the position of the Pune PMPML buses in Pune to the users. It shows the bus number list and time table between source and destination entered by user and also allows user to send this information to anyone via SMS.

Fig.2 Pune PMPML Info application -It provides only station list on the selected source to destination path. -It uses static database to show information to users. -The information can be sent only via SMS. -Low accuracy -Not reliable -Time mismatch between the shown bus timings and actual timings of buses. -It does not provide real time position of bus to the user. Vishal Sonawane,

IJRIT

477

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 474- 481

3. Proposed System The concept of vehicle tracking system is being used by various transportation companies as well as in car tracking etc to find the route to desired location as well to track the vehicle.[5] Suppose a passenger has to travel form place A to place B and he/she is standing at bus stop at location A. Now the passenger doesn’t know the location of the vehicle, when it will reach to that stop so the passenger can’t decide whether to wait for the vehicle or to choose an alternative private transport mode. Also the passenger can’t manage his/her time till the arrival of vehicle as the arrival of vehicle is unpredictable. Keeping in mind all these problems of passengers, we have proposed an android application for public transport vehicle tracking. Our approach is to find out the real time position of public transport vehicles on the particular route and provide the same to the user on Google map. The proposed application involves three major components viz. a android mobile device with GPS facility (we are calling it as GPS device for our convenience), a central server station and a user mobile device. The GPS device will continuously receive the signals from three or more satellites and send its co-ordinates to the central server station along with its IMEI number .Whenever user will select any vehicle (say bus), a request for position of vehicles on that route will be transferred to the central server station. Central server station will look for the positions i.e. co-ordinate records of the vehicles on that route, if available then it will fetch that data and transfer the same to the user’s mobile device. The GPS device and the central server station will be connected via internet and this will use IPv4 protocol. The connection between user’s mobile device and central server station will be also done through internet. To continuously receive co-ordinates information from the central server station, request for the co-ordinates will be sent recursively to the server with delay of few seconds. The position of the selected vehicle will be shown to the user on Google map in the form of moving cursor. This marker will point to the real time position of the selected vehicle.

3.1 Advantages of proposed system This approach will magnificently change the public transport vehicle system. This application will provide the real time position of vehicles to user. So by knowing the exact location of the vehicle passengers can manage their time and in case of urgency they can opt another mode of transport if vehicle is going to take more time to reach their preferred location. Indirectly this will save provide a way to utilize the time and also kill the frustration of users. Nowadays the android mobiles and internet plans are easily affordable by everyone, so everyone can enjoy the facility in low cost budget.

3.2 Detailed working of proposed system

Fig.3 Architecture of proposed system As shown in the above figure our project consists of main three components viz. a mobile acting as a GPS device, a central server station and a mobile at client side. We have made two android applications, one for the mobile acting as a GPS device and another for mobile at client side. The first android application will be installed in a GPS device and it will fetch the current location of the vehicle in the form of latitude and longitude and transmit the same to server after 10 seconds continuously. For doing so we have connected this android application with a PHP page which is acting as a mediator between android application and the Vishal Sonawane, IJRIT 478

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 474- 481

MYSQL database. Before using the second android application, which will show the location of the vehicle to the user on Google map, the user will have to register first by providing some basic information such as name, mobile number and has to set username and password which will be further used by the user for login purpose. As soon as the user hits the submit button on registration form the IMEI number of the user’s device will be fetched and along with the details of user this number will also be stored in the database. The purpose of storing IMEI number is to keep track of the users who are using our application and also to avoid misuse of the application. After successful registration user will login with the username and password and can request for location of any bus by selecting bus from the options provided. As soon as the user will select the bus, the android application will send http request to connect to the PHP page to fire MYSQL query on the database and also load the Google map in the background. This PHP page will execute the mentioned query and provide location in the form of latitude and longitude to the android application. This location will be shown to the user on Google map in the form of marker. This application will continuously fetch the location from server through the PHP page and display the same to the user in the form of moving marker. Whenever user will click on exit button the application will stop.

3.3 Snapshots of proposed system

Fig.4 Main Activity

Fig.5 Registration Activity Vishal Sonawane,

IJRIT

479

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 474- 481

Fig.6 Login Activity

Fig.6 Google map showing position of vehicle

4. Conclusions In this paper we conclude that this android application which is used for tracking the real time position of public transport vehicle by using Global Positioning System (GPS) will continuously monitor a moving Vehicle and report the status of the Vehicle on demand by the user (passenger) and facilitate the passenger by killing their frustration of waiting for bus.

5. Future Enhancement In future this application may try to solve the problems of users who not only daily use public transport but also the exact count of passengers in the bus because the passenger who is waiting at some public bus stop Vishal Sonawane,

IJRIT

480

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 474- 481

did not know about the number of seats vacant in the bus. So that depending up on the vacancy of seats he can choose whether it should wait or choose an alternative in case of emergency if it takes long time for the bus to reach him. Another enhancement for this application can be fare payment by passenger in the bus itself where we can embed a automation system for fare calculation also.

References [1] Anurag D, Srideep Ghosh, Somprakash Bandyopadhyay “GPS based Vehicular Collision Warning System using IEEE 802.15.4 MAC/PHY Standard [2] Dr. Kamal Jain and Rahul Goel, “GPS Based Low Cost Intelligent Vehicle Tracking System (IVTS)” 2012 International Conference on Traffic and Transportation Engineering (ICTTE 2012)IPCSIT vol. 26 (2012) © (2012) IACSIT Press, Singapore [3] Muruganandham , P.R.Mukesh “Real Time Web based Vehicle Tracking using GPS” World Academy of Science, Engineering and Technology 37 2010. [4] www.google.com/ [5]R.Ramani, S.Valarmathy “ Vehicle Tracking and Locking System Based on GSM and GPS” I.J. Intelligent Systems and Applications, 2013, 09, 86-93 Published Online August 2013 in MECS (http://www.mecs-press.org/) DOI: 10.5815/ijisa.2013.09.10 [6]Khondker Shajadul Hasan, Mashiur Rahman, Abul L. Haque, M Abdur Rahman, Tanzil Rahman and M Mahbubur Rasheed, “Cost Effective GPS-GPRS Based Object Tracking System”, Proceedings of the International MultiConference of Engineers and Computer Scientists 2009 Vol I IMECS 2009, March 18 - 20, 2009, Hong Kong [7]Jules G. McNeff “The Global Positioning System”, IEEE TRANSACTIONS ON MICROWAVE THEORY AND TECHNIQUES, VOL. 50, NO. 3, MARCH 2002 [8] Adnan I. Yaqzan, Issam W. Damaj, and Rached N. Zantout , “GPS-based Vehicle Tracking System-onChip”, Proceedings of the World Congress on Engineering 2008 Vol I,WCE 2008, July 2 - 4, 2008, London, U.K. [9]http://www.greenarkenersol.com/vehicle_track.html [10]http://en.wikipedia.org/wiki/Vehicle_tracking_system [11]http://www.youtube.com/watch?v=0n0T992ccik

Vishal Sonawane,

IJRIT

481

Android application to track real time position of ... - IJRIT

real time position of public transport vehicle by using Global Positioning System (GPS). ... Satellites. They cannot communicate back with GPS or any other satellite. .... The GPS device and the central server station will be connected via internet ...

330KB Sizes 0 Downloads 140 Views

Recommend Documents

Android application to track real time position of public transport vehicle
This proposed android application for public vehicle tracking system works using ..... 2012 International Conference on Traffic and Transportation Engineering ...

Mobile data offloading (Android application) to cloud to save ... - IJRIT
save mobile phone energy by offloading to cloud. .... process/program or full virtual machine is migrated to the infrastructure, and then programmers do not have ...

Mobile data offloading (Android application) to cloud to save ... - IJRIT
Analyzing the intensive calculus dividing it in sub processes that are ... upload data on social networks, use online banking, find our way by using GPS and ...

Real-time Transmission of Layered MDC Video over Relay ... - IJRIT
To enable seamless and uninterrupted real time multimedia transmission to ..... End-to-end delay refers to the time taken for a packet to be transmitted across a ...

Real-time Transmission of Layered MDC Video over Relay ... - IJRIT
MDC generates multiple descriptions of the same source data that can be ... In this paper, we propose a system for real-time video streaming to mobile users, via ...

A Framework for Real Time Detection of ... - IJRIT
widely used social networking sites. ... profiles [7], [8] for confusing users, blacklisting URLs for security reasons [9], [10] and tools for reporting spam. [11].

A Framework for Real Time Detection of ... - IJRIT
Twitter is one of the famous OSN sites that provide a platform for virtual communities. ... hackers who will make use of the service for sharing malicious content. ... profiles [7], [8] for confusing users, blacklisting URLs for security reasons [9],

Physics Department - Tenure Track Tenure-track position in the ...
Research programs in PSU Physics are primarily in the areas of biophysics ... collaborative opportunities that connects Oregon's three public research universities ... Applications must be submitted online to: https://jobs.hrc.pdx.edu. Review of ...

Sigma-F Protocol Access Control for Real Time System - IJRIT
Key Words- Access control protocol; Scheduling; Real Time System; Response Time. 1. Introduction. The Real Time ... database locks etc. A job may need some ...

Sigma-F Protocol Access Control for Real Time System - IJRIT
Key Words- Access control protocol; Scheduling; Real Time System; Response Time. 1. Introduction. The Real Time ... database locks etc. A job may need some ...

University of Idaho - Tenure-Track Position The Department of ...
teaching of courses that will complement the broader Geography discipline and ... of life and was recently ranked among the top 10 college towns in the US.

University of Idaho - Tenure-Track Position The Department of ...
The Department of Geography at the University of Idaho is seeking to fill a ... teaching of courses that will complement the broader Geography discipline and ...

Tenure-Track Faculty Position Sedimentology The University of ...
to Dr. Delores Robinson ([email protected]). Go to http://facultyjobs.ua.edu/postings/35994 to electronically apply. When submitting an application, candidates must ...

Tenure-track professor position in Conservation of Biodiversity Faculte ...
Participating in continuing education and extension activities;. - Participating in departmental, university and private and/or public sector committees;.

Tenure-track professor position in Conservation of Biodiversity Faculte ...
Participating in continuing education and extension activities;. - Participating in departmental, university and private and/or public sector committees;.

Tenure-Track Faculty Position Sedimentology The University of ...
Details regarding existing research programs, ... teaching statements, and a list with the contact information for at least three referees. ... our existing faculty research areas in geophysics, sedimentology, basin analysis, and petroleum geology.

Reliable Real-Time Applications on Android OS - CiteSeerX
Abstract – The Android operating system (OS) is widely used within several types of ... GPS navigation while driving, and a higher priority phone call is received ...

The-Inside-Track-To-Careers-In-Real-Estate.pdf
Page 1. Whoops! There was a problem loading more pages. The-Inside-Track-To-Careers-In-Real-Estate.pdf. The-Inside-Track-To-Careers-In-Real-Estate.pdf.Missing:

Introduction to Real-Time Systems -
Periodic Task Scheduling. 110 / 233. Page 2. Problem formulation. 111 / 233. Page 3. Timeline scheduling. 112 / 233 ... Rate Monotonic (RM). 119 / 233 ...