CN102494693B - Voice broadcast method for crossroad form based crossroad steering information - Google Patents
Voice broadcast method for crossroad form based crossroad steering information Download PDFInfo
- Publication number
- CN102494693B CN102494693B CN 201110382659 CN201110382659A CN102494693B CN 102494693 B CN102494693 B CN 102494693B CN 201110382659 CN201110382659 CN 201110382659 CN 201110382659 A CN201110382659 A CN 201110382659A CN 102494693 B CN102494693 B CN 102494693B
- Authority
- CN
- China
- Prior art keywords
- highway section
- crossing
- direction information
- delta
- deflection
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000004458 analytical method Methods 0.000 claims abstract description 10
- 230000015572 biosynthetic process Effects 0.000 claims abstract description 6
- 238000003786 synthesis reaction Methods 0.000 claims abstract description 6
- 230000000877 morphologic effect Effects 0.000 claims description 5
- 238000013459 approach Methods 0.000 claims description 4
- 230000019771 cognition Effects 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 description 6
- 238000011160 research Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000001983 electron spin resonance imaging Methods 0.000 description 2
- 239000012634 fragment Substances 0.000 description 2
- 238000006116 polymerization reaction Methods 0.000 description 2
- 240000004859 Gamochaeta purpurea Species 0.000 description 1
- 244000170916 Paeonia officinalis Species 0.000 description 1
- 235000006484 Paeonia officinalis Nutrition 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000013499 data model Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Navigation (AREA)
Abstract
The invention discloses a voice broadcast method for crossroad form based crossroad steering information so as to solve the problem that crossroad steering information in scenic spots and other areas with special crossroad forms is difficult to be broadcast accurately. The method comprises: determining information about a planned route and a user's real-time position through a mobile GIS (geographical information system) module and a GPS (global positioning system) positioning module, acquiring information about a road section that the user is located currently and a crossroad about to enter,calculating the direction angles of associated road sections of the crossroad, conducting crossroad form analysis by combining an exit road section number and distribution situation, converting an analysis result into natural language described texts, which are then broadcast for the user through a speech synthesis engine. The method of the invention can accurately analyze and broadcast crossroadsteering information directed at complex road forms.
Description
Technical field
The present invention relates to the voice broadcast method of a kind of crossing direction information, belong to the geographic information system technology field.
Background technology
Voice Navigation under the mobile environment is integrated mobile GIS technology, GPS technology and speech synthesis technique is widely used in fields such as vehicle mounted guidance, wisdom tourism, public service.The mobile navigation technology adopts the space reference frame, namely adopt " preceding ", " back ", " left side ", " right side " orientation of user, to describe vocabulary substantially as direction information at " clockwise ", " counterclockwise " description system at rotating disk crossing, and guarantee that on this basis descriptive language is accurate, be easily understood.At present, the research of paper, patent and the product relevant with the crossing direction information, the main content of paying close attention to two aspects: the one, the data modeling of road cross, it is the data preprocessing process before direction information obtains, as Hongli LI, Zhang Sen etc. are in " crossing polymerization model and method in the map of navigation electronic " (" the geography information world ", 05 phase in 2009) in the literary composition by analyzing the characteristics of city road network, propose the crossing polymerization model that node-segmental arc is represented, be used for the path planning of navigation procedure; People such as Fang Jue propose a kind of binary coding scheme at navigation data in " a kind of road net data of suitable mobile navigation system is described and analytical approach " (" computer engineering and application ", 2006/13); The 2nd, the expression of direction information, it is the operation after direction information obtains, publication number be CN1825061A patented invention a kind of navigation direction information indicating means and device, will be converted to steering gear pointer indicating mode based on the direction information of user's real time position and path planning information.
But above-mentioned research is to calculating and the judgement of crossing direction information, and the crossing form does not provide clear and definite research to the influence of direction information.In practice, the straight extension of the road of freeway net, spacing is bigger between the crossing, the road of urban road network distributes comparatively intensive, the crossing form law of these roads is comparatively remarkable, with simple T-shaped road junction, crossroad, the road circuits compound crossing that band viaduct structure is arranged in the majority, comparatively complicated.But in the such environment that has a large amount of special crossings form of tourist attraction, because its natural feature feature or sight need, many roads are in small, broken bits, wriggle, and many highway sections occur simultaneously to a certain direction or multi-direction spreading through the crossing of being everlasting.When calculating the crossing direction information, way in the past is the deflection in outlet highway section to be returned be put in a certain angular interval, this angular interval is corresponded in the natural language, if outlet highway section number is less again, and drop on respectively in the different angular interval, then direction information does not have ambiguity; If exit road is more, often adopts clockwise or counterclockwise and describe in conjunction with the mode of " left side ", " right side " direction; Although and few for outlet highway section number, concentrate on the situation of some angular interval, lack clear and definite disposal route, adopting existing turn-by-turn navigation technology is the report demand that can't reach similar special crossing direction information.
Summary of the invention
The present invention is directed to present crossing form to the research that influences this respect of direction information not deep situation still, a kind of crossing direction information voice broadcast method based on the crossing form is proposed, anthropomorphic dummy's spatial cognition thoughtcast, improve existing direction information and report model, obtain more specifically direction information.
The present invention includes following steps:
(1) in mobile GIS module, obtain path planning according to road net, i.e. the starting point of user's appointment is the path between 2 to the destination, and path planning comprises crossing and road section information; The definition crossing is the highway section intersection point, and the highway section is defined as road fragment between two adjacent intersections, is made up of a succession of continuous coordinate set; Wherein, intersection information comprises crossing numbering, crossing coordinate, the road section information that links to each other with the crossing; Road section information comprises point coordinate set in order on the intersection information, highway section at highway section numbering, two ends, highway section;
(2) utilize the GPS locating module to obtain the latitude and longitude coordinates of user's current location and pass to mobile GIS module;
(3) utilize mobile GIS module to calculate the distance in user's current location each highway section in the path planning, with the highway section as the current place of user, the highway section of bee-line correspondence; Because the highway section on the path planning and crossing are to arrange in order, therefore obtain the numbering at the crossing that is about to enter according to the numbering in highway section, the current place of user;
(4) according to user's current location, utilize the distance of mobile GIS module real-time judge current location and corresponding intersection whether less than default judgment threshold: if be not less than, continue to obtain user's real-time position information, be positioned at up to the residing position of user and report distance range; If less than, then enter to turn to and report the zone, calculate the deflection in the related highway section of corresponding intersection, comprise that highway section, current location place enters the deflection of corresponding intersection, the relative angular orientation in other all outlet ports highway sections of linking to each other with this crossing;
(5) selecting the trend in current highway section is the center position that turns to judgement, and angular interval is divided into preceding, left and right three quadrants, and its zone is respectively
,
,
According to the angular interval that number, distribution characteristics, the deflection in other all outlet ports highway sections that link to each other with this crossing drops on, carry out the crossing morphological analysis, analysis result is transformed into the statement of natural language description in conjunction with people's spatial cognition custom;
(6) the direction information statement of natural language description is realized speech conversion and speech sound eeplaining by speech synthesis engine and voice-output device.
The computing method of the deflection in the related highway section of corresponding intersection are among the present invention:
Be located at and have 2 A (X in the rectangular coordinate system
A, Y
A), B (X
B, Y
B), the vectorial angle between 2 is that the X positive axis with rectangular coordinate system is that direction is started at line, order
,
, the computing formula of vectorial angle is:
Be the terminal point of direction calculating with crossing N, calculate the entrance highway section E of N
FThe deflection that enters N, get E
FGo up the some P nearest apart from N
N-1Starting point as vector is designated as P
F, entrance highway section E then
FGo to the absolute direction angle of crossing N to be expressed as A
F=Angle (P
F, N); Be vectorial starting point with crossing N, the target outlet highway section E of N
TGo up the some P nearest apart from N
0Terminal point as vector is designated as P
T, then target exports highway section E
TThe absolute direction angle of leaving crossing N be Angle (N, P
T); The closest approach that crossing N goes up other outlet highway sections that connect is designated as P
i, the absolute direction angle at crossing is designated as Angle (N, P
i); Calculate the relative angular orientation in outlet highway section, namely deduct the absolute direction angle in entrance highway section with each absolute direction angle, be designated as A
T=Angle (N, P
T)-Angle (P
F, N), A
I=Angle (N, P
i)-Angle (P
F, N), and with its standardization to [0,2
].
The process of crossing morphological analysis is among the present invention:
Represent the number in the outlet highway section that links to each other with the crossing with Num, the whole highway sections number that namely links to each other with the crossing deducts an entrance highway section of starting at line as judgement;
When Num=1, can determine to export the direction information in highway section, nothing turns to ambiguity;
When Num=2, if two outlet highway sections that link to each other with the crossing are positioned at different angular interval, then direction information does not have ambiguity; If two the outlet highway section is positioned at same angular interval, then divide following three kinds of situations:
Situation one: be positioned at the angular interval of " craspedodrome " simultaneously, namely
, i=0,1;
(1) suitable if two highway sections lay respectively at the angle value of the both sides of center line and disalignment, namely
,
Be a smaller value, deflection left side, target outlet highway section is " left-hand rotation " so, and the deflection right side is " right-hand rotation ";
(2) if obvious deflection center line wherein, then this highway section be " craspedodromes ", an other left-hand rotation or right-hand rotation, namely
,
Be the compare threshold of setting;
(3) if two sides that all drop on center line then select nearer highway section for keeping straight on, other one is left-hand rotation or right-hand rotation, namely
Be the compare threshold of setting;
Situation two: be positioned at the angular interval of " left-hand rotation " simultaneously, namely
, the language description direction information that has " clockwise " field is adopted in i=0,1;
(1) deflection in target outlet highway section is less than the deflection in an other outlet highway section, and the direction information that exports the highway section so is " second road clockwise ";
(2) deflection in target outlet highway section is greater than the deflection in an other outlet highway section, and the direction information that exports the highway section so is " article one road clockwise ";
Situation three: be positioned at the angular interval of " right-hand rotation " simultaneously, namely
, the language description direction information that has " counterclockwise " field is adopted in i=0,1;
(1) deflection in target outlet highway section is less than the deflection in an other outlet highway section, and the direction information that exports the highway section so is " article one road counterclockwise ";
(2) deflection in target outlet highway section is greater than the deflection in an other outlet highway section, and the direction information that exports the highway section so is " second road counterclockwise ";
When Num=3, if target outlet highway section is positioned at an angular interval separately, then direction information does not have ambiguity; If target outlet highway section and an other interference highway section are positioned at same angular interval, disposal route is with reference to Num=2; The all outlet ports highway section all is positioned at same angular interval, at first the relative angular orientation in three outlet highway sections is done a size ordering, order
, do different disposal according to this angular interval again:
(1) be positioned at the angular interval of " craspedodrome " simultaneously:
If
, target outlet highway section is
, because the decentering direction is nearer, so direction information is " craspedodrome "; Target outlet highway section is
, then direction information is " second road clockwise "; Target outlet highway section is
, then direction information is " article one road clockwise ";
If
, target outlet highway section is
Perhaps
, with reference to the disposal route of Num=2 situation one; Target outlet highway section is
, then direction information is " right-hand rotation ";
If
, target outlet highway section is
, then direction information is " left-hand rotation "; Target outlet highway section is
Or
, with reference to the disposal route of Num=2 situation one;
If
, target outlet highway section is
, then direction information is " article one road counterclockwise "; Target outlet highway section is
, then direction information is " second road counterclockwise "; Target outlet highway section is
, because the decentering direction is nearer, so direction information is " craspedodrome ";
(2) be positioned at the angular interval of " left-hand rotation " simultaneously, namely
, the language description direction information that has " clockwise " field is adopted in i=0,1,2, if target outlet highway section is
, then direction information is " article one road clockwise ";
(3) be positioned at the angular interval of " right-hand rotation " simultaneously, namely
, the language description direction information that has " counterclockwise " field is adopted in i=0,1,2, if target outlet highway section is
, then direction information is " article one road counterclockwise ";
Num=4,5 and more the processing mode of the situation of more number and Num=3 is similar.
The present invention does detailed classification discussion to outlet highway section number and the distribution situation of crossing association, and weight analysis many highway sections drop on disposal route in the same angular interval, can be good at distinguishing many outlet highway sections and drop on situation in the same deflection interval, the direction information standard is turned to during the combination of the noun of locality and user's " clockwise ", " counterclockwise " direction describes to user's " preceding ", " left side ", " right side " three, can provide for the crossing direction information of road densely distributed and sinuous in the tourist attraction accurately and report.
Description of drawings
Fig. 1 is the inventive method applicating flow chart.
Fig. 2 is the inventive method workflow diagram.
Fig. 3 is that middle outlet of the present invention highway section number is 2 process flow figure.
Fig. 4 is that middle outlet of the present invention highway section number is 2, and is positioned at same angular interval synoptic diagram simultaneously.
Fig. 5 is that middle outlet of the present invention highway section number is 3 process flow figure.
Embodiment
Below in conjunction with drawings and Examples the present invention is described in further detail.
1. path planning is definite:
At road net data model G{V, E, among the W}, V is the node in the road network, is the end points of E; E is the segmental arc in the road network, and the intersection point between segmental arc and the segmental arc is exactly V; W is the weight of E, is used for the constraint condition as path planning.On this basis, the definition crossing is the highway section intersection point, i.e. Node ∈ { N|N=E
i∩ E
j, i, j=0,1 ... n}; Road section is defined as road fragment between two adjacent intersections, is made up of a succession of continuous coordinate set, i.e. Edge ∈ { E|E=N
iP
1P
N-1N
j, P
0=N
i, P
n=N
j; Path planning is a succession of orderly highway section set, i.e. Path={ E
0, E
1..., E
n.The Data Structure Design of Node and Edge is as shown in the table:
The data structure of Node and Edge
In addition, the termination crossing numbering in a highway section that definition enters certain crossing is consistent with the numbering at this crossing, i.e. Edge.TNID=Node.NID, and the initial crossing of leaving a highway section at certain crossing is numbered consistent with the numbering at this crossing, i.e. Edge.FNID=Node.NID.
2. the highway section obtains in real time:
(L B), calculates the distance in each highway section on user's current location and the path planning to utilize the GPS locating module to obtain the latitude and longitude coordinates of user's current location Location, the result that comprehensive all distances are lacked most, be Dis (Location, Path)=Min (Dis (Location, E
i)), i=0 wherein, 1 ... n is the sequence number of path planning highway section set Path, and n is the length of Path array.The nearest highway section sequence number that order obtains is Index, then Path[Index] namely think highway section, the current place of user, be designated as E
F, the termination crossing in this highway section is the crossing that the user is about to go to, and is designated as N, and the highway section that the while user is about to go to is designated as E
T
3. the deflection in related highway section, crossing calculates:
2 A (X in the rectangular coordinate system
A, Y
A), B (X
B, Y
B), between vectorial angle be that X positive axis with rectangular coordinate system is that direction is started at line, order
,
, the computing formula of vectorial angle is
Be the terminal point of direction calculating with crossing N, calculate the entrance highway section E of N
FThe deflection that enters N, get E
FGo up the some P nearest apart from N
N-1Starting point as vector is designated as P
F, entrance highway section E then
FGo to the deflection of crossing N to be expressed as A
F=Angle (P
F, N); Be vectorial starting point with crossing N, the target outlet highway section E of N
TGo up the some P nearest apart from N
0Terminal point as vector is designated as P
T, then target exports highway section E
TThe deflection that leaves N be Angle (N, P
T); The closest approach that crossing N goes up other outlet highway sections that connect is designated as P
i, the deflection at crossing is designated as Angle (N, P
i); Calculate the relative angular orientation in outlet highway section, namely deduct the absolute direction angle in entrance highway section with each absolute direction angle, be designated as A
T=Angle (N, P
T)-Angle (P
F, N), A
I=Angle (N, P
i)-Angle (P
F, N), and with its standardization to [0,2
].
Owing to be to describe direction information with user's visual angle during navigation, therefore select the A that moves towards in entrance highway section
FFor turning to the center position of judgement, namely with vector
Positive axis makes up angular interval and is respectively
Four quadrants in " preceding ", " back ", " left side ", " right side " because the distribution of road is normally not present situation about being transferred back, therefore " left side ", " right side " two quadrants are extended to respectively
, the zone of Gou Jianing is respectively at last
,
,
Preceding, left and right three angular interval.
4. crossing morphological analysis:
Represent the number in the outlet highway section that links to each other with the crossing with Num, the whole highway sections number that namely links to each other with the crossing deducts an entrance highway section of starting at line as judgement;
When Num=1, can determine to export the direction information in highway section, nothing turns to ambiguity;
When Num=2, if two outlet highway sections that link to each other with the crossing are positioned at different angular interval, then direction information does not have ambiguity; If two the outlet highway section is positioned at same angular interval, then divide following three kinds of situations (as shown in Figure 3, Figure 4):
Situation one: be positioned at the angular interval of " craspedodrome " simultaneously, namely
, i=0,1;
(1) suitable if two highway sections lay respectively at the angle value of the both sides of center line and disalignment, namely
,
Be a smaller value, deflection left side, target outlet highway section is " left-hand rotation " so, and the deflection right side is " right-hand rotation ";
(2) if obvious deflection center line wherein, then this highway section be " craspedodromes ", an other left-hand rotation or right-hand rotation, namely
,
Be the compare threshold of setting;
(3) if two sides that all drop on center line then select nearer highway section for keeping straight on, other one is left-hand rotation or right-hand rotation, namely
Be the compare threshold of setting;
Situation two: be positioned at the angular interval of " left-hand rotation " simultaneously, namely
, the language description direction information that has " clockwise " field is adopted in i=0,1;
(1) deflection in target outlet highway section is less than the deflection in an other outlet highway section, and the direction information that exports the highway section so is " second road clockwise ";
(2) deflection in target outlet highway section is greater than the deflection in an other outlet highway section, and the direction information that exports the highway section so is " article one road clockwise ";
Situation three: be positioned at the angular interval of " right-hand rotation " simultaneously, namely
, the language description direction information that has " counterclockwise " field is adopted in i=0,1;
(1) deflection in target outlet highway section is less than the deflection in an other outlet highway section, and the direction information that exports the highway section so is " article one road counterclockwise ";
(2) deflection in target outlet highway section is greater than the deflection in an other outlet highway section, and the direction information that exports the highway section so is " second road counterclockwise ";
When Num=3, if target outlet highway section is positioned at an angular interval separately, then direction information does not have ambiguity; If target outlet highway section and an other interference highway section are positioned at same angular interval, disposal route is with reference to Num=2; The all outlet ports highway section all is positioned at same angular interval, at first the relative angular orientation in three outlet highway sections is done a size ordering, order
, do different disposal (as shown in Figure 5) according to this angular interval again:
(1) be positioned at the angular interval of " craspedodrome " simultaneously:
If
, target outlet highway section is
, because the decentering direction is nearer, so direction information is " craspedodrome "; Target outlet highway section is
, then direction information is " second road clockwise "; Target outlet highway section is
, then direction information is " article one road clockwise ";
If
, target outlet highway section is
Perhaps
, with reference to the disposal route of Num=2 situation one; Target outlet highway section is
, then direction information is " right-hand rotation ";
If
, target outlet highway section is
, then direction information is " left-hand rotation "; Target outlet highway section is
Or
, with reference to the disposal route of Num=2 situation one;
If
, target outlet highway section is
, then direction information is " article one road counterclockwise "; Target outlet highway section is
, then direction information is " second road counterclockwise "; Target outlet highway section is
, because the decentering direction is nearer, so direction information is " craspedodrome ";
(2) be positioned at the angular interval of " left-hand rotation " simultaneously, namely
, the language description direction information that has " clockwise " field is adopted in i=0,1,2, if target outlet highway section is
, then direction information is " article one road clockwise ";
(3) be positioned at the angular interval of " right-hand rotation " simultaneously, namely
, the language description direction information that has " counterclockwise " field is adopted in i=0,1,2, if target outlet highway section is
, then direction information is " article one road counterclockwise ";
Num=4,5 and more the processing mode of the situation of more number and Num=3 is similar.
Embodiment:
Present embodiment is with the example that is applied as in Changshu City, Jiangsu Province lake breeze scenic spot audio guide explanation still process, and mobile GIS module is carried out secondary development based on the ArcGIS Mobile software of ESRI company and finished; The GPS equipment of GPS locating module is the equipment that carries in the smart mobile phone, and the GPS interface in the ArcGIS Mobile software of use ESRI company drives this equipment, thereby obtains user's real-time position information; The phonetic synthesis module is used speech synthesis engine and the interface thereof of Jie Tonghua sound company.
Peony tour in the scenic spot is Path[10]={ E
10, E
13, E
17, E
22, E
26, E
27, E
31, E
32, E
43, E
52.
Situation one, outlet highway section number is 2, is positioned at same angular interval:
The current position coordinates Position (120.684945,31.642316) that utilizes the GPS acquisition module to obtain.
The first step: judge that current location is apart from stretch section nearest on the path planning, by calculating the distance in current location each highway section to the path planning, utilize mobile GIS that spherical distance is converted to the plane and straight line distance simultaneously, obtain the distance set, wherein bee-line is Min (Dis)=1.8342m, and corresponding highway section is E
13, the crossing is N
51, next highway section is E
17, be concrete data content below:
E
13:EID=13,FNID=12,TNID=51,ECoordinateArray={(120.684863,31.642356),(120.684902,31.642325),(120.684962,31.642278),(120.684988,31.642258),(120.685010,31.642235)};
E
17:EID=17,FNID=51,TNID=87,ECoordinateArray={(120.685010,31.642235),(120.685033,31.642207),(120.685049,31.642180),(120.685070,31.642121)};
E
13With E
17The crossing be N
51: NID=51, NCoordinate=(120.685010,31.642236), NEdgeIDArray={13,17,19};
E
19Data be EID=19, FNID=51, TNID=53, ECoordinateArray={ (120.685010,31.642235), (120.685056,31.642220), (120.685146,31.642169), (120.685204,31.642121), (120.685258,31.642085) };
Second step: at entrance highway section E
13On get point second from the bottom (120.684988,31.642258), be designated as P
13, calculated direction angle Angle (P
13, N
51)=5.497787; At target outlet highway section E
17On get second point (120.685033,31.642207), be designated as P
17, calculated direction angle Angle (N
51, P
17)=5.382911; At an other outlet highway section E
19On get second point (120.685056,31.642220), be designated as P
19, calculated direction angle Angle (N
51, P
19)=5.948448.Further be that angle is started at line with the Way in, so Angle (N
51, P
17)-Angle (P
13, N
51)+2
=6.168309
, Angle (N
51, P
19)-Angle (P
13, N
51)=0.450661
The 3rd step: observe to such an extent that deflection is positioned at same angular interval, and be positioned at the center line both sides, and Angle (N
51, P
17) and center line between difference be 2
6.168309=0.114877, Angle (N
51, P
19) with the difference of center line be 0.450661, this moment 0.450661-0.114877
,
Therefore target exports highway section E
17Direction information be " craspedodrome ".
Situation two, outlet highway section number is 3, is positioned at same angular interval:
The current position coordinates Position (120.683259,31.643556) that utilizes the GPS acquisition module to obtain.
The first step: judge that current location is apart from stretch section nearest on the path planning, by calculating the distance in current location each highway section to the path planning, utilize mobile GIS that spherical distance is converted to the plane and straight line distance simultaneously, obtain the distance set, wherein bee-line is Min (Dis)=7.258221m, and corresponding highway section is E
26, the crossing is N
43, next highway section is E
27, be concrete data content below:
E
26:EID=26,FNID=34,TNID=43,ECoordinateArray={(120.683522,31.643691),(?120.683390,31.643591),(120.683254,31.643476),(120.683230,31.643424),(120.683224,31.643353)};
E
27:EID=27,FNID=43,TNID=67,ECoordinateArray={(120.683224,31.643353),(?120.683180,31.643330),(120.683088,31.643313),(120.682926,31.643282)};
E
26With E
27The crossing be N
43: NID=43, NCoordinate=(120.683224,31.643353), NEdgeIDArray={25,26,27,28};
E
25Data be EID=25, FNID=43, TNID=45, ECoordinateArray={ (120.683224,31.643353), (120.683167,31.643353), (120.683102,31.643349), (120.682932,31.643358), (120.682838,31.643380) };
E
28Data be EID=28, FNID=43, TNID=58, ECoordinateArray={ (120.685010,31.642235), (120.683176,31.643301), (120.683104,31.643241), (120.682949,31.643214) };
Second step: at entrance highway section E
26On get point second from the bottom (120.683230,31.643424), be designated as P
26, calculated direction angle Angle (P
26, N
43)=5.694276; At target outlet highway section E
27On get second point (120.683180,31.643330), be designated as P
27, calculated direction angle Angle (N
43, P
27)=2.602379; At outlet highway section E
25On get second point (120.683167,31.643353), be designated as P
25, calculated direction angle Angle (N
43, P
25)=2.596319; At outlet highway section E
28On get second point (120.683176,31.643301), be designated as P
28, calculated direction angle Angle (N
43, P
28)=2.615079.Further be that angle is started at line with the Way in, so Angle (N
43, P
27)-Angle (P
26, N
43)+2
=3.191288
, Angle (N
43, P
25)-Angle (P
26, N
43)+2
=3.185229
, Angle (N
43, P
28)-Angle (P
26, N
43)+2
=3.203988
Therefore the 3rd step: observe to such an extent that deflection is positioned at " right side " interval simultaneously, and 3.185229<3.191288<3.203988 adopt " counterclockwise " to add ordinal number to be described, the result is " counterclockwise second road ".
Claims (4)
1. the crossing direction information voice broadcast method based on the crossing form is characterized in that, may further comprise the steps:
(1) in mobile GIS module, obtain path planning according to road net, i.e. the starting point of user's appointment is the path between 2 to the destination, and path planning comprises crossing and road section information; Wherein, described intersection information comprises crossing numbering, crossing coordinate, the road section information that links to each other with the crossing; Described road section information comprises point coordinate set in order on the intersection information, highway section at highway section numbering, two ends, highway section;
(2) utilize the GPS locating module to obtain the latitude and longitude coordinates of user's current location and pass to mobile GIS module;
(3) utilize mobile GIS module to calculate the distance in user's current location each highway section in the path planning, with the highway section as the current place of user, the highway section of bee-line correspondence, obtain the numbering at the crossing that is about to enter according to the numbering in highway section, the current place of user;
(4) according to user's current location, utilize the distance of mobile GIS module real-time judge current location and corresponding intersection whether less than default judgment threshold: if be not less than, continue to obtain user's real-time position information, be positioned at up to the residing position of user and report distance range; If less than, then enter to turn to and report the zone, calculate the deflection in the related highway section of corresponding intersection, comprise that highway section, current location place enters the deflection of corresponding intersection, the relative angular orientation in other all outlet ports highway sections of linking to each other with this crossing;
(5) enter the deflection of corresponding intersection according to current highway section, angular interval is divided into preceding, left and right three quadrants, the angular interval that drops on according to number, distribution characteristics, the deflection in other all outlet ports highway sections that link to each other with this crossing, carry out the crossing morphological analysis, analysis result is transformed into the statement of natural language description in conjunction with people's spatial cognition custom;
(6) the direction information statement of natural language description is realized speech conversion and speech sound eeplaining by speech synthesis engine and voice-output device.
2. the crossing direction information voice broadcast method based on the crossing form according to claim 1 is characterized in that: the computation process of the deflection in the related highway section of described corresponding intersection is:
Be located at and have 2 A (X in the rectangular coordinate system
A, Y
A), B (X
B, Y
B), the vectorial angle between 2 is that the X positive axis with rectangular coordinate system is that direction is started at line, makes △ X=X
B-X
A, △ Y=Y
B-Y
A, the computing formula of vectorial angle is:
Be the terminal point of direction calculating with crossing N, calculate the entrance highway section E of N
FThe deflection that enters N, get E
FGo up the some P nearest apart from N
N-1Starting point as vector is designated as P
F, entrance highway section E then
FGo to the absolute direction angle of crossing N to be expressed as A
F=Angle (P
F, N); Be vectorial starting point with crossing N, the target outlet highway section E of N
TGo up the some P nearest apart from N
0Terminal point as vector is designated as P
T, then target exports highway section E
TThe absolute direction angle of leaving crossing N be Angle (N, P
T); The closest approach that crossing N goes up other outlet highway sections that connect is designated as P
i, the absolute direction angle at crossing is designated as Angle (N, P
i); Calculate the relative angular orientation in outlet highway section, namely deduct the absolute direction angle in entrance highway section with each absolute direction angle, be designated as A
T=Angle (N, P
T)-Angle (P
F, N), A
I=Angle (N, P
i)-Angle (P
F, N), and with its standardization to [0,2 π].
3. the crossing direction information voice broadcast method based on the crossing form according to claim 2, it is characterized in that: the division methods of described angular interval is: the A that moves towards that selects the entrance highway section
FFor turning to the center position of judgement, namely with vector
Be positive axis, make up the zone and be respectively
Preceding, left and right three angular interval.
4. the crossing direction information voice broadcast method based on the crossing form according to claim 2, it is characterized in that: the process of described crossing morphological analysis is:
Represent the number in the outlet highway section that links to each other with the crossing with Num, the whole highway sections number that namely links to each other with the crossing deducts an entrance highway section of starting at line as judgement;
When Num=1, can determine to export the direction information in highway section, nothing turns to ambiguity;
When Num=2, if two outlet highway sections that link to each other with the crossing are positioned at different angular interval, then direction information does not have ambiguity; If two the outlet highway section is positioned at same angular interval, then divide following three kinds of situations:
(1) suitable if two highway sections lay respectively at the angle value of the both sides of center line and disalignment, namely
δ is a smaller value, and deflection left side, target outlet highway section is left-hand rotation so, and the deflection right side is for turning right;
(2) if obvious deflection center line wherein, then this highway section is for keeping straight on, other one is turned left or turns right, namely
The compare threshold of ρ for setting;
(3) if two sides that all drop on center line then select nearer highway section for keeping straight on, other one is left-hand rotation or right-hand rotation, namely
The compare threshold of ρ for setting;
Situation two: be positioned at the angular interval of left-hand rotation simultaneously,
I=0,1, adopt the language description direction information that has clockwise field;
(1) deflection in target outlet highway section is less than the deflection in an other outlet highway section, and the direction information that exports the highway section so is: clockwise second road;
(2) deflection in target outlet highway section is greater than the deflection in an other outlet highway section, and the direction information that exports the highway section so is: clockwise article one road;
Situation three: be positioned at the angular interval of right-hand rotation simultaneously,
I=0,1, adopt the language description direction information that has counterclockwise field;
(1) deflection in target outlet highway section is less than the deflection in an other outlet highway section, and the direction information that exports the highway section so is: counterclockwise article one road;
(2) deflection in target outlet highway section is greater than the deflection in an other outlet highway section, and the direction information that exports the highway section so is: counterclockwise second road;
When Num=3, if target outlet highway section is positioned at an angular interval separately, then direction information does not have ambiguity; If target outlet highway section and an other interference highway section are positioned at same angular interval, disposal route is with reference to Num=2; The all outlet ports highway section all is positioned at same angular interval, at first the relative angular orientation in three outlet highway sections is done a size ordering, makes A
0<A
1<A
2, do different disposal according to this angular interval again:
(1) be positioned at the angular interval of craspedodrome simultaneously:
If
Target outlet highway section is A
0, because the decentering direction is nearer, so direction information is for keeping straight on; Target outlet highway section is A
1, then direction information is: clockwise second road; Target outlet highway section is A
2, then direction information is: clockwise article one road;
If
And
Target outlet highway section is A
0Perhaps A
1, with reference to the disposal route of Num=2 situation one; Target outlet highway section is A
2, then direction information is: turn right;
If
And
Target outlet highway section is A
0, then direction information is: turn left; Target outlet highway section is A
1Or A
2, with reference to the disposal route of Num=2 situation one;
If
Target outlet highway section is A
0, then direction information is: counterclockwise article one road; Target outlet highway section is A
1, then direction information is: counterclockwise second road; Target outlet highway section is A
2, because the decentering direction is nearer, so direction information is: keep straight on;
(2) be positioned at the angular interval of left-hand rotation simultaneously, namely
I=0,1,2, adopt the language description direction information that has clockwise field, if target outlet highway section is A
0, then direction information is: clockwise article one road;
(3) be positioned at the angular interval of right-hand rotation simultaneously, namely
I=0,1,2, adopt the language description direction information that has counterclockwise field, if target outlet highway section is A
2, then direction information is: counterclockwise article one road;
Num=4,5 and more the processing mode of the situation of more number and Num=3 is similar.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110382659 CN102494693B (en) | 2011-11-27 | 2011-11-27 | Voice broadcast method for crossroad form based crossroad steering information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110382659 CN102494693B (en) | 2011-11-27 | 2011-11-27 | Voice broadcast method for crossroad form based crossroad steering information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102494693A CN102494693A (en) | 2012-06-13 |
CN102494693B true CN102494693B (en) | 2013-09-25 |
Family
ID=46186537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110382659 Expired - Fee Related CN102494693B (en) | 2011-11-27 | 2011-11-27 | Voice broadcast method for crossroad form based crossroad steering information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102494693B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103134518B (en) * | 2012-12-25 | 2015-10-07 | 上海博泰悦臻电子设备制造有限公司 | Navigation information broadcasting method and mobile unit |
CN103390099A (en) * | 2013-06-28 | 2013-11-13 | 孙茜茜 | Service system and service method based on mobile operation system platform and Mobile GIS (Geographic Information System) |
US20160059775A1 (en) * | 2014-09-02 | 2016-03-03 | Nuance Communications, Inc. | Methods and apparatus for providing direction cues to a driver |
JP6802778B2 (en) * | 2017-12-01 | 2020-12-23 | 本田技研工業株式会社 | Vehicle, route calculation device and route calculation method |
CN110553662B (en) * | 2018-06-01 | 2021-08-17 | 北京嘀嘀无限科技发展有限公司 | Navigation method and system based on road intersection coding system |
CN108986241A (en) * | 2018-06-14 | 2018-12-11 | 北京诚达交通科技有限公司 | A kind of highway driving Path Recognition monitoring system and method |
CN110940348A (en) * | 2018-09-25 | 2020-03-31 | 北京四维图新科技股份有限公司 | Method for calculating and navigating direction of branch road junction, vehicle-mounted navigator and mobile terminal |
CN109523781B (en) * | 2018-10-10 | 2020-07-28 | 中国电子科技集团公司第二十八研究所 | Intersection prediction method based on satellite positioning |
CN109443371A (en) * | 2018-10-16 | 2019-03-08 | 百度在线网络技术(北京)有限公司 | The bootstrap technique and device of user's starting direction when navigation |
CN111238509B (en) * | 2018-11-28 | 2022-09-13 | 沈阳美行科技股份有限公司 | Special road guiding method and device and related equipment |
CN109459051B (en) * | 2018-12-20 | 2023-07-14 | 华中科技大学鄂州工业技术研究院 | Route planning-based voice accompanying tour guide method and equipment |
CN111664863B (en) * | 2019-03-07 | 2022-02-01 | 腾讯科技(深圳)有限公司 | Broadcast information processing method and device and storage medium |
CN112319239B (en) * | 2020-11-17 | 2022-04-26 | 睿驰电装(大连)电动系统有限公司 | Torque control method and device based on navigation information and electric vehicle |
CN113188553B (en) * | 2021-04-15 | 2023-11-21 | 杭州海康威视系统技术有限公司 | Route planning method, route planning device, electronic equipment and machine-readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101201394A (en) * | 2006-12-13 | 2008-06-18 | 英业达股份有限公司 | Voice navigation method |
CN101246014A (en) * | 2007-02-14 | 2008-08-20 | 高德软件有限公司 | Voice navigation device |
CN101290230A (en) * | 2008-04-14 | 2008-10-22 | 凯立德欣技术(深圳)有限公司 | Road crossing navigation method and navigation system using the navigation method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001349741A (en) * | 2001-04-09 | 2001-12-21 | Toshiba Corp | On-vehicle car navigation system |
-
2011
- 2011-11-27 CN CN 201110382659 patent/CN102494693B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101201394A (en) * | 2006-12-13 | 2008-06-18 | 英业达股份有限公司 | Voice navigation method |
CN101246014A (en) * | 2007-02-14 | 2008-08-20 | 高德软件有限公司 | Voice navigation device |
CN101290230A (en) * | 2008-04-14 | 2008-10-22 | 凯立德欣技术(深圳)有限公司 | Road crossing navigation method and navigation system using the navigation method |
Non-Patent Citations (1)
Title |
---|
JP特开2001-349741A 2001.12.21 |
Also Published As
Publication number | Publication date |
---|---|
CN102494693A (en) | 2012-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102494693B (en) | Voice broadcast method for crossroad form based crossroad steering information | |
US9377313B2 (en) | Methods and systems for creating digital street network database | |
EP2306150B1 (en) | Method of transmitting position information of digital map and apparatus utilized for the method | |
EP1855263B1 (en) | Map display device | |
CN103389104B (en) | A kind of three-dimensional air navigation aid synchronous with two dimensional navigation and device thereof | |
US20120116678A1 (en) | Methods and systems for creating digital transportation networks | |
US7636634B2 (en) | On-vehicle information terminal | |
US20130204521A1 (en) | Method for flexibly adjusting a navigation path and device thereof | |
CN102645218B (en) | Method for voice broadcast of relative position information of point of interest (POI) | |
RU2716363C1 (en) | Method of marking locations along roads on map | |
EP2659228B1 (en) | Generation of a seamless network of road or line segments in a digital map | |
CN102918358A (en) | A method of resolving a location from data representative thereof | |
CN106469505B (en) | Floating car track deviation rectifying method and device | |
CN102393206A (en) | Path planning method and device | |
CN104101353A (en) | Navigation method, navigation apparatus and real-time navigation system | |
CN101660919A (en) | Method for generating navigation information and navigation system thereof | |
CN103206956A (en) | Navigation method and navigation device | |
CN110285817A (en) | Complicated road network map matching process based on adaptive D-S evidence theory | |
EP2659227B1 (en) | Incremental network generation providing seamless network | |
CN102082996A (en) | Self-locating mobile terminal and method thereof | |
CN104422459B (en) | A kind of method and device, air navigation aid and navigation system for determining vehicle location | |
CN101782394A (en) | Method for judging turning of mobile object and navigation device using same | |
CN101169330B (en) | Vehicular navigation device using single branched graph | |
CN104574966B (en) | Variable information identity device and variable information identification method | |
JP2019128260A (en) | Display device, and map data structure |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130925 |