EasyAR Library/ Bookstore Mobile Application Zeynep Şanlı 201011045 Merve Altınbaş 201011004 Melda Aydoğan 201111004 CENG 408 Computer Engineering Çankaya University Advisor: Hakan Maraş Co-Advisor: Faris Serdar Taşel
Table of Contents List of Figures... 3 ABSTRACT... 4 Key words... 4 1. Introduction... 5 2. Solution... 10 3. Results... 12 4. Constraints... 12 5. Test Scenarios... 12 6. Conclusion... 14 References... 15
List of Figures 1. Figure 1: View of Avaz Project... 6 2. Figure 2: Rixos Hotel Application.... 7 3. Figure 3: Pergel Application.... 8 4. Figure 4: Training Phase... 9 5. Figure 5: Tracking Phase... 10 6. Figure 6: Block Diagram...11
ABSTRACT Our project includes a study about indoor navigation. The aim of this project is to help people about finding a place easily. This project can be applied in many different places such as shopping centers and university campuses. We selected library as the place for demonstrating our demo. The system works with Android smart phones and also uses computer as a server. The system will operate as follows. Firstly, a database storage that includes location information of all books and web site which displays location information must exist. A student/person who come in library searches a book according to book name or author name and selects book that s/he wants. "Get location information" button is found next to book information. When s/he press this button, QR code which includes location information of the book is generated dynamically. QR code is read with Android QR code scanner and indoor navigation system is activated. The system shows the directions of the point where leads to the location of the book. While navigating, Augmented Reality System is used. Direction is pointed by three-dimensional marks such as arrows. As a result, place of the wanted book is found. At the end of the study, we plan to design and develop an Android program that helps people. Key words Augmented Reality, Java Server Page, Wi-Fi based Indoor Positioning J2EE, JSP, Android, QR code, indoor navigation, Bayesian classification, Kalman filtering.
1. Introduction 1.1 Company Background Vardar Software Ltd. is a company, working in the field of the information technology and developing unique and high quality design, solutions on the field. The company provides services in many different fields. Firstly, they provide project management service, using agile methodology. Custom Software Services for Authority, outsourcing, is another service the company provided. According to needs and demands of the institution, analysis, design and software development services are provided by the company. Lastly, Vardar Software Ltd. provides services on fields of frameworks and technologies, standards, Java libraries and tools, databases, ORM, Object Relational Mapping, technologies, script technologies and web servers. Solutions developed by Vardar Software Ltd. are Avaz, TagTakip, ActivWorks, ActivScope, Ayna Document Management System (DMS), and Alfresco extension. Avaz is a multi tenant multiplatform push notification server. Avaz Server supports APN, GCM, MS Phone Push Server platforms, also gathers push notification ability under one roof. Its multi tenant feature enables it to support more than one user group. Every group could manage their messages and mobile clients. User does not need to go under the burden of taking license for each mobile platform. Avaz provides its users an analytic service for their reporting needs. TagTakip: premade form components is another finished project of the company. A distinguishing feature of the TagTakip station from others is the ability to append a form to a tag. Premade form components that are ready to use, are located in TagTakip form designer are String, Boolean, Number, List. For each "mandatory" option can be selected. TagTakip mobile client presents users hosting via the form renderer. ActivWorks is a corporate business process management system. Activworks Suite covers life cycle of processes. Its usage covers analysis, development, implementation, monitoring and optimization. ActivScope is used together with ActivWorks. It could analyze processes, user based performance and current work information are available for each user, using graphs and tables any process or action could be seen. Ayna DMS is a web-based, fully scalable content and document management system. Its features are appropriate to cloud computing, customizable, has WebDAV support, includes dynamic forms, also it is open to dynamic modeling [1].
Figure 1: View of Avaz Project 1.2 Problem Statement The general problems of the project is how the current location of the person is determined and how this person could be navigated to a desired location, using indoor navigation system that fits best to the project requirements. The EasyAR project is basically a mobile application project, targeting a bookstore or a library setting. The goal of this project is threefold: First, mobile application receives the information of the location of the item which exists in the data storage of the library or the bookstore from the e-search system of the store. Second, project uses an indoor navigation facility with a mobile application. The mobile application helps the user to find and spot the item in its place without confusion. The current location of the user, must be determined using the indoor positioning systems. Third, depending on the requirement analysis, operation costs and time limitation, augmented reality technology is utilized in the project. Application form of augmented reality technology in our project, could vary. For example, one way to include augmented reality technology in EasyAR project could be as follows, directions could be indicated with a symbol or a character. directions could be indicated with a symbol or a character. In general, the usage of the project, is navigating the person with indoor navigation technology using a symbol or a character on the phone screen, in order to ease directing person to the destined location,
visually. 1.3 Background or Related Work Özyeğin University developed an application called as "Pergel". It offers services based on indoor location. Using Pergel users and objects are positioned within the building and enhancing the visitor experience with location-based, value-added services. The offered services are orientation/ navigation, searching people/ place, push-content, and gathering statistical user information. Use areas of this application are shopping centers, museums, exhibitions, airports, hospitals. The system consists of a server and a mobile user application. Using the data in the environment, mobile users are positioned on the map. It determines the user's location communicating with the server. The maps saves content of the place and the user information. Navigation and searching a place is offered to the user with a mobile interface. It increases interaction between user and place management. In addition to that, it creates new and interactive channels. It optimizes place evaluating the behavior of visitors the most effectively [2]. Secondly, Antalya Rixos Hotel developed a similar project with Augmented Reality System for their hotel. Rixos customers can access the information they want to learn and want to reach the point in the facility with Android and ios operating system mobile phone in three-dimensions. This system works as navigation. When QR codes that are installed in various different places of hotel is read with Android or IOS smart phones, system shows direction. Guests are directed with arrows. When guest go to targeted point, s/he takes information of all areas on itinerary. When you go out of the hotel, system is starting to work with the GPS signals. System is becoming active after installing a small program on any smart phones. Avea's 3G technology is used in the system. However, it runs on the Rixos server at the background [3]. Figure 2: Rixos Hotel Application
Figure 3: Pergel Application 1.4 Solution Statement We prepared a website that generate QR code which includes location information of books dynamically, with Java Server Page and write QR code generator with Java programming as servlet. JSP takes its power from object-oriented Java language. Java is a comprehensive language used everywhere. It used from the simplest electronic device to the spacecraft at Mars. JSP can benefit from all the features of the Java. JSP offers a very robust infrastructure for developing web project. ASP is another web programming language and it works usually on Microsoft platform. JSP can work on each platform according to the J2EE specifications. The second part of the project is the navigation section. Different technologies can be used for positioning. First technology is to install QR code on various points of the place. Using current position of the user is determined by decoding QR codes located in different points of the library and according to this position, system makes routing. Second technology is Wi-Fi based indoor positioning. The rapid growth in the number of deployed Wi-Fi access points provides high resolution and spatially variable radio maps that enable localization systems based on observing the reception levels of the signals originating from these access points. Especially in recent years, Wi-Fi access points enter each home, shop and company and number of access points of unit area in urban regions increases. Signal is received from more than one access point. This plurality and variety of signals provides high resolution and variable radio maps. Positioning is possible with characteristic of this map [4] Precise position can be found out using Received Signal Strength Indicator (RSSI) method. Experiments show that this method gives result with maximum error of 5m. RSSI measures the distance from a sensor to a
transmitter using the distance to signal strength relation. One of the RSSI method is fingerprint method. This method consists of two parts. First of this method is training phase. RSSI is calculated from different points. Kalman filter is used to remove noise that is caused because of multipath effect. For all access points this operation is repeated and after that results are sent to server computer. Signal strength at each point from varied access points are stored at computer memory, Radio Map of the place. Second part of the RSSI is tracking phase. Optimum result is determined based on the comparison of the data and information on the database, at this phase. In order to decide which received signal strength associate with which position, Bayesian classification could be used. We use second technology for navigation part of our project [5]. The third part of the project is routing part. We use Multilateration technique for routing. Multilateration is a navigation technique based on the measurement of the difference in distance to two stations. We add map that drawn by AutoCAD. Multilateration uses four different access points for determining our position. After that it will redirected us to location of the book that determined by the QR code. Figure 4: Training Phase
Figure 5: Tracking Phase 1.5 Contribution In this project, we will generate a prototype of indoor navigation system in a library for smart phones. With this project we aim to build an Android mobile application which helps to find a targeted item in an indoor place. In our project this item is a book, and a web page is used as the helper system. Firstly, we prepared a library database including absolute location information of the books. We have generated a web page for demo, using this web page user can perform basic operations like searching a book, borrowing or returning it and also admin can add new book to the system. The location information of the book is encoded as a QR code dynamically and displayed on the web page. QR code is decoded using Android scan application and location information is taken to memory of the mobile application. In order to direct user to the destined location an indoor navigation system was used. Also, a plan or a map of the place inserted to the system accordingly. Navigation supported with Wi-Fi based system. User navigated with using Multilateration navigating technique. Multilateration provides navigating with using four access points. 2. Solution 2.1 Conceptual Solution Conceptional solution of the project is as follow. Firstly, our project is an indoor navigation system that helps to find a specific item in a closed place, so we need to know location of the item searched. To store and get location, when it is needed, a database will be used. Then, this
information will be displayed on the screen. While displaying the location, QR code is preferred to store the data and showed on the web page of the library. In order to transfer this encoded information an Android QR code scanner, decoder, application is planned to be written. This way navigation part of the project is planned to be activated. After that, current location of the user will be determined and user will be navigated accordingly. When user needs to be turn, Wi-Fi based system will begin to work, to direct user. Lastly, user will reach to the targeted place and informed with a sign by program. 2.2 Technology Used In our project we use Java for Website, SQL, Android, Tomcat server, AutoCAD, Multilateration technique and Wi-Fi based navigating system. Block diagram of the solution of our project is shown in figure below. Search on Web Page Take location information Generate QR code Scan QR Code Get location to app Reached to target Navigation Activated AU activated Position is determined Figure 6: Block Diagram
3. Results As a result of the library /bookstore mobile application has two active actors and one system. Admin can add new books to the system and book s locations. User can search the wanted book. After getting location of the book navigation is started. During navigation operation, Wi-Fi based system used for positioning in order to show directions with a symbol such as an arrow. At the end of this project provides navigating the user easily and accurately is aimed. 4. Constraints The project has main parts. First part is book searching. When user wants to search book, the user access to the website, search, and gets information about book. But wanted book may not be in the system always. When the user entered the book name that system does not have, system does not return any result. An error message is shown in the screen. The second important part is scanning the QR code after searching the book name. But when user tries to scan the code for getting the information of the book, user may encounter some problems. Mobile application may fail to scan QR code due to program cannot be initiated correctly. When user faced with such a problem, application shows an error message on phone screen. (example: 'try again!'). The other main part of this project is navigation. After scanning Qr code and getting location of the book, navigation activated. To make navigation we must found four access points. And their levels should beat a certain point. If the system didn t find access point, navigation cannot activate. Therefore, the user cannot reach the location of book. 5. Test Scenarios Test Case Number: 1 Purpose : Owner : Expected Result : Test Data : Test Tool : Dependencies : Initialization : Description : Admin login to the system valid user- name and password Test/Tools Group Authentication is provided with no error. User-name: melda Password:12345 Test_Instructor PC, phone_directory web application. Valid password and user-name entered. Test PC is running, program initialized. User-name and passwords are valid.
Test Case Number : 2 Purpose : Owner : Expected Result : Test Data : Test Tool : Dependencies : Initialization : Description : Control search performance Test/Tools Group The book name that searched by user and its information is displayed on the screen quickly and it doesn't slow down the Internet network. Click borrow list button Test PC, phone directory web application. 1.Precondition :Internet connection must have. 2.Program is loaded and is been tested on the PC. After clicked search button, results are shown instantly Test PC is running, program initialized. This test case evaluates search performance of the website. Test Case Number : 3 Purpose : Owner : Purpose : Test Data : Test Tool : Dependencies : Initialization : Description : Control navigation system Test/Tools Group To reach right place of the wanted book. Check the information about book on the screen. Test PC, phone directory web application. Location of book that getting from scanning QR code and the place that the users reach must same place. Test PC is running, program initialized. This test case evaluates the place that user reached and the place of wanted book.
Test Case Number : 4 Purpose : Owner : Purpose : Test Data : Test Tool : Dependencies : Initialization : Description : Controlling scanning the code Test/Tools Group Getting the location of book by scanning QR code. Directing scan application to the QR code Test PC, phone directory web application. Precondition: Generating QR code which includes location information of book. The location information of book is retrieved by the mobile device. Test PC is running, program initialized. This test case evaluates the scanning code. 6. Conclusion In conclusion, our project includes subject of indoor positioning system for mobile application after getting location information. This project will be convenient for Android. The location information is get from a website via QR code. We prepared a website with Java server pages that produces QR code which includes location information. This website is prepared for library system and produces QR code for the location information of books. After QR code is scanned with mobile phone, navigation system is activated and it shows direction with Wi-Fi Based System. We use Wi- Fi based indoor positioning for navigation part. This project aim is that help people about finding place easily. The most important advantage of our project is using Android mobile phone of many human nowadays. Therefore, this application can be spread easily. One of the disadvantages of the project is the difficulty of decision process. There are a lot of options for parts of the project. We had to find answers to the following questions. "Which language should be used for preparing website? "," What should be used to get location information?", "Which system should used for indoor navigation?". Finding the answers for these questions was difficult. At the end of the project, we plan to produce a useful Android program.
References 1. http://www.vardar.biz.tr/ 2. http://www.pergelapp.com/default.html 3. http://www.bugun.com.tr/son-dakika/aveadan-rixosa-ozel-navigasyon-sistemi--haberi/430032 4. http://ab.org.tr/ab14/bildiri/185.pdf 5. http://www.researchgate.net/profile/darshan_shah/publication/232729025_basic_of_wi- Fi_based_positioning_system/links/0fcfd509529419d523000000.pdf 5. https://www.duo.uio.no/.../svalastog.pdf 6. http://aut.researchgateway.ac.nz/handle/10292/4743