Method, device, electronic device and storage medium for generating road network structure in intersection

Through the method of obtaining and constructing the road network structure within the intersection, the problem of high cost and long cycle time of manually constructing the road network structure within the intersection in the existing technology is solved, the automatic generation of the road network structure within the intersection is realized, and the construction efficiency is improved.

CN118565497BActive Publication Date: 2024-10-15AUTONAVI SOFTWARE CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411046184.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-10-15
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

In the existing technology, the construction of road network structures within intersections relies on manual design, resulting in high costs and long time periods, making it difficult to quickly update and maintain standard map data in a dynamically changing traffic environment.

Method used

By obtaining the set type of roads associated with the target intersection and their topological connectivity relationships, generating standard road segments and their topological connectivity relationships, building a graph network structure, and determining the road network structure within the intersection, thereby realizing the automatic construction of the road network structure within the intersection.

Benefits of technology

It improves the efficiency of road network construction and can automatically generate the road network structure within intersections in standardized map data based on set type map data, reducing manual intervention and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565497B_ABST
    Figure CN118565497B_ABST
Patent Text Reader

Abstract

The disclosed embodiment discloses a method, device, electronic device and storage medium for generating a road network structure within an intersection, the method comprising: obtaining a set type of road associated with a target intersection and a topological connectivity relationship between the set type of roads; based on the set type of roads and the topological connectivity relationship between the set type of roads, generating a marked precision road segment corresponding to the set type of road and a topological connectivity relationship between the marked precision road segments; based on the topological connectivity relationship between the marked precision road segments, generating a graph network structure; wherein the selected vertex is located in the marked precision road segment, and the edge of the graph network structure includes a connected line segment between two selected vertices on two topologically connected marked precision road segments; based on the graph network structure, determining the road network structure within the intersection connecting the marked precision road segments. This technical solution can improve the efficiency of road network construction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of map technology, and in particular to a method, device, electronic device and storage medium for generating a road network structure within an intersection. Background Art

[0002] There are different types of intersections in the real world. The construction of the road network structure within the intersection is an important part of the association and update of the standard map data, which helps to improve the accuracy of the standard map data and user experience. In a dynamically changing traffic environment, it is also necessary to continuously update and maintain the information of the intersection road network in the standard map data, especially in supporting precise navigation and autonomous driving technology.

[0003] In the existing technology, the construction of the road network structure within the intersection usually relies on experienced process designers, resulting in high labor costs and a long time period.

[0004] Therefore, it is necessary to propose a technical solution that can automatically construct the road network structure within the intersection to improve the efficiency of road network construction. Summary of the invention

[0005] The embodiments of the present disclosure provide a method, device, electronic device and storage medium for generating a road network structure within an intersection.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for generating a road network structure within an intersection, comprising:

[0007] Acquire a set type of road associated with a target intersection and a topological connectivity relationship between the set type of roads;

[0008] Based on the set type of roads and the topological connectivity relationship between the set type of roads, generating the marked road segments corresponding to the set type of roads and the topological connectivity relationship between the marked road segments;

[0009] Based on the topological connectivity relationship between the marked precise road segments, a graph network structure is generated; wherein the graph vertices of the graph network structure include selected vertices located on the marked precise road segments, and the edges of the graph network structure include connected line segments between two selected vertices on two topologically connected marked precise road segments;

[0010] Based on the graph network structure, determine the road network structure within the intersection connecting the marked road sections.

[0011] In a second aspect, an embodiment of the present invention provides a device for generating a road network structure within an intersection, which includes:

[0012] An acquisition module is configured to acquire a set type of road associated with a target intersection and a topological connectivity relationship between the set type of roads;

[0013] A first generating module is configured to generate, based on the set type of road and the topological connectivity relationship between the set type of roads, the marked and precise road segments corresponding to the set type of roads and the topological connectivity relationship between the marked and precise road segments;

[0014] A second generation module is configured to generate a graph network structure based on the topological connectivity relationship between the marked and precise road segments; wherein the graph vertices of the graph network structure include selected vertices located on the marked and precise road segments, and the edges of the graph network structure include connected line segments between two selected vertices on two topologically connected marked and precise road segments;

[0015] The determination module is configured to determine the road network structure within the intersection connecting the marked road section based on the graph network structure.

[0016] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method described in any one of the above aspects.

[0017] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium for storing computer instructions used by any of the above-mentioned devices, and when the computer instructions are executed by a processor, they are used to implement the method described in any of the above-mentioned aspects.

[0018] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, which includes computer instructions, and when the computer instructions are executed by a processor, they are used to implement the method described in any of the above aspects.

[0019] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0020] In this embodiment, in order to generate the intra-intersection road network structure of the target intersection in the standard map data, the set type of road associated with the target intersection is obtained from the set type of map data, and the corresponding standard road segments and the topological connectivity relationship between the standard road segments are generated based on the set type of road, so as to generate all possible graph network structures with selected vertices as graph vertices based on the generated standard roads and the topological connectivity relationship between the standard roads, and select the intra-intersection road network structure connecting the standard road segments from the generated graph network structure, wherein the selected vertex is located on the standard road segment, and the edge of the graph network structure includes the connecting line segment between two selected vertices on two standard road segments with topological connectivity. In the above manner, the intra-intersection road network structure of each intersection in the standard map data can be automatically generated based on the set type of map data, thereby improving the efficiency of road network construction.

[0021] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Other features, objectives and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings.

[0023] Figure 1 A flow chart showing a method for generating a road network structure within an intersection provided in one embodiment of the present disclosure.

[0024] Figure 2A-2F Schematic diagrams showing various effects of a marked road section corresponding to a target intersection provided by an embodiment of the present disclosure.

[0025] Figure 3A-3B A schematic diagram showing the effects of different graph network structures provided by an embodiment of the present disclosure.

[0026] Figure 4 A structural block diagram of a device for generating a road network structure within an intersection provided in one embodiment of the present disclosure is shown.

[0027] Figure 5 A structural block diagram of an electronic device provided by one embodiment of the present disclosure is shown.

[0028] Figure 6 It is a structural diagram of a computer system suitable for implementing the method for generating a road network structure within an intersection provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.

[0030] In the present disclosure, it should be understood that terms such as "include" or "have" are intended to indicate the presence of features, numbers, steps, behaviors, components, parts, or a combination thereof disclosed in the specification, and do not exclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof exist or are added.

[0031] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0032] The user information (including but not limited to user device information such as location information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0033] The details of the embodiments of the present disclosure are described in detail below through specific examples.

[0034] Figure 1 A flow chart showing a method for generating a road network structure within an intersection provided by an embodiment of the present disclosure is shown. Figure 1 As shown, the method for generating the road network structure in the intersection includes the following steps:

[0035] In step S101, roads of a set type associated with a target intersection and topological connectivity relationships between the roads of the set type are obtained;

[0036] In step S102, based on the set type of roads and the topological connectivity relationship between the set type of roads, the marked road segments corresponding to the set type of roads and the topological connectivity relationship between the marked road segments are generated;

[0037] In step S103, a graph network structure is generated based on the topological connectivity relationship between the marked precise road segments;

[0038] The graph vertices of the graph network structure include selected vertices located on the marked precision road segment, and the edges of the graph network structure include connected line segments between two selected vertices on two marked precision road segments that are topologically connected;

[0039] In step S104, based on the graph network structure, the road network structure within the intersection connecting the marked road sections is determined.

[0040] In this embodiment, the method for generating the road network structure in the intersection can be executed on a server or a computer device with corresponding computing power. The target intersection can be any intersection, for example, a crossroad, a T-junction, a staggered intersection, a triangular intersection, a stepped intersection, etc. In some embodiments, the set type of road can be a road with lane line attributes, such as a high-definition road such as a high-definition map (HD) or a lane-level map; the set type of road can be obtained from the set type of map data, and the set type of map data can be map data with higher accuracy than the standard precision map data, such as high-precision map data, lane-level map data, etc. Among them, high-precision map data has higher data accuracy than standard precision map data, and contains more abundant lane-level information and road markers, etc., and the accuracy is usually at the decimeter level; while the lane-level map data combines the standard precision map data and the high-precision map data, appropriately reduces the data accuracy and simplifies the road elements compared to the high-precision map data, and refers to the data coverage and freshness of the standard precision map data, and has the advantages of both standard precision map data and high-precision map data, and has the characteristics of light weight and practicality.

[0041] Since the set type road is a road with lane line attributes, it is expressed as multiple lane lines and lanes between lane lines in the set type map data, and a precision road segment is expressed as a line segment in the precision map data. Therefore, in some embodiments, the center line of the two outermost boundary lane lines of the set type road can be generated, and the center line can be used as the precision road segment corresponding to the set type road. The topological connectivity relationship between the generated precision road segments is determined based on the topological connectivity relationship between the set type roads. For example, if two set type roads are topologically connected, the corresponding two precision road segments are also topologically connected.

[0042] like Figure 2A As shown, the target intersection is a dislocated intersection, and its associated set type roads include roads 1-8, where roads 1, 3, 5, and 7 are the entrance roads to the target intersection, and roads 2, 4, 6, and 8 are the exit roads of the target intersection. The topological connectivity relationship between roads 1-8 is shown in Table 1 below (where the leftmost column indicates the identification of the entrance road, the top row indicates the identification of the exit road, 0 indicates disconnected, and 1 indicates connected):

[0043] Table 1

[0044]

[0045] Among them, 1 means that the road corresponding to the row is topologically connected to the road corresponding to the column, and 0 means that the road corresponding to the row is not connected to the road corresponding to the column. For example, the connectivity relationship from the entry road 1 corresponding to the first row in Table 1 to the exit roads 2, 4, and 6 corresponding to the second, fourth, and sixth columns is represented by the number 1, indicating that the entry road 1 is topologically connected to the exit roads 2, 4, and 6. Figure 2A The marked road segments generated by the set type of road shown are as follows Figure 2B As shown, the bold line in the right figure represents the generated precise road segment. The topological connectivity relationship between precise road segments can be determined based on the topological connectivity relationship between set types of roads. For example, a bidirectional precise road segment a is generated corresponding to the entry road 1 and the exit road 8, and a bidirectional precise road segment c is also generated corresponding to the entry road 5 and the exit road 4. The entry road 1 and the exit road 4 are topologically connected, so the bidirectional precise road segments a to the bidirectional precise road segments c are also topologically connected.

[0046] Afterwards, after selecting a selected vertex on each generated marked road segment, the selected vertex can be used as the graph vertex of the graph network structure. Figure 2C As shown by the solid circle AE in the figure, the vicinity of the near-intersection endpoint of the target intersection in the marked precision section can be selected; the connecting line segments between the selected vertices on the two topologically connected marked precision sections can be used as the edges of the graph, thereby constructing all possible graph network structures. It should be noted that each constructed graph network structure includes all selected vertices, and the connecting line segments connecting the selected vertices can have one or more different connection forms, such as connecting two selected vertices through a direct line segment, or connecting two selected vertices to the connecting line segments between two other selected vertices, thereby indirectly connecting the two selected vertices, etc. Based on this construction method, a variety of different graph network structures can be generated for the marked precision sections corresponding to the same target intersection, so that the most suitable one can be selected as the road network structure within the intersection.

[0047] A graph network structure consists of a set of nodes and a set of edges. The connection between each two nodes is called an edge, and an edge can be used to represent the dependency relationship between the two nodes.

[0048] like Figure 2D As shown, the selected vertices A and C are located at the marked precise sections a and c respectively, and a to c are topologically connected, so the selected vertices A to C can generate an edge, which can be as follows Figure 2D The straight line segment shown in the figure, the selected vertices B and D are located on the marked precision segment b and d respectively, and the marked precision segment b to d are topologically connected, so the selected vertices B to D can be connected through multiple edges, such as Figure 2DAs shown, the selected vertex B is connected to the direct line segment from A to C, and the selected vertex D is also connected to the direct line segment from A to C, so that the selected vertices B and D can be indirectly connected. The line segment connecting B and D is not limited to the above method, and there can be other methods, such as Figure 2E Directly connect B and D as shown, or Figure 2F As shown, take a point G on the straight line between A and C, connect B and D to point G, and so on. For each selected vertex, by traversing all possible connection methods, multiple connection methods can be obtained, and each connection method corresponds to at least one graph network structure. Therefore, in any two different graph network structures, at least one of the selected vertices has a different connection method from the other selected vertex.

[0049] After constructing a plurality of graph connection structures, one of the graph network structures that meets the requirements may be selected from the plurality of graph network structures as the intra-intersection road network structure of the marked road sections.

[0050] In this embodiment, in order to generate the intra-intersection road network structure of the target intersection in the standard map data, the set type of road associated with the target intersection is obtained from the set type of map data, and the corresponding standard road segments and the topological connectivity relationship between the standard road segments are generated based on the set type of road, so as to generate all possible graph network structures with selected vertices as graph vertices based on the generated standard roads and the topological connectivity relationship between the standard roads, and select the intra-intersection road network structure connecting the standard road segments from the generated graph network structure, wherein the selected vertex is located on the standard road segment, and the edge of the graph network structure includes the connecting line segment between two selected vertices on two standard road segments with topological connectivity. In the above manner, the intra-intersection road network structure of each intersection in the standard map data can be automatically generated based on the set type of map data, thereby improving the efficiency of road network construction.

[0051] In an optional implementation of this embodiment, step S102, i.e., the step of generating, based on the set type of roads and the topological connectivity relationship between the set type of roads, the marked precise road segments corresponding to the set type of roads and the topological connectivity relationship between the marked precise road segments, can be implemented as follows:

[0052] If there are adjacent entry roads and exit roads that meet the set conditions in the set type of roads, an upward marked precise road section corresponding to the entry road and a downward marked precise road section corresponding to the exit road are generated;

[0053] If there are adjacent entry roads and exit roads that do not meet the set conditions in the set type of roads, generating a bidirectional marked road section corresponding to the entry road and the exit road;

[0054] If there is a road of the set type without an adjacent road, a one-way marked road segment corresponding to the road of the set type is generated.

[0055] In this implementation, the set type of road includes two types of entry roads and exit roads associated with the target intersection. If one of the entry roads and one of the exit roads are adjacent, and the entry road and the exit road meet the set conditions, an upward precision road segment can be generated based on the entry road, and a downward precision road segment can be generated based on the exit road, and the upward precision road segment and the downward precision road segment are adjacent, such as Figure 2B The upward marked road section d and the downward marked road section e shown in . The setting condition is related to the lane line associated with the entry road and the exit road. If the lane line meets one of the following three conditions, it is determined that the entry road and the exit road meet the setting condition:

[0056] 1) The lane line between the entry road and the exit road is a double solid yellow line; 2) The lane line between the entry road and the exit road is a single solid yellow line but the number of lane lines associated with the entry road and the exit road is greater than or equal to the set value; 3) The attributes of the lane line between the entry road and the exit road include physical separation.

[0057] In addition, although there is an adjacent entry road and an exit road in the set type of road associated with the target intersection, but the entry road and the exit road do not meet the above-mentioned set conditions, a two-way marked precision road section can be generated based on the entry road and the exit road. For example, the center line between the rightmost lane line of the entry road and the rightmost lane line of the exit road can be generated, and the center line is determined as the two-way marked precision road section, such as Figure 2B The two-way marked road section a shown in .

[0058] Finally, if one of the set type roads associated with the target intersection has no adjacent roads, a one-way marked road section can be generated based on the set type road, and its road direction is the same as the road direction of the set type road.

[0059] In an optional implementation of this embodiment, step S103, i.e., the step of generating a graph network structure based on the topological connectivity relationship between the marked precise road segments, can be implemented as follows:

[0060] Determining a virtual intersection boundary of the target intersection based on the near-intersection endpoint of the marked road section;

[0061] Based on the topological connectivity relationship between the marked road sections, the graph network structure is generated within the virtual boundary of the intersection.

[0062] In this optional implementation, even if the precision road segments generated based on the set type of road have a topological connectivity relationship, they are not connected to each other from the perspective of vector data because of the target intersection in the middle. In the precision map data, these precision road segments with topological connectivity need to be connected through the road network structure within the intersection before they can be used in applications such as navigation. In order to prevent the position coordinates of the connecting line segments in the road network structure within the intersection from exceeding the range of the actual road, the virtual boundary of the intersection can be determined first, and the graph vertices and edges in the graph network structure are limited to the virtual boundary of the intersection, so that the connecting line segments in the road network structure within the intersection that are finally determined are also within the virtual boundary of the intersection.

[0063] It should be noted that the marked precise road section includes two endpoints, one of which is close to the target intersection and can be called the near intersection endpoint, and the other is far away from the target intersection and can be called the far intersection endpoint. In some embodiments, the virtual boundary of the intersection can be generated based on the near intersection endpoint of each marked precise road section close to the target intersection, such as a line passing through the near intersection endpoint or other points close to the near intersection endpoint as one of the boundary lines of the virtual boundary of the intersection, and then the boundary lines obtained based on the near intersection endpoints of all marked precise road sections are connected to obtain the virtual boundary of the intersection. There is at least one point on the marked precise road section that intersects with the boundary line of the virtual boundary of the intersection. By connecting each marked precise road section within the virtual boundary of the intersection through the intersection point, some possible graph network structures can be obtained, and the road network structure within the intersection that meets the requirements can be selected from these graph network structures.

[0064] In an optional implementation of this embodiment, the step of determining the virtual boundary of the target intersection based on the near-intersection endpoint of the marked precise road segment may be implemented as follows:

[0065] Determine a point on the marked road section that is a set distance away from the near intersection endpoint as the selected vertex;

[0066] determining an intersection point between a line segment passing through the selected vertex and a road boundary line of the set type of road;

[0067] The intersection is used as a boundary vertex to generate a virtual boundary of the intersection.

[0068] In this implementation, the set distance can be a small number greater than or equal to 0, the selected vertex can be a near-intersection endpoint on the precision road segment, or a point close to the near-intersection endpoint, and a line segment passing through the selected vertex is generated, such as a line segment perpendicular to the precision road segment and passing through the selected vertex. The line segment and the road boundary line of the set type of road corresponding to the precision road segment (that is, the outermost lane line) will generate an intersection. The generated intersection point is used as the boundary vertex of the virtual boundary of the intersection, and the adjacent boundary vertices are connected to obtain the virtual boundary of the intersection. Figure 2C As shown, A1, A2, B1, B2, C1, C2, D1 and E1 are boundary vertices respectively, and the black dotted frame formed by these boundary vertices is the virtual boundary of the intersection, where h is the set distance and AE is the selected vertex.

[0069] In an optional implementation of this embodiment, step S103, i.e., the step of generating a graph network structure based on the topological connectivity relationship between the marked precise road segments, can be implemented as follows:

[0070] Based on the topological connectivity relationship between the marked precise road segments, determining topologically connected selected vertex pairs;

[0071] Generate connecting line segments between the selected vertex pairs, and / or generate connecting line segments connecting the selected vertex pairs with existing line segments respectively; wherein the existing line segments are connecting line segments connecting other selected vertex pairs;

[0072] Determine the intersection point between any two connected line segments;

[0073] The selected vertices and the intersection points are used as graph vertices, and connecting line segments between any graph vertices are used as edges to generate a graph network structure.

[0074] In this optional implementation, the selected vertex pairs can be understood as having a topological connectivity relationship between the marked and refined road segments on which they are located. For example, if the marked and refined road segment a is topologically connected to the marked and refined road segment b, then the selected vertex A on the marked and refined road segment a and the selected vertex B on the marked and refined road segment b can form a selected vertex pair, and the selected vertex pair A and B can be connected by a connecting line segment. The same selected vertex can form a selected vertex pair with multiple selected vertices. In some embodiments, if the connecting line segment connecting the selected vertex pair A and B exceeds the virtual boundary of the intersection, the connecting line segment is discarded. Of course, in addition to the direct line segment connection between the selected vertex pairs, one of the selected vertex pairs can also be indirectly connected to the other one of the selected vertex pairs by connecting one of the selected vertex pairs to an existing connecting line segment. Figure 2D As shown, the selected vertex pair A and C can be connected first, and then the selected vertex B can be connected to the connecting line segment AC between A and C. The intersection point of B and the connecting line segment AC is H. The selected vertices A and B are indirectly connected through the connecting line segments AH and HB. The point H can be used as a new graph vertex. Similarly, the selected vertices E and D are also connected to the connecting line segment AC respectively, with the intersection points being F and G. The final graph vertices include AH, and the edges include AF, FG, GH, HC, HB, FE, and DG. Figure 2D One possible graph network structure is shown. Figure 2E For Figure 2D A similar target intersection shows another possible graph network structure.

[0075] When generating all possible graph network structures, the selected vertex pairs can be directly or indirectly connected in the above manner to find all possible graph vertices and edges, and based on all possible graph vertices and edges, all possible graph network structures that conform to the topological connectivity relationship between the marked road segments are obtained. Each graph network structure must include at least all the selected vertices, and there is at least one connectivity path between each selected vertex pair, which may include one edge or multiple edges.

[0076] In an optional implementation of this embodiment, step S104, i.e., the step of determining the road network structure within the intersection connecting the marked road section based on the graph network structure, can be implemented as follows:

[0077] For the graph network structure, obtaining the road network distance between the graph vertices;

[0078] Based on the topological connectivity relationship between the marked precise road segments and the road network distance, determining the path length of a traversable path between topologically connected selected vertex pairs in the graph network structure;

[0079] Based on the path length, the road network structure within the intersection is selected from the graph network structure.

[0080] In this optional implementation, the road network distance between graph vertices may be the actual distance between the edges of any two directly connected graph vertices. For each graph network structure, the traversable path between any two selected vertices in the graph network structure and the path length between the traversable paths may be determined based on the topological connectivity relationship between the marked precise road segments. Each pair of selected vertices may include one or more traversable paths.

[0081] Based on the above path length, one of the multiple graph network structures that meets the requirements can be selected as the road network structure within the intersection.

[0082] The following describes this implementation method through a specific algorithm.

[0083] The distance function of all traversable paths in the graph network structure is constructed as follows:

[0084]

[0085] in, is the path length of the traversable path between any selected vertex pairs, n is the number of selected vertex pairs, and x is the variable in the distance function, which represents the path length of the traversable path between any selected vertex pairs. .

[0086] Table 2 below shows Figure 3AThe composition of the path length between any pair of vertices in the graph can be easily viewed based on the following Table 2 (the leftmost column represents the entry vertex, the top row represents the exit vertex, 0 represents the path length of 0, and null represents disconnection):

[0087] Table 2

[0088]

[0089] For each graph network structure, the corresponding , by comparing the distance functions of each graph network structure ,Will The graph network structure that meets the requirements, such as the minimum corresponding graph network structure, can be determined as the road network structure within the intersection. For example, there are two graph network structures, the difference between the two graph network structures is that the connection method of a set of selected vertex pairs is different, and two distance functions can be constructed as and ,Will and By comparison, the graph network structure with a smaller distance function value is more in line with the requirements.

[0090] Figure 3A and 3B They correspond to two different connection modes between the topologically connected selected vertex pairs B and D, thus forming two different graph network structures. Figure 3A and Figure 3B If the connection modes between other selected vertices are the same, the difference in the distance functions established is only the path length between the selected vertex pair B and D; in order to compare Figure 3A and Figure 3B The two different graph network structures shown can be used to calculate the distance function corresponding to the two graph network structures. After subtraction and simplification, a graph network structure that better meets the requirements can be determined.

[0091] In an optional implementation of this embodiment, step S104, i.e., the step of determining the road network structure within the intersection connecting the marked road section based on the graph network structure, can be implemented as follows:

[0092] For each of the graph network structures, determining the shortest path between topologically connected selected vertex pairs;

[0093] Based on the shortest path, the road network structure within the intersection is selected from the graph network structure.

[0094] In this optional implementation, the topologically connected selected vertex pairs can be determined based on the topological connectivity relationship between the marked road segments, and for any group of selected vertex pairs, the shortest path can be calculated. For example, the Floyd algorithm can be used to calculate the shortest path between the selected vertex pairs.

[0095] Among them, the calculation process of Floyd's algorithm includes two parts, namely the initialization part and the iterative calculation part, as follows:

[0096] Initialization part: From the current graph network structure, arbitrarily select two selected vertices. If the two selected vertices are the same, the path length between the two selected vertices is initialized to 0. If there is a direct edge between the two selected vertices, the path length is initialized to the path length of the direct edge, otherwise the path length is initialized to infinity.

[0097] Iterative calculation part: If the selected vertex pair i and j are topologically connected selected vertex pairs, then traverse all intermediate nodes k (k is all graph vertices in the graph network structure, including selected vertices and non-selected vertices). For each intermediate node k, update the shortest path between the selected vertex pair i and j in the following way: If the length of the path (i->k->j) passing through the intermediate node k is less than the currently known shortest path, then update the shortest path length between the selected vertex pair i and j to the path length passing through k. After traversing all intermediate nodes, the shortest path length between the selected vertex pair i and j can be obtained. After traversing all selected vertex pairs, the shortest path length between any selected vertex pairs can be obtained.

[0098] In some embodiments, the shortest path lengths between any selected vertex pairs in each graph network structure can be added and compared with other graph network structures. The smaller the added value, the more the graph network structure meets the requirements of the road network structure within the intersection. Ultimately, the graph network structure with the smallest added value can be determined as the road network structure within the intersection.

[0099] The following are embodiments of the apparatus of the present disclosure, which can be used to execute embodiments of the method of the present disclosure.

[0100] Figure 4 The structure block diagram of the device for generating the road network structure in the intersection according to one embodiment of the present disclosure is shown. The device can be implemented as part or all of the electronic device through software, hardware or a combination of both. Figure 4 As shown, the device for generating the road network structure in the intersection includes:

[0101] An acquisition module 401 is configured to acquire roads of a set type associated with a target intersection and a topological connectivity relationship between the roads of the set type;

[0102] A first generating module 402 is configured to generate, based on the set type of road and the topological connectivity relationship between the set type of roads, the marked road segments corresponding to the set type of roads and the topological connectivity relationship between the marked road segments;

[0103] The second generation module 403 is configured to generate a graph network structure based on the topological connectivity relationship between the marked and refined road segments; wherein the selected vertex is located on the marked and refined road segment, and the edge of the graph network structure includes a connected line segment between two selected vertices on two topologically connected marked and refined road segments;

[0104] The determination module 404 is configured to determine the road network structure within the intersection connecting the marked road sections based on the graph network structure.

[0105] In this embodiment, the device for generating the road network structure in the intersection can be executed on a server or a computer device with corresponding computing power. The target intersection can be any intersection, for example, a crossroad, a T-junction, a staggered intersection, a triangular intersection, a stepped intersection, etc. In some embodiments, the set type of road can be a road with lane line attributes, such as a high-definition road such as a high-definition map (HD) or a lane-level map; the set type of road can be obtained from the set type of map data, and the set type of map data can be map data with higher accuracy than the standard precision map data, such as high-precision map data, lane-level map data, etc. Among them, high-precision map data has higher data accuracy than standard precision map data, and contains more abundant lane-level information and road markers, etc., and the accuracy is usually at the decimeter level; while the lane-level map data combines the standard precision map data and the high-precision map data, appropriately reduces the data accuracy and simplifies the road elements compared to the high-precision map data, and refers to the data coverage and freshness of the standard precision map data, and has the advantages of both standard precision map data and high-precision map data, and has the characteristics of light weight and practicality.

[0106] Since the set type road is a road with lane line attributes, it is expressed as multiple lane lines and lanes between lane lines in the set type map data, and a precision road segment is expressed as a line segment in the precision map data. Therefore, in some embodiments, the center line of the two outermost boundary lane lines of the set type road can be generated, and the center line can be used as the precision road segment corresponding to the set type road. The topological connectivity relationship between the generated precision road segments is determined based on the topological connectivity relationship between the set type roads. For example, if two set type roads are topologically connected, the corresponding two precision road segments are also topologically connected.

[0107] like Figure 2AAs shown, the target intersection is a staggered intersection, and its associated set type roads include roads 1-8, among which roads 1, 3, 5, and 7 are entrance roads to the target intersection, and 2, 4, 6, and 8 are exit roads to the target intersection. The topological connectivity relationship between roads 1-8 is shown in Table 1.

[0108] Among them, 1 means that the road corresponding to the row is topologically connected to the road corresponding to the column, and 0 means that the road corresponding to the row is not connected to the road corresponding to the column. For example, the connectivity relationship from the entry road 1 corresponding to the first row in Table 1 to the exit roads 2, 4, and 6 corresponding to the second, fourth, and sixth columns is represented by the number 1, indicating that the entry road 1 is topologically connected to the exit roads 2, 4, and 6. Figure 2A The marked road segments generated by the set type of road shown are as follows Figure 2B As shown, the bold line in the right figure represents the generated precise road segment. The topological connectivity relationship between precise road segments can be determined based on the topological connectivity relationship between set types of roads. For example, a bidirectional precise road segment a is generated corresponding to the entry road 1 and the exit road 8, and a bidirectional precise road segment c is also generated corresponding to the entry road 5 and the exit road 4. The entry road 1 and the exit road 4 are topologically connected, so the bidirectional precise road segments a to the bidirectional precise road segments c are also topologically connected.

[0109] Afterwards, after selecting a selected vertex on each generated marked road segment, the selected vertex can be used as the graph vertex of the graph network structure. Figure 2C As shown by the solid circle AE in the figure, the vicinity of the near-intersection endpoint of the target intersection in the marked precision section can be selected; the connecting line segments between the selected vertices on the two topologically connected marked precision sections can be used as the edges of the graph, thereby constructing all possible graph network structures. It should be noted that each constructed graph network structure includes all selected vertices, and the connecting line segments connecting the selected vertices can have one or more different connection forms, such as connecting two selected vertices through a direct line segment, or connecting two selected vertices to the connecting line segments between two other selected vertices, thereby indirectly connecting the two selected vertices, etc. Based on this construction method, a variety of different graph network structures can be generated for the marked precision sections corresponding to the same target intersection, so that the most suitable one can be selected as the road network structure within the intersection.

[0110] A graph network structure consists of a set of nodes and a set of edges. The connection between each two nodes is called an edge, and an edge can be used to represent the dependency relationship between the two nodes.

[0111] like Figure 2D As shown, the selected vertices A and C are located at the marked precise sections a and c respectively, and a to c are topologically connected, so the selected vertices A to C can generate an edge, which can be as follows Figure 2DThe straight line segment shown in the figure, the selected vertices B and D are located on the marked precision segment b and d respectively, and the marked precision segment b to d are topologically connected, so the selected vertices B to D can be connected through multiple edges, such as Figure 2D As shown, the selected vertex B is connected to the direct line segment from A to C, and the selected vertex D is also connected to the direct line segment from A to C, so that the selected vertices B and D can be indirectly connected. The line segment connecting B and D is not limited to the above method, and there can be other methods, such as Figure 2E Directly connect B and D as shown, or Figure 2F As shown, take a point G on the straight line between A and C, connect B and D to point G, and so on. For each selected vertex, by traversing all possible connection methods, multiple connection methods can be obtained, and each connection method can correspond to a graph network structure. Therefore, in any two different graph network structures, at least one of the selected vertices has a different connection method from the other selected vertex.

[0112] After constructing a plurality of graph connection structures, one of the graph network structures that meets the requirements may be selected from the plurality of graph network structures as the intra-intersection road network structure of the marked road sections.

[0113] In this embodiment, in order to generate the intra-intersection road network structure of the target intersection in the standard map data, the set type of road associated with the target intersection is obtained from the set type of map data, and the corresponding standard road segments and the topological connectivity relationship between the standard road segments are generated based on the set type of road, so as to generate all possible graph network structures with selected vertices as graph vertices based on the generated standard roads and the topological connectivity relationship between the standard roads, and select the intra-intersection road network structure connecting the standard road segments from the generated graph network structure, wherein the selected vertex is located on the standard road segment, and the edge of the graph network structure includes the connecting line segment between two selected vertices on two standard road segments with topological connectivity. In the above manner, the intra-intersection road network structure of each intersection in the standard map data can be automatically generated based on the set type of map data, thereby improving the efficiency of road network construction.

[0114] In an optional implementation of this embodiment, the first generating module may be implemented as follows:

[0115] If there are adjacent entry roads and exit roads that meet the set conditions in the set type of roads, an upward marked precise road section corresponding to the entry road and a downward marked precise road section corresponding to the exit road are generated;

[0116] If there are adjacent entry roads and exit roads that do not meet the set conditions in the set type of roads, generating a bidirectional marked road section corresponding to the entry road and the exit road;

[0117] If there is a road of the set type without an adjacent road, a one-way marked road segment corresponding to the road of the set type is generated.

[0118] In this implementation, the set type of road includes two types of entry roads and exit roads associated with the target intersection. If one of the entry roads and one of the exit roads are adjacent, and the entry road and the exit road meet the set conditions, an upward precision road segment can be generated based on the entry road, and a downward precision road segment can be generated based on the exit road, and the upward precision road segment and the downward precision road segment are adjacent, such as Figure 2B The upward marked road section d and the downward marked road section e shown in . The setting condition is related to the lane line associated with the entry road and the exit road. If the lane line meets one of the following three conditions, it is determined that the entry road and the exit road meet the setting condition:

[0119] 1) The lane line between the entry road and the exit road is a double solid yellow line; 2) The lane line between the entry road and the exit road is a single solid yellow line but the number of lane lines associated with the entry road and the exit road is greater than or equal to the set value; 3) The attributes of the lane line between the entry road and the exit road include physical separation.

[0120] In addition, although there is an adjacent entry road and an exit road in the set type of road associated with the target intersection, but the entry road and the exit road do not meet the above-mentioned set conditions, a two-way marked precision road section can be generated based on the entry road and the exit road. For example, the center line between the rightmost lane line of the entry road and the rightmost lane line of the exit road can be generated, and the center line is determined as the two-way marked precision road section, such as Figure 2B The two-way marked road section a shown in .

[0121] Finally, if one of the set type roads associated with the target intersection has no adjacent roads, a one-way marked road section can be generated based on the set type road, and its road direction is the same as the road direction of the set type road.

[0122] In an optional implementation of this embodiment, the second generating module may be implemented as follows:

[0123] Determining a virtual intersection boundary of the target intersection based on the near-intersection endpoint of the marked road section;

[0124] Based on the topological connectivity relationship between the marked road sections, the graph network structure is generated within the virtual boundary of the intersection.

[0125] In this optional implementation, even if the precision road segments generated based on the set type of road have a topological connectivity relationship, they are not connected to each other from the perspective of vector data because of the target intersection in the middle. In the precision map data, these precision road segments with topological connectivity need to be connected through the road network structure within the intersection before they can be used in applications such as navigation. In order to prevent the position coordinates of the connecting line segments in the road network structure within the intersection from exceeding the range of the actual road, the virtual boundary of the intersection can be determined first, and the graph vertices and edges in the graph network structure are limited to the virtual boundary of the intersection, so that the connecting line segments in the road network structure within the intersection that are finally determined are also within the virtual boundary of the intersection.

[0126] It should be noted that the marked precise road section includes two endpoints, one of which is close to the target intersection and can be called the near intersection endpoint, and the other is far away from the target intersection and can be called the far intersection endpoint. In some embodiments, the virtual boundary of the intersection can be generated based on the near intersection endpoint of each marked precise road section close to the target intersection, such as a line passing through the near intersection endpoint or other points close to the near intersection endpoint as one of the boundary lines of the virtual boundary of the intersection, and then the boundary lines obtained based on the near intersection endpoints of all marked precise road sections are connected to obtain the virtual boundary of the intersection. There is at least one point on the marked precise road section that intersects with the boundary line of the virtual boundary of the intersection. By connecting each marked precise road section within the virtual boundary of the intersection through the intersection point, some possible graph network structures can be obtained, and the road network structure within the intersection that meets the requirements can be selected from these graph network structures.

[0127] In an optional implementation of this embodiment, determining the virtual boundary of the target intersection based on the near-intersection endpoint of the marked precise road segment may be implemented as follows:

[0128] Determine a point on the marked road section that is a set distance away from the near intersection endpoint as the selected vertex;

[0129] determining an intersection point between a line segment passing through the selected vertex and a road boundary line of the set type of road;

[0130] The intersection is used as a boundary vertex to generate a virtual boundary of the intersection.

[0131] In this implementation, the set distance can be a small number greater than or equal to 0, the selected vertex can be a near-intersection endpoint on the precision road segment, or a point close to the near-intersection endpoint, and a line segment passing through the selected vertex is generated, such as a line segment perpendicular to the precision road segment and passing through the selected vertex. The line segment and the road boundary line of the set type of road corresponding to the precision road segment (that is, the outermost lane line) will generate an intersection. The generated intersection point is used as the boundary vertex of the virtual boundary of the intersection, and the adjacent boundary vertices are connected to obtain the virtual boundary of the intersection. Figure 2CAs shown, A1, A2, B1, B2, C1, C2, D1 and E1 are boundary vertices respectively, and the black dotted frame formed by these boundary vertices is the virtual boundary of the intersection, where h is the set distance and AE is the selected vertex.

[0132] In an optional implementation of this embodiment, the second generating module may be implemented as follows:

[0133] Based on the topological connectivity relationship between the marked precise road segments, determining topologically connected selected vertex pairs;

[0134] Generate connecting line segments between the selected vertex pairs, and / or generate connecting line segments connecting the selected vertex pairs with existing line segments respectively; wherein the existing line segments are connecting line segments connecting other selected vertex pairs;

[0135] Determine the intersection point between any two connected line segments;

[0136] The selected vertices and the intersection points are used as graph vertices, and connecting line segments between any graph vertices are used as edges to generate a graph network structure.

[0137] In this optional implementation, the selected vertex pairs can be understood as having a topological connectivity relationship between the marked and refined road segments on which they are located. For example, if the marked and refined road segment a is topologically connected to the marked and refined road segment b, then the selected vertex A on the marked and refined road segment a and the selected vertex B on the marked and refined road segment b can form a selected vertex pair, and the selected vertex pair A and B can be connected by a connecting line segment. The same selected vertex can form a selected vertex pair with multiple selected vertices. In some embodiments, if the connecting line segment connecting the selected vertex pair A and B exceeds the virtual boundary of the intersection, the connecting line segment is discarded. Of course, in addition to the direct line segment connection between the selected vertex pairs, one of the selected vertex pairs can also be indirectly connected to the other one of the selected vertex pairs by connecting one of the selected vertex pairs to an existing connecting line segment. Figure 2D As shown, the selected vertex pair A and C can be connected first, and then the selected vertex B can be connected to the connecting line segment AC between A and C. The intersection point of B and the connecting line segment AC is H. The selected vertices A and B are indirectly connected through the connecting line segments AH and HB. The point H can be used as a new graph vertex. Similarly, the selected vertices E and D are also connected to the connecting line segment AC respectively, with the intersection points being F and G. The final graph vertices include AH, and the edges include AF, FG, GH, HC, HB, FE, and DG. Figure 2D One possible graph network structure is shown. Figure 2E For Figure 2D A similar target intersection shows another possible graph network structure.

[0138] When generating all possible graph network structures, the selected vertex pairs can be directly or indirectly connected in the above manner to find all possible graph vertices and edges, and based on all possible graph vertices and edges, all possible graph network structures that conform to the topological connectivity relationship between the marked road segments are obtained. Each graph network structure must include at least all the selected vertices, and there is at least one connectivity path between each selected vertex pair, which may include one edge or multiple edges.

[0139] In an optional implementation of this embodiment, the determination module may be implemented as follows:

[0140] For the graph network structure, obtaining the road network distance between the graph vertices;

[0141] Based on the topological connectivity relationship between the marked precise road segments and the road network distance, determining the path length of a traversable path between topologically connected selected vertex pairs in the graph network structure;

[0142] Based on the path length, the road network structure within the intersection is selected from the graph network structure.

[0143] In this optional implementation, the road network distance between graph vertices may be the actual distance between the edges of any two directly connected graph vertices. For each graph network structure, the traversable path between any two selected vertices in the graph network structure and the path length between the traversable paths may be determined based on the topological connectivity relationship between the marked precise road segments. Each pair of selected vertices may include one or more traversable paths.

[0144] Based on the above path length, one of the multiple graph network structures that meets the requirements can be selected as the road network structure within the intersection.

[0145] The following describes this implementation method through a specific algorithm.

[0146] The distance function of all traversable paths in the graph network structure is constructed as follows:

[0147]

[0148] in, is the path length of the traversable path between any selected vertex pairs, n is the number of selected vertex pairs, and x is the variable in the distance function, which represents the path length of the traversable path between any selected vertex pairs. .

[0149] Table 2 shows Figure 3A The composition of the path length between any pair of vertices in , based on the content of Table 2, it is convenient to view the path length between any selected pair of vertices.

[0150] For each graph network structure, the corresponding , by comparing the network structures of each graph ,Will The graph network structure that meets the requirements, such as the minimum corresponding graph network structure, can be determined as the road network structure within the intersection. For example, there are two graph network structures, the difference between the two graph network structures is that the connection method of a set of selected vertex pairs is different, and two distance functions can be constructed as and ,Will and By comparison, the graph network structure with a smaller distance function value is more in line with the requirements.

[0151] Figure 3A and 3B They correspond to two different connection modes between the topologically connected selected vertex pairs B and D, thus forming two different graph network structures. Figure 3A and Figure 3B If the connection modes between other selected vertices are the same, the difference in the distance functions established is only the path length between the selected vertex pair B and D; in order to compare Figure 3A and Figure 3B The two different graph network structures shown can be used to calculate the distance function corresponding to the two graph network structures. After subtraction and simplification, a graph network structure that better meets the requirements can be determined.

[0152] In an optional implementation of this embodiment, the determination module may be implemented as follows:

[0153] For each of the graph network structures, determining the shortest path between topologically connected selected vertex pairs;

[0154] Based on the shortest path, the road network structure within the intersection is selected from the graph network structure.

[0155] In this optional implementation, the topologically connected selected vertex pairs can be determined based on the topological connectivity relationship between the marked road segments, and for any group of selected vertex pairs, the shortest path can be calculated. For example, the Floyd algorithm can be used to calculate the shortest path between the selected vertex pairs.

[0156] Among them, the calculation process of Floyd's algorithm includes two parts, namely the initialization part and the iterative calculation part, as follows:

[0157] Initialization part: From the current graph network structure, arbitrarily select two selected vertices. If the two selected vertices are the same, the path length between the two selected vertices is initialized to 0. If there is a direct edge between the two selected vertices, the path length is initialized to the path length of the direct edge, otherwise the path length is initialized to infinity.

[0158] Iterative calculation part: If the selected vertex pair i and j are topologically connected selected vertex pairs, then traverse all intermediate nodes k (k is all graph vertices in the graph network structure, including selected vertices and non-selected vertices). For each intermediate node k, update the shortest path between the selected vertex pair i and j in the following way: If the length of the path (i->k->j) passing through the intermediate node k is less than the currently known shortest path, then update the shortest path length between the selected vertex pair i and j to the path length passing through k. After traversing all intermediate nodes, the shortest path length between the selected vertex pair i and j can be obtained. After traversing all selected vertex pairs, the shortest path length between any selected vertex pairs can be obtained.

[0159] In some embodiments, the shortest path lengths between any selected vertex pairs in each graph network structure can be added and compared with other graph network structures. The smaller the added value, the more the graph network structure meets the requirements of the road network structure within the intersection. Ultimately, the graph network structure with the smallest added value can be determined as the road network structure within the intersection.

[0160] The functions implemented by the above-mentioned device can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.

[0161] In one possible design, the structure of the above-mentioned device includes a memory and a processor, the memory is used to store one or more computer instructions that support the above-mentioned device to execute the above-mentioned corresponding method, and the processor is configured to execute the computer instructions stored in the memory. The above-mentioned device may also include a communication interface for the above-mentioned device to communicate with other devices or communication networks.

[0162] The present disclosure also discloses an electronic device, Figure 5 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown. Figure 5 As shown, the electronic device 500 includes a memory 501 and a processor 502; wherein,

[0163] The memory 501 is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 502 to implement the above method steps.

[0164] Figure 6It is a structural schematic diagram of a computer system suitable for implementing a method for generating a road network structure within an intersection according to an embodiment of the present disclosure.

[0165] like Figure 6 As shown, the computer system 600 includes a processing unit 601, which can be implemented as a processing unit such as a CPU, a GPU, an FPGA, and an NPU. The processing unit 601 can perform various processes in the embodiments of any of the above methods of the present disclosure according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 to a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the computer system 600 are also stored. The processing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0166] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.

[0167] In particular, according to an embodiment of the present disclosure, any method in the above referenced embodiment of the present disclosure may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes a program code for executing any method in the embodiment of the present disclosure. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 609, and / or installed from a removable medium 611.

[0168] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0169] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The units or modules described may also be set in a processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.

[0170] As another aspect, the present disclosure further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the device described in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into the device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the method described in the present disclosure.

[0171] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.

Claims

1. A method for generating a road network structure within an intersection, in, include: Acquire a set type of road associated with a target intersection and a topological connectivity relationship between the set type of roads; Based on the set type of roads and the topological connectivity relationship between the set type of roads, generating the marked road segments corresponding to the set type of roads and the topological connectivity relationship between the marked road segments; Based on the topological connectivity relationship between the marked precise road segments, a graph network structure is generated; wherein the graph vertices of the graph network structure include selected vertices located on the marked precise road segments, and the edges of the graph network structure include connected line segments between two selected vertices on two topologically connected marked precise road segments; Based on the graph network structure, determine the road network structure within the intersection connecting the marked road sections.

2. The method according to claim 1, in, Based on the set type of roads and the topological connectivity relationship between the set type of roads, generating the marked road segments corresponding to the set type of roads and the topological connectivity relationship between the marked road segments, including: If there are adjacent entry roads and exit roads that meet the set conditions in the set type of roads, an upward marked precise road section corresponding to the entry road and a downward marked precise road section corresponding to the exit road are generated; If there are adjacent entry roads and exit roads that do not meet the set conditions in the set type of roads, generating a bidirectional marked road section corresponding to the entry road and the exit road; If there is a road of the set type without an adjacent road, a one-way marked road segment corresponding to the road of the set type is generated.

3. The method according to claim 1, in, Based on the topological connectivity relationship between the marked precise road segments, a graph network structure is generated, including: Determining a virtual intersection boundary of the target intersection based on the near-intersection endpoint of the marked road section; Based on the topological connectivity relationship between the marked road sections, the graph network structure is generated within the virtual boundary of the intersection.

4. The method according to claim 3, in, Determining a virtual intersection boundary of the target intersection based on the near-intersection endpoint of the marked precise road segment includes: Determine a point on the marked road section that is a set distance away from the near intersection endpoint as the selected vertex; determining an intersection point between a line segment passing through the selected vertex and a road boundary line of the set type of road; The intersection is used as a boundary vertex to generate a virtual boundary of the intersection.

5. The method according to any one of claims 1 to 4, in, Based on the topological connectivity relationship between the marked precise road segments, a graph network structure is generated, including: Based on the topological connectivity relationship between the marked precise road segments, determining topologically connected selected vertex pairs; Generate connecting line segments between the selected vertex pairs, and / or generate connecting line segments connecting the selected vertex pairs with existing line segments respectively; wherein the existing line segments are connecting line segments connecting other selected vertex pairs; Determine the intersection point between any two connected line segments; The selected vertices and the intersection points are used as graph vertices, and connecting line segments between any graph vertices are used as edges to generate a graph network structure.

6. The method according to any one of claims 1 to 4, in, Based on the graph network structure, determining the road network structure within the intersection connecting the marked road section includes: For the graph network structure, obtaining the road network distance between the graph vertices; Based on the topological connectivity relationship between the marked precise road segments and the road network distance, determining the path length of a traversable path between topologically connected selected vertex pairs in the graph network structure; Based on the path length, the road network structure within the intersection is selected from the graph network structure.

7. The method according to any one of claims 1 to 4, in, Based on the graph network structure, determining the road network structure within the intersection connecting the marked road section includes: For each of the graph network structures, determining the shortest path between topologically connected selected vertex pairs; Based on the shortest path, the road network structure within the intersection is selected from the graph network structure.

8. A device for generating a road network structure within an intersection, in, include: An acquisition module is configured to acquire a set type of road associated with a target intersection and a topological connectivity relationship between the set type of roads; A first generating module is configured to generate, based on the set type of road and the topological connectivity relationship between the set type of roads, the marked and precise road segments corresponding to the set type of roads and the topological connectivity relationship between the marked and precise road segments; A second generation module is configured to generate a graph network structure based on the topological connectivity relationship between the marked and precise road segments; wherein the graph vertices of the graph network structure include selected vertices located on the marked and precise road segments, and the edges of the graph network structure include connected line segments between two selected vertices on two topologically connected marked and precise road segments; The determination module is configured to determine the road network structure within the intersection connecting the marked road section based on the graph network structure.

9. An electronic device, in, The method comprises a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having computer instructions stored thereon, in, When the computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Road network topology construction method, navigation path calculation method and devices

    CN109974725A

  • Road network topology construction method and device, electronic equipment and storage medium

    CN112417070A

  • Automatic map generation method and device, equipment and medium

    CN115265559A

  • Lane-level high-precision computable road network construction method and device and electronic equipment

    CN115424133A

  • Intersection topology construction method and system, electronic equipment and storage medium

    CN116168110A