CN109631925B - Main and auxiliary road determining method and device, storage medium and electronic equipment - Google Patents

Main and auxiliary road determining method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN109631925B
CN109631925B CN201811574237.5A CN201811574237A CN109631925B CN 109631925 B CN109631925 B CN 109631925B CN 201811574237 A CN201811574237 A CN 201811574237A CN 109631925 B CN109631925 B CN 109631925B
Authority
CN
China
Prior art keywords
vehicle
determining
road
angle difference
degree
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.)
Active
Application number
CN201811574237.5A
Other languages
Chinese (zh)
Other versions
CN109631925A (en
Inventor
戚新毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zebra Network Technology Co Ltd
Original Assignee
Zebra Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zebra Network Technology Co Ltd filed Critical Zebra Network Technology Co Ltd
Priority to CN201811574237.5A priority Critical patent/CN109631925B/en
Publication of CN109631925A publication Critical patent/CN109631925A/en
Application granted granted Critical
Publication of CN109631925B publication Critical patent/CN109631925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3407Route searching; Route guidance specially adapted for specific applications
    • G01C21/343Calculating itineraries, i.e. routes leading from a starting point to a series of categorical destinations using a global route restraint, round trips, touristic trips

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention provides a main road and auxiliary road determining method, a main road and auxiliary road determining device, a storage medium and electronic equipment. The invention provides a main and auxiliary road determining method, which comprises the following steps: the method comprises the steps of firstly determining a first attaching degree of a vehicle driving direction and a main road and determining a second attaching degree of the vehicle driving direction and a side road, wherein the attaching degree is used for representing the attaching degree of the vehicle driving direction and a road azimuth angle, and then determining road information where the vehicle is located currently according to the first attaching degree and the second attaching degree, wherein the road information is that the vehicle enters the main road or the vehicle enters the side road. The method for determining the main road and the auxiliary road can enable the vehicle navigation system to accurately distinguish whether the current driving state enters the main road or the auxiliary road, so that the subsequent accurate navigation of the vehicle can be carried out, and the intelligence of the vehicle navigation system is improved.

Description

Main and auxiliary road determining method and device, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of vehicle navigation, in particular to a main road and auxiliary road determining method, a main road and auxiliary road determining device, a storage medium and electronic equipment.
Background
With the development of the automobile industry and the improvement of the living standard of people, automobiles become daily transportation tools for people to go out, and in the daily use process of the vehicles, the vehicles are often required to be guided to the destination through a navigation system.
In order to meet the traffic requirements of cities, city expressways are built in many large cities, and the expressways are divided into main roads and auxiliary roads. Since the vehicle needs to be shunted at the bifurcation of the main road and the auxiliary road, congestion often occurs at the bifurcation of the main road and the auxiliary road.
Because the distance between the main road and the auxiliary road is usually small, misjudgment of the vehicle navigation system is easily caused, so that the vehicle navigation system is difficult to distinguish whether the current vehicle runs on the main road or the auxiliary road, and further subsequent navigation errors of the vehicle are caused.
Disclosure of Invention
The invention provides a main and auxiliary road determining method, a main and auxiliary road determining device, a storage medium and electronic equipment, so that a vehicle navigation system can accurately judge whether a current vehicle is in a main road or an auxiliary road, and accurate navigation is performed subsequently.
In a first aspect, the present invention further provides a method for determining a primary road and a secondary road, including:
determining a first fitting degree of a vehicle driving direction and a main road and a second fitting degree of the vehicle driving direction and a side road, wherein the fitting degree is used for representing the fitting degree of the vehicle driving direction and a road azimuth angle;
determining the current road information of the vehicle according to the first attaching degree and the second attaching degree, wherein the road information is that the vehicle enters a main road or enters a secondary road.
In one possible design, before the determining a first degree of conformity of the vehicle driving direction with the main road and determining a second degree of conformity of the vehicle driving direction with the auxiliary road, the method further includes:
and acquiring the current position of the vehicle, and determining that the vehicle is positioned at a bifurcation of a main road and a secondary road according to the current position.
In one possible design, before the determining a first degree of conformity of the vehicle driving direction with the main road and determining a second degree of conformity of the vehicle driving direction with the auxiliary road, the method further includes:
and determining that the vehicle originally runs on the main road or the auxiliary road according to the current position.
In one possible design, the determining a first degree of engagement of the vehicle travel direction with the main road and determining a second degree of engagement of the vehicle travel direction with the auxiliary road includes:
determining a first absolute angle difference according to the vehicle running direction and a preset main road azimuth angle, and determining a second absolute angle difference according to the vehicle running direction and a preset auxiliary road azimuth angle;
and determining the first fitting degree according to the first absolute angle difference, and determining the second fitting degree according to the second absolute angle difference, wherein the relation between the absolute angle difference and the fitting degree is negative correlation.
In one possible design, the determining a first degree of engagement of the vehicle travel direction with the main road and determining a second degree of engagement of the vehicle travel direction with the auxiliary road includes:
determining a first absolute angle difference according to the vehicle running direction and a preset main road azimuth angle, and determining a second absolute angle difference according to the vehicle running direction and a preset auxiliary road azimuth angle;
determining a relative angle difference according to a first driving angle of the vehicle at a first moment and a second driving angle of the vehicle at a second moment;
determining the first attaching degree according to the first absolute angle difference, a preset first absolute angle weighted value, the relative angle difference and a preset first relative angle weighted value;
and determining the second attaching degree according to the second absolute angle difference, a preset second absolute angle weight value, the relative angle difference and a preset second relative angle weight value.
In one possible design, the determining a first degree of engagement of the vehicle travel direction with the main road and determining a second degree of engagement of the vehicle travel direction with the auxiliary road includes:
determining a first absolute angle difference according to the vehicle running direction and a preset main road azimuth angle, and determining a second absolute angle difference according to the vehicle running direction and a preset auxiliary road azimuth angle;
determining a relative angle difference according to a first driving angle of the vehicle at a first moment and a second driving angle of the vehicle at a second moment;
determining a driving angle difference according to a first steering wheel angle of the vehicle at the first moment and a second steering wheel angle of the vehicle at the second moment;
determining the first fitting degree according to the first absolute angle difference, a preset first absolute angle weight value, the relative angle difference, a preset first relative angle weight value, the driving angle difference and a preset first driving angle weight value;
and determining the second fitting degree according to the second absolute angle difference, a preset second absolute angle weighted value, the relative angle difference, a preset second relative angle weighted value, the driving angle difference and a preset second driving angle weighted value.
In a second aspect, the present invention further provides a primary and secondary road determining apparatus, including:
the determining module is used for determining a first fitting degree of a vehicle driving direction and a main road and determining a second fitting degree of the vehicle driving direction and a side road, wherein the fitting degree is used for representing the fitting degree of the vehicle driving direction and a road azimuth angle;
the processing module is used for determining the current road information of the vehicle according to the first attaching degree and the second attaching degree, wherein the road information is that the vehicle enters a main road or the vehicle enters a secondary road.
In one possible design, the primary and secondary road determining apparatus further includes:
the acquisition module is used for acquiring the current position of the vehicle and determining that the vehicle is positioned at a bifurcation of a main road and a secondary road according to the current position.
In one possible design, the determining module is further configured to determine that the vehicle originally traveled on the main road or the auxiliary road according to the current position.
In one possible design, the determining module is specifically configured to:
determining a first absolute angle difference according to the vehicle running direction and a preset main road azimuth angle, and determining a second absolute angle difference according to the vehicle running direction and a preset auxiliary road azimuth angle;
and determining the first fitting degree according to the first absolute angle difference, and determining the second fitting degree according to the second absolute angle difference, wherein the relation between the absolute angle difference and the fitting degree is negative correlation.
In one possible design, the determining module is specifically configured to:
determining a first absolute angle difference according to the vehicle running direction and a preset main road azimuth angle, and determining a second absolute angle difference according to the vehicle running direction and a preset auxiliary road azimuth angle;
determining a relative angle difference according to a first driving angle of the vehicle at a first moment and a second driving angle of the vehicle at a second moment;
determining the first attaching degree according to the first absolute angle difference, a preset first absolute angle weighted value, the relative angle difference and a preset first relative angle weighted value;
and determining the second attaching degree according to the second absolute angle difference, a preset second absolute angle weight value, the relative angle difference and a preset second relative angle weight value.
In one possible design, the determining module is specifically configured to:
determining a first absolute angle difference according to the vehicle running direction and a preset main road azimuth angle, and determining a second absolute angle difference according to the vehicle running direction and a preset auxiliary road azimuth angle;
determining a relative angle difference according to a first driving angle of the vehicle at a first moment and a second driving angle of the vehicle at a second moment;
determining a driving angle difference according to a first steering wheel angle of the vehicle at the first moment and a second steering wheel angle of the vehicle at the second moment;
determining the first fitting degree according to the first absolute angle difference, a preset first absolute angle weight value, the relative angle difference, a preset first relative angle weight value, the driving angle difference and a preset first driving angle weight value;
and determining the second fitting degree according to the second absolute angle difference, a preset second absolute angle weighted value, the relative angle difference, a preset second relative angle weighted value, the driving angle difference and a preset second driving angle weighted value.
In a third aspect, the present invention also provides a vehicle comprising: the primary and secondary road determining apparatus according to any one of the second aspect.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements any one of the possible primary and secondary road determination methods of the first aspect.
In a fifth aspect, the present invention further provides an electronic device, including:
a processor; and the number of the first and second groups,
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform any one of the possible primary and secondary road determination methods of the first aspect via execution of the executable instructions.
According to the main and auxiliary road determining method, the main and auxiliary road determining device, the storage medium and the electronic equipment, the first fitting degree of the driving direction of the vehicle and the main road and the second fitting degree of the driving direction of the vehicle and the auxiliary road are respectively determined, and then the first fitting degree and the second fitting degree are compared to determine whether the vehicle enters the main road or the auxiliary road currently, so that the vehicle navigation system can accurately distinguish whether the current driving state enters the main road or the auxiliary road, the vehicle can accurately navigate subsequently, and the intelligence of the vehicle navigation system is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow diagram illustrating a primary and secondary road determination method in accordance with an exemplary embodiment of the present invention;
FIG. 2 is a schematic flow chart of a possible step 101 in the embodiment shown in FIG. 1;
FIG. 3 is a schematic flow chart of one possible process of step 102 in the embodiment shown in FIG. 1;
FIG. 4 is a diagram of one possible application scenario in the embodiment shown in FIG. 1;
FIG. 5 is a diagram of another possible application scenario in the embodiment shown in FIG. 1;
FIG. 6 is a schematic diagram of another possible flow chart of step 101 in the embodiment shown in FIG. 1;
FIG. 7 is a schematic flow chart of another possible step 102 in the embodiment shown in FIG. 1;
FIG. 8 is a schematic diagram of still another possible flow chart of step 101 in the embodiment shown in FIG. 1;
FIG. 9 is a schematic diagram of still another possible flow chart of step 102 in the embodiment shown in FIG. 1;
fig. 10 is a schematic structural diagram illustrating a primary and secondary road determining apparatus according to an exemplary embodiment of the present invention;
fig. 11 is a schematic structural diagram of a primary and secondary road determination apparatus according to another exemplary embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device shown in accordance with an example embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart illustrating a primary and secondary road determination method according to an exemplary embodiment of the invention. As shown in fig. 1, the method for determining a main road and a side road provided by this embodiment includes:
step 101, determining a first degree of engagement of the vehicle driving direction with the main road.
Specifically, a first attaching degree of the vehicle driving direction and the main road is determined, wherein the attaching degree is used for representing the attaching degree of the vehicle driving direction and the road azimuth, and the closer the vehicle driving direction is to the main road azimuth, the higher the first attaching degree is. It should be understood that the vehicle traveling direction may be determined by a GPS system or a gyroscope, and the manner of acquiring the vehicle traveling direction is not particularly limited in this embodiment.
In a possible implementation, fig. 2 is a schematic flow chart of step 101 in the embodiment shown in fig. 1. As shown in fig. 2, step 101 in this embodiment includes:
step 10111, determining a first absolute angle difference according to the vehicle driving direction and the preset main road azimuth angle.
Specifically, before determining the main road and the auxiliary road, the vehicle needs to obtain the current position of the vehicle, and determine that the vehicle is located at the bifurcation of the main road and the auxiliary road according to the current position. When the vehicle is located at the main and auxiliary road bifurcation, determining a first absolute angle difference according to the vehicle driving direction and a preset main road azimuth angle, wherein the larger the first absolute angle difference is, the larger the deviation between the vehicle driving direction and the main road azimuth angle is. It is to be understood that the preset main road azimuth angle may be obtained by map data of vehicle navigation, and the azimuth angle of each road is preset in each map.
Step 10112, determining a first degree of fitting according to the first absolute angle difference.
After the first absolute angle difference is determined, a first fitting degree is determined according to the first absolute angle difference, wherein the relation between the first absolute angle difference and the first fitting degree is negative correlation, namely the larger the first absolute angle difference is, the smaller the first fitting degree is.
And 102, determining a second fitting degree of the vehicle driving direction and the auxiliary road.
Specifically, a second attaching degree of the vehicle driving direction and the auxiliary road is determined, wherein the attaching degree is used for representing the attaching degree of the vehicle driving direction and the road azimuth, and the closer the vehicle driving direction and the auxiliary road azimuth are, the higher the second attaching degree is. It should be understood that the vehicle traveling direction may be determined by a GPS system or a gyroscope, and the manner of acquiring the vehicle traveling direction is not particularly limited in this embodiment.
In one possible implementation, fig. 3 is a schematic flow chart of step 102 in the embodiment shown in fig. 1. As shown in FIG. 3, step 102 in this embodiment comprises
Step 10211, determining a second absolute angle difference according to the driving direction of the vehicle and a preset auxiliary road azimuth angle.
Specifically, before determining the main road and the auxiliary road, the vehicle needs to obtain the current position of the vehicle, and determine that the vehicle is located at the bifurcation of the main road and the auxiliary road according to the current position. And when the vehicle is positioned at the main and auxiliary road bifurcation, determining a second absolute angle difference according to the vehicle driving direction and a preset auxiliary road azimuth angle, wherein the larger the second absolute angle difference is, the larger the deviation between the vehicle driving direction and the auxiliary road azimuth angle is. It should be understood that the preset side road azimuth angle may be obtained from map data of the vehicle navigation system, and the azimuth angle of each road is preset in each map.
And step 10212, determining a second fitting degree according to the second absolute angle difference.
After the second absolute angle difference is determined, a second fitting degree is determined according to the second absolute angle difference, wherein the relationship between the second absolute angle difference and the second fitting degree is negative correlation, namely the larger the second absolute angle difference is, the smaller the second fitting degree is.
And 103, determining the current road information of the vehicle according to the first attaching degree and the second attaching degree.
Specifically, after the first attaching degree and the second attaching degree are determined, the road information where the vehicle is located at present is determined according to the first attaching degree and the second attaching degree, wherein the road information is that the vehicle enters a main road or the vehicle enters a secondary road.
Fig. 4 is a diagram of one possible application scenario in the embodiment shown in fig. 1. As shown in fig. 4, the driving direction of the vehicle further fits the azimuth angle of the main road, i.e. the first degree of fit is greater than the second degree of fit, and the road information is that the vehicle enters the main road.
Fig. 5 is a diagram of another possible application scenario in the embodiment shown in fig. 1. As shown in fig. 5, the vehicle driving direction of the vehicle is closer to the azimuth of the auxiliary road, i.e. the first degree of fitting is smaller than the second degree of fitting, and the road information is that the vehicle enters the auxiliary road.
It should be noted that, when the first attaching degree is equal to the second attaching degree, it is determined that the vehicle originally travels on the main road or the auxiliary road according to the current position, if the vehicle originally travels on the main road, the road information indicates that the vehicle enters the main road, and if the vehicle originally travels on the auxiliary road, the road information indicates that the vehicle enters the auxiliary road.
In this embodiment, through confirming the first laminating degree of vehicle direction of travel and main road respectively and with the second laminating degree of auxiliary road, then, compare first laminating degree and second laminating degree and confirm the present whether main road or the road of entering of vehicle is confirmed to make vehicle navigation system accurately distinguish the present state of traveling and enter main road or auxiliary road, and then make the subsequent accurate navigation that can carry out of vehicle, thereby improve vehicle navigation system's intellectuality.
In order to further improve the recognition accuracy, the determination of the main road and the auxiliary road may be performed in combination with dynamic driving variation data of the vehicle. Fig. 6 is another possible flow chart of step 101 in the embodiment shown in fig. 1. As shown in fig. 6, step 101 in this embodiment includes:
step 10121, determining a first absolute angle difference according to the vehicle driving direction and the preset main road azimuth angle.
Specifically, before determining the main road and the auxiliary road, the vehicle needs to obtain the current position of the vehicle, and determine that the vehicle is located at the bifurcation of the main road and the auxiliary road according to the current position. When the vehicle is located at the main and auxiliary road bifurcation, determining a first absolute angle difference according to the vehicle driving direction and a preset main road azimuth angle, wherein the larger the first absolute angle difference is, the larger the deviation between the vehicle driving direction and the main road azimuth angle is. It is to be understood that the preset main road azimuth angle may be obtained by map data of vehicle navigation, and the azimuth angle of each road is preset in each map.
Step 10122, determining a relative angle difference according to a first driving angle of the vehicle at a first time and a second driving angle of the vehicle at a second time.
Specifically, the relative angle difference is determined according to the driving angles of the vehicle at two adjacent moments when the vehicle is at the position of the main and auxiliary road intersection, wherein the larger the relative angle difference is, the larger the rotating direction of the vehicle at the beginning of the main and auxiliary road intersection is.
Step 10123, determining a first degree of attachment according to the first absolute angle difference, the preset first absolute angle weight value, the relative angle difference and the preset first relative angle weight value.
After the first absolute angle difference and the relative angle difference are determined, a first attaching degree is determined according to the first absolute angle difference, a preset first absolute angle weighted value, the relative angle difference and a preset first relative angle weighted value. Specifically, the first adhesion degree may be a product of the first absolute angle difference and a preset first absolute angle weight value plus a product of the relative angle difference and a preset first relative angle weight value.
Fig. 7 is another possible flow diagram of step 102 in the embodiment of fig. 1. As shown in fig. 7, the step 102 provided by this embodiment includes:
and step 10221, determining a second absolute angle difference according to the vehicle driving direction and a preset auxiliary road azimuth angle.
Specifically, before determining the main road and the auxiliary road, the vehicle needs to obtain the current position of the vehicle, and determine that the vehicle is located at the bifurcation of the main road and the auxiliary road according to the current position. And when the vehicle is positioned at the main and auxiliary road bifurcation, determining a second absolute angle difference according to the vehicle driving direction and a preset auxiliary road azimuth angle, wherein the larger the second absolute angle difference is, the larger the deviation between the vehicle driving direction and the auxiliary road azimuth angle is. It should be understood that the preset side road azimuth angle may be obtained from map data of the vehicle navigation system, and the azimuth angle of each road is preset in each map.
Step 10222, determining a relative angle difference based on a first travel angle of the vehicle at a first time and a second travel angle of the vehicle at a second time.
Specifically, the relative angle difference is determined according to the driving angles of the vehicle at two adjacent moments when the vehicle is at the position of the main and auxiliary road intersection, wherein the larger the relative angle difference is, the larger the rotating direction of the vehicle at the beginning of the main and auxiliary road intersection is.
Step 10223, determining a second degree of attachment according to the second absolute angle difference, a preset second absolute angle weight value, the relative angle difference and a preset second relative angle weight value.
After the second absolute angle difference and the relative angle difference are determined, a second fitting degree is determined according to the second absolute angle difference, the preset second absolute angle weighted value, the relative angle difference and the preset second relative angle weighted value. Specifically, the second conformity degree may be a result of adding a product of the second absolute angle difference and a preset second absolute angle weight value to a product of the relative angle difference and a preset second relative angle weight value.
In step 101 shown in fig. 6 and step 102 shown in fig. 7, when the vehicle originally runs on the main road, the preset first relative angle weight value is greater than the preset second relative angle weight value, and when the vehicle originally runs on the auxiliary road, the preset first relative angle weight value is smaller than the preset second relative angle weight value, and the preset first relative angle weight value and the preset second relative angle weight value may be obtained by being preset in the navigation system, or by performing deep learning on a large amount of data of main and auxiliary road intersections, which is not specifically limited in this embodiment.
Fig. 8 is a schematic diagram of another possible flow of step 101 in the embodiment shown in fig. 1. As shown in fig. 8, step 101 in this embodiment includes:
step 10131, determining a first absolute angle difference according to the vehicle driving direction and the preset main road azimuth angle.
Specifically, before determining the main road and the auxiliary road, the vehicle needs to obtain the current position of the vehicle, and determine that the vehicle is located at the bifurcation of the main road and the auxiliary road according to the current position. When the vehicle is located at the main and auxiliary road bifurcation, determining a first absolute angle difference according to the vehicle driving direction and a preset main road azimuth angle, wherein the larger the first absolute angle difference is, the larger the deviation between the vehicle driving direction and the main road azimuth angle is. It is to be understood that the preset main road azimuth angle may be obtained by map data of vehicle navigation, and the azimuth angle of each road is preset in each map.
Step 10132, determining a relative angle difference according to a first driving angle of the vehicle at a first time and a second driving angle of the vehicle at a second time.
Specifically, the relative angle difference is determined according to the driving angles of the vehicle at two adjacent moments when the vehicle is at the position of the main and auxiliary road intersection, wherein the larger the relative angle difference is, the larger the rotating direction of the vehicle at the beginning of the main and auxiliary road intersection is.
Step 10133, determining a driving angle difference based on a first steering wheel angle of the vehicle at a first time and a second steering wheel angle of the vehicle at a second time.
Specifically, the driving angle difference is determined according to the steering wheel rotating angles of two adjacent moments when the vehicle is at the position of the main and auxiliary road intersection, wherein the larger the driving angle difference is, the larger the rotating direction of the vehicle at the beginning of the main and auxiliary road intersection is.
Step 10134, determining a first degree of attachment according to the first absolute angle difference, the preset first absolute angle weight value, the relative angle difference, the preset first relative angle weight value, the driving angle difference and the preset first driving angle weight value.
After the first absolute angle difference, the relative angle difference and the driving angle difference are determined, a first fitting degree is determined according to the first absolute angle difference, a preset first absolute angle weighted value, the relative angle difference, a preset first relative angle weighted value, the driving angle difference and a preset first driving angle weighted value. Specifically, the first adhesion degree may be a result of a product of the first absolute angle difference and a preset first absolute angle weight value, a product of the relative angle difference and a preset first relative angle weight value, and a product of the driving angle difference and a preset first driving angle weight value.
Fig. 9 is a schematic diagram of another possible flow of step 102 in the embodiment shown in fig. 1. As shown in fig. 9, the step 102 provided by this embodiment includes:
and step 10231, determining a second absolute angle difference according to the vehicle running direction and a preset auxiliary road azimuth angle.
Specifically, before determining the main road and the auxiliary road, the vehicle needs to obtain the current position of the vehicle, and determine that the vehicle is located at the bifurcation of the main road and the auxiliary road according to the current position. And when the vehicle is positioned at the main and auxiliary road bifurcation, determining a second absolute angle difference according to the vehicle driving direction and a preset auxiliary road azimuth angle, wherein the larger the second absolute angle difference is, the larger the deviation between the vehicle driving direction and the auxiliary road azimuth angle is. It should be understood that the preset side road azimuth angle may be obtained from map data of the vehicle navigation system, and the azimuth angle of each road is preset in each map.
Step 10232, a relative angular difference is determined based on a first travel angle of the vehicle at a first time and a second travel angle of the vehicle at a second time.
Specifically, the relative angle difference is determined according to the driving angles of the vehicle at two adjacent moments when the vehicle is at the position of the main and auxiliary road intersection, wherein the larger the relative angle difference is, the larger the rotating direction of the vehicle at the beginning of the main and auxiliary road intersection is.
Step 10233, a driving angle difference is determined based on a first steering wheel angle of the vehicle at a first time and a second steering wheel angle of the vehicle at a second time.
Specifically, the driving angle difference is determined according to the steering wheel rotating angles of two adjacent moments when the vehicle is at the position of the main and auxiliary road intersection, wherein the larger the driving angle difference is, the larger the rotating direction of the vehicle at the beginning of the main and auxiliary road intersection is.
And 10234, determining a second fitting degree according to the second absolute angle difference, the preset second absolute angle weight value, the relative angle difference, the preset second relative angle weight value, the driving angle difference and the preset second driving angle weight value.
After the second absolute angle difference, the relative angle difference and the driving angle difference are determined, a second fitting degree is determined according to the second absolute angle difference, the preset second absolute angle weighted value, the relative angle difference, the preset second relative angle weighted value, the driving angle difference and the preset second driving angle weighted value. Specifically, the second conformity degree may be a result of a product of the second absolute angle difference and a preset second absolute angle weight value, a product of the relative angle difference and a preset second relative angle weight value, and a product of the driving angle difference and a preset second driving angle weight value.
In step 101 shown in fig. 8 and step 102 shown in fig. 9, when the vehicle originally runs on the main road, the preset first relative angle weight value is greater than the preset second relative angle weight value, the first driving angle weight value is greater than the preset second relative angle weight value, when the vehicle originally runs on the auxiliary road, the preset first relative angle weight value is less than the preset second relative angle weight value, the first driving angle weight value is less than the preset second relative angle weight value, and the preset first relative angle weight value and the preset second relative angle weight value may be preset in the navigation system, or may be obtained after deep learning of a large amount of data of main and auxiliary road intersections, which is not specifically limited in this embodiment.
Fig. 10 is a schematic structural diagram illustrating a primary and secondary road determination apparatus according to an exemplary embodiment of the present invention. As shown in fig. 10, the present embodiment also provides a primary and secondary road determination device, including:
the determining module 201 is configured to determine a first degree of fitting of a vehicle driving direction to a main road, and determine a second degree of fitting of the vehicle driving direction to a side road, where the degree of fitting is used to represent a degree of fitting of the vehicle driving direction to a road azimuth;
the processing module 202 is configured to determine road information where the vehicle is located currently according to the first attaching degree and the second attaching degree, where the road information is that the vehicle enters a main road or that the vehicle enters a secondary road.
In one possible design, the primary and secondary road determining apparatus further includes:
the obtaining module 203 is configured to obtain a current position of the vehicle, and determine that the vehicle is located at a bifurcation of a main road and a secondary road according to the current position.
In one possible design, the determining module 201 is further configured to determine that the vehicle originally traveled on the main road or the auxiliary road according to the current position.
In one possible design, the determining module 201 is specifically configured to:
determining a first absolute angle difference according to the vehicle running direction and a preset main road azimuth angle, and determining a second absolute angle difference according to the vehicle running direction and a preset auxiliary road azimuth angle;
and determining the first fitting degree according to the first absolute angle difference, and determining the second fitting degree according to the second absolute angle difference, wherein the relation between the absolute angle difference and the fitting degree is negative correlation.
In one possible design, the determining module 201 is specifically configured to:
determining a first absolute angle difference according to the vehicle running direction and a preset main road azimuth angle, and determining a second absolute angle difference according to the vehicle running direction and a preset auxiliary road azimuth angle;
determining a relative angle difference according to a first driving angle of the vehicle at a first moment and a second driving angle of the vehicle at a second moment;
determining the first attaching degree according to the first absolute angle difference, a preset first absolute angle weighted value, the relative angle difference and a preset first relative angle weighted value;
and determining the second attaching degree according to the second absolute angle difference, a preset second absolute angle weight value, the relative angle difference and a preset second relative angle weight value.
In one possible design, the determining module 201 is specifically configured to:
determining a first absolute angle difference according to the vehicle running direction and a preset main road azimuth angle, and determining a second absolute angle difference according to the vehicle running direction and a preset auxiliary road azimuth angle;
determining a relative angle difference according to a first driving angle of the vehicle at a first moment and a second driving angle of the vehicle at a second moment;
determining a driving angle difference according to a first steering wheel angle of the vehicle at the first moment and a second steering wheel angle of the vehicle at the second moment;
determining the first fitting degree according to the first absolute angle difference, a preset first absolute angle weight value, the relative angle difference, a preset first relative angle weight value, the driving angle difference and a preset first driving angle weight value;
and determining the second fitting degree according to the second absolute angle difference, a preset second absolute angle weighted value, the relative angle difference, a preset second relative angle weighted value, the driving angle difference and a preset second driving angle weighted value.
It should be noted that the main and auxiliary road determining apparatus in the embodiments shown in fig. 10 to 11 may be used to execute the method in the embodiments shown in fig. 1 to 9, and the specific implementation manner and the technical effect are similar, and are not described again here.
In another aspect, the present invention provides a vehicle comprising: fig. 10-11 illustrate the primary and secondary road determining means in the embodiment.
The present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the technical solutions of any of the foregoing method embodiments, and the implementation principles and technical effects are similar, and are not described herein again.
Fig. 12 is a schematic structural diagram of an electronic device shown in accordance with an example embodiment. As shown in fig. 12, the electronic device 30 provided in the present embodiment includes:
a processor 301;
a memory 302 for storing a computer program for the processor;
wherein the processor 301 is configured to implement the automatic driving control method provided by any implementation manner of the foregoing method embodiment by executing the computer program.
The processor 301 is configured to execute the technical solution of any one of the foregoing method embodiments by executing the executable instructions, and the implementation principle and the technical effect are similar, which are not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A method for determining a primary and secondary road, comprising:
determining a first fitting degree of a vehicle driving direction and a main road and a second fitting degree of the vehicle driving direction and a side road, wherein the fitting degree is used for representing the fitting degree of the vehicle driving direction and a road azimuth angle;
determining road information of the vehicle according to the first attaching degree and the second attaching degree, wherein the road information is that the vehicle enters a main road or the vehicle enters a secondary road;
the determining a first degree of engagement of a vehicle driving direction with a main road and determining a second degree of engagement of the vehicle driving direction with a side road includes:
determining a first absolute angle difference according to the vehicle running direction and a preset main road azimuth angle, and determining a second absolute angle difference according to the vehicle running direction and a preset auxiliary road azimuth angle;
and determining the first fitting degree according to the first absolute angle difference, and determining the second fitting degree according to the second absolute angle difference, wherein the relation between the absolute angle difference and the fitting degree is negative correlation.
2. The primary-secondary road determination method according to claim 1, further comprising, before the determining a first degree of conformity of the vehicle driving direction with the primary road and determining a second degree of conformity of the vehicle driving direction with the secondary road:
and acquiring the current position of the vehicle, and determining that the vehicle is positioned at a bifurcation of a main road and a secondary road according to the current position.
3. The primary-secondary road determination method according to claim 2, further comprising, before the determining a first degree of conformity of the vehicle travel direction with the primary road and determining a second degree of conformity of the vehicle travel direction with the secondary road:
and determining that the vehicle originally runs on the main road or the auxiliary road according to the current position.
4. The primary and secondary road determination method according to claim 3, wherein the determining the first degree of fitting from the first absolute angle difference and the determining the second degree of fitting from the second absolute angle difference includes:
determining a relative angle difference according to a first driving angle of the vehicle at a first moment and a second driving angle of the vehicle at a second moment;
determining the first attaching degree according to the first absolute angle difference, a preset first absolute angle weighted value, the relative angle difference and a preset first relative angle weighted value;
and determining the second attaching degree according to the second absolute angle difference, a preset second absolute angle weight value, the relative angle difference and a preset second relative angle weight value.
5. The primary and secondary road determination method according to claim 3, wherein the determining the first degree of fitting from the first absolute angle difference and the determining the second degree of fitting from the second absolute angle difference includes:
determining a relative angle difference according to a first driving angle of the vehicle at a first moment and a second driving angle of the vehicle at a second moment;
determining a driving angle difference according to a first steering wheel angle of the vehicle at the first moment and a second steering wheel angle of the vehicle at the second moment;
determining the first fitting degree according to the first absolute angle difference, a preset first absolute angle weight value, the relative angle difference, a preset first relative angle weight value, the driving angle difference and a preset first driving angle weight value;
and determining the second fitting degree according to the second absolute angle difference, a preset second absolute angle weighted value, the relative angle difference, a preset second relative angle weighted value, the driving angle difference and a preset second driving angle weighted value.
6. A primary and secondary road determination apparatus, comprising:
the determining module is used for determining a first fitting degree of a vehicle driving direction and a main road and determining a second fitting degree of the vehicle driving direction and a side road, wherein the fitting degree is used for representing the fitting degree of the vehicle driving direction and a road azimuth angle;
the processing module is used for determining road information where the vehicle is located currently according to the first attaching degree and the second attaching degree, wherein the road information is that the vehicle enters a main road or the vehicle enters a secondary road;
the determining module is specifically configured to:
determining a first absolute angle difference according to the vehicle running direction and a preset main road azimuth angle, and determining a second absolute angle difference according to the vehicle running direction and a preset auxiliary road azimuth angle;
and determining the first fitting degree according to the first absolute angle difference, and determining the second fitting degree according to the second absolute angle difference, wherein the relation between the absolute angle difference and the fitting degree is negative correlation.
7. A vehicle, characterized by comprising: a primary and secondary path determination apparatus as claimed in claim 6.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the primary and secondary road determination method according to any one of claims 1 to 5.
9. An electronic device, comprising:
a processor; and the number of the first and second groups,
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the primary and secondary road determination method of any of claims 1-5 via execution of the executable instructions.
CN201811574237.5A 2018-12-21 2018-12-21 Main and auxiliary road determining method and device, storage medium and electronic equipment Active CN109631925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811574237.5A CN109631925B (en) 2018-12-21 2018-12-21 Main and auxiliary road determining method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811574237.5A CN109631925B (en) 2018-12-21 2018-12-21 Main and auxiliary road determining method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109631925A CN109631925A (en) 2019-04-16
CN109631925B true CN109631925B (en) 2020-11-10

Family

ID=66076380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811574237.5A Active CN109631925B (en) 2018-12-21 2018-12-21 Main and auxiliary road determining method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109631925B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110617827B (en) * 2019-08-23 2021-12-24 百度在线网络技术(北京)有限公司 Main and auxiliary road drawing method and device, server and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424538A (en) * 2007-10-30 2009-05-06 爱信艾达株式会社 Vehicle navigation apparatus and vehicle navigation program
CN102661747A (en) * 2012-05-30 2012-09-12 常州市新科汽车电子有限公司 Main road and side road matching method of navigator
CN102735256A (en) * 2012-06-26 2012-10-17 上海安悦四维信息技术有限公司 Vehicle navigation apparatus for recognizing main and auxiliary roads, and navigation method thereof
CN104422449A (en) * 2013-08-27 2015-03-18 上海博泰悦臻电子设备制造有限公司 Vehicle navigation method and vehicle navigation device
CN105277203A (en) * 2014-06-30 2016-01-27 高德信息技术有限公司 Navigation action generation method, navigation method and device
CN108106619A (en) * 2016-11-25 2018-06-01 厦门雅迅网络股份有限公司 Main and side road recognition methods and its system
CN108225338A (en) * 2016-12-14 2018-06-29 沈阳美行科技有限公司 Navigation method and device for accurate matching of high-speed area

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9470537B2 (en) * 2014-10-22 2016-10-18 Volkswagen Ag Accurate position determination near exit lanes

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424538A (en) * 2007-10-30 2009-05-06 爱信艾达株式会社 Vehicle navigation apparatus and vehicle navigation program
CN102661747A (en) * 2012-05-30 2012-09-12 常州市新科汽车电子有限公司 Main road and side road matching method of navigator
CN102735256A (en) * 2012-06-26 2012-10-17 上海安悦四维信息技术有限公司 Vehicle navigation apparatus for recognizing main and auxiliary roads, and navigation method thereof
CN104422449A (en) * 2013-08-27 2015-03-18 上海博泰悦臻电子设备制造有限公司 Vehicle navigation method and vehicle navigation device
CN105277203A (en) * 2014-06-30 2016-01-27 高德信息技术有限公司 Navigation action generation method, navigation method and device
CN108106619A (en) * 2016-11-25 2018-06-01 厦门雅迅网络股份有限公司 Main and side road recognition methods and its system
CN108225338A (en) * 2016-12-14 2018-06-29 沈阳美行科技有限公司 Navigation method and device for accurate matching of high-speed area

Also Published As

Publication number Publication date
CN109631925A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
US11307040B2 (en) Map information provision system
CN109785667B (en) Lane departure recognition method, apparatus, device, and storage medium
CN111380539B (en) Vehicle positioning and navigation method and device and related system
CN108922173B (en) Vehicle deviation detection method and device
EP2959268B1 (en) Path curve confidence factors
RU2692097C1 (en) Device and method for setting a position for stopping a vehicle
US20170343374A1 (en) Vehicle navigation method and apparatus
EP2012088B1 (en) Road information generating apparatus, road information generating method and road information generating program
CN108919802B (en) Unmanned vehicle driving method and device
CN109115231B (en) Vehicle positioning method and device and automatic driving vehicle
US20180066960A1 (en) Apparatus and method for driving assistance
CN102692227B (en) Path matching method and apparatus
WO2015122121A1 (en) Host vehicle travel position specification device and host vehicle travel position specification program product
CN102334147A (en) Vehicle-mounted information processing apparatus and information processing method
CN106469505B (en) Floating car track deviation rectifying method and device
CN112964260A (en) Automatic driving positioning method, device, equipment and storage medium
CN110329253B (en) Lane departure early warning system and method and vehicle
WO2022052283A1 (en) Vehicle positioning method and device
CN110658542B (en) Method, device, equipment and storage medium for positioning and identifying automatic driving automobile
CN111051817A (en) Method for determining the position of a motor vehicle in the environment, control device for a motor vehicle and computing device for operating on a data network
CN112797998A (en) Vehicle lane level positioning method, corresponding program carrier, product, device and vehicle
CN104422449A (en) Vehicle navigation method and vehicle navigation device
US11805390B2 (en) Method, apparatus, and computer program product for determining sensor orientation
CN110855789A (en) Position relation determining method and device, storage medium and equipment
CN109631925B (en) Main and auxiliary road determining method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant