Vehicle driving method, computer device and storage medium

By obtaining the set of vehicle coordinates to determine the driving distance, the problem of drivers having difficulty assessing safe driving distance is solved, thus improving vehicle driving safety and the fault tolerance rate when meeting oncoming traffic.

CN117048616BActive Publication Date: 2026-11-27ZHEJIANG DAHUA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311120558.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-31
Publication Date
2026-11-27
Estimated Expiration
2043-08-31

AI Technical Summary

Technical Problem

Drivers often struggle to assess safe driving distances, leading to frequent traffic safety issues.

Method used

By acquiring the set of coordinates of the target vehicle and surrounding targets, the reference driving distance between the target vehicle and surrounding targets is determined, thereby determining the driving status of the target vehicle.

Benefits of technology

It improves vehicle driving safety, reduces the probability of collisions caused by lack of distance control during oncoming traffic, and enhances the tolerance for errors in safe driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117048616B_ABST
    Figure CN117048616B_ABST
Patent Text Reader

Abstract

The application discloses a vehicle driving method, a computer device and a storage medium. The method comprises the following steps: acquiring a first coordinate point set of a target vehicle, and acquiring a second coordinate point set of a surrounding target; wherein the first coordinate point set comprises at least one coordinate point of a first local boundary of the target vehicle, and the second coordinate point set comprises at least one coordinate point of a second local boundary of the surrounding target; determining a reference driving distance between the target vehicle and the surrounding target by using the first coordinate point set and the second coordinate point set; and determining a target driving state of the target vehicle by using the reference driving distance between the target vehicle and the surrounding target, wherein the target driving state comprises a driving state of the target vehicle from a current position to a next target position. The above scheme can improve the safety of vehicle driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle driving technology, and in particular to a vehicle driving method, computer equipment, and computer-readable storage medium. Background Technology

[0002] With the development of economic construction, the transportation industry has also become increasingly developed, and the vehicle industry has grown rapidly. Vehicles are becoming more and more common in people's daily lives, but road safety issues are becoming increasingly serious.

[0003] Currently, with many vehicles on the road, due to environmental factors such as blind spots and narrow roads, drivers find it difficult to assess the safe driving distance of their vehicles, which can easily lead to traffic safety problems. Summary of the Invention

[0004] The main technical problem addressed by this application is to provide a vehicle driving method, computer equipment, and storage medium that can improve the safety of vehicle driving.

[0005] To address the aforementioned problems, a first aspect of this application provides a vehicle driving method, comprising: acquiring a first set of coordinate points of a target vehicle, and acquiring a second set of coordinate points of surrounding targets; wherein the first set of coordinate points includes at least one coordinate point of a first local boundary of the target vehicle, and the second set of coordinate points includes at least one coordinate point of a second local boundary of the surrounding targets; using the first set of coordinate points and the second set of coordinate points to determine a reference driving distance between the target vehicle and the surrounding targets; and using the reference driving distance between the target vehicle and the surrounding targets to determine a target driving state of the target vehicle, the target driving state including the driving state of the target vehicle from its current position to the next target position.

[0006] To address the aforementioned problems, a second aspect of this application provides a computer device comprising a memory and a processor coupled to each other, wherein the memory stores program data and the processor executes the program data to implement any step of the aforementioned vehicle driving method.

[0007] To address the aforementioned problems, a third aspect of this application provides a computer-readable storage medium storing program data executable by a processor, the program data being used to implement any step of the aforementioned vehicle driving method.

[0008] The above solution obtains a first set of coordinate points for the target vehicle and a second set of coordinate points for surrounding targets. Since the first set of coordinate points includes at least one coordinate point of the target vehicle's first local boundary, and the second set of coordinate points includes at least one coordinate point of the surrounding targets' second local boundary, the reference driving distance between the target vehicle and surrounding targets can be determined using the first and second sets of coordinate points. This allows for the analysis of the distance between the target vehicle and the local boundaries of surrounding targets. Thus, by using the reference driving distance between the target vehicle and surrounding targets, the target vehicle's driving state can be determined, enabling the determination of the target vehicle's driving state from its current position to the next target position. This refines the entire driving process of the target vehicle, focuses more on the local process of driving, improves the fault tolerance rate for safe driving and passing, reduces the impact of sudden events in the environment, and enhances the ability to control safe distances during driving and passing. In addition, it can also reduce the probability of collisions caused by a lack of overall environmental distance control during driving and passing. Attached Figure Description

[0009] To more clearly illustrate the technical solutions in this application, the accompanying drawings required in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein:

[0010] Figure 1 This is a flowchart illustrating the first embodiment of the vehicle driving method of this application;

[0011] Figure 2 This application Figure 1 A flowchart illustrating an embodiment of step S11;

[0012] Figure 3 This is a schematic diagram of the structure of one embodiment of the coordinate point division in this application;

[0013] Figure 4 This application Figure 1 A flowchart illustrating an embodiment of step S12;

[0014] Figure 5 This application Figure 1 A flowchart illustrating another embodiment of step S12;

[0015] Figure 6 This is a structural schematic diagram of an embodiment of the reference driving distance in this application;

[0016] Figure 7 This is a flowchart illustrating the second embodiment of the vehicle driving method of this application;

[0017] Figure 8 This is a flowchart illustrating the third embodiment of the vehicle driving method of this application;

[0018] Figure 9 This is a flowchart illustrating the fourth embodiment of the vehicle driving method of this application;

[0019] Figure 10 This is a schematic diagram of the structure of an embodiment of the vehicle driving device of this application;

[0020] Figure 11 This is a schematic diagram of the structure of an embodiment of the computer device of this application;

[0021] Figure 12 This is a schematic diagram of the structure of an embodiment of the computer-readable storage medium of this application. Detailed Implementation

[0022] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0023] The terms "first" and "second" in this application are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such processes, methods, products, or apparatus.

[0024] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0025] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship. Furthermore, "many" in this document means two or more. Moreover, the term "at least one" in this document means any combination of at least two of any one or more of a plurality of objects. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.

[0026] This application provides the following embodiments, and each embodiment will be described in detail below.

[0027] Please see Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the vehicle driving method of this application. The method may include the following steps:

[0028] S11: Obtain a first set of coordinate points for the target vehicle and a second set of coordinate points for surrounding targets; wherein the first set of coordinate points includes at least one coordinate point of the first local boundary of the target vehicle, and the second set of coordinate points includes at least one coordinate point of the second local boundary of the surrounding targets.

[0029] The vehicle driving method of this application can be used to enable vehicles to drive on target roads. The target road can be at least one of the following: vehicle lane, street, narrow road, narrow passage, etc. The vehicle driving method of this application can be used in at least one of the following application scenarios: vehicle meeting, driving, obstacle avoidance, etc. This application does not limit this.

[0030] Among them, the surrounding targets are targets within the preset range of the target vehicle. The surrounding targets can be at least one of the following: oncoming vehicles, obstacles, side vehicles, lane edges, etc. The surrounding targets can be detected based on the specific scene of the target lane where the target vehicle is located. The surrounding targets can be static targets or dynamic targets, but the surrounding targets referred to in this application are not limited to these.

[0031] The system can obtain the coordinate point sets of the target vehicle and surrounding targets respectively. It can obtain the first coordinate point set of the target vehicle and the second coordinate point set of the surrounding targets. The first coordinate point set includes at least one coordinate point of the first local boundary of the target vehicle, which can be the left, right, front, or rear of the target vehicle. The second coordinate point set includes at least one coordinate point of the second local boundary of the surrounding targets, which can be the left, right, front, or rear of the surrounding targets. The second local boundary can be a local boundary that faces the first local boundary of the target vehicle.

[0032] In some embodiments, please refer to Figure 2 This embodiment can further extend step S11 of the above embodiment. Obtaining a first set of coordinate points for the target vehicle and a second set of coordinate points for surrounding targets can include the following steps:

[0033] S111: Designate the target vehicle or surrounding targets as targets to be processed.

[0034] Before performing step S111, a preset coordinate system can be established. This system uses the road reference line as the first coordinate axis and determines the second coordinate axis based on the current position of the target vehicle.

[0035] Road reference lines include the road centerline, road markings, road edges, and a right reference line at a safe distance from the right edge of the lane. This embodiment uses the road centerline as an example. The road centerline can be obtained by identifying road markings, or it can be determined by identifying the road edges on both sides of the target vehicle. This embodiment uses the road centerline as the first coordinate axis of a preset coordinate system, such as the Y-axis, as an example.

[0036] Obtain the current position of the target vehicle, and use the horizontal center line of the target vehicle's current position as the second coordinate axis, or use the horizontal lines of the front and rear positions of the target vehicle as the second coordinate axis, such as the X-axis. Therefore, the intersection point of the first and second coordinate axes can be used as the origin coordinates (0, 0).

[0037] In some implementations, the preset coordinate system can change with the target road. When the target road is curved, the preset coordinate system can adapt to the curved shape of the target road.

[0038] In some implementations, the preset coordinate system may be the Frenet coordinate system, which uses the tangent vector of the road centerline as the vertical axis and the normal vector of the road centerline as the horizontal axis. The Cartesian coordinates of the target vehicle can be obtained first, and then a coordinate transformation can be performed to obtain the target vehicle's coordinates in the Frenet coordinate system. This embodiment does not limit the preset coordinate system.

[0039] Using the preset coordinate system established above, obtain the set of coordinate points of the target vehicle and surrounding targets in the preset coordinate system.

[0040] The target vehicle or surrounding targets whose coordinate points need to be acquired can be used as the target to be processed, and the coordinate points of the target to be processed can be acquired. The first local boundary of the target vehicle may include at least one of a first side, a second side, and a rear. Surrounding targets may include at least one of a first-side surrounding target and a second-side surrounding target.

[0041] S112: Obtain the current position of the target to be processed, and divide the target to be processed into a third preset number of parts along a preset direction.

[0042] Please see Figure 3 Taking the target vehicle as an example, the current position of the target vehicle can be obtained, and the target vehicle can be divided into a third preset number of parts along a preset direction. The preset direction can be the direction of the first coordinate axis of the preset coordinate system, and the third preset number can be m, where m is a positive integer. The length of the target vehicle can be evenly divided into m parts along the first coordinate axis. The first coordinate axis can be the Y-axis.

[0043] In some implementations, the target vehicle and surrounding targets are in a front-to-back relationship and are traveling in the same direction. The front-to-back distance between the target vehicle and surrounding targets can be analyzed, so that the preset direction can be the direction of the second coordinate axis of the preset coordinate system, wherein the second coordinate axis can be the X-axis.

[0044] In some implementations, the preset direction can be the direction of the first coordinate axis and the direction of the second coordinate axis of the preset coordinate system, and the current position of the target to be processed is divided into grids.

[0045] In some implementations, the preset direction can be determined based on the structural shape of the target to be processed, or based on the relative position of the target vehicle and surrounding targets. This application does not limit the preset direction or the division method.

[0046] S113: Obtain the coordinates of at least one local boundary of a third preset number of parts to obtain a set of coordinates of the target to be processed.

[0047] It can obtain the coordinates of at least one local boundary of each of the third preset number m parts of the target to be processed.

[0048] Please see Figure 3 It can obtain the coordinate points of each of the three preset number m parts of the target to be processed, which intersect with at least one local boundary (first side, second side), thereby obtaining the set of coordinate points of the target to be processed, which may include the coordinate points of m parts.

[0049] In some implementations, the local boundary positions of local parts of the target to be processed can be detected, and the coordinate points of the local boundary positions can be collected evenly to obtain a set of coordinate points of the target to be processed. For example, the local boundary positions of the first side (such as the left door), the second side (such as the right door), the mirror, the front, and the rear of the target vehicle can be detected, and then the coordinate points can be collected evenly at these local boundary positions to obtain a set of coordinate points of the target vehicle.

[0050] In some implementations, at least one coordinate point can be collected at a preset interval at the local boundary location of the target to be processed, so as to obtain a set of coordinate points corresponding to the local boundary of each target to be processed. Different preset intervals can be set for different targets to be processed, and / or different numbers of coordinate points can be set for different targets to be processed, so as to collect different numbers of coordinate points.

[0051] In some implementations, multiple coordinate points in the coordinate point set are arranged sequentially according to the order of acquisition or local boundary positions.

[0052] In some implementations, a set of coordinate points of the target vehicle and surrounding targets at the current location can be recorded or stored. Specifically, the set of first coordinate points on the first side of the first local boundary of the target vehicle can be represented as S1{(x11,y11),(x12,y12),…,(x1m,y1m)}, where (x1m,y1m) represents the m-th first coordinate point. Alternatively, the set of first coordinate points on the second side of the first local boundary of the target vehicle can be represented as S2{(x21,y21),(x22,y22),…,(x2m,y2m)}, where (x2m,y2m) represents the m-th first coordinate point.

[0053] For example, the surrounding targets can be at least one of the following: oncoming vehicles, obstacles, vehicles on the side, lane edges, etc. The set of second coordinate points of the second local boundary of the oncoming vehicle (such as the second side, the side facing the target vehicle) can be S3{(x31,y31),(x32,y32),…,(x3m,y3m)}, where (x3m,y3m) represents the m-th second coordinate point.

[0054] The obstacle can be an obstacle on the second side of the target vehicle, and there can be one or more obstacles. By identifying the obstacle, a set of second coordinate points S4{(x41,y41),(x42,y42),…,(x4n,y4n)} of the second local boundary of the obstacle can be determined using the coordinate division method described above, where n is the total number of obstacles on the second side of the target vehicle identified. Optionally, one or more second coordinate points can be collected from the second local boundary of the obstacle closest to the target vehicle.

[0055] To identify the lane edge (such as the road edge) on the second side of the target vehicle, the set of second coordinate points of the lane edge can be determined according to the coordinate division method described above. The set of second coordinate points of the lane edge is represented as S5{(x51,y51),(x52,y52),…,(x5k,y5k)}, where (x5k,y5k) represents the k-th second coordinate point, and k is a positive integer.

[0056] In some embodiments, the number of surrounding targets can be one or more, the types of surrounding targets can be different or the same, different numbers of different surrounding targets can be divided into different groups, or different numbers of groups can be divided according to different intervals, and different sets of coordinate points of different surrounding targets can contain different numbers of coordinate points. This application does not limit this.

[0057] S12: Using the first set of coordinate points and the second set of coordinate points, determine the reference driving distance between the target vehicle and surrounding targets.

[0058] By analyzing the first and second sets of coordinate points mentioned above, the driving distance between the target vehicle and surrounding targets is obtained as a reference driving distance between the target vehicle and surrounding targets.

[0059] Since the first set of coordinate points includes at least one coordinate point of the first local boundary of the target vehicle, and the second set of coordinate points includes at least one coordinate point of the second local boundary of the surrounding targets, the distance between the first local boundary of the target vehicle and the second local boundary of the surrounding targets can be obtained. Therefore, the reference driving distance between the target vehicle and the surrounding targets can be determined through this local boundary distance. Subsequent processes use this reference local boundary distance between the target vehicle and the surrounding targets to formulate driving path planning, driving status, etc.

[0060] In some implementations, the reference driving distance may include at least one of a first reference driving distance, a second reference driving distance, a third reference driving distance, and a fourth reference driving distance.

[0061] Here, the first reference travel distance represents the closest lateral distance between the target vehicle and the local boundaries of surrounding targets. It can be understood that if the surrounding targets are oncoming vehicles on the first side (e.g., the left side), the first reference travel distance can be the lateral distance between the leftmost coordinate point of the target vehicle (first local boundary) and the rightmost coordinate point of the oncoming vehicle (second local boundary). If the surrounding targets are obstacles, side vehicles, lane edges, etc., on the second side, the first reference travel distance can be the lateral distance between the rightmost coordinate point of the target vehicle (first local boundary) and the leftmost coordinate point of the obstacle, side vehicle, lane edge, etc. (second local boundary).

[0062] The second reference driving distance represents the lateral distance between the rightmost coordinate point or road reference line coordinate point of the surrounding targets (such as oncoming vehicles) on the first side of the target vehicle and the leftmost coordinate point of the surrounding targets (such as obstacles, side vehicles, lane edges, etc.) on the second side of the target vehicle. Specifically, the second reference driving distance is obtained by selecting the coordinate point that is closer to the second side (or closer to the right) among the rightmost coordinate point of the surrounding targets on the first side and the coordinate point of the road reference line.

[0063] The third reference driving distance represents the lateral distance between the first coordinate point on the first side of the first local boundary in the first set of coordinate points of the target vehicle and the second coordinate point on the second local boundary of the surrounding target on the first side, with the first coordinate point and the second coordinate point corresponding in order.

[0064] The fourth reference driving distance represents the lateral distance between the rightmost coordinate point on the first side of the first local boundary of the target vehicle in the first set of coordinate points and the leftmost coordinate point on the second local boundary of the surrounding targets on the second side.

[0065] It is understandable that the descriptions of the leftmost and rightmost points above can be expressed as the minimum and maximum values ​​of the horizontal coordinate (x-values ​​on the X-axis) of the coordinate points.

[0066] In some embodiments, please refer to Figure 4 This embodiment can further extend step S12 of the above embodiment. Using the first set of coordinate points and the second set of coordinate points, a reference driving distance between the target vehicle and surrounding targets is determined. This embodiment may include the following steps:

[0067] S121: Determine the first reference coordinates and the second reference coordinates based on the first set of coordinate points and the second set of coordinate points.

[0068] The first reference coordinates and the second reference coordinates can be determined from either the first set of coordinate points or the second set of coordinate points, so as to obtain different reference driving distances depending on the selected coordinate points.

[0069] Wherein, the first reference coordinates are the coordinates of the first local boundary of the target vehicle, and the second reference coordinates are the coordinates of the second local boundary of the surrounding targets. The first and second reference coordinates are used to obtain the distance between the first and second local boundaries. By selecting the coordinates of the first and second local boundaries at different locations, the reference distances between different local boundaries can be determined to describe the relative distance between the local boundaries of the target vehicle and the surrounding targets. It is understood that this application can determine the coordinates of different local boundaries to obtain the corresponding reference distances according to the specific application scenario (such as the distribution and relative positions of the target vehicle and surrounding targets), and this application does not impose any restrictions on this.

[0070] Optionally, each first coordinate point in the first set of coordinate points can be used as a first reference coordinate, and each second coordinate point in the second set of coordinate points can be used as a second reference coordinate.

[0071] Optionally, the first coordinate point with the smallest x-coordinate value in the first coordinate point set of the first side is taken as the first reference coordinate, and the second coordinate point with the largest x-coordinate value in the second coordinate point set of the surrounding targets on the first side is taken as the second reference coordinate.

[0072] Optionally, each first coordinate point in the first coordinate point set of the first side can be used as the first reference coordinate, and each second coordinate point in the second coordinate point set of the surrounding targets of the first side can be used as the second reference coordinate.

[0073] Optionally, the first coordinate point with the largest x-coordinate value in the first coordinate point set of the second side is taken as the first reference coordinate, and the second coordinate point with the smallest x-coordinate value in the second coordinate point set of the surrounding targets on the second side is taken as the second reference coordinate.

[0074] S122: Using the first reference coordinate and the second reference coordinate, determine the reference driving distance between the target vehicle and surrounding targets.

[0075] The reference driving distance includes at least one of the following: the shortest distance between the first local boundary and the second local boundary, the distance between each corresponding coordinate point of the first local boundary and the second local boundary, and the shortest distance between coordinate points of at least two second local boundaries corresponding to the first local boundary on different sides; the first local boundary and the second local boundary are local boundaries facing each other. The reference driving distance between local boundaries at different positions can be obtained by selecting the first reference coordinate and the second reference coordinate. For example, the reference driving distance can be at least one of the first reference driving distance, the second reference driving distance, the third reference driving distance, and the fourth reference driving distance. This part of the reference driving distance can be obtained through the following implementation method.

[0076] In some embodiments, please refer to Figure 5 The above embodiment can be further extended to step S12. Using the first set of coordinate points and the second set of coordinate points, a reference driving distance between the target vehicle and surrounding targets is determined. This embodiment may include at least one of the following steps:

[0077] S1211: Obtain the distance between the first preset coordinates and the second preset coordinates, and use it as the first reference driving distance.

[0078] The first reference coordinates include the first preset coordinates of the first local boundary of the target vehicle, and the second reference coordinates include the second preset coordinates of the second local boundary of the surrounding targets. The second local boundary and the first local boundary are local boundaries facing each other, that is, the first preset coordinates and the second preset coordinates can be used to determine the shortest distance between the first local boundary and the second local boundary.

[0079] The surrounding targets include at least one of a first-side surrounding target and a second-side surrounding target. The first-side surrounding target is located on the first side of the target vehicle, and the second-side surrounding target is located on the second side of the target vehicle. For example, if the first side is the left side, the first-side surrounding target can be an oncoming vehicle, an obstacle, etc., and if the second side is the right side, the second-side surrounding target can be an obstacle, a vehicle to the side, a lane edge, etc.

[0080] In some application scenarios, surrounding targets can also include targets on the third side. The third side can be the front side, and targets on the third side can be oncoming vehicles, obstacles, etc.

[0081] The first preset coordinates and the second preset coordinates are the coordinates of the target vehicle and the surrounding targets that are closest to each other, or the first preset coordinates and the second preset coordinates are the coordinates of the target vehicle and the surrounding targets that are furthest to the side.

[0082] In this step, when obtaining the first reference driving distance, the first preset coordinate can be the first coordinate point s1(X) with the smallest x-coordinate value in the set S1 of first coordinate points on the first side of the target vehicle. 1min Y 1i ), which can express the coordinates of the leftmost point of the first side of the target vehicle.

[0083] The second preset coordinate is the second coordinate point with the largest x-coordinate value in the set of second coordinate points of the surrounding targets on the first side. For example, the second coordinate point s3(X) with the largest x-axis value in the set of second coordinate points S3. 3max Y 3i ), can express the coordinates of the rightmost point of the target surrounding the first side.

[0084] Obtain the first preset coordinates s1(X) 1min Y 1i ) and the second preset coordinates s3(X) 3max Y 3i The lateral distance between the x-coordinates of the two points is taken as the first reference driving distance L1, which can be expressed as:

[0085] L1 = X 1min -X 3max (1)

[0086] In some implementations, the distance between the second preset coordinates of the first side and the second preset coordinates of the second side can also be obtained as a second reference driving distance, that is, the shortest distance between the coordinate points of at least two second local boundaries corresponding to the first local boundaries of different sides can be obtained.

[0087] In some embodiments, the second reference driving distance can be obtained according to the specific implementation of steps S1221 to S1222 below.

[0088] S1221: Determine the first comparison coordinate from the second preset coordinate and the third reference coordinate, wherein the third reference coordinate includes the coordinate point of the road reference line, and the first comparison coordinate is the coordinate point with the smallest distance to the first side of the first local boundary among the second preset coordinate and the third reference coordinate.

[0089] The surrounding targets include a first-side surrounding target and a second-side surrounding target. The first-side surrounding target is located on the first side of the target vehicle, and the second-side surrounding target is located on the second side of the target vehicle. The first reference coordinates include the first-side second preset coordinates of the second local boundary of the first-side surrounding target, and the second reference coordinates include the second-side second preset coordinates of the second local boundary of the second-side surrounding target.

[0090] For example, the second preset coordinate of the first side is the second point s3(X) with the largest x-coordinate value in the set S3 of second coordinate points of the surrounding targets on the first side. 3max Y 3i ), which can represent the coordinates of the rightmost point of the surrounding target on the first side.

[0091] The third reference coordinate includes the coordinate points of the road reference line. For example, when establishing a preset coordinate system with the road reference line as the Y-axis, the third reference coordinate can represent the coordinate points of the Y-axis. The y-value of the third coordinate point on the Y-axis can be the same as the y-value of the second preset coordinate. The third reference coordinate can be represented as s0(X0, Y0).

[0092] Compare the second preset coordinates s3(X) 3max Y 3i The coordinate point that is closest to the first local boundary in the third reference coordinate system s0(X0, Y0) is selected as the first comparison coordinate. In other words, the coordinate point with the larger X-axis value between the second preset coordinate system and the third reference coordinate system is chosen.

[0093] In this way, it can be determined whether the target surrounding the first side (the rightmost side of the second local boundary) exceeds the road reference line. If the target surrounding the first side exceeds the road reference line, then the second preset coordinate s3(X) of the rightmost side of the second local boundary of the target surrounding the first side is set. 3max Y 3i ), as the first comparison coordinate sb1(X b1 Y b1 Alternatively, if the surrounding targets on the first side do not exceed the road reference line, then the third reference coordinates s0(X0, Y0) of the road reference line are used as the comparison preset coordinates sb1(X0, Y0). b1 Y b1 ( ), to select coordinates that are closer to the first side of the target vehicle.

[0094] S1222: Obtain the distance between the first comparison coordinate and the second comparison coordinate as the second reference driving distance, wherein the second comparison coordinate is the coordinate point with the smallest distance to the second side of the first local boundary among the second preset coordinates of the second side of multiple second side surrounding targets.

[0095] The second reference coordinates include the second preset coordinates of the second local boundary of the second side surrounding the target. If there is only one target on the second side, the second comparison coordinates are the second preset coordinates of the second local boundary of the target on the second side. If there are multiple targets on the second side, the second comparison coordinates are the coordinates of the multiple targets with the smallest distance from the second side edge of the first local boundary. For example, the second preset coordinates of the second side could be the second coordinate point s4(X) with the smallest x-value on the X-axis in the set of second coordinate points S4. 4min Y 4i The second coordinate point s5(X) in the second coordinate point set S5 has the smallest x-value on the X-axis. 5min Y 5i At least one of them.

[0096] By comparing the second coordinate point s4(X) 4min Y 4i ) and the second coordinate point s5(X 5min Y 5i The distance between the first local boundary and the second side (e.g., the lateral distance along the X-axis) is used to determine the second coordinate point with the smallest lateral distance as the second comparison coordinate sb2(X). b2 Y b2 ).

[0097] Obtain the first comparison coordinates sb1(X) b1 Y b1 ) and the second comparison coordinate sb2(X) b2 Y b2 The lateral distance between the x-coordinates of the two points is taken as the second reference driving distance L2, which can be expressed as:

[0098] L2 = X b2 -X b1 (2)

[0099] The above method analyzes the distances between surrounding targets on different sides of the target vehicle and determines whether the surrounding targets exceed the road reference line. In other words, it compares the closest distance between the road reference line and the surrounding targets relative to the target vehicle, thus obtaining a more accurate reference driving distance for the target vehicle.

[0100] S1231: According to the correspondence between multiple first coordinates and multiple second coordinates, the distance between the first coordinates and the second coordinates is obtained in sequence, and each is used as the third reference driving distance.

[0101] The first reference coordinates include multiple first coordinates of the first side of the first local boundary of the target vehicle, the surrounding targets include the surrounding targets on the first side, the second reference coordinates include multiple second coordinates of the second local boundary of the surrounding targets on the first side, the surrounding targets on the first side are located on the first side of the target vehicle, and the second local boundary and the first local boundary are local boundaries facing each other.

[0102] For example, the first reference coordinates can include the set of first coordinates S1{(x11,y11),(x12,y12),…,(x1m,y1m)} of the first side of the first local boundary of the target vehicle, and the second reference coordinates can include S3{(x31,y31),(x32,y32),…,(x3m,y3m)} of the second local boundary of the target surrounding the first side. The lateral distances between the first and second coordinates can be obtained sequentially according to the correspondence between the multiple first coordinates and the multiple second coordinates, and used as the third reference driving distance L3. In other words, the distance between each corresponding coordinate point of the first local boundary and the second local boundary can be obtained.

[0103] The third reference driving distance L3 can be expressed as:

[0104] L3 = X i1 -X i3 (3)

[0105] Among them, X i1 X is the i-th x-coordinate in S1. i3 It is the i-th x-coordinate in S3.

[0106] S1241: Obtain the distance between the third preset coordinate and the fourth preset coordinate, and use it as the fourth reference driving distance.

[0107] The first reference coordinates include the third preset coordinates of the second side of the first local boundary of the target vehicle, the surrounding targets include the second side surrounding targets, the second reference coordinates include the fourth preset coordinates of the second local boundary of the second side surrounding targets, the second side surrounding targets are located on the second side of the target vehicle, and the second local boundary and the first local boundary are local boundaries facing each other.

[0108] For example, the third preset coordinate can be the first coordinate point s1(X) with the largest x-coordinate value in the set S1 of second coordinate points corresponding to the second side of the target vehicle. 1max Y 1j ), which can represent the coordinates of the rightmost point of the target vehicle.

[0109] The fourth preset coordinate can be the second coordinate point s4(X) with the smallest x-coordinate value in the set S4 of second coordinate points of the surrounding targets on the second side. 4min Y 4j ), which can represent the coordinates of the leftmost point of the target surrounding the second side. The target surrounding the second side in this step is the target surrounding the target vehicle that is closest to the second side of the target vehicle, such as the obstacle mentioned above.

[0110] Obtain the third preset coordinates s1(X) 1max Y 1j ) and the fourth preset coordinate s4(X) 4min Y 4j The lateral distance between the x-coordinates of the two points is taken as the fourth reference driving distance L4. The fourth reference driving distance L4 can be expressed as:

[0111] L3 = X 4min -X 1max (4)

[0112] Please see Figure 6 For example, target vehicle 101 is located to the right of reference road line 105, oncoming vehicle 102 is located to the first side of target vehicle 101 and to the left of reference road line 105, and obstacle 103 and right lane edge 104 are located to the second side of target vehicle 101. Through the above steps, reference driving distances between target vehicle 101 and surrounding targets can be obtained. The reference driving distance L can include at least one of a first reference driving distance L1, a second reference driving distance L2, a third reference driving distance L3, and a fourth reference driving distance L4.

[0113] S13: Determine the target vehicle's target driving status by using the reference driving distance between the target vehicle and surrounding targets, wherein the target driving status includes the target vehicle's driving status from the current position to the next target position.

[0114] The reference driving distance between the target vehicle and one or more surrounding targets can be obtained by using the above method to determine the driving range of the target vehicle, thereby determining whether the target vehicle should continue driving or to formulate a driving route.

[0115] If the reference travel distance meets the target vehicle's travel requirements, the target vehicle can continue traveling, and its target travel state is determined to be the travel state from the current position to the next target position. In this case, the target vehicle can be controlled to travel in the target state. If the reference travel distance does not meet the target vehicle's travel requirements, the target vehicle cannot continue traveling, and its target travel state is determined to be stopped. Alternatively, the target vehicle can continue traveling, and its target travel state is determined to be the travel state of adjusting its direction from the current position to the next target position.

[0116] In some implementations, before step S13, the first rear coordinates W1(x) of the target vehicle can be obtained. 1w y 1w ), and obtain the second tail coordinates W2(x) of the surrounding targets. 2w y 2w The first tail coordinate can be a local coordinate of the rear of the target vehicle, such as the coordinate of the minimum longitudinal coordinate of the target vehicle, or the coordinate of the rearmost side of the target vehicle. The second tail coordinate can be a local coordinate of the rear of surrounding targets, such as the coordinate of the maximum longitudinal coordinate of surrounding targets, or the coordinate of the rearmost side of surrounding targets.

[0117] Using the first tail coordinate W1(x) 1w y 1w ) and the second tail coordinate W2(x 2w y 2w The difference in the vertical axis is used to obtain the tail distance D between the target vehicle and surrounding targets, where the surrounding targets are oncoming vehicles. In other words, the tail distance D can express the meeting distance between the target vehicle and oncoming vehicles. The tail distance D can be expressed as:

[0118] D = y 1w -y 2w (5)

[0119] A preset proportion of the tail distance can be used as the travel distance of the target vehicle from its current position to the next target position. For example, the tail distance can be evenly divided into f equal parts (i.e., the preset proportion is 1 / f), and the distance between each equal part can be used as the travel distance, where the travel distance d can be expressed as:

[0120] d = D / f (6)

[0121] In some implementations, after the target vehicle travels a distance from its current position to the next target position, step S11 can be performed to update the first set of coordinates of the target vehicle and the second set of surrounding targets, and then the subsequent driving process can be executed.

[0122] In this embodiment, by acquiring a first set of coordinate points for the target vehicle and a second set of coordinate points for surrounding targets, since the first set of coordinate points includes at least one coordinate point of the first local boundary of the target vehicle and the second set of coordinate points includes at least one coordinate point of the second local boundary of the surrounding targets, the reference driving distance between the target vehicle and the surrounding targets can be determined using the first and second sets of coordinate points. This allows for the analysis of the distance between the local boundaries of the target vehicle and the surrounding targets. Thus, by using the reference driving distance between the target vehicle and the surrounding targets, the target driving state of the target vehicle can be determined, enabling the determination of the driving state of the target vehicle from the current position to the next target position. This refines the entire driving process of the target vehicle, focuses more on the local process of driving, improves the fault tolerance rate of safe driving and passing, reduces the impact of sudden events in the environment, and improves the ability to control safe distances during driving and passing. In addition, it can also reduce the probability of collisions caused by the lack of overall environmental distance control during driving and passing.

[0123] Please see Figure 7 , Figure 7 This is a flowchart illustrating a second embodiment of the vehicle driving method of this application. The method may include the following steps:

[0124] S21: Determine whether the first reference driving distance is less than the first reference threshold.

[0125] In some implementations, before step S21, the road width W0 of the current driving road, the vehicle width W1 and vehicle length H1 of the target vehicle can be obtained, and the vehicle width W2 of surrounding targets (such as oncoming vehicles) can be obtained. A safe driving width threshold W3 can be set, and the drivable width W can be obtained.

[0126] W = W0 - W1 - W2 - W3 (7)

[0127] Determine whether the drivable width W is greater than 0. If W is greater than or equal to 0, then at least one of steps S11 and S21 described above in this application can be performed. If W is less than 0, then the target driving state of the target vehicle is determined to be stopped, that is, stopped moving forward.

[0128] In some implementations, before step S21 or after determining that W is greater than or equal to 0, the second preset coordinate s3(X) is determined. 3max Y 3i The difference (lateral distance) between the x-coordinate of the first reference coordinate s0(X0, Y0) and the second reference coordinate s0(X0, Y0) is determined to be greater than a third preset threshold T3. The third reference coordinate includes the coordinates of the road reference line, and the second preset coordinate is the coordinate of the second local boundary of the surrounding target on the first side. This method allows determination of whether an oncoming vehicle exceeds the safe warning distance of the road reference line.

[0129] If the difference is determined to be greater than the third preset threshold, then in response to the difference being greater than the third preset threshold, step S21 is executed to determine whether the first reference driving distance is less than the first reference threshold.

[0130] Determine whether the first reference driving distance L1 is less than the first reference threshold T1. If the first reference driving distance L1 is less than the first reference threshold T1, proceed to step S22. If the first reference driving distance L1 is not less than the first reference threshold T1, proceed to step S23.

[0131] S22: The target vehicle's target driving state is determined to be stopped.

[0132] In response to a first reference travel distance being less than a first reference threshold, the target vehicle's target travel state is determined to be stopped, meaning the target vehicle stops moving towards the next target location. Alternatively, in response to a second reference travel distance being less than a second reference threshold, the target vehicle's target travel state is determined to be stopped.

[0133] S23: Determine whether the second reference driving distance is less than the second reference threshold.

[0134] In response to the first reference driving distance L1 being not less than the first reference threshold T1, it is further determined whether the second reference driving distance L2 is less than the second reference threshold T2, wherein the second reference threshold T2 is the sum of the target vehicle width W1 and the preset distance N.

[0135] In some implementations, determining whether the second reference driving distance is less than the second reference threshold can be expressed as the following determination:

[0136] M1 = X b2 -X b1 -W1-N (8)

[0137] If it is determined whether M1 is less than 0, that is, the second reference driving distance is less than the second reference threshold, it is determined that it is temporarily impossible to safely complete the meeting, and step S22 is executed.

[0138] If it is determined whether M1 is less than 0, that is, whether the second reference driving distance is not less than the second reference threshold, then step S24 is executed.

[0139] S24: Determine the target vehicle's target driving state as moving towards the next target location.

[0140] In response to the second reference driving distance being not less than the second reference threshold, the target driving state of the target vehicle is determined to be moving towards the next target position.

[0141] In this embodiment, by analyzing the first and second reference driving distances of the target vehicle, the target driving state of the target vehicle can be determined, which can improve the control of the safe driving distance. In addition, by determining the nearest lateral distance between the target vehicle and the local boundary of the surrounding target, and by using the road reference line and the right lane edge or obstacle, the reference driving distance that the target vehicle can drive within the road reference line can be determined, thereby improving the driving safety of the target vehicle.

[0142] Please see Figure 8 , Figure 8 This is a flowchart illustrating the third embodiment of the vehicle driving method of this application. The method may include the following steps:

[0143] S31: According to the corresponding order of multiple first coordinates and multiple second coordinates, obtain the distance between the first coordinates and the second coordinates in sequence, and use them as the third reference driving distance respectively.

[0144] The first reference coordinate system includes multiple first coordinates of the first side of the first local boundary of the target vehicle, and the surrounding targets include the surrounding targets on the first side. The second reference coordinate system includes multiple second coordinates of the second local boundary of the surrounding targets on the first side. The surrounding targets on the first side are located on the first side of the target vehicle, and the second local boundary and the first local boundary are facing each other. The first side can be the left or right side; this embodiment uses the left side as an example.

[0145] In some implementations, the lateral distance between the x-coordinates of each pair of coordinates (each group of first coordinates and second coordinates) can be obtained and used as the third reference driving distance.

[0146] S32: Count the first number of targets whose distances from the target vehicle to surrounding targets are greater than a fourth preset threshold.

[0147] The determination of whether the third reference driving distance between the target vehicle and surrounding targets is greater than the fourth preset threshold can be expressed as:

[0148] a = X i1 -X i3 -T4 (9)

[0149] Where T4 represents the fourth preset threshold, X i1 -X i3 The third reference driving distance is L3, X. i1 X is the i-th x-coordinate in S1. i3 It is the i-th x-coordinate in S3.

[0150] Determine if a is greater than 0. If a is greater than 0, that is, the third reference driving distance between the target vehicle and the surrounding targets is greater than the fourth preset threshold, then the count of the first statistical quantity is incremented by one. In this way, the first statistical quantity of the multiple third reference driving distances between the target vehicle and the surrounding targets that are greater than the fourth preset threshold can be counted.

[0151] S33: Determine whether the first statistical quantity is greater than or equal to the first preset quantity.

[0152] Wherein, the first preset quantity is less than or equal to the third preset quantity. In this embodiment, the first preset quantity is equal to the third preset quantity as an example for explanation.

[0153] By determining whether the first statistical quantity is greater than or equal to the first preset quantity, it is possible to determine whether the target vehicle and the oncoming vehicle on the first side maintain a safe distance at each local boundary, so as to make a step-by-step judgment from each part of each local boundary.

[0154] In some implementations, if it is determined that the first statistical quantity is greater than or equal to the first preset quantity, then step S34 is executed.

[0155] In some implementations, if it is determined that the first statistical quantity is not greater than or equal to the first preset quantity, then the following step S35 is executed.

[0156] S34: Determine the target vehicle's target driving state as moving towards the next target location.

[0157] In response to a first statistical count being greater than or equal to a first preset count, the target driving state of the target vehicle is determined to be moving towards the next target position. Alternatively, in response to a second statistical count not reaching a second preset count, the target driving state of the target vehicle is determined to be moving towards the next target position.

[0158] S35: Determine the target vehicle's target driving state as follows: Adjust the direction to the target side of the target vehicle and move forward to the next target position.

[0159] If the first statistical quantity is not greater than or equal to the first preset quantity, the target driving state of the target vehicle is determined as follows: adjust the direction to the target side of the target vehicle and move forward to the next target position.

[0160] The target side can be either the second side or the first side. This embodiment will be described using the second side as the target side.

[0161] In some implementations, after step S35, after controlling the target vehicle to travel to the next target location in the target driving state, the coordinate point set of the target vehicle and surrounding targets is updated, thereby enabling the following steps to be performed.

[0162] S36: After advancing to the next target position, the first statistical quantity is not greater than or equal to the first preset quantity, and the second statistical quantity is also not greater than or equal to the first preset quantity.

[0163] The specific implementation process of this embodiment can be referred to step S32 above, and this step will not be repeated here.

[0164] After advancing to the next target position, the first statistical quantity is not greater than or equal to the first preset quantity, and the second statistical quantity is used to analyze the distance between the target vehicle and the local boundary of the surrounding targets after adjusting the direction and moving to the next target position. In addition, this process can dynamically analyze the distance between the surrounding targets.

[0165] S37: Determine whether the second statistical quantity has reached the second preset quantity.

[0166] This process determines whether 'a' is still less than 0 after adjusting the direction and moving to the next target position a second preset number of times. The second preset number is a positive integer, such as 2, 3, or 4.

[0167] If the second statistical count does not reach the second preset count, then in response to the second statistical count not reaching the second preset count, step S34 or step S35 is executed to determine the target driving state of the target vehicle as moving to the next target position, or to adjust the direction to the target side of the target vehicle and move to the next target position.

[0168] If the second statistical quantity reaches the second preset quantity, then in response to the second statistical quantity reaching the second preset quantity, step S38 is executed.

[0169] S38: The target vehicle's target driving state is determined to be stopped.

[0170] In response to the second statistical quantity reaching the second preset quantity, the target driving state of the target vehicle is determined to be stopped.

[0171] In this embodiment, the surrounding targets can be dynamic or static targets. By using multiple third reference driving distances between the target vehicle and the surrounding targets, the distances between the target vehicle and multiple local boundary parts of the surrounding targets can be analyzed, and the safe driving distance of the target vehicle can be determined comprehensively, thereby improving the driving safety of the target vehicle. In addition, when the surrounding targets in this embodiment are first-side surrounding targets, the first side of the target vehicle can maintain a safe driving distance, thereby improving the driving safety of the first side.

[0172] Please see Figure 9 , Figure 9 This is a flowchart illustrating the fourth embodiment of the vehicle driving method of this application. The method may include the following steps:

[0173] S41: Obtain the distance between the third preset coordinate and the fourth preset coordinate, and use it as the fourth reference driving distance.

[0174] The first reference coordinates include the third preset coordinates of the second side of the first local boundary of the target vehicle, and the surrounding targets include the second side surrounding targets. The second reference coordinates include the fourth preset coordinates of the second local boundary of the second side surrounding targets. The second side surrounding targets are located on the second side of the target vehicle, and the second local boundary and the first local boundary are facing each other. The second side can be the left or right side; this embodiment uses the right side as an example for explanation.

[0175] S42: Determine whether the fourth reference driving distance is less than the fifth reference threshold.

[0176] Determining whether the fourth reference driving distance L4 is less than the fifth reference threshold T5 can help determine whether the reference driving distance between the target vehicle and the surrounding targets on the second side is safe for driving.

[0177] In some implementations, if it is determined that the fourth reference driving distance is less than the fifth reference threshold, then step S43 is executed.

[0178] In some implementations, if it is determined that the fourth reference driving distance is not less than the fifth reference threshold, then step S44 is executed.

[0179] S43: The target vehicle's target driving state is determined to be stopped.

[0180] In response to the fourth reference driving distance being less than the fifth reference threshold, the target driving state of the target vehicle is determined to be stopped.

[0181] S44: Determine the target vehicle's target driving state as moving towards the next target location.

[0182] In response to the fourth reference driving distance being not less than the fifth reference threshold, the target driving state of the target vehicle is determined to be moving towards the next target position.

[0183] In this embodiment, the surrounding targets can be dynamic or static targets. By analyzing the distance between the target vehicle and the local boundary of the surrounding targets on the second side, the safe driving distance between the target vehicle and the surrounding targets can be determined from the local boundary, thereby improving the safety of vehicle driving.

[0184] In some implementations, the execution order of the second, third, and fourth embodiments of the above-described vehicle driving method is not limited. Each embodiment can be implemented alone, and at least two embodiments can be implemented in combination or in parallel. This application does not impose any restrictions on this.

[0185] For example, the second embodiment can be executed first. After the second embodiment determines that the target driving state of the target vehicle is to move forward to the next target position, the steps of the third embodiment and / or the fourth embodiment can be executed.

[0186] The third and fourth embodiments can be implemented in parallel or sequentially. For example, the third and fourth embodiments can be performed simultaneously. Alternatively, after the third embodiment determines that the target driving state of the target vehicle is to move forward to the next target position or to adjust its direction to the target side of the target vehicle and move forward to the next target position, the steps of the fourth embodiment can be performed. Alternatively, after the fourth embodiment determines that the target driving state of the target vehicle is to move forward to the next target position, the steps of the third embodiment can be performed.

[0187] In some embodiments, after executing the steps of the above embodiments, the method further includes: determining whether the target vehicle has reached the target location; if it is determined that the target location has not been reached, then continuing to execute the steps of the above embodiments, such as any one of steps S11, S21, S31, S41, etc.

[0188] If the target location is determined to have been reached, then it is determined whether the target vehicle has reached a preset location. The preset location can be at least one of the following: a location where oncoming vehicles have passed each other, a location where there are no oncoming vehicles within a preset range of the target vehicle, or a location with obstacles. If the target vehicle has reached the preset location, the oncoming vehicles have passed each other. If the target vehicle has not reached the preset location, the steps of the above embodiments are continued until the oncoming vehicles have passed each other.

[0189] The above embodiments, by establishing a coordinate system during the oncoming traffic meeting process, divide the target vehicle's coordinates into the coordinates of its left and right local boundaries, and evenly divide the vehicle body along the Y-axis, focusing on the local boundary positions of the vehicle body during the meeting, thus improving the tolerance rate for avoiding local scrapes. Furthermore, by calculating the distance between the right side of the oncoming vehicle and the right-side obstacles and road edge of the target vehicle, and combining this with the overall distance during the meeting process, the overall distance is evenly divided to calculate the next position of the target vehicle during the meeting, refining the entire meeting process, focusing on local processes, and providing timely prompts when scrapes are likely to occur or when space is insufficient, improving the accuracy of safe meeting and reducing the probability of scrapes caused by the driver's lack of overall distance control in the environment during the meeting. Furthermore, during the meeting process, as the target vehicle travels to the next target position, the right side of the oncoming vehicle, the right-side obstacles of the target vehicle, and the right-side road edge of the target vehicle in the environment are detected in real time, and rules are established to ensure safe passage throughout the entire process, avoiding accidents caused by unexpected events during the process, further improving the safety of meeting. Therefore, the above-mentioned method of this application can improve the fault tolerance rate of safe passing, reduce the influence of the driver's subjective factors, reduce the impact of sudden events in the environment, and improve the driver's ability to control the safe distance during passing.

[0190] In some embodiments, the entity executing the above-described vehicle driving method may be a computer device, a vehicle device, a robot, etc., and this application does not impose any restrictions on this.

[0191] Regarding the above embodiments, this application provides a vehicle driving device; please refer to [link / reference]. Figure 10 , Figure 10 This is a schematic diagram of the structure of an embodiment of the vehicle driving device of this application.

[0192] The vehicle driving device 50 includes a coordinate acquisition module 51, a distance acquisition module 52, and a target driving module 53.

[0193] The coordinate acquisition module 51 is used to acquire a first set of coordinate points of the target vehicle and a second set of coordinate points of the surrounding targets; wherein, the first set of coordinate points includes at least one coordinate point of the first local boundary of the target vehicle, and the second set of coordinate points includes at least one coordinate point of the second local boundary of the surrounding targets.

[0194] The distance acquisition module 52 is used to determine the reference driving distance between the target vehicle and surrounding targets using the first set of coordinate points and the second set of coordinate points.

[0195] The target driving module 53 is used to determine the target driving state of the target vehicle by using the reference driving distance between the target vehicle and surrounding targets. The target driving state includes the driving state of the target vehicle from the current position to the next target position.

[0196] The specific implementation of this embodiment can be referred to the implementation process of the above embodiments, and will not be repeated here.

[0197] Regarding the above embodiments, this application provides a computer device; please refer to [link / reference]. Figure 11 , Figure 11 This is a schematic diagram of the structure of a computer device according to an embodiment of the present application. The computer device 60 includes a memory 61 and a processor 62, wherein the memory 61 and the processor 62 are coupled to each other. The memory 61 stores program data, and the processor 62 is used to execute the program data to implement the steps in any of the above embodiments of the vehicle driving method.

[0198] In this embodiment, processor 62 can also be referred to as a CPU (Central Processing Unit). Processor 62 may be an integrated circuit chip with signal processing capabilities. Processor 62 can also be a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. The general-purpose processor can be a microprocessor, or processor 62 can be any conventional processor.

[0199] The methods described in the above embodiments can be implemented as computer programs; therefore, this application proposes a computer-readable storage medium. Please refer to [link to relevant documentation]. Figure 12 , Figure 12 This is a schematic diagram of a computer-readable storage medium according to an embodiment of the present application. The computer-readable storage medium 70 stores program data 71 that can be executed by a processor. The program data 71 can be executed by the processor to implement the steps of any of the above embodiments of the vehicle driving method.

[0200] In this embodiment, the computer-readable storage medium 70 can be a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, or a medium that can store program data 71. Alternatively, it can be a server that stores the program data 71. The server can send the stored program data 71 to other devices for execution, or it can run the stored program data 71 itself.

[0201] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus implementations described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0202] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0203] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0204] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application.

[0205] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, and thus stored in a computer-readable storage medium for execution by a computing device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Therefore, this application is not limited to any particular hardware and software combination.

[0206] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A method for driving a vehicle, characterized in that, The method includes: A first set of coordinate points for the target vehicle and a second set of coordinate points for surrounding targets are obtained; wherein the first set of coordinate points includes multiple coordinate points of the first local boundary of the target vehicle, and the second set of coordinate points includes multiple coordinate points of the second local boundary of the surrounding targets. Using the first set of coordinate points and the second set of coordinate points, a reference driving distance between the target vehicle and the surrounding targets is determined; Using the reference driving distance between the target vehicle and the surrounding targets, the target driving state of the target vehicle is determined, wherein the target driving state includes the driving state of the target vehicle from the current position to the next target position; after the target vehicle drives to the next target position, the steps of obtaining the first set of coordinate points of the target vehicle and obtaining the second set of coordinate points of the surrounding targets are repeated until the target vehicle reaches the preset position; The acquisition of the first set of coordinate points of the target vehicle and the acquisition of the second set of coordinate points of surrounding targets include: The target vehicle or the surrounding targets are designated as targets to be processed. The current position of the target to be processed is obtained, and the target to be processed is divided into a third preset number of parts along a preset direction; wherein, the preset direction is the direction of the first coordinate axis of the preset coordinate system, and the preset coordinate system is established by using the road reference line as the first coordinate axis and determining the second coordinate axis based on the current position of the target vehicle; Obtain the coordinates of at least one local boundary of the third preset number of parts to obtain the set of coordinates of the target to be processed.

2. The method according to claim 1, characterized in that, Using the first set of coordinate points and the second set of coordinate points, determining the reference driving distance between the target vehicle and the surrounding targets includes: The first reference coordinates and the second reference coordinates are determined based on the first set of coordinate points and the second set of coordinate points; Using the first reference coordinates and the second reference coordinates, a reference driving distance between the target vehicle and the surrounding targets is determined; The reference driving distance includes at least one of the following: the shortest distance between the first local boundary and the second local boundary, the distance between each corresponding coordinate point of the first local boundary and the second local boundary, and the shortest distance between the coordinate points of at least two second local boundaries corresponding to the first local boundary on different sides; the first local boundary and the second local boundary are local boundaries facing each other.

3. The method according to claim 2, characterized in that, The first reference coordinates include the first preset coordinates of the first local boundary of the target vehicle, and the second reference coordinates include the second preset coordinates of the second local boundary of the surrounding target, wherein the second local boundary and the first local boundary are local boundaries facing each other. The reference driving distance includes a first reference driving distance. Determining the reference driving distance between the target vehicle and the surrounding targets using the first reference coordinates and the second reference coordinates includes: Obtain the distance between the first preset coordinates and the second preset coordinates as the first reference driving distance; and / or, The surrounding targets include a first-side surrounding target and a second-side surrounding target, wherein the first-side surrounding target is located on the first side of the target vehicle and the second-side surrounding target is located on the second side of the target vehicle; the first reference coordinates include the first-side second preset coordinates of the second local boundary of the first-side surrounding target and the second reference coordinates include the second-side second preset coordinates of the second local boundary of the second-side surrounding target. The reference driving distance includes a second reference driving distance. Determining the reference driving distance between the target vehicle and the surrounding targets using the first reference coordinates and the second reference coordinates includes: A first comparison coordinate is determined from the first side second preset coordinate and the third reference coordinate, wherein the third reference coordinate includes the coordinate point of the road reference line, and the first comparison coordinate is the coordinate point with the smallest distance to the first side edge of the first local boundary among the first side second preset coordinate and the third reference coordinate; Obtain the distance between the first comparison coordinate and the second comparison coordinate as the second reference driving distance, wherein the second comparison coordinate is the coordinate point with the smallest distance to the second side edge of the first local boundary among multiple second preset coordinates of the second side surrounding targets; or... The distance between the second preset coordinates on the first side and the second preset coordinates on the second side is obtained and used as the second reference driving distance.

4. The method according to claim 2, characterized in that, The first reference coordinates include multiple first coordinates of the first side of the first local boundary of the target vehicle, the surrounding targets include the first side surrounding targets, the second reference coordinates include multiple second coordinates of the second local boundary of the first side surrounding targets, the first side surrounding targets are located on the first side of the target vehicle, and the second local boundary and the first local boundary are local boundaries facing each other. The reference driving distance includes a third reference driving distance. Determining the reference driving distance between the target vehicle and the surrounding targets using the first reference coordinates and the second reference coordinates includes: According to the corresponding order of the plurality of first coordinates and the plurality of second coordinates, the distances between the first coordinates and the second coordinates are obtained sequentially, and used as the third reference driving distance respectively; and / or, The first reference coordinates include the third preset coordinates of the second side of the first local boundary of the target vehicle, the surrounding targets include the second side surrounding targets, the second reference coordinates include the fourth preset coordinates of the second local boundary of the second side surrounding targets, the second side surrounding targets are located on the second side of the target vehicle, and the second local boundary and the first local boundary are local boundaries facing each other. The reference driving distance includes a fourth reference driving distance. Determining the reference driving distance between the target vehicle and the surrounding targets using the first reference coordinates and the second reference coordinates includes: The distance between the third preset coordinate and the fourth preset coordinate is obtained and used as the fourth reference driving distance.

5. The method according to claim 1, characterized in that, The reference driving distance includes at least one of a first reference driving distance and a second reference driving distance; determining the target driving state of the target vehicle using the reference driving distance between the target vehicle and the surrounding targets includes: Determine whether the first reference driving distance is less than the first reference threshold; In response to the first reference driving distance being less than the first reference threshold, the target driving state of the target vehicle is determined to be stopped; or In response to the first reference driving distance being not less than the first reference threshold, it is further determined whether the second reference driving distance is less than the second reference threshold, wherein the second reference threshold is the sum of the vehicle width of the target vehicle and a preset distance; In response to the second reference driving distance being less than the second reference threshold, the target driving state of the target vehicle is determined to be stopped; or In response to the second reference driving distance being not less than the second reference threshold, the target driving state of the target vehicle is determined to be moving towards the next target position.

6. The method according to claim 1, characterized in that, The reference driving distance includes at least one of a third reference driving distance and a fourth reference driving distance. Determining the target driving state of the target vehicle using the reference driving distance between the target vehicle and the surrounding targets includes: The first statistical number of the target vehicle's distance from the surrounding targets to a third reference driving distance greater than a fourth preset threshold is counted. Determine whether the first statistical quantity is greater than or equal to the first preset quantity; In response to the first statistical count being greater than or equal to the first preset count, the target driving state of the target vehicle is determined to be moving towards the next target position; or, in response to the first statistical count being less than or equal to the first preset count, the target driving state of the target vehicle is determined to be: adjusting direction towards the target side of the target vehicle and moving towards the next target position.

7. The method according to claim 6, characterized in that, The step of determining the target vehicle's target driving state using the reference driving distance between the target vehicle and the surrounding targets further includes: The second statistical quantity is calculated in which the first statistical quantity after advancing to the next target position is not greater than or equal to the first preset quantity; Determine whether the second statistical quantity has reached the second preset quantity; In response to the second statistical count reaching the second preset count, the target driving state of the target vehicle is determined to be stopped; and / or, The step of determining the target vehicle's target driving state using the reference driving distance between the target vehicle and the surrounding targets further includes: Determine whether the fourth reference driving distance is less than the fifth reference threshold; In response to the fourth reference driving distance being less than the fifth reference threshold, the target driving state of the target vehicle is determined to be to stop moving forward; or, in response to the fourth reference driving distance being not less than the fifth reference threshold, the target driving state of the target vehicle is determined to be to move forward to the next target position.

8. A computer device, characterized in that, The method includes a memory and a processor coupled to each other, the memory storing program data and the processor executing the program data to implement the steps of the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that, The system stores program data that can be executed by a processor, the program data being used to implement the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Driving control method and driving control device

    JP2020050105A

  • Target vehicle recognition apparatus and processing method of target vehicle recognition apparatus

    US20230102842A1