CN106297603A - A kind of phonetic explaining method for tourist attraction intelligent guide system - Google Patents

A kind of phonetic explaining method for tourist attraction intelligent guide system Download PDF

Info

Publication number
CN106297603A
CN106297603A CN201510306632.5A CN201510306632A CN106297603A CN 106297603 A CN106297603 A CN 106297603A CN 201510306632 A CN201510306632 A CN 201510306632A CN 106297603 A CN106297603 A CN 106297603A
Authority
CN
China
Prior art keywords
sight spot
visitor
phonetic explaining
scene data
explanation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510306632.5A
Other languages
Chinese (zh)
Inventor
郑刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenyang Letter Network Communication Technology Co Ltd
Original Assignee
Shenyang Letter Network Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenyang Letter Network Communication Technology Co Ltd filed Critical Shenyang Letter Network Communication Technology Co Ltd
Priority to CN201510306632.5A priority Critical patent/CN106297603A/en
Publication of CN106297603A publication Critical patent/CN106297603A/en
Pending legal-status Critical Current

Links

Abstract

The present invention provides a kind of phonetic explaining method for tourist attraction intelligent guide system, including: obtain scene data;Scene data mates;Phonetic explaining;Voice repeats playing.This method is by arranging position, sight spot, determining that the explanation scope at sight spot completes the acquisition of scene data, carry out scene data coupling again, on current map, the match is successful with certain sight spot in the position of visitor, illustrates that visitor has been enter into the explanation scope at this sight spot, then carries out phonetic explaining;After the phonetic explaining at this sight spot terminates, if visitor is also in the range of the phonetic explaining of foreground point, can trigger the phonetic explaining event at this sight spot again, visitor will repeat to hear that sight spot explains orally voice.This method achieves the intelligent sound explanation of tourist attraction intelligent guide system all sidedly.

Description

A kind of phonetic explaining method for tourist attraction intelligent guide system
Technical field
The present invention relates to intelligent guide technical field, be specifically related to a kind of phonetic explaining method for tourist attraction intelligent guide system.
Background technology
Intelligent guide system refers to the system replacing guide to be introduced tourist attractions with electronic equipment.One of them function of intelligent guide is to provide the phonetic explaining at sight spot for visitor.Visitor current location is mated by system in real time with the sight spot scope of default, and when visitor enters the sight spot scope of default, intelligent guide can start this sight spot is carried out voice introduction.During the realization of this function, key technology be the storage of scene data, the coupling of scene data and solve sight spot explain orally voice repeat playing problem.
Summary of the invention
The problem existed for prior art, the present invention provides a kind of phonetic explaining method for tourist attraction intelligent guide system.
The technical scheme is that
A kind of phonetic explaining method for tourist attraction intelligent guide system, comprises the following steps:
Step 1, acquisition scene data;
Step 1-1, position, sight spot is set;
Step 1-2, determine the explanation scope at sight spot;
Step 2, scene data mate;
Step 2-1, determine two somes a, b respectively in the northeast at sight spot and southwestward, gather the latitude and longitude information i.e. scene data of a, b;The longitude of a is as the west side longitude wLon of A;The longitude of b is as the east side longitude eLon of A;The latitude of a is as the north side latitude nLat of A;The latitude of b is as the southern side latitude slat of A;
Step 2-2, one structure sceneryBuffer depositing scene data of definition, for the data in txt text are read in internal memory, define class GetStoredData, and in the constructed fuction of class, realize all operations that scene data is read, when with such one object of instantiation, also all scene datas are read in the SceBuf of the overall situation simultaneously;
Step 2-3, the scene data coupling that carries out: on current map, the match is successful with certain sight spot in the position of visitor, illustrates that visitor has been enter into the explanation scope at this sight spot, then carries out step 3;
Step 3, phonetic explaining: API Function PlaySound plays the explanation voice at corresponding sight spot;
Step 4, voice repeat playing: after the phonetic explaining at this sight spot terminates, if visitor is also in the range of the phonetic explaining of foreground point, can trigger the phonetic explaining event at this sight spot again, and visitor will repeat to hear that sight spot explains orally voice.
Described step 1-2 determines that the concrete grammar of the explanation scope at sight spot is: for sight spot A, gathers two point b and a in its southeastern direction and direction, northwest respectively, is wherein ray ac, ad by the longitude and latitude of a, b;Bc, bd, then one rectangle acbd of composition, and acbd includes sight spot A, then scope α of acbd composition, is i.e. the explanation scope of A;Explanation scope α is obtained by adjusting a, b.
Beneficial effect:
The design original intention of guide system is that instead of guide and provides the guide service of personalization for visitor, it should embodies with visitor for this, provides omnibearing natural guide service.Therefore, the phonetic explaining to corresponding sight spot is the service that intelligent guide one of which is necessary.There is the support of perfect phonetic explaining, it is believed that the attention that intelligent guide can more attract tourists.This method is by arranging position, sight spot, determining that the explanation scope at sight spot completes the acquisition of scene data, carry out scene data coupling again, on current map, the match is successful with certain sight spot in the position of visitor, illustrates that visitor has been enter into the explanation scope at this sight spot, then carries out phonetic explaining;After the phonetic explaining at this sight spot terminates, if visitor is also in the range of the phonetic explaining of foreground point, can trigger the phonetic explaining event at this sight spot again, visitor will repeat to hear that sight spot explains orally voice.This method achieves the intelligent sound explanation of tourist attraction intelligent guide system all sidedly.
Accompanying drawing explanation
Fig. 1 is the sight spot A schematic diagram of the specific embodiment of the invention;
Fig. 2 is the explanation scope schematic diagram of sight spot A, B of the specific embodiment of the invention;
Fig. 3 be the specific embodiment of the invention scheme one in the explanation scope schematic diagram of public territory S;
Fig. 4 be the specific embodiment of the invention scheme two in the explanation scope schematic diagram of sight spot A;
Fig. 5 be the specific embodiment of the invention scheme two in the explanation scope schematic diagram of sight spot B;
Two some a, b position views that Fig. 6 is the northeast at the sight spot of the specific embodiment of the invention and southwestward determines;
Fig. 7 is the scene data storage mode of the specific embodiment of the invention;
Fig. 8 is the flow chart reading scene data of the specific embodiment of the invention;
Fig. 9 is that certain scenic spot of the specific embodiment of the invention has five sight spot schematic diagrams;
Figure 10 is that the voice of the specific embodiment of the invention repeats playing flow chart;
Figure 11 is the phonetic explaining method flow diagram for tourist attraction intelligent guide system of the specific embodiment of the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings the detailed description of the invention of the present invention is elaborated.
A kind of phonetic explaining method for tourist attraction intelligent guide system, as shown in figure 11, comprises the following steps:
Step 1, acquisition scene data;
Step 1-1, position, sight spot is set;
Step 1-2, determine the explanation scope at sight spot;
Owing to being generally in the shape of of sight spot is irregular, so, phonetic explaining judge it is crucial that determine the scope at sight spot, it is considered to two kinds of solutions:
Scheme one: for the sight spot of regular shape, such as the sight spot A in Fig. 1, can be a round S with R for radius with the center O of A as the center of circle, then S is i.e. the explanation scope of sight spot A, and S comprises A.
But this method has two shortcomings: one is that each sight spot is required for a radius R being suitable for oneself, and the determination for radius R needs to do more work;And process range detects when, need the position calculation at the position current according to visitor and center, sight spot to go out the distance of both reality, then make comparisons with R.Circulation is required for calculating M(M so every time is sight spot number) secondary.This have impact on the efficiency of program undoubtedly.Additionally when carrying out actual distance calculation according to the longitude and latitude of 2, also easily produce the biggest error;Two is that this mode is easily generated scope staggered (two sight spots are when nearer) situation to scope constant volume really, the most easily produces the situation that scope is uneven.As in figure 2 it is shown, explanation scope α of sight spot A, B, β have a public territory S, when visitor stands in the middle boundary line of A, B when, and for the when of in the region of S, the language explanation of A, B will be play respectively, cause mistake.
In addition as it is shown on figure 3, for sight spot as A, in side, ad limit, visitor also has bigger distance R away from ad`Time begin to carry out phonetic explaining, at this moment due to visitor from A farther out, it is more likely that can't see some concrete details, and near tetra-points of a, b, c, d, even if visitor's distance A is close, there will not be the phonetic explaining about A.It will be said that, this problem can be led to expansion radius R and be solved.But after R expands, the Resolving probiems near tetra-points of a, b, c, d, but actually R`Also can become big therewith, first problem does not the most solve.
Scheme two: for sight spot A, needs to gather two point b and a in its southeastern direction and direction, northwest, is wherein ray ac, ad by the precision of a, b and latitude;Bc, bd, then one rectangle acbd of composition, and acbd includes sight spot A, then scope α of acbd composition, is i.e. the explanation scope of A.By adjusting the rational scope of a, b to, it is possible to determine suitable explanation scope α, as shown in Figure 4.This mode determining sight spot explanation scope has an advantage clearly: when sight spot profile is an irregular shape when, as the B in Fig. 5 can also determine a suitable explanation scope very easily.Therefore have selected first scheme, the deficiency in scheme one can be avoided well.
Step 2, scene data mate;
Step 2-1, determine two somes a, b respectively in the northeast at sight spot and southwestward, gather the latitude and longitude information i.e. scene data of a, b;The longitude of a is as the west side longitude wLon of A;The longitude of b is as the east side longitude eLon of A;The latitude of a is as the north side latitude nLat of A;The latitude of b is as the southern side latitude slat of A;As shown in Figure 6;
Step 2-2, one structure sceneryBuffer depositing scene data of definition, for the data in txt text are read in internal memory, define class GetStoredData, and in the constructed fuction of class, realize all operations that scene data is read, when with such one object of instantiation, also all scene datas are read in the SceBuf of the overall situation simultaneously;
These data are stored in text by mode as shown in Figure 7.Structure sceneryBuffer, for reading in internal memory by the data in txt text program is run when, so accelerates the coupling of sight spot scope thus improves the efficiency that program is run.Fig. 8 is the flow chart reading scene data.
Step 2-3, the scene data coupling that carries out: on current map, the match is successful with certain sight spot in the position of visitor, illustrates that visitor has been enter into the explanation scope at this sight spot, then carries out step 3;
When carrying out scene data coupling, first have to read the scene data that stored in internal memory.Scene data the most all can not also be read in internal memory, when before being taken in map, the visitor location of movement mates with the sight spot position data of storage, the data reading a sight spot from file are mated, if mating unsuccessful continuation to read next data.Although but so save internal memory and reduce system effectiveness, because system often updates the position of visitor on a map, the circulation coupling of the most all storage scene datas will be carried out.
Step 3, phonetic explaining:
If in loop-around data matching process, on current map, the match is successful with certain sight spot (now token variable is assigned to certain value) in the position of visitor, illustrates that visitor has been enter into the explanation scope at this sight spot, then carries out the phonetic explaining when foreground point.Voice document order keeps consistent with sight spot information order, after the match is successful, directly invokes api function PlaySound and plays the explanation voice at corresponding sight spot.In order to draw the point of dynamic mobile playing voice while on map, use asynchronous play, in order to carry out other operations when circulation carries out scene data coupling, use multithreading.
Step 4, voice repeat playing: after the phonetic explaining at this sight spot terminates, if visitor is also in the range of the phonetic explaining of foreground point, can trigger the phonetic explaining event at this sight spot again, and visitor will repeat to hear that sight spot explains orally voice.
After visitor enters scenic spot with intelligent guide terminal, system can read the position that visitor is current in real time, and mates with the scene data of storage.When visitor enters a certain sight spot explanation scope, the phonetic explaining when foreground point can be triggered.But at this moment can suffer a problem that, after the phonetic explaining at this sight spot terminates, if visitor is also in the range of the phonetic explaining of foreground point, can trigger the phonetic explaining event at this sight spot again, visitor will repeat to hear that sight spot explains orally voice.
In order to solve to repeat playing the explanation phonetic problem at same sight spot, we play labelling flag at defined in the structure struct scenery-Buffer of storage scene data one and are initialized as 0, when Data Matching success and play when labelling sceBuf [i] .flag is 0 and play this phonetic explaining.When, after the phonetic explaining playing certain sight spot, sceBuf [i] .flag being set to 1.At this moment, if visitor is also in the range of the explanation at same sight spot, although be successful during Data Matching, but broadcasting labelling sceBuf [i] .flag at this sight spot is 1, so no longer carrying out speech play.
But now run into another problem, if visitor is again introduced into the explanation scope at this sight spot, owing to broadcasting labelling sceBuf [i] .flag at this sight spot has been set to 1, even if Data Matching success, also will not play this sight spot phonetic explaining.As it is shown in figure 9, there are five sight spots at certain scenic spot, when visitor enters the phonetic explaining scope at sight spot 1, after playing the explanation voice at this sight spot, the phonetic explaining labelling at this sight spot is set to 1 immediately.In like manner, following visitor respectively enters sight spot 2 and 3, and corresponding phonetic explaining labelling is set to 1 respectively.Now, for a certain reason, visitor has returned to sight spot 1 from sight spot 3, but owing to the phonetic explaining labelling at sight spot 1 has been set to for 1, so not playing the explanation voice at sight spot 1.
For solving this problem, define sequence list int sceFlagList [SIZE], be used for depositing broadcasting labelling sceBuf [i] .flag at certain sight spot.SIZE can be adjusted according to scenic area and scenic spot quantity, thus adjust the size of sceFlagList.SIZE is the sight spot number at scenic spot, or certain desired value bigger than sight spot quantity.When visitor enters the explanation scope at certain sight spot, Data Matching success, and carry out phonetic explaining, then broadcasting labelling sceBuf [i] .flag at this sight spot is set to 1, and order press-in sequence list.Additionally one sequence list content quantity labelling int of definition CurFlag is also initialized as 0.After being pressed into a content in each sequence list, sequence list content quantity labelling curFlag will add 1.Enter next sight spot every time and explain orally scope, after having carried out phonetic explaining, except carrying out broadcasting labelling sceBuf [i] .flag at this sight spot is set to 1, and outside order press-in sequence list work, if now sequence list content quantity labelling curFlag >=1, then a upper position sceFlagList [curFlag-1] of broadcasting labelling sceFlagList [curFlag] at this sight spot in sequence list is set to 0, the broadcasting labelling at the penultimate sight spot that i.e. visitor had just gone sight-seeing is set to 0, the most well solves issue noted above.As it is shown in figure 9, when visitor walks out the phonetic explaining scope at sight spot 1, immediately the phonetic explaining labelling at sight spot 1 is set to 0.So, when visitor again returns to sight spot 1, owing to the phonetic explaining at now sight spot 1 is labeled as 0, so the phonetic explaining event at sight spot 1 can be triggered.Figure 10 is the flow chart solving this problem.

Claims (2)

1. the phonetic explaining method for tourist attraction intelligent guide system, it is characterised in that comprise the following steps:
Step 1, acquisition scene data;
Step 1-1, position, sight spot is set;
Step 1-2, determine the explanation scope at sight spot;
Step 2, scene data mate;
Step 2-1, determine two somes a, b respectively in the northeast at sight spot and southwestward, gather the latitude and longitude information i.e. scene data of a, b;The longitude of a is as the west side longitude wLon of A;The longitude of b is as the east side longitude eLon of A;The latitude of a is as the north side latitude nLat of A;The latitude of b is as the southern side latitude slat of A;
Step 2-2, one structure sceneryBuffer depositing scene data of definition, for the data in txt text are read in internal memory, define class GetStoredData, and in the constructed fuction of class, realize all operations that scene data is read, when with such one object of instantiation, also all scene datas are read in the SceBuf of the overall situation simultaneously;
Step 2-3, the scene data coupling that carries out: on current map, the match is successful with certain sight spot in the position of visitor, illustrates that visitor has been enter into the explanation scope at this sight spot, then carries out step 3,
Step 3, phonetic explaining: API Function PlaySound plays the explanation voice at corresponding sight spot;
Step 4, voice repeat playing: after the phonetic explaining at this sight spot terminates, if visitor is also in the range of the phonetic explaining of foreground point, can trigger the phonetic explaining event at this sight spot again, and visitor will repeat to hear that sight spot explains orally voice.
Phonetic explaining method for tourist attraction intelligent guide system the most according to claim 1, it is characterized in that, described step 1-2 determines that the concrete grammar of the explanation scope at sight spot is: for sight spot A, gather two point b and a in its southeastern direction and direction, northwest respectively, be wherein ray ac, ad by the longitude and latitude of a, b;Bc, bd, then one rectangle acbd of composition, and acbd includes sight spot A, then scope α of acbd composition, is i.e. the explanation scope of A;Explanation scope α is obtained by adjusting a, b.
CN201510306632.5A 2015-06-05 2015-06-05 A kind of phonetic explaining method for tourist attraction intelligent guide system Pending CN106297603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510306632.5A CN106297603A (en) 2015-06-05 2015-06-05 A kind of phonetic explaining method for tourist attraction intelligent guide system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510306632.5A CN106297603A (en) 2015-06-05 2015-06-05 A kind of phonetic explaining method for tourist attraction intelligent guide system

Publications (1)

Publication Number Publication Date
CN106297603A true CN106297603A (en) 2017-01-04

Family

ID=57659202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510306632.5A Pending CN106297603A (en) 2015-06-05 2015-06-05 A kind of phonetic explaining method for tourist attraction intelligent guide system

Country Status (1)

Country Link
CN (1) CN106297603A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109545108A (en) * 2019-01-11 2019-03-29 同程网络科技股份有限公司 A kind of sight spot automatic briefing method and system based on satellite positioning
CN110942735A (en) * 2019-12-18 2020-03-31 精彩旅图(北京)科技发展有限公司 Tourism voice explanation system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109545108A (en) * 2019-01-11 2019-03-29 同程网络科技股份有限公司 A kind of sight spot automatic briefing method and system based on satellite positioning
CN110942735A (en) * 2019-12-18 2020-03-31 精彩旅图(北京)科技发展有限公司 Tourism voice explanation system and method

Similar Documents

Publication Publication Date Title
CN103150981A (en) Self-service voice tour-guiding system and triggering method thereof
CN103561065A (en) System and method for achieving 3D virtual advertisement with mobile terminal
CN103106272B (en) Interest point information acquisition methods and device
CN105893419A (en) Generation device, device and equipment of multimedia photo, and mobile phone
CN104123398A (en) Information pushing method and device
KR101378493B1 (en) Synchronized text editing method and apparatus based on image data
CN105025319A (en) Video pushing method and device
CN106204566B (en) Outdoor scene hand-drawing map cutting method and device, intelligent guide realization method and system
CN107560617A (en) A kind of air navigation aid based on advertisement machine, storage medium and advertisement machine
CN103399860A (en) Content display method and device
CN103034969B (en) A kind of display method and system and display device for cartoon
CN104239431A (en) Method and device for displaying three-dimensional GIS (geographic information system) model
CN103902536A (en) Popular activity display method and system based on electronic map
CN104539723A (en) Virtual guide system based on scenic spot feature point positioning
CN108847169A (en) A kind of medium intelligent introduction equipment for indoor scenic spot, intelligent guide system and method
CN106297603A (en) A kind of phonetic explaining method for tourist attraction intelligent guide system
CN109584113A (en) Rural tourism sight spot supplying system and its implementation based on GPS positioning
CN103152633B (en) A kind of recognition methods of keyword and device
CN103544978A (en) Multimedia file manufacturing and playing method and intelligent terminal
CN110020970A (en) Explain recommended method, device, equipment and storage medium in sight spot
KR20200022225A (en) Method, apparatus and computer program for generating cartoon data
CN105355160A (en) Mobile terminal-based mutual-help tour guide application method and system
CN102340488A (en) Game map downloading method, system and mobile terminal
CN103021304B (en) Laser overview system and operation method thereof
CN116521812A (en) Park guiding method, system, terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170104

WD01 Invention patent application deemed withdrawn after publication