Available online at www.ijiere.com International Journal of Innovative and Emerging Research in Engineering e-issn: 2394-3343 p-issn: 2394-5494 Android Ticketing of Railways with GPS Validation Using QR Code with Alarm feature Pratik S. Dhumal a, Dhananajay Dhande b, Ganesh Chaudhari c and Lavina D. Panjwani d Department of Computer Science & Engineering, Shri Sant Gadge Baba College of Engineering & Technology, Near Z.T.C., Bhusawal - 425203, Maharashtra, India ABSTRACT: In the Era of Computer Technology, We need to communicate and accelerate our life with the help of Information and Technology (ICT). We all require certain types of services on online, which require less workout or interference of Human being. One of the most popular forms of online trading is E-ticketing. Android Phones can overcome the trouble of the customers to stand in queue and book the any type of tickets. With the advent of the smart cards the overhead of waiting for ticket was reduced but the user should always remember to carry the card with him. After that E-Ticketing came, where passengers have to carry a SMS or a printout of the ticket booked online. The development and implementation of smart phone android application which are more effective and simple than the current ticketing system. The Android Ticketing of Railways (ATR) can be bought easily anytime, anywhere and ticket will be present in the customer s phone in the form of Quick Response Code. Also the ticket checker is provided with an application to search for the user s ticket with the ticket number in the cloud database for checking purposes. With this feature checker easily validate tickets. GPS facility is used for validation of the ticket at the source and deletion at the destination. The information for each user is stored in a CLOUD database of railway server for security purpose which is currently unavailable in the railway system. We will also include Alarm system in application, where after reaching destination Android alarm system will be used by an application to alert the passenger. Keywords: Android Railway ticketing (ATR), QR code, Cloud Computing, GPS validation, Alarm system. I. INTRODUCTION In the past few decades, technology has expanded to a huge extent and also is being utilized in the field of transportation services. Also hon ble Prime minister of India Shri Narendra Modi, started the a new project called as DIGITAL INDIA, Is an initiative of the Government of India to ensure that government services are made available to citizens electronically by improving online infrastructure and by increasing internet connectivity. So we implemented an android mobile application to buy the railway tickets where you can carry your tickets in the form of Quick response code which will be saved in the smart phone. For example, if you need to book a ticket from your city to another city then this app comes in handy where you can have access to ticket booking process with just a touch away on your smart phone. This app uses the smart phones to validate the ticket and delete your ticket once the user has reached the destination which is done automatically after certain interval of time. In advancement to this the ticket checker can validate the ticket with a checker application provided to check if the ticket is valid by scanning the QR code and checking in the cloud database if the ticket is valid. The application consists of all the details regarding the schedules of train, the routes taken by the trains with their source and destination places and the cost/expenditure that will be required to reach the destination. The payment can be done directly through the application after booking the ticket and as soon as the payment is done, ticket is generated on the server and sent to the user in the form of QR code. The payment gateways provided will be through credit cards or through prepaid services. The ticket is also stored in the database so that the checker application can cross check from the database if the ticket is valid. The data provided by the user in this app would be saved in the database.[1] It also provides Alarm features, where application will be informed the passenger when train reached at its destination using alarm system of android. E-Ticketing where passengers have to carry a SMS or a printout of the ticket booked online. But that required laptops or desktop for booking. Thus came into front the use of smart phone application where carrying a smart phone will do all the work. This project deals with the development and implementation of a smartphone android application to buy the railway tickets which is simple and easy to use.[4] II. LITERATURE SURVEY A. HISTORY On 16th Apr 1853, a train with 14 railway carriages and 400 guests left Bombay's Bori Bunder for Thane. In 1982, Indian Railways (IR) set up a central organization (COFOIS) to computerize freight operations. Till 1985, all tickets were issued manually and Stand-alone Computerized ticketing and reservation was introduced in multiple phases. In 1986 the 56
Ministry of Railways established CRIS, an umbrella organization for all information technology-related activities on Indian Railways merging COFOIS. In 1989, the train numbers were standardized to four digits Universal numbering. In 1990, First Self-Printing Ticket Machine (SPTM) was introduced, at New Delhi. In 1990, CONCERT (Country-wide Network for Computerized Enhanced Reservation & Ticketing) developed by CRIS is a total networking solution to Indian Railways Passenger Reservation System. In 1998, Coupon Validating Machines (CVMs) introduced at Mumbai CST. In 1999, Credit cards accepted for booking tickets and reservations in some stations (including Mumbai CST). In February 2000, Indian Railways web site was deployed. In 2001, IVRS (Interactive Voice Response System) for telephonic enquiries about trains introduced in some stations. On 03 Aug 2002, Indian Railways begins online train reservations and ticketing over the Internet. On 01 Dec 2002, Internet ticket booking extended to more cities. On 12 Aug 2005, IRCTC introduces E-ticketing for IR. On 26 Aug 2005, ticketing by SMS begins from IRCTC. In May 2014, IRCTC introduced Next Generation E-Ticketing system to upgrade it capacity. B. SCOPE Department of railway, e-ticket facility was introduced where users browse through a governmental website and books their long journey railway tickets which can be printed out after confirmation to show it to the checker when needed. After few months a new technology called M-ticketing (Mobile Ticketing) was introduced where customers messaged to the web portal through mobile phones after which a complete web page was downloaded to the user s mobile phone where users can do the same booking process as it was in the e-ticketing facility. In the foreign countries, the use of Oyster cards & Octopus card has become mandatory during travel. But we face inconvenience and suffer if we forget our travel cards and we stand in the Queue for our local suburban tickets, which is where m-ticketing; e- ticketing was unable lay their foot marks. As a solution to these issues an android mobile application can be made which will comprise of all the functionalities where one can buy the urban tickets and carry your urban railway tickets in your smart phone as a Quick response code. Mobile devices like smart phones are emerging in the field of transportation services where technology is being used for data collection, location based transportation services and decision making when it comes to travelling. There are mainly two security issues related with all the ticketing systems. One is validation and the other is ticket checking. One of them is the e- payment. To deal with these problems a new protocol has been given in the previous papers itself. This protocol aims at providing high level security. Security was offered but the performance of the system. This concept is clearly described and implemented in this project.[9] III. PROBLEM STATEMENT The current railway reservation system is human dependent, time consuming when it comes to ticket booking process and non reliable as well as if we lose our octopus or oyster cards. The objective of our project is to develop an android application which will serve as a medium for peoples to book a ticket to travel through railways. The main motive of the app is to ease the process of ticket booking by avoiding the hectic process to stand in a queue and book the ticket for the long distance travelling in the trains. There are several applications available in the market giving information about the travelling destinations and their fares. But none of these apps include the ticket booking process. Moreover the tickets booked on websites have to be saved and printed so as to been shown at the time of boarding. Whereas our app differs as it would not only book the ticket but also save the ticket in the form of QR code. This QR code can be scanned through other mobiles and saved as well which can be shown to the ticket checker for validation. This makes the entire process very easy. The data about the ticketing and personal information will be securely stored onto the database. Also our app would require the user to create an account so that it can be used by multiple users and would be independent of the devices. The user can log in through any mobile device having the app installed. It also includes alarm system for informing the passenger that railway reached at their destination station.[9] IV. PROPOSED METHODOLOGY It is actually a cloud based application. In which data will be saved in cloud database using web services. The work here starts during the first time installation of our application where the user has to sign up. During sign up the basic customer information like first name, last name, date of birth, mobile no, city, state etc., will be gathered and it will be stored into MySQL database. So every time when the user buys the ticket this customer information is sent to the database for security purpose and also the ticket is generated accordingly. During sign up the username will be set as the use s mobile number and the password will be as per the choice of the user. On the other hand if the user has an account then he can sign in directly. Thus the user can use different android phones and will not be restricted to only his phone. The above information will be send to server with the help of internet. [9] 57
Figure1. System Architecture [12] The user selects source, destination, and number of tickets and choice of switches of stations. Then the user is directed to the payment option. Payment can be done through prepaid services, i.e. the balance of the mobile no will be displayed along with the cost of the ticket and if the user agrees to precede then the equivalent amount of the ticket will be deducted from the balance of the mobile no. The user can also use credit card for paying fare for the ticket. The received information will be hosted b the glassfish server and helps to queue the incoming information. Web services will use SAAS (Software As A Services) for becoming application as platform independent. Once the customer hits the buy button a code in the railway server validates the pin number and passwords, if it is successful it saves both the journey details and customer info in the server's MySQL database. The code on the server side generates the time of buy and the expiry timing of the ticket; the details are saved in the railway s MySQL database. Then a Quick Response code is generated on server side, saved in the database and also sent back to the user mobile and saved in the application memory which serves as a ticket for the user. In this module the checker will enter the quick response code which will validate and verify the journey details from the railway database, especially the time and date of the ticket.[11] V. HARDWARE AND SOFTWARE REQUIREMENTS A. SOFTWARE REQUIREMENTS JDK1.6 or higher Android SDK for windows Android 2.3 version minimum Eclipse (JUNO) Apache Tomcat Server 6.0 MYSQL JDBC drivers B. HARDWARE REQUIREMENTS ATX Cabinet 105/106 Keyboard 64MB RAM minimum Hard Disk- 30GB minimum Core to dual or higher microprocessor VI. IMPLEMENTATION For booking the ticket the user has to give his complete information like his name, address, phone number, email address etc. After giving all the information demanded, the user can then book his ticket. If the information isn t valid, the user won t be able to book his ticket. By generating QR code image in mobile we will have to save it for travel duration and Checker will be validate it by using QR code scanner. 58
Figure2. Journey details Figure3. Passenger details Figure4. QR code Generated Figure5. Ticket validation 59
VII. ADVANTAGES AND DISADVANTAGES A. Advantages This technology will replace the complex reservation chart that is often carried by the TTEs. Induction of this technology will facilitate travelling ticket examiners to allot vacant seats to short distance passengers. It will enable TTEs to update the status of passengers who are turning up for the journey. After this updating, reservation server will come to know about the seats of absent passengers and will allot those seats to RAC/WL passengers informing them by sending an SMS. After allotting the seats to all the RAC/WL passengers, if some seats still remain vacant then it will be reflected as available seats across railway network and it could be booked by any passenger which is willing to travel from the upcoming station. Revenue of railway is increased. Procurement of tickets by touts is eliminated. It attempts to reserve each and every seat even vacant for one station to next station. It maintains the transparency in berth allocation and makes the ticket checking process fast. Again.[10] B. Disadvantages The system will require Internet connection Throughout the process. [10] VIII. CONCLUSIONS This kind of ticketing application can be applied to any kind of transport system. Our android application is one of its kinds and finds huge application to buy railway tickets through android mobile. Also our application saves a huge work for our ticket checkers by GPS. This android application reduces the manual work of both ticket bookers and ticket checkers. It is basically the transition from a manual to digital system for ticket booking of as well as ticket checking of Indian railways. QR code used for user validation ensures security of the system. Automatically available train time allows the user to book tickets according to his convenience. Also our app saves a huge work for our ticket checkers by GPS validation of tickets and also moving from manual ticket checking process to digital ticket checking process by just scanning with his own android mobile to validate the ticket. So from these we will surely contribute our own work in DIGITAL INDIA program of Government of India. ACKNOWLEDGMENT We would like to thank my Head of Department, Prof. D. D. Patil & sincere thanks to Prof. L. D. Panjwani and all the respected teaching faculties of department of computer science & engineering. Also we would like to thank my parents, friend for motivating me in this paper work activity. My special thanks to all the writers of reference paper that has been referred by me. REFERENCES [1] R.M. Wahul, B.Y. Pawar Cloud Based Suburban Railway Ticket Booking and Validating System for Android Phone. International Journal of Innovative Science and Modern Engineering (IJISME) ISSN: 2319-6386, Volume- 3 Issue-6, May 2015 [2] Wallace Jackson's (2011) "Android Apps for Absolute Beginners" Apress Publications. [3] Wei - Meng Lee" Beginning Android Application Development" - Wiley Publishing Inc.. [4] Karthik.S and Velmurugan. A- Android Suburban Railway Ticketing with GPS as Ticket Checker. [5] Reto Meier, Professional Android Application Development" Wiley Publishing Inc., 2009. [6] Satya Komatineni, Pro Android" - Apress Publications, 2009. [7] Pressman R., "Software Engineering, A Practitioners Approach", 7th Edition, Tata McGraw Hill. [8] Grady Booch, James Rumbaugh, Ivar Jacobson, "The Unified Modelling Language User Guide", Pearson Education. [9] Subernarekha Ghoshal,Shalini chaturvedi,akshay Taywade and N. Jaysankar, Android Application for Ticket Booking and Ticket Checking in Suburban Railways Indian Journal of Science and Technology, Vol 8(S2), 171 178, January 2015. [10] Shankar Thombare, Tushar Kulkarni, Krishna Ghuge, Prof. Swati M. Bhadkumbhe, Android ticketing with GPS as ticket checker, IJISET - International Journal of Innovative Science, Engineering & Technology, Vol. 2 Issue 2, February 2015. [11] 2012 IEEE International Conference on Advanced Communication Control and Computing Technologies (ICACCCT) Android Suburban with GPS as aticket checker. [12] Sadaf Shaikh, Gayatri Shinde, Mayuri Potghan, Tazeen Shaikh, Ranjeetsingh Suryawanshi, "Urban Railway Ticketing Application", Published in IJARCSSE, Volume 4, Issue 1, 2014 60