Path planning method and device, electronic equipment, storage medium and program product

By receiving and updating traffic event data and improving the path planning method, the problem of not considering the impact of traffic events in the existing technology is solved, more accurate and feasible path planning is achieved, and user driving safety is ensured.

CN118640904APending Publication Date: 2024-09-13ZHEJIANG INTELLIGENT TRANSPORTATION TECHNOLOGY INNOVATION CENTER +2
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410662759.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

Existing path planning methods fail to effectively consider the impact of traffic events such as road construction, traffic accidents, and abnormal parking occupations on traffic, making the planned path unfeasible.

Method used

By receiving traffic event data sent by roadside sensing devices, the attribute information in the lane topology map is updated, including obstacle location, passable weight and obstacle effectiveness, to ensure the accuracy and feasibility of path planning.

Benefits of technology

It improves the accuracy and feasibility of path planning, avoids the problem of infeasible paths due to failure to consider traffic events, and ensures user driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118640904A
    Figure CN118640904A
Patent Text Reader

Abstract

The invention relates to the technical field of path planning, in particular to a path planning method and device, electronic equipment, a storage medium and a program product. Receiving traffic event data sent by roadside sensing devices at different positions in the preset area; the traffic event data is used for representing information of a static obstacle in a lane in the preset area; updating attribute information of edges in the initial lane topological graph based on the traffic event data; nodes in the initial lane topological graph represent intersections in a preset area, edges in the initial lane topological graph represent lanes between adjacent intersections, and the attribute information is used for representing the trafficability of the lanes; and performing lane-level path planning based on the updated initial lane topological graph. According to the invention, the accuracy and feasibility of the planned path are ensured, and the problems that the path of the track is not feasible, the path cannot be adjusted in advance and the user is influenced because the influence of the abnormal traffic event on the road trafficability is not considered are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of path planning, and in particular to a path planning method, device, electronic device, storage medium and program product. Background Art

[0002] As an important component of intelligent driving, path planning plays an increasingly important role. In the prior art, when doing global path planning or V2 warning guidance related applications based on path planning, the shortest path is usually searched on the road network topology map based on map data as the global planning path.

[0003] However, the above method does not take into account that in addition to the path accessibility determined by the static topological relationship of the map, traffic events such as road construction, traffic accidents, abnormal parking and other traffic events will also affect traffic.

[0004] Therefore, the path planning method in the prior art is not perfect and cannot guarantee the feasibility of the planned path. Summary of the invention

[0005] In view of this, the present invention provides a path planning method, device, electronic device, storage medium and program product to solve the problem that the path planning method in the prior art is not perfect and cannot guarantee the feasibility of the planned path.

[0006] In a first aspect, the present invention provides a path planning method, the method comprising:

[0007] Receiving traffic event data sent by roadside sensing devices at different locations in a preset area; the traffic event data is used to characterize information about static obstacles in lanes within the preset area;

[0008] Based on the traffic event data, the attribute information of the edges in the initial lane topology map is updated; the nodes in the initial lane topology map represent the intersections in the preset area, the edges in the initial lane topology map represent the lanes between adjacent intersections, and the attribute information is used to represent the passability of the lanes;

[0009] Lane-level path planning is performed based on the updated initial lane topology map.

[0010] The path planning method provided in the embodiment of the present application receives traffic event data sent by roadside sensing devices at different locations in a preset area, and updates the attribute information of the edges in the initial lane topology map based on the traffic event data, so that the attribute information of the edges in the initial lane topology map can be updated based on the information of static obstacles in the lanes in the preset area, thereby ensuring the accuracy of updating the initial lane topology map and taking into account the impact of traffic events such as road construction, traffic accidents, and abnormal parking on the road accessibility. Based on the updated initial lane topology map, lane-level path planning is performed to ensure the accuracy and feasibility of the planned path, thereby avoiding the infeasibility of the trajectory path due to the failure to take into account the impact of traffic events such as road construction, traffic accidents, and abnormal parking on the road accessibility, and the inability to make adjustments to the path in advance, which affects the user.

[0011] In an optional implementation, updating the attribute information of the edge of the initial lane topology graph based on the traffic event data includes:

[0012] Analyze traffic event data to determine the location information corresponding to static obstacles;

[0013] According to the position information corresponding to the static obstacle, determine the target lane occupied by the static obstacle;

[0014] Update the attribute information of the edge corresponding to the target lane in the initial lane topology graph.

[0015] The path planning method provided in the embodiment of the present application analyzes the traffic event data, determines the position information corresponding to the static obstacle, and ensures the accuracy of the position information corresponding to the determined static obstacle. According to the position information corresponding to the static obstacle, the target lane occupied by the static obstacle is determined, and the accuracy of the target lane occupied by the determined static obstacle is ensured. The attribute information of the edge corresponding to the target lane in the initial lane topology map is updated, so that the accuracy of lane-level path planning based on the updated initial lane topology map is achieved.

[0016] In an optional implementation, the attribute information includes the obstacle acquisition time, and updating the attribute information of the edge corresponding to the target lane in the initial lane topology graph includes:

[0017] Obtain identification information corresponding to static obstacles;

[0018] Based on the identification information, determining whether the identification information exists in the historical obstacles in the preset area;

[0019] If the identification information already exists in the historical obstacles in the preset area, the acquisition time of the corresponding historical obstacles is updated based on the identification information to update the attribute information of the edge corresponding to the target lane.

[0020] The path planning method provided in the embodiment of the present application obtains identification information corresponding to a static obstacle; based on the identification information, determines whether the identification information exists in historical obstacles within a preset area; if the identification information already exists in historical obstacles within the preset area, updates the acquisition time of the corresponding historical obstacle based on the identification information to update the attribute information of the edge corresponding to the target lane, thereby ensuring the accuracy of updating the attribute information of the edge corresponding to the target lane, and realizing timely updating of the acquisition time of historical obstacles, so as to ensure that lane-level path planning is performed according to the acquisition time corresponding to each historical obstacle.

[0021] In an optional implementation, the attribute information further includes a passable weight, and updating the attribute information of the edge corresponding to the target lane in the initial lane topology graph further includes:

[0022] If the identification information does not exist in the historical obstacles in the preset area, the passable weight corresponding to the target lane is updated.

[0023] The path planning method provided in the embodiment of the present application updates the passable weight corresponding to the target lane if the identification information does not exist in the historical obstacles in the preset area, thereby ensuring the accuracy of updating the passable weight corresponding to the target lane. Lane-level path planning can then be performed based on the target vehicle after the updated passable weight, thereby ensuring the accuracy of path planning.

[0024] In an optional embodiment, the method further includes:

[0025] Determine the validity of historical obstacles based on the acquisition time of historical obstacles;

[0026] The historical obstacles are updated based on the validity to update the attribute information of the edges of the corresponding lanes in the initial lane topology graph.

[0027] The path planning method provided in the embodiment of the present application determines the validity of historical obstacles based on the acquisition time of historical obstacles, thereby ensuring the accuracy of the validity of the determined historical obstacles. The historical obstacles are updated based on the validity to update the attribute information of the edge of the corresponding lane in the initial lane topology map, thereby ensuring the accuracy of updating the attribute information of the edge of the corresponding lane in the initial lane topology map.

[0028] In an optional implementation, the historical obstacles are updated based on the validity to update the attribute information of the edge of the corresponding lane in the initial lane topology map, including:

[0029] If the validity characterization historical obstacle has failed, the weight of the corresponding lane of the failed historical obstacle is restored to the initial passable value.

[0030] The path planning method provided in the embodiment of the present application, if the effectiveness characterization of the historical obstacle has failed, it is proved that the historical obstacle has been removed, and the weight of the lane corresponding to the failed historical obstacle is restored to the initial passable value, thereby ensuring that the passability of the lane corresponding to the historical obstacle can be taken into account when performing lane-level path planning, thereby ensuring the accuracy of lane-level path planning.

[0031] In an optional implementation, determining the validity of the historical obstacle based on the acquisition time of the historical obstacle includes:

[0032] Compare the acquisition time of historical obstacles with the current time;

[0033] If the time difference between the acquisition time of the historical obstacle and the current time is greater than a preset time difference threshold, it is determined that the historical obstacle has expired.

[0034] The path planning method provided in the embodiment of the present application compares the acquisition time of the historical obstacle with the current time; if the time difference between the acquisition time of the historical obstacle and the current time is greater than a preset time difference threshold, it is determined that the historical obstacle has failed, thereby ensuring the accuracy of the result that the historical obstacle has failed.

[0035] In an optional implementation, after performing lane-level path planning based on the updated initial lane topology map, the method further includes:

[0036] According to the position information corresponding to each static obstacle, detect whether there is a static obstacle in the adjacent lanes of each drivable lane in the planned path;

[0037] If there is a static obstacle in the adjacent lane of the drivable lane, a warning guidance message is generated based on the position information corresponding to the static obstacle.

[0038] The path planning method provided in the embodiment of the present application detects whether there are static obstacles in the adjacent lanes of each drivable lane in the planned path according to the position information corresponding to each static obstacle, thereby ensuring the accuracy of the detection result. If there are static obstacles in the adjacent lanes of the drivable lane, a warning guidance message is generated based on the position information corresponding to the static obstacle, thereby ensuring the accuracy of the generated warning guidance message, thereby ensuring the driving safety of the user.

[0039] In a second aspect, the present invention provides a path planning device, the device comprising:

[0040] A receiving module, used to receive traffic event data sent by roadside sensing devices at different locations in a preset area; the traffic event data is used to characterize information about static obstacles in lanes within the preset area;

[0041] An updating module is used to update the attribute information of the edges in the initial lane topology map based on the traffic event data; the nodes in the initial lane topology map represent the intersections in the preset area, the edges in the initial lane topology map represent the lanes between adjacent intersections, and the attribute information is used to represent the passability of the lanes;

[0042] The planning module is used to perform lane-level path planning based on the updated initial lane topology map.

[0043] The path planning device provided in the embodiment of the present application receives traffic event data sent by roadside sensing devices at different locations in a preset area, and updates the attribute information of the edges in the initial lane topology map based on the traffic event data, so that the attribute information of the edges in the initial lane topology map can be updated based on the information of static obstacles in the lanes in the preset area, thereby ensuring the accuracy of updating the initial lane topology map and taking into account the impact of traffic events such as road construction, traffic accidents, and abnormal parking on the road accessibility. Based on the updated initial lane topology map, lane-level path planning is performed to ensure the accuracy and feasibility of the planned path, thereby avoiding the infeasibility of the trajectory path due to the failure to take into account the impact of traffic events such as road construction, traffic accidents, and abnormal parking on the road accessibility, and the inability to make adjustments to the path in advance, which affects the user.

[0044] In a third aspect, the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, computer instructions being stored in the memory, and the processor executing the path planning method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0045] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the path planning method of the first aspect or any corresponding embodiment thereof.

[0046] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions, wherein the computer instructions are used to enable a computer to execute the path planning method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 is a flow chart of a path planning method according to an embodiment of the present invention;

[0049] Figure 2 is a flow chart of another path planning method according to an embodiment of the present invention;

[0050] Figure 3 is a schematic diagram of lane-level obstacle avoidance global path planning according to an embodiment of the present invention;

[0051] Figure 4 is a flow chart of another path planning method according to an embodiment of the present invention;

[0052] Figure 5 is a structural block diagram of a path planning device according to an embodiment of the present invention;

[0053] Figure 6 is a structural block diagram of a path planning device according to an embodiment of the present invention;

[0054] Figure 7 It is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0056] As an important component of intelligent driving, path planning plays an increasingly important role. In the prior art, when doing global path planning or V2 warning guidance related applications based on path planning, the shortest path is usually searched on the road network topology map based on map data as the global planning path.

[0057] However, the above method does not take into account that in addition to the path accessibility determined by the static topological relationship of the map, traffic events such as road construction, traffic accidents, abnormal parking and other traffic events will also affect traffic.

[0058] Therefore, the path planning method in the prior art is not perfect and cannot guarantee the feasibility of the planned path.

[0059] It should be noted that the path planning method provided in the embodiment of the present application, its execution subject can be a path planning device, and the path planning device can be implemented as part or all of an electronic device through software, hardware, or a combination of software and hardware, wherein the electronic device can be a terminal device of a vehicle or a server. Among them, the server in the embodiment of the present application can be a single server or a server cluster composed of multiple servers, and the terminal in the embodiment of the present application can be a smart phone, a personal computer, a tablet computer, a wearable device, and other intelligent hardware devices such as an intelligent robot. In the following method embodiments, the execution subject is an electronic device as an example for explanation.

[0060] According to an embodiment of the present invention, a path planning method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0061] In this embodiment, a path planning method is provided, which can be used for the above-mentioned electronic device. Figure 1 is a flow chart of a path planning method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0062] Step S101, receiving traffic event data sent by roadside sensing devices at different locations within a preset area.

[0063] The traffic event data is used to characterize the information of static obstacles in the lanes within the preset area. The static obstacle information may be obstacles in traffic events such as traffic construction, traffic accidents, and abnormal parking.

[0064] Specifically, the electronic device can receive traffic event data sent by roadside perception devices at different locations in the preset area based on the communication connection between the electronic device and the roadside perception devices at different locations in the preset area.

[0065] The roadside sensing device may be a camera, a laser radar, a millimeter wave radar or other environmental sensing devices. The embodiment of the present application does not specifically limit the roadside sensing device.

[0066] Step S102: updating the attribute information of the edges in the initial lane topology graph based on the traffic event data.

[0067] The nodes in the initial lane topology map represent the intersections in the preset area, the edges in the initial lane topology map represent the lanes between adjacent intersections, and the attribute information is used to represent the passability of the lanes.

[0068] Optionally, the electronic device may receive an initial lane topology map input by a user, or may receive an initial lane topology map sent by other devices.

[0069] Optionally, the electronic device may also identify the map data and extract geometric information of roads and lanes, including lane lines and lane boundaries, etc. Then, nodes are created according to the intersections or endpoints of the lane lines, and the connection relationship between lanes at adjacent intersections is established according to the connection relationship between the lane lines, thereby creating an initial lane topology map.

[0070] The embodiment of the present application does not specifically limit the manner in which the electronic device obtains the initial lane topology map.

[0071] After acquiring the initial lane topology map, the electronic device may update the attribute information of the edges in the initial lane topology map based on the information of the static obstacles in the lane in the traffic event data.

[0072] This step will be described in detail below.

[0073] Step S103: performing lane-level path planning based on the updated initial lane topology map.

[0074] In an optional implementation, the electronic device may use a preset path planning algorithm to perform lane-level path planning based on the updated initial lane topology map. The preset path planning algorithm may be any one of the path planning algorithms such as the Dijkstra algorithm, the A* algorithm, and the D* algorithm. The embodiment of the present application does not specifically limit the preset path planning algorithm.

[0075] Specifically, the electronic device may create a distance dictionary and a parent node dictionary, set the distance of the starting node to 0, set the distances of other nodes to infinity, and set the parent nodes of all nodes to none.

[0076] Then, start traversing from the starting node, select the closest node each time, and update the distance to its adjacent nodes. The specific steps are as follows:

[0077] Select the nearest unvisited node and set it as the current node.

[0078] Get all adjacent nodes of the current node.

[0079] Traverse each adjacent node and calculate the distance from the start node through the current node to the adjacent node. If the distance is less than the current distance of the adjacent node, update the distance of the adjacent node to the new distance and set the current node as the parent node of the adjacent node. Mark the current node as visited.

[0080] Repeat the above steps until all nodes are visited or the target node is visited.

[0081] Starting from the target node, trace back to the start node through the parent node dictionary, and record the nodes on the path in order to obtain the lane-level global path.

[0082] The path planning method provided in the embodiment of the present application receives traffic event data sent by roadside sensing devices at different locations in a preset area, and updates the attribute information of the edges in the initial lane topology map based on the traffic event data, so that the attribute information of the edges in the initial lane topology map can be updated based on the information of static obstacles in the lanes in the preset area, thereby ensuring the accuracy of updating the initial lane topology map and taking into account the impact of traffic events such as road construction, traffic accidents, and abnormal parking on the road accessibility. Based on the updated initial lane topology map, lane-level path planning is performed to ensure the accuracy and feasibility of the planned path, thereby avoiding the infeasibility of the trajectory path due to the failure to take into account the impact of traffic events such as road construction, traffic accidents, and abnormal parking on the road accessibility, and the inability to make adjustments to the path in advance, which affects the user.

[0083] In this embodiment, a path planning method is provided, which can be used for the above-mentioned electronic device. Figure 2 is a flow chart of a path planning method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0084] Step S201, receiving traffic event data sent by roadside sensing devices at different locations in a preset area; the traffic event data is used to characterize information about static obstacles in lanes in the preset area.

[0085] For more information about this step, see Figure 1 The introduction of step S101 is not repeated here.

[0086] Step S202, updating the attribute information of the edges in the initial lane topology graph based on the traffic event data;

[0087] The nodes in the initial lane topology map represent the intersections in the preset area, the edges in the initial lane topology map represent the lanes between adjacent intersections, and the attribute information is used to represent the passability of the lanes.

[0088] Specifically, the above step S202 may further include the following steps:

[0089] Step S2021, analyzing the traffic event data to determine the location information corresponding to the static obstacle.

[0090] Specifically, the electronic device can pre-process the received traffic event data, including format conversion, data cleaning and denoising, etc., to ensure the accuracy and availability of the traffic event data. Then, the received traffic event data is classified using a preset method such as a machine learning model, a rule engine, or a rule-based algorithm, and events belonging to static obstacles are identified to distinguish static obstacle events from other types of traffic events, such as traffic construction, traffic accidents, etc. Then, the identified static obstacle events are parsed to parse out key information in the event, including the identifier (ID) of the static obstacle, the coordinates of the boundary points of the static obstacle, and the reporting time, etc.

[0091] Among them, the identifier of the static obstacle is used to uniquely identify each static obstacle, the boundary point coordinates describe the shape and location information of the obstacle, and the reporting time indicates the occurrence time of the obstacle event.

[0092] Step S2022: Determine the target lane occupied by the static obstacle according to the position information corresponding to the static obstacle.

[0093] Specifically, the electronic device may calculate the target lane occupied by the obstacle using a geometric calculation method based on the position information of the static obstacle.

[0094] Specifically, the electronic device can determine the width of the lane by the known road standard or the position of the lane line. The equation of the boundary line of the lane where the vehicle is located can be calculated by the position and direction of the vehicle and the lane width. The equation of the boundary line of the obstacle can be calculated according to the position and size of the static obstacle. By solving the intersection of the vehicle boundary line and the obstacle boundary line, it can be determined that the part occupied by the obstacle is within the target lane.

[0095] The electronic device can usually use a parameterized equation of a geometric shape or a straight line equation to calculate the boundary line of a static obstacle. The following are some examples of common situations:

[0096] 1. For a rectangular static obstacle, the four vertices of the rectangle can be used to represent its boundary line. Assume that the position of the obstacle is determined by the center point coordinates (x0, y0) and the direction θ, and the size of the obstacle is determined by the length L and width W. Then the following parameterized equation can be used to represent the boundary line of the rectangle:

[0097] x(t)=x0+L\2*cos(θ)-W\2sin(θ)+t(-Wcos(θ))

[0098] y(t)=y0+L\2*sin(θ)+W\2*cos(θ)+t(-W\sin(θ))

[0099] Among them, the value range of parameter t is (-W\2,W\2).

[0100] 2. For a circular static obstacle, the parametric equation of the circle can be used to represent its boundary line. Assume that the position of the obstacle is determined by the coordinates of the center point (x0, y0) and the size of the obstacle is determined by the radius r. Then the parametric equation of the circle is:

[0101] x(t)=x0+r*cos(t)

[0102] y(t)=y0+r*sin(t)

[0103] Among them, the value range of parameter t is (0, 2 / Π).

[0104] 3. For irregularly shaped static obstacles, their boundary lines can be represented by the parametric equations of polygons according to their vertex coordinates.

[0105] For example: suppose a car is driving on a lane with a width of 3.5 meters, and there is a 2-meter-long and 1-meter-wide box 100 meters away from the vehicle on the left side of the lane. First, determine the equation of the lane boundary line based on the current position and direction of the vehicle and the lane width. Then, determine the equation of the box boundary line based on the position and size of the box. Finally, solve for the intersection of the lane boundary line and the box boundary line to determine whether the box partially occupies the lane.

[0106] Step S2023: Update the attribute information of the edge corresponding to the target lane in the initial lane topology graph.

[0107] In an optional implementation manner of the present application, the attribute information includes the obstacle acquisition time, and the above step S2023 may include the following steps:

[0108] Step a1, obtaining identification information corresponding to the static obstacle.

[0109] Specifically, the electronic device can pre-process the received traffic event data, including format conversion, data cleaning and denoising, etc., to ensure the accuracy and availability of the traffic event data. Then, the received traffic event data is classified using a preset method such as a machine learning model, a rule engine, or a rule-based algorithm, and events belonging to static obstacles are identified to distinguish static obstacle events from other types of traffic events, such as traffic construction, traffic accidents, etc. Then, the identified static obstacle events are parsed to parse out key information in the event, including the identifier (ID) of the static obstacle, the coordinates of the boundary points of the static obstacle, and the reporting time, etc.

[0110] Step a2: based on the identification information, determine whether the identification information exists in the historical obstacles in the preset area.

[0111] Specifically, after each time a static obstacle is parsed, the electronic device may store identification information of the parsed static obstacle in the obstacle list.

[0112] Therefore, after acquiring the identification information corresponding to the static obstacle, the electronic device can compare the identification information of the static obstacle with the identification information corresponding to the historical obstacles in the obstacle list, and then determine whether the identification information exists in the historical obstacles in the preset area according to the comparison result.

[0113] If the identification information of the static obstacle exists in the obstacle list, it is determined that the identification information already exists in the historical obstacles in the preset area; if the identification information of the static obstacle does not exist in the obstacle list, it is determined that the identification information does not exist in the historical obstacles in the preset area.

[0114] Step a3: If the identification information already exists in the historical obstacles in the preset area, the acquisition time of the corresponding historical obstacles is updated based on the identification information to update the attribute information of the edge corresponding to the target lane.

[0115] Specifically, if the identification information already exists in the historical obstacles in the preset area, the electronic device determines that the static obstacle is a historical obstacle. The electronic device can update the acquisition time corresponding to the historical obstacle according to the acquisition time corresponding to the parsed static obstacle, thereby updating the attribute information of the edge corresponding to the target lane.

[0116] In an optional implementation of the present application, the attribute information further includes a passable weight, and the above step S2023 may further include the following steps:

[0117] Step a4: If the identification information does not exist in the historical obstacles in the preset area, the passable weight corresponding to the target lane is updated.

[0118] Specifically, if the identification information does not exist in the historical obstacles in the preset area, the electronic device determines that the static obstacle is a new obstacle, determines the target lane corresponding to the new obstacle, and then updates the passable weight corresponding to the target lane, and adds the identification information of the static obstacle to the obstacle list.

[0119] Exemplarily, the electronic device may update the passable weight corresponding to the target lane to an infinite value Inf.

[0120] In an optional implementation manner of the present application, the above method further includes:

[0121] Step b1, determining the validity of the historical obstacles based on the acquisition time of the historical obstacles.

[0122] In an optional implementation manner of the present application, the above step b1 may include the following steps:

[0123] Step b11, comparing the acquisition time of the historical obstacles with the current time.

[0124] Specifically, if the static obstacles analyzed by the electronic device do not include all historical obstacles, that is, there are historical obstacles that do not exist in the static obstacles, the electronic device obtains the acquisition time corresponding to the historical obstacles that do not exist in the static obstacles, and then compares the acquisition time of the historical obstacles with the current time.

[0125] Step b12: If the time difference between the acquisition time of the historical obstacle and the current time is greater than a preset time difference threshold, it is determined that the historical obstacle has expired.

[0126] Specifically, the electronic device can receive a preset time difference threshold input by a user, or can receive a preset time difference threshold sent by other devices, and can also be set according to the frequency of receiving traffic event data sent by a roadside sensing device.

[0127] For example, assuming that the frequency of receiving the traffic event data sent by the roadside sensing device is 0.1s / time, the electronic device can set the preset time difference threshold to 0.5s.

[0128] Then, the electronic device can compare the time difference between the acquisition time of the historical obstacle and the current time with the preset time difference threshold. If the time difference between the acquisition time of the historical obstacle and the current time is greater than the preset time difference threshold, it is determined that the historical obstacle has failed.

[0129] If the time difference between the acquisition time of the historical obstacle and the current time is less than or equal to the preset time difference threshold, it is determined that the historical obstacle is not invalid.

[0130] Step b2: updating the historical obstacles based on the effectiveness to update the attribute information of the edges of the corresponding lanes in the initial lane topology map.

[0131] In an optional implementation manner of the present application, the above step b2 may include the following steps:

[0132] If the validity characterization historical obstacle has failed, the weight of the corresponding lane of the failed historical obstacle is restored to the initial passable value.

[0133] Specifically, if the validity characterization historical obstacle has failed, the electronic device may restore the weight of the lane corresponding to the failed historical obstacle to the initial passable value.

[0134] Exemplarily, when the historical obstacle has not failed, the weight of the lane corresponding to the historical obstacle is an infinite value. If the historical obstacle has failed, the weight of the lane corresponding to the historical obstacle is restored to the initial passable value.

[0135] Step S203: Perform lane-level path planning based on the updated initial lane topology map.

[0136] For more information about this step, see Figure 1 The introduction of step S103 is not repeated here.

[0137] For example, Figure 3 This is a schematic diagram of the global path planning for lane-level obstacle avoidance, as shown in Figure 2 As shown in the figure, the planned obstacle avoidance path may have the following situations:

[0138] 1) The obstacle occupies part of the lane in the road section, but the road section still has a passable lane. As shown in the figure below: If only the obstacle Obs1 occupies the right lane on the original shortest path, path Path1 can be planned at this time, switching to the left lane near the obstacle to pass through the road section.

[0139] 2) The obstacle occupies all lanes in the road section, and the road section is impassable. As shown in the figure: the obstacle Obs2 occupies both the left and right lanes. At this time, a new path that bypasses the obstacle section can be planned (such as Figure 2 Path2 in the figure).

[0140] Specifically, assuming that obstacles Obs1 and Obs2 do not exist in the initial lane topology map, the electronic device receives the traffic event data sent by the roadside sensing device, parses the traffic event data, determines the location information of obstacle Obs1, and updates the attribute information of the table corresponding to the target lane corresponding to obstacle Obs1 based on the location information of obstacle Obs1.

[0141] Then, the electronic device performs lane-level path planning based on the updated initial lane topology map to plan a path Path1.

[0142] Then, the electronic device continues to receive the traffic event data sent by the roadside sensing device, and analyzes the traffic event data sent by the roadside sensing device, determines the location information of the obstacle Obs2, and based on the identification information of the obstacle Obs2, determines that the obstacle Obs2 does not exist in the historical obstacles in the preset area, and then updates the passable weight corresponding to the target lane. Then, based on the lane topology map after the passable weight corresponding to the target lane is updated, lane-level path planning is performed again to plan Path2.

[0143] The path planning method provided in the embodiment of the present application analyzes traffic event data, determines the position information corresponding to the static obstacle, and ensures the accuracy of the position information corresponding to the determined static obstacle. According to the position information corresponding to the static obstacle, the target lane occupied by the static obstacle is determined, and the accuracy of the target lane occupied by the determined static obstacle is ensured. The identification information corresponding to the static obstacle is obtained; based on the identification information, it is determined whether the identification information exists in the historical obstacles in the preset area; if the identification information already exists in the historical obstacles in the preset area, the acquisition time of the corresponding historical obstacle is updated based on the identification information to update the attribute information of the edge corresponding to the target lane, thereby ensuring the accuracy of updating the attribute information of the edge corresponding to the target lane, and realizing timely updating of the acquisition time of the historical obstacles, so as to ensure lane-level path planning according to the acquisition time corresponding to each historical obstacle.

[0144] If the identification information does not exist in the historical obstacles in the preset area, the passable weight corresponding to the target lane is updated, ensuring the accuracy of updating the passable weight corresponding to the target lane, and then lane-level path planning can be performed based on the target vehicle after the updated passable weight, ensuring the accuracy of path planning.

[0145] Compare the acquisition time of the historical obstacle with the current time; if the time difference between the acquisition time of the historical obstacle and the current time is greater than the preset time difference threshold, the historical obstacle is determined to be invalid, ensuring the accuracy of the result that the historical obstacle is invalid. The accuracy of the effectiveness of the determined historical obstacles is guaranteed. If the effectiveness indicates that the historical obstacle is invalid, it proves that the historical obstacle has been removed, and the weight of the corresponding lane of the invalid historical obstacle is restored to the initial passable value, thereby ensuring that the passability of the corresponding lane of the historical obstacle can be taken into account when performing lane-level path planning, thereby ensuring the accuracy of lane-level path planning.

[0146] In this embodiment, a path planning method is provided, which can be used for the above-mentioned electronic device. Figure 4 is a flow chart of a path planning method according to an embodiment of the present invention. Figure 4 As shown, the process includes the following steps:

[0147] Step S301, receiving traffic event data sent by roadside sensing devices at different locations in a preset area; the traffic event data is used to characterize information about static obstacles in lanes in the preset area.

[0148] For more information about this step, see Figure 2 The introduction of step S201 in FIG.

[0149] Step S302: based on the traffic event data, update the attribute information of the edges in the initial lane topology map; the nodes in the initial lane topology map represent the intersections in the preset area. The edges in the initial lane topology map represent the lanes between adjacent intersections, and the attribute information is used to represent the passability of the lanes.

[0150] For more information about this step, see Figure 2 The introduction of step S202 in FIG.

[0151] Step S303: Perform lane-level path planning based on the updated initial lane topology map.

[0152] For more information about this step, see Figure 2 The introduction of step S203 in FIG.

[0153] Step S304: Detect whether there are static obstacles in lanes adjacent to each drivable lane in the planned path according to the position information corresponding to each static obstacle.

[0154] Specifically, after performing lane-level path planning based on the updated initial lane topology map, the electronic device can detect whether there are static obstacles in the adjacent lanes of each drivable lane in the planned path according to the position information corresponding to each static obstacle.

[0155] Step S305: If there is a static obstacle in the adjacent lane of the drivable lane, a warning guidance message is generated based on the position information corresponding to the static obstacle.

[0156] Specifically, if there is a static obstacle in a lane adjacent to the drivable lane, a warning guidance message is generated based on position information corresponding to the static obstacle.

[0157] Among them, the early warning guidance information can be used to output prompt information when the distance from the static obstacle is preset, so as to remind the user that there is a static obstacle within the pre-examination distance ahead and to slow down.

[0158] The path planning method provided in the embodiment of the present application detects whether there are static obstacles in the adjacent lanes of each drivable lane in the planned path according to the position information corresponding to each static obstacle, thereby ensuring the accuracy of the detection result. If there are static obstacles in the adjacent lanes of the drivable lane, a warning guidance message is generated based on the position information corresponding to the static obstacle, thereby ensuring the accuracy of the generated warning guidance message, thereby ensuring the driving safety of the user.

[0159] In this embodiment, a path planning device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0160] This embodiment provides a path planning device, such as Figure 5 As shown, including:

[0161] The receiving module 401 is used to receive traffic event data sent by roadside sensing devices at different locations in a preset area; the traffic event data is used to characterize information about static obstacles in lanes in the preset area;

[0162] An updating module 402 is used to update the attribute information of the edges in the initial lane topology map based on the traffic event data; the nodes in the initial lane topology map represent the intersections in the preset area, the edges in the initial lane topology map represent the lanes between adjacent intersections, and the attribute information is used to represent the passability of the lanes;

[0163] The planning module 403 is used to perform lane-level path planning based on the updated initial lane topology map.

[0164] In some optional implementations, the update module 402 is specifically used to parse the traffic event data to determine the position information corresponding to the static obstacle; determine the target lane occupied by the static obstacle based on the position information corresponding to the static obstacle; and update the attribute information of the edge corresponding to the target lane in the initial lane topology map.

[0165] In some optional embodiments, the attribute information includes the obstacle acquisition time, and the update module 402 is specifically used to obtain the identification information corresponding to the static obstacle; based on the identification information, determine whether the identification information exists in the historical obstacles in the preset area; if the identification information already exists in the historical obstacles in the preset area, then update the acquisition time of the corresponding historical obstacle based on the identification information to update the attribute information of the edge corresponding to the target lane.

[0166] In some optional implementations, the attribute information also includes a passable weight, and the updating module 402 is specifically used to update the passable weight corresponding to the target lane if the identification information does not exist in the historical obstacles in the preset area.

[0167] In some optional implementations, the updating module 402 is specifically configured to determine the validity of the historical obstacles based on the acquisition time of the historical obstacles; and update the historical obstacles based on the validity to update the attribute information of the edges of the corresponding lanes in the initial lane topology map.

[0168] In some optional implementations, the updating module 402 is specifically configured to restore the weight of the lane corresponding to the invalid historical obstacle to the initial passable value if the historical obstacle representing the validity has failed.

[0169] In some optional implementations, the updating module 402 is specifically configured to compare the acquisition time of the historical obstacle with the current time; if the time difference between the acquisition time of the historical obstacle and the current time is greater than a preset time difference threshold, it is determined that the historical obstacle has expired.

[0170] In some optional embodiments, such as Figure 6 As shown, the above-mentioned path planning device also includes:

[0171] A detection module 404 is used to detect whether there are static obstacles in the adjacent lanes of each drivable lane in the planned path according to the position information corresponding to each static obstacle;

[0172] The generating module 405 is used to generate a warning guidance message based on the position information corresponding to the static obstacle if there is a static obstacle in the adjacent lane of the drivable lane.

[0173] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0174] The path planning device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0175] The embodiment of the present invention also provides an electronic device having the above Figure 5 and Figure 6 The path planning device shown.

[0176] See also Figure 7 , Figure 7 is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present invention, such as Figure 7As shown, the electronic device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.

[0177] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0178] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0179] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0180] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0181] The electronic device further comprises a communication interface 30 for the electronic device to communicate with other devices or a communication network.

[0182] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0183] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0184] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A path planning method, characterized in that: The method comprises: Receiving traffic event data sent by roadside sensing devices at different locations in a preset area; the traffic event data is used to characterize information about static obstacles in lanes within the preset area; Based on the traffic event data, updating the attribute information of the edges in the initial lane topology map; the nodes in the initial lane topology map represent the intersections in the preset area, the edges in the initial lane topology map represent the lanes between adjacent intersections, and the attribute information is used to represent the passability of the lanes; Lane-level path planning is performed based on the updated initial lane topology map.

2. The method according to claim 1, characterized in that The updating of the attribute information of the edge of the initial lane topology graph based on the traffic event data includes: Analyzing the traffic event data to determine the position information corresponding to the static obstacle; Determining a target lane occupied by the static obstacle according to the position information corresponding to the static obstacle; Update the attribute information of the edge corresponding to the target lane in the initial lane topology graph.

3. The method according to claim 2, characterized in that The attribute information includes the obstacle acquisition time, and the updating of the attribute information of the edge corresponding to the target lane in the initial lane topology map includes: Obtain identification information corresponding to the static obstacle; Based on the identification information, determining whether the identification information exists in the historical obstacles in the preset area; If the identification information already exists in the historical obstacles in the preset area, the acquisition time of the corresponding historical obstacles is updated based on the identification information to update the attribute information of the edge corresponding to the target lane.

4. The method according to claim 3, characterized in that The attribute information also includes a passable weight, and the updating of the attribute information of the edge corresponding to the target lane in the initial lane topology graph also includes: If the identification information does not exist in the historical obstacles in the preset area, the passable weight corresponding to the target lane is updated.

5. The method according to claim 3, characterized in that: The method further comprises: Determining the validity of the historical obstacle based on the acquisition time of the historical obstacle; The historical obstacles are updated based on the validity to update the attribute information of the edge of the corresponding lane in the initial lane topology map.

6. The method according to claim 5, characterized in that The updating of the historical obstacle based on the validity to update the attribute information of the edge of the corresponding lane in the initial lane topology map includes: If the validity indicates that the historical obstacle has failed, the weight of the lane corresponding to the failed historical obstacle is restored to an initial passable value.

7. The method according to claim 5, characterized in that The determining the validity of the historical obstacle based on the acquisition time of the historical obstacle includes: Comparing the acquisition time of the historical obstacle with the current time; If the time difference between the acquisition time of the historical obstacle and the current time is greater than a preset time difference threshold, it is determined that the historical obstacle has expired.

8. The method according to claim 1, characterized in that After performing lane-level path planning based on the updated initial lane topology map, the method further includes: According to the position information corresponding to each of the static obstacles, detecting whether there is a static obstacle in a lane adjacent to each drivable lane in the planned path; If the static obstacle exists in the adjacent lane of the drivable lane, a warning guidance message is generated based on the position information corresponding to the static obstacle.

9. A path planning device, characterized in that: The device comprises: A receiving module, used to receive traffic event data sent by roadside sensing devices at different locations in a preset area; the traffic event data is used to characterize information about static obstacles in lanes within the preset area; An updating module, configured to update the attribute information of the edges in the initial lane topology map based on the traffic event data; the nodes in the initial lane topology map represent the intersections in the preset area, the edges in the initial lane topology map represent the lanes between adjacent intersections, and the attribute information is used to represent the passability of the lanes; The planning module is used to perform lane-level path planning based on the updated initial lane topology map.

10. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the path planning method according to any one of claims 1 to 8 by executing the computer instructions.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the path planning method according to any one of claims 1 to 8.

12. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the path planning method according to any one of claims 1 to 8.

Citation Information

Cited By

  • Island road updating method and device

    CN119533508A

  • Isolated island road updating method and device

    CN119533508B