Path construction method and device, equipment and storage medium

By determining the rules of intermediate nodes in warehouse picking path planning, the path construction process is optimized, solving the problems of long time and low efficiency in picking path planning in the existing technology, and achieving fast and efficient path construction.

CN118795871APending Publication Date: 2024-10-18BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310316233.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing warehouse picking path planning methods, especially those using A-star-like algorithms and manual pathfinding solutions, are time-consuming and have uncertain results, resulting in low picking efficiency.

Method used

By obtaining the positional relationship between the first position point and the second position point in the target area, determining the rules of the intermediate nodes, and constructing a path from the first position point to the second position point in sequence, using the intermediate nodes to optimize the path construction process , improve the speed and efficiency of path construction.

Benefits of technology

It achieves rapid and accurate path construction, shortens path construction time, improves traffic efficiency, and makes the picking process more efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118795871A_ABST
    Figure CN118795871A_ABST
Patent Text Reader

Abstract

The invention provides a path construction method, device and equipment and a storage medium, relates to the technical field of computers, in particular to the technical fields of path construction, path optimization and the like, and can be applied to scenes such as warehouse order picking and library book searching. According to the specific implementation scheme, the method comprises the steps of obtaining a position relation between a first position point and a second position point in a target area; according to the position relation between the first position point and the second position point, determining an intermediate node determination rule corresponding to the position relation; determining an intermediate node between the first position point and the second position point according to an intermediate node determination rule corresponding to the position relationship; and constructing a path from the first position point to the second position point according to the intermediate node. According to the invention, the path from the first position point to the second position point can be quickly and accurately constructed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and specifically to technical fields such as path construction and path optimization, and can be applied to scenarios such as warehouse picking and library book searching, and in particular to a path construction method, device, equipment and storage medium. Background Art

[0002] Generally, large manufacturers have their own warehouses. The layout of the warehouse is generally similar to that of a library to store goods. When manufacturers need to ship goods, they need to pick the goods required in the order in the warehouse. A reasonable picking path can greatly improve the speed and efficiency of goods delivery, thereby greatly improving the corresponding economic benefits.

[0003] At present, the solutions for planning the picking path in the warehouse can include: using the A-star algorithm to traverse all the paths from the starting point of the warehouse to the picking point, and screening out the shortest path as the optimal path from the starting point to the picking point; or manually finding the shortest path from the starting point to the picking point as the optimal path based on experience.

[0004] However, when the program corresponding to the above-mentioned A-star algorithm is running, the process of traversing all paths is too time-consuming and the work efficiency is low. In the above-mentioned manual pathfinding solution, the pathfinding result is often related to manual experience and has great uncertainty, resulting in that the result of manual pathfinding is not necessarily the optimal path. Summary of the invention

[0005] The present disclosure provides a path construction method, device, equipment and storage medium, which can quickly and accurately construct a path from a first location point to a second location point.

[0006] According to a first aspect of the present disclosure, a path construction method is provided, the method comprising:

[0007] Obtain a positional relationship between a first position point and a second position point in a target area; wherein the positional relationship includes any one of the following: the first position point and the second position point are both in the first cargo area, or the first position point is in the first cargo area and the second position point is in the second cargo area, or the first position point is in a non-cargo area and the second position point is in the second cargo area; according to the positional relationship between the first position point and the second position point, determine an intermediate node determination rule corresponding to the positional relationship; according to the intermediate node determination rule corresponding to the positional relationship, determine an intermediate node between the first position point and the second position point; and construct a path from the first position point to the second position point according to the first position point, the intermediate node, and the second position point in sequence.

[0008] According to a second aspect of the present disclosure, a path construction device is provided, the device comprising: an acquisition unit, a search unit, a determination unit, and a construction unit.

[0009] An acquisition unit is used to acquire the coordinate positions of a first position point and a second position point; wherein the position relationship includes any one of the following: the first position point and the second position point are both in the first cargo area, or the first position point is in the first cargo area and the second position point is in the second cargo area, or the first position point is in a non-cargo area and the second position point is in the second cargo area; a search unit is used to determine an intermediate node determination rule corresponding to the position relationship according to the position relationship between the first position point and the second position point; a determination unit is used to determine an intermediate node between the first position point and the second position point according to the intermediate node determination rule corresponding to the position relationship; a construction unit is used to construct a path from the first position point to the second position point according to the first position point, the intermediate node, and the second position point in sequence.

[0010] According to a third aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method of the first aspect.

[0011] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, where the computer instructions are used to cause a computer to execute the method according to the first aspect.

[0012] According to a fifth aspect of the present disclosure, there is provided a computer program product, comprising a computer program, which implements the method according to the first aspect when executed by a processor.

[0013] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0015] Figure 1 A schematic diagram of a process flow of a path construction method provided in an embodiment of the present disclosure;

[0016] Figure 2 A schematic diagram of a position relationship between a first position point and a second position point provided in an embodiment of the present disclosure;

[0017] Figure 3A schematic diagram of another position relationship between a first position point and a second position point provided in an embodiment of the present disclosure;

[0018] Figure 4 The embodiments of the present disclosure provide Figure 1 A schematic diagram of an implementation process of S103;

[0019] Figure 5 A schematic diagram of another position relationship between a first position point and a second position point provided in an embodiment of the present disclosure;

[0020] Figure 6 A schematic diagram of another position relationship between a first position point and a second position point provided in an embodiment of the present disclosure;

[0021] Figure 7 A schematic diagram of another position relationship between a first position point and a second position point provided in an embodiment of the present disclosure;

[0022] Figure 8 A schematic diagram of another position relationship between a first position point and a second position point provided in an embodiment of the present disclosure;

[0023] Fig. 9 The embodiments of the present disclosure provide Figure 1 Another implementation flow diagram of S103;

[0024] Fig.10 A schematic diagram of another position relationship between a first position point and a second position point provided in an embodiment of the present disclosure;

[0025] Fig.11 A schematic diagram of another position relationship between a first position point and a second position point provided in an embodiment of the present disclosure;

[0026] Fig.12 A schematic diagram of another position relationship between a first position point and a second position point provided in an embodiment of the present disclosure;

[0027] Fig.13 A schematic diagram of the position relationship when there is an obstacle between two intermediate nodes provided in an embodiment of the present disclosure;

[0028] Fig.14 A schematic diagram of the composition of a path construction device provided in an embodiment of the present disclosure;

[0029] Fig.15 A schematic block diagram of an electronic device 1500 provided in accordance with an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0031] It should be understood that in the embodiments of the present disclosure, the character " / " generally indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", etc. are used only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features.

[0032] Generally, large manufacturers have their own warehouses. The layout of the warehouse is generally similar to that of a library to store goods. When manufacturers need to ship goods, they need to pick the goods required in the order in the warehouse. A reasonable picking path can greatly improve the speed and efficiency of goods delivery, thereby greatly improving the corresponding economic benefits.

[0033] For example, a goods warehouse can also be a large library, and picking goods can also mean that customers can find books in the library. In this scenario, the goods warehouse refers to the library; the warehouse layout refers to the layout of the library; the storage of goods refers to the storage of books; picking goods according to orders means that customers find the books they need in the designated location of the library according to the book orders they need to buy; the picking path refers to the customer's book search path. When the library is large or the layout of the library is relatively complex, reasonable path planning is needed to help customers find the books they want to buy in a short time, greatly improving the customer's purchasing efficiency.

[0034] At present, the solutions for planning the picking path in the warehouse can include: using the A-star algorithm to traverse all the paths from the starting point of the warehouse to the picking point, and screening out the shortest path as the optimal path from the starting point to the picking point; or manually finding the shortest path from the starting point to the picking point as the optimal path based on experience.

[0035] For example, when planning a book-finding path in a library, the A-star algorithm will traverse all the paths in the current library that can lead to the required books, and find the shortest path among all the paths as the optimal path. Traversing the path itself is a very time-consuming task. For example, a customer who is not familiar with the library is looking for the book he needs in a larger library. In the process of looking for books, customers who are not familiar with the layout of the library will waste unnecessary time on the search. They may eventually find the book they need, but the path they find is not the optimal path, or they may not find the book they need at all.

[0036] However, when the program corresponding to the above-mentioned A-star algorithm is running, the process of traversing all paths is too time-consuming and the work efficiency is low. In the above-mentioned manual pathfinding solution, the pathfinding result is often related to manual experience and has great uncertainty, resulting in that the result of manual pathfinding is not necessarily the optimal path.

[0037] For example, there is a customer who needs to quickly find the book he wants to buy in a larger library, but the waiting process for path planning greatly wastes the customer's time, and in an emergency, the long waiting time may also cause the customer to be missed; if the customer is allowed to find the book he needs in a larger library by himself, the customer who is not familiar with the library will lose a considerable amount of time in the process of looking for the book.

[0038] Against this background, the present disclosure provides a path construction method that can quickly and accurately construct a path from a first location point to a second location point. The time spent on constructing the path is short, and the constructed path has high traffic efficiency.

[0039] Exemplarily, the execution subject of the path construction method may be a computer or a server, or may be other devices with data processing capabilities. The execution subject of the method is not limited here.

[0040] In some embodiments, the server may be a single server, or a server cluster composed of multiple servers. In some implementations, the server cluster may also be a distributed cluster. The present disclosure does not limit the specific implementation of the server.

[0041] Figure 1 Schematic diagram of the process of the path construction method provided by the embodiment of the present disclosure. Figure 1 As shown, the method may include:

[0042] S101: Acquire a positional relationship between a first position point and a second position point in a target area.

[0043] The position relationship includes any one of the following: the first position point and the second position point are both in the first cargo area, or the first position point is in the first cargo area and the second position point is in the second cargo area, or the first position point is in a non-cargo area and the second position point is in the second cargo area.

[0044] Exemplarily, the target area may refer to: a large warehouse, a library and other areas, the first location point and the second location point may refer to: any two points existing in the target area, and obtaining the positional relationship between the first location point and the second location point includes: first obtaining the grid coordinates in the target area; and determining the first location point of the first object and the second location point of the second object; then determining the positions of the first location point and the second location point in the target area according to the grid coordinates; and finally determining the positional relationship between the first location point and the second location point.

[0045] Take the case of a picker picking goods in a large warehouse as an example (i.e., the target area is the large warehouse, the first location point is the location of the picker, and the second location point is the location of the goods).

[0046] For example, first you need to obtain a warehouse layout diagram, and use the lower left corner of the warehouse layout diagram as the edge point, the horizontal right as the X-axis, the horizontal upward as the Y-axis, and the actual 1 cm as 1 unit distance in the coordinate diagram to grid coordinate the warehouse layout diagram. In the warehouse layout diagram, the labeling parameters of the warehouse are: the length and width of the warehouse from a bird's-eye view; the numbering of the lanes is: the horizontal lanes are numbered from 0 from bottom to top, and the vertical lanes are numbered from 0 from left to right; the labeling method of the cargo grid in the warehouse is: the coordinates of the center point of the cargo grid from a bird's-eye view (x, y), the lane where the cargo grid is located (sx, sy), the upper and lower row positions P of the cargo grid, and the cargo area number (qx, qy) where the cargo grid is located; the labeling method of the shelf is: a set of four corner point coordinates of a complete shelf; the shelf refers to the cargo area The internal and the aisles between shelves; the annotation parameters of the cargo area are: using the dictionary {cargo area number, cargo area coordinates}, where the cargo area number is: the cargo area number is numbered from (0, 0) starting from the lower left corner of the area, indicating the 0th column cargo area of ​​the 0th row cargo area; the cargo area coordinates are: a set of corner point coordinates of any two diagonally opposite corners of the cargo area, and the corner point coordinates are determined by manual annotation; the annotation parameters of the wall channel are: a set of coordinates of two points at both ends of the wall channel; the annotation parameters of the obstacle are: a set of coordinates of the four corner points of the obstacle. Then judge the position relationship between the picker and the goods in the warehouse, whether the picker and the goods are inside or outside the cargo area; finally, the position relationship is abstracted by upper-level logic according to the position relationship between the picker and the goods in the warehouse.

[0047] Then, the positional relationship between the first position point and the second position point is determined.

[0048] Among them, in the target area, there is at least one location point between the first location point and the second location point in the cargo area.

[0049] For example, taking the example of a picker picking goods in a warehouse, no matter the picker is judged as the first position point or the goods are judged as the first position point, the goods exist in the cargo area. Therefore, the positional relationship between the picker and the goods in the warehouse can be divided into the following three situations: the picker is in the cargo area where the goods are located; the picker is in the cargo area, but not in the cargo area where the goods to be picked are located; or the picker is outside the cargo area and the goods are in the cargo area.

[0050] S102: Determine an intermediate node determination rule corresponding to the position relationship according to the position relationship between the first position point and the second position point.

[0051] Exemplarily, when the positional relationship between the first location point and the second location point is different, the corresponding intermediate node determination rules may be different. There may be a cargo area, a shelf, a cargo grid, and an obstacle between the first location point and the second location point. In different scenarios, the positional relationship between the first location point and the second location point is different. According to the preset positional relationship between the first location point and the second location point, the intermediate node determination rule corresponding to the positional relationship may be selected to determine the intermediate node.

[0052] For example, a mapping relationship between a position relationship and an intermediate node determination rule may be preset. After obtaining the position relationship between the first position point and the second position point, the mapping relationship may be queried to obtain the intermediate node determination rule corresponding to the position relationship.

[0053] S103: Determine an intermediate node between the first location point and the second location point according to an intermediate node determination rule corresponding to the location relationship.

[0054] Exemplarily, for each position relationship, an intermediate node between the first position point and the second position point may be determined according to an intermediate node determination rule corresponding to the position relationship to construct a path.

[0055] S104: construct a path from the first location point to the second location point according to the first location point, the intermediate node, and the second location point in sequence.

[0056] For example, in a scenario where a picker is picking goods in a warehouse, there may be cargo areas, storage racks, storage compartments, load-bearing columns and obstacles in the corresponding storage warehouse, etc. between the picker and the goods to be picked. In this case, it is necessary to determine the corresponding intermediate nodes based on the objects between the picker and the goods to ensure that the picker can quickly reach the goods to be picked through the intermediate nodes and pick the goods in a timely manner.

[0057] The disclosed embodiment obtains the positional relationship between the first location point and the second location point in the target area, and can determine the corresponding intermediate node determination rule based on the positional relationship between the two, and then determine the corresponding intermediate node. By constructing a path from the first location point to the second location point based on the intermediate node, a path from the first location point to the second location point can be quickly and accurately constructed. The path construction process is time-saving, and the constructed path between the first location point and the second location point can have better travel efficiency, such as a shorter path and a faster travel speed.

[0058] In some embodiments, the position relationship is that the first position point and the second position point are both in the first cargo area, and S103 may include: when the first position point and the second position point are located in the same shelf aisle in the first cargo area, determining that there is no intermediate node between the first position point and the second position point.

[0059] That is, in this embodiment, when the position relationship is that the first position point and the second position point are both in the first cargo area, and the first position point and the second position point are located in the same shelf aisle in the first cargo area, the intermediate node determination rule corresponding to the position relationship can be: determine that there is no intermediate node between the first position point and the second position point.

[0060] For example, taking the first position point as point S and the second position point as point E, Figure 2 A schematic diagram of a position relationship between a first position point and a second position point provided in an embodiment of the present disclosure. Figure 2 As shown, the picker Figure 2 The middle point can be S, and the goods are Figure 2 The middle point can be E. When the picker is in the same shelf aisle as the goods to be picked, there is no corresponding intermediate node at this time. The best path for picking is for the picker to go directly to the goods to pick them.

[0061] This embodiment can be used for a scenario where the first location point and the second location point are located in the same shelf aisle in the first cargo area. According to the intermediate node determination rule corresponding to the positional relationship, it can quickly determine that there is no intermediate node between the first location point and the second location point, thereby improving the efficiency of constructing a path from the first location point to the second location point.

[0062] In some embodiments, the positional relationship is that the first position point and the second position point are both in the first cargo area, and S103 also includes: when the first position point and the second position point are located in different shelf aisles in the first cargo area, and there are blank cargo cells on each shelf in the area enclosed by the first position point and the second position point, the positions of the blank cargo cells between the first position point and the second position point are sequentially taken as intermediate nodes.

[0063] That is, when the position relationship is that the first position point and the second position point are both in the first cargo area, and the first position point and the second position point are located in different shelf aisles in the first cargo area, and there is a blank cargo grid on each shelf in the area surrounded by the first position point and the second position point, the intermediate node determination rule corresponding to the position relationship can be: the positions of the blank cargo grids between the first position point and the second position point are taken as intermediate nodes in sequence.

[0064] Exemplarily, the first cargo area refers to: the cargo area where the current first position point and the second position point are located together; the area enclosed by the first position point and the second position point refers to: a rectangular area determined by the horizontal and vertical coordinates of the first position point and the horizontal and vertical coordinates of the second position point, and the first position point and the second position point are respectively located at the two ends of the diagonal of this rectangular area; a blank cargo grid refers to: in the shelves in the cargo area, there are no storage grids in the two rows of shelves placed side by side.

[0065] Figure 3 A schematic diagram of another positional relationship between a first position point and a second position point provided in an embodiment of the present disclosure.

[0066] like Figure 3 As shown, the picker Figure 3 The middle point can be S, and the goods are Figure 3 In the middle, it can be point E. When the picker is in the cargo area where the goods to be picked are located, but not in the same shelf aisle as the goods to be picked, and there are empty shelves between the picker and the goods, the picker can pick the goods through the empty shelves in turn. At this time, the empty shelves between the picker and the goods are taken as intermediate nodes in turn. Figure 3 They are: point A, point B, point C, and point D.

[0067] This embodiment determines the intermediate node determination rule in a scenario where the first position point and the second position point belong to the same cargo area and there are blank cargo cells on each shelf in the area surrounded by the first position point and the second position point. According to the corresponding intermediate node determination rule, the position points where the blank cargo cells are located between the first position point and the second position point are taken as intermediate nodes in sequence, thereby improving the efficiency of quickly constructing a path from the first position point to the second position point in this scenario.

[0068] In some embodiments, the position relationship is that the first position point and the second position point are both in the first cargo area. Figure 4 The embodiments of the present disclosure provide Figure 1 A schematic diagram of an implementation flow of S103 in FIG. Figure 4As shown, S103 also includes, that is, when the position relationship is that the first position point and the second position point are both in the first cargo area, and when the first position point and the second position point are located in different shelf aisles in the first cargo area, and there is at least one shelf without a blank cargo compartment in the area surrounded by the first position point and the second position point, the intermediate node determination rule corresponding to the position relationship can be:

[0069] S401. When the first position point and the second position point are located in different aisles within the first cargo area, and there is at least one shelf without empty shelves in the area enclosed by the first position point and the second position point, determine a first distance between the first position point and the first boundary of the first cargo area, a second distance between the second boundary, and a third distance between the second position point and the first boundary of the first cargo area, and a fourth distance between the second boundary, wherein the first boundary and the second boundary are relative to and perpendicular to the shelves in the first cargo area.

[0070] Exemplarily, the first cargo area refers to: the cargo area where the first position point and the second position point are located together; the first boundary and the second boundary refer to: the boundaries within the cargo area that are perpendicular to the direction of the shelves in the cargo area, the first boundary can be one of the boundaries, and the second boundary is the other boundary; the first distance refers to the distance from the first position point to the first boundary, the second distance refers to the distance from the first position point to the second boundary, the third distance refers to the distance from the second position point to the first boundary, and the fourth distance refers to the distance from the second position point to the second boundary.

[0071] In some implementations, the first boundary may be a side boundary perpendicular to the shelf direction, in which case the second boundary refers to the boundary of the cargo area on the other side perpendicular to the shelf direction; the first boundary may also be the other side boundary perpendicular to the shelf direction, in which case the second boundary refers to a side boundary of the cargo area on both sides perpendicular to the shelf direction.

[0072] S402: Determine a first boundary distance according to the first distance and the third distance.

[0073] Exemplarily, the first boundary distance refers to: the sum of the first distance and the third distance, which is the sum of the distance between the first position point and the first boundary and the distance between the second position point and the first boundary. Alternatively, the first boundary distance may also be the average distance between the first distance and the third distance.

[0074] S403: Determine a second boundary distance according to the second distance and the fourth distance.

[0075] Exemplarily, the second boundary distance refers to: the sum of the second distance and the fourth distance, which is the sum of the distance between the first position point and the second boundary and the distance between the second position point and the second boundary. Alternatively, the second boundary distance may also be the average distance between the second distance and the fourth distance.

[0076] S404: When the first boundary distance is smaller than the second boundary distance, the projection point of the first position point on the first boundary and the projection point of the second position point on the first boundary are sequentially used as intermediate nodes.

[0077] Exemplarily, when the first boundary distance is small, the intermediate node is determined by the projection points of the first position point and the second position point on the first boundary.

[0078] S405: When the first boundary distance is greater than the second boundary distance, the projection point of the first position point on the second boundary and the projection point of the second position point on the second boundary are sequentially used as intermediate nodes.

[0079] Exemplarily, when the second boundary distance is small, the intermediate node is determined by the projection points of the first position point and the second position point on the second boundary.

[0080] by Figure 5 For example, Figure 5 A schematic diagram of another positional relationship between a first position point and a second position point provided in an embodiment of the present disclosure.

[0081] For example, a picker Figure 5 The middle is point S, and the goods are Figure 5 The first cargo area refers to the cargo area where the pickers and the cargo are located together. The first boundary refers to the left boundary of the current cargo area. The second boundary refers to the right boundary of the current cargo area. The first distance refers to the distance from point S to the left boundary. The second distance refers to the distance from point E to the left boundary. The third distance refers to the distance from point E to the left boundary. The fourth distance refers to the distance from point E to the right boundary. The first boundary distance refers to the sum of the first distance and the third distance. The second boundary distance refers to the sum of the second distance and the fourth distance. When the picker is in the cargo area where the goods to be picked are located, but is not in the same shelf aisle as the goods to be picked and there is at least one shelf between the picker and the goods without an empty cargo compartment, the rule for determining the intermediate node between the first position point and the second position point is as follows: first determine which side of the cargo area boundary the sum of the distances between the picker and the goods is smaller. The cargo area boundary here refers to the vertical boundary between the cargo area and the shelves in the cargo area. When the sum of the distances between the picker and the goods and the left side of the cargo area boundary is smaller, then the projection point of the picker on the left boundary and the projection point of the goods on the left boundary are taken as intermediate nodes in turn. Figure 5 In the figure, they are point A and point B respectively; or when the sum of the distances between the picker and the goods and the right side of the boundary of the cargo area is small, then the projection point of the picker on the right side boundary and the projection point of the goods on the right side boundary are taken as intermediate nodes respectively.

[0082] This embodiment determines the intermediate node determination rule in a scenario where the first location point and the second location point are located in different shelf aisles within the first cargo area, and there is at least one shelf without empty cargo compartments within the area enclosed by the first location point and the second location point. According to the corresponding intermediate node determination rule, the intermediate node in this scenario is determined, thereby improving the efficiency of quickly constructing a path from the first location point to the second location point in this scenario.

[0083] In some embodiments, the position relationship is that the first position point is in the non-cargo area and the second position point is in the second cargo area, S103 may include, that is, when the position relationship is that the first position point is in the non-cargo area and the second position point is in the second cargo area, and when the first position point is within the area enclosed by the first boundary and the second boundary of the second cargo area, the intermediate node determination rule corresponding to the position relationship may be:

[0084] When the first location point is within the area enclosed by the first boundary and the second boundary of the second cargo area, a third distance between the second location point and the first boundary and a fourth distance between the second location point and the second boundary are determined.

[0085] When the third distance is less than the fourth distance, the projection point of the second position point on the first boundary is determined as the first intermediate node; the cargo area closest to the first position point in the area enclosed by the first position point and the second position point is determined as the first intermediate cargo area; among the four corner points of the first intermediate cargo area, the corner point on the same side as the projection point of the second position point and close to the first position point is selected as the second intermediate node, and the first intermediate node and the second intermediate node are sequentially used as intermediate nodes.

[0086] Exemplarily, the second cargo area refers to: the cargo area where the second position point is located, the first boundary refers to: one side boundary in the second cargo area that is perpendicular to the direction of the shelf, the second boundary refers to: the other side boundary in the second cargo area that is perpendicular to the direction of the shelf, the area enclosed by the first boundary and the second boundary refers to: the area enclosed by the first boundary and the second boundary, the third distance refers to: the distance between the second position point and the first boundary, the fourth distance refers to: the distance between the second position point and the second boundary, the first intermediate cargo area refers to: the cargo area closest to the first position point in the area enclosed by the first position point and the second position point, the first boundary can be any boundary perpendicular to the direction of the shelf, and the second boundary refers to the right side boundary of the cargo area on the other side perpendicular to the direction of the shelf.

[0087] Figure 6 A schematic diagram of another positional relationship between a first position point and a second position point provided in an embodiment of the present disclosure.

[0088] For example, a picker Figure 6 The middle is point S, and the goods are Figure 6The middle point is E, the second cargo area refers to the cargo area where the goods are located, the first boundary refers to: the left boundary of the cargo area where the goods are located, the second boundary refers to: the right boundary of the cargo area where the goods are located, the third distance refers to the distance between the goods and the left boundary, the fourth distance refers to the distance between the goods and the right boundary, the area surrounded by the first position point and the second position point refers to the rectangular area surrounded by the picker and the goods as the diagonal, the first intermediate cargo area refers to the cargo area where the goods are located, the first intermediate node refers to point A, and the second intermediate node refers to point B. At this time, the rule for determining the intermediate node between the first position point and the second position point is as follows: first, it is necessary to determine which side boundary of the cargo area the picker is at a smaller distance from. At this time, the distance between point E where the goods are located and the left boundary of the cargo area where the goods are located is smaller. At this time, the projection point of point E of the goods is first found on the left boundary, that is, point A. Then, the first cargo area is found in the area surrounded by points E and S, that is, the cargo area where point E is located. Among the four corner points of the cargo area where point E is located, the corner point on the left boundary and close to point S is point B. At this time, the intermediate nodes are determined as points A and B.

[0089] This embodiment determines the intermediate node in the scenario by determining the intermediate node determination rule in the scenario when the first position point is in the non-cargo area and the second position point is in the second cargo area, and when the first position point is in the area enclosed by the first boundary and the second boundary of the second cargo area, and determines the intermediate node in this scenario according to the corresponding intermediate node determination rule, thereby improving the efficiency of quickly constructing a path from the first position point to the second position point in this scenario.

[0090] In some embodiments, the position relationship is that the first position point is in the non-cargo area and the second position point is in the second cargo area, S103 may include, that is, when the position relationship is that the first position point is in the non-cargo area and the second position point is in the second cargo area, the first position point is not in the area enclosed by the first boundary and the second boundary, and the first position point is on one side of the first boundary, the intermediate node determination rule corresponding to the position relationship may be:

[0091] When the first position point is not within the area enclosed by the first boundary and the second boundary, and the first position point is on one side of the first boundary, the projection point of the second position point on the first boundary is used as the first intermediate node.

[0092] Determine whether the line connecting the first position point and the first intermediate node passes through the cargo area; when the line does not pass through the cargo area, take the first intermediate node as the intermediate node; when the line passes through the cargo area, take the cargo area closest to the first position point in the cargo area adjacent to the first boundary as the first intermediate cargo area, and select the corner point close to the first boundary and close to the first position point from the four corner points of the first intermediate cargo area as the second intermediate node, and then take the first intermediate node and the second intermediate node as the intermediate nodes in turn.

[0093] Exemplarily, the second cargo area refers to: the cargo area where the second position point is located, the first boundary refers to: one side boundary in the second cargo area that is perpendicular to the direction of the shelf, the second boundary refers to: the other side boundary in the second cargo area that is perpendicular to the direction of the shelf, the area enclosed by the first boundary and the second boundary refers to: the area enclosed by the first boundary and the second boundary, the first intermediate cargo area refers to: the cargo area adjacent to the first boundary and closest to the first position point, the first boundary can be any boundary of the cargo area perpendicular to the direction of the shelf, and the second boundary refers to the other side boundary of the cargo area perpendicular to the direction of the shelf.

[0094] Figure 7 A schematic diagram of another positional relationship between a first position point and a second position point provided in an embodiment of the present disclosure.

[0095] For example, a picker Figure 7 The middle is point S, and the goods are Figure 7 The middle is point E, the second cargo area refers to the cargo area where the goods are located, the first boundary refers to: the left boundary of the cargo area where the goods are located, the second boundary refers to: the right boundary of the cargo area where the goods are located, the area surrounded by the first boundary and the second boundary refers to: the area surrounded by the left boundary and the right boundary, and the first intermediate cargo area is Figure 7 The middle node refers to the cargo area adjacent to the cargo area where the goods are located on the left, and the first intermediate node refers to point A. At this time, according to the intermediate node determination rule corresponding to the positional relationship between the first position point and the second position point, the process of determining the intermediate node is as follows: when the picker is outside the cargo area where the goods to be picked are located, but not in other cargo areas and outside the left boundary of the cargo area where the goods are located, the left boundary here refers to the left cargo area boundary perpendicular to the shelf direction in the cargo area where the goods are located. First, the projection point of the goods on the left boundary is taken as the first intermediate node, that is, Figure 7 When there is no cargo area obstruction between the first intermediate node and the picker, the first intermediate node is taken as the intermediate node, which is Figure 7 Point A in .

[0096] Figure 8 An embodiment of the present disclosure provides another schematic diagram of the position relationship between a first position point and a second position point.

[0097] For example, when there is still a cargo area blocking the first intermediate node and the picker, the intermediate node determination rule corresponding to the positional relationship between the first position point and the second position point is used to determine the intermediate node. The process of determining the intermediate node is as follows: the cargo area on the left boundary of the cargo area where the goods are located and adjacent to the cargo area where the goods are located is taken as the first intermediate cargo area, that is, Figure 8 The cargo area 1 in the middle cargo area is the one closest to the picker among the two corner points on the right boundary of the first middle cargo area as the second middle node, that is, Figure 8 At this time, the first intermediate node and the second intermediate node are respectively used as intermediate nodes.

[0098] For another example, when the picker is outside the cargo area where the goods to be picked are located, but not in other cargo areas and outside the right boundary of the cargo area where the goods are located, the right boundary here refers to the right cargo area boundary perpendicular to the shelf direction in the cargo area where the goods are located. At this time, according to the intermediate node determination rule corresponding to the positional relationship between the first position point and the second position point, the process of determining the intermediate node is as follows: first, the projection point of the goods on the right boundary is taken as the first intermediate node. When there is no cargo area obstruction between the first intermediate node and the picker, the first intermediate node is taken as the intermediate node.

[0099] When there is still a cargo area blocking the first intermediate node and the picker, the intermediate node is determined according to the intermediate node determination rule corresponding to the positional relationship between the first position point and the second position point. The process of determining the intermediate node is as follows: the cargo area on the right side boundary of the cargo area where the goods are located and adjacent to the cargo area where the goods are located is taken as the first intermediate cargo area, and the corner point closest to the picker among the two corner points on the left side boundary of the first intermediate cargo area is taken as the second intermediate node. At this time, the first intermediate node and the second intermediate node are taken as intermediate nodes respectively.

[0100] This embodiment determines the intermediate node determination rule in a scenario where the first position point is in a non-cargo area and the second position point is in the second cargo area, the first position point is not in the area enclosed by the first boundary and the second boundary, and the first position point is on one side of the first boundary. According to the corresponding intermediate node determination rule, the intermediate node in this scenario is determined, thereby improving the efficiency of quickly constructing a path from the first position point to the second position point in this scenario.

[0101] In some embodiments, the first location point is in a first cargo area and the second location point is in a second cargo area. Fig. 9 The embodiments of the present disclosure provide Figure 1 Another implementation flow diagram of S103 is shown in FIG. Fig. 9 As shown, S103 also includes, that is, when the position relationship is that the first position point is in the first cargo area and the second position point is in the second cargo area, and when the first position point is within the area enclosed by the first boundary and the second boundary of the second cargo area, the intermediate node determination rule corresponding to the position relationship may be:

[0102] S901. When the first position point is within the area enclosed by the first boundary and the second boundary of the second cargo area, determine the first distance and the first projection point between the first position point and the first boundary of the first cargo area, the second distance and the second projection point between the first position point and the second boundary of the first cargo area, the third distance and the third projection point between the second position point and the first boundary of the second cargo area, and the fourth distance and the fourth projection point between the second position point and the second boundary of the second cargo area.

[0103] Exemplarily, the first position point may be the position point where the picker is located, the second position point may be the position point where the goods are located, the first cargo area refers to: the cargo area where the first position point is located, which may be the cargo area where the picker is located here, the second cargo area refers to: the cargo area where the second position point is located, which may be the cargo area where the picked goods are located here, the area surrounded by the first boundary and the second boundary of the second cargo area refers to: the area surrounded by two boundaries that are perpendicular to the direction of the shelves in the cargo area where the goods are located, the first boundary of the second cargo area may refer to: the left boundary that is perpendicular to the direction of the shelves in the cargo area where the goods are located, the second boundary of the second cargo area may refer to: the right boundary that is perpendicular to the direction of the shelves in the cargo area where the goods are located, the first boundary of the first cargo area may refer to: the left boundary of the cargo area where the picker is located, the first distance refers to: the distance between the picker's position point and the left boundary of the cargo area where the picker is located, and the first The shadow point refers to the projection point of the picker's position point on the left boundary of the cargo area where the picker is located. The second boundary of the first cargo area may refer to the right boundary of the cargo area where the picker is located. The second distance refers to the distance between the picker's position point and the right boundary of the cargo area where the picker is located. The first projection point refers to the projection point of the picker's position point on the right boundary of the cargo area where the picker is located. The first boundary of the second cargo area may refer to the left boundary of the cargo area where the goods are located. The third distance refers to the distance between the cargo position point and the left boundary of the cargo area where the goods are located. The third projection point refers to the projection point of the cargo position point on the left boundary of the cargo area where the goods are located. The second boundary of the second cargo area may refer to the right boundary of the cargo area where the goods are located. The fourth distance refers to the distance between the cargo position point and the right boundary of the cargo area where the goods are located. The fourth projection point refers to the projection point of the cargo position point on the right boundary of the cargo area where the goods are located.

[0104] S902: Determine a first boundary distance according to the first distance and the third distance.

[0105] Exemplarily, S902 may include summing the first distance and the third distance to obtain a first boundary distance.

[0106] In some other examples, the first boundary distance may also be an average distance between the first distance and the third distance, which is not limited here.

[0107] S903: Determine a second boundary distance according to the second distance and the fourth distance.

[0108] Exemplarily, the second distance and the fourth distance may be summed to obtain the second boundary distance.

[0109] In some other examples, the second boundary distance may also be an average distance between the second distance and the fourth distance, which is not limited here either.

[0110] S904: When the first boundary distance is smaller than the second boundary distance, the first projection point and the third projection point are used as intermediate nodes in sequence.

[0111] Exemplarily, when the first boundary distance is smaller than the second boundary distance, the projection points on the left boundaries of the two cargo areas may be determined as the middle nodes.

[0112] S905: When the first boundary distance is greater than the second boundary distance, the second projection point and the fourth projection point are used as intermediate nodes in sequence.

[0113] Exemplarily, when the first boundary distance is greater than the second boundary distance, the projection points on the respective right boundaries of the two cargo areas may be determined as the middle nodes.

[0114] by Fig.10 For example, Fig.10 A schematic diagram of another positional relationship between a first position point and a second position point provided in an embodiment of the present disclosure.

[0115] For example, the first position point is Fig.10 The middle is the picker S point, and the second position point is Fig.10 The first cargo area refers to cargo area 1, the second cargo area refers to cargo area 2, the first boundary of the first cargo area refers to the left boundary of cargo area 1, the second boundary of the first cargo area refers to the right boundary of cargo area 1, the first boundary of the second cargo area refers to the left boundary of cargo area 2, the second boundary of the second cargo area refers to the right boundary of cargo area 2, the area surrounded by the first boundary and the second boundary of the second cargo area refers to the area surrounded by the left boundary and the right boundary of cargo area 2, the first distance refers to the distance between point S and the left boundary of cargo area 1, the second distance refers to the distance between point S and the right boundary of cargo area 1, the first projection point refers to point B, and the third distance refers to the distance between point E and cargo area 2, the fourth distance refers to the distance between point E and the right boundary of cargo area 2, the third projection point refers to point A, and the first boundary distance refers to the sum of the distance from point S to the left boundary and the distance from point E to the left boundary. When the picker is outside the cargo area where the goods to be picked are located, and is in other cargo areas within the left and right boundary range of the cargo area where the goods are located, at this time, according to the intermediate node determination rule corresponding to the positional relationship between the first position point and the second position point, the process of determining the intermediate node is: take the position of the picker as the first position point, and take the position of the goods as the second position point. First, it is necessary to determine whether the sum of the distances from the left boundary of the picker and the goods is smaller or the sum of the distances from the right boundary is smaller. When the sum of the distances from the left boundary is smaller, take the projection point of the picker on the left boundary as the first intermediate node, that is, Fig.10 Point B in the figure, and take the projection point of the cargo on the left boundary as the second intermediate node. Fig.10Point A in the figure, in this case, the first intermediate node and the second intermediate node are the intermediate nodes that need to be determined. When the sum of the distances to the right boundary (i.e., the second boundary distance) is small, the projection point of the picker on the right boundary can be used as the first intermediate node, and the projection point of the goods on the right boundary can be used as the second intermediate node. In this case, the first intermediate node and the second intermediate node are the intermediate nodes that need to be determined.

[0116] This embodiment determines the intermediate node determination rule in a scenario where the first location point is in the first cargo area, the second location point is in the second cargo area, and the first location point is within the area enclosed by the first boundary and the second boundary of the second cargo area. According to the corresponding intermediate node determination rule, the intermediate node in this scenario is determined, thereby improving the efficiency of quickly constructing a path from the first location point to the second location point in this scenario.

[0117] In some embodiments, the position relationship is that the first position point is in the first cargo area and the second position point is in the second cargo area, S103 may include, that is, when the position relationship is that the first position point is in the first cargo area and the second position point is in the second cargo area, and when the first position point is not in the area surrounded by the first boundary and the second boundary of the second cargo area, the intermediate node determination rule corresponding to the position relationship may be:

[0118] When the first position point is not within the area enclosed by the first boundary and the second boundary of the second cargo area, determine the projection point of the second position point on the side boundary in the second cargo area close to the first position point as the second intermediate node; determine the projection point of the first position point on the side boundary in the first cargo area close to the second position point as the first intermediate node.

[0119] Exemplarily, the first cargo area refers to: the cargo area where the first position point is located, which may be the cargo area where the picker is located; the second cargo area refers to: the cargo area where the second position point is located, which may be the cargo area where the picked goods are located; the area enclosed by the first boundary and the second boundary of the second cargo area refers to: the area enclosed by two boundaries in the cargo area where the goods are located, which are perpendicular to the direction of the shelves in the cargo area.

[0120] When the first intermediate node and the second intermediate node are in the same lane, the first intermediate node and the second intermediate node will be used as intermediate nodes in turn.

[0121] Exemplarily, the first intermediate node and the second intermediate node being in the same lane means that the two points are distributed on both sides of a lane.

[0122] Fig.11 A schematic diagram of another positional relationship between a first position point and a second position point provided in an embodiment of the present disclosure.

[0123] For example, a picker Fig.11 The middle is point S, and the goods are Fig.11The point in the middle is E, the first cargo area refers to: cargo area 1, the second cargo area refers to: cargo area 2, the area surrounded by the first boundary and the second boundary of the second cargo area refers to: cargo area 2, the area surrounded by the left and right boundaries perpendicular to the direction of the shelves in cargo area 2, the first intermediate node refers to point B, and the second intermediate node refers to point A. When the picker is outside the cargo area where the goods to be picked are located, and is not in other cargo areas within the left and right boundary range of the cargo area where the goods are located, and the cargo area where the picker is located and the cargo area where the goods are located are in the same aisle, then according to the intermediate node determination rule corresponding to the positional relationship between the first position point and the second position point, the process of determining the intermediate node is: take the position of the picker as the first position point, and take the position of the goods as the second position point. First, when the picker is outside the left boundary of the cargo area where the goods are located, first take the projection point of the goods on the left boundary of the cargo area where the goods are located as the first intermediate node, that is, Fig.11 The point B in the figure is then taken as the projection point of the picker on the right boundary of the cargo area where the picker is located as the second intermediate node, that is, Fig.11 When the first intermediate node and the second intermediate node are in the same lane, the first intermediate node and the second intermediate node are the intermediate nodes that need to be determined, and the intermediate nodes are point B and point A respectively. When the picker is outside the right boundary of the cargo area where the goods are located, the projection point of the goods on the right boundary of the cargo area where the goods are located is first taken as the first intermediate node, and then the projection point of the picker on the left boundary of the cargo area where the picker is located is taken as the second intermediate node. When the first intermediate node and the second intermediate node are in the same lane, the first intermediate node and the second intermediate node are the intermediate nodes that need to be determined.

[0124] This embodiment determines the intermediate node determination rule in a scenario where the first position point is in the first cargo area and the second position point is in the second cargo area, the first position point is not in the area enclosed by the first boundary and the second boundary of the second cargo area, and the first intermediate node and the second intermediate node are in the same lane. According to the corresponding intermediate node determination rule, the intermediate nodes in this scenario are determined, thereby improving the efficiency of quickly constructing a path from the first position point to the second position point in this scenario.

[0125] In some embodiments, the position relationship is that the first position point is in the first cargo area and the second position point is in the second cargo area, S103 may include, that is, when the position relationship is that the first position point is in the first cargo area and the second position point is in the second cargo area, and the first position point is not in the area surrounded by the first boundary and the second boundary of the second cargo area, the intermediate node determination rule corresponding to the position relationship may be:

[0126] When the first position point is not within the area enclosed by the first boundary and the second boundary of the second cargo area, determine the projection point of the second position point on the side boundary in the second cargo area close to the first position point as the second intermediate node; determine the projection point of the first position point on the side boundary in the first cargo area close to the second position point as the first intermediate node.

[0127] Exemplarily, the first cargo area refers to: the cargo area where the first position point is located, which may be the cargo area where the picker is located; the second cargo area refers to: the cargo area where the second position point is located, which may be the cargo area where the picked goods are located; the area enclosed by the first boundary and the second boundary of the second cargo area refers to: the area enclosed by two boundaries in the cargo area where the goods are located, which are perpendicular to the direction of the shelves in the cargo area.

[0128] When the first intermediate node and the second intermediate node are in different lanes, determine the projection point of the first intermediate node on the second boundary of the third cargo area. The third cargo area is located on one side of the second boundary of the first cargo area and is the cargo area most adjacent to the first cargo area. Then the first intermediate node, the projection point, and the second intermediate node are taken as intermediate nodes in turn.

[0129] Exemplarily, the third cargo area refers to a cargo area located on one side of the second boundary of the first cargo area and closest to the second cargo area, and the projection point refers to the projection point of the first position point on the second boundary of the third cargo area.

[0130] Fig.12 A schematic diagram of another positional relationship between a first position point and a second position point provided in an embodiment of the present disclosure.

[0131] For example, a picker Fig.11 The middle is point S, and the goods are Fig.11The first cargo area refers to cargo area 1, the second cargo area refers to cargo area 2, the third cargo area refers to cargo area 3, the second boundary of the third cargo area refers to the right boundary of cargo area 3, the area surrounded by the first boundary and the second boundary of the second cargo area refers to the area surrounded by the left and right boundaries of cargo area 2 that are perpendicular to the direction of the shelves in cargo area 2, the side boundary of the second position point in the second cargo area close to the first position point refers to the left boundary of cargo area 2, the side boundary of the first position point in the first cargo area close to the second position point refers to the right boundary of cargo area 1, the first intermediate node refers to point B, the second intermediate node refers to point A, and the projection point refers to point C. When the picker is outside the cargo area where the goods to be picked are located and is not in other cargo areas within the left and right boundary range of the cargo area where the goods are located, and the cargo area where the picker is located and the cargo area where the goods are located are in different lanes, at this time, according to the intermediate node determination rule corresponding to the positional relationship between the first position point and the second position point, the process of determining the intermediate node is: taking the position of the picker as the first position point and the position of the goods as the second position point. First, when the picker is outside the left boundary of the cargo area where the goods are located, the projection point of the picker on the right boundary of the cargo area where the picker is located is taken as the first intermediate node, and then the projection point of the goods on the left boundary of the cargo area where the goods are located is taken as the second intermediate node. When the first intermediate node and the second intermediate node are in different lanes, the third intermediate node is determined at the first intermediate node and the second intermediate node. The third cargo area refers to: the right boundary of cargo area 1 and the cargo area closest to cargo area 2, that is, Fig.11 The third intermediate node refers to the projection point of the picker on the right boundary of cargo area 3. Fig.11 The intermediate nodes are: the first intermediate node, the projection point, and the second intermediate node. Fig. 9 They are point B, point C, and point A respectively.

[0132] For another example, when the picker is outside the right boundary of the cargo area where the goods are located, at this time, according to the intermediate node determination rule corresponding to the positional relationship between the first position point and the second position point, the process of determining the intermediate node is: taking the projection point of the picker on the left boundary of the cargo area where the picker is located as the first intermediate node, and then taking the projection point of the goods on the right boundary of the cargo area where the goods are located as the second intermediate node. When the first intermediate node and the second intermediate node are in different lanes, at this time, the third intermediate node is determined from the first intermediate node and the second intermediate node. The third intermediate node is: located on a cargo area adjacent to the cargo area where the goods are located on the right boundary of the goods, and is the projection point of the picker on the left boundary of this cargo area. At this time, the intermediate nodes are: the first intermediate node, the third intermediate node and the second intermediate node.

[0133] This embodiment determines the intermediate node determination rule in a scenario when the first position point is in the first cargo area and the second position point is in the second cargo area, the first position point is not in the area enclosed by the first boundary and the second boundary of the second cargo area, and the first intermediate node and the second intermediate node are in different lanes. According to the corresponding intermediate node determination rule, the intermediate nodes in this scenario are determined, thereby improving the efficiency of quickly constructing a path from the first position point to the second position point in this scenario.

[0134] In some embodiments, when there is an obstacle between any two points in the passage, S103 may include, that is, after determining the corresponding intermediate node determination rule according to the positional relationship between the first position point and the second position point, and determining the intermediate node according to the corresponding intermediate node determination rule, when there is an obstacle between any two points in the passage, the corresponding intermediate node determination rule is:

[0135] The intermediate nodes are updated according to any corner point of the obstacle, and the path is updated according to the updated intermediate nodes.

[0136] Exemplarily, obstacles may be trucks, walls, load-bearing columns, and other objects in the warehouse that affect the normal passage of pickers and are marked on the warehouse layout diagram; they may also be tables, walls, load-bearing columns, and other objects in the library that affect the normal passage of customers and are marked on the library layout diagram.

[0137] Fig.13 A schematic diagram of the positional relationship when there is an obstacle between two intermediate nodes provided in an embodiment of the present disclosure.

[0138] For example, Fig.13 In the figure, point D is a corner point of the obstacle. In the optimal arrival path, when an obstacle appears between any two intermediate nodes including the first position point and the second position point, the rule for determining the intermediate node between the first position point and the second position point is: any corner point of the obstacle on the way can be selected as point D to be determined as the intermediate node between the two nodes to update the intermediate node, thereby updating the optimal arrival path.

[0139] In this embodiment, after the intermediate nodes are determined according to the intermediate node determination rules in the above-mentioned different scenarios and the optimal arrival path is completed, the obstacles appearing on the path can be determined according to the positions actually existing at the two intermediate nodes (including the first position point and the second position point). The corresponding intermediate node determination rule in this scenario is: determine the corresponding intermediate nodes in the obstacles to reconstruct the optimal arrival path, and determine the intermediate nodes in this scenario according to the corresponding intermediate node determination rules in this scenario, which further covers the scenario problems of path construction and improves the efficiency of quickly constructing a path from the first position point to the second position point when obstacles exist.

[0140] In an exemplary embodiment, the present disclosure also provides a path construction device, which can be used to implement the intermediate node determination method as described in the above embodiment. Fig.14 Schematic diagram of the composition of the path construction device provided in the embodiment of the present disclosure. Fig.14 As shown, the device may include: an acquiring unit 1401 , a searching unit 1402 , a determining unit 1403 , and a constructing unit 1404 .

[0141] The acquisition unit 1401 is used to acquire the coordinate positions of the first position point and the second position point; wherein the position relationship includes any one of the following: the first position point and the second position point are both in the first cargo area, or the first position point is in the first cargo area and the second position point is in the second cargo area, or the first position point is in the non-cargo area and the second position point is in the second cargo area;

[0142] The searching unit 1402 is configured to determine an intermediate node determination rule corresponding to the position relationship according to the position relationship between the first position point and the second position point.

[0143] The determination unit 1403 is used to determine the intermediate node between the first location point and the second location point according to the intermediate node determination rule corresponding to the position relationship.

[0144] The construction unit 1404 is used to construct a path from the first location point to the second location point according to the first location point, the intermediate node, and the second location point in sequence.

[0145] Optionally, the position relationship is that the first position point and the second position point are both in the first cargo area, and the determination unit 1403 is specifically used to: when the first position point and the second position point are located in the same shelf aisle in the first cargo area, determine that there is no intermediate node between the first position point and the second position point.

[0146] Optionally, the determination unit 1403 is also used to: when determining the intermediate node between the first position point and the second position point based on the positional relationship between the first position point and the second position point, it also includes: when the first position point and the second position point are located in different shelf aisles within the first cargo area, and there are blank cargo cells on each shelf within the area enclosed by the first position point and the second position point, the positions of the blank cargo cells between the first position point and the second position point are sequentially used as intermediate nodes.

[0147] Optionally, the determination unit 1403 is also used to: determine a first distance between the first position point and the first boundary of the first cargo area, a second distance between the second boundary, and a third distance between the second position point and the first boundary of the first cargo area and a fourth distance between the second boundary, when the first position point and the second position point are located in different shelf aisles within the first cargo area, and there is at least one shelf without a blank cargo compartment within the area enclosed by the first position point and the second position point, and a first distance between the second position point and the first boundary of the first cargo area and a fourth distance between the second boundary, the first boundary and the second boundary being relative to and perpendicular to the shelves in the first cargo area; determine the first boundary distance based on the first distance and the third distance; determine the second boundary distance based on the second distance and the fourth distance; when the first boundary distance is less than the second boundary distance, sequentially use the projection point of the first position point on the first boundary and the projection point of the second position point on the first boundary as intermediate nodes; when the first boundary distance is greater than the second boundary distance, sequentially use the projection point of the first position point on the second boundary and the projection point of the second position point on the second boundary as intermediate nodes.

[0148] Optionally, the position relationship is that the first position point is in a non-cargo area and the second position point is in a second cargo area, and the determination unit 1403 is specifically used to: when the first position point is in an area enclosed by a first boundary and a second boundary of the second cargo area, determine a third distance between the second position point and the first boundary and a fourth distance between the second position point and the second boundary; when the third distance is less than the fourth distance, determine the projection point of the second position point on the first boundary as a first intermediate node; determine the cargo area closest to the first position point in the area enclosed by the first position point and the second position point as a first intermediate cargo area; and among the four corner points of the first intermediate cargo area , select the corner point on the same side as the projection point of the second position point and close to the first position point as the second intermediate node, and then use the first intermediate node and the second intermediate node as intermediate nodes in sequence; when the third distance is greater than the fourth distance, determine the projection point of the second position point on the second boundary as the first intermediate node; determine the cargo area closest to the first position point in the area enclosed by the first position point and the second position point as the first intermediate cargo area; among the four corner points of the first intermediate cargo area, select the corner point on the same side as the projection point of the second position point and close to the first position point as the second intermediate node, and then use the first intermediate node and the second intermediate node as intermediate nodes in sequence.

[0149] Optionally, the determination unit 1403 is also used to: when the first position point is not within the area enclosed by the first boundary and the second boundary, and the first position point is on one side of the first boundary, use the projection point of the second position point on the first boundary as the first intermediate node; determine whether the line connecting the first position point and the first intermediate node passes through the cargo area; when the line does not pass through the cargo area, use the first intermediate node as the intermediate node; when the line passes through the cargo area, use the cargo area closest to the first position point in the cargo area adjacent to the first boundary as the first intermediate cargo area, select the corner point close to the first boundary and close to the first position point from the four corner points of the first intermediate cargo area as the second intermediate node, and then use the first intermediate node and the second intermediate node as intermediate nodes in sequence.

[0150] Optionally, the position relationship is that the first position point is in the first cargo area and the second position point is in the second cargo area, and the determination unit 1403 is specifically used to: when the first position point is within the area enclosed by the first boundary and the second boundary of the second cargo area, determine the first distance and the first projection point between the first position point and the first boundary of the first cargo area, the second distance and the second projection point between the first position point and the second boundary of the first cargo area, the third distance and the third projection point between the second position point and the first boundary of the second cargo area, and the fourth distance and the fourth projection point between the second position point and the second boundary of the second cargo area; determine the first boundary distance based on the first distance and the third distance; determine the second boundary distance based on the second distance and the fourth distance; when the first boundary distance is less than the second boundary distance, use the first projection point and the third projection point as intermediate nodes in sequence; when the first boundary distance is greater than the second boundary distance, use the second projection point and the fourth projection point as intermediate nodes in sequence.

[0151] Optionally, the determination unit 1403 is further used to: when the first position point is not within the area enclosed by the first boundary and the second boundary of the second cargo area, determine the projection point of the second position point in the second cargo area, close to the first position point on the first boundary or the second boundary as the first intermediate node; determine the projection point of the first position point in the first cargo area, close to the second position point on the first boundary or the second boundary as the second intermediate node; when the first intermediate node and the second intermediate node are in the same lane, the first intermediate node and the second intermediate node will be used as intermediate nodes in turn.

[0152] Optionally, the determination unit 1403 is also used to: when the first position point is not within the area enclosed by the first boundary and the second boundary of the second cargo area, and the first intermediate node and the second intermediate node are in different lanes, determine the projection point of the first intermediate node on the first boundary of the third cargo area, the third cargo area is located at the second boundary of the first cargo area, and is the cargo area most adjacent to the first cargo area; then the first intermediate node, the projection point, and the second intermediate node are taken as intermediate nodes in sequence.

[0153] Optionally, the construction unit 1404 is further configured to: when there is an obstacle between any two points in the passage path, update the intermediate node according to any corner point of the obstacle, and update the path according to the updated intermediate node.

[0154] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0155] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0156] In an exemplary embodiment, an electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described in the above embodiment.

[0157] In an exemplary embodiment, the readable storage medium may be a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to cause a computer to execute the method according to the above embodiment.

[0158] In an exemplary embodiment, a computer program product includes a computer program, and when the computer program is executed by a processor, the method according to the above embodiment is implemented.

[0159] Fig.15 A schematic block diagram of an electronic device 1500 is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0160] like Fig.15 As shown, the electronic device 1500 includes a computing unit 1501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1502 or a computer program loaded from a storage unit 1508 into a random access memory (RAM) 1503. In the RAM 1503, various programs and data required for the operation of the electronic device 1500 can also be stored. The computing unit 1501, the ROM 1502, and the RAM 1503 are connected to each other via a bus 1504. An input / output (I / O) interface 1505 is also connected to the bus 1504.

[0161] Multiple components in the electronic device 1500 are connected to the I / O interface 1505, including: an input unit 1506, such as a keyboard, a mouse, etc.; an output unit 1507, such as various types of displays, speakers, etc.; a storage unit 1508, such as a disk, an optical disk, etc.; and a communication unit 1509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1509 allows the electronic device 1500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0162] The computing unit 1501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1501 performs the various methods and processes described above, such as the path construction method. For example, in some embodiments, the path construction method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1500 via ROM 1502 and / or communication unit 1509. When the computer program is loaded into RAM 1503 and executed by the computing unit 1501, one or more steps of the path construction method described above may be performed. Alternatively, in other embodiments, the computing unit 1501 may be configured to execute the path construction method in any other appropriate manner (e.g., by means of firmware).

[0163] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0164] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0165] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0166] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0167] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0168] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0169] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0170] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A path construction method, the method comprising: Acquire a positional relationship between a first position point and a second position point in a target area, wherein the positional relationship includes any one of the following: the first position point and the second position point are both in a first cargo area, or the first position point is in the first cargo area and the second position point is in the second cargo area, or the first position point is in a non-cargo area and the second position point is in the second cargo area; Determine, according to the positional relationship between the first position point and the second position point, an intermediate node determination rule corresponding to the positional relationship; Determine an intermediate node between the first location point and the second location point according to an intermediate node determination rule corresponding to the position relationship; A path from the first location point to the second location point is constructed according to the first location point, the intermediate node, and the second location point in sequence.

2. According to the method of claim 1, the position relationship is that the first position point and the second position point are both in the first cargo area, and the determining the intermediate node between the first position point and the second position point according to the intermediate node determination rule corresponding to the position relationship comprises: When the first location point and the second location point are located in the same aisle in the first cargo area, it is determined that there is no intermediate node between the first location point and the second location point.

3. The method according to claim 2, wherein determining the intermediate node between the first location point and the second location point according to the intermediate node determination rule corresponding to the position relationship further comprises: When the first location point and the second location point are located in different aisles within the first cargo area, and there are blank cargo cells on each shelf within the area enclosed by the first location point and the second location point, the locations of the blank cargo cells between the first location point and the second location point are sequentially used as the intermediate nodes.

4. The method according to claim 2 or 3, wherein determining the intermediate node between the first location point and the second location point according to the intermediate node determination rule corresponding to the position relationship further comprises: When the first position point and the second position point are located in different aisles in the first cargo area, and there is at least one shelf without a blank cargo compartment in the area enclosed by the first position point and the second position point, a first distance between the first position point and a first boundary of the first cargo area and a second distance between the second boundary, and a third distance between the second position point and a first boundary of the first cargo area and a fourth distance between the second boundary are determined, and the first boundary and the second boundary are relative to and perpendicular to the shelves in the first cargo area; Determine a first boundary distance according to the first distance and the third distance; Determine a second boundary distance according to the second distance and the fourth distance; When the first boundary distance is smaller than the second boundary distance, the projection point of the first position point on the first boundary and the projection point of the second position point on the first boundary are sequentially used as the intermediate nodes; When the first boundary distance is greater than the second boundary distance, the projection point of the first position point on the second boundary and the projection point of the second position point on the second boundary are sequentially used as the intermediate nodes.

5. The method according to claim 1, wherein the position relationship is that the first position point is in a non-cargo area and the second position point is in a second cargo area, and the determining the intermediate node between the first position point and the second position point according to the intermediate node determination rule corresponding to the position relationship comprises: When the first location point is within the area enclosed by the first boundary and the second boundary of the second cargo area, determining a third distance between the second location point and the first boundary and a fourth distance between the second location point and the second boundary; When the third distance is less than the fourth distance, the projection point of the second position point is determined on the first boundary as the first intermediate node; the cargo area closest to the first position point in the area enclosed by the first position point and the second position point is determined as the first intermediate cargo area; among the four corner points of the first intermediate cargo area, the corner point on the same side as the projection point of the second position point and close to the first position point is selected as the second intermediate node, and the first intermediate node and the second intermediate node are sequentially used as the intermediate nodes; When the third distance is greater than the fourth distance, determining a projection point of the second position point on the second boundary as a first intermediate node; Determine the cargo area closest to the first position point in the area enclosed by the first position point and the second position point as the first intermediate cargo area; among the four corner points of the first intermediate cargo area, select the corner point on the same side as the projection point of the second position point and close to the first position point as the second intermediate node, and then use the first intermediate node and the second intermediate node as the intermediate nodes in sequence.

6. The method according to claim 5, wherein determining the intermediate node between the first location point and the second location point according to the intermediate node determination rule corresponding to the location relationship further comprises: When the first position point is not within the area enclosed by the first boundary and the second boundary, and the first position point is on one side of the first boundary, taking the projection point of the second position point on the first boundary as the first intermediate node; Determining whether a line connecting the first location point and the first intermediate node passes through a cargo area; When the connecting line does not pass through the cargo area, the first intermediate node is used as the intermediate node; when the connecting line passes through the cargo area, the cargo area closest to the first position point in the cargo area adjacent to the first boundary is used as the first intermediate cargo area, and the corner point close to the first boundary and the first position point is selected from the four corner points of the first intermediate cargo area as the second intermediate node, and the first intermediate node and the second intermediate node are used as the intermediate nodes in sequence.

7. The method according to claim 1, wherein the position relationship is that the first position point is in a first cargo area and the second position point is in a second cargo area, and the determining the intermediate node between the first position point and the second position point according to the intermediate node determination rule corresponding to the position relationship comprises: When the first position point is within the area enclosed by the first boundary and the second boundary of the second cargo area, determining a first distance and a first projection point between the first position point and the first boundary of the first cargo area, a second distance and a second projection point between the first position point and the second boundary of the first cargo area, a third distance and a third projection point between the second position point and the first boundary of the second cargo area, and a fourth distance and a fourth projection point between the second position point and the second boundary of the second cargo area; Determine a first boundary distance according to the first distance and the third distance; Determine a second boundary distance according to the second distance and the fourth distance; When the first boundary distance is smaller than the second boundary distance, taking the first projection point and the third projection point as the intermediate nodes in sequence; When the first boundary distance is greater than the second boundary distance, the second projection point and the fourth projection point are sequentially used as the intermediate nodes.

8. The method according to claim 7, wherein determining the intermediate node between the first location point and the second location point according to the intermediate node determination rule corresponding to the location relationship further comprises: When the first location point is not within the area enclosed by the first boundary and the second boundary of the second cargo area, determining the second location point in the second cargo area, a projection point on the first boundary or the second boundary close to the first location point as a first intermediate node; Determine a projection point of the first position point in the first cargo area close to the first boundary or the second boundary of the second position point as a second intermediate node; When the first intermediate node and the second intermediate node are in the same lane, the first intermediate node and the second intermediate node are used as intermediate nodes in sequence.

9. The method according to claim 7 or 8, wherein determining the intermediate node between the first location point and the second location point according to the intermediate node determination rule corresponding to the position relationship further comprises: When the first position point is not within the area enclosed by the first boundary and the second boundary of the second cargo area, and the first intermediate node and the second intermediate node are in different lanes, determine the projection point of the first intermediate node on the first boundary of the third cargo area, and take the first intermediate node, the projection point, and the second intermediate node as intermediate nodes in sequence. The third cargo area is the cargo area adjacent to the second boundary of the first cargo area and the cargo area closest to the first cargo area.

10. The method according to any one of claims 1 to 9, wherein constructing a path from the first location point to the second location point according to the first location point, the intermediate node, and the second location point in sequence comprises: When there is an obstacle between the passage paths of any two points, the intermediate node is updated according to any corner point of the obstacle, and the path is updated according to the updated intermediate node.

11. A path construction device, comprising: An acquisition unit is used to acquire the coordinate positions of a first position point and a second position point; wherein the position relationship includes any one of the following: the first position point and the second position point are both in the first cargo area, or the first position point is in the first cargo area and the second position point is in the second cargo area, or the first position point is in a non-cargo area and the second position point is in the second cargo area; A search unit, configured to determine, according to a positional relationship between the first position point and the second position point, an intermediate node determination rule corresponding to the positional relationship; a determining unit, configured to determine an intermediate node between the first location point and the second location point according to an intermediate node determination rule corresponding to the location relationship; A construction unit is used to construct a path from the first location point to the second location point based on the first location point, the intermediate node, and the second location point in sequence.

12. The device according to claim 11, wherein the position relationship is that the first position point and the second position point are both in the first cargo area, and the determining unit is specifically configured to: When the first location point and the second location point are located in the same aisle in the first cargo area, it is determined that there is no intermediate node between the first location point and the second location point.

13. The apparatus according to claim 12, wherein the determining unit is further configured to: When the first location point and the second location point are located in different aisles within the first cargo area, and there are blank cargo cells on each shelf within the area enclosed by the first location point and the second location point, the locations of the blank cargo cells between the first location point and the second location point are sequentially used as the intermediate nodes.

14. The apparatus according to claim 12 or 13, wherein the determining unit is further configured to: When the first position point and the second position point are located in different aisles in the first cargo area, and there is at least one shelf without a blank cargo compartment in the area enclosed by the first position point and the second position point, a first distance between the first position point and a first boundary of the first cargo area and a second distance between the second boundary, and a third distance between the second position point and a first boundary of the first cargo area and a fourth distance between the second boundary are determined, and the first boundary and the second boundary are relative to and perpendicular to the shelves in the first cargo area; Determine a first boundary distance according to the first distance and the third distance; Determine a second boundary distance according to the second distance and the fourth distance; When the first boundary distance is smaller than the second boundary distance, the projection point of the first position point on the first boundary and the projection point of the second position point on the first boundary are sequentially used as the intermediate nodes; When the first boundary distance is greater than the second boundary distance, the projection point of the first position point on the second boundary and the projection point of the second position point on the second boundary are sequentially used as the intermediate nodes.

15. The device according to claim 11, wherein the position relationship is that the first position point is in a non-cargo area and the second position point is in a second cargo area, and the determining unit is specifically configured to: When the first location point is within the area enclosed by the first boundary and the second boundary of the second cargo area, determining a third distance between the second location point and the first boundary and a fourth distance between the second location point and the second boundary; When the third distance is less than the fourth distance, the projection point of the second position point is determined on the first boundary as the first intermediate node; the cargo area closest to the first position point in the area enclosed by the first position point and the second position point is determined as the first intermediate cargo area; among the four corner points of the first intermediate cargo area, the corner point on the same side as the projection point of the second position point and close to the first position point is selected as the second intermediate node, and the first intermediate node and the second intermediate node are sequentially used as the intermediate nodes; When the third distance is greater than the fourth distance, determining a projection point of the second position point on the second boundary as a first intermediate node; Determine the cargo area closest to the first position point in the area enclosed by the first position point and the second position point as the first intermediate cargo area; among the four corner points of the first intermediate cargo area, select the corner point on the same side as the projection point of the second position point and close to the first position point as the second intermediate node, and then use the first intermediate node and the second intermediate node as the intermediate nodes in sequence.

16. The apparatus according to claim 15, wherein the determining unit is further configured to: When the first position point is not within the area enclosed by the first boundary and the second boundary, and the first position point is on one side of the first boundary, taking the projection point of the second position point on the first boundary as the first intermediate node; Determining whether a line connecting the first location point and the first intermediate node passes through a cargo area; When the connecting line does not pass through the cargo area, the first intermediate node is used as the intermediate node; when the connecting line passes through the cargo area, the cargo area closest to the first position point in the cargo area adjacent to the first boundary is used as the first intermediate cargo area, and the corner point close to the first boundary and the first position point is selected from the four corner points of the first intermediate cargo area as the second intermediate node, and the first intermediate node and the second intermediate node are used as the intermediate nodes in sequence.

17. The device according to claim 11, wherein the position relationship is that the first position point is in a first cargo area and the second position point is in a second cargo area, and the determining unit is specifically configured to: When the first position point is within the area enclosed by the first boundary and the second boundary of the second cargo area, determining a first distance and a first projection point between the first position point and the first boundary of the first cargo area, a second distance and a second projection point between the first position point and the second boundary of the first cargo area, a third distance and a third projection point between the second position point and the first boundary of the second cargo area, and a fourth distance and a fourth projection point between the second position point and the second boundary of the second cargo area; Determine a first boundary distance according to the first distance and the third distance; Determine a second boundary distance according to the second distance and the fourth distance; When the first boundary distance is smaller than the second boundary distance, taking the first projection point and the third projection point as the intermediate nodes in sequence; When the first boundary distance is greater than the second boundary distance, the second projection point and the fourth projection point are sequentially used as the intermediate nodes.

18. An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 10.

19. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 10.

20. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 10.