The phonetic prompt method of navigating instrument
Technical field
The present invention relates to a kind of phonetic prompt method of navigating instrument.
Background technology
Existing navigating instrument has the function that user option is set, so that navigating instrument can find the path of navigation that arrives the desired terminal point of user when execution route is sought.User option can comprise " expressway is preferential ", " distance priority " and " non-toll is preferential " etc., the ideal path that the option that the user can therefrom select to expect is reached home with searching.
Voice Navigation is the essential function of navigating instrument.In the prior art, before vehicle walks to next prompting point certain (perhaps more than one) setting apart from the time, system can point out next prompting point how to walk, such as, apart from 300 meters of next prompting point the time, omniselector can be pointed out: " turning right in about 300 meters of the place ahead " can guide driver's driving so preferably.But along with city's constant development, be subjected to the restriction of geographical conditions, road also begins complicated, in order to guide the driver better, the content of voice suggestion is sometimes very detailed, the time of voice suggestion is also very long, such as: " keep to the left for about 300 meters in the place ahead, then the place ahead rotary island primary outlet." Voice Navigation mode routinely, if the speed of a motor vehicle was talked about faster at that time, when voice suggestion finished, vehicle may pass through the prompting point, vehicle did not also have the prompting point in other words, but the driver has had little time to have reacted.
Summary of the invention
Technical matters to be solved by this invention provides a kind of phonetic prompt method of voice suggestion with the navigating instrument of enough leads that give.
For solving the problems of the technologies described above, the phonetic prompt method of navigating instrument of the present invention comprises the steps:
A, navigating instrument calculates current location and current gait of march V according to the gps signal of its reception in navigation procedure, reads simultaneously and the corresponding map datum of current location; Calculate the particular location of current location on default path of navigation then, and show by its touch screen unit;
B, navigating instrument calculate on path of navigation current location to the first prompting point in the place ahead apart from S;
C, navigating instrument find out and corresponding first suggestion voice of described first prompting point, calculate then and report the required time span t1 of this suggestion voice;
D, navigating instrument calculate the moment that begins to play described first suggestion voice according to described gait of march V, apart from S and time span t1, so that in its one section predeterminable range before arriving described first prompting point of distance, described suggestion voice is play and finished.
In the technique scheme, have one second prompting point if navigating instrument is found the place ahead on path of navigation, the distance of its distance first prompting point is less than predetermined threshold value; Navigating instrument finds out and corresponding second suggestion voice of described second prompting point, calculates then and reports the required time span t2 of this second suggestion voice; Navigating instrument is according to described gait of march V, apart from S and described time span t1 and t2 sum, calculate beginning and play the moment of described first suggestion voice and second suggestion voice successively, so that in its one section predeterminable range before arriving described first prompting point of distance, described first suggestion voice and second suggestion voice are all play end.
In the technique scheme, described first suggestion voice has the meaning of one's words and the corresponding to breviary suggestion voice of first suggestion voice; If need make 2 voice suggestions with regard to first prompting point, and navigating instrument is according to current gait of march V, calculate the required time of its one section predeterminable range before arriving the described first prompting point of distance when to report the required time of described first suggestion voice for 2 times be 2 times t1 apart from S and time span t1, then report described first suggestion voice earlier, report described breviary suggestion voice then.
In the technique scheme, after described navigating instrument calculates current location according to the gps signal of its reception, calculate the method for the particular location of current location on default path of navigation, comprising: calculate the point sequence that constitutes this path of navigation according to default path of navigation; Calculate the each point in the point sequence and the distance of described current location one by one, find out the shortest point of the described current location of its middle distance; With the position at this place as current location.
In the technique scheme, described navigating instrument calculates current location on path of navigation to the method apart from S of the first prompting point in the place ahead, comprising: after drawing the point at current location place, and the highway section that to calculate this point be the current location place; Navigating instrument is the described first prompting point according to the end point that the direction of travel information among the described gait of march V draws this highway section; At last, calculate each point on the path between current location to the first prompting point apart from sum, promptly draw current location to the first prompting point in the place ahead apart from S.
The present invention has positive effect: in the phonetic prompt method of (1) navigating instrument of the present invention, navigating instrument according to current gait of march V, current location to the first prompting point in the place ahead apart from S and report the required time span t1 of suggestion voice, calculate the moment that begins to play described first suggestion voice, so that in its one section predeterminable range before arriving described first prompting point of distance, described suggestion voice is play and is finished, thereby given voice suggestion with enough leads, solved because of some long prompt voice and given the inconvenience that Voice Navigation caused.Described prompting point comprises the road conditions that intersection, corner, rotary island inlet or outlet, one-way road etc. need the voice suggestion driver to note.Described predeterminable range adopts different values according to different roads or current gait of march V between 300m to 1Km, for example on the highway or current gait of march V more than 80Km/h, then described predeterminable range can adopt 1Km; If on the common road or current gait of march V below 40Km/h, then described predeterminable range can adopt 300m.(2) in the phonetic prompt method of navigating instrument of the present invention, if two prompting point phase spacings in the place ahead are nearer, for preventing first suggestion voice and second suggestion voice conflicting on the time of origin when reporting, the present invention plays first suggestion voice and second suggestion voice successively, and provide lead, have result of use preferably.(3) in the phonetic prompt method of navigating instrument of the present invention, if a prompting point needs 2 times, reasons such as the long or speed of a motor vehicle is very fast owing to the suggestion content time, when also, prompting for the first time do not finish, the position of prompting then for the second time, then play corresponding breviary suggestion voice, the moment of having guaranteed the voice suggestion end is early than the moment of arriving at corresponding prompting point.(4) in the phonetic prompt method of navigating instrument of the present invention, navigating instrument calculates the promptly default path of navigation of optimum path of navigation according to departure place and destination, be distributed with point sequence on this path of navigation, the each point in the point sequence has corresponding latitude and longitude information, and each dot spacing is about 1m; Calculate the each point in the point sequence and the distance of described current location one by one, find out the shortest point of the described current location of its middle distance, solved because of receiving gps signal error or the inaccurate problem in location that signal drift produced as current location.(5) in the phonetic prompt method of navigating instrument of the present invention, the part that is between the crossing of road is called a highway section, and a path of navigation is formed by joining end to end by some highway sections.Wherein, an end of the close path of navigation starting point in a highway section is called the starting point in this highway section, and the other end in this highway section is the end point in this highway section.This end point needs the prompting point of voice suggestion often.Among the present invention, calculate each point on the path between current location to the first prompting point apart from sum, promptly draw current location to the first prompting point in the place ahead apart from S, accurately and reliably.
Description of drawings
Fig. 1 is the structural representation of the navigating instrument among the embodiment 1;
Fig. 2 is the course synoptic diagram in the phonetic prompt method of navigating instrument of the present invention;
Fig. 3 is the flow chart of the phonetic prompt method of navigating instrument of the present invention;
Fig. 4 is the highway section at the calculating current location place in the phonetic prompt method of navigating instrument of the present invention and the current location flow chart to this highway section end point.
Embodiment
(embodiment 1)
As Fig. 1, navigating instrument of the present invention comprises: CPU element 1, with the CPU element 1 two-way gps receiver that is electrically connected 2, with the CPU element 1 two-way map data base 3 that is used to store numerical map that is electrically connected, with the CPU element 1 two-way program data base 4 that is used to store navigation program that is electrically connected, with the CPU element 1 two-way instantaneous speech power that is electrically connected 5, with the CPU element 1 two-way speech database that is used for voice data 6 that is electrically connected and with the CPU element 1 two-way touch screen unit that is electrically connected 7.
See Fig. 2-3, the phonetic prompt method of the navigating instrument of present embodiment comprises the steps:
A, the CPU element 1 of navigating instrument calculates current location P and current gait of march V according to the gps signal from gps receiver 2 of its reception in navigation procedure, reads the corresponding map datum with current location P simultaneously from map data base 3; Calculate the particular location of current location on default path of navigation then, and show by its touch screen unit 7; The described default path of navigation optimum path of navigation that to be navigating instrument calculate according to the departure place of user's input and destination.
The CPU element 1 of B, navigating instrument calculate on path of navigation current location P to the first prompting point Q1 in the place ahead apart from S;
The CPU element 1 of C, navigating instrument finds out corresponding first suggestion voice with described first prompting point Q1, calculates then and reports the required time span t1 of this suggestion voice;
The CPU element 1 of D, navigating instrument is according to described gait of march V, apart from S and time span t1, calculate the moment that control instantaneous speech power 5 begins to play described first suggestion voice, so that in its one section predeterminable range L (being the B point among Fig. 2) before arriving described first prompting point of distance Q1, described suggestion voice is play and is finished.
For example, needing voice suggestion to finish apart from next prompting point 300m place, and voice suggestion needed for 2 seconds, the speed of a motor vehicle was 10 meters of per seconds at that time, just needing the beginning voice suggestion from the car position apart from next 320 meters of prompting point so, when the last character of voice suggestion finishes, just in time pointing out some 300m apart from next from the car position.
See Fig. 2, have one second prompting point Q2 if navigating instrument is found the place ahead on path of navigation, the distance of its distance first prompting point Q1 is less than predetermined threshold value 500m (can be the arbitrary value between the 500m to 2Km among other embodiment); Navigating instrument finds out corresponding second suggestion voice with described second prompting point Q2, calculates then and reports the required time span t2 of this second suggestion voice; Navigating instrument is according to described gait of march V, apart from S and described time span t1 and t2 sum, calculate beginning and play the moment of described first suggestion voice and second suggestion voice successively, so that in its one section predeterminable range L=300m (can be the arbitrary value between the 300m to 1Km among other embodiment) before arriving described first prompting point of distance Q1, described first suggestion voice and second suggestion voice are all play end.
Described first suggestion voice has the meaning of one's words and the corresponding to breviary suggestion voice of first suggestion voice, and (as: first suggestion voice is " about 300 meters of the place ahead; turn left ", corresponding breviary suggestion voice is " the 300 meters left-hand rotations in the place ahead ", correspondingly the word speed of breviary suggestion voice can faster than first suggestion voice about 1 times of word speed); If need make 2 voice suggestions with regard to first prompting point Q1, and navigating instrument is according to current gait of march V, calculate the required time of its one section predeterminable range before arriving the described first prompting point Q1 of distance less than reporting the required time of described first suggestion voice for 2 times promptly during 2 times t1 apart from S and time span t 1, then report described first suggestion voice earlier, report described breviary suggestion voice then.
See Fig. 4, after described navigating instrument calculates current location P according to the gps signal of its reception, calculate the method for the particular location of current location on default path of navigation, comprising: calculate the point sequence that constitutes this path of navigation according to default path of navigation; Calculate the each point in the point sequence and the distance of described current location one by one, find out the shortest point of the described current location of its middle distance, with the position at this place as current location.
Still see Fig. 4, described navigating instrument calculates current location P on path of navigation to the method apart from S of the first prompting point Q1 in the place ahead, comprising: after drawing the point at current location place, and the highway section that to calculate this point be the current location place; Navigating instrument is described first prompting point Q1 according to the end point that the direction of travel information among the described gait of march V draws this highway section; At last, calculate each point on the path between current location to the first prompting point Q1 apart from sum, promptly draw current location P to the first prompting point Q1 in the place ahead apart from S.
Calculating and reporting described first suggestion voice and the required time span of second suggestion voice is that size and sampling rate according to voice document calculates.
Described first suggestion voice comprises apart from phonological component and guidance information phonological component; Describedly be used for the tip distance value apart from phonological component, this distance value is to play when finishing at described first suggestion voice, from the distance of the described first prompting point Q1; Described guidance information phonological component is used to the guidance information of pointing out the user to note.For example first suggestion voice is " about 300 meters of the place ahead, turn left ", then wherein be " about 300 meters of the place ahead " apart from phonological component, the guidance information phonological component is " left-hand rotation "." turning left in about 300 meters of the place ahead " reports when finishing at voice, points out the distance of some Q1 to be 300 meters just from described first.
Described second suggestion voice and breviary suggestion voice also all comprise apart from phonological component and guidance information phonological component.