Method, device, electronic device and medium for determining quality of road matching relationship
By screening users' historical navigation paths and using topological connectivity relationships to evaluate road matching quality, the problem of insufficient evaluation of road matching relationships in the existing technology is solved, and the evaluation accuracy and user experience are improved.
Patent Information
- Application Number
- CN202411025345.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-07-29
AI Technical Summary
Existing technologies fail to effectively evaluate the quality of road matching relationships, leading to problems such as assisted driving failure and abnormal exit of lane-level navigation.
By obtaining the user's historical navigation path, the target navigation path that meets the set feature conditions is screened, and based on the topological connectivity relationship between the standard road data and the set road data, the quality of the road matching relationship is determined.
The accuracy of the quality evaluation of road matching relationships is improved, ensuring that the matching results of the user's actual path in the set road data are consistent with the actual situation, and improving the user experience.
Smart Images

Figure CN118548915B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of map technology, and in particular to a method, device, electronic device and medium for determining the quality of a road matching relationship. Background Art
[0002] At present, in addition to the precisely marked road data, there is also road data with higher precision. The matching relationship between roads and precisely marked roads in the road data with higher precision is widely used in lane-level navigation, advanced assisted driving and other applications. The quality of the matching relationship is directly related to the user experience. Matching problems such as missed matches, multiple matches, and wrong matches will lead to problems such as failure of assisted driving and abnormal exit of lane-level navigation. Therefore, it is necessary to evaluate the quality of the above matching relationship.
[0003] Although the existing technologies have proposed a series of road matching methods to match roads in road data with higher precision with marked roads, they have not proposed corresponding evaluation methods for road matching methods. Therefore, with the increasing development of high-precision maps and intelligent assisted driving technology, how to evaluate road matching methods has become an important technical problem that needs to be solved. Summary of the invention
[0004] The embodiments of the present disclosure provide a method, device, electronic device, and medium for determining the quality of a road matching relationship.
[0005] In a first aspect, an embodiment of the present disclosure provides a method for determining the quality of a road matching relationship, which includes:
[0006] Obtaining a target navigation path; wherein the target navigation path is a path in the user's historical navigation paths that meets a set characteristic condition;
[0007] Based on the road matching relationship between the marked precise road data and the set road data, determining a target road in the set road data that matches the marked precise road on the target navigation path;
[0008] Based on the topological connectivity relationship between the target roads, the quality of the road matching relationship is determined.
[0009] In a second aspect, an embodiment of the present invention provides a device for determining the quality of a road matching relationship, which includes:
[0010] An acquisition module is configured to acquire a target navigation path; wherein the target navigation path is a path in the user's historical navigation paths that meets a set characteristic condition;
[0011] A first determination module is configured to determine a target road in the set road data that matches the marked road on the target navigation path based on a road matching relationship between the marked road data and the set road data;
[0012] The second determination module is configured to determine the quality of the road matching relationship based on the topological connectivity relationship between the target roads.
[0013] 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.
[0014] 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.
[0015] 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.
[0016] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0017] In this embodiment, in order to evaluate the quality of the road matching relationship between the marked road data and the set road data, it is proposed to screen out the target navigation path that meets the set characteristic conditions from the user's historical navigation path, and then match the marked road on the target navigation path to the target road on the set road data based on the road matching relationship to be evaluated, so as to determine the quality of the road matching relationship to be evaluated based on the topological connectivity relationship between the target roads. In the above manner, the user's actual path is matched from the marked road data to the set road data using the road matching relationship, so as to determine the quality of the road matching relationship based on whether the matching result in the set road data conforms to the actual situation, thereby improving the accuracy of quality evaluation.
[0018] 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
[0019] 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.
[0020] Figure 1 A flow chart showing a method for determining the quality of a road matching relationship provided in one embodiment of the present disclosure.
[0021] Figure 2 A schematic diagram of an S2 grid for setting a road data collection range provided in one embodiment of the present disclosure is shown.
[0022] Figure 3A-3C A schematic diagram showing the topological connectivity path effect between target roads provided by an embodiment of the present disclosure is shown.
[0023] Figure 4 A structural block diagram of a device for determining the quality of a road matching relationship according to an embodiment of the present disclosure is shown.
[0024] Figure 5 A structural block diagram of an electronic device provided by one embodiment of the present disclosure is shown.
[0025] Figure 6 It is a structural diagram of a computer system suitable for implementing the road matching relationship quality determination method provided in one embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] 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.
[0027] 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.
[0028] 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.
[0029] 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.
[0030] The details of the embodiments of the present disclosure are described in detail below through specific examples.
[0031] Figure 1 A flow chart showing a method for determining the quality of a road matching relationship provided by an embodiment of the present disclosure is shown. Figure 1As shown, the method for determining the quality of the road matching relationship includes the following steps:
[0032] In step S101, a target navigation path is obtained; wherein the target navigation path is a path in the user's historical navigation paths that meets a set characteristic condition;
[0033] In step S102, based on the road matching relationship between the precise road data and the set road data, a target road in the set road data that matches the precise road on the target navigation path is determined;
[0034] In step S103, the quality of the road matching relationship is determined based on the topological connectivity relationship between the target roads.
[0035] In this embodiment, the quality determination method of the road matching relationship can be implemented on a server or a computer device with corresponding computing power. The user's historical navigation path can be a navigation path that the user has planned and used using the navigation application software, and can be obtained from the user's navigation log. The user navigation log can be automatically recorded on the navigation server during the user's navigation process. The user navigation log can record the user's navigation path, navigation time, navigation identifier used to indicate the navigation type (such as walking navigation, driving navigation type, etc.). For example, the user navigation log within the past week can be obtained, and the driving planning navigation path can be filtered out, and then a certain number of navigation paths can be randomly selected from the driving planning navigation path as the user's historical navigation path. It should be noted that the user navigation log can be the user navigation log of multiple users. The user navigation log can be stored on the navigation server.
[0036] The target navigation path may be a path selected from the user's historical navigation path and meeting the set characteristic conditions. The set characteristic conditions may include, but are not limited to, the roads on the user's historical navigation path and the conditions that the path characteristics must meet. Road and path characteristics include road characteristics and path characteristics. Road characteristics may include, but are not limited to, road composition, road grade, functional grade, road length, the area where the road is located (such as a city), whether the road is within the coverage of the set road data, etc.; path characteristics may include, but are not limited to, path length, etc. The target navigation path selected from the user's historical navigation path through both road characteristics and path characteristics is suitable for determining the quality of the road matching relationship. This method reduces information interference in the process of determining the quality of the road matching relationship by eliminating the historical navigation paths of other users that are not suitable for determining the quality of the road matching relationship, and can improve the accuracy of the quality of the road matching relationship.
[0037] In some embodiments, the set road data may be road data with higher accuracy than the standard precision road data, such as HD road data, HQ road data, etc. Among them, HD road data is high-precision road data, which has higher data accuracy than the standard precision road data, and contains richer lane-level information and road markers and other data, and the accuracy is usually at the decimeter level; while HQ road data combines the standard precision road data and HD road data, appropriately reduces the data accuracy and simplifies the road elements compared to the HD road data, and refers to the data coverage and freshness of the standard precision road data, and has the advantages of both the standard precision road data and HD road data, and has the characteristics of being lightweight and practical.
[0038] The road matching relationship can be a matching relationship between the marked road data obtained according to the road matching method proposed by the prior art and the road in the set road data. If the matching relationship is accurate, the matched marked road and the target road in the set road data represent road portions belonging to the same real road. If the matching relationship is inaccurate, the road portions represented by the marked road and the target road do not actually belong to the same real road.
[0039] The marked roads on the target navigation path form a unique topologically connected path, and the marked roads on the path should be able to form a unique topologically connected path for the target roads corresponding to the set road data. For example, if the target roads can form a topologically connected path, it means that at least corresponding to the target navigation path, the matching relationship between the marked roads and the target roads is accurate. If the target roads cannot form a unique topologically connected path, it means that at least corresponding to the target navigation path, the matching relationship between the marked roads and the target roads is inaccurate. Based on the above principles, the topological connectivity relationship between the target roads is used in the present disclosure to determine the quality of the road matching relationship.
[0040] In this embodiment, in order to evaluate the quality of the road matching relationship between the marked road data and the set road data, it is proposed to screen out the target navigation path that meets the set characteristic conditions from the user's historical navigation path, and then match the marked road on the target navigation path to the target road on the set road data based on the road matching relationship to be evaluated, so as to determine the quality of the road matching relationship to be evaluated based on the topological connectivity relationship between the target roads. In the above manner, the user's actual path is matched from the marked road data to the set road data using the road matching relationship, so as to determine the quality of the road matching relationship based on whether the matching result in the set road data conforms to the actual situation, thereby improving the accuracy of quality evaluation.
[0041] In an optional implementation of this embodiment, step S101, i.e., the step of obtaining the target navigation path, can be implemented as follows:
[0042] Get the user's historical navigation path;
[0043] Determine the road and path characteristics corresponding to the historical navigation path based on the marked road data;
[0044] Based on the road and path characteristics, a target navigation path that meets set characteristic conditions is selected from the historical navigation paths.
[0045] In this optional implementation, as described above, the user's historical navigation path may be the navigation path taken by the user within a historical time period. In order to improve the accuracy of quality evaluation of road matching relationships, a target navigation path that meets set feature conditions may be screened out from the user's historical navigation path. The historical navigation path meeting the set feature conditions may be understood as the historical navigation path itself and the roads on the historical navigation path meeting the set feature conditions, and the set feature conditions correspond to the road features and path features corresponding to the historical navigation path.
[0046] In order to determine whether the historical navigation path meets the set feature conditions, the road and path features of the historical navigation path can be extracted first. The road and path features include the road features of each road on the historical navigation path and the path features of the historical navigation path. The following examples illustrate the road features and path features.
[0047] In this embodiment, both road features and path features refer to features in the refined road data. Road features may include:
[0048] 1) Road composition: such as roads with separated upper and lower lanes, roads within intersections, ramps, approach roads + ramps, servers + ramps, service areas + approach roads + ramps, etc.
[0049] 2) Road grade: such as expressway, national highway, urban expressway, etc.
[0050] 3) Road importance characteristics: such as functional level, connectivity, heat, traffic volume, etc., where roads are divided into different levels according to their functions. The higher the level, the stronger the function of the road. For example, highways, national highways and urban expressways have higher functional levels; connectivity can be measured by the number of roads connected to the road. The more connected roads are, the higher the connectivity is; heat and traffic volume can both be measured by the number of vehicles passing through the road. The more vehicles pass through, the higher the heat and the greater the traffic volume; the higher the functional level, the higher the connectivity, the higher the heat and the greater the traffic volume of the road, the more important its role in vehicle traffic.
[0051] 4) Road length: the straight or curved distance from the starting point to the end point of the road.
[0052] 5) Regional division: that is, the code of the area (such as the city) where the road is located.
[0053] 6) Whether the road is within the collection range of the set road data: Since the accuracy of the set road data is higher than that of the standard precision road data, its collection range does not currently cover the entire area, and usually covers the more core areas within the city. Therefore, the collection range of the set road data is the core area within the city covered by the set road data.
[0054] The following uses a city as an example to illustrate a quick way to determine whether a road is within the set road data collection range: Figure 2 As shown, the collection range of the set road data is shown in the black frame in the figure. In some embodiments, it is possible to determine whether a road is within the collection range of the set road data through indexing methods such as S2 grid, GeoHash, and Rtree, which can improve computing efficiency. As described above, the set road data is data with higher accuracy than the standard precision road data. Currently, the set road data does not cover the entire domain, but only covers some popular cities and / or popular areas in the city. Therefore, the collection range of the set road data is the area covered by the set road data.
[0055] Taking the S2 grid index as an example, firstly, the S2 grid index is calculated for the road shape points on the historical navigation path. The S2 grid index is used to represent the road shape points in Figure 2 The grid in the black frame shown is then used to calculate the S2 grid index of the collection range frame of the set road data, that is, the black frame. The S2 grid index is used to represent all grids spanned by the collection range. By matching the S2 grid indexes corresponding to all shape points on the road with the S2 grid index corresponding to the collection range of the set road data, it is determined whether all road shape points on the historical navigation path are enclosed in the collection range of the set road data.
[0056] Path features include:
[0057] 7) Path length: the sum of all road lengths on the historical navigation path.
[0058] In an optional implementation of this embodiment, based on the road and path characteristics, the step of selecting a target navigation path that meets the set characteristic conditions from the historical navigation paths may be implemented as follows:
[0059] Based on the road and path characteristics, a path whose path length is greater than or equal to a first set length and whose road grade meets a first grade requirement or whose road composition meets a first composition requirement is selected from the historical navigation paths as a target navigation path.
[0060] In this optional implementation, in order to improve the accuracy of quality evaluation of road matching relationships, the present disclosure selects paths that meet set characteristic conditions from historical navigation paths as target navigation paths, such as long-distance historical navigation paths that all involve high-speed roads, or historical navigation paths that all involve roads within a specified area (such as a city) within the set road data collection range.
[0061] In this embodiment, based on the characteristics of the path length, road grade and / or road composition, a long-distance historical navigation path in which all roads involve highways and freeways can be selected from the historical navigation path as the target navigation path. The set characteristic conditions that this type of target navigation path must meet include: the path length is greater than or equal to the first set length, and either the road grade meets the first level requirement, or the road composition meets the first composition requirement. The first set length is a larger value, and the corresponding value can be selected based on the path length that usually corresponds to the navigation path across cities, such as 50 kilometers. The first level requirement is, for example, a requirement that can only be met by the road grade corresponding to roads such as highways and freeways, and the first composition requirement is a requirement that can only be met by roads corresponding to JTC (ramp) or guide road + JCT or service area + JCT or service area + guide road + JCT, etc., that is, the road composition including the ramp meets the first composition requirement.
[0062] In an optional implementation of this embodiment, based on the road and path characteristics, the step of selecting a target navigation path that meets the set characteristic conditions from the historical navigation paths may be implemented as follows:
[0063] Based on the road and path characteristics, a path whose path length is greater than or equal to a second set length, the area to which the road belongs is a set area, the road importance characteristics within the set road data collection range meet the first set conditions, and the road importance characteristics outside the set road data collection range meet the second set conditions is selected from the historical navigation paths as the target navigation path.
[0064] In this optional implementation, target navigation paths involving all roads within a specified area (such as a city) within a set road data collection range can be screened from historical navigation paths based on features such as path length, the area described by the road, whether it is within the set road data collection range, and road set attributes. The set feature conditions that this type of target navigation path must meet include: the path length is greater than or equal to a second set length, the area to which the road belongs is a set area, the road importance features within the set road data collection range meet the first set conditions, and the road importance features not within the set road data collection range meet the second set conditions. The second set length is related to the set area, and may be the maximum value of the path length usually corresponding to the historical navigation path in the set area, such as 20 kilometers. The second set length is much smaller than the first set length. The set area may be a pre-designated city or other area. The road importance feature may include but is not limited to the functional level of the road, road connectivity, road popularity, road traffic volume, etc. The first set condition is different from the second set condition, that is, the conditions to be satisfied by the road importance features within the collection range of the set road data are different from the conditions to be satisfied by the road importance features outside the collection range of the set road data. The conditions to be satisfied by the road importance features within the collection range of the set road data may be lower than the conditions to be satisfied by the road importance features outside the collection range of the set road data. For example, taking the road importance feature as the functional level as an example, the roads within the collection range of the set road data must satisfy a functional level within the range of 1-5, while the roads outside the collection range of the set road data must satisfy a functional level within the range of 1-4. The larger the number corresponding to the functional level, the lower the functional level. For another example, taking the popularity of a road as an example, a road located within the collection range of set road data only needs to meet the popularity of general popularity, while a road located outside the collection range of set road data only needs to meet the popularity of relatively popular popularity.
[0065] In an optional implementation of this embodiment, step S103, i.e., the step of determining the quality of the road matching relationship based on the topological connectivity relationship between the target roads, can be implemented as follows:
[0066] Based on the topological connectivity relationship between the target roads, determining whether there is a unique topological connectivity path;
[0067] If there is a unique topologically connected path, the target navigation path is marked as a successful match;
[0068] The quality of the road matching relationship is determined based on the proportion of the successfully matched target navigation paths in all target navigation paths.
[0069] In this optional implementation, the topological connectivity relationship between the target roads is obtained from the set road data. As described above, if according to the accurate road matching relationship, the target roads corresponding to the target roads in the set road data in the target navigation path should be able to form a topological connectivity path, and this topological connectivity path is unique. Therefore, if it is determined based on the topological connectivity relationship between the target roads that the target roads can form a unique topological connectivity path, it means that at least the road matching relationship between the target roads and the target roads on the target navigation path is accurate. If the target roads cannot form a unique topological connectivity path, such as the target roads cannot form a complete topological connectivity path, or can form a complete topological connectivity path but it is not unique, then it means that at least the road matching relationship between the target roads and the target roads on the target navigation path is inaccurate.
[0070] like Figure 3A As shown in the figure, the target navigation path is S1->S2, and the high-precision roads matching the standard precision roads S1 and S2 are H1, H2 and H3, and the high-precision roads H1, H2 and H3 form a unique topological connection path H1->H2->H3. Figure 3A The target navigation path in is matched successfully. Figure 3B As shown in the figure, the target navigation path is S1->S2, and the high-precision roads matching the standard precision roads S1 and S2 are H1 and H3. In this case, since there is no matching high-precision road between H1 and H3, the high-precision roads H1 and H3 cannot form a topologically connected path, resulting in Figure 3B The target navigation path in the match failed. Figure 3C As shown in the figure, the target navigation path is S1->S2, and the high-precision roads matching the standard precision roads S1 and S2 are H1, H2, H3 and H4. The high-precision roads H1, H2, H3 and H4 form two topological connection paths, H1->H2->H3 and H1->H4. This is because S1 and S3 are incorrectly matched to the high-precision road H4, so the topological connection path formed is not unique, thus Figure 3B The target navigation path match in failed.
[0071] Based on this, a large number of target navigation paths are screened out, and the accuracy of the road matching relationship corresponding to each target navigation path is determined respectively, and then the overall quality of the road matching relationship between the marked road data and the set road data is determined based on the accuracy rate. For example, if N target navigation paths are screened out, and the road matching relationship corresponding to M target navigation paths is accurate, the overall quality of the road matching relationship can be determined based on the size of M / N.
[0072] In an optional implementation of this embodiment, the step of determining the quality of the road matching relationship based on the proportion of the successfully matched target navigation paths in all target navigation paths may be implemented as follows:
[0073] Based on the topological connectivity relationship between the target roads, a directed connectivity graph is constructed; wherein the graph nodes of the directed connectivity graph are located at both ends of the target road, the edges of the directed connectivity graph are located at the target road, and the direction of the edges of the directed connectivity graph is the road direction of the target road;
[0074] If the directed connected graph is unique, determining a target node associated with only one edge in the connected graph;
[0075] If there are two target nodes, it is determined whether there is a unique topological connection path between the target roads based on the connection path between the two target nodes.
[0076] In this optional implementation, the midpoints of the endpoints on the same side of the lane lines on the target road can be taken as graph nodes, and the midpoints of the two lane lines at the outermost edge of the target road can be taken as graph edges, and a directed connected graph is established based on the topological connectivity relationship between the target roads. The construction of a directed connected graph can refer to the existing technology.
[0077] If the established directed connected graph is not unique, it can be determined that the connected paths formed by these target roads are not unique, and it can also be determined that there is no unique topological connected path between the target roads.
[0078] If the directed connected graph is unique, it is necessary to further determine whether there is a unique topological connected path between the target roads corresponding to the starting point and the end point of the target navigation path. At this time, first determine whether there are two nodes in the directed connected graph, each of which is associated with only one edge. If so, the two nodes are determined as target nodes, and the target nodes are the nodes corresponding to the starting point and the end point on the target navigation path. Among them, if the number of nodes associated with only one edge in the directed connected graph is not 2, it means that there is no unique topological connected path between the target roads.
[0079] After the target nodes are determined, a connection path between the target nodes may be further determined, and based on the connection path, it may be determined whether there is a unique topological connection path between the target roads.
[0080] In an optional implementation of this embodiment, the step of determining whether there is a unique topological connection path between the target roads based on the connection path between the two target nodes can be implemented as follows:
[0081] If the connection path between the two target nodes is unique, it is determined that there is a unique topological connection path between the target roads;
[0082] If there are two connection paths between the two target nodes, and all target roads on the connection paths are bidirectional roads, it is determined that there is a unique topological connection path between the target roads.
[0083] In this optional implementation, if the connection path between two target nodes is unique, it can be determined that there is a unique topological connection path between the target roads. In addition, there is a special case, that is, the target roads are all two-way roads, in which case at least two connection paths will be formed between the target roads. Figure 3A For example, when H1, H2 and H3 are two-way roads, two connected paths can be obtained: H1->H2->H3, and H3->H1->H2. In this case, although the connected path between the two target nodes is not unique, the connected path between the starting point and the end point of the target navigation path is unique, so it is also considered that there is a unique topological connected path between the target roads.
[0084] In other cases, that is, when there are more than two connecting paths between the target nodes, or when there are two connecting paths between the target nodes, but at least one of the target roads is not a two-way road, it is considered that there is no unique connecting path between the target roads.
[0085] The device embodiments disclosed herein may be used to execute the method embodiments disclosed herein.
[0086] Figure 4 The structure block diagram of the device for determining the quality of road matching relationship according to an embodiment of the present disclosure is shown. The device can be implemented as part or all of an electronic device through software, hardware or a combination of both. Figure 4 As shown, the quality determination device of the road matching relationship includes:
[0087] The acquisition module 401 is configured to acquire a target navigation path; wherein the target navigation path is a path in the user's historical navigation paths that meets a set characteristic condition;
[0088] A first determination module 402 is configured to determine a target road in the set road data that matches the marked road on the target navigation path based on a road matching relationship between the marked road data and the set road data;
[0089] The second determination module 403 is configured to determine the quality of the road matching relationship based on the topological connectivity relationship between the target roads.
[0090] In this embodiment, the quality determination device of the road matching relationship can be implemented on a server or a computer device with corresponding computing power. The user's historical navigation path can be a navigation path planned and used by the user using the navigation application software, which can be obtained from the user's navigation log. The user navigation log can be automatically recorded on the navigation server during the user's navigation process. The user navigation log can record the user's navigation path, navigation time, navigation identifier used to indicate the navigation type (such as walking navigation, driving navigation type, etc.). For example, the user navigation log within the past week can be obtained, and the driving planning navigation path can be filtered out, and then a certain number of navigation paths can be randomly selected from the driving planning navigation path as the user's historical navigation path. It should be noted that the user navigation log can be the user navigation log of multiple users. The user navigation log can be stored on the navigation server.
[0091] The target navigation path may be a path selected from the user's historical navigation path and meeting the set characteristic conditions. The set characteristic conditions may include, but are not limited to, the roads on the user's historical navigation path and the conditions that the path characteristics must meet. Road and path characteristics include road characteristics and path characteristics. Road characteristics may include, but are not limited to, road composition, road grade, functional grade, road length, the area where the road is located (such as a city), whether the road is within the coverage of the set road data, etc.; path characteristics may include, but are not limited to, path length, etc. The target navigation path selected from the user's historical navigation path through both road characteristics and path characteristics is suitable for determining the quality of the road matching relationship. This method reduces information interference in the process of determining the quality of the road matching relationship by eliminating the historical navigation paths of other users that are not suitable for determining the quality of the road matching relationship, and can improve the accuracy of the quality of the road matching relationship.
[0092] In some embodiments, the set road data may be road data with higher accuracy than the standard precision road data, such as HD road data, HQ road data, etc. Among them, HD road data is high-precision road data, which has higher data accuracy than the standard precision road data, and contains richer lane-level information and road markers and other data, and the accuracy is usually at the decimeter level; while HQ road data combines the standard precision road data and HD road data, appropriately reduces the data accuracy and simplifies the road elements compared to the HD road data, and refers to the data coverage and freshness of the standard precision road data, and has the advantages of both the standard precision road data and HD road data, and has the characteristics of being lightweight and practical.
[0093] The road matching relationship can be a matching relationship between the precise road data obtained by the road matching device proposed according to the prior art and the road in the set road data. If the matching relationship is accurate, the matched precise road and the target road in the set road data represent road portions belonging to the same real road. If the matching relationship is inaccurate, the road portions represented by the precise road and the target road do not actually belong to the same real road.
[0094] The marked roads on the target navigation path form a unique topologically connected path, and the marked roads on the path should be able to form a unique topologically connected path for the target roads corresponding to the set road data. For example, if the target roads can form a topologically connected path, it means that at least corresponding to the target navigation path, the matching relationship between the marked roads and the target roads is accurate. If the target roads cannot form a unique topologically connected path, it means that at least corresponding to the target navigation path, the matching relationship between the marked roads and the target roads is inaccurate. Based on the above principles, the topological connectivity relationship between the target roads is used in the present disclosure to determine the quality of the road matching relationship.
[0095] In this embodiment, in order to evaluate the quality of the road matching relationship between the marked road data and the set road data, it is proposed to screen out the target navigation path that meets the set characteristic conditions from the user's historical navigation path, and then match the marked road on the target navigation path to the target road on the set road data based on the road matching relationship to be evaluated, so as to determine the quality of the road matching relationship to be evaluated based on the topological connectivity relationship between the target roads. In the above manner, the user's actual path is matched from the marked road data to the set road data using the road matching relationship, so as to determine the quality of the road matching relationship based on whether the matching result in the set road data conforms to the actual situation, thereby improving the accuracy of quality evaluation.
[0096] In an optional implementation of this embodiment, the acquisition module may be implemented as follows:
[0097] Get the user's historical navigation path;
[0098] Determine the road and path characteristics corresponding to the historical navigation path based on the marked road data;
[0099] Based on the road and path characteristics, a target navigation path that meets set characteristic conditions is selected from the historical navigation paths.
[0100] In this optional implementation, as described above, the user's historical navigation path may be the navigation path taken by the user within a historical time period. In order to improve the accuracy of quality evaluation of road matching relationships, a target navigation path that meets set feature conditions may be screened out from the user's historical navigation path. The historical navigation path meeting the set feature conditions may be understood as the historical navigation path itself and the roads on the historical navigation path meeting the set feature conditions, and the set feature conditions correspond to the road features and path features corresponding to the historical navigation path.
[0101] In order to determine whether the historical navigation path meets the set feature conditions, the road and path features of the historical navigation path can be extracted first. The road and path features include the road features of each road on the historical navigation path and the path features of the historical navigation path. The following examples illustrate the road features and path features.
[0102] In this embodiment, both road features and path features refer to features in the refined road data. Road features may include:
[0103] 1) Road composition: such as roads with separated upper and lower lanes, roads within intersections, ramps, approach roads + ramps, servers + ramps, service areas + approach roads + ramps, etc.
[0104] 2) Road grade: such as expressway, national highway, urban expressway, etc.
[0105] 3) Road importance characteristics: such as functional level, connectivity, heat, traffic volume, etc., where roads are divided into different levels according to their functions. The higher the level, the stronger the function of the road. For example, highways, national highways and urban expressways have higher functional levels; connectivity can be measured by the number of roads connected to the road. The more connected roads are, the higher the connectivity is; heat and traffic volume can both be measured by the number of vehicles passing through the road. The more vehicles pass through, the higher the heat and the greater the traffic volume; the higher the functional level, the higher the connectivity, the higher the heat and the greater the traffic volume of the road, the more important its role in vehicle traffic.
[0106] 4) Road length: the straight or curved distance from the starting point to the end point of the road.
[0107] 5) Regional division: that is, the code of the area (such as the city) where the road is located.
[0108] 6) Whether the road is within the collection range of the set road data: Since the accuracy of the set road data is higher than that of the standard precision road data, its collection range does not currently cover the entire area, and usually covers the more core areas within the city. Therefore, the collection range of the set road data is the core area within the city covered by the set road data.
[0109] The following uses a city as an example to illustrate a quick way to determine whether a road is within the set road data collection range: Figure 2 As shown, the collection range of the set road data is shown in the black frame in the figure. In some embodiments, it is possible to determine whether a road is within the collection range of the set road data through indexing methods such as S2 grid, GeoHash, and Rtree, which can improve computing efficiency. As described above, the set road data is data with higher accuracy than the standard precision road data. Currently, the set road data does not cover the entire domain, but only covers some popular cities and / or popular areas in the city. Therefore, the collection range of the set road data is the area covered by the set road data.
[0110] Taking the S2 grid index as an example, firstly, the S2 grid index is calculated for the road shape points on the historical navigation path. The S2 grid index is used to represent the road shape points in Figure 2 The grid in the black frame shown is then used to calculate the S2 grid index of the collection range frame of the set road data, that is, the black frame. The S2 grid index is used to represent all grids spanned by the collection range. By matching the S2 grid indexes corresponding to all shape points on the road with the S2 grid index corresponding to the collection range of the set road data, it is determined whether all road shape points on the historical navigation path are enclosed in the collection range of the set road data.
[0111] Path features include:
[0112] 7) Path length: the sum of all road lengths on the historical navigation path.
[0113] In an optional implementation of this embodiment, based on the road and path characteristics, selecting a target navigation path that meets the set characteristic conditions from the historical navigation paths can be implemented as follows:
[0114] Based on the road and path characteristics, a path whose path length is greater than or equal to a first set length and whose road grade meets a first grade requirement or whose road composition meets a first composition requirement is selected from the historical navigation paths as a target navigation path.
[0115] In this optional implementation, in order to improve the accuracy of quality evaluation of road matching relationships, the present disclosure selects paths that meet set characteristic conditions from historical navigation paths as target navigation paths, such as long-distance historical navigation paths that all involve high-speed roads, or historical navigation paths that all involve roads within a specified area (such as a city) within the set road data collection range.
[0116] In this embodiment, based on the characteristics of the path length, road grade and / or road composition, a long-distance historical navigation path in which all roads involve highways and expressways can be selected from the historical navigation path as the target navigation path. The set characteristic conditions that this type of target navigation path must meet include: the path length is greater than or equal to the first set length, and the road grade meets the first level requirement or the road composition meets the first composition requirement. The first set length is a larger value, and the corresponding value can be selected based on the path length that usually corresponds to the navigation path across cities, for example, it can be 50 kilometers. The first level requirement is, for example, a requirement that can only be met by the road grade corresponding to roads such as highways and expressways, and the first composition requirement is a requirement that can only be met by roads corresponding to JTC (ramp) or guide road + JCT or service area + JCT or service area + guide road + JCT, etc., that is, the road composition including the ramp meets the first composition requirement.
[0117] In an optional implementation of this embodiment, based on the road and path characteristics, selecting a target navigation path that meets the set characteristic conditions from the historical navigation paths can be implemented as follows:
[0118] Based on the road and path characteristics, a path whose path length is greater than or equal to a second set length, the area to which the road belongs is a set area, the road importance characteristics within the set road data collection range meet the first set conditions, and the road importance characteristics outside the set road data collection range meet the second set conditions is selected from the historical navigation paths as the target navigation path.
[0119] In this optional implementation, target navigation paths involving all roads within a specified area (such as a city) within a set road data collection range can be screened from historical navigation paths based on features such as path length, the area described by the road, whether it is within the set road data collection range, and road set attributes. The set feature conditions that this type of target navigation path must meet include: the path length is greater than or equal to a second set length, the area to which the road belongs is a set area, the road importance features within the set road data collection range meet the first set conditions, and the road importance features not within the set road data collection range meet the second set conditions. The second set length is related to the set area, and may be the maximum value of the path length usually corresponding to the historical navigation path in the set area, such as 20 kilometers. The second set length is much smaller than the first set length. The set area may be a pre-designated city or other area. The road importance feature may include but is not limited to the functional level of the road, road connectivity, road popularity, road traffic volume, etc. The first set condition is different from the second set condition, that is, the conditions to be satisfied by the road importance features within the collection range of the set road data are different from the conditions to be satisfied by the road importance features outside the collection range of the set road data. The conditions to be satisfied by the road importance features within the collection range of the set road data may be lower than the conditions to be satisfied by the road importance features outside the collection range of the set road data. For example, taking the road importance feature as the functional level as an example, the roads within the collection range of the set road data must satisfy a functional level within the range of 1-5, while the roads outside the collection range of the set road data must satisfy a functional level within the range of 1-4. The larger the number corresponding to the functional level, the lower the functional level. For another example, taking the popularity of a road as an example, a road located within the collection range of set road data only needs to meet the popularity of general popularity, while a road located outside the collection range of set road data only needs to meet the popularity of relatively popular popularity.
[0120] In an optional implementation of this embodiment, the second determining module may be implemented as follows:
[0121] Based on the topological connectivity relationship between the target roads, determining whether there is a unique topological connectivity path;
[0122] If there is a unique topologically connected path, the target navigation path is marked as a successful match;
[0123] The quality of the road matching relationship is determined based on the proportion of the successfully matched target navigation paths in all target navigation paths.
[0124] In this optional implementation, the topological connectivity relationship between the target roads is obtained from the set road data. As described above, if according to the accurate road matching relationship, the target roads corresponding to the target roads in the set road data in the target navigation path should be able to form a topological connectivity path, and this topological connectivity path is unique. Therefore, if it is determined based on the topological connectivity relationship between the target roads that the target roads can form a unique topological connectivity path, it means that at least the road matching relationship between the target roads and the target roads on the target navigation path is accurate. If the target roads cannot form a unique topological connectivity path, such as the target roads cannot form a complete topological connectivity path, or can form a complete topological connectivity path but it is not unique, then it means that at least the road matching relationship between the target roads and the target roads on the target navigation path is inaccurate.
[0125] like Figure 3A As shown in the figure, the target navigation path is S1->S2, and the high-precision roads matching the standard precision roads S1 and S2 are H1, H2 and H3, and the high-precision roads H1, H2 and H3 form a unique topological connection path H1->H2->H3. Figure 3A The target navigation path in is matched successfully. Figure 3B As shown in the figure, the target navigation path is S1->S2, and the high-precision roads matching the standard precision roads S1 and S2 are H1 and H3. In this case, since there is no matching high-precision road between H1 and H3, the high-precision roads H1 and H3 cannot form a topologically connected path, resulting in Figure 3B The target navigation path in the match failed. Figure 3C As shown in the figure, the target navigation path is S1->S2, and the high-precision roads matching the standard precision roads S1 and S2 are H1, H2, H3 and H4. The high-precision roads H1, H2, H3 and H4 form two topological connection paths, H1->H2->H3 and H1->H4. This is because S1 and S3 are incorrectly matched to the high-precision road H4, so the topological connection path formed is not unique, thus Figure 3B The target navigation path match in failed.
[0126] Based on this, a large number of target navigation paths are screened out, and the accuracy of the road matching relationship corresponding to each target navigation path is determined respectively, and then the overall quality of the road matching relationship between the marked road data and the set road data is determined based on the accuracy rate. For example, if N target navigation paths are screened out, and the road matching relationship corresponding to M target navigation paths is accurate, the overall quality of the road matching relationship can be determined based on the size of M / N.
[0127] In an optional implementation of this embodiment, the quality of the road matching relationship is determined based on the proportion of the successfully matched target navigation paths in all target navigation paths, which can be implemented as follows:
[0128] Based on the topological connectivity relationship between the target roads, a directed connectivity graph is constructed; wherein the graph nodes of the directed connectivity graph are located at both ends of the target road, the edges of the directed connectivity graph are located at the target road, and the direction of the edges of the directed connectivity graph is the road direction of the target road;
[0129] If the directed connected graph is unique, determining a target node associated with only one edge in the connected graph;
[0130] If there are two target nodes, it is determined whether there is a unique topological connection path between the target roads based on the connection path between the two target nodes.
[0131] In this optional implementation, the midpoints of the endpoints on the same side of the lane lines on the target road can be taken as graph nodes, and the midpoints of the two lane lines at the outermost edge of the target road can be taken as graph edges, and a directed connected graph is established based on the topological connectivity relationship between the target roads. The construction of a directed connected graph can refer to the existing technology.
[0132] If the established directed connected graph is not unique, it can be determined that the connected paths formed by these target roads are not unique, and it can also be determined that there is no unique topological connected path between the target roads.
[0133] If the directed connected graph is unique, it is necessary to further determine whether there is a unique topological connected path between the target roads corresponding to the starting point and the end point of the target navigation path. At this time, first determine whether there are two nodes in the directed connected graph, each of which is associated with only one edge. If so, the two nodes are determined as target nodes, and the target nodes are the nodes corresponding to the starting point and the end point on the target navigation path. Among them, if the number of nodes associated with only one edge in the directed connected graph is not 2, it means that there is no unique topological connected path between the target roads.
[0134] After the target nodes are determined, a connection path between the target nodes may be further determined, and based on the connection path, it may be determined whether there is a unique topological connection path between the target roads.
[0135] In an optional implementation of this embodiment, based on the connection path between the two target nodes, determining whether there is a unique topological connection path between the target roads can be implemented as follows:
[0136] If the connection path between the two target nodes is unique, it is determined that there is a unique topological connection path between the target roads;
[0137] If there are two connection paths between the two target nodes, and all target roads on the connection paths are bidirectional roads, it is determined that there is a unique topological connection path between the target roads.
[0138] In this optional implementation, if the connection path between two target nodes is unique, it can be determined that there is a unique topological connection path between the target roads. In addition, there is a special case, that is, the target roads are all two-way roads, in which case at least two connection paths will be formed between the target roads. Figure 3A For example, when H1, H2 and H3 are two-way roads, two connected paths can be obtained: H1->H2->H3, and H3->H1->H2. In this case, although the connected path between the two target nodes is not unique, the connected path between the starting point and the end point of the target navigation path is unique, so it is also considered that there is a unique topological connected path between the target roads.
[0139] In other cases, that is, when there are more than two connecting paths between the target nodes, or when there are two connecting paths between the target nodes, but at least one of the target roads is not a two-way road, it is considered that there is no unique connecting path between the target roads.
[0140] 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.
[0141] 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.
[0142] The present disclosure also discloses an electronic device, Figure 5 A structural block diagram of an electronic device provided by an embodiment of the present disclosure is shown as follows: Figure 5 As shown, the electronic device 500 includes a memory 501 and a processor 502; wherein,
[0143] 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.
[0144] Figure 6 It is a structural diagram of a computer system suitable for implementing the road matching relationship quality determination method provided in one embodiment of the present disclosure.
[0145] 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.
[0146] 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.
[0147] 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.
[0148] 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.
[0149] 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.
[0150] 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.
[0151] 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 determining the quality of road matching relationships, in, include: Obtaining a target navigation path; wherein the target navigation path is a path in the user's historical navigation paths that meets a set characteristic condition; Based on the road matching relationship between the marked precise road data and the set road data, determining a target road in the set road data that matches the marked precise road on the target navigation path; Based on the topological connectivity relationship between the target roads, determining whether there is a unique topological connectivity path; If there is a unique topologically connected path, the target navigation path is marked as a successful match; The quality of the road matching relationship is determined based on the proportion of the successfully matched target navigation paths in all target navigation paths.
2. The method according to claim 1, in, Get the target navigation path, including: Get the user's historical navigation path; Determine the road and path characteristics corresponding to the historical navigation path based on the marked road data; Based on the road and path characteristics, a target navigation path that meets set characteristic conditions is selected from the historical navigation paths.
3. The method according to claim 2, in, Based on the road and path characteristics, a target navigation path that meets the set characteristic conditions is selected from the historical navigation paths, including: Based on the road and path characteristics, a path whose path length is greater than or equal to a first set length and whose road grade meets a first grade requirement or whose road composition meets a first composition requirement is selected from the historical navigation paths as a target navigation path.
4. The method according to claim 2, in, Based on the road and path characteristics, a target navigation path that meets the set characteristic conditions is selected from the historical navigation paths, including: Based on the road and path characteristics, a path whose path length is greater than or equal to a second set length, the area to which the road belongs is a set area, the road importance characteristics within the set road data collection range meet the first set conditions, and the road importance characteristics outside the set road data collection range meet the second set conditions is selected from the historical navigation paths as the target navigation path.
5. The method according to claim 1, in, Determining whether there is a unique topologically connected path based on the topological connectivity relationship between the target roads includes: Based on the topological connectivity relationship between the target roads, a directed connectivity graph is constructed; wherein the graph nodes of the directed connectivity graph are located at both ends of the target road, the edges of the directed connectivity graph are located at the target road, and the direction of the edges of the directed connectivity graph is the road direction of the target road; If the directed connected graph is unique, determining a target node associated with only one edge in the connected graph; If there are two target nodes, it is determined whether there is a unique topological connection path between the target roads based on the connection path between the two target nodes.
6. The method according to claim 5, in, Determining whether there is a unique topological connection path between the target roads based on the connection path between the two target nodes includes: If the connection path between the two target nodes is unique, it is determined that there is a unique topological connection path between the target roads; If there are two connection paths between the two target nodes, and all target roads on the connection paths are bidirectional roads, it is determined that there is a unique topological connection path between the target roads.
7. A device for determining the quality of a road matching relationship, in, include: An acquisition module is configured to acquire a target navigation path; wherein the target navigation path is a path in the user's historical navigation paths that meets a set characteristic condition; A first determination module is configured to determine a target road in the set road data that matches the marked road on the target navigation path based on a road matching relationship between the marked road data and the set road data; The second determination module is configured to determine whether there is a unique topologically connected path based on the topological connectivity relationship between the target roads. If there is a unique topologically connected path, the target navigation path is identified as a successful match, and the quality of the road matching relationship is determined based on the proportion of the successfully matched target navigation paths in all target navigation paths.
8. 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 6.
9. 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 6 is implemented.
