Data processing method and device, equipment and storage medium
Through the data processing method of correlation cleaning based on self-vehicles in intelligent driving technology, the problem of lack of transparency and verifiability in data processing is solved, and the data quality and algorithm training effect are improved.
Patent Information
- Application Number
- CN202410848869.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-11
AI Technical Summary
The data processing methods in the existing technology lack transparency and cannot ensure the traceability and verifiability of the data cleaning process, which affects the effectiveness and efficiency of intelligent driving algorithm training.
Provide a data processing method that performs correlation cleaning on the original scene information based on the self-vehicle, cleans the vehicle data by setting rules to ensure the transparency and verifiability of the data cleaning process, and dynamically adjusts the rules based on algorithm training feedback to improve Data quality.
It achieves high transparency and verifiability of the data cleaning process, improves the effectiveness and quality of training data, and improves the training effect and efficiency of intelligent driving algorithms.
Smart Images

Figure CN118760965A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of equipment technology, and in particular to a data processing method, device, equipment and storage medium. Background Art
[0002] With the rapid development of intelligent driving technology, training based on real driving scene information of human experts has become a key method for training intelligent driving algorithms. However, the above scene information often contains a lot of redundant and invalid information, which has a negative impact on the training effect and efficiency of the algorithm.
[0003] Some related technologies usually use data processing methods based on black box models. These methods lack transparency, and the details of the internal steps cannot be confirmed. They cannot ensure the traceability and verifiability of the data cleaning process and the effectiveness of the screened data. Summary of the invention
[0004] One of the purposes of the present disclosure is to provide a data processing method, which can clean the original vehicle data in the original scene information based on the self-vehicle according to the first set rules to obtain the cleaned target vehicle data, which not only ensures the high transparency and verifiability of the data cleaning process, but also can dynamically adjust the first set rules according to the feedback of the algorithm training to continuously improve the effectiveness and quality of the training data; the second purpose of the present disclosure is to provide a data processing device; the third purpose of the present disclosure is to provide a device; the fourth purpose of the present disclosure is to provide a storage medium.
[0005] In order to achieve the above objectives, in a first aspect, the present disclosure provides a data processing method, the data processing method comprising:
[0006] Get original scene information;
[0007] Based on the vehicle, the original scene information is cleaned for correlation to obtain cleaned target scene information;
[0008] The original scene information includes original vehicle data, the target scene information includes target vehicle data, and the cleansing of the original scene information based on the vehicle to obtain the cleaned target scene information includes:
[0009] Based on the self-vehicle, the original vehicle data is cleaned for relevance according to a first set rule to obtain the cleaned target vehicle data.
[0010] Optionally, the original vehicle data includes a plurality of sub-original vehicle data corresponding to a plurality of decision-making behavior labels of the vehicle, and the target vehicle data includes a plurality of sub-target vehicle data, wherein the plurality of sub-original vehicle data corresponds one-to-one to the plurality of decision-making behavior labels, and the plurality of sub-target vehicle data corresponds one-to-one to the plurality of sub-original vehicle data;
[0011] The step of performing correlation cleaning on the original vehicle data based on the self-vehicle according to a first set rule to obtain the cleaned target vehicle data includes:
[0012] Based on the decision behavior label, the corresponding sub-original vehicle data is cleaned to obtain the sub-target vehicle data corresponding to the sub-original vehicle data.
[0013] Optionally, the sub-original vehicle data includes original vehicle data, and the sub-target vehicle data includes target vehicle data;
[0014] The step of cleaning the corresponding sub-original vehicle data based on the decision behavior label to obtain the sub-target vehicle data corresponding to the sub-original vehicle data includes:
[0015] Dividing the original data of the vehicle according to a set time length, and dividing the original data of the vehicle into a plurality of original frames of the vehicle;
[0016] Based on a first set number and a target time of the vehicle, a plurality of original frame data of the vehicle are cleaned to determine the first set number of target frame data of the vehicle; wherein the target time is the time when the decision behavior corresponding to the decision behavior label occurs;
[0017] The own vehicle target data is determined based on the first set number of the own vehicle target frame data.
[0018] Optionally, the sub-original vehicle data includes surrounding vehicle original data, and the sub-target vehicle data includes surrounding vehicle target data;
[0019] The step of cleaning the corresponding sub-original vehicle data based on the decision behavior label to obtain the sub-target vehicle data corresponding to the sub-original vehicle data includes:
[0020] Dividing the original data of the surrounding vehicle according to the set time length, and dividing the original data of the surrounding vehicle into a plurality of original frames of surrounding vehicle data;
[0021] Based on the second set number and the target time of the self-vehicle, a plurality of the surrounding vehicle original frame data are cleaned to determine the second set number of surrounding vehicle target frame data; wherein the target time is the time when the decision behavior corresponding to the decision behavior label occurs;
[0022] The surrounding vehicle target data is determined based on the second set number of surrounding vehicle target frame data.
[0023] Optionally, determining the surrounding vehicle target data based on the second set number of surrounding vehicle target frame data includes:
[0024] Based on the third set number, the first set range and the target position of the vehicle, the second set number of the surrounding vehicle target frame data is cleaned to determine the surrounding vehicle target data; wherein the target position is the position of the vehicle at the target moment.
[0025] Optionally, the original scene information includes original lane line data, the target scene information includes target lane line data, and the performing correlation cleaning on the original scene information based on the vehicle to obtain cleaned target scene information includes:
[0026] Based on the vehicle, the original lane line data is cleaned for correlation according to a second set rule to obtain the cleaned target lane line data.
[0027] Optionally, the original lane line data includes a plurality of sub-original lane line data corresponding to a plurality of decision behavior labels of the vehicle, and the target lane line data includes a plurality of sub-target lane line data, wherein the plurality of sub-original lane line data correspond one-to-one to the plurality of decision behavior labels, and the plurality of sub-target lane line data correspond one-to-one to the plurality of sub-original lane line data;
[0028] The process of performing correlation cleaning on the original lane line data based on the vehicle according to the second setting rule to obtain the cleaned target lane line data includes:
[0029] Performing coordinate system conversion on the sub-original lane line data to obtain first lane line data after coordinate system conversion;
[0030] Discretize the first lane line data, configure discretized points for lane line segments in the first lane line data, and obtain second lane line data after discretization;
[0031] Performing vectorization processing on the second lane line data, performing vectorization conversion on the discretized points corresponding to the lane line segments in the second lane line data, and obtaining third lane line data after vectorization processing;
[0032] Based on the ego vehicle, correlation cleaning is performed on the third lane line data according to a second setting rule to obtain the sub-target lane line data.
[0033] Optionally, the performing correlation cleaning on the third lane line data according to a second set rule based on the ego vehicle to obtain the sub-target lane line data includes:
[0034] Based on the lane line direction of the lane line segment in the third lane line data and the target direction of the ego vehicle, determine the angle difference between the lane line direction and the target direction; wherein the target direction is the body direction of the ego vehicle when executing the decision behavior corresponding to the decision behavior label;
[0035] Eliminate lane line segments whose angle difference is greater than or equal to a set angle threshold in the third lane line data to obtain cleaned fourth lane line data;
[0036] Based on the target position of the vehicle, the fourth lane line data is cleaned to obtain the sub-target lane line data; wherein the target position is the position of the vehicle at the target time, and the target time is the time when the decision behavior corresponding to the decision behavior label occurs.
[0037] Optionally, the cleaning of the fourth lane line data based on the target position of the vehicle to obtain the sub-target lane line data includes:
[0038] Determining lane starting points of a plurality of lane line segments in the fourth lane line data;
[0039] Determine, among the plurality of lane starting points, the lane starting point whose distance from the target position is greater than or equal to a set distance threshold as the first lane starting point;
[0040] Eliminate the first lane starting points located in front of the vehicle and the starting points of the preceding lanes from the determined multiple first lane starting points, to obtain multiple target lane starting points;
[0041] Based on the plurality of target lane starting points, determining a plurality of first lane line segments; wherein the plurality of first lane lines correspond one-to-one to the plurality of target lane starting points;
[0042] The plurality of first lane line segments are cleaned based on the target position to obtain the sub-target lane line data.
[0043] Optionally, the cleaning of the plurality of first lane line segments based on the target position to obtain the sub-target lane line data includes:
[0044] Performing a discretization point padding process on the plurality of first lane line segments with a third set number to obtain a plurality of second lane line segments; wherein the plurality of second lane line segments correspond one-to-one to the plurality of first lane line segments;
[0045] The plurality of second lane line segments are cleaned based on the target position to obtain the sub-target lane line data.
[0046] Optionally, the cleaning of the plurality of second lane line segments based on the target position to obtain the sub-target lane line data includes:
[0047] Based on the fourth set number, the second set range and the target position, a plurality of the second lane line segments are cleaned to obtain the sub-target lane line data.
[0048] Optionally, the original scene information includes the decision behavior label data of the ego vehicle, the target scene information includes one-hot encoding data of the ego vehicle, and the correlation cleaning of the original scene information based on the ego vehicle to obtain the cleaned target scene information includes:
[0049] The decision behavior labels in the self-vehicle decision behavior label data are converted into one-hot encoding to obtain the self-vehicle one-hot encoding data; wherein the multiple one-hot encodings of the self-vehicle one-hot encoding data correspond one-to-one to the multiple decision behavior labels of the self-vehicle decision behavior label data.
[0050] In order to achieve the above objective, in a second aspect, the present disclosure provides a data processing device, the data processing device comprising:
[0051] A data acquisition module, used to acquire original scene information;
[0052] A data cleaning module, used for performing correlation cleaning on the original scene information based on the vehicle to obtain cleaned target scene information;
[0053] The original scene information includes original vehicle data, the target scene information includes target vehicle data, and the cleansing of the original scene information based on the vehicle to obtain the cleaned target scene information includes:
[0054] The original vehicle data is subjected to a first correlation cleaning based on the own vehicle to obtain the cleaned target vehicle data.
[0055] To achieve the above-mentioned purpose, in a third aspect, the present disclosure further provides a device, which further includes: a processor and a memory, wherein the processor is used to execute a control program stored in the memory to implement the data processing method as described in any one of the first aspects.
[0056] To achieve the above objectives, in a fourth aspect, the present disclosure further provides a storage medium, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the data processing method as described in any one of the first aspects.
[0057] Beneficial effects of the present disclosure:
[0058] In the present disclosure, after obtaining the original scene information, the original scene information can be cleaned for relevance based on the vehicle itself, so as to obtain target scene information with better relevance. Among them, for the original vehicle data in the original scene information, the original vehicle data can be cleaned based on the vehicle itself and the first set rule to obtain target vehicle data with better relevance. This method not only ensures the high transparency and verifiability of the data cleaning process, but also can dynamically adjust the first set rule according to the feedback of the algorithm training to continuously improve the effectiveness and quality of the training data. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0060] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0061] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0062] Figure 1 A schematic diagram showing a flow chart of a data processing method provided by an embodiment of the present disclosure;
[0063] Figure 2 A schematic diagram showing processing of original vehicle data in a data processing method provided by an embodiment of the present disclosure is shown;
[0064] Figure 3 A schematic diagram showing processing of original lane line data in a data processing method provided by an embodiment of the present disclosure is shown;
[0065] Figure 4 A schematic diagram showing processing of vehicle decision behavior label data in a data processing method provided by an embodiment of the present disclosure is shown;
[0066] Figure 5 A schematic diagram of a data processing device provided by an embodiment of the present disclosure is shown;
[0067] Figure 6 A schematic diagram of a device provided by an embodiment of the present disclosure is shown.
[0068] in:
[0069] 10. Data acquisition module; 20. Data cleaning module;
[0070] 100. Device; 101. Processor; 102. Memory; 1021. Operating system; 1022. Application; 103. User interface; 104. Network interface; 105. Bus system. DETAILED DESCRIPTION
[0071] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution 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 part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.
[0072] The disclosure below provides many different embodiments or examples to implement different schemes of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0073] For ease of description, spatial relative terms may be used herein to describe the relative position or movement of one element or feature relative to another element or feature as shown in the figure, such as "inside", "outside", "inner side", "outer side", "below", "below", "above", "above", "front", "back", etc. Such spatial relative terms are intended to include different orientations of the device in use or operation in addition to the orientation depicted in the figure.
[0074] For example, if the device in the figure flips over, changes its posture, or changes its motion state, then these directional indications will also change accordingly.
[0075] For example, an element described as “below” or “beneath” other elements or features would then be oriented “above” or “over the other elements or features.”
[0076] Thus, the example term "below" can encompass both an orientation of above and below. The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly.
[0077] It should be noted that the illustrations provided in the following embodiments are only used to schematically illustrate the basic concept of the present disclosure. Therefore, the drawings only show components related to the present disclosure rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0078] The following will refer to the accompanying drawings and preferred embodiments to illustrate the embodiments of the present disclosure. Those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be understood that the preferred embodiments are only for illustrating the present disclosure, not for limiting the scope of protection of the present disclosure.
[0079] In order to solve the technical problems in the prior art that data processing lacks transparency, cannot ensure the traceability and verifiability of the data cleaning process, and cannot ensure the effectiveness of screened data, the present disclosure provides a data processing method, a data processing device, a device, and a storage medium.
[0080] In the present disclosure, after obtaining the original scene information, the original scene information can be cleaned for relevance based on the vehicle itself, so as to obtain target scene information with better relevance. Among them, for the original vehicle data in the original scene information, the original vehicle data can be cleaned based on the vehicle itself and the first set rule to obtain target vehicle data with better relevance. This method not only ensures the high transparency and verifiability of the data cleaning process, but also can dynamically adjust the first set rule according to the feedback of the algorithm training to continuously improve the effectiveness and quality of the training data.
[0081] To facilitate understanding of the embodiments of the present disclosure, further explanation will be given below with reference to specific embodiments in conjunction with the accompanying drawings, and the embodiments do not constitute a limitation on the embodiments of the present disclosure.
[0082] This embodiment provides a data processing method, which can be applied to a device. Figures 1 to 4 As shown, the method may include:
[0083] S110, obtaining original scene information;
[0084] S120: performing correlation cleaning on the original scene information based on the vehicle to obtain cleaned target scene information.
[0085] In step S110, all relevant file information can be accurately and comprehensively extracted from the human expert driving database, thereby obtaining the required original scene information. Of course, the original scene information can also be obtained by other means, which are not limited to this.
[0086] In some embodiments,
[0087] All files (upstream ego-vehicle decision behavior annotation data files and scene information files) are efficiently read from the human expert driving database, and through file name matching, files with decision behavior labels and lane line data, as well as files with vehicle data, are accurately matched and integrated, thereby comprehensively extracting the required ego-vehicle decision behavior label data, lane line data (recorded as original lane line data) and vehicle data (recorded as original vehicle data).
[0088] In step S120, the original scene information may include original vehicle data, and the target scene information may include target vehicle data. In this step, the original vehicle data may be cleaned for relevance based on the vehicle and according to the first set rule to obtain cleaned target vehicle data.
[0089] The original vehicle data includes multiple sub-original vehicle data corresponding to multiple decision behavior labels of the vehicle, and the target vehicle data includes multiple sub-target vehicle data. The multiple sub-original vehicle data correspond to the multiple decision behavior labels one-to-one, and the multiple sub-target vehicle data correspond to the multiple sub-original vehicle data one-to-one.
[0090] Among them, the corresponding sub-original vehicle data can be cleaned based on the decision behavior label to obtain the sub-target vehicle data corresponding to the sub-original vehicle data.
[0091] Among them, the sub-original vehicle data includes the original data of the vehicle, and the sub-target vehicle data includes the target data of the vehicle. In the process of cleaning the corresponding sub-original vehicle data based on the decision behavior label to obtain the sub-target vehicle data corresponding to the sub-original vehicle data, the original data of the vehicle can be divided according to the set time length, and the original data of the vehicle can be divided into a plurality of original frames of the vehicle. Then, based on the first set number and the target time of the vehicle, the plurality of original frames of the vehicle are cleaned to determine the first set number of target frames of the vehicle; wherein the target time is the time when the decision behavior corresponding to the decision behavior label occurs. Then, based on the first set number of target frames of the vehicle, the target data of the vehicle is determined.
[0092] The set duration may be, for example, 0.1 seconds, or other durations, which are not limited thereto.
[0093] Wherein, the sub-original vehicle data includes the surrounding vehicle original data, and the sub-target vehicle data includes the surrounding vehicle target data. In the process of cleaning the corresponding sub-original vehicle data based on the decision behavior label to obtain the sub-target vehicle data corresponding to the sub-original vehicle data, the surrounding vehicle original data can be divided by a set time length, and the surrounding vehicle original data can be divided into a plurality of surrounding vehicle original frame data. Then, based on the second set number and the target time of the self-vehicle, the plurality of surrounding vehicle original frame data are cleaned to determine the second set number of surrounding vehicle target frame data; wherein the target time is the time when the decision behavior corresponding to the decision behavior label occurs. Then, based on the second set number of surrounding vehicle target frame data, the surrounding vehicle target data is determined.
[0094] It should be noted that the first set number and the second set number can be the same or different, and there is no limitation on this. The specific values of the first set number and the second set number can be set according to actual needs, and there is no limitation on this. The first set number and the second set number can be adjusted according to algorithm requirements and data characteristics. By analyzing the immediate impact of the self-vehicle decision-making behavior, the number most relevant to the decision is determined.
[0095] In some embodiments,
[0096] The original vehicle data is divided into different numbers of frame data, with 0.1s as one frame data. The original data of the vehicle itself is divided into a plurality of original frame data of the vehicle itself, and the original data of the surrounding vehicles is divided into a plurality of original frame data of the surrounding vehicles.
[0097] In this implementation, the original vehicle data can be divided into a historical frame before the decision and a future frame after the decision based on the time mark (e.g., timestamp) of the vehicle's decision behavior. Considering that the future frame data has little impact on the current decision, this implementation can only retain the relevant data of the historical frame to reduce unnecessary data interference.
[0098] In addition, this implementation can set a dynamic frame number threshold N of 20. It should be noted that in this implementation, the threshold can be adjusted according to the algorithm requirements and data characteristics to ensure that the selected frames are closely related to the decision-making behavior. Implement a time window strategy, trace back 20 frames from the moment of occurrence of the decision-making behavior (i.e., the target moment, which can be recorded as the current moment later) as the core historical frame, and give priority to data close to the decision-making moment to ensure the timeliness and relevance of the data.
[0099] Extract key information required for algorithm training from the above retained data, such as vehicle position coordinates, current speed, current driving direction, vehicle lateral and longitudinal speeds, and vehicle frame data validity, to ensure the comprehensiveness of the data. And clearly distinguish the data from the vehicle itself and surrounding vehicles for subsequent independent analysis.
[0100] In this implementation, for the surrounding vehicle, it can be checked whether its historical frames reach the preset N frames. If not, a completion measure is taken to complete the insufficient frames, and the completion information is marked to indicate the position of the completed data in the surrounding vehicle frame data.
[0101] Among them, the completion measures may include but are not limited to zero data filling, the latest frame copying, etc., to ensure data continuity. In addition, in this embodiment, the completion information can be recorded and a data mask mark can be added to facilitate identification and distinction between the original data and the completed data during subsequent processing.
[0102] After cleaning by the above implementation method, the required 20 self-vehicle target frame data and 20 surrounding vehicle target frame data can be obtained.
[0103] After the first set number of self-vehicle target frame data is obtained through the above cleaning, the first set number of self-vehicle target frame data can be directly used as purple vehicle target data.
[0104] After obtaining the second set number of surrounding vehicle target frame data through the above cleaning, the second set number of surrounding vehicle target frame data can be cleaned based on the third set number, the first set range and the target position of the own vehicle to determine the surrounding vehicle target data. The target position is the position of the own vehicle at the target time, and can also be recorded as the current position of the own vehicle.
[0105] It should be noted that the third set number can be set according to actual needs, and its specific value is not limited.
[0106] Among them, based on the current position of the vehicle, the horizontal screening and vertical screening ranges can be set (the first setting range may include the horizontal screening and vertical screening ranges), and only the surrounding vehicle data within the above range of the current position is retained to focus on the directly affected area and reduce the burden of algorithm training. In addition, the current position of the surrounding vehicles within the screening range can also be calculated to prepare for the next step of screening and data sorting.
[0107] Among them, the fixed value M is set as the number of weekly vehicles required for the algorithm input (i.e., the third set number). If the number of weekly vehicles screened through the above first set range is insufficient, the data is supplemented to make up the number of weekly vehicles to M. The supplementary measures also need to ensure the consistency and rationality of the data. If the number of weekly vehicles exceeds M, the nearest M weekly vehicles are retained in order of distance from the vehicle, in front, behind, left, right, and diagonal positions, to ensure the representativeness of the data.
[0108] In some embodiments,
[0109] According to the current position of the vehicle, the horizontal and vertical screening ranges can be set, and only the weekly vehicle data within this range are retained to focus on the directly affected area, reduce the burden of algorithm training, and calculate the distance between the real-time position of these weekly vehicles and the current position of the vehicle. In this implementation, the weekly vehicle target frame data is further cleaned, and the number of weekly vehicles retained after cleaning is set, which can be set to 10 in this embodiment. If the number of weekly vehicles initially cleaned is greater than the set value (i.e., 10 vehicles), the nearest 10 weekly vehicles are selected from the sorted weekly vehicles as input information. If the number of weekly vehicles initially cleaned is less than the set value, all the weekly vehicle data initially cleaned is retained, and the data of the insufficient weekly vehicles is supplemented with 0, so that the number of weekly vehicles after cleaning reaches the set value to ensure the representativeness of the data. After completion, the weekly vehicle mask is artificially added to prompt the position of the completed weekly vehicle data in the weekly vehicle data, and finally a weekly vehicle data set in a unified format is formed to provide high-quality input for the algorithm.
[0110] The original scene information includes original lane line data, and the target scene information includes target lane line data. In the process of performing correlation cleaning on the original scene information based on the vehicle to obtain the cleaned target scene information, the original lane line data can be subjected to correlation cleaning based on the vehicle and according to a second set rule to obtain the cleaned target lane line data.
[0111] Among them, the original lane line data includes multiple sub-original lane line data corresponding to multiple decision-making behavior labels of the vehicle, and the target lane line data includes multiple sub-target lane line data, wherein the multiple sub-original lane line data correspond one-to-one to the multiple decision-making behavior labels, and the multiple sub-target lane line data correspond one-to-one to the multiple sub-original lane line data.
[0112] It should be noted that the original lane data extracted from the map information source is subdivided into multiple independent sections, and each lane is equipped with its own unique lane identification (ID). This process involves carefully extracting this data from the storage medium, and through data sorting, accurately obtaining the coordinate point set of all lane lines, as well as their respective front and rear connected lane ID information. It is worth noting that the number of points and the distance between points on each lane line are not constant, showing the diversity of the data. Under this framework, the concepts of the preceding and succeeding lane lines are clarified: in the vehicle coordinate system, the preceding lane refers to the lane adjacent to the current lane but with a lower coordinate value, while the succeeding lane is a lane with a relatively higher coordinate value. Such a definition is conducive to establishing a logical relationship between lanes and providing clear guidance for subsequent processing.
[0113] Among them, since the extracted original lane line data are all data in the vehicle coordinate system with the vehicle as the coordinate center, the sub-original lane line data can be converted into a coordinate system to obtain the first lane line data after the coordinate system conversion. For example, it can be first converted into the UTM coordinate system data commonly used in the field of intelligent driving for subsequent processing.
[0114] Then, the first lane line data is discretized, and discretized points are configured for the lane line segments in the first lane line data to obtain the second lane line data after discretization. Among them, the standard distance interval between the discretized points can be defined first, and the number of points to be divided on each lane line segment can be calculated to maintain uniform data density and optimize the uniformity of the algorithm input. According to the calculation results, the necessary intermediate points are inserted to ensure that the number of points of each lane line segment meets the established standards while maintaining the natural continuity and geometric accuracy of the lane line segment.
[0115] In some embodiments,
[0116] First, the full length of the lane line is measured, and the overall length of the lane line is determined by accumulating the chord lengths between each pair of adjacent points. Next, a fixed discretization spacing is set, which is selected as 2 meters in this embodiment. Based on the spacing and the total length of the lane line, the total number of discretization points to be arranged is calculated, and their specific distribution on each chord of the lane line is determined.
[0117] For special cases where the preset discretized points may exceed the actual boundaries of the lane line, these points are reasonably configured at the starting or ending points of the lane line to ensure that each discretized point can be adapted to the exact position. Subsequently, the exact coordinates of each discretized point are calculated one by one according to the direction of each lane line segment and its chord direction. Finally, these calculated discretized points will replace the original lane line points to obtain the discretized lane line data (i.e., the second lane line data) for the algorithm to understand and process more accurately.
[0118] After obtaining the second lane line data, the second lane line data may be vectorized, and the discretized points corresponding to the lane line segments in the second lane line data may be vectorized to obtain third lane line data after vectorization.
[0119] For lane segments with only a single discretized point, a vector can be formed by copying the point. For lane segments with multiple discretized points, lane vectors are formed by connecting two adjacent points, and a set of lane vectors is constructed. The direction angle of each segment of the vector is calculated, and the tangent value of the horizontal and vertical coordinates between the two points is calculated to ensure that the algorithm can accurately understand the direction of the lane line and improve the accuracy of the decision logic.
[0120] In some embodiments,
[0121] All extracted lane segments are processed one by one, and the discretized points of the lane segments are converted into vectors. The specific method is as follows: If there is only one discretized point on a lane segment, the point is copied to construct the starting point and the end point to form a single vector on the lane segment. For lane segments containing multiple discretized points, a series of continuous vectors are generated by sequentially connecting two adjacent points to describe the direction of the lane segment.
[0122] Each generated vector needs to further clarify its direction. The calculation method is: for each vector, subtract the coordinates of its rear end point from the coordinates of the front end point to obtain the coordinate difference. This difference value is converted by the tangent function to obtain the inclination angle of the line between the two points, that is, the direction of the vector. In this way, the vectorized information of each lane segment fully expresses its geometric characteristics and provides accurate lane structure input for the intelligent driving algorithm.
[0123] After the third lane line data is obtained, the third lane line data can be cleaned for correlation based on the vehicle and the second setting rule to obtain the sub-target lane line data.
[0124] After obtaining the original lane line data, the predecessor and successor lane IDs of each lane line segment can be extracted, and an associated dictionary (recorded as the lane line ID dictionary) can be maintained to facilitate understanding of the connection relationship between lane lines and enhance scene coherence. When cleaning the third lane line data, check the lane line ID dictionary and remove the lane line data corresponding to those IDs that do not exist in the actual extraction to maintain data accuracy and consistency.
[0125] It should be noted that since the lane line is divided into different number of sections, each lane line segment has its own predecessor and successor lane line segments, indicating that it belongs to the same lane as the lane line segment. Since the length of each complete lane is given in a single data file, the predecessor lane line segment of the first lane line segment of the complete lane does not exist in the extracted lane line data. Similarly, the successor lane line segment of the last lane line segment does not exist in the lane line data. Therefore, the lane IDs that do not appear in the lane line data are removed, and all remaining lane line IDs are retained for the subsequent lane line search step.
[0126] The angle difference between the lane line direction and the target direction can be determined based on the lane line direction of the lane line segment in the third lane line data and the target direction of the vehicle; wherein the target direction is the vehicle body direction when the vehicle executes the decision behavior corresponding to the decision behavior label, which can also be recorded as the current direction. Then, the lane line segments in the third lane line data whose angle difference is greater than or equal to the set angle threshold are removed to obtain the cleaned fourth lane line data.
[0127] In some embodiments,
[0128] Since lanes are usually composed of multiple sections of different lengths, in the actual data application process, it is crucial to identify and extract lane data that is highly correlated with the current position and driving path of the vehicle. Obtain the current position and current direction of the vehicle from the relevant data of the vehicle. For each segment vector on all lane segments, calculate the angle difference between the segment vector and the current direction of the vehicle. If the angle difference is within 80 degrees, it means that the segment vector is basically consistent with the direction of the vehicle and can be used as reference data. Eliminate lane line vectors with an angle difference greater than 80 degrees to obtain the fourth lane line data.
[0129] Among them, after obtaining the fourth lane line data, the fourth lane line data can be cleaned based on the target position of the vehicle to obtain the sub-target lane line data; wherein, the target position is the position of the vehicle at the target time, and the target time is the time when the decision behavior corresponding to the decision behavior label occurs.
[0130] Among them, the lane starting points of multiple lane segments in the fourth lane line data can be determined first. Then, among the multiple lane starting points, the lane starting point whose distance to the target position is greater than or equal to a set distance threshold is determined as the first lane starting point. The set distance threshold can be set according to actual needs. Then, among the multiple first lane starting points determined, the first lane starting points located in front of the vehicle and the first lane starting points where there are successor lane starting points are removed to obtain multiple target lane starting points.
[0131] In some embodiments,
[0132] For the fourth lane line data, all lane line vectors within 40 meters (remember the set distance threshold) of the vehicle can be calculated. The coordinates of the first point in the vector are calculated with the coordinates of the vehicle. If the distance is within 40 meters, the vector segment is retained as the lane starting point; if the distance is greater than 40 meters, the vector segment is removed. In this way, the starting point of the first lane can be screened.
[0133] It should be noted that the above processing can be calculated in the UTM coordinate system, and the coordinates of the lane starting point obtained by the search are the coordinates of the UTM coordinate system. Since the lane starting point should be behind the vehicle position, the coordinate system conversion is performed, the lane starting point obtained by the search is converted to the position in the vehicle coordinate system, and all lane starting points are determined to be behind the vehicle, and the lane starting points behind the vehicle are retained.
[0134] Since each lane segment has its own predecessor and successor lane segments, and all lane starting points behind the vehicle are retained, there are multiple starting points on the same lane. Search for the predecessor lane segment for all lane starting points selected above. If the predecessor lane of the lane starting point is also among the selected starting points, delete the starting point and retain the starting point of its predecessor lane. It should be noted that the selected lane starting point can be recorded as the target lane starting point.
[0135] After the target lane starting point is obtained, the lane under the lane starting point is searched based on the selected multiple target lane starting points. For example, based on the multiple target lane starting points, multiple first lane line segments are determined; wherein the multiple first lane line segments correspond to the multiple target lane starting points one by one.
[0136] In some embodiments,
[0137] The lane starting point is searched by lane ID, and each lane segment is matched. They are connected in sequence to form a lane and the required lane length is set to 100 meters. If the distance from the starting point of the target lane to the end of the corresponding lane line is less than 100 meters, a search is performed. If there is a subsequent lane segment in the lane segment, the lane points on the subsequent lane segment are connected in sequence, and the lane length after connecting the lane points is calculated and compared with the set length (i.e. 100 meters, of course, it can also be set to other values according to needs, and there is no limitation on this).
[0138] If the length of the current lane segment does not reach the set length, continue to connect the next lane point or continue depth-first search. If the length of the current lane segment reaches the set length, stop connecting lane points and searching, and keep the current lane segment. If the total length of the current lane segment does not reach the set length, and there is no subsequent lane in the last lane line, stop searching and keep the current lane segment. The current lane segment retained in this implementation is the first lane segment corresponding to the starting point of the corresponding target lane.
[0139] After the required first lane line segments are obtained, a plurality of the first lane line segments may be cleaned based on the target position to obtain the sub-target lane line data.
[0140] The plurality of first lane line segments may be padded with discretized points by a third set number to obtain a plurality of second lane line segments, wherein the plurality of second lane line segments correspond one to one to the plurality of first lane line segments. Then, the plurality of second lane line segments are cleaned based on the target position to obtain the sub-target lane line data.
[0141] Among them, when cleaning multiple second lane line segments based on the target position to obtain the sub-target lane line data, multiple second lane line segments can be cleaned based on a fourth set number, a second set range and the target position to obtain the sub-target lane line data.
[0142] It should be noted that the third set number, the fourth set number and the second set range mentioned above can be set according to actual needs, and their specific values are not limited.
[0143] Among them, a fixed number of lane lines L (i.e., the fourth set number) and the number of lane points P (i.e., the third set number) can be set as the algorithm input standard to ensure the uniformity of the input data structure and facilitate algorithm training. Under the current perspective of the vehicle, all valid lane segments within the second set range are searched, and lane segments that are out of range or inappropriate are eliminated to ensure that the data is highly relevant to the scene.
[0144] If the number of lane points on the first lane segment exceeds P, part of the lane segment behind the vehicle can be discarded and P points can be retained to ensure the representativeness of the data while avoiding the computational burden caused by excessive data. If the number of lane points on the first lane segment is less than P, it is supplemented to P points. The supplementation measures need to consider the actual distribution of the lane line. If the actual length of the lane line cannot be exceeded, linear interpolation or other smoothing algorithms can be used to maintain data continuity.
[0145] If the number of first lane line segments actually selected exceeds L, the nearest L first lane line segments are calculated based on the vehicle position and retained to optimize the concentration of the algorithm input. If the number of first lane line segments selected is less than L, it can be padded to L with zero values to ensure the consistency of the algorithm input dimension, and the padded information is recorded to facilitate identification during algorithm processing.
[0146] In some embodiments,
[0147] For all lane points on the first lane segment obtained by the search, calculate the distance between them and the current position of the vehicle and obtain their minimum distance. Check whether there is a lane element within 4 meters of the vehicle. If the minimum distance of the lane point is greater than 4 meters, there is no lane element around the vehicle and the currently searched lane segment is unavailable. On the contrary, when the minimum distance is less than 4 meters, the currently searched lane segment is available.
[0148] In this implementation, the number of required lanes can be set to 5 (i.e., the fourth set number). If the number of lane line segments retained in the above step is less than 5, all of them are retained. If the number of lane line segments retained in the above step is greater than 5, screening is required again.
[0149] It should be noted that the lane line data was converted into vectors before. Now the lane line data is converted from vectors to scalars. For each lane line segment, the distance from the lane point on the lane line segment to the current position of the vehicle is calculated. According to the calculated distance, the center lane of the vehicle is selected, and the two nearest lanes on the left and right sides are selected, totaling 5 lanes, as the lane line data.
[0150] For each lane line segment, all lane points are traversed and the direction of each lane point is calculated. The current lane point is subtracted from the next lane point and the tangent of the difference in the horizontal and vertical directions is calculated. The value obtained is the direction of the current lane point. For the end lane point of the current lane, since there is no next lane point, its direction is set to the direction of the previous lane point.
[0151] In addition, when searching for the first lane line, the set length is set to 100 meters, and the distance between each two discretization points is set to 2 meters. Here, it can be set that each lane line segment should have 50 (i.e., the third set number) discretization points (also called discretized lane points). Since the actual length of each lane line segment is different, the distance between the lane points at the first and last ends and their adjacent lane points is not completely maintained at 2 meters, resulting in the number of discretization points of the last searched lane being difficult to maintain at 50. In addition, since there are some lane line segments whose length is less than the set 100 meters. Therefore, the number of discretization points of some lane line segments is difficult to reach 50. In view of this, the lane points on the lane line segments can be processed.
[0152] For lane segments with a length of less than 100 meters or a length of 100 meters but less than 50 lane points, the insufficient lane points are supplemented with 0 and a lane point mask is added to indicate the location of the supplemented lane points in the lane data. For lane segments with more than 50 lane points, the data behind the vehicle is discarded, and then 50 lane points are randomly sampled. Finally, the rationality and representativeness of the data are ensured.
[0153] In this implementation, the number of lane line segments retained after screening is set to 5 (i.e., the fourth set number). In the case where the number of lane line segments actually searched is greater than 5, a further screening is performed, and the 5 lane line segments closest to the current position of the vehicle are retained. In the case where the number of lane line segments actually searched is less than 5, the insufficient lane line segments are supplemented with 0. After supplementation, a lane mask is added to indicate the position of the supplemented lane line segment in all lane data. In this way, the required sub-target lane line data can be obtained.
[0154] It should be noted that, through the above method, the sub-target vehicle data and sub-target lane line data corresponding to each decision behavior label can be obtained, thereby obtaining the target vehicle data after the original vehicle data is cleaned, and the target lane line data after the original lane line data is cleaned.
[0155] Among them, the original scene information includes the self-vehicle decision behavior label data, and the target scene information includes the self-vehicle one-hot encoding data. In the process of performing correlation cleaning on the original scene information based on the self-vehicle to obtain the cleaned target scene information, the decision behavior label in the self-vehicle decision behavior label data can be converted into a one-hot encoding to obtain the self-vehicle one-hot encoding data; wherein, the multiple one-hot encodings of the self-vehicle one-hot encoding data correspond one-to-one to the multiple decision behavior labels of the self-vehicle decision behavior label data.
[0156] In some embodiments,
[0157] refer to Figure 4 As shown in the figure, the vehicle decision behavior labels may include labels such as left lane change, right lane change, and lane keeping. By judging the labels, each label is converted into a one-hot encoding. The converted one-hot encoding can be expressed as follows:
[0158] Left lane change: [1,0,0]
[0159] Lane keeping: [0, 1, 0]
[0160] Change lane right: [0, 0, 1].
[0161] This embodiment provides an innovative data cleaning method, which significantly improves the quality of training data and algorithm prediction performance through precise scene information cleaning and expert decision data extraction, and overcomes the limitations of traditional cleaning methods. Among them, after obtaining the original scene information, for the self-vehicle decision behavior label data, an intelligent decision label conversion module can be introduced to automatically convert a single human driving decision behavior label into a machine-understandable unique hot encoding, thereby improving the algorithm's recognition accuracy of decision instructions. For the original vehicle data in the original scene information, an optimized vehicle data intelligent screening module can be used to dynamically analyze the correlation between the vehicle trajectory and the self-vehicle position, and only retain the vehicle history frames that are closely related to the current decision, effectively removing irrelevant data interference, and enhancing the data's pertinence and the efficiency of algorithm training. For the original lane line data in the original scene information, an innovative lane data refining module can be used to combine the real-time position and direction of the self-vehicle to intelligently identify and extract highly correlated lane line information, and through adaptive discretization and vectorization processing, ensure the accuracy and consistency of the algorithm input data. This method not only ensures the high transparency and verifiability of the data cleaning process, but also can dynamically adjust the first setting rule according to the feedback of algorithm training to continuously improve the effectiveness and quality of training data.
[0162] This embodiment provides a data processing device, which can be applied to a device. The device is used to implement the above data processing method. Figure 5 As shown, the device may include a data acquisition module 10 and a data cleaning module 20 .
[0163] A data acquisition module 10 is used to acquire original scene information;
[0164] A data cleaning module 20, configured to perform correlation cleaning on the original scene information based on the vehicle to obtain cleaned target scene information;
[0165] The original scene information includes original vehicle data, the target scene information includes target vehicle data, and the cleansing of the original scene information based on the vehicle to obtain the cleaned target scene information includes:
[0166] The original vehicle data is subjected to a first correlation cleaning based on the own vehicle to obtain the cleaned target vehicle data.
[0167] This embodiment provides a data processing device, which can be applied to a device. Figure 5 As shown, in the device, the original vehicle data includes a plurality of sub-original vehicle data corresponding to a plurality of decision behavior labels of the vehicle, and the target vehicle data includes a plurality of sub-target vehicle data, wherein the plurality of sub-original vehicle data corresponds one-to-one to the plurality of decision behavior labels, and the plurality of sub-target vehicle data corresponds one-to-one to the plurality of sub-original vehicle data. The data cleaning module 20 can be used for:
[0168] The step of performing correlation cleaning on the original vehicle data based on the self-vehicle according to a first set rule to obtain the cleaned target vehicle data includes:
[0169] Based on the decision behavior label, the corresponding sub-original vehicle data is cleaned to obtain the sub-target vehicle data corresponding to the sub-original vehicle data.
[0170] This embodiment provides a data processing device, which can be applied to a device. Figure 5 As shown, in the device, the sub-original vehicle data includes the original vehicle data, and the sub-target vehicle data includes the target vehicle data. The data cleaning module 20 can be used for:
[0171] Dividing the original data of the vehicle according to a set time length, and dividing the original data of the vehicle into a plurality of original frames of the vehicle;
[0172] Based on a first set number and a target time of the vehicle, a plurality of original frame data of the vehicle are cleaned to determine the first set number of target frame data of the vehicle; wherein the target time is the time when the decision behavior corresponding to the decision behavior label occurs;
[0173] The own vehicle target data is determined based on the first set number of the own vehicle target frame data.
[0174] This embodiment provides a data processing device, which can be applied to a device. Figure 5 As shown, in the device, the sub-original vehicle data includes surrounding vehicle original data, and the sub-target vehicle data includes surrounding vehicle target data. The data cleaning module 20 can be used for:
[0175] Dividing the original data of the surrounding vehicle according to the set time length, and dividing the original data of the surrounding vehicle into a plurality of original frames of surrounding vehicle data;
[0176] Based on the second set number and the target time of the self-vehicle, a plurality of the surrounding vehicle original frame data are cleaned to determine the second set number of surrounding vehicle target frame data; wherein the target time is the time when the decision behavior corresponding to the decision behavior label occurs;
[0177] The surrounding vehicle target data is determined based on the second set number of surrounding vehicle target frame data.
[0178] This embodiment provides a data processing device, which can be applied to a device. Figure 5 As shown, in the device, the data cleaning module 20 can be used to:
[0179] Based on the third set number, the first set range and the target position of the vehicle, the second set number of the surrounding vehicle target frame data is cleaned to determine the surrounding vehicle target data; wherein the target position is the position of the vehicle at the target moment.
[0180] This embodiment provides a data processing device, which can be applied to a device. Figure 5 As shown, in the device, the original scene information includes original lane line data, the target scene information includes target lane line data, and the data cleaning module 20 can be used to:
[0181] Based on the vehicle, the original lane line data is cleaned for correlation according to a second set rule to obtain the cleaned target lane line data.
[0182] This embodiment provides a data processing device, which can be applied to a device. Figure 5As shown, in the device, the original lane line data includes a plurality of sub-original lane line data corresponding to a plurality of decision behavior labels of the vehicle, and the target lane line data includes a plurality of sub-target lane line data, wherein the plurality of sub-original lane line data corresponds one-to-one to the plurality of decision behavior labels, and the plurality of sub-target lane line data corresponds one-to-one to the plurality of sub-original lane line data. The data cleaning module 20 can be used for:
[0183] Performing coordinate system conversion on the sub-original lane line data to obtain first lane line data after coordinate system conversion;
[0184] Discretize the first lane line data, configure discretized points for lane line segments in the first lane line data, and obtain second lane line data after discretization;
[0185] Performing vectorization processing on the second lane line data, performing vectorization conversion on the discretized points corresponding to the lane line segments in the second lane line data, and obtaining third lane line data after vectorization processing;
[0186] Based on the ego vehicle, correlation cleaning is performed on the third lane line data according to a second setting rule to obtain the sub-target lane line data.
[0187] This embodiment provides a data processing device, which can be applied to a device. Figure 5 As shown, in the device, the data cleaning module 20 can be used to:
[0188] Based on the lane line direction of the lane line segment in the third lane line data and the target direction of the ego vehicle, determine the angle difference between the lane line direction and the target direction; wherein the target direction is the body direction of the ego vehicle when executing the decision behavior corresponding to the decision behavior label;
[0189] Eliminate lane line segments whose angle difference is greater than or equal to a set angle threshold in the third lane line data to obtain cleaned fourth lane line data;
[0190] Based on the target position of the vehicle, the fourth lane line data is cleaned to obtain the sub-target lane line data; wherein the target position is the position of the vehicle at the target time, and the target time is the time when the decision behavior corresponding to the decision behavior label occurs.
[0191] This embodiment provides a data processing device, which can be applied to a device. Figure 5 As shown, in the device, the data cleaning module 20 can be used to:
[0192] Determining lane starting points of a plurality of lane line segments in the fourth lane line data;
[0193] Determine, among the plurality of lane starting points, the lane starting point whose distance from the target position is greater than or equal to a set distance threshold as the first lane starting point;
[0194] Eliminate the first lane starting points located in front of the vehicle and the starting points of the preceding lanes from the determined multiple first lane starting points, to obtain multiple target lane starting points;
[0195] Based on the plurality of target lane starting points, determining a plurality of first lane line segments; wherein the plurality of first lane lines correspond one-to-one to the plurality of target lane starting points;
[0196] The plurality of first lane line segments are cleaned based on the target position to obtain the sub-target lane line data.
[0197] This embodiment provides a data processing device, which can be applied to a device. Figure 5 As shown, in the device, the data cleaning module 20 can be used to:
[0198] Performing a discretization point padding process on the plurality of first lane line segments with a third set number to obtain a plurality of second lane line segments; wherein the plurality of second lane line segments correspond one-to-one to the plurality of first lane line segments;
[0199] The plurality of second lane line segments are cleaned based on the target position to obtain the sub-target lane line data.
[0200] This embodiment provides a data processing device, which can be applied to a device. Figure 5 As shown, in the device, the data cleaning module 20 can be used to:
[0201] Based on the fourth set number, the second set range and the target position, a plurality of the second lane line segments are cleaned to obtain the sub-target lane line data.
[0202] This embodiment provides a data processing device, which can be applied to a device. Figure 5 As shown, in the device, the original scene information includes the self-vehicle decision behavior label data, the target scene information includes the self-vehicle one-hot encoding data, and the data cleaning module 20 can be used to:
[0203] The decision behavior labels in the self-vehicle decision behavior label data are converted into one-hot encoding to obtain the self-vehicle one-hot encoding data; wherein the multiple one-hot encodings of the self-vehicle one-hot encoding data correspond one-to-one to the multiple decision behavior labels of the self-vehicle decision behavior label data.
[0204] This embodiment provides a device, which may be a computer or other devices, and is not limited thereto.
[0205] refer to Figure 6 As shown, the device 100 may include: at least one processor 101, a memory 102, at least one network interface 104 and other user interfaces 103. The various components in the device 100 are coupled together through a bus system 105. It can be understood that the bus system 105 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 105 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, all buses are marked as the bus system 105.
[0206] The user interface 103 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0207] It can be understood that the memory 102 in the embodiment of the present disclosure can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 102 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0208] In some implementations, the memory 102 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 1021 and application programs 1022 .
[0209] The operating system 1021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 1022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present disclosure can be included in the application 1022.
[0210] In the embodiments of the present disclosure, the processor 101 is used to execute the methods provided by the various method embodiments by calling the program or instructions stored in the memory 102 , specifically, the program or instructions stored in the application 1022 .
[0211] The method disclosed in the above embodiment of the present disclosure can be applied to the processor 101, or implemented by the processor 101. The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 101 or the instruction in the form of software. The above processor 101 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present disclosure can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 102, and the processor 101 reads the information in the memory 102 and completes the above method in combination with its hardware.
[0212] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or at least one application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing device (DSPDevice, DSPD), programmable logic device (PLD), field programmable gate array (FPGA), general purpose processor, controller, microcontroller, microprocessor, other electronic unit for performing the functions described in the present disclosure, or a combination thereof.
[0213] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0214] The embodiments of the present disclosure also provide a storage medium (computer-readable storage medium). The storage medium here stores one or at least one program. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.
[0215] When one or at least one program in the storage medium can be executed by one or at least one processor. When the storage medium is applied to a device, the above-mentioned method of execution on the device can be implemented. The processor is used to execute the control program of the device stored in the memory to implement the above-mentioned method of execution on the device.
[0216] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0217] It should be noted that the phrases "one implementation", "an embodiment", "an exemplary embodiment", "some embodiments", etc. mentioned in the specification indicate that the described embodiments may include certain features, structures or characteristics, but not every embodiment may include the certain features, structures or characteristics. In addition, such phrases do not necessarily refer to the same embodiment. In addition, when describing certain features, structures or characteristics in conjunction with an embodiment, it is within the knowledge of those skilled in the art to implement such features, structures or characteristics in conjunction with other embodiments, whether explicitly or not explicitly described.
[0218] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more limiting values, the elements defined by the sentence "comprise a..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0219] The above embodiments are only preferred embodiments for fully illustrating the present disclosure, and the protection scope of the present disclosure is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present disclosure is within the protection scope of the present disclosure.
Claims
1. A data processing method, characterized in that: The data processing method comprises: Get original scene information; Based on the vehicle, the original scene information is cleaned for correlation to obtain cleaned target scene information; The original scene information includes original vehicle data, the target scene information includes target vehicle data, and the cleansing of the original scene information based on the vehicle to obtain the cleaned target scene information includes: Based on the self-vehicle, the original vehicle data is cleaned for correlation according to a first set rule to obtain the cleaned target vehicle data.
2. The data processing method according to claim 1, characterized in that: The original vehicle data includes a plurality of sub-original vehicle data corresponding to a plurality of decision-making behavior labels of the vehicle, and the target vehicle data includes a plurality of sub-target vehicle data, wherein the plurality of sub-original vehicle data corresponds one-to-one to the plurality of decision-making behavior labels, and the plurality of sub-target vehicle data corresponds one-to-one to the plurality of sub-original vehicle data; The step of performing correlation cleaning on the original vehicle data based on the self-vehicle according to a first set rule to obtain the cleaned target vehicle data includes: Based on the decision behavior label, the corresponding sub-original vehicle data is cleaned to obtain the sub-target vehicle data corresponding to the sub-original vehicle data.
3. The data processing method according to claim 2, characterized in that: The sub-original vehicle data includes original vehicle data, and the sub-target vehicle data includes target vehicle data; The step of cleaning the corresponding sub-original vehicle data based on the decision behavior label to obtain the sub-target vehicle data corresponding to the sub-original vehicle data includes: Dividing the original data of the vehicle according to a set time length, and dividing the original data of the vehicle into a plurality of original frames of the vehicle; Based on a first set number and a target time of the vehicle, a plurality of original frame data of the vehicle are cleaned to determine the first set number of target frame data of the vehicle; wherein the target time is the time when the decision behavior corresponding to the decision behavior label occurs; The own vehicle target data is determined based on the first set number of the own vehicle target frame data.
4. The data processing method according to claim 2, characterized in that: The sub-original vehicle data includes surrounding vehicle original data, and the sub-target vehicle data includes surrounding vehicle target data; The step of cleaning the corresponding sub-original vehicle data based on the decision behavior label to obtain the sub-target vehicle data corresponding to the sub-original vehicle data includes: Dividing the original data of the surrounding vehicle according to the set time length, and dividing the original data of the surrounding vehicle into a plurality of original frames of surrounding vehicle data; Based on the second set number and the target time of the self-vehicle, a plurality of the surrounding vehicle original frame data are cleaned to determine the second set number of surrounding vehicle target frame data; wherein the target time is the time when the decision behavior corresponding to the decision behavior label occurs; The surrounding vehicle target data is determined based on the second set number of surrounding vehicle target frame data.
5. The data processing method according to claim 4, characterized in that: The determining the surrounding vehicle target data based on the second set number of surrounding vehicle target frame data includes: Based on the third set number, the first set range and the target position of the vehicle, the second set number of the surrounding vehicle target frame data is cleaned to determine the surrounding vehicle target data; wherein the target position is the position of the vehicle at the target moment.
6. The data processing method according to claim 2, characterized in that: The original scene information includes original lane line data, the target scene information includes target lane line data, and the self-vehicle-based correlation cleaning of the original scene information to obtain cleaned target scene information includes: Based on the vehicle, the original lane line data is cleaned for correlation according to a second set rule to obtain the cleaned target lane line data.
7. The data processing method according to claim 6, characterized in that: The original lane line data includes a plurality of sub-original lane line data corresponding to a plurality of decision behavior labels of the vehicle, and the target lane line data includes a plurality of sub-target lane line data, wherein the plurality of sub-original lane line data corresponds one-to-one to the plurality of decision behavior labels, and the plurality of sub-target lane line data corresponds one-to-one to the plurality of sub-original lane line data; The process of performing correlation cleaning on the original lane line data based on the vehicle according to the second set rule to obtain the cleaned target lane line data includes: Performing coordinate system conversion on the sub-original lane line data to obtain first lane line data after coordinate system conversion; Discretize the first lane line data, configure discretized points for lane line segments in the first lane line data, and obtain second lane line data after discretization; Performing vectorization processing on the second lane line data, performing vectorization conversion on the discretized points corresponding to the lane line segments in the second lane line data, and obtaining third lane line data after vectorization processing; Based on the ego vehicle, correlation cleaning is performed on the third lane line data according to a second setting rule to obtain the sub-target lane line data.
8. The data processing method according to claim 7, characterized in that: The step of performing correlation cleaning on the third lane line data based on the self-vehicle according to the second setting rule to obtain the sub-target lane line data includes: Based on the lane line direction of the lane line segment in the third lane line data and the target direction of the ego vehicle, determine the angle difference between the lane line direction and the target direction; wherein the target direction is the body direction of the ego vehicle when executing the decision behavior corresponding to the decision behavior label; Eliminate lane line segments whose angle difference is greater than or equal to a set angle threshold in the third lane line data to obtain cleaned fourth lane line data; Based on the target position of the vehicle, the fourth lane line data is cleaned to obtain the sub-target lane line data; wherein the target position is the position of the vehicle at the target time, and the target time is the time when the decision behavior corresponding to the decision behavior label occurs.
9. The data processing method according to claim 8, characterized in that: The cleaning of the fourth lane line data based on the target position of the vehicle to obtain the sub-target lane line data includes: Determining lane starting points of a plurality of lane line segments in the fourth lane line data; Determine, among the plurality of lane starting points, the lane starting point whose distance from the target position is greater than or equal to a set distance threshold as the first lane starting point; Eliminate the first lane starting points located in front of the vehicle and the starting points of the preceding lanes from the determined multiple first lane starting points, to obtain multiple target lane starting points; Based on the plurality of target lane starting points, determining a plurality of first lane line segments; wherein the plurality of first lane lines correspond one-to-one to the plurality of target lane starting points; The plurality of first lane line segments are cleaned based on the target position to obtain the sub-target lane line data.
10. The data processing method according to claim 9, characterized in that: The cleaning of the plurality of first lane line segments based on the target position to obtain the sub-target lane line data includes: Performing a discretization point padding process on the plurality of first lane line segments with a third set number to obtain a plurality of second lane line segments; wherein the plurality of second lane line segments correspond one-to-one to the plurality of first lane line segments; The plurality of second lane line segments are cleaned based on the target position to obtain the sub-target lane line data.
11. The data processing method according to claim 10, characterized in that: The step of cleaning the plurality of second lane line segments based on the target position to obtain the sub-target lane line data includes: Based on the fourth set number, the second set range and the target position, a plurality of the second lane line segments are cleaned to obtain the sub-target lane line data.
12. The data processing method according to any one of claims 1 to 11, characterized in that: The original scene information includes the decision behavior label data of the ego vehicle, the target scene information includes the one-hot encoding data of the ego vehicle, and the correlation cleaning of the original scene information based on the ego vehicle to obtain the cleaned target scene information includes: The decision behavior labels in the self-vehicle decision behavior label data are converted into one-hot encoding to obtain the self-vehicle one-hot encoding data; wherein the multiple one-hot encodings of the self-vehicle one-hot encoding data correspond one-to-one to the multiple decision behavior labels of the self-vehicle decision behavior label data.
13. A data processing device, characterized in that: The data processing device comprises: A data acquisition module, used to acquire original scene information; A data cleaning module, used for performing correlation cleaning on the original scene information based on the vehicle to obtain cleaned target scene information; The original scene information includes original vehicle data, the target scene information includes target vehicle data, and the cleansing of the original scene information based on the vehicle to obtain the cleaned target scene information includes: The original vehicle data is subjected to a first correlation cleaning based on the own vehicle to obtain the cleaned target vehicle data.
14. A device, characterized in that The device further comprises: a processor and a memory, wherein the processor is configured to execute a control program stored in the memory to implement the data processing method according to any one of claims 1 to 12.
15. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the data processing method according to any one of claims 1 to 12.
