Ramp identification method, electronic device, storage medium and program product

By constructing the topological relationship of the road network and determining whether the path passes through the highway section, the problem of poor ramp identification accuracy is solved, the accuracy and computing performance of the ramp identification are improved, and the operating efficiency and safety of the highway are improved.

CN118609374BActive Publication Date: 2024-10-29XINJIANG YUNJIAHUI INTELLIGENT INFORMATION TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411081195.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-10-29
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

The accuracy of ramp recognition in the existing technology is poor, which affects the operating efficiency of highways and the safety of drivers.

Method used

By obtaining the set of non-high-speed road sections and their surrounding road sections, the road network topology relationship is constructed based on the spatial adjacency relationship of the road sections, and the planned path with the non-high-speed road section as the starting point is determined, and whether it is a ramp is determined based on whether the path passes through the high-speed road section.

Benefits of technology

It improves the accuracy of ramp recognition, improves computing performance, reduces recognition errors, and improves the operating efficiency and driving safety of highways.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609374B_ABST
    Figure CN118609374B_ABST
Patent Text Reader

Abstract

The present application provides a ramp identification method, electronic device, storage medium and program product, and relates to the field of computer technology. The method includes: obtaining a non-high-speed road section, and determining a set of surrounding road sections corresponding to the non-high-speed road section; when there is a high-speed road section in the set of surrounding road sections, constructing a road network topology relationship corresponding to the non-high-speed road section and the set of surrounding road sections based on the spatial adjacency relationship of the road sections; determining a planned path with the non-high-speed road section as the path starting point according to the road network topology relationship; determining whether the non-high-speed road section is a ramp according to whether the planned path passes through a high-speed road section. The present application achieves the effect of improving the accuracy of ramp identification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a ramp identification method, electronic equipment, storage medium and program product. Background Art

[0002] In the contemporary transportation system, the efficient operation of highways is crucial to economic prosperity and social stability. As an important part of the urban transportation network, ramps play a vital role and are an indispensable conversion node between highways and urban road systems. Accurate identification and efficient management of ramps directly affect the operating efficiency of highways and the safety of drivers. With the continuous increase in traffic volume and the rapid development of intelligent transportation technology, ramp recognition technology plays an increasingly significant role in the renewal and optimization of highways.

[0003] In the related art, ramps are usually identified manually from a road dataset without topology. However, this method has the following problems: the accuracy of ramp identification is poor. Summary of the invention

[0004] The embodiments of the present application provide a ramp recognition method, an electronic device, a storage medium, and a program product to achieve the effect of improving the accuracy of ramp recognition.

[0005] In a first aspect, an embodiment of the present application provides a ramp identification method, comprising:

[0006] Obtain a non-highway section and determine a set of surrounding sections corresponding to the non-highway section;

[0007] When there is a high-speed road section in the surrounding road section set, the road network topology relationship corresponding to the non-high-speed road section and the surrounding road section set is constructed based on the spatial adjacency relationship of the road sections;

[0008] According to the road network topology, determine the planned path with the non-highway section as the path starting point;

[0009] Determine whether the non-highway section is a ramp based on whether the planned route passes through the high-speed section.

[0010] In a possible implementation, determining whether the non-highway section is a ramp according to whether the planned path passes through the high-speed section includes:

[0011] In the planned path, if a section whose path distance to a non-highway section is less than a distance threshold passes through a highway section, the non-highway section is determined as a ramp.

[0012] In a possible implementation, determining a set of surrounding road segments corresponding to the non-highway road segment includes:

[0013] Generate a buffer zone that includes non-highway sections;

[0014] Based on the boundary recognition detection algorithm, the surrounding road segment set corresponding to the non-highway road segment is determined from the road segment set in the buffer zone and road segment data set.

[0015] In a possible implementation, generating a buffer zone including a non-highway section includes:

[0016] Generates a buffer zone containing geometry based on the geometry of the non-highway road segment.

[0017] In a possible implementation, based on the spatial adjacency relationship of the road segments, a road network topology relationship corresponding to the non-highway road segment and the surrounding road segment set is constructed, including:

[0018] Traverse any section in the non-highway section and the surrounding section set and make the following judgments:

[0019] If the starting point of the expressway section is adjacent to the end point of the non-expressway section, the road space adjacency relationship between the expressway section and the non-expressway section is determined to be adjacent;

[0020] If the end point of the expressway section is adjacent to the starting point of the non-expressway section, the road space adjacency relationship between the expressway section and the non-expressway section is determined to be adjacent.

[0021] In a possible implementation, determining a planned path with a non-highway section as a path starting point according to a road network topology relationship includes:

[0022] Get the path starting point, which is the element in the non-highway section;

[0023] Based on the path planning algorithm and the road network topology, a planned path with the non-highway section as the path starting point is determined.

[0024] In a possible implementation manner, whether there is a high-speed road section in the surrounding road section set is determined by:

[0025] When the attributes of the road segments in the surrounding road segment set include a high-speed attribute, it is determined that there is a high-speed road segment in the surrounding road segment set.

[0026] In a second aspect, an embodiment of the present application provides a ramp identification device, including:

[0027] An acquisition and determination module is used to acquire a non-highway section and determine a set of surrounding sections corresponding to the non-highway section;

[0028] A construction module, used for constructing a road network topology relationship corresponding to a non-high-speed road segment and a set of surrounding road segments based on a spatial adjacency relationship of the road segments when there is a high-speed road segment in the set of surrounding road segments;

[0029] A first determination module is used to determine a planned path with a non-highway section as the path starting point according to a road network topology relationship;

[0030] The second determination module is used to determine whether the non-highway section is a ramp according to whether the planned path passes through the high-speed section.

[0031] In a possible implementation manner, the second determining module is specifically configured to:

[0032] In the planned path, if a section whose path distance to a non-highway section is less than a distance threshold passes through a highway section, the non-highway section is determined as a ramp.

[0033] In a possible implementation manner, the acquisition and determination module is specifically used for:

[0034] Generate a buffer zone that includes non-highway sections;

[0035] Based on the boundary recognition detection algorithm, the surrounding road segment set corresponding to the non-highway road segment is determined from the road segment set in the buffer zone and road segment data set.

[0036] In a possible implementation manner, the ramp identification device further includes a generation module, and the generation module is specifically configured to:

[0037] Generates a buffer zone containing geometry based on the geometry of the non-highway road segment.

[0038] In a possible implementation, the building block is specifically used to:

[0039] Traverse any section in the non-highway section and the surrounding section set and make the following judgments:

[0040] If the starting point of the expressway section is adjacent to the end point of the non-expressway section, the road space adjacency relationship between the expressway section and the non-expressway section is determined to be adjacent;

[0041] If the end point of the expressway section is adjacent to the starting point of the non-expressway section, the road space adjacency relationship between the expressway section and the non-expressway section is determined to be adjacent.

[0042] In a possible implementation manner, the first determining module is specifically configured to:

[0043] Get the path starting point, which is the element in the non-highway section;

[0044] Based on the path planning algorithm and the road network topology, a planned path with the non-highway section as the path starting point is determined.

[0045] In a possible implementation manner, the second determining module is specifically configured to:

[0046] When the attributes of the road segments in the surrounding road segment set include a high-speed attribute, it is determined that there is a high-speed road segment in the surrounding road segment set.

[0047] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;

[0048] Memory stores computer-executable instructions;

[0049] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.

[0050] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.

[0051] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.

[0052] The ramp identification method, electronic device, storage medium and program product provided by the present application obtain a non-high-speed road section and determine the set of surrounding road sections corresponding to the non-high-speed road section; when there is a high-speed road section in the set of surrounding road sections, the road network topological relationship corresponding to the non-high-speed road section and the set of surrounding road sections is constructed based on the spatial adjacency relationship of the road sections; according to the road network topological relationship, a planned path with the non-high-speed road section as the starting point of the path is determined; and according to whether the planned path passes through the high-speed road section, it is determined whether the non-high-speed road section is a ramp. The present application helps to more accurately determine the planned path with the non-high-speed road section as the starting point of the path by constructing the road network topological relationship corresponding to the non-high-speed road section and the surrounding road sections based on the spatial adjacency relationship of the road sections when there is a high-speed road section in the combination of surrounding road sections; and determines whether the non-high-speed road section is a ramp based on whether the planned path passes through the high-speed road section, thereby achieving the effect of improving the accuracy of ramp identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0054] Figure 1 Schematic diagram of the process of ramp identification method provided in this application Figure 1 ;

[0055] Figure 2 A schematic diagram of a structure for generating a buffer zone containing geometric shapes provided in an embodiment of the present application;

[0056] Figure 3 A schematic diagram of the road network topology relationship corresponding to the non-highway road section and the surrounding road section set provided in the embodiment of the present application;

[0057] Figure 4 A schematic diagram of the structure of the ramp identification device provided in this application;

[0058] Figure 5 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application.

[0059] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0060] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0061] It should be noted that the user information involved in this application is information and data authorized by the user or fully authorized by all parties, and the collection, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0062] In response to the above problems, this application proposes a ramp identification method, which constructs a local topological relationship around the non-highway section, and can effectively identify the sections that are not directly adjacent to the highway; by utilizing the spatial characteristics of the proximity between the ramp and the highway section, the ramps far away from the highway can be filtered at the beginning of ramp identification to improve the computing performance.

[0063] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0064] Figure 1 Schematic diagram of the process of ramp identification method provided in this application Figure 1 ,like Figure 1 As shown, the method includes:

[0065] S101. Obtain a non-highway section, and determine a set of surrounding sections corresponding to the non-highway section.

[0066] Among them, the data source of non-highway sections can be set according to specific needs.

[0067] In one example, an existing map database system is accessed, and a query is performed using a suitable query language or tool. During the query process, filter conditions are specified to filter out non-highway sections from the existing map database system, wherein the filter conditions include but are not limited to the following: speed limit, section type, and section grade. After the non-highway sections are determined, the non-highway sections and corresponding information are extracted. The specific implementation method for extracting non-highway sections and corresponding information can be set according to actual conditions, such as using professional Geographic Information System software (GIS) to extract non-highway sections and corresponding information, or using extraction algorithms to extract non-highway sections and corresponding information, and so on.

[0068] In another example, real-time traffic data is used to dynamically identify non-highway sections. The sources of real-time traffic data are very wide, including but not limited to vehicle-mounted global positioning system (GPS) trajectory data, traffic camera monitoring data, data collected by road sensors, etc., or any combination thereof.

[0069] After obtaining the non-highway section, it is necessary to determine the surrounding section set corresponding to the non-highway section, wherein the surrounding section set corresponding to the non-highway section includes the section type and the geometric shape of the section, and the section type includes high-speed sections and non-highway sections.

[0070] It should be noted that no topological relationship is recorded between the obtained non-highway section and the surrounding section set corresponding to the non-highway section.

[0071] S102: When there is a high-speed road section in the set of surrounding road sections, a road network topology relationship corresponding to the non-high-speed road section and the set of surrounding road sections is constructed based on the spatial adjacency relationship of the road sections.

[0072] After determining the surrounding road segment set, it is necessary to determine whether there is a high-speed road segment in the surrounding road segment set. If it is determined that there is no high-speed road segment in the surrounding road segment set, the ramp identification process ends; if it is determined that there is a high-speed road segment in the surrounding road segment set, the road network topology relationship corresponding to the non-high-speed road segment and the surrounding road segment set is constructed based on the spatial adjacency relationship of the road segment.

[0073] Furthermore, the spatial adjacency relationship of road sections refers to the spatial connection and association relationship between different road sections in the geographic information system. This relationship describes the spatial location and connection between a road section and its adjacent road sections, which is crucial for traffic planning and route planning. By understanding and analyzing the spatial adjacency relationship of road sections, the topological relationship of the road network can be revealed, thereby optimizing route planning.

[0074] Furthermore, based on the spatial adjacency relationship of road segments, constructing the road network topology corresponding to the non-highway road segments and the surrounding road segment set means establishing a structured representation of the road network by analyzing the spatial connection relationship between any road segments in the non-highway road segments and the surrounding road segment set. This process abstracts the road segments as edges in the network and the intersections or endpoints as nodes, thereby forming a road network topology that is convenient for path planning. Constructing the road network topology relationship involves not only the direct connection between road segments, but also the directionality of the road segments, the processing of intersections, and the connectivity verification of the network.

[0075] S103: Determine a planned path with a non-highway section as the path starting point according to the road network topology.

[0076] In this step, it can be understood that the planned path determined with the non-high-speed road section as the path starting point is based on the road network topology relationship constructed in S102. This means that by analyzing the constructed road network topology relationship, the planned path with the non-high-speed road section as the path starting point can be determined. Among them, the determined planned path includes at least one.

[0077] S104. Determine whether the non-highway section is a ramp based on whether the planned path passes through the high-speed section.

[0078] After the planned path is determined in S103, a determination is made as to whether the non-highway section is a ramp. The basis for determining whether the non-highway section is a ramp is whether the planned path passes through the high-speed section. This means that whether the non-highway section is determined as a ramp is closely related to whether the planned path passes through the high-speed section.

[0079] The embodiment of the present application constructs a road network topology relationship corresponding to a non-high-speed section and surrounding sections based on the spatial adjacency relationship of the sections when there is a high-speed section in the combination of surrounding sections, which helps to more accurately determine a planned path with the non-high-speed section as the path starting point; and determines whether the non-high-speed section is a ramp based on whether the planned path passes through the high-speed section, thereby achieving the effect of improving the accuracy of ramp recognition.

[0080] Based on the above embodiment, S104 describes determining whether a non-high-speed section is a ramp based on whether the planned path passes through a high-speed section, including: in the planned path, if a section whose path distance to the non-high-speed section is less than a distance threshold passes through a high-speed section, the non-high-speed section is determined to be a ramp.

[0081] In this embodiment, it can be understood that the planned path corresponding to the non-high-speed road section identified as a ramp should have the following characteristics: the path distance between the planned path and the non-high-speed road section is less than the distance threshold; the planned path passes through the high-speed road section. This means that the planned path must have both of the above characteristics. If any of the characteristics is missing, the corresponding non-high-speed road section will not be identified as a ramp, but will be identified as a non-ramp. Among them, the distance threshold can be set according to the actual situation.

[0082] In one example, assuming that the distance threshold is 1 km, the planned path corresponding to the non-highway section identified as a ramp should have the following characteristics: the path distance from the non-highway section is less than 1 km; passing through the high-speed section. If the path distance between the first planned path and the non-highway section is 1.2 km, the non-highway section corresponding to the first planned path will be determined as a non-ramp; if the path distance between the second planned path and the non-highway section is 0.9 km, but the second planned path does not pass through the high-speed section, the non-highway section corresponding to the second planned path will be determined as a non-ramp; if the path distance between the third planned path and the non-highway section is 0.8 km, and passes through the high-speed section, the non-highway section corresponding to the third planned path will be determined as a ramp.

[0083] The embodiment of the present application determines that the non-high-speed road section corresponding to the planned path passing through the high-speed road section has a path distance from the non-high-speed road section less than a distance threshold as a ramp. At the beginning of ramp identification, the ramps far away from the high-speed road section can be filtered out, thereby improving the computing performance and thus improving the efficiency of ramp identification.

[0084] Based on the above embodiment, the method of determining the set of surrounding road segments corresponding to the non-highway road segment described in S101 includes: generating a buffer zone including the non-highway road segment; and determining the set of surrounding road segments corresponding to the non-highway road segment from the set of road segments in the buffer zone and the road segment data set based on a boundary recognition detection algorithm.

[0085] In this embodiment, it can be understood that to determine the set of surrounding sections corresponding to the non-high-speed section, it is necessary to first generate a buffer zone containing the non-high-speed section. Then, based on the boundary recognition detection algorithm, the set of surrounding sections corresponding to the non-high-speed section is determined from the generated buffer zone containing the non-high-speed section and the set of sections in the section data set, wherein the set of sections in the section data set includes high-speed sections and non-high-speed sections.

[0086] Further, generating a buffer zone including the non-highway section includes: generating a buffer zone including the geometric shape according to the geometric shape of the non-highway section. This means that after obtaining the geometric shape of the non-highway section, it is necessary to generate a buffer zone including the geometric shape according to the geometric shape of the non-highway section.

[0087] For example, based on the geometric shape of the non-highway section, a buffer zone containing a geometric shape is generated with a first radius. The first radius is determined by the error between the terminal node of the non-highway section and the boundary of the non-highway section. The reason is that the data set used in the business scenario of non-highway section identification may contain road data that has not undergone strict road junctions during the production process, resulting in a certain error between the terminal node of the non-highway section and the boundary of the non-highway section. Therefore, in order to reduce the impact of the error on the non-highway section, a buffer zone containing a first geometric shape is generated with the length of the error as the first radius. Assuming the error is 100 meters, the first radius is also 100 meters. Further, the first radius can be set according to the business scenario.

[0088] Optionally, Figure 2 A schematic diagram of a structure for generating a buffer zone containing geometric shapes provided in an embodiment of the present application, Figure 2 The thick lines in the figure represent expressways, the dashed lines represent buffer zones, and the thin lines represent non-expressways. Figure 2 As shown, generating a buffer zone containing a geometric shape requires determining the two endpoints of the geometric shape of the non-highway section, generating two semicircles at the endpoints with a first radius, and generating a rectangle containing the geometric shape of the non-highway section with a width of twice the first radius and a length of the horizontal distance between the two endpoints. The two semicircles and a rectangle are joined together to form a buffer zone containing a geometric shape.

[0089] Furthermore, the specific implementation method of determining the surrounding road segment set corresponding to the non-highway road segment from the road segment set in the buffer zone and the road segment data set can be set according to actual conditions, and the embodiment of the present application does not limit this.

[0090] In one implementation, after the non-highway section is obtained, a boundary recognition detection algorithm is used to determine the surrounding section set corresponding to the non-highway section from the section set in the buffer zone and the section data set. Specifically: when there are overlapping areas between the sections in the section set in the buffer zone and the section data set, based on the boundary recognition detection algorithm, the sections of the surrounding section set are determined from the sections of the section set with overlapping areas.

[0091] In another implementation, after the non-highway road segment is obtained, the first minimum circumscribed geometric figure of the geometric shape of the buffer zone and the second minimum circumscribed geometric figure of the geometric shape of any road segment in the road segment set in the road segment data set are first determined. Then, based on the boundary recognition detection algorithm, the road segment corresponding to the second minimum circumscribed geometric figure having an overlapping area with the first minimum circumscribed geometric figure is determined as the road segment of the peripheral path set.

[0092] The following uses the determination of the first bounding rectangle of the buffer as an example to explain how to determine the minimum bounding rectangle:

[0093] 1. Find all vertices in the buffer;

[0094] 2. Determine the minimum and maximum horizontal coordinate values ​​among the vertices;

[0095] 3. Determine the minimum and maximum ordinate values ​​among the vertices;

[0096] 4. Construct a rectangle based on the above four coordinate values. This rectangle is the minimum enclosing rectangle.

[0097] In another example, we take determining the first circumscribed convex polygon of the buffer as an example to explain how to determine the minimum circumscribed convex polygon:

[0098] 1. Find all vertices in the buffer;

[0099] 2. Use the convex hull algorithm to calculate the minimum convex polygon that can surround all vertices of the buffer zone. This minimum convex polygon is the minimum circumscribed convex polygon.

[0100] In another implementation, after the non-high-speed road section is obtained, the second minimum circumscribed geometric figure of the geometric shape of the buffer zone of any road section in the road section set is first determined. Then, based on the boundary recognition detection algorithm, the road section of the peripheral path set is determined from the road section corresponding to the second minimum circumscribed geometric figure with an overlapping area with the buffer zone. Among them, the determination of the buffer zone of any road section in the road section set in the road section data set is based on the same principle as the determination of the buffer zone of the non-high-speed road section, and the embodiments of the present application will not be repeated here.

[0101] In another implementation, after the non-highway road segment is obtained, the first minimum circumscribed geometric figure of the geometric shape of the buffer zone is first determined. Then, based on the boundary recognition detection algorithm, the road segments of the surrounding road segment set are determined from the road segments of the road data set that have overlapping areas with the first minimum circumscribed geometric figure.

[0102] Furthermore, the boundary recognition detection algorithm can be set according to actual conditions.

[0103] In one example, the boundary recognition detection algorithm includes a Separating Axis Theorem, which is used to accurately determine whether two polygons have overlapping areas.

[0104] Next, taking a convex polygon as the minimum circumscribed geometric figure as an example, it is explained how to use the separating axis principle to determine whether two convex polygons have overlapping areas.

[0105] 1. Determine the normal vector of each edge of the two convex polygons, and use the normal vector of each edge as a candidate separating axis;

[0106] 2. Project all vertices of the two polygons onto each candidate separating axis, where the projection result is a scalar interval;

[0107] 3. For each candidate separating axis, check whether there is an overlapping area between the two projection intervals. If the two projection intervals do not overlap on any separating axis, it can be considered that the two convex polygons do not intersect; if the projection intervals on all separating axes have overlapping areas, it can be considered that the two convex polygons intersect.

[0108] In another example, the boundary recognition detection algorithm includes the Weiler-Atherton algorithm. The Weiler-Atherton algorithm effectively determines the intersection of two polygons through the steps of boundary tracing, intersection calculation, and new polygon construction. By recording the intersection points of the polygon boundaries and constructing a new polygon, the intersection relationship between the two polygons can be accurately calculated.

[0109] The embodiment of the present application can improve the accuracy of non-highway section identification by generating a buffer zone containing geometric shapes according to the geometric shapes of the non-highway section.

[0110] On the basis of the above-mentioned embodiment, based on the spatial adjacency relationship of the road sections, a road network topology relationship corresponding to the non-highway sections and the surrounding road section sets is constructed, including: traversing any section in the non-highway sections and the surrounding road section sets, and performing the following judgments: if the starting point of the high-speed section is adjacent to the end point of the non-highway section, the road spatial adjacency relationship between the high-speed section and the non-highway section is determined to be adjacent; if the end point of the high-speed section is adjacent to the starting point of the non-highway section, the road spatial adjacency relationship between the high-speed section and the non-highway section is determined to be adjacent.

[0111] In this embodiment, it can be understood that the road network topology relationship of the geometric correspondence between the non-high-speed road section and the surrounding road section is constructed based on the spatial adjacency relationship of the road section. The spatial adjacency relationship of the road section requires traversing any road section in the non-high-speed road section and the surrounding road section set, and judging the adjacency relationship between the non-high-speed road section and any road section in the surrounding road section set. If the starting point of the high-speed road section in the surrounding road section set is adjacent to the end point of the non-high-speed road section, the road spatial adjacency relationship between the high-speed road section and the non-high-speed road section is determined to be adjacent; if the end point of the high-speed road section in the surrounding road section set is adjacent to the starting point of the non-high-speed road section, the road spatial adjacency relationship between the high-speed road section and the non-high-speed road section is determined to be adjacent.

[0112] Further, the specific principle diagram can be referred to Figure 3 , Figure 3A schematic diagram of the road network topology relationship corresponding to the non-highway road section and the surrounding road section set provided in the embodiment of the present application. Figure 3 It can be concluded that the spatial adjacency relationship between the non-highway section l1 and the highway section is adjacent, the spatial adjacency relationship between the non-highway section l2 and the highway section is non-adjacent, and the spatial adjacency relationship between the non-highway section l3 and the highway section is non-adjacent.

[0113] The embodiment of the present application constructs a road network topology relationship corresponding to a non-highway road section and a set of surrounding road sections based on the spatial adjacency relationship of the road sections, which helps with subsequent path planning.

[0114] On the basis of the above-mentioned embodiment, the method described in S103 determines the planned path with the non-high-speed section as the path starting point according to the road network topology relationship, including: obtaining the path starting point, the path starting point is an element in the non-high-speed section; based on the path planning algorithm, according to the road network topology relationship, determining the planned path with the non-high-speed section as the path starting point.

[0115] In this embodiment, it can be understood that, according to the road network topology, to determine the planned path with the non-high-speed section as the path starting point, it is first necessary to obtain the path starting point of the path planning, and the path starting point is an element in the non-high-speed section. The acquisition of the path starting point can also be set according to the specific actual situation.

[0116] In one example, the path starting point can be automatically obtained through the GPS or location acquisition system on the vehicle.

[0117] In another example, the starting point of the route can be obtained by the user through searching on the vehicle's built-in system.

[0118] After obtaining the starting point of the path, if the vehicle-side processor does not have the computing power, the vehicle-machine system can be used to report the obtained path starting point to a computing device such as a server or a server cluster, and / or the vehicle-machine system can be used to report the obtained path starting point to a non-server terminal device with computing power connected to the vehicle-machine system for subsequent path planning.

[0119] Furthermore, in an unmanned driving scenario, after obtaining the path starting point, the vehicle's on-board system will automatically upload the path starting point to a computing device such as a server or server cluster, and / or a non-server terminal device with computing capabilities connected to the on-board system.

[0120] If the vehicle-side processor has computing power, there is no need to report the acquired path starting point to a computing device such as a server or a server cluster, and / or a non-server terminal device with computing power connected to the vehicle system.

[0121] During the driving process of the vehicle, if the user changes the route planning, the current geographical location of the vehicle is used as the starting point of the route. When the vehicle-side processor does not have computing power, the current geographical location of the vehicle is uploaded to a computing device such as a server or a server cluster, and / or, the current geographical location of the vehicle is uploaded to a non-server terminal device with computing power connected to the vehicle system. When the vehicle-side processor has computing power, it is not necessary to report the obtained path starting point to a computing device such as a server or a server cluster, and / or, a non-server terminal device with computing power connected to the vehicle system.

[0122] In another implementation, during the vehicle driving process, the user selects multiple waypoints when planning the route. Specifically: the starting point of the route is used as the starting point of the entire route, and the first waypoint is used as the end point of the current driving segment. When the vehicle drives to the first waypoint, the first waypoint is used as the starting point of the next segment, and the second waypoint is used as the end point of the next segment. Repeat the above operation until the vehicle drives to the last waypoint. When the vehicle drives to the last waypoint, the last waypoint is used as the starting point of the current segment.

[0123] Then, based on the path planning algorithm and the road network topology, a planned path with the non-high-speed road section as the path starting point is determined. The path planning algorithm can be set according to actual conditions, and the embodiment of the present application does not limit this.

[0124] Optionally, based on Dijkstra algorithm, a planned path with the non-highway section as the path starting point is determined. The Dijkstra algorithm is a prior art and will not be described in detail in the embodiments of the present application.

[0125] In another example, based on the Floyd-Warshall algorithm, a planned path with a non-highway section as the path starting point is determined. The Floyd-Warshall algorithm is a prior art and will not be described in detail in the embodiments of the present application.

[0126] In another example, based on the Bellman-Ford algorithm, path planning is performed from the path starting point to each path candidate end point. The Bellman-Ford algorithm is a prior art and will not be described in detail in the embodiments of the present application.

[0127] The embodiment of the present application determines a planned path with a non-highway section as the path starting point based on the road network topology relationship, thereby improving the efficiency and accuracy of path planning compared to manually determining a planned path with a non-highway section as the path starting point.

[0128] On the basis of the above-mentioned embodiment, whether there is a high-speed section in the above-mentioned surrounding road section set is determined in the following manner: when the attributes of the road section in the surrounding road section set have a high-speed attribute, it is determined that there is a high-speed section in the surrounding road section set. This means that as long as the high-speed attribute is found in the attributes of the road section in the surrounding road section set, it can be determined that there is a high-speed section in the surrounding road section set. The embodiment of the present application determines whether there is a high-speed section in the surrounding road set by searching the attributes of the road section in the surrounding road section set, which can improve the accuracy of judging whether there is a high-speed section in the surrounding road section set, thereby providing an accurate data basis for the ramp recognition method and laying the foundation for realizing a ramp recognition method with a higher accuracy.

[0129] Next, taking high-speed ramp recognition as an example, how to use the ramp recognition method provided in the embodiment of the present application to perform high-speed ramp recognition is explained. The overall process of the method is as follows:

[0130] 1. Obtain the non-highway section set in the road section dataset;

[0131] 2. For any non-highway section in the non-highway section set, determine a set of surrounding sections corresponding to the non-highway section;

[0132] 2.1. Generate a buffer zone including the non-highway section according to any non-highway section in the non-highway section set;

[0133] 2.2. Based on the boundary recognition detection algorithm, the surrounding road segment set of the non-highway road segment is determined from the road segment set in the buffer zone and road segment data set;

[0134] 3. When there is a high-speed road section in the surrounding road section set, the road network topology relationship corresponding to the non-high-speed road section and the surrounding road section set is constructed based on the spatial adjacency relationship of the road sections;

[0135] 3.1 Whether there is a high-speed road section in the surrounding road section set is determined by the following method:

[0136] When the attribute of the road segment in the surrounding road segment set includes a high-speed attribute, determining that there is a high-speed road segment in the surrounding road segment set;

[0137] 3.2. Based on the spatial adjacency relationship of road sections, the road network topology relationship corresponding to the non-highway road sections and the surrounding road sections is constructed, including:

[0138] Traverse any section in the non-highway section and the surrounding section set and make the following judgments:

[0139] If the starting point of the expressway section is adjacent to the end point of the non-expressway section, the road space adjacency relationship between the expressway section and the non-expressway section is determined to be adjacent; if the end point of the expressway section is adjacent to the starting point of the non-expressway section, the road space adjacency relationship between the expressway section and the non-expressway section is determined to be adjacent;

[0140] 4. According to the road network topology, determine the planned path with the non-highway section as the path starting point:

[0141] Get the path starting point, which is the element in the non-highway section;

[0142] Based on the path planning algorithm and the road network topology, a planned path with a non-highway section as the path starting point is determined;

[0143] 5. Determine whether the non-highway section is a ramp based on whether the planned route passes through the high-speed section:

[0144] In the planned path, if a section whose path distance to a non-highway section is less than a distance threshold passes through a highway section, the non-highway section is determined as a ramp;

[0145] Otherwise, the non-highway section is determined as a non-ramp.

[0146] In summary, the embodiments of the present application can effectively identify sections that are not directly adjacent to highways by constructing local topological relationships around non-highway sections. By utilizing the spatial characteristics of the proximity between ramps and highway sections, ramps that are far away from highways can be filtered at the beginning of ramp identification to improve computing performance.

[0147] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0148] Figure 4 The schematic diagram of the ramp identification device provided in this application is as follows: Figure 4 As shown, the ramp identification device 400 provided in this embodiment includes:

[0149] The acquisition and determination module 401 is used to acquire a non-highway section and determine a set of surrounding sections corresponding to the non-highway section;

[0150] A construction module 402 is used to construct a road network topology relationship corresponding to the non-high-speed road segment and the surrounding road segment set based on the road segment spatial adjacency relationship when there is a high-speed road segment in the surrounding road segment set;

[0151] The first determination module 403 is used to determine the planned path with the non-highway section as the path starting point according to the road network topology relationship;

[0152] The second determination module 404 is used to determine whether the non-highway section is a ramp according to whether the planned path passes through the highway section.

[0153] In a possible implementation manner, the second determining module 404 is specifically configured to:

[0154] In the planned path, if a section whose path distance to a non-highway section is less than a distance threshold passes through a highway section, the non-highway section is determined as a ramp.

[0155] In a possible implementation, the acquisition and determination module 401 is specifically configured to:

[0156] Generate a buffer zone that includes non-highway sections;

[0157] Based on the boundary recognition detection algorithm, the surrounding road segment set corresponding to the non-highway road segment is determined from the road segment set in the buffer zone and road segment data set.

[0158] In a possible implementation, the ramp identification device 400 further includes a generation module (not shown), which is specifically configured to:

[0159] Generates a buffer zone containing geometry based on the geometry of the non-highway road segment.

[0160] In a possible implementation, the construction module 402 is specifically used to:

[0161] Traverse any section in the non-highway section and the surrounding section set and make the following judgments:

[0162] If the starting point of the expressway section is adjacent to the end point of the non-expressway section, the road space adjacency relationship between the expressway section and the non-expressway section is determined to be adjacent;

[0163] If the end point of the expressway section is adjacent to the starting point of the non-expressway section, the road space adjacency relationship between the expressway section and the non-expressway section is determined to be adjacent.

[0164] In a possible implementation manner, the first determining module 403 is specifically configured to:

[0165] Get the path starting point, which is the element in the non-highway section;

[0166] Based on the path planning algorithm and the road network topology, a planned path with the non-highway section as the path starting point is determined.

[0167] In a possible implementation manner, the second determining module 404 is specifically configured to:

[0168] When the attributes of the road segments in the surrounding road segment set include a high-speed attribute, it is determined that there is a high-speed road segment in the surrounding road segment set.

[0169] The ramp identification device provided in this embodiment can execute the method provided in the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.

[0170] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the processing module can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0171] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a module is implemented in the form of a processing element to allocate program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0172] Figure 5 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 5 As shown, the electronic device 500 provided in the embodiment of the present application may include: a processor 501, and a memory 502 connected to the processor in communication, wherein:

[0173] Memory stores computer-executable instructions;

[0174] The processor executes the computer-executable instructions stored in the memory to implement the method described in the foregoing method embodiment.

[0175] It should be understood that the processor 501 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can be any conventional processor, etc. The steps of the method disclosed in the application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The memory 502 may include a high-speed random access memory (RAM), and may also include non-volatile storage NVM (non-volatile memory), such as at least one disk storage, and can also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.

[0176] Optionally, the electronic device 500 may further include a communication interface 503. In a specific implementation, if the communication interface 503, the memory 502 and the processor 501 are implemented independently, the communication interface 503, the memory 502 and the processor 501 may be interconnected through a bus and communicate with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.

[0177] Optionally, in a specific implementation, if the communication interface 503, the memory 502 and the processor 501 are integrated on a chip, the communication interface 503, the memory 502 and the processor 501 can communicate through an internal interface.

[0178] An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed, they are used to implement the method described in any of the aforementioned embodiments.

[0179] It is understood that the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0180] An exemplary computer-readable storage medium is coupled to a processor so that the processor can read information from the computer-readable storage medium and write information to the computer-readable storage medium. Of course, the computer-readable storage medium can also be an integral part of the processor. The processor and the computer-readable storage medium can be located in an ASIC. Of course, the processor and the computer-readable storage medium can also exist in an electronic device as discrete components.

[0181] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a computer-readable storage medium, including a number of instructions for enabling an electronic device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application.

[0182] An embodiment of the present application also provides a computer program product, including a computer program, which implements the method described in any of the above embodiments when executed.

[0183] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0184] It should be further noted that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flow chart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0185] In the above embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0186] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0187] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A ramp identification method, characterized in that: include: Acquire a non-highway section, and determine a set of surrounding sections corresponding to the non-highway section; When there is a high-speed road section in the set of surrounding road sections, constructing a road network topology relationship corresponding to the non-high-speed road section and the set of surrounding road sections based on the spatial adjacency relationship of the road sections; Determine a planned path with the non-highway section as the path starting point according to the road network topology relationship; In the planned path, if a section whose path distance to the non-high-speed section is less than a distance threshold passes through a high-speed section, the non-high-speed section is determined as a ramp.

2. The ramp identification method according to claim 1, characterized in that: Determining a set of surrounding road sections corresponding to the non-highway road section includes: generating a buffer zone including the non-highway road section; Based on a boundary recognition detection algorithm, a surrounding road segment set corresponding to the non-highway road segment is determined from the road segment set in the buffer zone and the road segment data set.

3. The ramp identification method according to claim 2, characterized in that: The generating a buffer zone including the non-highway section comprises: According to the geometric shape of the non-highway road section, a buffer zone including the geometric shape is generated.

4. The ramp identification method according to claim 1, characterized in that: The constructing of the road network topology relationship corresponding to the non-highway road segment and the surrounding road segment set based on the road segment spatial adjacency relationship includes: Traverse the non-highway road section and any road section in the surrounding road section set and make the following judgments: If the starting point of the expressway section is adjacent to the end point of the non-expressway section, the road space adjacency relationship between the expressway section and the non-expressway section is determined to be adjacent; If the end point of the expressway section is adjacent to the starting point of the non-expressway section, the road space adjacency relationship between the expressway section and the non-expressway section is determined to be adjacent.

5. The ramp identification method according to claim 1, characterized in that: Determining a planned path with the non-high-speed road section as the path starting point according to the road network topology relationship includes: Obtaining a path starting point, where the path starting point is an element in a non-highway section; Based on the path planning algorithm and according to the road network topology, a planned path with the non-high-speed road section as the path starting point is determined.

6. The ramp identification method according to claim 1, characterized in that: Whether there is a high-speed road segment in the surrounding road segment set is determined in the following way: When the attributes of the road segments in the surrounding road segment set include a high-speed attribute, it is determined that there is a high-speed road segment in the surrounding road segment set.

7. A ramp identification device, characterized in that: include: An acquisition and determination module is used to acquire a non-highway section and determine a set of surrounding sections corresponding to the non-highway section; A construction module, used for constructing a road network topology relationship corresponding to the non-high-speed road segment and the surrounding road segment set based on the road segment spatial adjacency relationship when there is a high-speed road segment in the surrounding road segment set; A first determination module is used to determine a planned path with the non-high-speed road section as the path starting point according to the road network topology relationship; The second determination module is used to determine the non-high-speed section as a ramp if a section whose path distance to the non-high-speed section is less than a distance threshold passes through a high-speed section in the planned path.

8. An electronic device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.

10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • National highway network topology construction method based on multi-source data

    CN113096389A

  • Road section determination method and device, storage medium and equipment

    CN114743088A