Yaw and turn-round route planning method, device and equipment, storage medium and vehicle
By determining the vehicle's driving position and associated road section in the road network topology relationship of the navigation map, a yaw turnover route is generated, which solves the problem of turning around in the vehicle navigation and improves travel efficiency.
Patent Information
- Application Number
- CN202411015149.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During vehicle navigation, when the vehicle may need to turn around, it will be difficult to turn around due to narrow roads or traffic congestion, which will reduce travel efficiency.
By determining the first section where the vehicle is driving in the road network topological relationship of the navigation map, and when the difficulty of turning around is met, the second section associated with the road section is determined, and the second section in the road network topological relationship is updated. Weight to generate a yaw turn-on route, so that the turn-on section is a section outside the first section, thereby avoiding difficult sections.
It improves the travel efficiency of vehicles, avoids turning around on sections where there is difficulty in turning, and improves navigation flexibility and accuracy.
Smart Images

Figure CN118960766A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of navigation technology, and in particular, relates to a method, device, equipment, storage medium and vehicle for planning a yaw and U-turn route. Background Art
[0002] With the rapid development of vehicle technology, vehicles have become more and more popular, and people's daily travel is increasingly dependent on vehicles. Among them, as the current driving roads are becoming more and more complex, people usually use electronic devices such as in-vehicle devices or smart phones for route navigation when driving to improve people's travel efficiency.
[0003] At present, when a vehicle is driving based on a navigation route, it may need to turn around, for example, when the vehicle passes an intersection where it needs to turn left or right, and the electronic device usually adjusts the navigation route to guide the vehicle to turn around at the next intersection. However, when the vehicle turns around at the next intersection, the next intersection may have narrow roads or traffic congestion, making it difficult to turn around at the intersection, thereby reducing travel efficiency. Summary of the invention
[0004] The embodiments of the present application provide a method, device, equipment, storage medium and vehicle for planning a yaw-turn route, which can improve travel efficiency.
[0005] In a first aspect, an embodiment of the present application provides a method for planning a yaw U-turn route, the method comprising:
[0006] In response to the received yaw and U-turn instruction, determining a first road section where the driving position of the vehicle is located in a road network topology relationship of the navigation map;
[0007] In the case where the first road section meets the U-turn difficulty condition, determining at least one second road section associated with the first road section in the road network topology relationship, the second road section is adjacent to the first road section, and the second road section includes at least one road section that can be used to form a U-turn navigation route;
[0008] Updating a first weight of each of the second road sections in the road network topology, wherein the first weight is used to indicate a degree of preference for selecting the second road section in route planning of the road network topology;
[0009] Route planning is performed based on the road network topology relationship after the first weight of each second road section is updated to generate a yaw U-turn route, and the road section for U-turning in the yaw U-turn route is a road section other than the first road section.
[0010] In some implementations, determining the first road section where the driving position of the vehicle is located in the road network topology of the navigation map includes:
[0011] In the road network topology of the navigation map, determining a search area associated with the driving position of the vehicle;
[0012] Determine a plurality of road sections to be selected that are associated with the search area in the road network topology;
[0013] Determining a second weight between each of the to-be-selected road sections and the driving position of the vehicle, wherein the second weight is used to characterize the correlation between the to-be-selected road section and the driving position;
[0014] Based on the second weights between each of the to-be-selected road sections and the driving position of the vehicle, a first road section where the driving position of the vehicle is located is determined among the plurality of to-be-selected road sections.
[0015] In some implementations, determining the second weight between each of the to-be-selected road segments and the driving position of the vehicle includes:
[0016] Based on the correlation information between each of the to-be-selected road sections and the driving position, a second weight between the to-be-selected road section and the driving position of the vehicle is determined.
[0017] In some implementations, the second weight between the to-be-selected road segment and the driving position of the vehicle is determined based on the correlation information between each of the to-be-selected road segments and the driving position:
[0018] Based on the correlation information between each of the to-be-selected road sections and the driving position and the vehicle speed at the driving position, a second weight between the to-be-selected road sections and the driving position of the vehicle is determined.
[0019] In some implementations, the correlation information includes any one or combination of the following:
[0020] The shortest distance between the road section to be selected and the driving position;
[0021] A first angle between the to-be-selected road section and the driving direction of the vehicle at the driving position.
[0022] In some implementations, the correlation information includes: the shortest distance between the road segment to be selected and the driving position, and a first angle between the road segment to be selected and the driving direction of the vehicle at the driving position;
[0023] Determining a second weight between the road section to be selected and the driving position of the vehicle based on the correlation information between each of the road sections to be selected and the driving position and the speed of the vehicle at the driving position includes:
[0024] Obtaining a first product between the shortest distance and a first preset adjustment parameter corresponding to the shortest distance;
[0025] Obtaining a second product between the first angle and a second preset adjustment parameter corresponding to the first angle;
[0026] Obtaining a third product of a negative exponential function value corresponding to the vehicle speed and a third preset adjustment parameter, wherein the negative exponential function value is a value of a negative exponential function with a natural constant as a base and the vehicle speed being a real number;
[0027] The second weight between the to-be-selected road section and the driving position of the vehicle is determined by summing the first product, the second product and the third product.
[0028] In some implementations, the determining at least one second road segment associated with the first road segment in the road network topology relationship includes:
[0029] Acquire a first road section set associated with the first road section, where the road sections in the first road section set are within a U-turn inhibition range in the road network topology, and the U-turn inhibition range is determined based on the first road section;
[0030] In the first segment set, taking the first segment as a starting segment, searching forward through the topological connectivity relationship of the first segment to find at least one segment sequence that can be connected to the first segment, to form a second segment set, wherein the segment sequence includes at least one segment;
[0031] Identify at least part of the road segment sequences in the second road segment set,
[0032] The second road section is an identified road section sequence.
[0033] In some implementations, the step of identifying at least part of the road segment sequence in the second road segment set includes:
[0034] Acquire a second angle between each of the road segment sequences in the second road segment set and the first road segment;
[0035] Based on a second angle between each of the road segment sequences and the first road segment, determining at least one road segment sequence in the second road segment set as a U-turnable road segment sequence;
[0036] The U-turnable road section sequence is marked.
[0037] In a second aspect, an embodiment of the present application further provides a device for planning a yaw and U-turn route, comprising:
[0038] A first road section determination module is used to determine a first road section where the driving position of the vehicle is located in a road network topology relationship of a navigation map in response to a received deviation U-turn instruction;
[0039] A second road section determination module, configured to determine, when the first road section satisfies the U-turn difficulty condition, at least one second road section associated with the first road section in the road network topology relationship, the second road section being adjacent to the first road section, and the second road section including at least one road section that can be used to form a U-turn navigation route;
[0040] A weight updating module, used for updating a first weight of each of the second road sections in the road network topology, wherein the first weight is used for indicating a degree of preference for selecting the second road section in route planning of the road network topology;
[0041] The route generation module is used to perform route planning based on the road network topology relationship after the first weight of each second road section is updated, and generate a yaw U-turn route, wherein the section for U-turn in the yaw U-turn route is a section other than the first road section.
[0042] In a third aspect, an embodiment of the present application further provides an electronic device, the electronic device comprising: a processor and a memory storing computer program instructions;
[0043] When the processor executes the computer program instructions, the method for planning a yaw and U-turn route as described in any one of the first aspects is implemented.
[0044] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, a method for planning a yaw U-turn route as described in any one of the first aspects is implemented.
[0045] In a fifth aspect, an embodiment of the present application further provides a vehicle, comprising the electronic device as described in the third aspect.
[0046] In a sixth aspect, an embodiment of the present application further provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the method for planning a yaw and U-turn route as described in the first aspect.
[0047] The planning method, device, equipment, storage medium and vehicle for the yaw U-turn route in the embodiments of the present application determine, in response to a received yaw U-turn instruction, a first road section where the driving position of the vehicle is located in the road network topology of the navigation map; when the first road section meets the U-turn difficulty condition, determine at least one second road section associated with the first road section in the road network topology, the second road section is a road section adjacent to the first road section and can be used to form a U-turn navigation route; update the first weight of each second road section in the road network topology, the first weight is used to indicate the degree of selection preference for the second road section in the route planning of the road network topology; perform route planning based on the road network topology after the first weight of each second road section is updated to generate a yaw U-turn route. In this way, since the section for U-turn in the generated yaw U-turn route is a section other than the first section, that is, the yaw navigation route does not make a U-turn on the first section, but makes a U-turn through a second section adjacent to the first section and on which a U-turn can be formed, the newly generated yaw U-turn route can avoid making a U-turn on the first section where U-turn is difficult, thereby improving the travel efficiency of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0049] Figure 1 It is a flowchart of an embodiment of a method for planning a yaw U-turn route provided by the present application;
[0050] Figure 2 It is a flowchart of an application scenario of the method for planning a yaw and U-turn route provided by the present application;
[0051] Figure 3 It is a flowchart of data preprocessing in an application scenario of the yaw U-turn route planning method provided in the present application;
[0052] Figure 4 It is a flowchart of the recommended information calculation in the application scenario of the off-course U-turn route planning method provided by the present application;
[0053] Figure 5 It is a structural schematic diagram of an embodiment of a device for planning a yaw and U-turn route provided by the present application;
[0054] Figure 6 It is a schematic diagram of the structure of an embodiment of the electronic device provided by the present application. DETAILED DESCRIPTION
[0055] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0056] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0057] In the related art, when a vehicle is driving based on a navigation route, a U-turn may be required, for example, when the vehicle passes an intersection where it needs to turn left or right, and the electronic device usually adjusts the navigation route to guide the vehicle to make a U-turn at the next intersection. However, when the vehicle makes a U-turn at the next intersection, the next intersection may have narrow roads or traffic congestion, which makes it difficult to make a U-turn at the intersection, thereby reducing travel efficiency.
[0058] In order to solve the technical problems in the related art, the embodiments of the present application provide a method, device, equipment, storage medium and vehicle for planning a yaw U-turn route. The following first introduces the yaw U-turn route planning method provided by the embodiments of the present application.
[0059] Figure 1 A flowchart of an embodiment of the off-course U-turn route planning method provided by the present application is shown. The off-course U-turn route planning method of the present application can be applied to an electronic device, which can be a vehicle-mounted terminal or a server or other terminal device independent of the vehicle. Figure 1 As shown, the method for planning the yaw U-turn route includes but is not limited to the following steps S101 to S103.
[0060] S101. In response to a received yaw and U-turn instruction, determine a first road section where a driving position of a vehicle is located in a road network topology of a navigation map.
[0061] In this step, the above-mentioned deviation U-turn instruction can be an instruction generated by the electronic device during the navigation process when the vehicle deviates from the navigation route. For example, when the electronic device prompts the vehicle to turn left at the current intersection according to the navigation route, but the driver drives the vehicle straight through the intersection, the electronic device detects that the vehicle has deviated from the navigation route and generates the above-mentioned deviation U-turn instruction.
[0062] Alternatively, the above-mentioned deviation and U-turn instruction may also be an instruction generated by the electronic device according to a navigation route adjustment operation input by the user. The navigation route adjustment operation may be any operation for instructing the electronic device to generate a U-turn route. For example, the navigation adjustment operation may be an operation in which the user adjusts the navigation destination to a place that has been passed, at which time the electronic device generates the above-mentioned deviation and U-turn instruction.
[0063] It should be noted that the navigation route adjustment operation may include but is not limited to at least one of voice input, touch input, and air gesture input, and the touch input may include but is not limited to at least one of click input, press input, and slide input.
[0064] The above navigation map may be a map whose map accuracy can meet the navigation requirements. Specifically, the navigation map may be a standard definition map (SD Map); or, the navigation map may be a high definition map (HD Map), and so on.
[0065] The road network topology relationship can also be called "map navigation road network data". In this road network topology relationship, a link and a node are the basic components of a road. Connection points or boundary points with other roads appear (such as intersections, T-junctions, and boundary points, etc.). That is to say, a node or a section between two nodes is a road segment (also called a "topological edge"). Usually a road consists of one or more links.
[0066] It should be noted that in the road network topology, each road section is pre-configured with an initial weight value, which can be statically or dynamically configured according to information related to the road section. Since the configuration process of the initial weight of the road section in the road network topology is well known to those skilled in the art, it will not be repeated here.
[0067] The above-mentioned determination of the first road section where the driving position of the vehicle is located may be that the electronic device determines the road section closest to the driving position in the road network topology according to the driving position of the vehicle, and uses the determined road section as the first road section.
[0068] Step 102: When the first road section meets the U-turn difficulty condition, determine at least one second road section associated with the first road section in the road network topology relationship, the second road section is adjacent to the first road section, and the second road section includes at least one road section that can be used to form a U-turn navigation route.
[0069] In this step, the U-turn difficulty condition may be any condition for determining whether the vehicle has difficulty in turning around in the first road section, that is, if the U-turn difficulty condition is met in the first road section, it indicates that U-turn difficulty exists in the first road section.
[0070] In some embodiments, the U-turn difficulty condition includes but is not limited to any one or a combination of conditions 1 to 3:
[0071] Condition 1: The first road section is a low-grade road; the low-grade road is determined based on at least one of the following information: traffic volume, number of lanes, and historical vehicle U-turn data.
[0072] Furthermore, low-level roads may include the following:
[0073] Condition A11: The traffic volume of the first road section is greater than or equal to a preset traffic volume threshold.
[0074] The preset traffic flow threshold in condition A11 can be the number of passing vehicles in unit time; in the embodiment of the present application, there is no limitation on the unit time and the number of passing vehicles, and technicians in this field can set it according to actual needs; if the unit time and the number of passing vehicles are set to 1 minute and 20 vehicles respectively, the traffic flow of the first section is greater than 20 vehicles per minute, which means that the U-turn difficulty condition is met; if the unit time and the number of passing vehicles are set to 5 minutes and 50 vehicles respectively, the traffic flow of the first section is greater than 50 vehicles per 5 minutes, which means that the U-turn difficulty condition is met.
[0075] Condition A12: The number of reversing times that the vehicle has experienced in the past to achieve a U-turn on the first road section exceeds the preset number of reversing times.
[0076] For example, the first road section usually requires reversing three times to achieve a U-turn, and the preset number of reversing times is 2 times, so the first road section meets the U-turn condition.
[0077] Condition 2: The first road section is a narrow road; the narrow road is determined based on at least one of lane width, lane number, and lane direction.
[0078] Condition A21: The total width of the road of the first section is less than or equal to a preset width.
[0079] For example, the total width of the road on which the first road section is located is less than 7 meters or 5 meters, etc.;
[0080] Condition A22: The number of two-way lanes on the road where the first road section is located is less than a preset number.
[0081] For example, the first road section is a road section smaller than a two-way 4-lane road section;
[0082] Condition A23: The road on the first section is a one-way lane.
[0083] Condition 3: There is a U-turn obstacle element on the first road section.
[0084] Technical personnel in this field can set the type of U-turn obstacle according to actual business needs. For example, the U-turn obstacle can be obstacles such as pedestrians, non-motor vehicles (such as bicycles, motorcycles) or other vehicles; the U-turn obstacle can also be situations such as "the traffic police indicates that U-turns are not allowed on the first section of the road".
[0085] In this embodiment, the above-mentioned U-turn difficulty conditions may include at least one of the above-mentioned conditions 1 to 3, so that the generated off-course U-turn route can avoid more sections where U-turn is difficult, and the application scenarios are wider.
[0086] The at least one second road section associated with the first road section in the road network topology relationship may be determined to be within a forward preset area of the first road section in the road network topology relationship, and the at least one second road section is determined within the forward preset area.
[0087] Among them, the above-mentioned forward preset area range may refer to the area range covered by the vehicle continuing to travel forward for a preset distance, and the vehicle's forward travel may include the vehicle going straight, the vehicle turning left, or the vehicle turning right after passing the first section; and the vehicle going straight, the vehicle turning left, the vehicle turning right, or the vehicle turning around after passing other sections located after the first section.
[0088] The determining of at least one second road section within the forward preset area may be to select at least one road section that can be used to form a U-turn navigation route from among the road sections within the forward preset area and determine it as the second road section.
[0089] Among them, the at least one road section that can be used to form a U-turn navigation route, namely the second road section, may include: a road section that meets the above-mentioned U-turn conditions; and / or a road section that is combined with other road sections to form a U-turn navigation route. For example, a certain road section can be combined with other sequentially connected road sections to form any associated intersection that can return to the first road section. In this case, the road section and other sequentially connected road sections can be used as the second road section.
[0090] Step 103: Update the first weight of each second road segment in the road network topology relationship, where the first weight is used to indicate the degree of selection preference for the second road segment in route planning of the road network topology relationship.
[0091] In this step, since in the route planning process of the road network topology relationship, initial weights are usually configured in advance for each road section in the road network topology relationship, and in the route planning, the optimal route will be determined as the navigation route according to the sum of the weights of all road sections in each route among the multiple routes generated by the plan, and the first weight of the second road section mentioned above refers to the initial weight configured for the second road section.
[0092] The updating of the first weight of each second road section in the road network topology relationship may be to increase the first weight of the second road section. Specifically, the updating of the first weight of each second road section in the road network topology relationship may be to increase the first weight of each second road section in the road network topology relationship when selecting the optimal route based on the maximum weight sum in route planning.
[0093] Alternatively, the first weight of each second road section in the above-mentioned updated road network topology relationship may be to reduce the first weight of the second road section. Specifically, the first weight of each second road section in the above-mentioned updated road network topology relationship may be to reduce the first weight of each second road section in the road network topology relationship when selecting the optimal route based on the minimum weight selection sum in route planning.
[0094] Step 104: perform route planning based on the road network topology relationship after the first weight of each second road section is updated, and generate a yaw U-turn route, wherein the road section for U-turn in the yaw U-turn route is a road section other than the first road section.
[0095] In this step, route planning is performed based on the road network topology relationship after the first weight of each second road segment is updated to generate a yaw U-turn route. The electronic device may generate multiple candidate routes based on the road network topology relationship after the weight update, each candidate route includes one or more of the at least one second road segment mentioned above, and among the multiple candidate routes, the optimal route is selected as the yaw U-turn route based on the total weight of each candidate route.
[0096] The above-mentioned method of selecting the optimal route as the above-mentioned yaw and U-turn route based on the total weight of each candidate route among the multiple candidate routes can be to select the candidate route with the largest total weight as the optimal route while increasing the first weight of each second road section in the road network topology relationship, that is, the candidate route with the largest total weight is the above-mentioned yaw and U-turn route.
[0097] Alternatively, the optimal route among the multiple candidate routes is selected as the above-mentioned yaw U-turn route based on the total weight of each candidate route, or the candidate route with the smallest total weight is selected as the optimal route while reducing the first weight of each second road segment in the road network topology relationship, that is, the candidate route with the smallest total weight is the above-mentioned yaw U-turn route.
[0098] In the embodiment of the present application, in response to the received yaw U-turn instruction, in the road network topology of the navigation map, the first road section where the driving position of the vehicle is located is determined; when the first road section meets the U-turn difficulty condition, at least one second road section associated with the first road section in the road network topology is determined, and the second road section is a road section adjacent to the first road section and can be used to form a U-turn navigation route; the first weight of each second road section in the road network topology is updated, and the first weight is used to indicate the degree of preference for the selection of the second road section in the route planning of the road network topology; the route planning is performed based on the road network topology after the first weight of each second road section is updated, and the yaw U-turn route is generated. In this way, since the road section for U-turning in the generated yaw U-turn route is a road section other than the first road section, that is, the yaw navigation route does not turn around on the first road section, but turns around through the second road section adjacent to the first road section and can form a U-turn, so that the regenerated yaw U-turn route can avoid turning around in the first road section where U-turn difficulty exists, thereby improving the travel efficiency of the vehicle.
[0099] In some implementations, determining the first road section where the driving position of the vehicle is located in the road network topology of the navigation map may include:
[0100] In the road network topology of the navigation map, determining a search area associated with the driving position of the vehicle;
[0101] Determine multiple road sections to be selected that are associated with the search area in the road network topology;
[0102] Determine a second weight between each road section to be selected and the driving position of the vehicle, the second weight being used to characterize the correlation between the road section to be selected and the driving position;
[0103] Based on the second weights between each of the to-be-selected road sections and the driving position of the vehicle, a first road section where the driving position of the vehicle is located is determined from among the multiple to-be-selected road sections.
[0104] Among them, in the above-mentioned road network topology relationship of the navigation map, determining the search area associated with the vehicle's driving position can be to set a first radius with the vehicle's driving position as the center, and determine at least a part of the area covered by the first radius as the search area.
[0105] The search area may be an area of any shape, such as a circular area, a rectangular area, a diamond area or a triangular area. For example, the largest rectangular area within the range covered by the first radius may be determined as the search area.
[0106] The multiple road sections to be selected that are associated with the search area in the road network topology relationship determined above may be all road sections located in the search area as the above-mentioned road sections to be selected; or, may be some road sections located in the search area as the above-mentioned road sections to be selected, for example, the road sections within the extension direction of the road sections in the search area that are the same as the driving direction of the vehicle may be the above-mentioned road sections to be selected.
[0107] The above-mentioned determination of the second weight between each to-be-selected road section and the driving position of the vehicle can be performed by performing a correlation analysis on the driving position of the vehicle and each to-be-selected road section based on the information of the to-be-selected road section and the position information of the driving position of the vehicle, determining the correlation between each to-be-selected road section and the driving position, and using the determined correlation as the second weight between each to-be-selected road section and the driving position of the vehicle.
[0108] It should be noted that the larger the above-mentioned second weight is, the more relevant the corresponding to-be-selected road section is to the driving position of the vehicle. At this time, determining the first road section where the vehicle's driving position is located among multiple to-be-selected road sections based on the second weights between each to-be-selected road section and the vehicle's driving position may include: among multiple to-be-selected road sections, selecting the to-be-selected road section with the largest second weight with the vehicle's driving position as the first road section where the vehicle's driving position is located.
[0109] Alternatively, the smaller the above-mentioned second weight is, the more relevant the corresponding to-be-selected road section is to the driving position of the vehicle. At this time, determining the first road section where the vehicle's driving position is located among multiple to-be-selected road sections based on the second weights between each to-be-selected road section and the vehicle's driving position may include: among multiple to-be-selected road sections, selecting the to-be-selected road section with the smallest second weight with the vehicle's driving position as the first road section where the vehicle's driving position is located.
[0110] In this embodiment, a search area associated with the vehicle's driving position is determined in the road network topology of the navigation map; multiple road sections to be selected that are associated with the search area are determined in the road network topology; a second weight between each road section to be selected and the vehicle's driving position is determined, and the second weight is used to characterize the correlation between the road section to be selected and the driving position; based on the second weight between each road section to be selected and the vehicle's driving position, the first road section where the vehicle's driving position is located is determined among the multiple road sections to be selected, thereby preventing the actual position of the vehicle from deviating from the actual road network, and improving the accuracy of determining the first road section where the vehicle is located.
[0111] In some implementations, the above-mentioned determination of the second weight between each of the to-be-selected road sections and the driving position of the vehicle may include:
[0112] Based on the correlation information between each of the to-be-selected road sections and the driving position, a second weight between the to-be-selected road section and the driving position of the vehicle is determined.
[0113] Before determining the second weight between the road section to be selected and the driving position of the vehicle based on the correlation information between each road section to be selected and the driving position, the electronic device may also obtain the correlation information between each road section to be selected and the driving position.
[0114] The above correlation information may be any information that can characterize the degree of correlation between the road segment to be selected and the driving position. Specifically, the above correlation information may include any one or combination of the following:
[0115] The shortest distance between the road section to be selected and the driving position;
[0116] A first angle between the to-be-selected road section and the driving direction of the vehicle at the driving position.
[0117] That is, the above-mentioned acquisition of the correlation information between each to-be-selected road section and the driving position may be that the electronic device acquires the shortest distance between the to-be-selected road section and the driving position as the above-mentioned correlation information, that is, the correlation information includes the shortest distance; or, it may be that the first angle between the to-be-selected road section and the driving direction of the vehicle at the driving position is acquired as the above-mentioned correlation information, that is, the correlation information includes the first angle; or, it may be that the shortest distance and the first angle are acquired as the above-mentioned correlation information, that is, the correlation information includes the shortest distance and the first angle, thereby making the method of acquiring the above-mentioned correlation information more flexible.
[0118] The above-mentioned determination of the second weight between the road section to be selected and the driving position of the vehicle based on the correlation information between each road section to be selected and the driving position may be, when the above-mentioned correlation information includes the shortest distance, determining the weight corresponding to the above-mentioned shortest distance as the second weight according to the correspondence between the preset distance and the weight.
[0119] Alternatively, the second weight between the road section to be selected and the driving position of the vehicle is determined based on the correlation information between each road section to be selected and the driving position. It can also be that when the correlation information includes the shortest distance, the weight corresponding to the first angle is determined as the second weight based on the correspondence between a preset angle and the weight.
[0120] Alternatively, the second weight between the road section to be selected and the driving position of the vehicle is determined based on the correlation information between each road section to be selected and the driving position. Alternatively, when the correlation information includes the shortest distance and the first angle, the first sub-weight corresponding to the shortest distance is first determined according to the correspondence between the preset distance and the weight; and the weight corresponding to the first angle is determined as the second sub-weight according to the correspondence between the preset angle and the weight; and the sum of the first sub-weight and the second sub-weight is used as the second weight.
[0121] In this implementation, the second weight between the road section to be selected and the driving position of the vehicle may be determined based on the correlation information between the road section to be selected and the driving position, thereby accurately determining the second weight between the road section to be selected and the driving position of the vehicle.
[0122] In some implementations, determining a second weight between the road segment to be selected and the driving position of the vehicle based on the correlation information between each road segment to be selected and the driving position includes:
[0123] Based on the correlation information between each to-be-selected road section and the driving position and the vehicle speed, a second weight between the to-be-selected road section and the driving position of the vehicle is determined.
[0124] Among them, the second weight between the to-be-selected road section and the driving position of the vehicle is determined based on the correlation information between each to-be-selected road section and the driving position and the vehicle speed. It can be determined according to the correspondence between preset correlation information, vehicle speed and weight, and the weight that has a corresponding relationship with the correlation information between each to-be-selected road section and the driving position and the vehicle speed is used as the above-mentioned second weight.
[0125] Alternatively, based on a preset corresponding relationship, a third sub-weight corresponding to the correlation information and a fourth sub-weight corresponding to the vehicle speed may be determined, and the sum of the third sub-weight and the fourth sub-weight may be used as the second weight.
[0126] Since the above-mentioned correlation information may include at least one of the above-mentioned shortest distance and the above-mentioned first angle, the above-mentioned determination of the second weight between the to-be-selected road section and the driving position of the vehicle based on the correlation information and the vehicle speed between each to-be-selected road section and the driving position may be based on the above-mentioned shortest distance and the above-mentioned vehicle speed to determine the second weight; or, may be based on the above-mentioned first angle and the above-mentioned vehicle speed to determine the second weight.
[0127] In this implementation, the second weight may be determined based on the correlation information and the vehicle speed, so that the second weight may be determined more accurately.
[0128] In some implementations, the correlation information may include a shortest distance and a first angle.
[0129] The determining of the second weight between the road section to be selected and the driving position of the vehicle based on the correlation information between each road section to be selected and the driving position and the vehicle speed may include:
[0130] Based on the shortest distance, the first angle and the vehicle speed, a second weight between the road section to be selected and the driving position of the vehicle is determined.
[0131] Among them, the second weight between the to-be-selected road section and the driving position of the vehicle is determined based on the shortest distance, the first angle and the vehicle speed. It can be determined according to the correspondence between the preset distance, angle, vehicle speed and weight, and the weight that corresponds to the acquired shortest distance, the first angle and the vehicle speed is used as the above-mentioned second weight.
[0132] In this implementation, the second weight may be determined based on the shortest distance, the first angle, and the vehicle speed, so that the second weight has higher accuracy.
[0133] Specifically, the second weight between the road section to be selected and the driving position of the vehicle is determined based on the shortest distance, the first angle and the vehicle speed. That is, when the correlation information includes: the shortest distance between the road section to be selected and the driving position, and the first angle between the road section to be selected and the driving direction of the vehicle at the driving position, the second weight between the road section to be selected and the driving position of the vehicle based on the correlation information between each road section to be selected and the driving position and the speed of the vehicle at the driving position may include:
[0134] Obtaining a first product between the shortest distance and a first preset adjustment parameter corresponding to the shortest distance;
[0135] Obtaining a second product between the first angle and its corresponding second preset adjustment parameter;
[0136] Obtaining a third product of a negative exponential function value corresponding to the vehicle speed and a third preset adjustment parameter, wherein the negative exponential function value is a value of a negative exponential function with a natural constant as a base and the vehicle speed as a real number;
[0137] The second weight between the road section to be selected and the driving position of the vehicle is determined by summing the first product, the second product and the third product.
[0138] Specifically, the second weight between the road section to be selected and the driving position of the vehicle may be determined by the following calculation formula (1):
[0139] w i =p1*s i +p2*a i +p3*e (-v) (1)
[0140] In formula (1), w irepresents the second weight between the i-th road section to be selected and the driving position of the vehicle, where i is a positive integer;
[0141] s i represents the shortest distance between the i-th road segment to be selected and the driving position of the vehicle;
[0142] a i represents the first angle between the i-th road section to be selected and the driving direction of the vehicle;
[0143] v represents the speed of the vehicle at the driving position;
[0144] p1 represents a first preset adjustment parameter corresponding to the shortest distance;
[0145] p2 represents a second preset adjustment parameter corresponding to the first angle;
[0146] p3 represents a third preset adjustment parameter corresponding to the vehicle speed.
[0147] Among them, the first preset adjustment parameter, the second preset adjustment parameter and the third preset adjustment parameter can be parameters set manually based on experience, or can also be parameters obtained based on machine learning according to historical data, which is not limited here.
[0148] In this embodiment, the second weight between the road section to be selected and the driving position of the vehicle is determined by summing the first product, the second product and the third product, so that the determined second weight is more reasonable and can more accurately reflect the correlation between the road section to be selected and the driving position of the vehicle.
[0149] In some implementations, the determining of at least one second road segment associated with the first road segment in the road network topology relationship may include:
[0150] Acquire a first road section set associated with the first road section, where the road sections in the first road section set are within a U-turn inhibition range in a road network topology relationship, and the U-turn inhibition range is determined based on the first road section;
[0151] In the first segment set, taking the first segment as the starting segment, searching forward through the topological connectivity relationship of the first segment to find at least one segment sequence that can be connected to the first segment, to form a second segment set, wherein the segment sequence includes at least one segment;
[0152] At least part of the road segment sequence in the second road segment set is identified, wherein the second road segment is the identified road segment sequence.
[0153] The above-mentioned U-turn suppression range may be a road section area formed by setting a second radius with the first road section as the center in the network topology relationship; or, it may be a range where a preset number of road sections are searched forward and the first road section is used as the starting point.
[0154] The above-mentioned road segment sequence is connected with the first road segment, which can be understood as the road segments in the road segment sequence are connected as a whole to any end of the first road segment (ie, any intersection at both ends of the first road segment).
[0155] The above-mentioned road segment sequence may include only one road segment, for example, the road segment sequence includes a road segment adjacent to the first road segment and can be used for U-turn; or, the above-mentioned road segment sequence may include multiple road segments, for example, the road segment sequence includes three road segments, and the three road segments are connected with the first road segment to form a U-shape, and so on.
[0156] The above-mentioned marking of at least part of the road segment sequences in the second road segment set may be marking all the road segment sequences in the second road segment set; or, it may be screening part of the road segment sequences in the above-mentioned second road segment set for marking, for example, it may be selecting road segment sequences with less than a certain number of sections for marking, and so on.
[0157] In this embodiment, in the first road segment set, the first road segment is used as the starting road segment, and through the topological connectivity relationship of the first road segment, forward search is performed to find at least one road segment sequence that can be connected to the first road segment to form a second road segment set, and at least part of the road segment sequences in the second road segment set are used as the above-mentioned second road segment, thereby improving the efficiency and accuracy of determining the second road segment.
[0158] In some implementations, identifying at least part of the road segment sequence in the second road segment set includes:
[0159] Obtain a second angle between each road segment sequence in the second road segment set and the first road segment;
[0160] Based on a second angle between each road segment sequence and the first road segment, determining at least one road segment sequence in the second road segment set as a U-turnable road segment sequence;
[0161] Mark the sequence of road sections where U-turn is possible.
[0162] The second angle may be understood as the angle between the first section and the section adjacent to the first section in the section sequence.
[0163] Among them, based on the second angle between each road segment sequence and the first road segment, at least one road segment sequence in the second road segment set is determined as a U-turnable road segment sequence, and the road segment sequence whose second angle is greater than or equal to a preset angle threshold is determined as a U-turnable road segment sequence.
[0164] The preset angle threshold may be a threshold value set according to actual needs. For example, it may be any angle greater than 90° and less than 180°, such as close to 180°, such as 150° or 160°, and so on.
[0165] In this implementation, at least one segment sequence may be selected from the second segment set as the second segment according to the second angle between each segment sequence and the first segment, thereby making the determined second segment more reasonable.
[0166] In order to facilitate the understanding of the method for planning a yaw U-turn route provided in the embodiment of the present application, the actual application process of the method in the scenario of re-planning a route on a narrow road is provided as an example for explanation. Figure 2 As shown, the actual application process includes the following steps: step S201 to step S208:
[0167] Step S201: When the driving navigation deviates, the electronic device initiates a deviated recalculation (request).
[0168] Step S202: In response to the yaw recalculation (request), the electronic device performs road tracking matching for the start point and the end point of the navigation route in the SD map to form a road network topology relationship.
[0169] Step S203: The electronic device determines whether the current road section (ie, the first road section) is subject to U-turn suppression, that is, determines whether the current road section is a narrow road.
[0170] Among them, given that there may be deviations between the actual position of the vehicle and the actual road network, the positioning point needs to be mapped to the corresponding road section. This process is called "road binding and matching", namely:
[0171] A rectangular search area is formed with a certain radius (i.e., a first radius) being set with the vehicle positioning position (i.e., the driving position) as the center; relevant road section information is searched within the rectangular area using a geographic spatial index, which is pre-established by compiling road network data; and the road section information is filtered and screened according to certain rules based on the current position information to obtain the best road section information (i.e., the first road section).
[0172] The above process mainly includes two parts: data preprocessing and recommendation information calculation.
[0173] Among them, Figure 3 As shown, the data preprocessing may include the following steps 301 to 304:
[0174] Step 301, select the origin coordinates and divide the search area into rectangles;
[0175] Step 302: Taking the road section as a unit, perform intersection calculation with the divided rectangles;
[0176] Step 303: Record the road section codes contained in each rectangle.
[0177] Step 304: According to the recorded road section codes, record the index information from the rectangle to the road section.
[0178] As Figure 4 shown, the calculation of the recommended information may include the following steps 401 to 404:
[0179] Step 401: With the search point as the center, set a variable length to form a rectangular search range.
[0180] Step 402: Search for all rectangular spatial index blocks that completely cover the rectangular search range. Specifically, they can be intersecting and containing rectangular spatial index blocks.
[0181] Step 403: Query the road section information contained in the found index blocks.
[0182] Step 404: According to the current position, driving direction, and speed, calculate the optimal road section (i.e., the first road section) from the queried road section information.
[0183] Among them, the calculation of the optimal road section can be to calculate the weight value (i.e., the second weight) of each road section through the above formula (1), and according to the calculated results, sort them from small to large, and select the optimal road section according to the threshold.
[0184] Step 204: If it is determined that a U-turn is inhibited on the current road section, that is, the current road section is a narrow road, then with the starting point as the center, search the topological road network within the set range.
[0185] Step 205: Determine whether a U-turnable road section that meets the conditions is found.
[0186] Among them, since the topological network relationship of the navigation map data describes the mutual relationship between spatial data that satisfies the principles of topological geometry, that is, the adjacency, association, inclusion, and connectivity between spatial entities composed of nodes, arcs, and polygons, through forward or backward traversal, its adjacent connected road sections can be found.
[0187] Here, the available road section information (i.e., the road section sequence) can be found through the network topological relationship. The specific processing flow is as follows:
[0188] First, set the U-turn inhibition range as R (i.e., the second radius), the Link (i.e., the road section) itself is denoted as l i , the length of Link is denoted as r i , where i is a positive integer from 1 to N, and the entire set of Link is denoted as: A = {l i |0 < i ≤ N} (i.e., the first road section set).
[0189] Assume the starting link is l a , l a ∈A, through l a The topological connection relationship is forward searched, and within the limited range, a link sequence (i.e., a road sequence) that can be connected is found, the number is K, recorded as B m = {l 1m , l 2m ,…,l km} (i.e., the second road segment set), satisfying Condition, in B m In the sequence, the adjacent links are judged respectively. If it is determined to be a U-turn (the angle between the adjacent links is close to 180 degrees or meets the set threshold), the forward link is added to the set C = {l nm |l nm ∈B m , n∈K}(i.e. l nm Identify the sequence of road sections where U-turns are possible).
[0190] Second, the U-turn links (i.e., the U-turn sections that meet the conditions) in the set C are identified and passed to the recall calculation engine.
[0191] Step 206: If a U-turn section that meets the conditions is found, a high weight (ie, the first weight) is assigned to the U-turn section, that is, the weight of the U-turn section is increased.
[0192] Step 207: After increasing the weight of the U-turnable road section, perform a driving route recall calculation.
[0193] The driving route recall calculation adopts a weight calculation system, that is, for each road section in the topology, a weight (i.e., the initial weight) is assigned through static and dynamic methods. According to the inertial flow idea, the route with a small weight has small resistance and low travel cost, and is recommended to the user as the optimal route.
[0194] Avoiding U-turns means artificially increasing the traffic rights on the link that can be turned around, increasing the traffic resistance, and making the U-turn route no longer a priority recommendation.
[0195] Among them, the route calculation engine searches for routes from the road sections bound to the vehicle in combination with the road network topology. When the searched road section is a marked U-turn section, a very large weight is assigned to the current road section (i.e., the weight of the road section is increased). If it is not a U-turn section, no additional weight is added, and this cycle is repeated until a complete route is calculated. Since the weight added to the U-turn section is much greater than that of other sections, this reduces the probability of selecting a U-turn link in subsequent searches, thereby achieving the purpose of avoiding frequent U-turns.
[0196] Step 208: Return the route calculation result (i.e., the deviation and U-turn route).
[0197] The yaw U-turn route planning method provided in the embodiment of the present application can be executed by a yaw U-turn route planning device. In the embodiment of the present application, the yaw U-turn route planning method is executed by a yaw U-turn route planning device as an example to illustrate the yaw U-turn route planning device provided in the embodiment of the present application.
[0198] Figure 5 The schematic diagram of the structure of the device for planning a yaw and U-turn route provided in an embodiment of the present application is shown. Figure 5 As shown, the yaw and U-turn route planning device 500 of the present application includes:
[0199] A first road section determination module 501 is used to determine a first road section where the driving position of the vehicle is located in a road network topology relationship of a navigation map in response to a received deviation U-turn instruction;
[0200] A second road segment determination module 502, configured to determine, when the first road segment satisfies the U-turn difficulty condition, at least one second road segment associated with the first road segment in the road network topology relationship, the second road segment being adjacent to the first road segment, and the second road segment including at least one road segment that can be used to form a U-turn navigation route;
[0201] A weight updating module 503, used for updating a first weight of each second road segment in the road network topology relationship, wherein the first weight is used for indicating a degree of preference for selecting the second road segment in the route planning of the road network topology relationship;
[0202] The route generation module 504 is used to perform route planning based on the road network topology relationship after the first weight of each second road section is updated, and generate a yaw U-turn route, in which the road section for U-turn in the yaw U-turn route is a road section other than the first road section.
[0203] In some implementations, the first road section determination module 501 may be specifically configured to:
[0204] In the road network topology of the navigation map, determining a search area associated with the driving position of the vehicle;
[0205] Determine multiple road sections to be selected that are associated with the search area in the road network topology;
[0206] Determine a second weight between each road section to be selected and the driving position of the vehicle, the second weight being used to characterize the correlation between the road section to be selected and the driving position;
[0207] Based on the second weights between each of the to-be-selected road sections and the driving position of the vehicle, a first road section where the driving position of the vehicle is located is determined from among the multiple to-be-selected road sections.
[0208] In some implementations, the first road section determination module 501 may be specifically configured to:
[0209] Based on the correlation information between each of the to-be-selected road sections and the driving position, a second weight between the to-be-selected road section and the driving position of the vehicle is determined.
[0210] In some implementations, the first road section determination module 501 may be specifically configured to:
[0211] Based on the correlation information between each to-be-selected road section and the driving position and the vehicle speed, a second weight between the to-be-selected road section and the driving position of the vehicle is determined.
[0212] In some implementations, the correlation information may include a shortest distance and a first angle.
[0213] The first road section determination module 501 may be specifically used for:
[0214] Obtaining a first product between the shortest distance and a first preset adjustment parameter corresponding to the shortest distance;
[0215] Obtaining a second product between the first angle and its corresponding second preset adjustment parameter;
[0216] Obtaining a third product of a negative exponential function value corresponding to the vehicle speed and a third preset adjustment parameter, wherein the negative exponential function value is a value of a negative exponential function with a natural constant as a base and the vehicle speed as a real number;
[0217] The second weight between the road section to be selected and the driving position of the vehicle is determined by summing the first product, the second product and the third product.
[0218] In some implementations, the second road section determination module 501 may be specifically configured to:
[0219] Acquire a first road section set associated with the first road section, where the road sections in the first road section set are within a U-turn inhibition range in a road network topology relationship, and the U-turn inhibition range is determined based on the first road section;
[0220] In the first segment set, taking the first segment as the starting segment, searching forward through the topological connectivity relationship of the first segment to find at least one segment sequence that can be connected to the first segment, to form a second segment set, wherein the segment sequence includes at least one segment;
[0221] Identify at least part of the road segment sequence in the second road segment set,
[0222] The second road section is an identified road section sequence.
[0223] In some implementations, the second road section determination module 501 may be specifically configured to:
[0224] Obtain a second angle between each road segment sequence in the second road segment set and the first road segment;
[0225] Based on a second angle between each road segment sequence and the first road segment, determining at least one road segment sequence in the second road segment set as a U-turnable road segment sequence;
[0226] Mark the sequence of road sections where U-turns are possible.
[0227] The yaw and U-turn route planning device 500 provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.
[0228] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.
[0229] The electronic device may include a processor 601 and a memory 602 storing computer program instructions.
[0230] Specifically, the processor 601 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0231] The memory 602 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 602 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 602 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 602 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 602 is a non-volatile solid-state memory.
[0232] In some embodiments, the memory 602 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage media device, an optical storage media device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0233] The processor 601 reads and executes the computer program instructions stored in the memory 602 to implement any one of the methods for planning a yaw-and-U-turn route in the above embodiments.
[0234] In one example, the electronic device may further include a communication interface 603 and a bus 610. Figure 6 As shown, the processor 601, the memory 602, and the communication interface 603 are connected via a bus 610 and communicate with each other.
[0235] The communication interface 603 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0236] Bus 610 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 610 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0237] The electronic device can execute the yaw and U-turn route planning method in the embodiment of the present application, thereby realizing the combination Figures 1 to 5 A method and device for planning a yaw-turn route are described.
[0238] In addition, in combination with the yaw U-turn route planning method in the above embodiment, the present application embodiment also provides a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the yaw U-turn route planning method in the above embodiment is implemented.
[0239] In combination with the yaw U-turn route planning method in the above embodiment, an embodiment of the present application also provides a computer program product. When the instructions in the computer program product are executed by the processor of an electronic device, the electronic device implements the yaw U-turn route planning method in the above embodiment.
[0240] In combination with the electronic device in the above embodiment, an embodiment of the present application further provides a vehicle, which includes the electronic device in the above embodiment.
[0241] The vehicle can be a private car, such as a sedan, SUV, MPV or pickup truck. The vehicle can also be an operating vehicle, such as a van, bus, small truck or large trailer. The vehicle can be a gasoline vehicle or a new energy vehicle. When the vehicle is a new energy vehicle, it can be a hybrid vehicle or a pure electric vehicle.
[0242] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0243] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0244] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0245] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0246] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A route planning method for yaw and U-turn, characterized in that: include: In response to the received yaw and U-turn instruction, determining a first road section where the driving position of the vehicle is located in a road network topology relationship of the navigation map; In the case where the first road section meets the U-turn difficulty condition, determining at least one second road section associated with the first road section in the road network topology relationship, the second road section is adjacent to the first road section, and the second road section includes at least one road section that can be used to form a U-turn navigation route; Updating a first weight of each of the second road sections in the road network topology, wherein the first weight is used to indicate a degree of preference for selecting the second road section in route planning of the road network topology; Route planning is performed based on the road network topology relationship after the first weight of each second road section is updated to generate a yaw U-turn route, and the road section for U-turning in the yaw U-turn route is a road section other than the first road section.
2. The method according to claim 1, characterized in that Determining the first road section where the driving position of the vehicle is located in the road network topology of the navigation map includes: In the road network topology of the navigation map, determining a search area associated with the driving position of the vehicle; Determine a plurality of road sections to be selected that are associated with the search area in the road network topology; Determining a second weight between each of the to-be-selected road sections and the driving position of the vehicle, wherein the second weight is used to characterize the correlation between the to-be-selected road section and the driving position; Based on the second weights between each of the to-be-selected road sections and the driving position of the vehicle, a first road section where the driving position of the vehicle is located is determined among the plurality of to-be-selected road sections.
3. The method according to claim 2, characterized in that The determining of the second weight between each of the to-be-selected road sections and the driving position of the vehicle comprises: Based on the correlation information between each of the to-be-selected road sections and the driving position, a second weight between the to-be-selected road section and the driving position of the vehicle is determined.
4. The method according to claim 3, characterized in that: The second weight between the to-be-selected road section and the driving position of the vehicle is determined based on the correlation information between each of the to-be-selected road sections and the driving position: Based on the correlation information between each of the to-be-selected road sections and the driving position and the vehicle speed at the driving position, a second weight between the to-be-selected road sections and the driving position of the vehicle is determined.
5. The method according to claim 3 or 4, characterized in that: The correlation information includes any one or combination of the following: The shortest distance between the road section to be selected and the driving position; A first angle between the to-be-selected road section and the driving direction of the vehicle at the driving position.
6. The method according to claim 4, characterized in that The correlation information includes: the shortest distance between the road section to be selected and the driving position, and a first angle between the road section to be selected and the driving direction of the vehicle at the driving position; Determining a second weight between the road section to be selected and the driving position of the vehicle based on the correlation information between each of the road sections to be selected and the driving position and the speed of the vehicle at the driving position includes: Obtaining a first product between the shortest distance and a first preset adjustment parameter corresponding to the shortest distance; Obtaining a second product between the first angle and a second preset adjustment parameter corresponding to the first angle; Obtaining a third product of a negative exponential function value corresponding to the vehicle speed and a third preset adjustment parameter, wherein the negative exponential function value is a value of a negative exponential function with a natural constant as a base and the vehicle speed being a real number; The second weight between the to-be-selected road section and the driving position of the vehicle is determined by summing the first product, the second product and the third product.
7. The method according to claim 1, characterized in that The determining at least one second road segment associated with the first road segment in the road network topology relationship comprises: Acquire a first road section set associated with the first road section, where the road sections in the first road section set are within a U-turn inhibition range in the road network topology, and the U-turn inhibition range is determined based on the first road section; In the first segment set, taking the first segment as a starting segment, searching forward through the topological connectivity relationship of the first segment to find at least one segment sequence that can be connected to the first segment, to form a second segment set, wherein the segment sequence includes at least one segment; Identify at least part of the road segment sequences in the second road segment set, The second road section is an identified road section sequence.
8. The method according to claim 7, characterized in that The step of identifying at least part of the road segment sequences in the second road segment set includes: Acquire a second angle between each of the road segment sequences in the second road segment set and the first road segment; Based on a second angle between each of the road segment sequences and the first road segment, determining at least one road segment sequence in the second road segment set as a U-turnable road segment sequence; The U-turnable road section sequence is marked.
9. The method according to claim 1, characterized in that: The U-turn difficulty condition includes at least one of the following: The first road section is a low-grade road; the low-grade road is determined based on at least one of the following information: vehicle flow and historical vehicle U-turn data; The first road section is a narrow road; the narrow road is determined based on at least one of lane width, lane number, and lane direction; The first road section has a U-turn obstacle element.
10. A device for planning a U-turn route, characterized in that: include: A first road section determination module is used to determine a first road section where the driving position of the vehicle is located in a road network topology relationship of a navigation map in response to a received deviation U-turn instruction; A second road section determination module, configured to determine, when the first road section satisfies the U-turn difficulty condition, at least one second road section associated with the first road section in the road network topology relationship, the second road section being adjacent to the first road section, and the second road section including at least one road section that can be used to form a U-turn navigation route; A weight updating module, used for updating a first weight of each of the second road sections in the road network topology, wherein the first weight is used for indicating a degree of preference for selecting the second road section in route planning of the road network topology; The route generation module is used to perform route planning based on the road network topology relationship after the first weight of each second road section is updated, and generate a yaw U-turn route, wherein the section for U-turn in the yaw U-turn route is a section other than the first road section.
11. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method for planning a yaw and U-turn route as described in any one of claims 1-9 is implemented.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for planning a yaw-turn route as described in any one of claims 1 to 9 is implemented.
13. A vehicle, characterized in that: Comprising the electronic device as claimed in claim 11.
14. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the method for planning a yaw-turn route as described in any one of claims 1-9.
