Positioning result detection method, device, electronic device and storage medium
By rasterizing the environmental sensing information collected by positioning equipment and the target scene information in the map, and calculating position covariance and other indicators, the problem of judging positioning results in scenes with high positioning uncertainty is solved, and accurate positioning results are achieved. Effectiveness evaluation,for intelligent navigation of vehicles and robots.
Patent Information
- Application Number
- CN202110342234.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-30
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-03-30
AI Technical Summary
It is difficult for existing technology to accurately judge the effectiveness of positioning results in scenarios with large positioning uncertainty, especially in complex environments such as vehicle movement.
By obtaining the positioning results of the positioning device and the environmental sensing information collected by the associated sensor, combined with the target scene information in the pre-constructed map, rasterization is performed to calculate the position covariance, angle variance, similarity entropy and matching score to determine Validity of positioning results.
It can accurately judge the validity of positioning results in scenarios with greater uncertainty, improves the accuracy and reliability of positioning results, and is suitable for intelligent and automated navigation of vehicles and robots.
Smart Images

Figure CN113011517B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of positioning technology, and in particular to a positioning result detection method, device, electronic device, and storage medium. Background Art
[0002] With the development of technology, vehicles and robots have come to play an important role in people's lives. The accuracy of positioning and navigation for vehicles and robots is crucial to their intelligence and automation, and effectively identifying the uncertainty of positioning results is a prerequisite for ensuring the reliability of positioning results.
[0003] Generally, the uncertainty of a positioning result can be assessed by comparing the current positioning result with the previous one. However, this method cannot accurately determine the positioning result in scenarios with significant uncertainty, such as when the vehicle is moving but the positioning result returns that the vehicle is stationary. Therefore, it is particularly important to propose a method that can accurately assess the uncertainty of positioning results from multiple perspectives. Summary of the Invention
[0004] In view of this, this disclosure provides at least one method, apparatus, electronic device and storage medium for detecting positioning results.
[0005] In a first aspect, the present disclosure provides a positioning result detection method, comprising:
[0006] The positioning result of the positioning device and the first environmental sensing information collected by the sensors associated with the positioning device at the location indicated by the positioning result are obtained.
[0007] The second environmental sensing information of the target scene corresponding to the positioning location indicated by the positioning result is obtained according to the pre-constructed map, wherein the map includes environmental sensing information of multiple positioning locations;
[0008] The second environmental sensing information is rasterized, and the validity detection result of the positioning result is determined based on the rasterized second environmental sensing information and the first environmental sensing information.
[0009] Using the above method, the positioning results of the positioning device and the first environmental sensing information collected by the sensors associated with the positioning device at the location indicated by the positioning results are obtained. Then, the second environmental sensing information of the target scene corresponding to the positioning location indicated by the positioning results is obtained according to the pre-constructed map. The second environmental sensing information can be regarded as the standard environmental sensing information corresponding to the positioning results. When the difference between the first environmental sensing information and the second environmental sensing information is small, the accuracy of the positioning results is large and the effectiveness of the positioning results is large. Then, by using the second environmental sensing information and the first environmental sensing information after rasterization, the effectiveness detection result of the positioning results can be determined more accurately.
[0010] At the same time, in scenarios with greater uncertainty, the difference between the positioning result at the previous moment and the positioning result at the current moment is relatively large. Compared with the solution that uses historical positioning results to determine the validity of the current positioning result, this solution can accurately judge the positioning results in scenarios with greater uncertainty.
[0011] In a possible implementation, the first environmental sensing information includes a first sensor image, and the second environmental sensing information includes a second sensor image; and / or
[0012] The first environmental sensing information includes first point cloud data, and the second environmental sensing information includes second point cloud data.
[0013] In one possible implementation, determining the validity detection result of the positioning result based on the rasterized second environmental sensing information and the first environmental sensing information includes:
[0014] Determining evaluation data corresponding to the positioning result based on the second environmental sensing information and the first environmental sensing information after rasterization processing;
[0015] Based on the evaluation data, the validity test result of the positioning result is determined.
[0016] In one possible implementation, determining the evaluation data corresponding to the positioning result based on the rasterized second environmental sensing information and the first environmental sensing information includes:
[0017] Determining, based on the rasterized second environmental sensor information and the first environmental sensor information, a score for a local area corresponding to each grid position in the second environmental sensor information, wherein the score is used to represent a similarity between the local area at the grid position and a corresponding local area in the first environmental sensor information;
[0018] Based on the scores of the local areas corresponding to the respective grid positions, evaluation data corresponding to the positioning results are determined.
[0019] In one possible implementation, determining the evaluation data corresponding to the positioning result based on the score of the local region corresponding to each grid position includes:
[0020] Determining a similarity probability value between the local area corresponding to each grid position and the corresponding local area in the first environmental sensing information based on the scores of the local areas corresponding to the respective grid positions;
[0021] Based on the similarity probability values of the local areas corresponding to the respective grid positions, evaluation data corresponding to the positioning results are determined.
[0022] In one possible implementation, when the evaluation data includes position covariance, determining the evaluation data corresponding to the positioning result based on the similarity probability value of the local area corresponding to each grid position includes:
[0023] Select at least one target reference point from the local area corresponding to other grid positions besides the grid position where the positioning result is located;
[0024] Determining a position covariance corresponding to the positioning result based on a similarity probability value of the local area corresponding to each target reference point, candidate position information corresponding to the target reference point, and target position information indicated by the positioning result;
[0025] The location covariance is used to characterize the uncertainty of the location information indicated in the positioning result;
[0026] The determination of the validity of the positioning result based on the evaluation data includes:
[0027] When the position covariance is less than a set first threshold, the positioning result is determined to be a valid positioning result.
[0028] In one possible implementation, when the evaluation data includes angle variance, determining the evaluation data corresponding to the positioning result based on the similarity probability value of the local area corresponding to each grid position includes:
[0029] Based on the similarity probability value of the local region corresponding to each grid position, the location covariance corresponding to the positioning result is determined;
[0030] Based on the target element value located on the main diagonal in the position covariance, determine the angle variance corresponding to the positioning result;
[0031] The angular variance is used to characterize the uncertainty of the orientation information indicated in the positioning result;
[0032] The determination of the validity of the positioning result based on the evaluation data includes:
[0033] When the angle variance is less than a set second threshold, the positioning result is determined to be a valid positioning result.
[0034] In one possible implementation, when the evaluation data includes similarity entropy, determining the evaluation data corresponding to the localization result based on the similarity probability value of the local region corresponding to each grid position includes:
[0035] Determining the similarity entropy corresponding to the positioning result based on the similarity probability value of the local area corresponding to each grid position and the logarithm of the similarity probability value corresponding to each grid position;
[0036] Wherein, the similarity entropy is used to characterize the uncertainty of the positioning result;
[0037] The determination of the validity of the positioning result based on the evaluation data includes:
[0038] When the similarity entropy is less than a set third threshold, the positioning result is determined to be a valid positioning result.
[0039] In one possible implementation, when the evaluation data includes matching scores, determining the evaluation data corresponding to the localization result based on the similarity probability values of the local regions corresponding to each grid position includes:
[0040] Determine the ratio between the similarity probability value of the local region corresponding to other grid positions besides the grid position where the positioning result is located, and the similarity probability value of the local region corresponding to the grid position where the positioning result is located;
[0041] The largest ratio is selected from the ratios corresponding to other grid positions and used as the matching score corresponding to the positioning result;
[0042] Wherein, the matching score represents the uncertainty of the positioning result;
[0043] The determination of the validity of the positioning result based on the evaluation data includes:
[0044] When the matching score is less than a set fourth threshold, the positioning result is determined to be a valid positioning result.
[0045] In one possible implementation, after determining the validity detection result of the positioning result based on the rasterized second environmental sensing information and the first environmental sensing information, the method further includes:
[0046] When the validity detection result of the positioning result is a valid positioning result, a driving path of a driving device equipped with the positioning device and / or the sensor is controlled based on the positioning result.
[0047] The description of the effects of the following devices, electronic equipment, etc. can be found in the description of the above method and will not be repeated here.
[0048] In a second aspect, the present disclosure provides a positioning result detection device, comprising:
[0049] An acquisition module, configured to acquire a positioning result of a positioning device and first environmental sensing information collected by a sensor associated with the positioning device at a position indicated by the positioning result;
[0050] a first determining module, configured to obtain, based on a pre-constructed map, second environmental sensing information of a target scene corresponding to the positioning position indicated by the positioning result, wherein the map includes environmental sensing information of a plurality of positioning positions;
[0051] The second determination module is configured to perform rasterization processing on the second environmental sensing information, and determine a validity detection result of the positioning result based on the rasterized second environmental sensing information and the first environmental sensing information.
[0052] In a possible implementation, the first environmental sensing information includes a first sensor image, and the second environmental sensing information includes a second sensor image; and / or
[0053] The first environmental sensing information includes first point cloud data, and the second environmental sensing information includes second point cloud data.
[0054] In a possible implementation manner, the second determining module is configured to determine a validity detection result of the positioning result in the following manner:
[0055] Determining evaluation data corresponding to the positioning result based on the second environmental sensing information and the first environmental sensing information after rasterization processing;
[0056] Based on the evaluation data, the validity test result of the positioning result is determined.
[0057] In a possible implementation manner, the second determining module is configured to determine the evaluation data corresponding to the positioning result in the following manner:
[0058] Determining, based on the rasterized second environmental sensor information and the first environmental sensor information, a score for a local area corresponding to each grid position in the second environmental sensor information, wherein the score is used to represent a similarity between the local area at the grid position and a corresponding local area in the first environmental sensor information;
[0059] Based on the scores of the local areas corresponding to the respective grid positions, evaluation data corresponding to the positioning results are determined.
[0060] In a possible implementation, the second determining module is further configured to determine the evaluation data corresponding to the positioning result in the following manner:
[0061] Determining a similarity probability value between the local area corresponding to each grid position and the corresponding local area in the first environmental sensing information based on the scores of the local areas corresponding to the respective grid positions;
[0062] Based on the similarity probability values of the local areas corresponding to the respective grid positions, evaluation data corresponding to the positioning results are determined.
[0063] In a possible implementation, when the evaluation data includes position covariance, the second determination module is further configured to determine the evaluation data corresponding to the positioning result in the following manner:
[0064] Select at least one target reference point from the local area corresponding to other grid positions besides the grid position where the positioning result is located;
[0065] Determining a position covariance corresponding to the positioning result based on a similarity probability value of the local area corresponding to each target reference point, candidate position information corresponding to the target reference point, and target position information indicated by the positioning result;
[0066] The location covariance is used to characterize the uncertainty of the location information indicated in the positioning result;
[0067] The second determining module is configured to determine a validity detection result of the positioning result in the following manner:
[0068] When the position covariance is less than a set first threshold, the positioning result is determined to be a valid positioning result.
[0069] In a possible implementation, when the evaluation data includes angle variance, the second determination module is further configured to determine the evaluation data corresponding to the positioning result in the following manner:
[0070] Based on the similarity probability value of the local region corresponding to each grid position, the location covariance corresponding to the positioning result is determined;
[0071] Based on the target element value located on the main diagonal in the position covariance, determine the angle variance corresponding to the positioning result;
[0072] The angular variance is used to characterize the uncertainty of the orientation information indicated in the positioning result;
[0073] The second determining module is configured to determine a validity detection result of the positioning result in the following manner:
[0074] When the angle variance is less than a set second threshold, the positioning result is determined to be a valid positioning result.
[0075] In a possible implementation, when the evaluation data includes similarity entropy, the second determination module is further configured to determine the evaluation data corresponding to the positioning result in the following manner:
[0076] Determining the similarity entropy corresponding to the positioning result based on the similarity probability value of the local area corresponding to each grid position and the logarithm of the similarity probability value corresponding to each grid position;
[0077] Wherein, the similarity entropy is used to characterize the uncertainty of the positioning result;
[0078] The second determining module is configured to determine a validity detection result of the positioning result in the following manner:
[0079] When the similarity entropy is less than a set third threshold, the positioning result is determined to be a valid positioning result.
[0080] In a possible implementation, when the evaluation data includes a matching score, the second determination module is further configured to determine the evaluation data corresponding to the positioning result in the following manner:
[0081] Determine the ratio between the similarity probability value of the local region corresponding to other grid positions besides the grid position where the positioning result is located, and the similarity probability value of the local region corresponding to the grid position where the positioning result is located;
[0082] The largest ratio is selected from the ratios corresponding to other grid positions and used as the matching score corresponding to the positioning result;
[0083] Wherein, the matching score represents the uncertainty of the positioning result;
[0084] The second determining module is configured to determine a validity detection result of the positioning result in the following manner:
[0085] When the matching score is less than a set fourth threshold, the positioning result is determined to be a valid positioning result.
[0086] In a possible implementation, the device further includes a control module configured to:
[0087] After the second determining module determines the validity detection result of the positioning result based on the second environmental sensing information and the first environmental sensing information after rasterization processing,
[0088] When the validity detection result of the positioning result is a valid positioning result, a driving path of a driving device equipped with the positioning device and / or the sensor is controlled based on the positioning result.
[0089] In a third aspect, the present disclosure provides an electronic device comprising: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the positioning result detection method described in the first aspect or any embodiment are performed.
[0090] In a fourth aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the positioning result detection method as described in the first aspect or any embodiment above are executed.
[0091] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0092] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments. The drawings herein are incorporated into and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and, together with the specification, are used to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without inventive effort.
[0093] Figure 1 A schematic diagram of a flow chart of a positioning result detection method provided by an embodiment of the present disclosure is shown;
[0094] Figure 2a A schematic diagram showing rasterized second environment sensing information in a positioning result detection method provided by an embodiment of the present disclosure is shown;
[0095] Figure 2b A schematic diagram showing rasterized second environment sensing information in a positioning result detection method provided by an embodiment of the present disclosure is shown;
[0096] Figure 2c A schematic diagram showing rasterized second environment sensing information in a positioning result detection method provided by an embodiment of the present disclosure is shown;
[0097] Figure 3 A flowchart illustrating a specific implementation method for determining evaluation data corresponding to a positioning result in an embodiment of the present disclosure is shown;
[0098] Figure 4 A schematic diagram showing rasterized second environment sensing information in a positioning result detection method provided by an embodiment of the present disclosure is shown;
[0099] Figure 5 A schematic diagram of the architecture of a positioning result detection device provided by an embodiment of the present disclosure is shown;
[0100] Figure 6 A structural schematic diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0101] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present disclosure.
[0102] Generally, the uncertainty of a positioning result can be determined by the difference between the current positioning result and the positioning result at the previous moment. However, this approach cannot accurately determine the positioning result in scenarios with large positioning uncertainty, such as when a vehicle is moving but the positioning result indicates that the vehicle is stationary. Therefore, to address this issue and more accurately determine the uncertainty of positioning results, the present disclosure provides a positioning result detection method, apparatus, electronic device, and storage medium.
[0103] The shortcomings of the above solutions are the result of the inventor's practical experience and careful research. Therefore, the discovery process of the above problems and the solutions proposed in this disclosure below should be considered as the inventor's contribution to this disclosure.
[0104] The technical solutions in the present disclosure will be clearly and completely described below in conjunction with the drawings in the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the present disclosure generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present disclosure.
[0105] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0106] To facilitate understanding of the embodiments of the present disclosure, a positioning result detection method disclosed in the embodiments of the present disclosure is first introduced in detail. The execution subject of the positioning result detection method provided in the embodiments of the present disclosure is generally a computer device with a certain computing capability, and the computer device includes, for example: a terminal device or a server or other processing device. The terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the positioning result detection method can be implemented by a processor calling a computer-readable instruction stored in a memory.
[0107] See also Figure 1 The diagram shown is a flowchart illustrating the positioning result detection method provided in this embodiment of the present disclosure. The method includes steps S101-S103, wherein:
[0108] S101, Obtain the positioning result of the positioning device and the first environmental sensing information collected by the sensor associated with the positioning device at the location indicated by the positioning result;
[0109] S102, obtain the second environmental sensing information of the target scene corresponding to the positioning location indicated by the positioning result according to the pre-constructed map, wherein the map includes environmental sensing information of multiple positioning locations;
[0110] S103, the second environmental sensing information is rasterized, and the validity detection result of the positioning result is determined based on the rasterized second environmental sensing information and the first environmental sensing information.
[0111] In the above method, the positioning results of the positioning device and the first environmental sensing information collected by the sensors associated with the positioning device at the location indicated by the positioning results are obtained. The second environmental sensing information of the target scene corresponding to the positioning location indicated by the positioning results is obtained according to the pre-built map. The second environmental sensing information can be regarded as the standard environmental sensing information corresponding to the positioning results. When the difference between the first environmental sensing information and the second environmental sensing information is small, the accuracy of the positioning results is large and the effectiveness of the positioning results is large. Then, by using the second environmental sensing information and the first environmental sensing information after rasterization, the effectiveness detection result of the positioning results can be determined more accurately.
[0112] At the same time, in scenarios with greater uncertainty, the difference between the positioning result at the previous moment and the positioning result at the current moment is relatively large. Compared with the solution that uses historical positioning results to determine the validity of the current positioning result, this solution can accurately judge the positioning results in scenarios with greater uncertainty.
[0113] The following provides a detailed explanation of S101-S103.
[0114] For S101 and S102:
[0115] Here, the positioning device may be any device capable of determining a positioning result, for example, the positioning device may be a Global Positioning System (GPS), etc. Sensors associated with the positioning device include but are not limited to visual sensors, laser radars, etc.
[0116] In one application scenario, the positioning device and the sensor may be mounted on a traveling device. The positioning device may determine a positioning result of the traveling device, and the sensor may obtain first environmental sensing information collected at a location indicated by the positioning result.
[0117] The first environmental sensing information may include a first sensor image and / or first point cloud data. For example, when the sensor is a visual sensor, the first environmental sensing information may be a first sensor image; when the sensor is a lidar, the first environmental sensor may be a first point cloud data.
[0118] After obtaining the positioning result from the positioning device, the second environmental sensing information of the target scene corresponding to the positioning location indicated by the positioning result can be obtained according to the pre-constructed map. The pre-constructed map includes environmental sensing information of multiple positioning locations. Specifically, when the first environmental sensing information is a first sensing image, the second environmental sensing information is a second sensing image; when the second environmental sensing information is first point cloud data, the second environmental sensing information is second point cloud data.
[0119] For example, the target range can be determined by taking the positioning result of the positioning device as the center, extending 10 meters forward, 10 meters backward, 5 meters left, and 5 meters right, and obtaining a second sensor image or second point cloud data within the target range from a pre-constructed map as the second environmental sensor information of the target scene corresponding to the positioning result. The first environmental sensor information can also include the first sensor image or first point cloud data within a range of 20 meters front and back and 10 meters left and right, taking the positioning result of the positioning device as the center.
[0120] In specific implementations, a map can be constructed according to the following steps: Multiple frames of scene images at different positioning locations are acquired, and a map is constructed using the multiple frames of scene images. For example, the multiple frames of scene images can be feature-stitched to construct a map, where the map includes environmental sensor images at multiple positioning locations. Alternatively, multiple frames of scene images at different positioning locations can be acquired, and feature information of feature points in each frame of the scene images can be extracted. The feature information of the feature points included in the multiple frames of scene images can then be used to construct a map, where the map includes point cloud data from multiple positioning locations.
[0121] For S103:
[0122] Here, the second environmental sensing information can be rasterized to obtain the second environmental sensing information after rasterization. For example, when the second environmental sensing information is a second sensor image, the second sensor image can be uniformly rasterized according to a set number of grids or a set grid size to obtain a second sensor image after rasterization in which each grid has the same shape and size. Figure 2a As shown. Alternatively, the second sensor image can be non-uniformly rasterized according to a set number of grids or a set grid size to obtain a rasterized second sensor image with different shapes and / or sizes for each grid cell. See [link to relevant documentation]. Figure 2b shown.
[0123] When the second environmental sensing information is second point cloud data, the environmental region corresponding to the second point cloud data can be rasterized to obtain local point cloud data within the local region corresponding to each grid position. The rasterization process of the second point cloud data can be referred to the rasterization process of the second sensing image, and will not be detailed here.
[0124] Considering that environmental sensor information from locations closer to the positioning results has higher accuracy, while environmental sensor information from locations farther away has lower accuracy, the grid size can be set according to the distance from the positioning results. This means that grids closer to the positioning results are smaller, and grids farther away are larger. (See [reference needed]). Figure 2c shown.
[0125] In one possible implementation, determining a validity test result for the positioning result based on the rasterized second environmental sensor information and the first environmental sensor information includes determining the validity test result for the positioning result based on a degree of match between the rasterized second environmental sensor information and the first environmental sensor information. If the degree of match between the rasterized second environmental sensor information and the first environmental sensor information exceeds a predetermined range, the positioning result may be determined to be valid; otherwise, the positioning result may be determined to be invalid.
[0126] In a possible implementation, the determination of the validity detection result of the positioning result based on the second environmental sensor information and the first environmental sensor information after rasterization processing includes: determining the evaluation data corresponding to the positioning result based on the second environmental sensor information and the first environmental sensor information after rasterization processing; and determining the validity detection result of the positioning result based on the evaluation data.
[0127] The evaluation data may include one or more of the following data: position covariance, angle variance, similarity entropy, and matching score. A variety of evaluation data may be set, and by setting a variety of evaluation data, a multi-faceted evaluation of the detection results may be performed.
[0128] In one alternative implementation, see Figure 3 As shown, based on the rasterized second environmental sensing information and the first environmental sensing information, the evaluation data corresponding to the positioning result is determined, including:
[0129] S301, determining, based on the rasterized second environmental sensing information and the first environmental sensing information, a score for a local area corresponding to each grid position in the second environmental sensing information, wherein the score is used to represent a similarity between the local area at the grid position and a corresponding local area in the first environmental sensing information;
[0130] S302, based on the score of the local area corresponding to each grid position, determine the evaluation data corresponding to the positioning result.
[0131] In the above embodiment, by determining the score of the local area corresponding to each grid position in the second environmental sensor information, since this score can represent the similarity between the local area at the grid position and the corresponding local area in the first environmental sensor information. Generally, if the accuracy of the positioning result is high, the similarity should be greater, that is, the score corresponding to each grid position is larger. It can be seen that there is a relationship between the score corresponding to the grid position and the accuracy of the positioning result. Therefore, by determining the score of the local area corresponding to each grid position, the evaluation data corresponding to the result can be more accurately determined.
[0132] In S301, a score for the local area corresponding to each grid position in the second environmental sensor information can be determined based on the rasterized second environmental sensor information and the first environmental sensor information. In a specific implementation, when the second environmental sensor information is a second sensor image, a similarity is calculated for each grid position between the second local sensor image at that grid position and the corresponding first local sensor image in the first environmental sensor information, and the similarity is determined as the score for that grid position, thereby obtaining the score for the local area corresponding to each grid position.
[0133] For example, the trained neural network can be used to calculate the degree of match between the second partial sensor image corresponding to the grid position and the first partial sensor image corresponding to the first environmental sensor information, and the calculated degree of match can be determined as the score corresponding to the grid position. Alternatively, the cosine similarity between the second partial sensor image corresponding to the grid position and the first partial sensor image corresponding to the first environmental sensor information can be calculated, and the calculated cosine similarity can be determined as the score corresponding to the grid position.
[0134] See also Figure 4 In the positioning result detection method shown, the schematic diagram of the second environmental sensing information after rasterization can obtain the score of each grid position, that is, the score corresponding to the grid position at the 00th position, the score corresponding to the grid position at the -10th position, the score corresponding to the grid position at the 10th position, the score corresponding to the grid position at the 01st position, etc. can be obtained, wherein the grid position at the 00th position can be the grid position where the positioning result is located.
[0135] In S302 , evaluation data corresponding to the positioning result may be determined based on the scores of the local areas corresponding to the respective grid positions.
[0136] In one possible implementation, determining the evaluation data corresponding to the positioning result based on the score of the local region corresponding to each grid position includes:
[0137] S3021: Determine, based on the scores of the local areas corresponding to the respective grid positions, a similarity probability value between the local area corresponding to each grid position and the corresponding local area in the first environmental sensing information;
[0138] S3022, Based on the similarity probability value of the local region corresponding to each grid position, determine the evaluation data corresponding to the positioning result.
[0139] During implementation, the scores of the local areas corresponding to each grid position can be normalized to generate similarity probability values of the local areas corresponding to each grid position; then, based on the similarity probability values of the local areas corresponding to each grid position, the evaluation data corresponding to the positioning result can be determined.
[0140] In an optional implementation, when the evaluation data includes position covariance, in S3022, based on the similarity probability values of the local areas corresponding to the respective grid positions, determining the evaluation data corresponding to the positioning result includes:
[0141] Step A1: selecting at least one target reference point from a local area corresponding to other grid positions except the grid position where the positioning result is located;
[0142] Step A2: determining a position covariance corresponding to the positioning result based on the similarity probability value of the local area corresponding to each target reference point, the candidate position information corresponding to the target reference point, and the target position information indicated by the positioning result;
[0143] Among them, the location covariance is used to characterize the uncertainty of the location information indicated in the positioning results.
[0144] Based on the evaluation data, the validity of the positioning results is determined, including: if the location covariance is less than the set first threshold, the positioning result is determined to be a valid positioning result.
[0145] Here, at least one target reference point can be selected from the local scene image corresponding to grid positions other than the grid position where the positioning result is located. For example, the center point of the local area corresponding to each other grid position can be determined as the target reference point to obtain candidate position information for each target reference point. The target reference point can be selected as needed.
[0146] The position covariance can then be calculated according to the following formula (1):
[0147] Ω=∑ i,j P(i,j)(a(i,j)-a)(a(i,j)-a) T ;(1)
[0148] Wherein, Ω is the position covariance, P(i,j) is the similarity probability value of the local area of the grid position at the ijth position, for example, P(1,1) is the similarity probability value of the local area of the grid position at the 11th position; a(i,j) is the candidate position information of the target reference point in the local area of the grid position at the ijth position, and a(1,1) is the candidate position information of the target reference point in the local area of the grid position at the 11th position; a is the target position information indicated by the positioning result.
[0149] Here, when the scores of the local areas corresponding to the respective grid positions are used to determine the position covariance corresponding to the positioning result, P(i, j) may be the score of the local area at the ijth grid position.
[0150] Depend on Figure 4 It can be seen that a(0,0) is the target location information indicated by the positioning result, so i and j are integers other than zero, that is, P(i,j) is the similarity probability value of the local area corresponding to the grid positions other than the grid position where the positioning result is located. The maximum value of i and j can be determined according to the number of divided grids.
[0151] Here, the location covariance can be used to characterize the uncertainty of the location information indicated in the positioning result; that is, the location covariance can be used to characterize whether the location information indicated in the positioning result is usable. When the target location information indicated in the positioning result is a two-dimensional location, the generated location covariance is a two-dimensional matrix. For example, the location covariance can be:
[0152]
[0153] In practice, a first threshold can be set. When the location covariance is less than the set first threshold, the positioning result is determined to be a valid positioning result; when the location covariance is greater than or equal to the set first threshold, the positioning result is determined to be an invalid positioning result.
[0154] For example, it can be determined whether the target element on the main diagonal of the position covariance is greater than the set first threshold, that is, the target element can be d 00 d 11 , the first threshold may include d 00 The corresponding first position threshold and d 11 The corresponding second position threshold, in d 00 Less than the set first position threshold, and d 11 When the value is less than the set second location threshold, the positioning result is determined to be a valid positioning result; in d 00 Greater than or equal to the set first position threshold, and / or, d 11When the value is greater than or equal to the set second location threshold, the positioning result is determined to be an invalid positioning result. The first location threshold and the second location threshold can be the same or different.
[0155] In the above embodiments, when the evaluation data includes location covariance, the determined location covariance can be used to characterize the uncertainty of the location information indicated in the positioning results. Furthermore, by utilizing the determined location covariance, the validity detection results of the positioning results can be determined more accurately.
[0156] In one optional implementation, when the evaluation data includes angular variance, the evaluation data corresponding to the localization result is determined based on the similarity probability value of the local region corresponding to each grid position, including:
[0157] Step B1: determining the position covariance corresponding to the positioning result based on the similarity probability value of the local area corresponding to each grid position;
[0158] Step B2: determining the angular variance corresponding to the positioning result based on the target element value located on the main diagonal in the position covariance;
[0159] The angular variance is used to characterize the uncertainty of the orientation information indicated in the positioning result.
[0160] Based on the evaluation data, a validity detection result of the positioning result is determined, including: when the angle variance is less than a set second threshold, determining that the positioning result is a valid positioning result.
[0161] Here, the position covariance corresponding to the positioning result may be determined first. The process of determining the position covariance may refer to the above-mentioned process of determining the position covariance, which will not be described in detail here.
[0162] The angular variance can be determined according to the following formula (2):
[0163] σ=k×(Ω(0,0)+Ω(1,1)); (2)
[0164] Where σ is the angular variance, Ω(0,0) and Ω(1,1) are the target element values located on the main diagonal of the position covariance, that is, Ω(0,0) can be the target element value located in the 0th row and 0th column of the position covariance, Ω(0,0) = d 00 ;Ω(1,1) can be the target element value located in the first row and first column of the position covariance,Ω(1,1)=d 11 ; k is the parameter that is set.
[0165] Here, the angular variance is used to characterize the uncertainty of the orientation information indicated in the positioning result; that is, the angular variance characterizes whether the orientation information indicated in the positioning result is usable. When the angular variance is less than the set second threshold, the positioning result is determined to be a valid positioning result, and thus the positioning result can be used. When the angular variance is greater than or equal to the set second threshold, the positioning result is determined to be an invalid positioning result, and thus the positioning result cannot be used.
[0166] In the above embodiments, when the evaluation data includes angular variance, the determined angular variance can be used to characterize the uncertainty of the orientation information indicated in the positioning results. Furthermore, by utilizing the determined angular variance, the validity detection results of the positioning results can be determined more accurately.
[0167] In one optional implementation, when the evaluation data includes similarity entropy, the evaluation data corresponding to the positioning result is determined based on the similarity probability value of the local region corresponding to each grid position, including: determining the similarity entropy corresponding to the positioning result based on the similarity probability value of the local region corresponding to each grid position and the logarithm of the similarity probability value corresponding to each grid position.
[0168] Among them, similarity entropy is used to characterize the uncertainty of positioning results;
[0169] Determining a validity detection result of the positioning result based on the evaluation data includes: determining that the positioning result is a valid positioning result when the similarity entropy is less than a set third threshold.
[0170] In specific implementation, the similarity entropy can be calculated according to the following formula (3):
[0171] F entropy =-∑P(i,j)log(P(i,j)); (3)
[0172] Among them, F entropy is the similarity entropy, and P(i,j) is the similarity probability value of the local area of the grid position at the ijth position. Similarity entropy can be used to characterize the uncertainty of the positioning result.
[0173] When the similarity entropy is less than the set third threshold, the positioning result is determined to be a valid positioning result; when the similarity entropy is greater than or equal to the set third threshold, the positioning result is determined to be an invalid positioning result.
[0174] In the above embodiments, by determining the similarity entropy and using it to characterize the uncertainty of the positioning result, and then using the determined similarity entropy, the effectiveness detection result of the positioning result can be determined more accurately.
[0175] In one optional implementation, when the evaluation data includes matching scores, the evaluation data corresponding to the localization result is determined based on the similarity probability value of the local region corresponding to each grid position, including:
[0176] Step C1: Determine the similarity probability value of the local region corresponding to other grid positions besides the grid position where the positioning result is located, and the ratio between the similarity probability value of the local region corresponding to the grid position where the positioning result is located;
[0177] Step C2: Select the maximum ratio from the ratios corresponding to other grid positions as the matching score corresponding to the positioning result;
[0178] Among them, the matching score represents the uncertainty of the positioning result;
[0179] Determining a validity detection result of the positioning result based on the evaluation data includes: determining that the positioning result is a valid positioning result when the matching score is less than a set fourth threshold.
[0180] In specific implementation, the matching score can be calculated according to the following formula (4):
[0181] factor=max(P(i,j) / P(0,0)); (4)
[0182] Where factor is the matching score, P(0,0) is the similarity probability value of the grid position where the positioning result is located, and P(i,j) is the similarity probability value of the local area corresponding to other grid positions, i.e., i and j are non-zero integers.
[0183] Here, the matching score can be used to characterize the score of the location result's grid position and the difference between the scores of other grid positions, thus representing the uncertainty of the location result. When the matching score is less than the set fourth threshold, the location result is determined to be a valid location result; when the matching score is greater than or equal to the set fourth threshold, the location result is determined to be an invalid location result.
[0184] For example, when the evaluation data includes location covariance, angle variance, similarity entropy, and matching score, the location covariance corresponding to the positioning result can be determined first. If the target element value on the main diagonal in the determined location covariance is greater than or equal to the set first threshold, the positioning result is determined to be an invalid positioning result, and the angle variance, similarity entropy, and matching score are no longer determined.
[0185] If the target element value on the main diagonal in the determined location covariance is less than the set first threshold, then the angle variance corresponding to the positioning result is determined. If the determined angle variance is greater than or equal to the set second threshold, the positioning result is determined to be an invalid positioning result, and the similarity entropy and matching score are no longer determined.
[0186] When the determined angular variance is less than the set second threshold, the similarity entropy corresponding to the positioning result is determined. When the determined similarity entropy is greater than or equal to the set third threshold, the positioning result is determined to be an invalid positioning result, and no matching score is determined.
[0187] If the determined similarity entropy is less than the set third threshold, then the matching score corresponding to the positioning result is determined. If the determined matching score is less than the set fourth threshold, the positioning result is determined to be a valid positioning result. If the determined matching score is greater than or equal to the set fourth threshold, the positioning result is determined to be an invalid positioning result.
[0188] In practice, the selection of evaluation data and the order of calculation of the evaluation data can be determined as needed; this is only an example.
[0189] In the above embodiments, by determining a matching score, which is used to characterize the uncertainty of the positioning result based on the difference between the score of the grid position where the positioning result is located and the scores corresponding to other grid positions, the effectiveness detection result of the positioning result can be determined more accurately using the determined matching score.
[0190] In an optional embodiment, after determining the validity detection result of the positioning result based on the second environmental sensor information and the first environmental sensor information after rasterization processing, the method also includes: when the validity detection result of the positioning result is a valid positioning result, based on the positioning result, controlling the driving path of the driving device equipped with the positioning device and / or the sensor.
[0191] Here, when the validity detection result of the positioning result is a valid positioning result, the driving path of the driving device equipped with positioning equipment and / or sensors can be controlled based on the positioning result. For example, the acceleration, deceleration, steering, braking, etc. of the driving device can be controlled, or voice prompts can be played to prompt the driver to control the acceleration, deceleration, steering, braking, etc. of the driving device.
[0192] For example, when the driving device is an autonomous vehicle, the road signs included in the scene where the driving device is located can be determined based on the positioning results, and the driving device can be controlled according to the road signs. For example, if the road sign indicates that there is a traffic light within 10 meters ahead and it is red, the driving device can be controlled to slow down.
[0193] In practice, multiple positioning devices can be installed on the driving device. Each positioning device can obtain a positioning result corresponding to the driving device. Through the positioning result detection method described above, evaluation data and validity detection results can be obtained for each positioning result. The positioning results with valid validity detection results and the corresponding evaluation data are sent to the fusion positioning system. Based on the received evaluation data, the fusion positioning system determines the positioning result corresponding to the target device from the multiple positioning results with valid validity detection results.
[0194] If the validity test result of the positioning result is invalid, the positioning result may not be used, and a new positioning result may be determined. Alternatively, the positioning result and / or evaluation data may be returned to the driving device so that the operator on the driving device can manually control the driving device. Or, the positioning result and / or evaluation data may be returned to the driving device so that the operator on the driving device can determine the cause of the positioning failure based on the positioning result.
[0195] Using the above method, when the validity detection result of the positioning result is determined to be a valid positioning result, the driving device can be controlled more accurately based on the positioning result; when the validity detection result of the positioning result is an invalid positioning result, the positioning result is not used, thus avoiding the occurrence of driving device malfunction due to the use of positioning result with invalid validity detection result to control the driving device, thereby improving the safety of the driving device.
[0196] Those skilled in the art will understand that in the above-mentioned method of the specific implementation method, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0197] Based on the same concept, the present disclosure also provides a positioning result detection device, see Figure 5 FIG. 5 is a schematic diagram of the architecture of a positioning result detection device provided by an embodiment of the present disclosure, including an acquisition module 501, a first determination module 502, and a second determination module 503. Specifically:
[0198] An acquisition module 501 is configured to acquire a positioning result of a positioning device and first environmental sensing information collected by a sensor associated with the positioning device at a location indicated by the positioning result;
[0199] A first determining module 502 is configured to obtain, based on a pre-built map, second environmental sensor information of a target scene corresponding to the positioning position indicated by the positioning result, wherein the map includes environmental sensor information of multiple positioning positions;
[0200] The second determining module 503 is used to perform rasterization processing on the second environmental sensing information, and determine the validity detection result of the positioning result based on the rasterized second environmental sensing information and the first environmental sensing information.
[0201] In a possible implementation, the first environmental sensing information includes a first sensor image, and the second environmental sensing information includes a second sensor image; and / or
[0202] The first environmental sensing information includes first point cloud data, and the second environmental sensing information includes second point cloud data.
[0203] In a possible implementation, the second determining module 503 is configured to determine the validity detection result of the positioning result in the following manner:
[0204] Determining evaluation data corresponding to the positioning result based on the second environmental sensing information and the first environmental sensing information after rasterization processing;
[0205] Based on the evaluation data, the validity test result of the positioning result is determined.
[0206] In a possible implementation, the second determining module 503 is configured to determine the evaluation data corresponding to the positioning result in the following manner:
[0207] Determining, based on the rasterized second environmental sensor information and the first environmental sensor information, a score for a local area corresponding to each grid position in the second environmental sensor information, wherein the score is used to represent a similarity between the local area at the grid position and a corresponding local area in the first environmental sensor information;
[0208] Based on the scores of the local areas corresponding to the respective grid positions, evaluation data corresponding to the positioning results are determined.
[0209] In a possible implementation, the second determining module 503 is further configured to determine the evaluation data corresponding to the positioning result in the following manner:
[0210] Determining a similarity probability value between the local area corresponding to each grid position and the corresponding local area in the first environmental sensing information based on the scores of the local areas corresponding to the respective grid positions;
[0211] Based on the similarity probability values of the local areas corresponding to the respective grid positions, evaluation data corresponding to the positioning results are determined.
[0212] In a possible implementation, when the evaluation data includes position covariance, the second determining module 503 is further configured to determine the evaluation data corresponding to the positioning result in the following manner:
[0213] Select at least one target reference point from the local area corresponding to other grid positions besides the grid position where the positioning result is located;
[0214] Determining a position covariance corresponding to the positioning result based on a similarity probability value of the local area corresponding to each target reference point, candidate position information corresponding to the target reference point, and target position information indicated by the positioning result;
[0215] The location covariance is used to characterize the uncertainty of the location information indicated in the positioning result;
[0216] The second determining module 503 is configured to determine the validity detection result of the positioning result in the following manner:
[0217] When the position covariance is less than a set first threshold, the positioning result is determined to be a valid positioning result.
[0218] In a possible implementation, when the evaluation data includes angle variance, the second determining module 503 is further configured to determine the evaluation data corresponding to the positioning result in the following manner:
[0219] Based on the similarity probability value of the local region corresponding to each grid position, the location covariance corresponding to the positioning result is determined;
[0220] Based on the target element value located on the main diagonal in the position covariance, determine the angle variance corresponding to the positioning result;
[0221] The angular variance is used to characterize the uncertainty of the orientation information indicated in the positioning result;
[0222] The second determining module 503 is configured to determine the validity detection result of the positioning result in the following manner:
[0223] When the angle variance is less than a set second threshold, the positioning result is determined to be a valid positioning result.
[0224] In a possible implementation, when the evaluation data includes similarity entropy, the second determining module 503 is further configured to determine the evaluation data corresponding to the positioning result in the following manner:
[0225] Determining the similarity entropy corresponding to the positioning result based on the similarity probability value of the local area corresponding to each grid position and the logarithm of the similarity probability value corresponding to each grid position;
[0226] Wherein, the similarity entropy is used to characterize the uncertainty of the positioning result;
[0227] The second determining module 503 is configured to determine the validity detection result of the positioning result in the following manner:
[0228] When the similarity entropy is less than a set third threshold, the positioning result is determined to be a valid positioning result.
[0229] In one possible implementation, if the evaluation data includes a matching score, the second determining module 503 is further configured to determine the evaluation data corresponding to the positioning result in the following manner:
[0230] Determine the ratio between the similarity probability value of the local region corresponding to other grid positions besides the grid position where the positioning result is located, and the similarity probability value of the local region corresponding to the grid position where the positioning result is located;
[0231] The largest ratio is selected from the ratios corresponding to other grid positions and used as the matching score corresponding to the positioning result;
[0232] Wherein, the matching score represents the uncertainty of the positioning result;
[0233] The second determining module 503 is configured to determine the validity detection result of the positioning result in the following manner:
[0234] When the matching score is less than a set fourth threshold, the positioning result is determined to be a valid positioning result.
[0235] In a possible implementation, the apparatus further includes a control module 504 configured to:
[0236] After the second determining module determines the validity detection result of the positioning result based on the second environmental sensing information and the first environmental sensing information after rasterization processing,
[0237] When the validity detection result of the positioning result is a valid positioning result, a driving path of a driving device equipped with the positioning device and / or the sensor is controlled based on the positioning result.
[0238] In some embodiments, the functions or templates contained in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiment. Its specific implementation can refer to the description of the above method embodiment. For the sake of brevity, it will not be repeated here.
[0239] Based on the same technical concept, the embodiment of the present disclosure also provides an electronic device. Figure 6 6 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure, including a processor 601, a memory 602, and a bus 603. Among them, the memory 602 is used to store execution instructions, including a memory 6021 and an external memory 6022; the memory 6021 here is also called an internal memory, which is used to temporarily store the operation data in the processor 601 and the data exchanged with the external memory 6022 such as a hard disk. The processor 601 exchanges data with the external memory 6022 through the memory 6021. When the electronic device 600 is running, the processor 601 communicates with the memory 602 via the bus 603, so that the processor 601 executes the following instructions:
[0240] The positioning result of the positioning device and the first environmental sensing information collected by the sensors associated with the positioning device at the location indicated by the positioning result are obtained.
[0241] The second environmental sensing information of the target scene corresponding to the positioning location indicated by the positioning result is obtained according to the pre-constructed map, wherein the map includes environmental sensing information of multiple positioning locations;
[0242] The second environmental sensing information is rasterized, and the validity detection result of the positioning result is determined based on the rasterized second environmental sensing information and the first environmental sensing information.
[0243] In addition, embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program executes the steps of the positioning result detection method described in the above method embodiment. The storage medium may be a volatile or non-volatile computer-readable storage medium.
[0244] The embodiments of the present disclosure further provide a computer program product, which carries program code. The instructions included in the program code can be used to execute the steps of the positioning result detection method described in the above method embodiment. For details, please refer to the above method embodiment and will not be repeated here.
[0245] The computer program product may be implemented in hardware, software, or a combination thereof. In one embodiment, the computer program product is implemented as a computer storage medium. In another embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0246] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. In the several embodiments provided in this disclosure, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division; in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.
[0247] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0248] In addition, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0249] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0250] The above are only specific embodiments of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.
Claims
1. A positioning result detection method, It is characterized in that include: Acquire a positioning result of a positioning device and first environmental sensing information collected by a sensor associated with the positioning device at a position indicated by the positioning result; Acquire second environmental sensor information of a target scene corresponding to the positioning position indicated by the positioning result according to a pre-constructed map, wherein the map includes environmental sensor information of multiple positioning positions; rasterizing the second environmental sensing information, and determining a validity detection result of the positioning result based on the second environmental sensing information after the rasterization process and the first environmental sensing information; The determining of the validity detection result of the positioning result based on the second environmental sensor information and the first environmental sensor information after rasterization processing includes: determining evaluation data corresponding to the positioning result based on the second environmental sensor information and the first environmental sensor information after rasterization processing; determining the validity detection result of the positioning result based on the evaluation data; In the case where the evaluation data includes similarity entropy, determining the evaluation data corresponding to the positioning result includes: Based on the scores of the local areas corresponding to the respective grid positions, determining a similarity probability value between the local area corresponding to each grid position and the local area corresponding to the first environmental sensor information; wherein the score of the local area corresponding to each grid position is determined based on the second environmental sensor information and the first environmental sensor information after rasterization processing; Determine the similarity entropy corresponding to the positioning result based on the similarity probability value of the local area corresponding to each grid position and the logarithm of the similarity probability value corresponding to each grid position; Wherein, the similarity entropy is used to characterize the uncertainty of the positioning result; The determining, based on the evaluation data, a validity detection result of the positioning result includes: When the similarity entropy is less than a set third threshold, the positioning result is determined to be a valid positioning result.
2. The method according to claim 1, It is characterized in that The first environmental sensing information includes a first sensor image, and the second environmental sensing information includes a second sensor image; and / or The first environmental sensing information includes first point cloud data, and the second environmental sensing information includes second point cloud data.
3. The method according to claim 1, It is characterized in that The determining, based on the second environment sensing information and the first environment sensing information after rasterization processing, the evaluation data corresponding to the positioning result includes: Determine, based on the second environmental sensor information and the first environmental sensor information after rasterization, a score of a local area corresponding to each grid position in the second environmental sensor information, wherein the score is used to characterize the similarity between the local area at the grid position and the corresponding local area in the first environmental sensor information; Based on the scores of the local areas corresponding to the respective grid positions, the evaluation data corresponding to the positioning result are determined.
4. The method according to claim 3, It is characterized in that The determining of the evaluation data corresponding to the positioning result based on the scores of the local areas corresponding to the grid positions includes: Determine, based on the scores of the local areas corresponding to the respective grid positions, a similarity probability value between the local area corresponding to each grid position and the local area corresponding to the first environmental sensing information; Based on the similarity probability value of the local area corresponding to each grid position, the evaluation data corresponding to the positioning result is determined.
5. The method according to claim 4, It is characterized in that In the case where the evaluation data includes position covariance, determining the evaluation data corresponding to the positioning result based on the similarity probability value of the local area corresponding to each grid position includes: Select at least one target reference point from the local area corresponding to other grid positions except the grid position where the positioning result is located; Determine the position covariance corresponding to the positioning result based on the similarity probability value of the local area corresponding to each target reference point, the candidate position information corresponding to the target reference point, and the target position information indicated by the positioning result; Wherein, the position covariance is used to characterize the uncertainty of the position information indicated in the positioning result; The determining, based on the evaluation data, a validity detection result of the positioning result includes: When the position covariance is less than a set first threshold, the positioning result is determined to be a valid positioning result.
6. The method according to claim 4, It is characterized in that In the case where the evaluation data includes angle variance, the similarity probability value of the local area corresponding to each grid position is used to determine the evaluation data corresponding to the positioning result, including: Determining the position covariance corresponding to the positioning result based on the similarity probability value of the local area corresponding to each grid position; Determining the angular variance corresponding to the positioning result based on the target element value located on the main diagonal in the position covariance; Wherein, the angle variance is used to characterize the uncertainty of the orientation information indicated in the positioning result; The determining, based on the evaluation data, a validity detection result of the positioning result includes: When the angle variance is less than a set second threshold, the positioning result is determined to be a valid positioning result.
7. The method according to claim 4, It is characterized in that In the case where the evaluation data includes a matching score, determining the evaluation data corresponding to the positioning result based on the similarity probability value of the local area corresponding to each grid position includes: Determine a ratio between similarity probability values of local areas corresponding to other grid positions except the grid position where the positioning result is located and the similarity probability value of the local area corresponding to the grid position where the positioning result is located; Selecting the maximum ratio from the ratios corresponding to other grid positions as the matching score corresponding to the positioning result; Wherein, the matching score represents the uncertainty of the positioning result; The determining, based on the evaluation data, a validity detection result of the positioning result includes: When the matching score is less than a set fourth threshold, the positioning result is determined to be a valid positioning result.
8. The method according to any one of claims 1 to 7, It is characterized in that After determining the validity detection result of the positioning result based on the second environment sensing information and the first environment sensing information after rasterization processing, the method further includes: When the validity detection result of the positioning result is a valid positioning result, a driving path of a driving device equipped with the positioning device and / or the sensor is controlled based on the positioning result.
9. A positioning result detection device, It is characterized in that include: An acquisition module, used to acquire a positioning result of a positioning device and first environmental sensing information collected by a sensor associated with the positioning device at a position indicated by the positioning result; A first determination module is used to obtain second environmental sensor information of a target scene corresponding to the positioning position indicated by the positioning result according to a pre-constructed map, wherein the map includes environmental sensor information of multiple positioning positions; A second determination module, configured to perform rasterization processing on the second environmental sensing information, and determine a validity detection result of the positioning result based on the second environmental sensing information after the rasterization processing and the first environmental sensing information; The second determination module, when determining the validity detection result of the positioning result based on the second environmental sensor information after rasterization and the first environmental sensor information, is used to: determine the evaluation data corresponding to the positioning result based on the second environmental sensor information after rasterization and the first environmental sensor information; Based on the evaluation data, determining a validity test result of the positioning result; In the case where the evaluation data includes similarity entropy, the second determination module, when determining the evaluation data corresponding to the positioning result, is used to: Based on the scores of the local areas corresponding to the respective grid positions, determining a similarity probability value between the local area corresponding to each grid position and the local area corresponding to the first environmental sensor information; wherein the score of the local area corresponding to each grid position is determined based on the second environmental sensor information and the first environmental sensor information after rasterization processing; Determine the similarity entropy corresponding to the positioning result based on the similarity probability value of the local area corresponding to each grid position and the logarithm of the similarity probability value corresponding to each grid position; Wherein, the similarity entropy is used to characterize the uncertainty of the positioning result; The second determination module, when determining the validity detection result of the positioning result based on the evaluation data, is used to: determine that the positioning result is a valid positioning result when the similarity entropy is less than a set third threshold.
10. An electronic device, It is characterized in that include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the positioning result detection method as described in any one of claims 1 to 8 are performed.
11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the positioning result detection method according to any one of claims 1 to 8 are executed.
