A kind of phonetic navigation method, apparatus and system
Technical field
The present invention relates to field of navigation technology more particularly to a kind of phonetic navigation method, apparatus and systems.
Background technology
In navigation procedure, voice broadcast is a basic function.Navigation voice broadcast of the prior art will be by that will lure
Every voice of instructor in broadcasting's report is write by way of code in software, and the content of voice broadcast is carried out by issuing software version
Update.Inventor has found, the content of dynamic control voice broadcast can neither be realized by way of software, when there is voice broadcast
Time update voice broadcast is unable to during mistake, therefore reduces experience of the user in navigation procedure.
The content of the invention
The embodiment of the present invention provides a kind of phonetic navigation method, apparatus and system, and realization can change voice broadcast at any time,
Improve user experience.
The embodiment of the present invention adopts the following technical scheme that:
A kind of phonetic navigation method, this method include:
If between the second position information where the first position information being currently located according to mobile equipment and induction point
Distance determine to need voice broadcast, from configuration template file obtain with it is described induction point it is corresponding report a sentence template;
According to the report sentence template generation report sentence to be read;
The speech text reported is needed according to the report sentence generation, and voice is carried out according to the speech text and is broadcast
Report.
A kind of voice guiding device, the device include:
First acquisition module, if for according to the first position information that mobile equipment is currently located and induction point place
The distance between second position information is determined to need voice broadcast, obtained from configuration template file corresponding with the induction point
Report sentence template;
Sentence generation module, for according to the report sentence template generation report sentence to be read;
Voice broadcast module, for needing the speech text reported according to the report sentence generation, and according to institute's predicate
Sound text carries out voice broadcast.
A kind of speech guide system, the system include:Server and at least one mobile equipment, at least one movement
The voice guiding device described in above-mentioned technical proposal is provided in equipment;Wherein,
The server, for providing configuration template file at least one mobile equipment;
If the second position of the voice guiding device according to where the first position information being currently located with induction point
The distance between information determines to need voice broadcast, is obtained from the configuration template file and induce point is corresponding to broadcast with described
Report sentence template;According to the report sentence template generation report sentence to be read;According to the report sentence generation needs
The speech text of report, and voice broadcast is carried out according to the speech text
Phonetic navigation method provided in an embodiment of the present invention, apparatus and system, when voice broadcast is needed in navigation procedure,
By the report sentence template generation report sentence to be read in configuration template file, due to that can update or change at any time
Configuration template file, therefore the content of voice broadcast can be changed, improve user experience.
Description of the drawings
Fig. 1 is the flow diagram of phonetic navigation method provided by one embodiment of the present invention.
Fig. 2 is the flow diagram for the phonetic navigation method that another embodiment of the present invention provides.
Fig. 3 is the schematic diagram of the guidance path in embodiment illustrated in fig. 2.
Fig. 4 is the flow diagram for the phonetic navigation method that another embodiment of the invention provides.
Fig. 5 is the structure diagram of voice guiding device provided by one embodiment of the present invention.
Fig. 6 is the structure diagram for the voice guiding device that another embodiment of the present invention provides.
Fig. 7 is the structure diagram of speech guide system provided by one embodiment of the present invention.
Specific embodiment
Phonetic navigation method provided in an embodiment of the present invention and device are described in detail below in conjunction with the accompanying drawings.
, it is necessary to which the every words reported are made of different minor sentences in the voice broadcast to navigate in guider, minor sentence
Be it is minimum in Chinese expression there is declarative and independence syntactical unit, be basic sentence;Each minor sentence is by each word
Group composition, in embodiments of the present invention, these phrases are the categories for needing to carry out the induction point of voice prompt according to front to user
Property information determine.
Embodiment one:
Fig. 1 is the flow diagram of phonetic navigation method provided by one embodiment of the present invention, as shown in Figure 1, of the invention
Embodiment includes the following steps:
Step 101, if according to the first position information that mobile equipment is currently located and the second position at induction point place
The distance between information is determined to need voice broadcast, obtained from configuration template file and the corresponding report sentence mould of induction point
Plate;
Step 102, according to the report sentence template generation report sentence to be read;
Step 103, the speech text reported according to sentence generation needs are reported, and voice is carried out according to speech text and is broadcast
Report.
In one embodiment, induction point be by navigation system it is recommended that guidance path in location point, this is lured
Leading a little needs to carry out user voice prompt, pacifies on the turn point, the location point of traffic lights, road in induction point for example, path
Put location point, corresponding location point of danger signal of camera etc., specific name and position of the embodiment of the present invention to induction point
It puts and is not limited.
Phonetic navigation method provided in an embodiment of the present invention when voice broadcast is needed in navigation procedure, passes through and configures
The report sentence template generation report sentence to be read in template file, due to that can update at any time or change configuration template
File, therefore the content of voice broadcast can be changed, improve user experience.
Embodiment two:
Fig. 2 is the flow diagram for the phonetic navigation method that another embodiment of the present invention provides, as shown in Fig. 2, this hair
Bright embodiment includes the following steps:
Step 201, if according to the first position information that mobile equipment is currently located and the second position at induction point place
The distance between information determines to need voice broadcast, determines the type information of induction point, perform step 202.
Step 202, obtained according to the type information of induction point from configuration template file and the corresponding report of induction point
Sentence template performs step 203.
Step 203, determine to report the preset parameter in sentence template according to the type information of induction point and report sentence mould
Variable element in plate performs step 204.
Step 204, whether variable element can determine that according to the type information of induction point, if so, step 205 is performed, if it is not,
Perform step 206.
Step 205, the report sentence to be read is generated according to preset parameter and variable element, performs step 207.
Step 206, the minor sentence reported corresponding to the variable element in sentence is deleted, the report sentence after deletion minor sentence is given birth to
The speech text reported into needs, performs step 207.
Step 207, the speech text reported according to sentence generation needs are reported, and voice is carried out according to speech text and is broadcast
Report.
Embodiment illustrated in fig. 2 is described in detail with reference to Fig. 3, as shown in figure 3, triangular representation movement equipment institute
The position at place, circle represent the position of induction point, which represents that mobile equipment needs are turned right, and arrow direction is for navigation
It unites as the guidance path that Shangdi East Road is driven towards by Shangdi West Road of user's recommendation.
Voice broadcast prompting user need to be carried out when user goes to crossing to turn right.The sentence report content be
Obtained by reading configuration template file, according to the attribute of mobile equipment and the distance and induction point itself of induction point (under
Entitled all the way " six street of Shangdi ", general direction are " Shangdi road direction ") from the sentence of configuration template file reading, generation need to for parsing
The speech text to be reported
In step 201, navigation system needs to get first position information and the induction point that self driving is currently located
The second position information at place, by first position information and the distance of second position acquisition of information therebetween, when judging
When needing to carrying out navigational voice prompts according to induction point, the type information of induction point is determined, in the embodiment of the present invention, to lure
A distance is led to illustrate for the right-hand rotation in crossing.
In step 202, when the type information of induction point is turns right, acquisition is opposite with turning right from configuration template file
The report sentence template answered, in one embodiment, the report sentence template is " front ×× rice is turned right, past into ×× road
×× road direction ".
In step 203, since the type information of induction point is turns right, determine to broadcast by the type information for inducing point
It reports the preset parameter in sentence template and reports the variable element in sentence template, in one embodiment, in above-mentioned steps 202
In shown report sentence template, " front, right-hand rotation, into, toward, direction " for the preset parameter in the report sentence template, " ×
× rice, ×× road, ×× road " is the variable element in the report sentence template, and in one embodiment, variable element is " 500
Rice, six street of Shangdi, Shangdi East Road ".
In step 204, if in actual navigation procedure, although employ report sentence template " front ×× rice is turned right,
Into ×× road, toward ×× road direction ", but in actual guidance path, by the type information for inducing point determine not " it is past ×
This minor sentence of × road direction " needs to delete the minor sentence where variable element at this time.
In step 205, the report sentence to be read is generated according to preset parameter and variable element, as shown in figure 3, according to
Above-mentioned definite preset parameter and variable element, the report sentence to be read is " 500 meters of front is turned right, past into six street of Shangdi
Shangdi West Road direction ".
In step 206, for example, it is desired to will be deleted this minor sentence " toward ×× road direction ", by the report after deletion minor sentence
Sentence generation needs the speech text reported, and raw speech text is, for example,:" front ×× rice is turned right, into ×× road ".
It in step 207, can be by phonetic synthesis (Text To Speech, referred to as TTS) technology by speech text
Sound is converted into, and passes through player and plays out.
Phonetic navigation method provided in an embodiment of the present invention when voice broadcast is needed in navigation procedure, passes through and configures
The report sentence template generation report sentence to be read in template file, due to that can update at any time or change configuration template
File, therefore the content of voice broadcast can be changed, improve user experience.
Embodiment three:
Fig. 4 is the flow diagram for the phonetic navigation method that another embodiment of the invention provides, and the embodiment of the present invention is
On the basis of above-described embodiment one and embodiment two, realize what configuration template file was updated, as shown in figure 4, specifically
Include the following steps:
Whether step 301, detection service device are updated configuration template file;
If step 302, server are updated configuration template file, the updated configuration from server is received
Template file.
The report configuration file inside configuration template file provided by server carries out voice broadcast content synthesis, by
In configuration template file is modified or updated at any time by server, realizing by way of the control of high in the clouds
While carrying out navigation voice broadcast, report content can also be controlled at any time by server, so as to improve user experience.
Example IV:
Fig. 5 is the structure diagram of voice guiding device provided by one embodiment of the present invention, as shown in figure 5, of the invention
Embodiment includes:
First acquisition module 51, if for according to the first position information that mobile equipment is currently located and induction point place
The distance between second position information determine to need voice broadcast, obtained from configuration template file opposite with the induction point
The report sentence template answered;
Sentence generation module 52, for according to the report sentence template generation report sentence to be read;
Voice broadcast module 53, for needing the speech text reported according to the report sentence generation, and according to described
Speech text carries out voice broadcast.
Voice guiding device provided in an embodiment of the present invention, when voice broadcast is needed in navigation procedure, sentence generation mould
The report sentence template generation report language to be read in the configuration template file that block 52 is got by the first acquisition module 51
Sentence, voice broadcast module 53 carry out voice broadcast, due to that can update at any time or change configuration template file, can change
Become the content of voice broadcast, improve user experience.
Embodiment five:
Fig. 6 is the structure diagram for the voice guiding device that another embodiment of the present invention provides, as shown in fig. 6, this hair
On the basis of the technical solution of above-described embodiment three and advantageous effects, the first acquisition module 51 includes bright embodiment:
First determination unit 511, for determining the type information of the induction point;
First acquisition unit 512, the type information for being put according to the induction is obtained from configuration template file and institute
State the corresponding report sentence template of induction point.
Wherein, sentence generation module 52 includes:
Second determination unit 521, for being determined according to the type information of the induction point in the report sentence template
Preset parameter and the variable element reported in sentence template;
Sentence generation unit 522, for generating the report language to be read according to the preset parameter and the variable element
Sentence.
Further, described device further includes:
Removing module 54, if not can determine that institute according to the type information of the induction point for the second determination unit 521
Variable element is stated, deletes the minor sentence corresponding to the variable element reported in sentence.
Further, described device further includes:
Whether detection module 55 is updated the configuration template file for detection service device;
Receiving module 56 if be updated for the server to the configuration template file, is received from described
The updated configuration template file of server.
Embodiment six:
Fig. 7 is the structure diagram of speech guide system provided by one embodiment of the present invention, as shown in fig. 7, of the invention
Speech guide system described in embodiment includes:Multiple mobile equipment (for example, mobile equipment 711, mobile equipment 712 ..., move
Dynamic equipment 71n, n are the number of the mobile equipment to communicate with server 72) and server 72.Server 72 and mobile equipment
711st, mobile equipment 712 ..., mobile equipment 71n pass through it is wired or wirelessly communicate.
Wherein, mobile equipment 711, mobile equipment 712 ..., be both provided on mobile equipment 71n above-described embodiment four or
Voice guiding device in embodiment five can perform method flow any in one-embodiment of above-described embodiment three, and pass through
Method and step in embodiment three asks whether to have updated the message of configuration template document template to server 72, when server 72
When being updated to configuration template file, updated configuration template file is sent to mobile equipment 711, mobile equipment
712nd ..., mobile equipment 71n.
Alternatively, server 72 can also be after configuration template file be updated to mobile equipment 711, mobile equipment
712nd ..., mobile equipment 71n sends update notification message, with information mobile device 711, mobile equipment 712 ..., mobile equipment
It updates configuration template file to 71n, if mobile equipment 711, mobile equipment 712 ..., mobile equipment 71n needs more
Its new configuration template file returns to confirmation message to server, and updated configuration template text is got at server 72
Part.
Move as a result, equipment 711, mobile equipment 712 ..., mobile equipment 71n when carrying out navigation voice broadcast, pass through
The report configuration file inside configuration template file that server 72 provides carries out voice broadcast content synthesis, due to passing through service
Device 72 is modified or is updated to configuration template file at any time, navigates realizing in a manner that high in the clouds controls
While voice broadcast, it can also at any time be controlled by server 72 and report content, so as to improve user experience.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.