Embodiment
The phonetic navigation method and the device that the embodiment of the present invention are provided below in conjunction with accompanying drawing are described in detail.
In the voice broadcast navigating at guider, need every words reporting to be made up of different minor sentences, minor sentence is the syntactical unit with statement property and independence minimum in Chinese expression, is basic sentence; Each minor sentence is made up of each phrase, in embodiments of the present invention, these phrases be according to front need to user carry out voice message induction point attribute information determine.
Embodiment mono-:
The schematic flow sheet of the phonetic navigation method that Fig. 1 provides for one embodiment of the invention, as shown in Figure 1, the embodiment of the present invention comprises the steps:
Step 101 if determine and need voice broadcast according to the distance between the primary importance information at the current place of mobile device and the second place information at induction point place, is obtained and induces a little corresponding report statement template from configuration template file;
Step 102, generates the report statement that will read according to reporting statement template;
Step 103, generates according to reporting statement the speech text that needs report, and carries out voice broadcast according to speech text.
In one embodiment, induction point is the location point in the guidance path of having recommended by navigational system, this induction point need to carry out voice message to user, induction point is for example for settling location point corresponding to location point, the hazard identification of camera etc. on the location points of turn round point, traffic lights in path, road, the embodiment of the present invention does not limit concrete title and the position of induction point.
The embodiment of the present invention provide phonetic navigation method, need voice broadcast in navigation procedure time, generate the report statement that will read by the report statement template in configuration template file, owing to can upgrading at any time or revise configuration template file, the content that therefore can change voice broadcast, has improved user's experience.
Embodiment bis-:
The schematic flow sheet of the phonetic navigation method that Fig. 2 provides for another embodiment of the present invention, as shown in Figure 2, the embodiment of the present invention comprises the steps:
Step 201, if determine and need voice broadcast according to the distance between the primary importance information at the current place of mobile device and the second place information at induction point place, determines the type information of induction point, execution step 202.
Step 202 is obtained and induces a little corresponding report statement template, execution step 203 according to the type information of induction point from configuration template file.
Step 203, determines the preset parameter of reporting in statement template and reports the variable element in statement template, execution step 204 according to the type information of induction point.
Whether step 204, can determine variable element according to the type information of induction point, if so, performs step 205, if not, and execution step 206.
Step 205, generates the report statement that will read according to preset parameter and variable element, execution step 207.
Step 206, deletes the corresponding minor sentence of variable element of reporting in statement, and the report statement of deleting after minor sentence is generated to the speech text that need to report, execution step 207.
Step 207, generates according to reporting statement the speech text that needs report, and carries out voice broadcast according to speech text.
Be elaborated to embodiment illustrated in fig. 2 below in conjunction with Fig. 3, as shown in Figure 3, triangle represents the residing position of mobile device, the position of circular representative induction point, this induction point expression mobile device need to be turned right, and the direction of arrow is that navigational system is the guidance path that drives towards East Road, Shangdi by West Road, Shangdi that user recommends.
In the time that user goes to crossing, need carry out voice broadcast prompting user turns right.The content that this statement is reported obtains by reading configuration template file, according to mobile device, (next road is called " six streets, Shangdi " with inducing the distance of point and the attribute of induction point self, roughly direction is " Shangdi road direction ") resolve the statement reading from configuration template file, generate the speech text that needs report
In step 201, navigational system need to get the primary importance information at the current place of self driving and the second place information at induction point place, distance by primary importance information and second place acquisition of information between the two, need to be when carry out navigation speech prompting according to induction point when judging, determine the type information of induction point, in the embodiment of the present invention, to induce the right-hand rotation of a distance in crossing to carry out exemplary illustration.
In step 202, in the time that the type information of induction point is right-hand rotation, from configuration template file, obtain and the report statement template of turning right corresponding, in one embodiment, this report statement template is " front × × rice is turned right, and enters × × road past × × road direction ".
In step 203, because the type information of induction point is right-hand rotation, therefore the type information of putting by induction is determined the preset parameter of reporting in statement template and is reported the variable element in statement template, in one embodiment, in the report statement template shown in above-mentioned steps 202, " front, turn right, enter, toward, direction " is the preset parameter in this report statement template, " × × rice, × × road, × × road " be the variable element in this report statement template, in one embodiment, variable element is " 500 meters, six streets, Shangdi, East Road, Shangdi ".
In step 204, if in actual navigation procedure, although adopted report statement template " front × × rice is turned right; enter × × road; past × × road direction ", but in actual guidance path, the type information of putting by induction is determined not " past × × road direction " this minor sentence, now needs the minor sentence at variable element place to delete.
In step 205, generate the report statement that will read according to preset parameter and variable element, as shown in Figure 3, according to above-mentioned definite preset parameter and variable element, the report statement reading is " right-hand rotation of 500 meters, front, enters six streets, Shangdi, toward West Road, Shangdi direction ".
In step 206, for example, need " past × × road direction " this minor sentence to delete, the report statement of deleting after minor sentence is generated to the speech text that needs report, raw speech text is for example: " front × × rice is turned right, entered × × road ".
In step 207, can pass through phonetic synthesis (Text To Speech, referred to as TTS) technology and speech text is converted into sound, and play by player.
The embodiment of the present invention provide phonetic navigation method, need voice broadcast in navigation procedure time, generate the report statement that will read by the report statement template in configuration template file, owing to can upgrading at any time or revise configuration template file, the content that therefore can change voice broadcast, has improved user's experience.
Embodiment tri-:
The schematic flow sheet of the phonetic navigation method that Fig. 4 provides for another embodiment of the present invention, the embodiment of the present invention is on the basis of above-described embodiment one and embodiment bis-, realizes configuration template file to upgrade, and as shown in Figure 4, specifically comprises the steps:
Whether step 301, detection server upgrade configuration template file;
If step 302 server upgrades configuration template file, receive from the configuration template file after the renewal of server.
It is synthetic that the report configuration file of the configuration template file the inside providing by server carries out voice broadcast content, owing at any time configuration template file being modified or being upgraded by server, in having realized the mode of controlling by high in the clouds and having carried out navigation speech report, can also control at any time report content by server, thereby improve user's experience.
Embodiment tetra-:
The structural representation of the voice guiding device that Fig. 5 provides for one embodiment of the invention, as shown in Figure 5, the embodiment of the present invention comprises:
The first acquisition module 51, if for determining and need voice broadcast according to the distance between the primary importance information at the current place of mobile device and the second place information at induction point place, obtain from configuration template file and put corresponding report statement template with described induction;
Statement generation module 52, for generating the report statement that will read according to described report statement template;
Voice broadcast module 53, for generate the speech text that needs report according to described report statement, and carries out voice broadcast according to described speech text.
The voice guiding device that the embodiment of the present invention provides, need voice broadcast in navigation procedure time, report statement template in the configuration template file that statement generation module 52 gets by the first acquisition module 51 generates the report statement that will read, voice broadcast module 53 is carried out voice broadcast, owing to can upgrading at any time or revise configuration template file, the content that therefore can change voice broadcast, has improved user's experience.
Embodiment five:
The structural representation of the voice guiding device that Fig. 6 provides for another embodiment of the present invention, as shown in Figure 6, the embodiment of the present invention is on the technical scheme of above-described embodiment three and the basis of useful technique effect, and the first acquisition module 51 comprises:
The first determining unit 511, for determining the type information of described induction point;
The first acquiring unit 512, for obtaining with described induction and put corresponding report statement template from configuration template file according to the type information of described induction point.
Wherein, statement generation module 52 comprises:
The second determining unit 521, for determining the variable element in preset parameter and the described report statement template of described report statement template according to the type information of described induction point;
Statement generation unit 522, for generating the report statement that will read according to described preset parameter and described variable element.
Further, described device also comprises:
Removing module 54, if can not determine described variable element for the second determining unit 521 according to the type information of described induction point, deletes the corresponding minor sentence of described variable element in described report statement.
Further, described device also comprises:
Whether detection module 55, upgrade described configuration template file for detection of server;
Receiver module 56, if described configuration template file is upgraded for described server, receives from the described configuration template file after the renewal of described server.
Embodiment six:
The structural representation of the speech guide system that Fig. 7 provides for one embodiment of the invention, as shown in Figure 7, speech guide system described in the embodiment of the present invention comprises: multiple mobile devices (for example, mobile device 711, mobile device 712 ..., mobile device 71n, n is the number of the mobile device that communicates with server 72) and server 72.Server 72 and mobile device 711, mobile device 712 ..., mobile device 71n communicates by wired or wireless mode.
Wherein, mobile device 711, mobile device 712 ..., be provided with the voice guiding device in above-described embodiment four or embodiment five on mobile device 71n, can carry out method flow arbitrary in above-described embodiment one-embodiment tri-, and inquire the message of whether having upgraded configuration template document template to server 72 by the method step in embodiment tri-, in the time that server 72 upgrades configuration template file, by the configuration template file after upgrading send to mobile device 711, mobile device 712 ..., mobile device 71n.
Alternatively, server 72 can also be after Reconfigurations template file to mobile device 711, mobile device 712 ..., mobile device 71n sends update notification message, with notice mobile device 711, mobile device 712 ..., mobile device 71n its configuration template file is upgraded, if mobile device 711, mobile device 712 ..., mobile device 71n need to upgrade its configuration template file, return to acknowledge message to server, and get the configuration template file after renewal from server 72.
Thus, mobile device 711, mobile device 712 ..., mobile device 71n carry out navigation speech report time, it is synthetic that the report configuration file of the configuration template file the inside providing by server 72 carries out voice broadcast content, owing at any time configuration template file being modified or being upgraded by server 72, in having realized the mode of controlling by high in the clouds and having carried out navigation speech report, can also control at any time and report content by server 72, thereby improve user's experience.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.