A path planning method and device
By dividing functional areas in path planning and using machine learning algorithms to predict traffic flow, the problem of unreasonable path planning in the existing technology is solved and accurate and reasonable path planning in a dynamic environment is achieved.
Patent Information
- Application Number
- CN202210303791.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-24
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-03-24
AI Technical Summary
Existing path planning methods, such as Dijkstra's algorithm, cannot effectively handle the dynamic congestion and complex constraints of vehicles on road sections, resulting in unreasonable and inaccurate path planning.
By dividing the target area into multiple functional areas and establishing electronic fences, machine learning algorithms are used to predict the traffic volume and travel time of each road section, and combined with the preset path planning algorithm and constraint rules, the vehicle's driving path is dynamically adjusted to meet the predicted requirements. Set conditions.
It achieves the accuracy and rationality of vehicle path planning in dynamic environments, improves the accuracy and adaptability of path planning, and can handle vehicle positioning and congestion analysis in different functional areas.
Smart Images

Figure CN114545951B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent transportation technology, and in particular to a path planning method and device. Background Art
[0002] At present, all major ports are transforming traditional ports into intelligent ports through automation transformation, information application and other technologies to improve operation efficiency and realize intelligent and reliable operation. Among them, in order to realize the transformation of traditional ports into intelligent ports, a key technology is to plan a path that meets the specified conditions from the starting position to the end position for the vehicle, which is also called path planning for the vehicle.
[0003] At present, a commonly used method for vehicle path planning is the Dijkstra algorithm. However, when using this algorithm for path planning, the travel time of the vehicle on the road section is usually set to a fixed value. When the vehicle actually travels on the road section, the road section conditions are usually different. For example, the congestion level on the road section usually changes over time. On the other hand, this method is not compatible with complex constraints, which makes it impossible to apply it in actual projects.
[0004] Therefore, how to plan the path for the vehicle more reasonably has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] The present application provides a path planning method and device, which can realize path planning for vehicles in a dynamic environment by performing congestion analysis on each road section.
[0006] In a first aspect, an embodiment of the present application provides a path planning method, comprising: obtaining the traffic flow of each of N road sections in a target area, each of the N road sections comprising M electronic fences, the M electronic fences being connected to each other, different electronic fences among the M electronic fences corresponding to different functional areas in the target area, each of the different functional areas comprising an area for vehicles to perform production operations; using a machine learning algorithm to predict the travel time of a target vehicle in each of the N road sections based on the traffic flow of each of the N road sections, the target vehicle comprising a vehicle traveling from a first position in the target area to a second position in the target area; based on a preset path planning algorithm and at least one of the preset constraint rules, selecting K road sections from the N road sections to form a target driving path, the target driving path making the corresponding travel time when the target vehicle travels from the first position to the second position meet a preset condition.
[0007] In this embodiment, the electronic fence can be considered as a geographical range corresponding to a functional area, and the functional area refers to an area used for vehicles to perform production operations.
[0008] In this embodiment, the target area refers to the geographical area after the electronic fence is divided. Specifically, in this embodiment, the target area is divided into different electronic fences based on different functional areas.
[0009] It should be understood that, usually, different functional areas correspond to different bays and column positions. Therefore, in this embodiment, by dividing the target area into different electronic fences based on different functional areas, it can be achieved that when a vehicle enters a certain electronic fence, the vehicle can be accurately positioned in each functional area, that is, the difference in vehicle positioning can be ensured when the vehicle is in different functional areas.
[0010] It should be understood that a large number of electronic fences in the target area are connected one by one, for example, HR020014 to HR020016 can only be reached through HR020015. Therefore, in this embodiment, the area formed by connecting all the electronic fences that are connected to each other and have a single upstream and downstream is defined as a road section.
[0011] In this embodiment, the target area is expressed as a two-dimensional road network structure by dividing the target area into a plurality of electronic fences and generating road sections based on the electronic fences.
[0012] It should be noted that the present application does not limit the specific form of the machine learning algorithm. For example, the machine learning algorithm may be a convolutional neural network algorithm, or a support vector machine (SVM) algorithm, which does not constitute a limitation on the present application.
[0013] In this embodiment, the target vehicle refers to a vehicle that needs to travel from a first position to a second position in the target area, wherein the first position refers to the starting position when the target vehicle is traveling, and the second position refers to the end position when the target vehicle is traveling.
[0014] It is understandable that the traffic volume of each of the N road sections in the target area may be different at different times, that is, the degree of congestion on each road section is different at different times. Therefore, in this embodiment, the traffic volume is taken as a factor to be considered when planning the path for the target vehicle. Specifically, the traffic volume is taken as a factor to be considered when determining the travel time of the target vehicle in each of the N road sections.
[0015] It should be noted that this embodiment does not limit the specific algorithm form of the preset path planning algorithm, for example, it may be a FIFO algorithm, a Floyd algorithm, or an A* algorithm.
[0016] In this embodiment, since the target area is divided into different electronic fences based on different functional areas, and since each functional area corresponds to different bays and columns, when the vehicle drives to a certain electronic fence, the functional area where the vehicle is currently located can be clearly determined. That is, after the electronic fence is divided, when the path planning is performed for the target vehicle, the functional area where the first position is located and the functional area where the second position is located can be clearly described when the vehicle drives from the first position to the second position, so that the accurate positioning of the vehicle based on each functional area can be achieved. Further, since the accurate positioning of each vehicle based on the functional area is achieved, the accuracy of the traffic flow of each section in the N sections obtained can be improved. In addition, since this embodiment predicts the travel time of the target vehicle in each section by obtaining the traffic flow of each section in real time, that is, the travel time of the target vehicle in each section is not fixed, but based on actual dynamic changes, therefore, this embodiment implements the path planning of the vehicle in a dynamic environment by performing congestion analysis on each section, so that the target driving path finally determined is more reasonable and accurate.
[0017] In combination with the first aspect, in a possible implementation, the method also includes: obtaining a first area, the first area including multiple functional areas, different functional areas of the multiple functional areas corresponding to different bays and column positions in the first area; dividing the first area into multiple electronic fences corresponding to the multiple functional areas one by one, each of the multiple electronic fences having a determined geographical range; updating the first area to the target area.
[0018] In this implementation, after obtaining the first area, the entire first area is divided into multiple electronic fences corresponding to multiple functional areas, wherein different electronic fences can be considered to contain different geographical ranges in the first area, thereby obtaining a target area that ultimately includes multiple electronic fences.
[0019] In one example, when the present application divides a plurality of electronic fences, each electronic fence has the following properties: a polygonal shape, covering an accessible area of any vehicle, and including at least two consecutive global positioning system (GPS) points.
[0020] In combination with the first aspect, in a possible implementation, obtaining the traffic flow of each of N road sections in the target area includes: obtaining the position information of each vehicle among all vehicles located in the target area at a current moment; determining the electronic fence corresponding to the position information of each vehicle; determining the road section where each vehicle is located based on the electronic fence corresponding to the position information of each vehicle; and counting the total number of vehicles included in each of the N road sections at the current moment, the total number of vehicles indicating the traffic flow.
[0021] It is understandable that the traffic volume corresponding to each road section is usually related to the number of vehicles included in the road section. Generally speaking, the more vehicles a road section includes, the greater the traffic volume corresponding to the road section, and the fewer vehicles a road section includes, the smaller the traffic volume corresponding to the road section. Therefore, in this implementation, the traffic volume of each road section can be determined based on the traffic volume of each road section at the current moment.
[0022] In combination with the first aspect, in a possible implementation, the method further includes: if the target vehicle deviates from the target driving path while driving, sending a prompt message to the target vehicle, wherein the prompt message indicates that the target vehicle deviates from the target driving path.
[0023] In this embodiment, when the target vehicle deviates from the target driving path while driving, a prompt message is sent to the target vehicle so that the target vehicle can adjust the driving path in time.
[0024] In combination with the first aspect, in a possible implementation manner, the location information of each vehicle includes longitude and latitude information.
[0025] In combination with the first aspect, in a possible implementation manner, each of the M electronic fences has a unique upstream electronic fence and / or a unique downstream electronic fence.
[0026] In a second aspect, the present application provides a path planning device, comprising: a transceiver module, used to obtain the traffic flow of each of N road sections in a target area, each of the N road sections includes M electronic fences, the M electronic fences are connected to each other, different electronic fences among the M electronic fences correspond to different functional areas in the target area, and each of the different functional areas includes an area for vehicles to perform production operations; a processing module, used to use a machine learning algorithm to predict the passage time of a target vehicle in each of the N road sections based on the traffic flow of each of the N road sections, the target vehicle including a vehicle traveling from a first position in the target area to a second position in the target area; the processing module is also used to select K road sections from the N road sections to form a target driving path based on a preset path planning algorithm and at least one of preset constraint rules, and the target driving path makes the corresponding passage time when the target vehicle travels from the first position to the second position meet a preset condition.
[0027] In combination with the second aspect, in a possible implementation, the transceiver module is also used to: obtain a first area, the first area includes multiple functional areas, different functional areas of the multiple functional areas correspond to different bays and column positions in the first area; the processing module is also used to: divide the first area into multiple electronic fences corresponding to the multiple functional areas one by one, each of the multiple electronic fences has a determined geographical range; the processing module is also used to: update the first area to the target area.
[0028] In combination with the second aspect, in a possible implementation, each of the multiple electronic fences has the following properties: a polygonal shape, covering an accessible area of any vehicle, and including at least two consecutive global positioning system GPS points.
[0029] In combination with the second aspect, in a possible implementation, the transceiver module is also used to: obtain the location information of each vehicle among all vehicles located in the target area at the current moment; the processing module is also used to: determine the electronic fence corresponding to the location information of each vehicle; determine the road section where each vehicle is located based on the electronic fence corresponding to the location information of each vehicle; count the total number of vehicles included in each of the N road sections at the current moment, and the total number of vehicles indicates the traffic flow.
[0030] In combination with the second aspect, in a possible implementation, the transceiver module is also used to: if the target vehicle deviates from the target driving path while driving, send a prompt message to the target vehicle, and the prompt message indicates that the target vehicle deviates from the target driving path.
[0031] In combination with the second aspect, in a possible implementation, the location information of each vehicle includes longitude and latitude information.
[0032] In combination with the second aspect, in a possible implementation, each of the M electronic fences has a unique upstream electronic fence and / or a unique downstream electronic fence.
[0033] In a third aspect, a server is provided, comprising a processor, the processor being used to call a computer program from a memory, and when the computer program is executed, the processor being used to execute the method described in any possible implementation of the above-mentioned first aspect or the first aspect.
[0034] In a fourth aspect, a path planning device is provided, comprising a processor, the processor being used to call a computer program from a memory, and when the computer program is executed, the processor being used to execute the method described in the first aspect or any possible implementation of the first aspect.
[0035] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer-readable medium stores a program code for computer execution, wherein the program code includes a code for executing the method described in the first aspect or any possible implementation of the first aspect.
[0036] In a sixth aspect, a computer program product is provided, wherein the computer program product includes a computer program code, and when the computer program code runs on a computer, the computer implements the method described in the first aspect or any possible implementation manner of the first aspect.
[0037] In the method provided by the present application, since the target area is divided into different electronic fences based on different functional areas, and since each functional area corresponds to different bays and columns, when the vehicle drives to a certain electronic fence, the functional area where the vehicle is currently located can be clearly determined. That is, after the electronic fence is divided, when the path is planned for the target vehicle, the functional area where the first position is located and the functional area where the second position is located can be clearly described when the vehicle drives from the first position to the second position, so that the vehicle can be accurately positioned based on each functional area. Further, since the accurate positioning of each vehicle based on the functional area is achieved, the accuracy of the traffic flow of each section of the N sections obtained can be improved. In addition, since the present embodiment predicts the travel time of the target vehicle in each section by obtaining the traffic flow of each section in real time, that is, the travel time of the target vehicle in each section is not fixed, but based on actual dynamic changes, therefore, the present embodiment realizes the path planning of the vehicle in a dynamic environment by performing congestion analysis on each section, so that the target driving path finally determined is more reasonable and accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a structural schematic diagram of a terminal operation system provided by an embodiment of the present application;
[0039] Figure 2 It is a schematic diagram of the process of a path planning method according to an embodiment of the present application;
[0040] Figure 3 A schematic diagram of dividing different bay positions of a certain box area in a first area into electronic fences according to an embodiment of the present application;
[0041] Figure 4 A structural schematic diagram of an electronic fence provided in an embodiment of the present application;
[0042] Figure 5 A naming method for an electronic fence provided in an embodiment of the present application;
[0043] Figure 6 A structural schematic diagram of a generated road segment provided in an embodiment of the present application;
[0044] Figure 7 A structural schematic diagram of a three-dimensional space-time road network provided in an embodiment of the present application;
[0045] Figure 8 A structural schematic diagram of a method for quickly locating a vehicle's location information to an electronic fence using a spatial indexing technology based on an R-tree structure is provided for one embodiment of the present application;
[0046] Fig. 9A schematic diagram of the process of a preset path planning algorithm provided in an embodiment of the present application;
[0047] Fig.10 A structural schematic diagram of considering constraint rules when performing path planning provided by an embodiment of the present application;
[0048] Fig.11 A schematic diagram of a complete framework of path planning provided in an embodiment of the present application;
[0049] Fig.12 is a schematic diagram of the structure of a path planning device 1200 provided in an embodiment of the present application;
[0050] Fig.13 It is a structural diagram of a path planning device 1300 according to an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0052] To facilitate understanding, several terms involved in the embodiments of the present application are first introduced.
[0053] 1. Electronic fence
[0054] A pre-determined closed geometric area.
[0055] 2. Box area
[0056] Also known as the storage yard, it refers to the place in the container terminal where container delivery, storage of heavy containers and safety inspections are carried out. Some also include the area for storing chassis. The storage positions of containers in the container area are called shells, rows and layers in three dimensions.
[0057] Figure 1 is a structural schematic diagram of a terminal operation system provided by an embodiment of the present application. Figure 1 As shown, in this application scenario, the terminal operation system includes off-site vehicles 101, on-site vehicles 102, a yard 103 and a berth 104.
[0058] Among them, the off-site vehicle 101 can be considered as a vehicle from an area outside the closed factory area; the on-site vehicle 102 can be considered as a vehicle belonging to an area within the closed factory area. The two are responsible for different service types and have different driving constraints.
[0059] The yard 103 refers to the place in the terminal where container delivery, storage of heavy containers and safety inspection are carried out, and some also include the place where chassis vehicles are stored; specifically, the yard 103 can be composed of multiple container areas. Usually, each container area is divided into different blocks, for example, container area No. 2 is divided into area 2-1, area 2-2, etc. In each block, the specific position of each container is represented by three-dimensional coordinates, where the three-dimensional coordinates are respectively called shells, rows, and layers.
[0060] for Figure 1 In the terminal operation system shown, the off-site vehicle 101 usually needs to accurately navigate to the yard 103 and accurately dock at the designated bay. Then the operating equipment (such as a rail crane, a tire crane or a gantry crane) on the yard 103 walks to the designated bay to dock with the off-site vehicle 101 and accurately grab / release the container. For the in-site vehicle 102, after obtaining the container at the yard 103, it will accurately navigate to the berth 104 and accurately dock at the designated lane in the berth 104. After that, the operating equipment (such as a bridge crane) in the berth 104 will grab the container from the in-site vehicle 102 and place it at the designated bay of the ship, thereby realizing the import transportation of goods.
[0061] It is to be noted here that Figure 1 The route map for import transportation is only given as an example and does not constitute a limitation of the present application. For example, a route map for export transportation may also be included. Specifically, the operating equipment (such as a bridge crane) in the berth 104 grabs the container and places it on the in-plant vehicle 102, and then the in-plant vehicle 102 accurately navigates to the yard 103 and accurately docks at the designated bay, and then the operating equipment (such as a rail crane, tire crane or gantry crane) on the yard 103 walks to the designated bay to dock with the in-plant vehicle 101 and accurately grabs / releases the container, and then the out-of-plant vehicle 101 extracts the container from the yard 103 and accurately navigates to the export gate.
[0062] for Figure 1 In the terminal operation system shown in the figure, although the locations of various areas within the factory area have been clearly named and planned, a more complete technical system is still needed to achieve the transformation from traditional terminals to intelligent terminals. Among them, in order to achieve the transformation from traditional terminals to intelligent terminals, a key technology is to plan a path that meets the specified conditions from the starting position to the end position for the vehicle, which is also called path planning for the vehicle.
[0063] At present, a commonly used method for vehicle path planning is the Dijkstra algorithm. However, when using this algorithm for path planning, the travel time of the vehicle on the road section is usually set to a fixed value. When the vehicle actually travels on the road section, the road section conditions are usually different. For example, the congestion level on the road section usually changes over time. On the other hand, this method is not compatible with complex constraints, which makes it impossible to apply it in actual projects.
[0064] In view of this, the embodiment of the present application provides a path planning method. In the path planning method provided by the present application, first, according to each functional area (which can be considered as the area where the vehicle performs production operations), the map in the factory area is divided into electronic fences corresponding to each functional area one by one, so as to achieve accurate distinction of each functional area through the electronic fence; then, different road sections are generated based on the divided electronic fences. Finally, on the basis of generating the above-mentioned road sections, in order to realize reasonable path planning for the vehicle, the traffic volume of each road section in each road section in the factory area is first obtained to estimate the travel time of the vehicle on each road section; then, based on the travel time of the vehicle on each road section in each road section, the road section with the least corresponding travel time when the target vehicle travels from the starting position to the end position is determined, so as to realize reasonable path planning for the vehicle. It can be understood that, since in the method provided by the present application, the target area is divided into different electronic fences based on different functional areas, and since each functional area corresponds to different bays and columns, when the vehicle travels to a certain electronic fence, the functional area where the vehicle is currently located can be clearly determined. That is, after dividing the electronic fence, when planning the path for the target vehicle, it is possible to clearly describe the functional area where the first position is located and the functional area where the second position is located when the vehicle travels from the first position to the second position, so that the vehicle can be accurately positioned based on each functional area. Furthermore, since the accurate positioning of each vehicle based on the functional area is achieved, the accuracy of the traffic flow of each of the N sections obtained can be improved. In addition, since the present embodiment predicts the travel time of the target vehicle in each section by acquiring the traffic flow of each section in real time, that is, the travel time of the target vehicle in each section is not fixed, but is based on actual dynamic changes, therefore, the present embodiment implements the path planning of the vehicle in a dynamic environment by performing congestion analysis on each section, so that the target driving path finally determined is more reasonable and accurate.
[0065] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0066] Figure 2 FIG. 1 is a flow chart of a path planning method provided by an embodiment of the present application. Figure 2 As shown, the method of this embodiment may include S201, S202, S203, S204, S205 and S206.
[0067] S201, obtaining a first area, the first area including a plurality of functional areas, each of the plurality of functional areas including an area for vehicle production operations, and different functional areas in the plurality of functional areas corresponding to different bays and row positions in the first area.
[0068] The first area refers to a geographical area before the electronic fence is divided. It should be noted that the first area is also referred to as a factory area in this application.
[0069] The functional area can be considered as an area used for vehicle production operations. Figure 1 Taking the off-site vehicle 201 in the terminal operation system shown as an example, when the off-site vehicle 201 travels from outside the factory to the yard 203, the off-site vehicle 201 needs to stop at the functional area to allow the operating equipment in the yard 203 to accurately grab the container in the off-site vehicle 201.
[0070] It should be understood that, in general, the functional areas for vehicle production operations are set, that is, the positions of the functional areas are usually fixed, and each functional area corresponds to a certain bay position and a certain row position in the stockyard. For example, functional area 1 usually corresponds to bay position 1 and row position 1 in the stockyard, and functional area 2 usually corresponds to bay position 2 and row position 4 in the stockyard.
[0071] S202: Divide the first area into a plurality of electronic fences corresponding to the plurality of functional areas one by one and update the first area as a target area, wherein each of the plurality of electronic fences has a certain geographical range.
[0072] The target area refers to the geographical area divided by the electronic fence.
[0073] In this embodiment, after the first area is obtained, the entire first area is divided into multiple electronic fences corresponding to multiple functional areas, wherein different electronic fences can be considered to contain different geographical ranges in the first area, and each electronic fence can also be considered as a virtual area.
[0074] It is understandable that, since the divided electronic fences correspond to multiple functional areas one by one, and different functional areas among the multiple functional areas correspond to different bays and columns in the first area, when the vehicle drives to a certain electronic fence, it is possible to clearly determine the functional area that the vehicle is currently in. For example, after the electronic fences are divided, when planning a path for the target vehicle, it is possible to clearly describe the functional area where the first position is located and the functional area where the second position is located when the vehicle drives from the first position to the second position, thereby achieving accurate positioning of the vehicle based on each functional area.
[0075] For example, Figure 3 A schematic diagram of electronic fence division of different bay positions of a certain box area in the first area provided by an embodiment of the present application. Figure 3 As shown, the box area is divided into different electronic fences represented by BK025009, BK025011, BK025013, BK025015 and BK025017. Among them, each electronic fence represented by BK025009, BK025011, BK025013, BK025015 and BK025017 has a corresponding bay position.
[0076] In one possible implementation, when the first area is divided into a plurality of electronic fences, each electronic fence has the following properties: a polygonal shape, covering an accessible area of any vehicle, and including at least two consecutive global positioning system GPS points. As an example, Figure 4 This is a schematic diagram of the structure of an electronic fence provided in an embodiment of the present application. Figure 4 As shown, when the average speed of the vehicle is 5.56 meters per second, the length of the electronic fence should be greater than 11.12 meters.
[0077] It is to be noted that, in specific implementation, in order to standardize the naming of electronic fences, it is usually required to be able to parse the regional location, driving direction and connection relationship of the electronic fence from the naming. Figure 5 A schematic diagram of the naming method of electronic fences provided in one embodiment of the present application. Figure 5 As shown, the electronic fence is named HR020014, wherein HR02 indicates that the area location is Heng Er Road, 0 connected to HR02 indicates that the driving direction is from west to east, and the last three digits after HR020014 indicate that the current electronic fence is the 14th electronic fence and the upstream electronic fence connected to the electronic fence is HR020013 and the downstream electronic fence is HR020015.
[0078] It should be noted that the above naming is only an example and does not constitute a limitation of the present application. For example, the regional location may also include using YQ01 to represent the No. 1 approach bridge, using VR04 to represent the longitudinal fourth road, using BT05 to represent the No. 5 berth, using ES01 to represent the No. 1 charging station, etc.; the driving direction may also include using 0 to represent from west to east / from south to north, using 1 to represent from east to west / from north to south, using U to represent the upper approach bridge direction, using D to represent the lower approach bridge direction, etc.
[0079] S203, based on the connection relationship between the multiple electronic fences, generate N road sections in the target area, each of the N road sections includes M electronic fences, the M electronic fences are connected to each other, and different electronic fences among the M electronic fences correspond to different functional areas in the target area.
[0080] It is understandable that a large number of electronic fences in the target area are connected one by one, for example, HR020014 to HR020016 can only be reached through HR020015. Therefore, in this embodiment, all electronic fences that are connected to each other and have a single upstream and downstream are connected in series and defined as a "road section".
[0081] In this embodiment, each of the M electronic fences has a unique upstream electronic fence and / or a unique downstream electronic fence. Figure 6 This is a schematic diagram of a structure for generating a road segment according to an embodiment of the present application. Figure 6 As shown, HR021963 has only one downstream electronic fence, HR021964, and HR021964 has only one downstream HR021965. Similarly, HR021963 to HR021967 can be connected in series to form a road section (i.e., road section 1 in the figure). Similarly, HR020033 to HR020037 can be connected in series to form a road section (i.e., road section 2 in the figure).
[0082] It can be understood that by dividing the electronic fence and generating road sections based on the electronic fence, the entire area is expressed as a two-dimensional road network (or called a two-dimensional road network structure or a two-dimensional road network model) expressed by "electronic fences" and "road sections".
[0083] S204: Obtain the traffic volume of each of the N road sections in the target area.
[0084] In this embodiment, after N road sections are generated, the traffic flow of each of the N road sections is obtained respectively. It can be understood that the traffic flow can usually reflect the status of the road section (for example, reflect the attributes such as congestion level).
[0085] It should be understood that the two-dimensional road network expressed by electronic fences and road sections can only represent a static map corresponding to the target area, but the traffic conditions (such as traffic volume) corresponding to the same road section or the same electronic fence at different times or in different time periods are not always the same. For example, the traffic volume on Section 1 at 9:00 is 0, but starting at 9:30, Section 1 becomes extremely crowded.
[0086] Therefore, in the specific implementation of the present application, based on the two-dimensional road network expressed by "electronic fences" and "road sections", a time dimension is added to each road section / electronic fence. represents the No. 1 road section at time t, thereby establishing a three-dimensional space-time road network (also called a three-dimensional road network structure or a three-dimensional road network model or a three-dimensional space-time road network structure). It can be understood that In addition to many static attributes such as length, electronic fence, upstream section, downstream section, starting electronic fence, and end electronic fence, there are also important time-varying attributes such as traffic volume at time t and travel time at time t.
[0087] For example, Figure 7 A schematic diagram of a three-dimensional space-time road network structure provided by an embodiment of the present application. Figure 7 As shown, at time t0, time t1 and time tk, the conditions in the same two-dimensional road network model are different. For example, at time t0, only one electronic fence is occupied in the two-dimensional road network model, while at time t1 and time tk, multiple electronic fences are occupied. The occupation of an electronic fence can be understood as a vehicle in the geographical range where the electronic fence is located.
[0088] It can be understood that when the target area is further represented as a three-dimensional road network structure, a method for obtaining the traffic flow of each of the N road sections in the target area includes: obtaining the position information of each vehicle among all vehicles located in the target area at the current moment; determining the electronic fence corresponding to the position information of each vehicle; determining the road section where each vehicle is located based on the electronic fence corresponding to the position information of each vehicle; and counting the total number of vehicles included in each of the N road sections at the current moment, wherein the total number of vehicles indicates the traffic flow.
[0089] Specifically, when determining the electronic fence corresponding to the location information of each vehicle, in order to improve the efficiency of determining the electronic fence corresponding to the location information of each vehicle, in one achievable method, a spatial indexing technology based on an R-tree structure can be used to achieve rapid positioning of a large number of vehicle location information (such as longitude and latitude information) to tens of thousands of electronic fences. The core idea of this technology is to generate virtual ranges from small ranges to large ranges, such as Figure 8As shown in the figure, taking the vehicle's location information as latitude and longitude information as an example, the R1 spatial range contains three sub-space ranges of R3, R4, and R5, of which R3 contains three sub-space ranges of R8, R9, and R10, and so on. The smallest spatial range is the actual electronic fence. If the latitude and longitude information of a vehicle should fall within the electronic fence represented by R8, the search process will first determine that the latitude and longitude information belongs to the range of R1, then determine that it belongs to the range of R3, and so on, and finally match the electronic fence corresponding to R8.
[0090] Specifically, when determining the road section where each vehicle is located, in one scenario, for vehicles that do not have a planned route in the target area, the current latitude and longitude position of each vehicle can be obtained first, then mapped to the corresponding road section, and assigned to the current time; in another scenario, for vehicles that have a planned route in the target area, the route is first sliced according to the set time accuracy, and then the road section position corresponding to each time segment is obtained. Among them, the planned route means that each planned arrival time and planned departure time have been determined.
[0091] It can be understood that the total number of vehicles included in each of the N road sections at the current moment can reflect the traffic flow of each road section, and the traffic flow can reflect the congestion level of each road section.
[0092] S205, using a machine learning algorithm to predict the travel time of a target vehicle in each of the N road sections based on the traffic volume of each of the N road sections, wherein the target vehicle includes a vehicle traveling from a first position in the target area to a second position in the target area.
[0093] The first position may be considered as the starting position of the target vehicle when traveling, and the second position may be considered as the end position of the target vehicle when traveling.
[0094] It should be noted that the embodiments of the present application do not limit the specific form of the machine learning algorithm. For example, the machine learning algorithm may be a convolutional neural network or a support vector machine (SVM), which does not constitute a limitation on the present application.
[0095] It should be understood that the traffic volume is an important factor affecting the travel time of the target vehicle from the first location to the second location, that is, the traffic volume is a factor that needs to be considered for determining the path planning of the target vehicle from the first location to the second location. Therefore, in this embodiment, based on the traffic volume on each road section, the travel time of the target vehicle on each road section of N road sections is first predicted.
[0096] It is also noted that in actual applications, in addition to considering the traffic flow, other features (such as weather, vehicle load, vehicle type, etc.) can also be combined to predict the travel time of the target vehicle on each of the N road sections. The embodiments of the present application are not limited to this.
[0097] In this embodiment, a machine learning algorithm is also used to predict the travel time of the target vehicle in each of the N road sections based on the traffic flow of each of the N road sections, which is called congestion identification.
[0098] S206, based on a preset path planning algorithm and at least one of the preset constraint rules, select K road sections from N road sections to form a target driving path, wherein the target driving path makes the corresponding travel time when the target vehicle travels from the first position to the second position meet the preset conditions.
[0099] In this embodiment, after the travel time that the target vehicle will spend on each of the N road sections is determined, K road sections can be selected from the N road sections based on the determined travel time that each of the N road sections, wherein the K road sections enable the target vehicle to travel from a first position to a second position, and when the vehicle travels through the K road sections, the corresponding travel time can meet preset conditions.
[0100] In one achievable manner, when K road segments are selected from N road segments to form a target driving path, the target driving path may be determined according to at least one of a preset path planning algorithm and / or preset constraint rules.
[0101] In one example, when there are no preset constraint rules, the target driving path can be determined according to formula (1).
[0102]
[0103] Among them, f j is the shortest time from the starting point s to j, i is the predecessor node of point j, c ij (t) represents the travel time from node i to node j.
[0104] Specifically, Fig. 9 Schematic diagram of the specific process of the algorithm for determining the target driving path based on Formula 1. Fig. 9 As shown, when the algorithm starts to be executed and the time t=0 is set, the specific execution process of the algorithm is:
[0105] S901, mark the starting point fs as 0, and other points as positive infinity;
[0106] S902, taking the current point (also called the current node) i as the starting point, and marking the current point as being in the access state;
[0107] S903, determine whether the current node is a termination node, if so, execute S904, if not, execute S905 to S909.
[0108] S904, when the current node is a terminal node, output the shortest path planned by the algorithm and the actual travel time when the target vehicle travels from the first position to the second position.
[0109] S905, when the current node is not a terminal node, obtain all terminal nodes with the current point as the starting node;
[0110] S906, for each unvisited terminal node j, mark f j =min{(f i +c ij (t),f j};
[0111] S907, mark the preceding point of j as i;
[0112] S908, update current point i=argminf j , and mark it as accessed;
[0113] S909, update t=f i , until the current node is the end point, and then execute S904.
[0114] In another example, when planning a path for a target vehicle, it is usually necessary to meet many complex constraint rules. For example, many complex constraint rules may include: Constraint rule 1: If condition X is met, you need to go to Y. For example, the constraint rule "When the gantry crane is before 06 Bei or the operation instruction is before 06 Bei, except for 61, 71, 81, 6E, 7E, and 8E, other container areas, smart container trucks must turn left." Constraint rule 2: If condition X is met, it is forbidden to go to Y. For example, the constraint rule "road closure". Constraint rule 3: If condition X is met, driving behavior Z is prohibited. For example, the constraint rule "If there are containers piled in the temporary container area on the cross road, it is prohibited to turn around at the intersection on both sides of the container area." Constraint rule 4: Going to Y is not allowed unless necessary. For example, the constraint rule "Unless there is an operation task, the container truck is not allowed to pass through the container area." Constraint rule 5: Driving behavior Z is not allowed unless necessary. For example, the driving preference "try to avoid U-turns."
[0115] In this embodiment, in order to solve constraint rule 1, in one implementation, waypoints can be added when planning the path for the target vehicle, and Y, which must be traveled to, is used as a waypoint, and the problem of planning a path from A to B that meets the preset conditions is converted into the problem of planning a path from A to Y that meets the preset conditions and a path from Y to B that meets the preset conditions, and the conversion is an equivalent conversion. As an example, the path that meets the preset conditions includes the optimal path, such as the path with the least time, the path with the shortest distance, and so on.
[0116] In this embodiment, in order to solve constraint rule 2, in one implementation, the connectivity of the road network may be changed dynamically.
[0117] In this embodiment, in order to solve constraint rule three, in one implementation, the travel penalty value of the combined road section corresponding to the target vehicle driving behavior Z can be made sufficiently large.
[0118] In this embodiment, in order to solve constraint rule four, in one implementation, the penalty value of passing Y may be appropriately increased.
[0119] In this embodiment, in order to solve constraint rule five, in one implementation, the traffic penalty value of the combined road section corresponding to the driving behavior Z can be appropriately increased.
[0120] In practice, to apply these five solutions, a penalty value can be added based on the travel time from i to j at time t to represent the travel cost from i to j. Fig.10 This is a structural diagram of an embodiment of the present application when considering constraint rules when performing path planning. In this example, a target area including a total of 7 nodes is used as an example for introduction. Fig.10 As shown, the current area has starting point 1, waypoint 2, waypoint 3, waypoint 5, waypoint 6 and end point 7. For example, the constraint rule of "if condition x is met, it is necessary to go to Y" can be solved by adding waypoint 4 between waypoint 2 and waypoint 5; waypoint 3 can be deleted between location 1 and waypoint 6 to change the connectivity of the road network in the target area, thereby solving "if condition x is met, it is forbidden to go to Y". More specifically, "unnecessarily not allowed to go to Y", "if condition X is met, driving behavior Z is prohibited" and "unnecessarily not allowed to drive behavior Z" can be solved by the following formula (II).
[0121] c′ 47 (t) = c 47 (t)+p 47 +q 4 (Formula 2)
[0122] Among them, c′ 47(t) represents the travel time from waypoint 4 to end point 7 after considering the constraint rules, c 47 (t) represents the travel time from waypoint 4 to end point 7 before considering the constraint rules, q 4 represents the penalty value for passing through point 4, p 47 represents the penalty value of the section between the waypoint 4 and the end point 7. In one implementation, p 47 It can be obtained by the following formula 3.
[0123]
[0124] Among them, c' 24 (t) represents the travel time from waypoint 2 to waypoint 4 after considering the constraint rules, and f 2 represents the time taken by the target vehicle to reach waypoint 2, f 4 Indicates the travel time taken by the target vehicle to reach waypoint 4.
[0125] It can be understood that in this implementation, by taking the penalty value as a factor when considering the travel time, complex constraints in various scenarios can be implemented.
[0126] In this embodiment, since the target area is divided into different electronic fences based on different functional areas, and since each functional area corresponds to different bays and columns, when the vehicle drives to a certain electronic fence, the functional area where the vehicle is currently located can be clearly determined. That is, after the electronic fence is divided, when the path planning is performed for the target vehicle, the functional area where the first position is located and the functional area where the second position is located can be clearly described when the vehicle drives from the first position to the second position, so that the accurate positioning of the vehicle based on each functional area can be achieved. Further, since the accurate positioning of each vehicle based on the functional area is achieved, the accuracy of the traffic flow of each section in the N sections obtained can be improved. In addition, since this embodiment predicts the travel time of the target vehicle in each section by obtaining the traffic flow of each section in real time, that is, the travel time of the target vehicle in each section is not fixed, but based on actual dynamic changes, therefore, this embodiment implements the path planning of the vehicle in a dynamic environment by performing congestion analysis on each section, so that the target driving path finally determined is more reasonable and accurate.
[0127] As an optional embodiment, the path planning method provided by the present application can also add the following two control means in actual application according to the actual application scenario. Among them, the first control means includes: intervening in driving behavior, such as guiding the device to avoid congested sections through navigation; realizing micro-device scheduling at predetermined congested sections by pushing overtaking suggestions; controlling the flow limit and release of each section through traffic lights; the second control means includes: intervening in equipment scheduling, such as the task dispatching of the vehicle directly determines the equipment OD information, and inputting the path planning results corresponding to various possible pre-dispatch schemes into the equipment scheduling layer, guiding the scheduling layer to avoid task dispatching schemes that are likely to cause congestion.
[0128] As an optional embodiment, if the target vehicle deviates from the target driving path while driving, a prompt message can also be sent to the target vehicle, and the prompt message indicates that the target vehicle deviates from the target driving path. In this implementation, the driving state of the target vehicle can be detected in real time, and then the vehicle that deviates from the planned path can be replanned.
[0129] It should be noted that, in the specific implementation of the embodiment of the present application, more operations can be added on the basis of completing the above path planning. For example, Fig.11 A schematic diagram of a complete framework of path planning provided by an embodiment of the present application. Fig.11 As shown, in addition to completing 1 (automatically constructing a two-dimensional road network to generate a two-dimensional road network structure), 2 (building a space-time network based on the two-dimensional road network structure generated in 1 to generate a three-dimensional space-time road network structure), 3 (congestion identification based on the three-dimensional space-time road network structure to estimate the expected travel time of each road section), and 4 (route planning based on the expected travel time of each road section to obtain the path that the vehicle should travel), this embodiment may also include 5 (path correction), 6 (mining artificial driving preference auxiliary decision-making algorithm iteration), 7 (trajectory correction) and 8 (perceiving illegal driving behavior).
[0130] Specifically, path correction refers to obtaining the actual driving path of the vehicle in real time, then comparing the actual driving path of the vehicle with the path planned for the vehicle by the path planning algorithm, and then replanning the vehicle that deviates from the planned path.
[0131] Specifically, mining artificial driving preference and assisting decision-making algorithm iteration refers to comparing the actual driving path of the vehicle with the path planned for the vehicle, mining artificial driving preference, and assisting decision-making algorithm iteration.
[0132] Specifically, trajectory correction refers to correcting the vehicle positioning data after matching the vehicle positioning to the electronic fence to avoid adverse effects of inaccurate positioning data on subsequent functions.
[0133] Specifically, the perception of illegal driving behaviors can help perceive illegal driving behaviors based on the vehicle's trajectory data and regulate driving operations.
[0134] It is noted here that the detailed implementation of 1 (automatically constructing a two-dimensional road network to generate a two-dimensional road network structure) can be referred to Figure 2 The detailed description of S201 to S203 in the illustrated embodiment and the detailed implementation of 2 (building a spatiotemporal network based on the two-dimensional road network structure generated in 1 to generate a three-dimensional spatiotemporal road network structure) can be referred to Figure 2 The description of generating a three-dimensional road network structure in S204 in the illustrated embodiment and the detailed implementation of step 3 (predicting the estimated travel time of each road section by identifying congestion based on the three-dimensional spatiotemporal road network structure) can be referred to. Figure 2 The detailed implementation of S205 in the embodiment shown in the figure and the detailed implementation of 4 (planning a path based on the estimated travel time of each road section to obtain the path that the vehicle should travel) can be referred to. Figure 2 The detailed implementation of S206 in the illustrated embodiment will not be repeated here.
[0135] Fig.12 1 is a schematic diagram of the structure of a path planning device 1200 provided in an embodiment of the present application. Fig.12 As shown, the device 1200 includes: a transceiver module 1201 and a processing module 1202 .
[0136] Among them, the transceiver module 1201 is used to obtain the traffic flow of each of the N road sections in the target area, each of the N road sections includes M electronic fences, the M electronic fences are interconnected and each of the M electronic fences has a unique upstream electronic fence and / or a unique downstream electronic fence, different electronic fences in the M electronic fences correspond to different functional areas in the target area, and each of the different functional areas includes an area for vehicles to perform production operations; the processing module 1202 is used to use a machine learning algorithm to predict the travel time of the target vehicle in each of the N road sections based on the traffic flow of each of the N road sections, and the target vehicle includes a vehicle traveling from a first position in the target area to a second position in the target area; the processing module 1202 is also used to select K road sections from the N road sections to form a target driving path based on a preset path planning algorithm and at least one of the preset constraint rules, and the target driving path makes the corresponding travel time of the target vehicle when traveling from the first position to the second position meet the preset conditions.
[0137] In one example, the processing module 1202 is used to perform Figure 2In the embodiment shown, the step of using a machine learning algorithm based on the traffic volume of each of the N road sections. For example, the processing module 1202 is used to execute Figure 2 S205 in the illustrated embodiment.
[0138] In a possible implementation, the transceiver module 1201 is also used to: obtain a first area, the first area includes multiple functional areas, different functional areas of the multiple functional areas correspond to different bays and column positions in the first area; the processing module 1202 is also used to: divide the first area into multiple electronic fences corresponding to the multiple functional areas one by one, each of the multiple electronic fences has a certain geographical range; the processing module 1202 is also used to: update the first area to the target area.
[0139] In a possible implementation, each of the multiple electronic fences has the following properties: a polygonal shape, covering an accessible area of any vehicle, and including at least two consecutive global positioning system (GPS) points.
[0140] In a possible implementation, the transceiver module 1201 is also used to: obtain the location information of each vehicle among all vehicles located in the target area at the current moment; the processing module 1202 is also used to: determine the electronic fence corresponding to the location information of each vehicle; determine the road section where each vehicle is located based on the electronic fence corresponding to the location information of each vehicle; count the total number of vehicles included in each of the N road sections at the current moment, and the total number of vehicles indicates the traffic flow.
[0141] In a possible implementation, the transceiver module 1201 is further used to: if the target vehicle deviates from the target driving path while driving, send a prompt message to the target vehicle, wherein the prompt message indicates that the target vehicle deviates from the target driving path.
[0142] In a possible implementation, the location information of each vehicle includes latitude and longitude information.
[0143] Fig.13 1 is a schematic diagram of the structure of a path planning device 1300 according to an embodiment of the present application. The path planning device 1300 is used to execute the method described above.
[0144] The path planning device 1300 includes a processor 1310, and the processor 1310 is used to execute computer programs or instructions stored in a memory 1320, or read data stored in the memory 1320, so as to execute the methods in the above method embodiments. Optionally, there are one or more processors 1310.
[0145] Alternatively, if Fig.13 As shown, the path planning device 1300 also includes a memory 1320, which is used to store computer programs or instructions and / or data. The memory 1320 can be integrated with the processor 1310, or can also be separately set. Optionally, the memory 1320 is one or more.
[0146] Alternatively, if Fig.13 As shown, the path planning device 1300 further includes a communication interface 1330, and the communication interface 1330 is used for receiving and / or sending signals. For example, the processor 1310 is used to control the communication interface 1330 to receive and / or send signals.
[0147] Optionally, the path planning device 1300 is used to implement the operations described in the above method embodiments.
[0148] For example, the processor 1310 is used to execute the computer program or instructions stored in the memory 1320 to implement the relevant operations described in the above various method embodiments. For example, the processor 1310 can be used to: obtain the traffic flow of each of the N road sections in the target area, each of the N road sections includes M electronic fences, the M electronic fences are interconnected and each of the M electronic fences has a unique upstream electronic fence and / or a unique downstream electronic fence, different electronic fences in the M electronic fences correspond to different functional areas in the target area, and each of the different functional areas includes an area for vehicles to perform production operations; use a machine learning algorithm based on the traffic flow of each road section in the N road sections to predict the travel time of the target vehicle in each of the N road sections, the target vehicle includes a vehicle traveling from a first position in the target area to a second position in the target area; based on at least one of a preset path planning algorithm and a preset constraint rule, select K road sections from the N road sections to form a target driving path, and the target driving path makes the corresponding travel time of the target vehicle when traveling from the first position to the second position meet a preset condition.
[0149] In some examples, the processor 1310 is also used to: obtain a first area, the first area including multiple functional areas, different functional areas of the multiple functional areas corresponding to different bays and columns in the first area; divide the first area into multiple electronic fences corresponding to the multiple functional areas one by one, each of the multiple electronic fences having a determined geographical range; and update the first area to the target area.
[0150] In some examples, each of the plurality of electronic fences has the following properties: a polygonal shape, covering an accessible area of any vehicle, and including at least two consecutive global positioning system (GPS) points.
[0151] In some examples, processor 1310 is also used to: obtain location information of each vehicle among all vehicles located in the target area at a current moment; determine an electronic fence corresponding to the location information of each vehicle; determine a road section where each vehicle is located based on the electronic fence corresponding to the location information of each vehicle; and count the total number of vehicles included in each of the N road sections at the current moment, wherein the total number of vehicles indicates the traffic flow.
[0152] In some examples, the location information of each vehicle includes latitude and longitude information.
[0153] In the embodiment of the present application, the processor is a circuit with the ability to process signals. In one implementation, the processor can be a circuit with the ability to read and run instructions, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processing (DSP), etc.; in another implementation, the processor can realize certain functions through the logical relationship of the hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as the processor is a hardware circuit implemented by an application specific integrated circuit (ASIC) or a programmable logic device (PLD), such as a field programmable gate array (FPGA). In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural-network processing unit (NPU), a tensor processing unit (TPU), a data processing unit (DPU), etc.
[0154] It can be seen that each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
[0155] In addition, all or part of the units in the above device can be integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a system-on-a-chip (SOC). The SOC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device. The type of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.
[0156] Accordingly, the embodiment of the present application also provides a computer-readable storage medium storing a computer program, which, when the computer program / instruction is executed by a processor, causes the processor to implement Figure 2 The steps in the method are described.
[0157] Accordingly, the embodiment of the present application also provides a computer-readable storage medium storing a computer program, which, when the computer program / instruction is executed by a processor, causes the processor to implement Figure 2 The steps in the method are described.
[0158] Accordingly, the embodiment of the present application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, causes the processor to implement Figure 2 The steps in the method are described.
Claims
1. A path planning method, characterized in that: include: Obtaining the location information of each vehicle among all vehicles currently located in the target area; Determine an electronic fence corresponding to the location information of each vehicle; Determine the road section where each vehicle is located based on the electronic fence corresponding to the location information of each vehicle; The total number of vehicles included in each of the N road sections in the target area at the current moment is counted as the traffic flow of each of the N road sections, each of the N road sections includes M electronic fences, the M electronic fences are connected to each other, different electronic fences in the M electronic fences correspond to different functional areas in the target area, and each of the different functional areas includes an area for vehicles to perform production operations; Using a machine learning algorithm to predict the travel time of a target vehicle in each of the N road segments based on the traffic volume of each of the N road segments, the target vehicle comprising a vehicle traveling from a first location in the target area to a second location in the target area; Based on a preset path planning algorithm and at least one of the preset constraint rules, K road sections are selected from the N road sections to form a target driving path, and the target driving path makes the corresponding travel time when the target vehicle travels from the first position to the second position meet the preset conditions.
2. The method according to claim 1, characterized in that The method further comprises: Acquire a first region, wherein the first region includes a plurality of functional regions, and different functional regions in the plurality of functional regions correspond to different bay positions and column positions in the first region; Dividing the first area into a plurality of electronic fences corresponding to the plurality of functional areas one by one, each of the plurality of electronic fences having a certain geographical range; The first area is updated to be the target area.
3. The method according to claim 2, characterized in that Each of the multiple electronic fences has the following properties: a polygonal shape, covering an accessible area of any vehicle, and including at least two consecutive global positioning system (GPS) points.
4. The method according to claim 1, characterized in that The method further comprises: If the target vehicle deviates from the target driving path while driving, a prompt message is sent to the target vehicle, wherein the prompt message indicates that the target vehicle deviates from the target driving path.
5. The method according to claim 4, characterized in that The location information of each vehicle includes latitude and longitude information.
6. The method according to any one of claims 1 to 5, characterized in that Each of the M electronic fences has a unique upstream electronic fence and / or a unique downstream electronic fence.
7. A path planning device, characterized in that: include: A transceiver module, used for acquiring the traffic volume of each of N road sections in the target area, each of the N road sections includes M electronic fences, the M electronic fences are connected to each other, different electronic fences in the M electronic fences correspond to different functional areas in the target area, and each of the different functional areas includes an area for vehicles to perform production operations; The transceiver module is also used to obtain the position information of each vehicle among all vehicles currently located in the target area; a processing module, configured to predict a travel time of a target vehicle in each of the N road segments based on a traffic volume of each of the N road segments using a machine learning algorithm, wherein the target vehicle includes a vehicle traveling from a first location in the target area to a second location in the target area; and determining an electronic fence corresponding to the location information of each vehicle; Determine the road section where each vehicle is located based on the electronic fence corresponding to the location information of each vehicle; Counting the total number of vehicles included in each of the N road sections in the target area at the current moment, the total number of vehicles indicating the traffic flow; The processing module is further used to select K road sections from the N road sections to form a target driving path based on a preset path planning algorithm and at least one of a preset constraint rule, wherein the target driving path ensures that the corresponding travel time when the target vehicle travels from the first position to the second position meets a preset condition.
8. A server, characterized in that: Including the path planning device in the electronic map as described in claim 7.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions for computer execution, and when the instructions are executed, the method according to any one of claims 1 to 6 is performed.
Citation Information
Patent Citations
Traffic navigation system and method based on big data
CN106781592A
Driving duration prediction method and device
CN110849382A
