Design and implementation of Android-based self-service tour guide system (thesis + source code)_kaic

Abstract
With the improvement of people's living standards, traveling abroad has become one of the main activities for people to relax. The traditional way of tourism is team organization, which largely restricts the autonomy of tourists to play. This paper makes full use of the advantages of wireless Internet technology and uses smart phones as mobile terminals to design a self-service and intelligent tour guide system to meet the needs of tourists. Tourists can use mobile terminals to search and locate when they are playing, and with electronic maps, they can easily search for scenic spots, and can conveniently inquire about accommodation, catering and other information around the scenic spots. The emergence of this system will alleviate the problem of insufficient tour guide resources to a large extent, and can better meet the individual needs of tourists. In terms of management, the GPS positioning system can be used to easily check the tourist situation of the scenic spot, and manage the scenic spot more reasonably.
The main research content of this paper is as follows:
1. Introduce the system structure and development method of Android. Android is not only an operating system for smart phones, but also a platform system for mobile terminals, including operating system, middleware and application programs. Make full use of mature technology and interface of Android to develop this system.
2. Analyze the current situation of electronic tour guides at home and abroad, and design a set of self-service tour guide systems that can meet the needs in view of the shortcomings of current electronic tour guide products that are not highly intelligent and versatile.
3. According to the standard software development process, the system introduces the demand analysis, detailed design and system realization of the self-help tour guide system in detail. The business of this system is divided into two parts: tourists and administrators, and the business relationship of each part is described intuitively.
4. This paper introduces the main modules and workflow of the self-service tour guide system in detail. In the detailed design, the display, controller and data mode functions of the system are separated according to the MVC design method. The server side undertakes the functions of accepting and executing mobile phone requests and database access, while the mobile phone client mainly undertakes the functions of connecting to the server and command management. The user interface mainly undertakes the display function of the system and is divided into three levels: login interface, user main interface and function interface.
5. Combining key technologies such as GPS positioning, route analysis, map matching, and voice commentary, this paper preliminarily implements a self-service tour guide system that can provide tourists with services such as automatic positioning, scenic spot explanation, route guidance, tour route suggestions, and map display.
Finally, the self-guided tour guide system is summarized and prospected. With the continuous development of science and technology, e-commerce technology can be added to the self-guided tour guide system to provide shopping items for tourists, making the whole itinerary more colorful.
Keywords: Android, GPS, route analysis, self-guided guide
ABSTRACT

With the improvement of people's living standard, tourism has become one of the main activities of people’s relaxation. The traditional way of tourism is usually in the team, which greatly restricts the autonomy of the tourists in t. This study designs a self-help  and  intelligent  tour  guide  system,  making  full  use  of the  advantages  of wireless Internet technology, with the intelligent mobile phone as the mobile terminal, to cater for the tourists’ demand. When visitors are traveling, they can use the free GPS search  service  and positioning  functions,  coupled with  detailed maps, to  search  for scenic spots and related accommodation and catering nearby easily, etc. This system will solve the shortage of the guide greatly to meet the tourists’ individual demands. In the field of management, it will be more convenient to look for the tourists in the scenic areas and manage the areas reasonably at the same time, through the GPS positioning system.
The thesis concentrates on the following aspects:
1.In this study, the structure and development mode of Android will be introduced in the part. Android is not only a mobile operating system, but also a mobile terminal platform, including operating system, middleware and application, making full use of mature technology and interface to develop.
2.In this part, a self-help guide system will be designed to meet the demand of people, based on the analysis of the electronic guide system both at home and abroad, according to the low intelligence of the electronic guide product that is not commonly used.
3.The system follows the standard software development process, and introduces in detail about requirements analysis, detailed design and system implementation of the self-help  guide  system.  The  system  is  divided  into  two parts  including  tourist  and administrator, and the relationship of each part is described in a visual way.
4.The study mainly introduces the workflow and main module of the Self-help guide system. In the detailed design, the system embraces system display, controller and

data mode on the basis of the MVC design method. The server-side is in charge of receiving and executing the request from the mobile terminal, and accessing to database. Mobile terminal is used to connect to the server and in charge of order and management. The user interface is for displaying function of the system, including three levels as login interface, user main interface and function interface.
5.Based on key technologies such as GPS positioning, path analysis, map matching and phonetic explanation, the study initially achieves the self-help guide system, which can provide automatic positioning, scenic spot for tourists, line guide, route guidance and map display services for tourists.
The last part sums up the self-help guide system and makes an outlook. With the continuous development of technology, Electronic Commerce Technology will be added into system, providing Shopping project for tourists and making the journey more wonderful. Keywords: Android, GPS, path ana lysis, Self-guided Tour Contents Chapter 1 Introduction 1.1 Research background introduction 1.2 Purpose and significance of the project 1.3 Self-guided tour application status 1.4 Main work of this paper 1.5 Organization structure of the paper Chapter 2 Related technology introduction 2.1 Related concept introduction 2.1.1 Tourism information
system
 
2.1.2
Tour      
guide      
service      
2.1.3      
Self      
-      
help      
electronic      
tour      
guide      
system     
Technology     
2.3.1       Android      
platform      

2.3.2 Android 体系结构      
2.3.3 Android 的类介绍      
2.3.4 Android 模拟器      
2.4 J2EE 技术      
2.4.1 概述      
2.4.2 体系架构      
2.5 本章小结      
第三章 系统需求分析与总体实现      
3.1 系统需求分析      
3.1.1 系统功能需求分析      
3.1.2 系统性能需求分析      
3.2 系统总体实现      
3.2.1 游客用例图      
3.2.2 管理员用例图      
3.3 本章小结      
第四章 软件详细设计      
4.1 系统整体设计      
4.2 系统模块设计      
4.2.1 服务器端设计      
4.2.2 手机客户端设计      
4.2.3 传输协议类      
4.3 数据库设计      
4.4 本章小结      
第五章 系统的实现与测试      
5.1 系统的开发环境      
5.2 客户端的实现      
5.2.1 UI 模块的实现      
5.2.2 Map display      
5.2.3 Automatic positioning      
5.2.4 Client database creation      
5.3 Server implementation      
5.3.1 Communication service implementation      
5.3.2 Map matching       implementation
5.4 System testing      
5.5 Summary of this chapter Chapter      
6 Summary and outlook      
6.1 Summary      
6.2 Outlook      
Thanks for      
references      
 
Chapter 1 Introduction


This chapter first expounds the research background of this paper, deeply investigates the current situation of electronic tour guides at home and abroad, then introduces the purpose and significance of this topic, and finally proposes the main research content of this paper and gives the organizational structure of the paper.
1.1 Introduction to Research Background

According to the data in the 2011 China Tourism Industry Analysis Report, the number of domestic tourists in my country in 2011 was about 2.6 billion, a year-on-year increase of 12%; domestic tourism revenue was about 1.9 trillion yuan, a year-on-year increase of 21%; the number of outbound tourists reached 70 million, a year-on-year increase of 22%; the number of tourists and tourism consumption are rising steadily[1]. In 2012, my country's tourism industry will maintain its growth momentum, and its development is relatively optimistic. The role of my country's tourism industry will also become greater and greater.
my country's tourism industry has developed rapidly in recent years, and the ratio of total tourism revenue to GDP has increased significantly every year. The leaders of the State Council and the China National Tourism Administration are very concerned about and attach great importance to the development of the tourism industry. Shao Qiwei, director of the National Tourism Administration, and relevant leaders of the State Administration of Quality Supervision, Inspection and Quarantine have repeatedly stated in their important speeches that they must increase investment in the tourism industry, promote the diversification of tourism products, actively improve the service quality and level of tourism services, and shorten the gap with the international advanced level as soon as possible. In order to effectively implement the spirit of the State Council's "Opinions on Accelerating the Development of Tourism Industry", the functional departments of local governments actively responded to the call of their superiors, and made every effort to develop tourism resources and drive the development of energy production. It is known that by 2015, the number of tourists (including domestic tourists, inbound tourists and outbound tourists) in my country will reach 3.7 billion, and there will be a new standard for the quantity and quality of tourism, which must be in line with the international advanced level. The development of tourism will also drive the total income of tourism, and at the same time solve the problem of difficult employment. We believe that in the near future, my country's tourism industry will enter a new and unprecedented scale, and the tourism market is relatively mature, and is heading towards a new stage of winning and developing with quality.
With the rapid development of my country's tourism industry, traditional tourism methods can no longer meet the diverse needs of tourists. Some problems that cannot be ignored have emerged. For example, the number of tourists traveling by car is increasing year by year, so there is a problem. Assuming that tourists go to a very remote wilderness, their personal safety is a big problem. If there is a system that can wirelessly track and locate now, then they are in any danger
In case of danger, you can call the police wirelessly, ask for support, and get rescued. In addition, many tourists are willing to design travel routes according to their own preferences. If there is a system, tourists can design their own travel plans according to the number of people and characteristics of scenic spots, then the whole journey will be more humanized and convenient. With the development of technology and the arrival of 3G technology, the wireless bandwidth is getting higher and higher, and more content-rich applications can be run on mobile devices, such as video calls, Internet surfing, online listening to music, etc. Coupled with the development of electronic map technology, it also promotes the modernization of tour guide services at the technical level.
With the widespread popularization of mobile phones and the continuous improvement of hardware levels, the performance of mobile phones has also developed rapidly. Since the launch of the Android system in 2007, people have perfectly combined mobile phones and the Internet because of the openness of Android and the rapid development of wireless Internet technology. The mobile phone is not only an ordinary communication tool, but also has more powerful functions, and even the mobile phone can be used as a mobile computer, so the market share of smart phones is increasing year by year. The Android system has a rich graphics system, powerful multimedia functions and map control functions. According to data in November 2012, Android occupies 76% of the global smartphone operating system market, and China's market share is as high as 90%.
At present, the functions of the tour guide system used in various scenic spots are relatively single, and only some simple introductions of the scenic spots are recorded in a device in advance. Manually played by tourists when visiting, the content is relatively boring and not vivid enough, it is difficult to arouse the interest of tourists, and there is a lack of help for tourists in other aspects. There are great disadvantages in the use of such a tourism system: firstly, it is not universal and cannot realize the sharing of network resources; secondly, it does not have the function of automatic navigation, and the quality of these devices is uneven, the amount of information is not rich enough, and the application value in actual tourism is not high. And this article is to design and implement a tour guide system based on mobile devices, not only to make up for the above shortcomings, but also to further increase various practical tourism functions.
Android is an open-source operating system, which is developed in java language, and you can obtain the source code and develop SDK without paying any authorization fee, which has attracted many programming enthusiasts to have a strong interest in it. This article uses the Android platform to develop a self-guided tour guide system. The developed system mainly has the following functions: automatic navigation, scenic spot introduction, audio commentary, etc.
1.2 Purpose and significance of the subject

With the rapid development of science and technology, one of the important signs reflecting the level of a scenic spot is the degree of service informatization of scenic spots, and the main manifestation of the informatization of scenic spots is the application of various electronic tour guide systems. The use of the self-service electronic tour guide system will greatly enhance the level of informatization of scenic spots, marking that the service level of tourist attractions has reached a world-class level. The development and application of intelligent electronic tour guides are still in their infancy in China. The tour guide systems used in various scenic spots are only specially customized for each scenic spot.

The method is used in other scenic spots, the versatility is not strong, the lack of humanized services, poor interactivity, and relatively narrow service areas cannot meet the needs of various tourists. Most of the tourist attractions now use the old-fashioned, single tour guide system, which is not fully functional and cannot be used in other scenic spots. This kind of non-universal equipment has a high cost and does not have too many functions, so it has no value for further promotion. Designing and implementing a powerful and interoperable tour guide system software, which is now basically a smartphone, can not only reduce tourism and manufacturing costs, but also improve tourism quality and enhance the service level of scenic spot information.
This article is to use the Android system of the smart phone to design a self-service tour guide system that can realize the above functions, which can meet the needs of tourists as much as possible during the travel process, facilitate tourists to travel, and improve the quality of travel.
1.3 Status Quo of Application of Self-service Tour Guides

At present, some developed countries in the West basically do not use artificial tour guides in indoor exhibition halls such as museums, but replace some tweeters with a non-tour guide-style electronic interpreter. When visitors enter the exhibition hall, they can receive an explainer and manual at the entrance, operate the explainer to listen to the content according to the introduction in the manual, and put it back to the original place after the tour, so that the next visitor can continue to use it. Using this kind of equipment in the exhibition hall can create a quiet visiting environment, and there will never be any noise. This is the prototype of the electronic tour guide. Some cities in Canada have used a relatively advanced self-guided tour system in tourist attractions. When tourists pass by certain scenic spots during their play, this self-guided tour guide system will automatically play a voice introduction about the history and culture of the scenic spot, and can point tourists to the route to the destination, as well as which shops and accommodations are nearby [2].
In addition, a portable electronic guide device was invented in Massachusetts, the United States. This electronic guide device stores 35,000 items of data including major highways in the continental United States. People can use it to provide some help when making travel plans. The use of this electronic tour guide is very simple. Just input the state name, highway, direction and other information, and a series of information such as restaurants, gas stations, and tourist attractions around it can be displayed at a glance, so this electronic tour guide can be widely promoted and used by tourists. When visiting a scenic spot, as long as you hold an electronic tour guide, you can get the historical and cultural information of the scenic spot in the beautiful background music, which can meet the personalized travel needs of tourists.
In our country, the tour guide services using information technology are mainly websites that provide tourist information, and electronic tour guides are still a new thing. The use of electronic tour guides in my country first appeared in 2000, at the Lijiang River scenic spot in Guilin, Guangxi, and then some scenic spots in other places also introduced this kind of equipment. But its disadvantage is that its functions are relatively single, mainly digital button players and touch-type video explanation systems, such as the electronic guides used in Tianjin Museum and Shaanxi Yellow Emperor Mausoleum. These electronic guides are just a sound player or an information search station[3]. In 2005, the Temple of Heaven Park in Beijing used an electronic tour guide system for the first time. It has the functions of intelligent guidance and automatic explanation. At present, only a few famous tourist attractions in Beijing can provide this type of intelligent electronic tour guide system, such as Beihai Park and the Summer Palace.
Electronic tour guide is the inevitable product of the rapid development of my country's self-service tour guide industry. The earliest research and development of electronic tour guide system in my country was in 2000. The manufacturers who developed and produced this product include Qidong Yuanzhuo Computer Engineering Co., Ltd., Guangzhou New Fulcrum Electronics Co., Ltd., etc. [4]. In recent years, the development speed of the electronic tour guide system has been accelerating, and the functions of the products have been improved day by day.
1.4 The main work of this paper

This article is to use the current mainstream Android operating system, combined with wireless positioning technology, electronic map and other technologies to design a self-guided tour guide system to make people's travel more convenient and intelligent, and make it easier to play. The main function of the system is to provide services such as real-time positioning, scenic spot explanation, route guidance, itinerary suggestion, map display and other services for tourists, especially self-guided tourists.
The following is the main work of this paper:
1. Conduct in-depth research on domestic and foreign electronic tour guide systems, and further study several related technologies involved in this system.
2. In-depth study of Android technology and development interface, and how to use Android to realize some functions of this system.
3. The system mainly includes three layers, namely client layer, database layer and server layer. The server is mainly responsible for accepting and executing client requests and database access functions, while the mobile client is mainly responsible for making request commands, sending requests to the server, and displaying the data returned by the server to the user interface. It is mainly responsible for connecting to the server and command management. Android provides a wireless networking interface, and the server and the client transmit data through the wireless network.
4. This article also expands another identity management function: users with different identities can be identified on the device, including tourists and administrators. Every user who has registered in the system can use his own

The user name and password log in to the system, and the user enters the function interface after logging in. The tourist interface mainly implements some functions in tourism, and the administrator's function is to perform some related operations on scenic spots and tourists, for example, the administrator can add and modify the content of scenic spots.
This system adopts the C/S mode to design, the user client part is implemented on the Android mobile terminal, the server is implemented on a host, and the two transmit data through the wireless Internet.
1.5 Organizational structure of the paper

This paper mainly uses the design characteristics of the Android operating system to make a comprehensive analysis and research on the self-service tour guide system. And each functional module is introduced in depth and detail. The advantages and disadvantages of the related technologies involved in this system are described in detail, and finally the subject is demonstrated.
The first chapter introduces the research background and significance of this subject, the development of self-help tour guides, the main work of this article, the structure of the article, etc.
The second chapter introduces the basic concepts related to this topic, introduces the relevant technologies involved in this system in detail, and analyzes the advantages and disadvantages of each technology.
The third chapter analyzes the requirements of the system to be designed in this paper, including the analysis of the functional requirements of the system and the analysis of the performance requirements of the system. The functions of each part of the system are refined to prepare for the design of the system, and each functional module of the system is described in detail in the form of a use case diagram, so as to clarify the functions for the development of the system.
In the fourth chapter, the design of the three parts of the self-guided tour guide system is described in detail.
In the fifth chapter, the environment of the system is configured first, and the implementation of the system is described in detail, and the designed system is simply run.
Chapter 6 introduces the summary and impressions after the completion of the design, explains the imperfections of some functions, and proposes improvement methods.

 

 

Guess you like

Origin blog.csdn.net/weixin_39563171/article/details/131865075