Data processing method and device, vehicle and computer readable storage medium
By collecting and processing environmental perception information in intelligent driving, performing intersection calculations and similarity updates, the problem of inconsistent map data accuracy is solved, and the processing efficiency and accuracy of map data are improved.
Patent Information
- Application Number
- CN202410569284.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-05-08
AI Technical Summary
In intelligent driving technology, the accuracy of environmental perception information varies in different dynamic driving environments, resulting in different accuracy of map data. Existing technologies struggle to efficiently process large amounts of environmental perception information to ensure the accuracy of map data.
By collecting vehicle environmental perception information, mapping is performed to obtain real map data. Then, intersection calculations are performed to determine the similarity of the map data. When the similarity is less than a threshold, the map data is updated, thereby improving data processing efficiency and accuracy.
By reducing the computational load and updating similarity, the efficiency and accuracy of map data processing are improved, thereby enhancing the effectiveness of simulation mapping of the driving environment.
Smart Images

Figure CN118503344B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent driving technology, specifically to a data processing method, apparatus, vehicle, and computer-readable storage medium. Background Technology
[0002] With the continuous development of intelligent driving technology, autonomous driving has become a crucial trend in future transportation. In autonomous driving, vehicles can create real-time maps of their driving environment based on their perception of that environment. However, during vehicle operation, the driving environment is highly complex and dynamic, requiring vehicles to collect a vast amount of environmental perception information. This information is a key factor in achieving virtual mapping. Because the accuracy of environmental perception information varies across different dynamic driving environments, the accuracy of the map data generated from this information also varies. To address the challenge of ensuring map data accuracy, it is necessary to process the large amount of collected environmental perception information. Therefore, improving data processing efficiency has become a pressing technical problem. Summary of the Invention
[0003] This application provides a data processing method, apparatus, vehicle, and computer-readable storage medium, which can improve data processing efficiency.
[0004] In a first aspect, embodiments of this application disclose a data processing method, including:
[0005] Collect environmental perception information about the vehicle's driving environment;
[0006] Based on environmental perception information, a map is constructed of the driving environment in which the vehicle is located, and the first map data is obtained.
[0007] Obtain real map data to obtain second map data;
[0008] The first map data and the second map data are respectively subjected to deintersection calculation to obtain the first target map data and the second target map data;
[0009] The similarity is determined based on the first target map data and the second target map data, and this similarity is used to characterize the similarity between the first map data and the second map data;
[0010] If the similarity is less than a preset similarity threshold, the first map data is updated based on the second map data to obtain the target map data.
[0011] Secondly, embodiments of this application disclose a data processing apparatus, including:
[0012] The data acquisition unit is used to collect environmental perception information about the driving environment in which the vehicle is located.
[0013] The mapping unit is used to map the driving environment in which the vehicle is located based on environmental perception information, and obtain the first map data;
[0014] The acquisition unit is used to acquire real map data to obtain second map data;
[0015] The calculation unit is used to perform deintersection calculations on the first map data and the second map data respectively to obtain the first target map data and the second target map data.
[0016] A determining unit is configured to determine a similarity based on the first target map data and the second target map data, wherein the similarity is used to characterize the similarity between the first map data and the second map data;
[0017] The update unit is used to update the first map data based on the second map data to obtain the target map data when the similarity is less than a preset similarity threshold.
[0018] Thirdly, embodiments of this application disclose a vehicle, which includes a processor and a memory. The memory stores a computer program, and the processor calls the computer program to implement the above-described data processing method.
[0019] Fourthly, embodiments of this application disclose a computer-readable storage medium storing program code that can be called by a processor to implement the above-described data processing method.
[0020] Fifthly, embodiments of this application disclose a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium.
[0021] In this embodiment, environmental perception information of the driving environment in which the vehicle is located can be collected; the environmental perception information of the driving environment in which the vehicle is located can be collected; a map of the driving environment in which the vehicle is located can be constructed based on the environmental perception information to obtain first map data; real map data can be obtained to obtain second map data; the first map data and the second map data can be subjected to disjunction calculation to obtain first target map data and second target map data respectively; a similarity can be determined based on the first target map data and the second target map data, which is used to characterize the similarity between the first map data and the second map data; if the similarity is less than a preset similarity threshold, the first map data can be updated based on the second map data to obtain target map data. In this way, after obtaining the first map data after mapping and the second map data of the real scene respectively, the map data to be processed can be reduced by performing disjunction calculation on the first map data and the second map data of the real scene, thereby improving the efficiency of map data processing. In addition, by determining the similarity used to characterize the first target map data and the second target map data, and updating the simulated mapping first map data when the similarity is less than the similarity threshold, the accuracy of the map data for simulating the driving environment in which the vehicle is located and the effectiveness of simulating the mapping of the driving environment can be improved. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a schematic diagram of a vehicle structure provided in an embodiment of this application;
[0024] Figure 2 This is a schematic flowchart of a data processing method disclosed in an embodiment of this application;
[0025] Figure 3 This is another schematic flowchart of the data processing method disclosed in the embodiments of this application;
[0026] Figure 3A This is a schematic diagram of a scenario of the data processing method disclosed in the embodiments of this application;
[0027] Figure 3B This is a schematic diagram of another scenario of the data processing method disclosed in the embodiments of this application;
[0028] Figure 3C This is another scenario illustration of the data processing method disclosed in the embodiments of this application;
[0029] Figure 3D This is a schematic flowchart of a specific data processing method disclosed in an embodiment of this application;
[0030] Figure 4 This is a schematic diagram of the structure of a data processing device disclosed in an embodiment of this application;
[0031] Figure 5 This is a schematic diagram of the structure of a vehicle disclosed in an embodiment of this application;
[0032] Figure 6 This is a schematic diagram of the structure of a computer-readable storage medium disclosed in an embodiment of this application. Detailed Implementation
[0033] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0034] To enable those skilled in the art to better understand the solutions of this application, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0035] In the following description, references to "some embodiments" describe a subset of all possible embodiments; however, it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict. In the following description, the term "a plurality of" means at least two.
[0036] In the following description, the terms "first" and "second" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first" and "second" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0038] Before providing a more detailed description of the embodiments of this application, the background technology involved in the embodiments of this application will be explained in detail as follows.
[0039] With the continuous development of intelligent driving technology, autonomous driving has become a crucial trend in future transportation. In autonomous driving, vehicles can create real-time maps of their driving environment based on their perception of that environment. However, during vehicle operation, the driving environment is highly complex and dynamic, requiring vehicles to collect a vast amount of environmental perception information. This information is a key factor in achieving virtual mapping. Because the accuracy of environmental perception information varies across different dynamic driving environments, the accuracy of the map data generated from this information also varies. To address the challenge of ensuring map data accuracy, it is necessary to process the large amount of collected environmental perception information. Therefore, improving data processing efficiency has become a pressing technical problem.
[0040] In related technologies, the accuracy of map data can be determined by calculating the distance between the constructed map data and the actual map data. Widely used distance metrics include Euclidean distance, Manhattan distance, Mahalanobis distance, Chelbiff distance, and Hausdorff distance. However, calculating the distance between the constructed map data and the actual map data based on a large amount of environmental perception information collected from the complex and ever-changing driving environment is a complex process, resulting in low efficiency in map data calculation.
[0041] To address the aforementioned technical issues, this application's technical solution involves: collecting environmental perception information about the vehicle's driving environment; mapping the driving environment based on this information to obtain first map data; acquiring real map data to obtain second map data; performing intersection calculations on the first and second map data to obtain first target map data and second target map data; determining a similarity between the first and second target map data, which characterizes the similarity between them; and updating the first map data based on the second map data when the similarity is less than a preset similarity threshold to obtain target map data. This approach reduces the amount of map data to be processed and improves processing efficiency by performing intersection calculations on the first and second map data after acquiring the mapped first map data and the real-world second map data. Furthermore, by determining the similarity between the first and second target map data and updating the simulated first map data when the similarity is less than a similarity threshold, the accuracy and effectiveness of the simulated mapping of the driving environment are improved.
[0042] To enable those skilled in the art to better understand the solution of this application, the application environment of the solution of this application will first be described. The data processing method provided in this application can be applied to, for example... Figure 1 In the system architecture shown.
[0043] Please see Figure 1 , Figure 1 This is a schematic diagram of a system architecture for the construction system 100 provided in an embodiment of this application. For example... Figure 1 As shown, the system 100 may include a vehicle 110 and a server 120. The vehicle 110 can connect to the server 120 via a network. This network may include a local area network (LAN) and / or a wide area network (WAN). The LAN may include ZIGBEE or Bluetooth, while the WAN may include 2G / 3G / 4G / 5G / Wi-Fi, etc.
[0044] The vehicle 100 can be an intelligent vehicle capable of autonomous driving. The vehicle 100 may include a data acquisition device, a data processor, and a display device. The data acquisition device may include multiple cameras and multiple perception sensors. During autonomous driving, the vehicle 100 can collect environmental perception information about its driving environment through multiple cameras and multiple perception sensors. After collecting the environmental perception information, the vehicle 100's data processor can construct a map based on this information to obtain first map data. After determining the first map data, it calculates the similarity between the first map data and second map data, and determines target map data based on this similarity. After determining the target map data, the vehicle 100's display device can output the map information corresponding to the target map data.
[0045] The server 120 can be a server cluster including multiple sub-servers, or it can be a single server. The server 120 can be used to store real-world map data for multiple scenarios. Upon receiving a request instruction from the vehicle 110, the server 120 can send the real-world map data to the vehicle 110.
[0046] The above-described construction system 100 is an example of a construction system 100 involved in a data processing method disclosed in this application. It is intended to better explain the various steps of the data processing method when describing the data processing method of this application, and does not limit this application.
[0047] Please see Figure 2 , Figure 2 This is a schematic flowchart illustrating a data processing method disclosed in an embodiment of this application. This data processing method can be applied to vehicles. Figure 2 As shown, the data processing method may include the following steps.
[0048] 201. Collect environmental perception information about the driving environment in which the vehicle is located.
[0049] The environmental perception information can be environmental information about the driving environment of the vehicle, collected by a data acquisition device installed on the vehicle. This environmental information can include aggregated images and three-dimensional objects around the vehicle. Specifically, the environmental perception information can be feature information obtained by the data acquisition device on the vehicle from perceiving geometric images around the vehicle. Specifically, this environmental perception information can be multiple feature points representing geometric images such as road boundary lines, lane lines, and lane center lines. The environmental information can also be feature information obtained by the data acquisition device on the vehicle from perceiving three-dimensional objects around the vehicle. Specifically, this environmental perception information can represent the distance between the vehicle and pedestrians, vehicles, etc., on the road.
[0050] It should be noted that the environmental perception information collected by the vehicle can be used to construct a virtual scene corresponding to the driving environment in which the vehicle is located. This environmental perception information may also include natural conditions (e.g., weather and light information), different road types (e.g., road width, road surface condition and lane line type information), different traffic participants (e.g., the position and speed of vehicles and pedestrians), and different environmental types in which the vehicle is located (e.g., highways, residential areas, shopping malls and rural areas).
[0051] 202. Based on the environmental perception information, a map is constructed of the driving environment in which the vehicle is located, and the first map data is obtained.
[0052] The first map data can be map data determined after mapping based on environmental perception information. The first map data can include feature information of geometric images in a virtual scene created based on environmental perception information. The first map data can also include natural conditions (e.g., weather and lighting information), different road types (e.g., road width, road surface condition, and lane line type information), different traffic participants (e.g., vehicle and pedestrian positions and speeds information), and different environmental types in which the vehicles are located (e.g., highways, residential areas, shopping malls, and rural areas).
[0053] After collecting environmental perception information about the vehicle's driving environment, a virtual scene can be constructed based on this information to obtain a virtual scene corresponding to the environmental perception information. This virtual scene can be a virtual driving scenario during the vehicle's driving process, and it may include first map data. The first map data may be feature information of geometric images in the virtual scene; specifically, it may include multiple feature points used to represent geometric images such as road boundary limits, lane lines, and lane center lines in the virtual scene.
[0054] 203. Obtain the real map data to get the second map data.
[0055] Steps 202 and 203 can be executed serially as disclosed in this application, or they can be executed in parallel. That is, the first map data and the second map data can be acquired simultaneously.
[0056] The real-world map data can be pre-annotated map data from a real-world driving scenario. This real-world map data may include feature information of various geometric images within the real-world driving scenario, as well as the corresponding annotation information. The real-world map data may also include information such as natural conditions, different road types, different traffic participants, and different environmental types within the real-world driving scenario. The second map data can be feature information from the real-world map data. Specifically, the second map data may include multiple feature points used to represent geometric images such as road boundary limits, lane lines, and lane center lines in the real-world scenario.
[0057] After the vehicle constructs a virtual scene based on the collected environmental perception information and obtains the first map information, the vehicle can send a request for real map data to the server of the construction system. Upon receiving the request, the server can send the real map data corresponding to the first map information to the vehicle. Accordingly, the vehicle can obtain the second map information corresponding to the first map information.
[0058] It should be noted that the second map data can be map data from the real-world scene determined based on environmental perception information collected by the vehicle. Specifically, the second map data can be map data corresponding to the specific environment type collected by the vehicle. For example, if the vehicle detects that its current environment type is highway, then the second map data can be determined to be scene data corresponding to a highway driving scenario.
[0059] 204. Perform intersection calculations on the first map data and the second map data respectively to obtain the first target map data and the second target map data.
[0060] Specifically, the first target map data can be the deduplicated version of the first map data and the second map data. The second target map data can also be the deduplicated version of the second map data and the second map data.
[0061] After acquiring the first map data and the second map data, the intersection of the first and second map data subsets can be calculated to obtain the corresponding first target map data and second target map data. Specifically, the intersection dataset of the first and second map data can be determined, which can be duplicate data between the first and second map data. After identifying the duplicate data, the difference between the first map data subset and the duplicate data can be calculated to obtain the first target map data after the intersection calculation. Similarly, after identifying the duplicate data, the difference between the second map data and the duplicate data can be calculated to obtain the second target map data after the intersection calculation of the second map data subset.
[0062] It should be noted that the first map data and the second map data can be used to determine the similarity between the first target map data and the second target map data; that is, the first map data and the second map data can be used to determine the similarity between the created virtual map and the actual real map. After determining the first map data and the second map data, the similarity between the first map data and the second map data can be determined by calculating the distance between each feature point in the first map data and the second map data. In this embodiment, the first map data and the second map data can be subjected to a deintersection calculation to remove duplicate data from the first map data and the second map data respectively, so as to obtain the corresponding first target map data and the second target map data. After obtaining the corresponding first target map data and the second target map data by performing a deintersection calculation on the first map data and the second map data respectively, the similarity is determined by the first target map data and the second target map data, which reduces the amount of data in the calculation process and improves the efficiency of data processing.
[0063] 205. Determine the similarity between the first target map data and the second target map data.
[0064] The similarity can be used to characterize the similarity between the first map data and the second map data; that is, the similarity can be used to represent the degree of similarity between the virtual driving environment created based on environmental perception information and the real driving environment.
[0065] After determining the first target map data and the second target map data, a target distance can be determined based on the first map data, the second map data, the first target map data, and the second target map data to determine the similarity between the first map data and the second map data. Specifically, based on the Hausdorff distance calculation method, point sets can be traversed on both the first target map data and the second map data, as well as on both the first map data and the second target map data, to determine the target distance used to represent the distance between the first map data and the second map data. This target distance can be used to represent the similarity between the first map data and the second map data.
[0066] The target distance can be calculated by first determining the first target distance based on the first target map data and the second map data. This first target distance is the maximum value among multiple distance values between each first location point in the first target map data and the nearest second location point in the second map data. Specifically, the Hausdorff distance algorithm can be used, with the second map data as the inner loop, to determine the minimum distance from each first location point in the first target map data to multiple second location points; and with the first target map data as the outer loop, to determine the maximum distance among the multiple minimum distances from each first location point to each second location point.
[0067] It should be noted that a random sampling strategy can be implemented during the inner and outer loops based on the Hausdorff distance algorithm to calculate the distance value of the first target. Specifically, during the process of calculating the distance sequentially using multiple first location points in the first target map data as the outer loop, after calculating the minimum distance from the first first location point to multiple second location points, when calculating the distance from the next first location point to multiple second location points, if this distance value is less than the minimum distance corresponding to the first first location point, the traversal of subsequent second location points for that first location point is stopped.
[0068] The target distance can also be calculated based on the second target map data and the first map data. This second target distance is the maximum value among multiple distance values between each second location point in the second target map data and the nearest first location point in the first map data. Specifically, the Hausdorff distance algorithm can be used, with the first map data as the inner loop, to determine the minimum distance from each second location point in the second target map data to multiple first location points; and with the second map data as the outer loop, to determine the maximum distance among multiple minimum distances from each second location point to each first location point.
[0069] It should be noted that a random sampling strategy can also be implemented during the inner and outer loops based on the Hausdorff distance algorithm to calculate the distance value of the second target. Specifically, during the process of calculating the distance sequentially using multiple second location points in the second target map data as the outer loop, after calculating the minimum distance from the first second location point to multiple first location points, when calculating the distance from the next second location point to multiple first location points, if this distance value is less than the minimum distance corresponding to the first second location point, the traversal of subsequent first location points for that second location point is stopped.
[0070] After determining the first target distance value and the second target distance value, the target distance can also be calculated by taking the distance between the first target distance and the second target distance that meets the preset value conditions as the target distance. After determining the target distance, the similarity is determined based on the target distance.
[0071] It should be noted that the target distance can be determined using the Hausdorff distance algorithm, which identifies multiple distance values between the first target map data and the second map data, resulting in the first target distance and the second target distance. After determining the first and second target distance values, the distance value that satisfies preset conditions can be used as the target distance. This target distance can be used to quantitatively analyze the similarity between the first and second map data and determine the similarity between them.
[0072] After determining the target distance, the similarity between the first and second map data can be determined based on this target distance. Specifically, the target distance is negatively correlated with the similarity between the first and second map data; the smaller the target distance, the higher the similarity between the two sets of map data; conversely, the larger the target distance, the lower the similarity between the two sets of map data. Therefore, the similarity between the first and second map data can be quantitatively analyzed using the target distance calculated based on the Hausdorff distance. This allows for the evaluation of the accuracy of map data such as road boundaries, lane lines, and lane center lines in real-time generated virtual driving scenarios, providing a reference for optimizing and improving the perception and decision-making systems of autonomous vehicles.
[0073] 206. If the similarity is less than the preset similarity threshold, update the first map data according to the second map data to obtain the target map data.
[0074] After determining the similarity between the first target map data and the second target map data, this similarity can be compared with a preset similarity threshold. If the similarity is less than the threshold, it is determined that the virtual driving scenario created based on environmental perception information is not similar to the real driving scenario. Therefore, the virtual driving scenario created based on environmental perception information can be updated based on the second map data to determine the updated target map data.
[0075] In other implementations, if the similarity is greater than or equal to a similarity threshold, the first map data is used as the target map data.
[0076] If the similarity between the first target map data and the second target map data is greater than or equal to the similarity threshold, it can be determined that the virtual driving scenario created based on the environmental perception information is quite similar to the real driving scenario. Therefore, the first map data corresponding to the first target map data with high similarity can be used as the target map data.
[0077] exist Figure 2 In the described method embodiment, environmental perception information of the driving environment in which the vehicle is located can be collected; based on the environmental perception information, a map of the driving environment in which the vehicle is located can be constructed to obtain first map data; real map data can be acquired to obtain second map data; the first map data and the second map data can be subjected to disjunction calculation to obtain first target map data and second target map data respectively; a similarity can be determined based on the first target map data and the second target map data, which is used to characterize the similarity between the first map data and the second map data; if the similarity is less than a preset similarity threshold, the first map data can be updated based on the second map data to obtain target map data. Thus, after acquiring the constructed first map data and the real-world second map data respectively, the disjunction calculation between the first map data and the second map data can be performed, thereby reducing the amount of map data to be calculated and improving the efficiency of map data processing. Furthermore, by determining the similarity used to characterize the first target map data and the second target map data, and updating the simulated first map data when the similarity is less than a similarity threshold, the accuracy of the map data used for simulating the driving environment in which the vehicle is located and the effectiveness of simulating the driving environment can be improved.
[0078] Please see Figure 3 , Figure 3 This is a schematic flowchart of another data processing method disclosed in an embodiment of this application. This data processing method can be applied to vehicles. Figure 3 As shown, the data processing method may include the following steps.
[0079] 301. Collect environmental perception information about the driving environment in which the vehicle is located.
[0080] 302. Based on the environmental perception information, a map is constructed of the driving environment in which the vehicle is located, and the first map data is obtained.
[0081] 303. Obtain the real map data to get the second map data.
[0082] The specific content of steps 301 to 303 can be referred to the specific description of steps 201 to 203, and will not be repeated here.
[0083] In some other implementations, after acquiring the first map data and the second map data, multiple location points can be identified within the first and second map data. Specifically, map line features in the map data can be identified, such as road boundaries, lane lines, and lane center lines. After identifying the map line features in the map data, these features can be vectorized to obtain multiple ordered feature point sets corresponding to the map line features in the map data.
[0084] It should be noted that the first map data may include multiple ordered feature point sets, which can be multiple positioning points that form virtual road boundaries, virtual lane lines, and virtual lane center lines. The ordered feature point sets in the first map data may include multiple first positioning points; that is, the multiple first positioning points in the first map data can form virtual lane lines, virtual lane lines, or virtual lane center lines. The second map data may include multiple ordered feature point sets, which may include multiple second positioning points; that is, the multiple second positioning points in the second map data can mark real road boundaries, real lane lines, and real lane center lines in a real driving scenario.
[0085] 304. Determine the intersection dataset of the first map data and the second map data.
[0086] The intersection dataset can be duplicate data in the first map data and the second map data, and the intersection dataset can include multiple location points that appear in both the first map data subset and the second map data subset.
[0087] After determining the first map data and the second map data, the intersection dataset between the first map data and the second map data can be determined. The first map data may include multiple first target positioning points, and the second map data may include multiple second positioning points. Specifically, the intersection dataset between the first map data and the second map data can be determined by identifying the same target points among the multiple first positioning points in the first map data and the multiple second positioning points in the second map data.
[0088] 305. Perform a difference calculation between the first map data and the intersection dataset to obtain the first target map data.
[0089] After determining the intersection dataset between the first map data and the second map data, the difference between the first map data and the intersection dataset can be calculated to obtain the first target map data corresponding to the first map data. The first target map data can be the map data obtained after performing an intersection calculation on the first map data.
[0090] 306. Perform the difference calculation between the second map data and the intersection dataset to obtain the second target map data.
[0091] After determining the intersection dataset between the first and second map data, the difference between the second map data and the intersection dataset can be calculated to obtain the second target map data corresponding to the second map data. This second target map data can be the map data obtained after performing an intersection calculation on a subset of the second map data.
[0092] For example, after determining the first map data A and the second map data B, it is possible to determine S = A ∩ B, where S can represent the intersection of multiple point sets in the first map data A and the second map data B, i.e., S = A ∩ B. After determining the intersection dataset S in the first map data A and the second map data B, it is possible to determine the first target map data E1 = AS = AA ∩ B and the second target map data E2 = BS = BA ∩ B.
[0093] Please see Figure 3A , Figure 3A This is a schematic diagram of a scene. In the diagram, (a) and (b) represent two raster sets used for comparison, namely the first map data subset A and the second map data subset B, respectively. In the diagram, raster set S represents the intersection of A and B, i.e., S = A ∩ B. In the diagram, raster set E1 represents the part of A after excluding the intersection with B, i.e., E1 = AA ∩ B.
[0094] 307. Determine the distance to the first target based on the first target map data and the second target map data.
[0095] Wherein, the first target distance is the minimum distance among multiple distance values between each first location point in the first target map data and the second location point in the second map data that is closest to each first location point.
[0096] It should be noted that the first map data includes multiple first positioning points, the first target map data includes a portion of the multiple first positioning points, the second map data includes multiple second positioning points, and the second target data includes a portion of the multiple second positioning points.
[0097] The first map data includes multiple first positioning points, and the second map data includes multiple second positioning points. The first map data includes the first target map data, and the second map data includes the second target map data. Accordingly, the first target map data belongs to the first map data, and the second target map data belongs to the second map data. The first target map data may include multiple first positioning points from any part of the first map data, and the second target map data may include multiple second positioning points from any part of the second map data.
[0098] After determining the first target map data, multiple distance values can be determined between multiple first positioning points in the first target map data and the nearest second positioning point in the second map data, based on the first target map data and the second map data. The first target distance is then determined from these multiple distance values. Specifically, after determining the first target map data and the second map data, the Hausdorff distance algorithm can be used, with the second map data as the inner loop, to determine the minimum distance among the multiple minimum distances from each first positioning point to each of the multiple second positioning points; and with the first target map data as the outer loop, to determine the maximum distance among the multiple minimum distances from each first positioning point to each of the multiple second positioning points.
[0099] In some specific implementations, determining the first target distance can be achieved by using any first location point in the first target map data as the first-order first location point in the first target map data. The first distance value between the first-order first location point and each second location point in the second map data is then calculated sequentially.
[0100] Take the minimum value among multiple first distance values as the first target distance, and perform the following steps:
[0101] Step a: Determine whether there is a next first positioning point in the first target map data; if there is a next first positioning point in the first target map data, then take the next first positioning point in the first target map data as the current first-order first positioning point in the first target map data; take any second positioning point in the second map data as the current second positioning point in the second map data;
[0102] Step b: Calculate the second distance value between the current first positioning point in the first target map data and the current second positioning point in the second map data, and compare the second distance value with the first target distance;
[0103] If the second distance value is less than or equal to the first target distance, then the calculation of the second distance value between the current first-order first positioning point in the first target map data and the next second positioning point in the second map data is stopped, and the process returns to step a;
[0104] If the second distance value is greater than the first target distance and the second map data has a next second location point, then the next second location point in the second map data is taken as the current second location point in the second map data, and the process returns to step b to continue execution. If the second map data does not have a next second location point, then the first target distance is updated to the minimum value among multiple second distance values that are greater than the first target distance, and the process returns to step a to continue execution.
[0105] The first positioning point of the first sequence can be any one of the multiple positioning points in the first target map data, or it can be the first positioning point among the multiple positioning points in the first target map data.
[0106] For example, given first target map data A = {a1, a2, ..., a...} m The second map data can include B = {b1, b2, ..., b}. n The dataset contains location points. The distance to the first target is determined from the first target map data to the second map data by calculating the minimum distance from each location point a1, a2, a3, a4, and a5 to the second map data, resulting in multiple distance values. After determining these multiple distance values, the maximum value is selected to determine the distance to the first target.
[0107] Please see Figure 3B , Figure 3B This is a schematic diagram of a scenario. Specifically, Figure 3B (1) can represent the minimum distances from multiple points {a1,a2,a3,a4,a5} in point set A to multiple points {b1,b2,b3,b4} in point set B. After determining these minimum distances, the maximum value can be determined among the multiple minimum distances to obtain the first target distance.
[0108] 308. Determine the distance to the second target based on the map data of the second target and the map data of the first target.
[0109] Wherein, the second target distance is the maximum value of multiple distance values between each second location point in the second target map data and the first location point in the first map data that is closest to each second location point.
[0110] After determining the second target map data, multiple distance values can be determined between multiple second positioning points in the second target map data and the nearest first positioning point in the first map data, based on the second target map data and the first map data. The second target distance is then determined from these multiple distance values. Specifically, after determining the second target map data and the first map data, the Hausdorff distance algorithm can be used, with the first map data as the inner loop, to determine the minimum distance among the multiple first positioning points for each second positioning point; and with the second target map data as the outer loop, to determine the maximum distance among the multiple minimum distances from each second positioning point to each first positioning point.
[0111] In some specific implementations, determining the second target distance can involve using any second location point in the second target map data as the first-order second location point in the first target map data. The first distance values between the first-order second location point and any second location point in the first map data are calculated sequentially. The minimum value among the multiple first distance values is taken as the second target distance, and the following steps are performed: Step a: Determine whether the second target map data contains a next second location point; if the second target map data contains a next second location point, then use the next second location point in the second target map data as the current first-order second location point in the second target map data; use any first location point in the first map data as the current first location point in the first map data.
[0112] Step b: Calculate the second distance value between the current first-order second positioning point in the second target map data and the current first positioning point in the first map data, and compare the second distance value with the distance to the second target.
[0113] If the second distance value is less than or equal to the second target distance, then the calculation of the second distance value between the current first-order second location in the second target map data and the next first location in the first map data is stopped, and the process returns to step a;
[0114] If the second distance value is greater than the second target distance and the first map data has a next first location point, then the next first location point in the first map data is taken as the current first location point in the first map data, and the process returns to step b to continue execution. If the first map data does not have a next first location point, then the second target distance is updated to the minimum value among multiple second distance values that are greater than the second target distance, and the process returns to step a to continue execution.
[0115] The first-order second positioning point can be any one of the multiple second positioning points in the second target map data, or it can be the first positioning point among the multiple second positioning points in the second target map data.
[0116] It should be noted that when calculating multiple distance values between the second target map data and the first map data based on the Hausdorff distance algorithm, the second target map data can be used as the outer loop and the first map data as the inner loop for iteration to determine the minimum multiple distance values between each second positioning point in the second target map data and the first map data.
[0117] For example, given first map data A = {a1, a2, ..., a...} m The second target map data can include B = {b1, b2, ..., b}. n The dataset contains location points. The distance to the second target can be determined by calculating the distance to each location point a1, a2...a... m The minimum distance to the second map data is used to obtain multiple distance values. After determining multiple distance values, the maximum value among them can be determined to determine the distance to the second target.
[0118] Please see Figure 3B , Figure 3B This is a schematic diagram of a scenario. Specifically, Figure 3B (2) This can represent the minimum distances from multiple points {b1,b2,b3,b4} in point set B to multiple points {a1,a2,a3,a4,a5} in point set A. After determining these minimum distances, the maximum value can be determined among the multiple minimum distances to obtain the second target distance.
[0119] For example, h(A,B) can represent the first target distance determined in the first set of distance values.
[0120]
[0121] Where, dist(.,.) represents the Euclidean distance between point sets A and B, and h(A,B) can represent the first target distance, which can be the maximum of the multiple minimum distances from each point a in point set A to each point b in point set B.
[0122] h(B,A) can represent the second target distance determined in the second set of distance values.
[0123]
[0124] The second target distance h(B,A) can be the maximum distance among the multiple minimum distances from each point b in point set B to each point a in point set A.
[0125] 309. The distance between the first target distance and the second target distance that satisfies the preset value conditions shall be taken as the target distance.
[0126] After determining the first target distance and the second target distance, the distance between the first and second target distances that satisfies a preset value condition can be used as the target distance. This preset value condition can be that the larger value between the first and second target distances is selected as the target distance to represent the similarity between the first and second map data. Alternatively, this preset condition can be determined by using quantile regression to determine the quantile value through the sum of the weighted absolute values of the residuals, and then using this quantile value to determine the target distance between the first and second target distances.
[0127] For example, the larger value between the first target distance and the second target distance can be selected as the target distance, and the specific selection formula is as follows:
[0128] H(A,B) = max{h(A,B),h(B,A)}
[0129] However, in the process of determining the distance between the first target and the second target based on the Hausdorff distance algorithm using the first map data, the second map data, the first target map data, and the second target map data, the computational resources required for the calculation process of the first target map data and the second target map data to perform inner and outer loop iterations increase exponentially due to the increase in the amount of data in the first map data and the second map data, thus reducing the efficiency of map data processing.
[0130] To address the aforementioned technical problems, in some embodiments, the present application's solution, during the process of determining the target distance based on the first target map data and the second target map data using the Hausdorff distance algorithm, can employ a random sampling method to randomize the inner and outer loops of the first target map data to the second map data and the second target map data to the first map data, respectively. Specifically, during the calculation process of the Hausdorff distance algorithm, when calculating the distance using the inner loop point set B, if a distance value less than the current maximum value is found, it is unnecessary to iterate through all other points in this traversal point set B. That is, when this situation occurs, the inner loop can be terminated as early as possible. Therefore, by randomly adjusting the iteration order of multiple positioning points in the first target map data and the second map data, the locality effect in the calculation process can be eliminated, and the computational performance of the iterative algorithm can be improved.
[0131] Please see Figure 3C , Figure 3CThis is a schematic diagram of a scenario. In this scenario, when comparing the point sets of two curves, where one curve almost lies on the extension of the other, a random sampling strategy can be used in one loop to reduce the computational steps for the point sets of the two overlapping (on the extensions) curves. This allows for the determination of any location point 'a' in set A. i Once the maximum distance to B is b5, there is no need to locate at a convenient point a. i To other location points. This reduces computational resource consumption and improves data processing efficiency.
[0132] 310. Determine the similarity based on the target distance.
[0133] This similarity is used to characterize the similarity between the first map data and the second map data.
[0134] After determining the target distance based on the first target map data and the second target map data, the similarity degree used to characterize the similarity between the first map data and the second map data can be determined based on the target distance.
[0135] It should be noted that the target distance can exhibit a negative linear correlation with the similarity. Specifically, the target distance is negatively correlated with the similarity between the first and second map data; a smaller target distance indicates higher similarity between the two sets of map data, while a larger target distance indicates lower similarity. Therefore, the similarity between the first and second map data can be quantitatively analyzed using the target distance calculated based on the Hausdorff distance. This allows for the assessment of the accuracy of map data such as road boundaries, lane lines, and lane center lines generated in real-time virtual driving scenarios by vehicles, providing a reference for optimizing and improving the perception and decision-making systems of autonomous vehicles.
[0136] 311. If the similarity is less than the preset similarity threshold, update the first map data according to the second map data to obtain the target map data.
[0137] After determining the similarity between the first target map data and the second target map data, this similarity can be compared with a preset similarity threshold. If the similarity is less than the threshold, it is determined that the virtual driving scenario created based on environmental perception information is not similar to the real driving scenario. Therefore, the virtual driving scenario created based on environmental perception information can be updated based on the second map data to determine the updated target map data.
[0138] In other implementations, if the similarity is greater than or equal to a similarity threshold, the first map data can be used as the target map data. If the similarity between the first target map data and the second target map data is greater than or equal to the similarity threshold, it can be determined that the virtual driving scenario created based on environmental perception information is quite similar to the real driving scenario. Therefore, the first map data corresponding to the first target map data with the higher similarity can be used as the target map data.
[0139] Please see Figure 3D , Figure 3D This is a schematic diagram of a specific process. Specifically, it involves acquiring data to be evaluated and ground truth data. The data to be evaluated can be virtual map data created based on a mapping algorithm, while the ground truth data can be labeled real map data. After acquiring the data to be evaluated and the real data, the map line features in the first and second map data can be vectorized to obtain multiple ordered feature point sets corresponding to the map line features in the map data. After determining the ordered point sets in the data to be evaluated and the real data, the one-way Hausdorff distance between the data to be evaluated and the real data can be calculated. After determining the one-way Hausdorff distance between the data to be evaluated and the real data, a strategy of random sampling iteration order and point set rasterization to exclude intersections can be used to calculate the two-way Hausdorff distance between the data to be evaluated and the real data. The similarity between the data to be evaluated and the real data is then determined based on the calculated two-way Hausdorff distance.
[0140] In other implementations, the bidirectional distance between the data to be evaluated and the ground truth data can be determined by calculating distance metrics such as Euclidean distance, Manhattan distance, Mahalanobis distance, and Chelbiff distance. The similarity between the data to be evaluated and the ground truth data is then determined based on the bidirectional distance between them.
[0141] exist Figure 3In the described method embodiment, environmental perception information of the driving environment in which the vehicle is located can be collected; based on the environmental perception information, a map of the driving environment in which the vehicle is located can be constructed to obtain first map data; real map data can be acquired to obtain second map data; the first map data and the second map data can be subjected to disjunction calculation to obtain first target map data and second target map data respectively; a similarity can be determined based on the first target map data and the second target map data, which is used to characterize the similarity between the first map data and the second map data; if the similarity is less than a preset similarity threshold, the first map data can be updated based on the second map data to obtain target map data. Thus, after acquiring the constructed first map data and the real-world second map data respectively, the disjunction calculation between the first map data and the second map data can be performed, thereby reducing the amount of map data to be calculated and improving the efficiency of map data processing. Furthermore, by determining the similarity used to characterize the first target map data and the second target map data, and updating the simulated first map data when the similarity is less than a similarity threshold, the accuracy of the map data used for simulating the driving environment in which the vehicle is located and the effectiveness of simulating the driving environment can be improved.
[0142] It should be understood that the same or corresponding information in the different embodiments described above can be referenced in relation to each other.
[0143] It should be understood that, although Figure 2 , 3 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2 , 3 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0144] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of the data processing apparatus 400 disclosed in an embodiment of this application. The data processing apparatus 400 may include:
[0145] The acquisition unit 401 is used to acquire environmental perception information of the driving environment in which the vehicle is located.
[0146] The mapping unit 402 is used to map the driving environment in which the vehicle is located based on environmental perception information to obtain the first map data;
[0147] Acquisition unit 403 is used to acquire real map data to obtain second map data;
[0148] The calculation unit 404 is used to perform deintersection calculations on the first map data and the second map data respectively to obtain the first target map data and the second target map data.
[0149] The first determining unit 405 is configured to determine a similarity based on the first target map data and the second target map data, wherein the similarity is used to characterize the similarity between the first map data and the second map data;
[0150] The update unit 406 is used to update the first map data based on the second map data to obtain the target map data when the similarity is less than a preset similarity threshold.
[0151] In some embodiments, the data processing apparatus 400 may further include:
[0152] The second determining unit 407 is used to use the first map data as the target map data when the similarity is greater than or equal to the similarity threshold.
[0153] In some embodiments, the calculation unit 404 may be specifically used for:
[0154] Determine the intersection dataset between the first map data and the second map data;
[0155] The first target map data is obtained by performing a difference calculation between the first map data and the intersection dataset;
[0156] The second target map data is obtained by performing a difference calculation between the second map data and the intersection dataset.
[0157] In some embodiments, the first map data includes a plurality of first positioning points, the first target map data includes a portion of the first positioning points, the second map data includes a plurality of second positioning points, and the second target data includes a portion of the second positioning points. The first determining unit 405 may be specifically used for:
[0158] The distance to the first target is determined based on the first target map data and the second map data. The first target distance is the maximum distance among multiple distance values between each first location point in the first target map data and the second location point in the second map data that is closest to each first location point.
[0159] The distance to the second target is determined based on the second target map data and the first map data. This second target distance is the maximum distance among multiple distance values between each second location point in the second target map data and the first location point in the first map data that is closest to each second location point.
[0160] The distance that satisfies the preset value condition between the first target distance and the second target distance is taken as the target distance;
[0161] Similarity is determined based on the target distance.
[0162] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the above-described apparatus and unit can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0163] In several embodiments disclosed in this application, the coupling between the units can be electrical, mechanical, or other forms of coupling.
[0164] Furthermore, the functional units in the various embodiments of this application 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. The integrated unit can be implemented in hardware or as a software functional unit.
[0165] like Figure 5As shown in the figure, this application also discloses a schematic diagram of a vehicle structure. The vehicle includes a processor 501 and a memory 502. The memory 502 stores computer program instructions. When the computer program instructions are called by the processor 501, they can execute the various method steps disclosed in the above embodiments. Those skilled in the art will understand that the structure of the vehicle shown in the figure does not constitute a limitation on the vehicle. It may include more or fewer components than shown, or combine certain components, or have different component arrangements. Specifically, the processor 501 may include one or more processing cores. The processor 501 uses various interfaces and lines to connect to various parts within the entire battery management system. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 502, it calls data stored in the memory 502, executes various functions and processes data of the battery management system, and executes various functions and processes data of the vehicle, thereby performing overall monitoring of the vehicle. Optionally, the processor 501 may be implemented using at least one hardware form selected from Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). Processor 501 can integrate one or more of the following: a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem can also be implemented separately as a dedicated communication chip, without being integrated into processor 501.
[0166] Memory 502 may include random access memory (RAM) or read-only memory (ROM). Memory 502 may be used to store instructions, programs, code, code sets, or instruction sets. Memory 502 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), instructions for implementing the various method embodiments described below, etc. The data storage area may also store data generated during vehicle use (such as phonebooks, audio and video data, chat log data, etc.). Accordingly, memory 502 may also include a memory controller to expose processor 501's access to memory 502.
[0167] Although not shown, the vehicle may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 501 in the vehicle loads the executable files corresponding to the processes of one or more application programs into the memory 502 according to the following instructions, and the processor 501 runs the application programs stored in the memory 502, thereby implementing the various method steps disclosed in the foregoing embodiments.
[0168] like Figure 6 As shown in the embodiments, this application also discloses a computer-readable storage medium storing computer program instructions that can be invoked by a processor to execute the methods described in the above embodiments.
[0169] Computer-readable storage media can be electronic storage devices such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, computer-readable storage media include non-volatile computer-readable storage medium. The computer-readable storage medium has storage space for program code that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code can be compressed, for example, in a suitable form.
[0170] According to one aspect of this application, a computer program product or computer program is disclosed, comprising computer instructions stored in a computer-readable storage medium. A vehicle's processor reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the vehicle to perform the methods disclosed in the various optional implementations of the above embodiments.
[0171] The above are merely preferred embodiments of this application and are not intended to limit this application in any way. Although this application has disclosed preferred embodiments as above, it is not intended to limit this application. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the technical solution of this application. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of this application without departing from the scope of the technical solution of this application shall still fall within the scope of the technical solution of this application.
Claims
1. A data processing method, characterized in that, The method includes: Collect environmental perception information about the driving environment in which the vehicle is located; Based on the environmental perception information, a map is constructed of the driving environment in which the vehicle is located, and first map data is obtained. Obtain real map data to obtain second map data; The first map data and the second map data are respectively subjected to deintersection calculation to obtain the first target map data and the second target map data; A similarity is determined based on the first target map data and the second target map data, wherein the similarity is used to characterize the similarity between the first map data and the second map data; The first map data includes multiple first positioning points, the first target map data includes a portion of the first positioning points, the second map data includes multiple second positioning points, the second target map data includes a portion of the second positioning points, and the step of determining similarity based on the first target map data and the second target map data includes: A first target distance is determined based on the first target map data and the second map data. The first target distance is the maximum distance among multiple distance values between each first location point in the first target map data and the second location point in the second map data that is closest to each first location point. The second target distance is determined based on the second target map data and the first map data. The second target distance is the maximum distance among multiple distance values between each second location point in the second target map data and the first location point in the first map data that is closest to each second location point. The distance between the first target distance and the second target distance that satisfies the preset value condition is taken as the target distance; The similarity is determined based on the target distance; If the similarity is less than a preset similarity threshold, the first map data is updated based on the second map data to obtain the target map data.
2. The method as described in claim 1, characterized in that, The method further includes: If the similarity is greater than or equal to the similarity threshold, the first map data is determined as the target map data.
3. The method as described in claim 1, characterized in that, The step of performing intersection calculations on the first map data and the second map data to obtain the first target map data and the second target map data includes: Determine the intersection dataset between the first map data and the second map data; The first target map data is obtained by performing a difference calculation between the first map data and the intersection dataset; The second target map data is obtained by performing a difference calculation between the second map data and the intersection dataset.
4. The method as described in claim 1, characterized in that, Determining the distance to the first target based on the first target map data and the second map data includes: Take any one of the first positioning points in the first target map data as the first-order first positioning point in the first target map data; Calculate the first distance value between the first positioning point in the first sequence and each second positioning point in the second map data in sequence; The minimum value among the multiple first distance values is taken as the first target distance, and the following steps are performed: Step a: Determine whether there is a next first positioning point in the first target map data; if there is a next first positioning point in the first target map data, then take the next first positioning point in the first target map data as the current first-order first positioning point in the first target map data; take any second positioning point in the second map data as the current second positioning point in the second map data; Step b: Calculate the second distance value between the current first positioning point in the first target map data and the current second positioning point in the second map data, and compare the second distance value with the first target distance; If the second distance value is less than or equal to the first target distance, then the calculation of the second distance value between the current first positioning point in the first target map data and the next second positioning point in the second map data is stopped, and the process returns to step a; If the second distance value is greater than the first target distance and the second map data has a next second location point, then the next second location point in the second map data is taken as the current second location point in the second map data, and the process returns to step b to continue execution. If the second map data does not have a next second location point, then the first target distance is updated to the minimum value among multiple second distance values that are greater than the first target distance, and the process returns to step a to continue execution.
5. The method as described in claim 1, characterized in that, Determining the distance to the second target based on the second target map data and the first map data includes: Take any one of the second positioning points in the second target map data as the first-order second positioning point in the second target map data; Calculate the first distance value between the first sequential second positioning point and each first positioning point in the first map data in turn; The minimum value among the multiple first distance values is taken as the second target distance, and the following steps are performed: Step a: Determine whether there is a next second location point in the second target map data; if there is a next second location point in the second target map data, then take the next second location point in the second target map data as the current first-order second location point in the second target map data; take any first location point in the first map data as the current first location point in the first map data; Step b: Calculate the second distance value between the current first-order second positioning point in the second target map data and the current first positioning point in the first map data, and compare the second distance value with the second target distance; If the second distance value is less than or equal to the second target distance, then the calculation of the second distance value between the current first-order second location in the second target map data and the next first location in the first map data is stopped, and the process returns to step a; If the second distance value is greater than the second target distance and the first map data has a next first positioning point, then the next first positioning point in the first map data is taken as the current first positioning point in the first map data, and the process returns to step b to continue execution. If the first map data does not have a next first positioning point, then the second target distance is updated to the minimum value among multiple second distance values that are greater than the second target distance, and the process returns to step a to continue execution.
6. A data processing apparatus, characterized in that, The data processing device includes: The data acquisition unit is used to collect environmental perception information about the driving environment in which the vehicle is located. The mapping unit is used to map the driving environment of the vehicle based on the environmental perception information to obtain first map data; The acquisition unit is used to acquire real map data to obtain second map data; The calculation unit is used to perform deintersection calculations on the first map data and the second map data respectively to obtain the first target map data and the second target map data; A determining unit is configured to determine a similarity based on the first target map data and the second target map data, wherein the similarity is used to characterize the similarity between the first map data and the second map data; The first map data includes multiple first positioning points, the first target map data includes a portion of the multiple first positioning points, the second map data includes multiple second positioning points, and the second target map data includes a portion of the multiple second positioning points. The determining unit is specifically configured to: determine a first target distance based on the first target map data and the second map data, wherein the first target distance is the maximum distance among multiple distance values between each first positioning point in the first target map data and the nearest second positioning point in the second map data; determine a second target distance based on the second target map data and the first map data, wherein the second target distance is the maximum distance among multiple distance values between each second positioning point in the second target map data and the nearest first positioning point in the first map data; use the distance between the first target distance and the second target distance that satisfies a preset value condition as the target distance; and determine the similarity based on the target distance. The update unit is used to update the first map data according to the second map data when the similarity is less than a preset similarity threshold, so as to obtain the target map data.
7. A vehicle, characterized in that, The method includes a memory and a processor, wherein the memory stores a computer program, and the processor invokes the computer program to implement the method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program or computer instructions that, when executed by a processor, implement the method as described in any one of claims 1-5.
9. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium, which, when executed by a processor, implement the method described in any one of claims 1-5.
Citation Information
Patent Citations
Automatic driving simulation test method, device and equipment and storage medium
CN114527675A
Map updating method, automatic driving method, electronic equipment and storage medium
CN114689036A
