A method and device for data processing
By detecting positioning anomalies and correcting the guide line during autonomous driving, the problem of guide line deviation caused by positioning errors is solved and traffic safety is improved.
Patent Information
- Application Number
- CN202011631510.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-30
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-12-30
AI Technical Summary
During the process of autonomous driving, the deviation of the guide line caused by positioning error may cause traffic accidents, which is difficult to effectively solve with existing technology.
When a positioning anomaly is detected, candidate virtual guide lines are generated by determining the current virtual guide line, and are corrected based on the matching degree to ensure the accuracy of the guide lines.
By correcting the guide line, traffic accidents caused by positioning errors are avoided and the safety of autonomous driving is improved.
Smart Images

Figure CN112815946B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a method and device for data processing. Background Art
[0002] With the development of smart cars, autonomous driving can be applied in more and more vehicles to facilitate people's travel. In the process of autonomous driving of vehicles, it is necessary to combine guide lines, positioning information and surrounding environment for path planning. Among them, the guide line refers to the ideal driving path that guides the autonomous driving car from the starting point to the end point. The guide line can be formed by smoothing the center lines of a series of lane sequences from the starting point to the end point. Furthermore, the positioning module can be used to convert the guide lines in the high-precision map into the local coordinate system used for decision planning calculations for use in the path planning process.
[0003] When positioning errors occur, the guidance lines received by the vehicle during path planning may deviate, such as deviating from the center of the road, which will cause errors in subsequent calculations and even lead to accidents. Summary of the invention
[0004] In view of the above problems, a method and device for data processing is proposed to overcome the above problems or at least partially solve the above problems, including:
[0005] A method for data processing, the method comprising:
[0006] During the autonomous driving process, when a positioning anomaly is detected, determining a current virtual guide line for the current road;
[0007] Determine one or more candidate virtual guide lines according to the current virtual guide line, and respectively determine the matching degree of the one or more candidate virtual guide lines;
[0008] According to the matching degree, a target virtual guide line is determined from the one or more candidate virtual guide lines, and the current virtual guide line is corrected according to the target virtual guide line.
[0009] Optionally, respectively determining the matching degree of the one or more candidate virtual guide lines includes:
[0010] When the current virtual guide line is an original virtual guide line for the current road, the matching degrees of the one or more candidate virtual guide lines and the current virtual guide line are respectively determined as the matching degrees of the one or more candidate virtual guide lines.
[0011] Optionally, the respectively determining the matching degree between the one or more candidate virtual guide lines and the current virtual guide line includes:
[0012] Determine a drivable area, and respectively determine candidate width information of the one or more candidate virtual guide lines from a boundary of the drivable area;
[0013] Determining original width information of the original virtual guide line;
[0014] According to the candidate width information and the original width information, the matching degree of the one or more candidate virtual guide lines is determined respectively.
[0015] Optionally, respectively determining the matching degree of the one or more candidate virtual guide lines includes:
[0016] When the current virtual guide line is not an original virtual guide line for the current road, for each candidate virtual guide line, determining a first sub-matching degree with the original virtual guide line, and determining a second sub-matching degree with the current virtual guide line;
[0017] The matching degree of the candidate virtual guide line is determined according to the first sub-matching degree and the second sub-matching degree.
[0018] Optionally, determining the first sub-matching degree with the original virtual guide line includes:
[0019] Determine a drivable area, and respectively determine candidate width information of the one or more candidate virtual guide lines from a boundary of the drivable area;
[0020] Determining original width information of the original virtual guide line;
[0021] A first sub-matching degree with the original virtual guide line is determined according to the candidate width information and the original width information.
[0022] Optionally, determining a second sub-matching degree with the current virtual guide line includes:
[0023] Determine the current width information of the current virtual guide line;
[0024] A second sub-matching degree with the current virtual guide line is determined according to the candidate width information and the current width information.
[0025] Optionally, determining one or more candidate virtual guide lines according to the current virtual guide line includes:
[0026] Sampling the current virtual guide line to obtain one or more transformation matrices;
[0027] The current virtual guide line is transformed according to the one or more transformation matrices to obtain one or more candidate virtual guide lines.
[0028] A data processing device, comprising:
[0029] A current virtual guide line determination module is used to determine a current virtual guide line for a current road when a positioning anomaly is detected during the autonomous driving process;
[0030] A matching degree determination module, used to determine one or more candidate virtual guide lines according to the current virtual guide line, and respectively determine the matching degree of the one or more candidate virtual guide lines;
[0031] The current virtual guide line correction module is used to determine a target virtual guide line from the one or more candidate virtual guide lines according to the matching degree, and correct the current virtual guide line according to the target virtual guide line.
[0032] A vehicle comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the data processing method as described above when executed by the processor.
[0033] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the data processing method described above is implemented.
[0034] The embodiments of the present invention have the following advantages:
[0035] The embodiment of the present invention determines a current virtual guide line for the current road when a positioning abnormality is detected during the automatic driving process, determines one or more candidate virtual guide lines based on the current virtual guide line, and respectively determines the matching degree of the one or more candidate virtual guide lines, determines a target virtual guide line from the one or more candidate virtual guide lines based on the matching degree, and corrects the current virtual guide line according to the target virtual guide line, thereby achieving correction of the current guide line when the vehicle detects a positioning abnormality, thereby avoiding traffic accidents. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0037] Figure 1 is a flowchart of a data processing method provided by an embodiment of the present invention;
[0038] Figure 2 is a flowchart of another data processing method provided by an embodiment of the present invention;
[0039] Figure 3 is a flowchart of the steps of another data processing method provided by an embodiment of the present invention;
[0040] Figure 4 It is a structural diagram of a data processing device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] Reference Figure 1 , shows a flowchart of a data processing method provided by an embodiment of the present invention, which may specifically include the following steps:
[0043] Step 101, during the process of autonomous driving, when a positioning anomaly is detected, determining a current virtual guide line for a current road;
[0044] During the process of autonomous driving, a guide line smoothly formed in the center of the road can be used as an ideal driving path. The guide line is composed of a series of discrete points, wherein the attribute information of each discrete point in the guide line may include the coordinates of the discrete point, the direction (pointing to the next discrete point), and the left and right width information on both sides of the road where the guide line is located (calculated based on a high-precision map or a static map), etc.
[0045] When positioning abnormality is detected, such as low positioning accuracy, the coordinates of each discrete point in the guide line are not accurately positioned, which causes the guide line as a whole to shift, which can easily cause traffic accidents. Therefore, when positioning abnormality is determined, the current virtual guide line for the current road can be determined, and the current guide line can be adjusted.
[0046] Step 102, determining one or more candidate virtual guide lines according to the current virtual guide line, and determining the matching degree of the one or more candidate virtual guide lines respectively;
[0047] After the current virtual guide line is determined, one or more candidate virtual guide lines may be determined based on the current virtual guide line, wherein the candidate virtual guide lines may be obtained by translating or rotating the current virtual guide line within a preset range.
[0048] After determining the candidate guide lines, the attribute information of the discrete points in the current virtual guide line may include specific attribute information, and the specific attribute information will not change with the positioning abnormality. Therefore, the matching degree of one or more candidate guide lines can be determined based on the specific attribute information of the discrete points in the current virtual guide line.
[0049] In an embodiment of the present invention, determining one or more candidate virtual guide lines according to the current virtual guide line includes:
[0050] The current virtual guide line is sampled to obtain one or more transformation matrices; and the current virtual guide line is transformed according to the one or more transformation matrices to obtain one or more candidate virtual guide lines.
[0051] In practical applications, the current virtual guide line can be sampled, that is, matrix sampling is performed based on the transformation matrix of the current virtual guide line to obtain one or more transformation matrices, wherein the sampling method can be average sampling or other matrix sampling methods.
[0052] After obtaining one or more transformation matrices, all or part of the discrete points in the current guide line can be transformed for each transformation matrix, and the candidate guide line is obtained from the transformed discrete points. The candidate guide line is obtained by translating or rotating the current virtual guide line according to the transformation matrix.
[0053] For example, the current virtual guide line consists of a series of discrete points, which can be represented by the coordinate set of the discrete points:
[0054] {(x0,y0),(x1,y1)......(x n ,y n )}
[0055] The transformation matrix can be defined as:
[0056]
[0057] Among them, abcd represents rotation transformation, ef represents translation transformation. When different values are taken in abcdef, different transformation matrices can be generated.
[0058] The initial transformation matrix is the unit matrix, that is, there is no rotation and translation. The initial transformation matrix is as follows:
[0059]
[0060] By transforming the coordinates of each discrete point in the current virtual guide line through the transformation matrix, the coordinates of the corresponding discrete points in the candidate virtual guide line can be obtained:
[0061]
[0062] Thus, according to the transformation matrix, the current virtual guide line can be transformed into a new candidate virtual guide line {(x′0, y′0), (x′1, y′1 ′ )......(x′ n ,y′ n )}.
[0063] Step 103 , determining a target virtual guide line from the one or more candidate virtual guide lines according to the matching degree, and correcting the current virtual guide line according to the target virtual guide line.
[0064] After determining the matching degree of the candidate guide lines, a candidate guide line with a high matching degree may be selected from the one or more candidate virtual guide lines as a target virtual guide line, and the current virtual guide line may be corrected according to the target virtual guide line.
[0065] In an embodiment of the present invention, during the process of automatic driving, when a positioning abnormality is detected, a current virtual guide line for the current road is determined, and based on the current virtual guide line, one or more candidate virtual guide lines are determined, and the matching degree of the one or more candidate virtual guide lines is determined respectively, and based on the matching degree, a target virtual guide line is determined from the one or more candidate virtual guide lines, and the current virtual guide line is corrected according to the target virtual guide line, thereby achieving correction of the current guide line when the vehicle detects a positioning abnormality, thereby avoiding traffic accidents.
[0066] Reference Figure 2 , shows a flowchart of another data processing method provided by an embodiment of the present invention, which may specifically include the following steps:
[0067] Step 201, during the process of autonomous driving, when a positioning anomaly is detected, determining a current virtual guide line for the current road;
[0068] Step 202, determining one or more candidate virtual guide lines according to the current virtual guide line;
[0069] Step 203 , when the current virtual guide line is an original virtual guide line for the current road, respectively determine the matching degree between the one or more candidate virtual guide lines and the current virtual guide line as the matching degree of the one or more candidate virtual guide lines.
[0070] After determining the candidate virtual guide lines, when the current virtual guide line is the original virtual guide line for the current road, the matching degree between one or more candidate virtual guide lines and the current virtual guide line can be determined respectively and used as the matching degree of one or more candidate virtual guide lines.
[0071] In one embodiment of the present invention, the step of respectively determining the matching degree between the one or more candidate virtual guide lines and the current virtual guide line includes:
[0072] Determine a drivable area, and respectively determine candidate width information of the one or more candidate virtual guide lines from the boundary of the drivable area; determine original width information of the original virtual guide line; and determine the matching degree of the one or more candidate virtual guide lines based on the candidate width information and the original width information.
[0073] In practical applications, the drivable area may be determined through image data of the current road captured by a camera of the vehicle, wherein the drivable area is a drivable area formed by both sides of the lane where the vehicle is located.
[0074] After determining the drivable area, when the width information is specific attribute information of discrete points, candidate width information of one or more candidate virtual guide lines can be determined, wherein the candidate width information can be obtained based on the distance from the coordinates of each discrete point of the candidate guide line to both sides of the lane line in the drivable area.
[0075] Then, the width information of each discrete point in the original virtual guide line can be determined, and the matching degree between the width information of the original virtual guide line and the corresponding discrete point in each candidate virtual guide line can be determined.
[0076] The matching degree of a discrete point in a candidate virtual guide line can be calculated by the following formula:
[0077] A=-[(d l -D l ) 2 +(d r- D r ) 2 ]
[0078] Wherein, dl represents the left width value of the discrete point in the current virtual guide line, and dr represents the right width value of the discrete point in the current virtual guide line; l Indicates the left width value of the corresponding discrete point in a candidate virtual guide line, D r Indicates the right width value of the corresponding discrete point in a candidate virtual guide line. The larger the A value is, the higher the matching degree is.
[0079] In one example, the candidate width information may be determined based on the coordinates of the candidate virtual guide line and the distances on both sides of the lane.
[0080] Step 204 , determining a target virtual guide line from the one or more candidate virtual guide lines according to the matching degree, and correcting the current virtual guide line according to the target virtual guide line.
[0081] In an embodiment of the present invention, during the process of automatic driving, when a positioning abnormality is detected, a current virtual guide line for the current road is determined, and based on the current virtual guide line, one or more candidate virtual guide lines are determined, and when the current virtual guide line is the original virtual guide line for the current road, the matching degree of the one or more candidate virtual guide lines with the current virtual guide line is respectively determined as the matching degree of the one or more candidate virtual guide lines, and based on the matching degree, a target virtual guide line is determined from the one or more candidate virtual guide lines, and the current virtual guide line is corrected according to the target virtual guide line, thereby achieving correction of the current guide line when the vehicle detects a positioning abnormality, thereby avoiding traffic accidents.
[0082] Reference Figure 3 , shows a flowchart of another data processing method provided by an embodiment of the present invention, which may specifically include the following steps:
[0083] Step 301, during the process of autonomous driving, when a positioning anomaly is detected, determining a current virtual guide line for the current road;
[0084] Step 302, determining one or more candidate virtual guide lines according to the current virtual guide line;
[0085] Step 303, when the current virtual guide line is not the original virtual guide line for the current road, for each candidate virtual guide line, determining a first sub-matching degree with the original virtual guide line, and determining a second sub-matching degree with the current virtual guide line;
[0086] After determining one or more candidate virtual guide lines, when the current virtual guide line is not the original virtual guide line for the current road, the first sub-matching degree between the candidate virtual guide line and the original virtual guide line, and the second sub-matching degree between the candidate virtual guide line and the current virtual guide line can be determined for each candidate virtual guide line.
[0087] In one embodiment of the present invention, determining the first sub-matching degree with the original virtual guide line includes:
[0088] Determine a drivable area, and respectively determine candidate width information of the one or more candidate virtual guide lines from the boundary of the drivable area; determine original width information of the original virtual guide line; and determine a first sub-matching degree with the original virtual guide line based on the candidate width information and the original width information.
[0089] In practical applications, the drivable area may be determined through image data of the current road captured by a camera of the vehicle, wherein the drivable area is a drivable area formed by both sides of the lane where the vehicle is located.
[0090] After determining the drivable area, when the width information is specific attribute information of discrete points, candidate width information of one or more candidate virtual guide lines can be determined, wherein the candidate width information can be obtained based on the distance from the coordinates of each discrete point of the candidate guide line to both sides of the lane line in the drivable area.
[0091] Then, the width information of each discrete point in the original virtual guide line can be determined, and thus the first sub-matching degree can be determined according to the width information of the corresponding discrete points in the original virtual guide line and each candidate virtual guide line.
[0092] In one embodiment of the present invention, determining the second sub-matching degree with the current virtual guide line includes:
[0093] Determine current width information of the current virtual guide line; and determine a second sub-matching degree with the current virtual guide line according to the candidate width information and the current width information.
[0094] In practical applications, the current width information of the current virtual guide line can be determined based on the drivable area, and the second sub-matching degree of each candidate virtual guide line with the current virtual guide line can be determined based on the current virtual guide line and the candidate width information of the corresponding points in each candidate virtual guide line and the current width information.
[0095] Step 304: Determine the matching degree of the candidate virtual guide line according to the first sub-matching degree and the second sub-matching degree.
[0096] After the first sub-matching degree and the second sub-matching degree are determined, the matching degree of the candidate virtual guide line may be determined in combination with the first sub-matching degree and the second sub-matching degree.
[0097] Step 305 , determining a target virtual guide line from the one or more candidate virtual guide lines according to the matching degree, and correcting the current virtual guide line according to the target virtual guide line.
[0098] In an embodiment of the present invention, during the process of automatic driving, when a positioning abnormality is detected, a current virtual guide line for the current road is determined, and based on the current virtual guide line, one or more candidate virtual guide lines are determined, and when the current virtual guide line is not the original virtual guide line for the current road, for each candidate virtual guide line, a first sub-matching degree with the original virtual guide line is determined, and a second sub-matching degree with the current virtual guide line is determined, and a matching degree of the candidate virtual guide line is determined based on the first sub-matching degree and the second sub-matching degree, and a target virtual guide line is determined from the one or more candidate virtual guide lines based on the matching degree, and the current virtual guide line is corrected according to the target virtual guide line, thereby achieving correction of the current guide line when the vehicle detects a positioning abnormality, thereby avoiding traffic accidents.
[0099] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0100] Reference Figure 4 , shows a schematic diagram of the structure of a data processing device provided by an embodiment of the present invention, which may specifically include the following modules:
[0101] The current virtual guide line determination module 401 is used to determine the current virtual guide line for the current road when a positioning anomaly is detected during the autonomous driving process;
[0102] A matching degree determination module 402 is used to determine one or more candidate virtual guide lines according to the current virtual guide line, and respectively determine the matching degree of the one or more candidate virtual guide lines;
[0103] The current virtual guide line correction module 403 is used to determine a target virtual guide line from the one or more candidate virtual guide lines according to the matching degree, and correct the current virtual guide line according to the target virtual guide line.
[0104] In one embodiment of the present invention, the matching degree determination module 402 may include:
[0105] The first candidate virtual guide line matching degree determination submodule is used to determine the matching degree between the one or more candidate virtual guide lines and the current virtual guide line when the current virtual guide line is the original virtual guide line for the current road, as the matching degree of the one or more candidate virtual guide lines.
[0106] In one embodiment of the present invention, the first candidate virtual guide line matching degree determination submodule may include:
[0107] a first candidate width information determining unit, configured to determine a drivable area, and respectively determine candidate width information of the one or more candidate virtual guide lines from a boundary of the drivable area;
[0108] A first original width information determining unit, used to determine the original width information of the original virtual guide line;
[0109] A matching degree determining unit is used to determine the matching degree of the one or more candidate virtual guide lines according to the candidate width information and the original width information.
[0110] In one embodiment of the present invention, the matching degree determination module 402 may include:
[0111] a sub-matching degree determination submodule, for determining, for each candidate virtual guide line, a first sub-matching degree with the original virtual guide line and a second sub-matching degree with the current virtual guide line when the current virtual guide line is not the original virtual guide line for the current road;
[0112] The second candidate virtual guide line matching degree determining submodule is used to determine the matching degree of the candidate virtual guide line according to the first sub-matching degree and the second sub-matching degree.
[0113] In one embodiment of the present invention, the sub-matching degree determination sub-module may include:
[0114] a second candidate width information determining unit, configured to determine a drivable area, and respectively determine candidate width information of the one or more candidate virtual guide lines from a boundary of the drivable area;
[0115] A second original width information determining unit, used to determine the original width information of the original virtual guide line;
[0116] The first sub-matching degree determining unit is configured to determine a first sub-matching degree with the original virtual guide line according to the candidate width information and the original width information.
[0117] In one embodiment of the present invention, the sub-matching degree determination sub-module may include:
[0118] A current width information determining unit, used to determine the current width information of the current virtual guide line;
[0119] The second sub-matching degree determining unit is configured to determine a second sub-matching degree with the current virtual guide line according to the candidate width information and the current width information.
[0120] In one embodiment of the present invention, the matching degree determination module 402 may include:
[0121] A transformation matrix determination submodule, used for sampling the current virtual guide line to obtain one or more transformation matrices;
[0122] The candidate virtual guide line determination submodule is used to transform the current virtual guide line according to the one or more transformation matrices to obtain one or more candidate virtual guide lines.
[0123] In an embodiment of the present invention, during the process of automatic driving, when a positioning abnormality is detected, a current virtual guide line for the current road is determined, and based on the current virtual guide line, one or more candidate virtual guide lines are determined, and the matching degree of the one or more candidate virtual guide lines is determined respectively, and based on the matching degree, a target virtual guide line is determined from the one or more candidate virtual guide lines, and the current virtual guide line is corrected according to the target virtual guide line, thereby achieving correction of the current guide line when the vehicle detects a positioning abnormality, thereby avoiding traffic accidents.
[0124] An embodiment of the present invention further provides a vehicle, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and the computer program implements the above data processing method when executed by the processor.
[0125] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above data processing method is implemented.
[0126] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0127] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0128] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0129] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0130] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0131] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0132] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0133] Finally, it should be noted that, in this article, relational terms such as first and second, etc. 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 terminal 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 terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0134] The above is a detailed introduction to a data processing method and device provided. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method of data processing, It is characterized in that The method comprises: During the autonomous driving process, when a positioning anomaly is detected, determining a current virtual guide line for the current road; Determine one or more candidate virtual guide lines according to the current virtual guide line, and respectively determine the matching degree of the one or more candidate virtual guide lines; Determine a target virtual guide line from the one or more candidate virtual guide lines according to the matching degree, and modify the current virtual guide line according to the target virtual guide line; The step of determining one or more candidate virtual guide lines according to the current virtual guide line includes: Sampling the current virtual guide line to obtain one or more transformation matrices; According to the one or more transformation matrices, transform the current virtual guide line to obtain one or more candidate virtual guide lines; The respectively determining the matching degree of the one or more candidate virtual guide lines comprises: When the current virtual guide line is an original virtual guide line for the current road, determining a drivable area, and respectively determining candidate width information of the one or more candidate virtual guide lines from a boundary of the drivable area; Determining original width information of the original virtual guide line; Determining, according to the candidate width information and the original width information, the matching degrees of the one or more candidate virtual guide lines as the matching degrees of the one or more candidate virtual guide lines; The respectively determining the matching degree of the one or more candidate virtual guide lines comprises: When the current virtual guide line is not an original virtual guide line for the current road, for each candidate virtual guide line, determining a first sub-matching degree with the original virtual guide line, and determining a second sub-matching degree with the current virtual guide line; The matching degree of the candidate virtual guide line is determined according to the first sub-matching degree and the second sub-matching degree.
2. The method according to claim 1, It is characterized in that The determining of the first sub-matching degree with the original virtual guide line includes: Determine a drivable area, and respectively determine candidate width information of the one or more candidate virtual guide lines from a boundary of the drivable area; Determining original width information of the original virtual guide line; A first sub-matching degree with the original virtual guide line is determined according to the candidate width information and the original width information.
3. The method according to claim 2, It is characterized in that The determining of the second sub-matching degree with the current virtual guide line includes: Determine the current width information of the current virtual guide line; A second sub-matching degree with the current virtual guide line is determined according to the candidate width information and the current width information.
4. A data processing device, It is characterized in that The device comprises: A current virtual guide line determination module is used to determine a current virtual guide line for a current road when a positioning anomaly is detected during the autonomous driving process; A matching degree determination module, used to determine one or more candidate virtual guide lines according to the current virtual guide line, and respectively determine the matching degree of the one or more candidate virtual guide lines; A current virtual guide line correction module, configured to determine a target virtual guide line from the one or more candidate virtual guide lines according to the matching degree, and to correct the current virtual guide line according to the target virtual guide line; The matching degree determination module is used to determine the drivable area when the current virtual guide line is the original virtual guide line for the current road, and respectively determine the candidate width information of the one or more candidate virtual guide lines from the boundary of the drivable area; determine the original width information of the original virtual guide line; and determine the matching degree of the one or more candidate virtual guide lines respectively according to the candidate width information and the original width information as the matching degree of the one or more candidate virtual guide lines; The matching degree determination module is also used to determine, for each candidate virtual guide line, a first sub-matching degree with the original virtual guide line and a second sub-matching degree with the current virtual guide line when the current virtual guide line is not the original virtual guide line for the current road; and determine the matching degree of the candidate virtual guide line based on the first sub-matching degree and the second sub-matching degree.
5. A vehicle, It is characterized in that The method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the data processing method according to any one of claims 1 to 3 when executed by the processor.
6. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the data processing method according to any one of claims 1 to 3 is implemented.
