Control method, device and storage medium of transport device
By dynamically calculating the time cost of the transportation device and optimizing task allocation, the problem of low resource utilization and efficiency of the transportation device is solved, and more efficient task execution and resource utilization are achieved.
Patent Information
- Application Number
- CN202010413361.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-15
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-05-15
AI Technical Summary
The resource utilization rate and transportation efficiency of transportation devices in the existing technology are low, and the cost of each transportation device performing tasks cannot be dynamically calculated, resulting in increased task execution time and reduced efficiency.
By receiving handling tasks, the time cost of each transportation device is dynamically calculated, the transportation device with the lowest time cost is determined as the target transportation device, and its task execution is controlled. If an abnormality or interference area occurs, vehicle replacement and path optimization are performed to improve efficiency.
It effectively reduces task execution time, improves transportation efficiency, improves resource utilization, and avoids manual intervention and task waiting time.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The present invention relates to the field of logistics technology, and in particular to a control method, device and storage medium for a transportation device. Background Art
[0002] In warehousing logistics, outbound transportation has become a key link to improve efficiency. In order to improve the efficiency of outbound transportation, transportation devices (such as forklifts or trucks, etc.) can be used instead of manual transportation. Although the use of transportation devices can reduce labor costs and solve the problem of reduced production efficiency caused by fatigue when manual transportation is used, during the transportation process of the transportation device, there is no control method in the prior art to select the lowest-cost transportation device to perform the transportation task, which will cause low resource utilization and low transportation efficiency. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a control method, device and storage medium for a transportation device, which can solve the problems of low resource utilization and low transportation efficiency in existing transportation methods.
[0004] To achieve the above objective, according to one aspect of an embodiment of the present invention, a method for controlling a transportation device is provided.
[0005] The control method of the transport device according to the embodiment of the present invention includes:
[0006] receiving a first transport task, wherein the first transport task is to transport an item from a first location to a second location;
[0007] Determine a first transport device with the lowest time cost and in an idle state within a first preset area around the first position as a target transport device;
[0008] The target transport device is controlled to perform the first transport task.
[0009] Optionally, after the step of controlling the target transport device to perform the first transport task, the method further includes:
[0010] Determining whether there is an abnormality in the process of the target transportation device performing the first transport task;
[0011] If an abnormality occurs to the target transport device during the execution of the first transport task, the state of the first transport device is adjusted to an abnormal state, and the second transport device is determined as the target transport device, and the second transport device continues to execute the first transport task.
[0012] Optionally, the method further comprises:
[0013] If there is no abnormality in the process of the target transport device performing the first transport task, query whether there is an unfinished transport task at a third position with the lowest time cost from the second position in a second preset area around the second position;
[0014] If there is no unfinished transport task at the third position, controlling the target transport device to perform a parking task;
[0015] If there is an unfinished transport task at the third location, the first time for the target transport device to travel from the second location to the third location and the second time remaining for the third transport device that has received the second transport task to travel to the third location are calculated, wherein the second transport task is a task of transporting the items at the third location to the fourth location;
[0016] If the first time is less than the second time, the third transport device is replaced by the first transport device to perform the second transport task.
[0017] Optionally, controlling the target transport device to perform the first transport task includes:
[0018] Determining whether the target transport device successfully occupies the first position of the first transport task;
[0019] If the target transport device successfully occupies the first position of the first transport task, controlling the target transport device to perform the first transport task;
[0020] If the target transport device fails to successfully occupy the first position of the first transport task, calculating a waiting position for the target transport device to perform the first transport task;
[0021] The target transport device is controlled to go to the waiting position to wait for the first transport task to be executed.
[0022] Optionally, the calculating a position to be executed by the target transport device for executing the first transport task includes:
[0023] Calculate a first path for the fourth transport device that has occupied the first position to perform the first handling task and a second path for the first transport device to reach the first position from a current position;
[0024] If there is no interference area between the first path and the second path, the position with the lowest time cost from the first position is selected as the position to be executed by the target transportation device for performing the first transport task.
[0025] Optionally, the calculating the position to be executed by the target transport device for executing the first transport task further includes:
[0026] If there is an interference zone between the first path and the second path, determine a first interference zone closest to the target transport device from all interference zones between the first path and the second path, calculate a third time when the first transport device passes through the first interference zone, and a fourth time when the third transport device arrives at the first interference zone;
[0027] If the third time is greater than the fourth time, the position with the lowest time cost from the first interference area is selected as the to-be-executed position of the target transportation device;
[0028] If the third time is less than the fourth time, then after passing through the first interference area, the steps of calculating the first path and the second path are re-executed.
[0029] To achieve the above objective, according to another aspect of an embodiment of the present invention, a control device is provided.
[0030] The control device of the embodiment of the present invention includes:
[0031] A receiving module, used for receiving a first transport task, wherein the first transport task is to transport an item from a first location to a second location;
[0032] A determination module, configured to determine a first transport device with the lowest time cost and in an idle state in a first preset area around the first position as a target transport device;
[0033] A control module is used to control the target transportation device to perform the first transport task.
[0034] Optionally, the control module is further used for:
[0035] Determining whether the target transport device successfully occupies the first position of the first transport task;
[0036] If the target transport device successfully occupies the first position of the first transport task, controlling the target transport device to perform the first transport task;
[0037] If the target transport device fails to successfully occupy the first position of the first transport task, calculating a waiting position for the target transport device to perform the first transport task;
[0038] The target transport device is controlled to go to the waiting position to wait for the first transport task to be executed.
[0039] To achieve the above objective, according to another aspect of an embodiment of the present invention, a control device is provided.
[0040] The control device of the embodiment of the present invention includes:
[0041] one or more processors;
[0042] a storage device for storing one or more programs,
[0043] When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described above.
[0044] To achieve the above objective, according to another aspect of an embodiment of the present invention, a computer readable medium is provided.
[0045] The computer-readable medium of the embodiment of the present invention stores a computer program, and when the program is executed by a processor, the method described above is implemented.
[0046] One embodiment of the above invention has the following advantages or beneficial effects:
[0047] The control method of the embodiment of the present invention can dynamically calculate the time cost of each transport device multiple times, and use the time cost as a standard to determine the target transport device, and control the target transport device to complete the first handling task. Among them, compared with the distance cost, the time cost can more effectively reflect the cost of each transport device to perform the task, and then the target transport device with the lowest time cost can be grasped to perform the task, which can reduce the time to perform the task and improve the transportation efficiency.
[0048] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0050] Figure 1 is a schematic diagram of a transportation scenario according to an embodiment of the present invention;
[0051] Figure 2 is one of the schematic diagrams of the main process of the control method of the transportation device according to an embodiment of the present invention;
[0052] Figure 3 is a schematic diagram of the main process of the control method of the transportation device according to an embodiment of the present invention;
[0053] Figure 4 is a schematic diagram of the main process of the control method of the transportation device according to an embodiment of the present invention;
[0054] Figure 5 is a schematic diagram of an interference region according to an embodiment of the present invention;
[0055] Figure 6 is a schematic diagram of the main process of the control method of the transportation device according to an embodiment of the present invention;
[0056] Figure 7 is a schematic diagram of main modules of a control device according to an embodiment of the present invention;
[0057] Figure 8 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0058] Fig. 9 It is a schematic diagram of the structure of a computer system suitable for implementing the control device of the embodiment of the present invention. DETAILED DESCRIPTION
[0059] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention 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 invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0060] Figure 1 is a schematic diagram of a transportation scenario according to an embodiment of the present invention, see Figure 1 , the transportation scenario is: assuming that there are a storage position A, a pickup position B and a storage position C in the transportation area, and the transportation devices are forklift F1 and forklift F2 respectively, the transportation task of forklift F1 is to pick up items from the pickup position B and put them into the storage position A, and the transportation task of forklift F2 is to be grabbed from the storage position C to perform the task of picking up items from the pickup position B and putting them into the storage position A. At this time, forklift F1 is in an idle state after completing the task. If the existing transportation method is used, forklift F2 will be used to perform the task. In fact, the cost of forklift F1 to perform the task will be lower and the task efficiency will be higher. In summary, the existing transportation method has the following disadvantages:
[0061] 1) It is not possible to dynamically calculate the cost of each transport device (e.g. forklift) to perform the task multiple times, thereby increasing the time of performing the task and reducing the efficiency of performing the task;
[0062] The area where the transport device performs the handling task is very large, that is, the distance between the pickup location and the delivery location is hundreds of meters or even thousands of meters. The pickup efficiency and delivery efficiency in the above scenarios are low, affecting the production progress.
[0063] 2) The existing technology relies on the driving distance to calculate the cost of performing the task, but the distance cost cannot reflect the cost of performing the task, and cannot more effectively calculate the cost of performing the task of each transportation device;
[0064] 3) When the map is initialized, a fixed location to be executed needs to be set up, and the location to be executed cannot be dynamically calculated and selected, which greatly increases the minimum waiting time of each transport device (the minimum waiting time refers to the time required to wait for this task to be executed), and the efficiency of executing the outbound task is low;
[0065] 4) It is impossible to realize the task transfer and exchange between various transport devices. When an abnormality occurs in the process of executing a task, manual intervention is required to complete it;
[0066] 5) The task transfer and exchange between various transport devices cannot be realized, and the scheduling system cannot schedule the most reasonable transport device to perform the task, resulting in low transportation efficiency.
[0067] In order to solve the problems existing in the above existing transportation methods, it is necessary to dynamically detect the cost of executing tasks to realize the task transfer between forklift F1 and forklift F2. Figure 1 Taking the scenario shown as an example, when forklift F1 is idle, the cost of forklift F1 and forklift F2 to perform this task can be dynamically calculated. If the cost of forklift F1 to perform the task is lower than that of forklift F2, the task of forklift F2 will be assigned to forklift F1.
[0068] Based on the above analysis, an embodiment of the present invention provides a control method for a transportation device. Figure 2 is a schematic diagram of the main process of the control method of the transportation device according to an embodiment of the present invention, such as Figure 2 As shown, the control method of the transport device may specifically include the following steps:
[0069] Step 21: receiving a first transport task, wherein the first transport task is to transport an item from a first location to a second location;
[0070] It can be understood that the first position is a cargo pickup position for the first handling task, and the second position is a cargo placement position (or unloading position) for the first handling task.
[0071] Step 22: Determine a first transport device with the lowest time cost and in an idle state in a first preset area around the first position as a target transport device;
[0072] In the embodiment of the present invention, the transport device includes but is not limited to a transport truck, a forklift or an AGV (Automated Guided Vehicle), etc. The first preset area is an area with a preset range around the first position as the center. For example, the first preset area can be the entire transport area. The driving path of the target transport device in the first preset area is pre-set. It can be understood that a path map is set in the first preset area, and the transport device can complete the transport task according to the preset path map.
[0073] In some embodiments, existing transportation methods mostly use distance cost as an evaluation criterion, and the distance cost corresponding to the transportation device traveling in a straight line or an arc is different. In addition to considering the distance between the pickup location and the unloading location, it is also necessary to consider the time it takes for the transportation device to perform the action. In general, it is optimal to calculate the time cost of the transportation device to perform the handling task. Therefore, the embodiment of the present invention uses time cost as an evaluation criterion, and the time cost is the sum of the transportation time and the operation time of the transportation device. In the process of testing the transportation device to verify the reliability of the path map, the time required for each path segment and the time required for the operation of the transportation device can be counted, for example: the time consumed to perform the pickup action and the time consumed to release the goods, etc.
[0074] Step 23: Control the target transport device to perform the first transport task.
[0075] In the embodiment of the present invention, the travel path of the target transport device between the first position and the second position is predefined, that is, the target transport device can perform the first transport task according to a path map.
[0076] The control method of the embodiment of the present invention can dynamically calculate the time cost of each transport device multiple times, and use the time cost as a standard to determine the target transport device, and control the target transport device to complete the first handling task. Among them, compared with the distance cost, the time cost can more effectively reflect the cost of each transport device to perform the task, and then the target transport device with the lowest time cost can be grasped to perform the task, which can reduce the time to perform the task and improve the transportation efficiency.
[0077] Generally, the tasks of each transport device are performed independently, and there is no exchange or transfer of the transport tasks of each transport device. If a transport device encounters an abnormality during the execution of a transport task, other transport devices cannot take over the transport task and manual intervention is required to complete it. In order to solve the above problem, when there is an abnormality during the execution of the first transport task by the first transport device, a vehicle switching operation can be performed to ensure that the abnormality of the first transport device will not affect the normal execution of the first transport task. Figure 3 After step 23, the control method may further include the following steps:
[0078] Step 24: Determine whether there is an abnormality in the process of the target transport device performing the first transport task; if there is an abnormality in the process of the target transport device performing the first transport task, execute step 25; if there is no abnormality in the process of the target transport device performing the first transport task, execute step 26;
[0079] Step 25: If the target transport device has an abnormality during the execution of the first transport task, the state of the first transport device is adjusted to an abnormal state, and the second transport device is determined as the target transport device, and the second transport device continues to execute the first transport task;
[0080] In step 25, if an abnormality occurs during the execution of the first transporting task by the first transporting device, for example, the first transporting device breaks down or is otherwise unable to continue to execute the transporting task, the dispatching system will execute a vehicle replacement operation and control the replaced transporting device to continue to execute the first transporting task. At the same time, the state of the first transporting device is set to an abnormal state, and an alarm is issued to notify manual processing.
[0081] Step 26: If there is no abnormality in the process of the target transport device performing the first transport task, query whether there is an unfinished transport task at a third position with the lowest time cost from the second position in a second preset area around the second position;
[0082] In step 26, the third location may be one or more locations. When there are multiple third locations, each third location may be queried in turn to see whether there is an unfinished transport task.
[0083] In an embodiment of the present invention, the second preset area is an area with a preset range around the second position as the center. For example, the second preset area can be the entire transportation area. For example, the second preset area is the area where one or more sorting warehouses are located. Alternatively, the second preset area is a partial area of a sorting warehouse.
[0084] Step 27: If there is no unfinished transport task at the third position, control the first transport device to perform a parking task, where the parking task is used to transport the first transport device to a corresponding parking space, and after the first transport device completes the parking task, set the state of the first transport device to an idle state;
[0085] Step 28: If there is an unfinished transport task at the third position, calculate the first time for the target transport device to travel from the second position to the third position and the second time remaining for the third transport device that has received the second transport task to reach the third position, where the second transport task is to transport items at the third position to the fourth position; if the first time is less than the second time, replace the third transport device with the first transport device to perform the second transport task.
[0086] In an embodiment of the present invention, tasks can be transferred and exchanged between various transport devices. When an abnormality occurs in the process of one of the transport devices performing a handling task, other transport devices can be grabbed to perform the handling task instead. The above problems can be solved without human intervention, and the degree of automation is high.
[0087] In the embodiment of the present invention, there are multiple ways to calculate the position to be executed by the first transportation device, and one of the preferred ways is exemplified below. Figure 4 is a schematic diagram of the main flow of step 23 according to an embodiment of the present invention, such as Figure 4 As shown, step 23 may specifically include the following steps:
[0088] Step 231, determining whether the target transport device successfully occupies the first position of the first transport task; if the target transport device successfully occupies the first position of the first transport task, executing step 232; if the target transport device does not successfully occupy the first position of the first transport task, executing step 233.
[0089] It is understandable that if the target transport device successfully occupies the first position, the target transport device performs the first handling task and leaves the first position, and the first position is released. If the target transport device fails to occupy the first position, the position to be executed of the target device is dynamically calculated, and the first position is waited for to be released.
[0090] In an embodiment of the present invention, the map module manages the occupation and release of each position in the map. Only one transport device can successfully occupy the same position at the same time. The position can only be occupied by other transport devices after it is released. For example, when a transport device moves from point A to point B, it first needs to occupy point B in advance in order to calculate the specific path to point B.
[0091] Step 232, if the target transport device successfully occupies the first position of the first transport task, control the target transport device to perform the first transport task;
[0092] Step 233, if the target transport device fails to successfully occupy the first position of the first transport task, then calculating a waiting position for the target transport device to perform the first transport task;
[0093] Among them, for the hot pick-up position or delivery position, when multiple transport devices perform the pick-up task or delivery task, there will be a problem that some transport devices cannot occupy the pick-up position or delivery position. Although setting a fixed waiting position can solve the above problem, the resource utilization rate is low. In order to solve the above problem, the waiting position for the target transport device to perform the first handling task can be dynamically calculated, thereby maximizing the resource utilization rate.
[0094] Step 234, controlling the target transport device to go to the waiting position to wait for the first transport task to be executed.
[0095] Continue to see Figure 5 , step 233 may specifically include the following steps:
[0096] Step 2331: Calculate a first path for the fourth transport device that has occupied the first position to perform the first transport task and a second path for the first transport device to reach the first position from the current position;
[0097] Step 2332: Determine whether there is an interference area between the first path and the second path; if there is no interference area between the first path and the second path, execute step 2333; if there is an interference area between the first path and the second path, execute step 2334;
[0098] See also Figure 6 , the interference area is used to represent the overlapping sections between different paths, and only one transport device is allowed to perform the handling task in the interference area. There are one or more interference points in the interference area, where the interference points can be understood as the intersections of different paths. It can be understood that if there is an interference area between the first path and the second path, it means that there will be road section interference when the first transport device and the fourth transport device perform the handling task. If there is no interference area between the first path and the second path, it means that the first transport device and the fourth transport device will not interfere with each other when performing the handling task.
[0099] Step 2333: If there is no interference area between the first path and the second path, the position with the lowest time cost with the first position is determined as the position to be executed by the target transportation device for performing the first transport task.
[0100] Step 2334: If there is an interference zone between the first path and the second path, determine a first interference zone closest to the target transport device from all interference zones between the first path and the second path, calculate a third time when the first transport device passes through the first interference zone, and a fourth time when the third transport device arrives at the first interference zone;
[0101] Step 2335: If the third time is greater than the fourth time, selecting the position with the lowest time cost in the first interference area as the to-be-executed position of the target transportation device;
[0102] Step 2336: If the third time is less than the fourth time, then after the target transportation device passes through the first interference area, step 2331 is re-executed, ie, the step of calculating the first path and the second path.
[0103] For example: Car A is the target transport device, and all interference areas where Car A (the car that does not occupy the pickup position) and Car B interfere with each other are searched, and the first interference area closest to Car A is calculated, and the time A_PassTime for Car A to "pass" the first interference area and the time B_PassTime for Car B to "arrive" the first interference area are calculated. If A_PassTime is greater than B_PassTime, it means that when Car A passes through the first interference area, Car B will also enter the first interference area to form an obstacle, and then Car A selects the position with the lowest time cost from the first interference area as the position to be executed (or called the task waiting point). If A_PassTime is less than B_PassTime, it means that when Car A passes through the first interference area, Car B has not yet arrived at the first interference area, so Car A is allowed to pass through the first interference area, and after Car A passes through the first interference area, step 2331 is re-executed.
[0104] In the embodiment of the present invention, when the target transport device fails to successfully occupy the first position, the waiting position of the target transport device can be dynamically calculated and selected, so that the waiting time can be reduced to the extreme and the transport efficiency of the transport device can be further improved.
[0105] Figure 7 is a schematic diagram of the main modules of the control device according to an embodiment of the present invention, see Figure 7 , the control device 700 comprises:
[0106] A receiving module 701 is used to receive a first transport task, where the first transport task is to transport an item from a first location to a second location;
[0107] A determination module 702 is used to determine a first transport device with the lowest time cost and in an idle state in a first preset area around the first position as a target transport device;
[0108] The control module 703 is used to control the target transportation device to perform the first transport task.
[0109] Optionally, the control device further includes:
[0110] A first judgment module, used to judge whether there is an abnormality in the process of the target transportation device performing the first handling task;
[0111] The first execution module is used to adjust the state of the first transportation device to an abnormal state if an abnormality occurs when the target transportation device is executing the first transportation task, and to determine the second transportation device as the target transportation device so that the second transportation device continues to execute the first transportation task.
[0112] Optionally, the control device further includes:
[0113] A second execution module is used for querying whether there is an unfinished transportation task at a third position with the lowest time cost from the second position in a second preset area around the second position if there is no abnormality in the process of the target transportation device executing the first transportation task;
[0114] A third execution module, configured to control the target transport device to execute a parking task if there is no unfinished transport task at the third position;
[0115] a calculation module, configured to calculate a first time for the target transport device to travel from the second position to the third position and a second time remaining for a third transport device that has received a second transport task to travel to the third position if there is an unfinished transport task at the third position, wherein the second transport task is a task of transporting items at the third position to a fourth position;
[0116] The fourth execution module is configured to replace the third transport device with the first transport device to execute the second transport task if the first time is less than the second time.
[0117] Optionally, the control module 703 is further configured to:
[0118] Determining whether the target transport device successfully occupies the first position of the first transport task;
[0119] If the target transport device successfully occupies the first position of the first transport task, controlling the target transport device to perform the first transport task;
[0120] If the target transport device fails to successfully occupy the first position of the first transport task, calculating a waiting position for the target transport device to perform the first transport task;
[0121] The target transport device is controlled to go to the waiting position to wait for the first transport task to be executed.
[0122] Optionally, the control module 703 is further configured to:
[0123] Calculate a first path for the fourth transport device that has occupied the first position to perform the first handling task and a second path for the first transport device to reach the first position from a current position;
[0124] If there is no interference area between the first path and the second path, the position with the lowest time cost with the first position is determined as the position to be executed by the target transportation device for executing the first transport task.
[0125] Optionally, the control module 703 is further configured to:
[0126] If there is an interference zone between the first path and the second path, determine a first interference zone closest to the target transport device from all interference zones between the first path and the second path, calculate a third time when the first transport device passes through the first interference zone, and a fourth time when the third transport device arrives at the first interference zone;
[0127] If the third time is greater than the fourth time, the first transportation device selects a position with the lowest time cost from the first interference area as the position to be executed;
[0128] If the third time is less than the fourth time, the step of calculating the first path and the second path is re-executed after the first transportation device passes through the first interference area.
[0129] The control device of the embodiment of the present invention can dynamically calculate the time cost of each transport device multiple times, and use the time cost as a standard to determine the target transport device, and control the target transport device to complete the first handling task. Compared with the distance cost, the time cost can more effectively reflect the cost of each transport device to perform the task, and then the target transport device with the lowest time cost can be grasped to perform the task, which can reduce the time to perform the task and improve the transportation efficiency.
[0130] Figure 8 An exemplary system architecture 800 is shown in which a control method or a control device for a transportation device according to an embodiment of the present invention can be applied.
[0131] like Figure 8 As shown, system architecture 800 may include terminal devices 801, 802, 803, a network 804, and a server 805. Network 804 is used to provide a medium for communication links between terminal devices 801, 802, 803 and server 805. Network 804 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0132] Users can use terminal devices 801, 802, and 803 to interact with server 805 through network 804 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 801, 802, and 803, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).
[0133] The terminal devices 801 , 802 , and 803 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0134] The server 805 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 801, 802, and 803. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.
[0135] It should be noted that the control method provided in the embodiment of the present invention is generally executed by the server 805 , and accordingly, the control device is generally arranged in the server 805 .
[0136] It should be understood that Figure 8 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0137] Reference below Fig. 9 , which shows a schematic diagram of the structure of a computer system 900 of a terminal device suitable for implementing an embodiment of the present invention. Fig. 9 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0138] like Fig. 9 As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the system 900 are also stored. The CPU 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0139] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage section 908 as needed.
[0140] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the central processing unit (CPU) 901, the above-mentioned functions defined in the system of the present invention are executed.
[0141] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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 above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0142] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0143] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes: a receiving module, a determining module and a control module. The names of these modules do not constitute a limitation on the modules themselves in some cases, for example, the receiving module may also be described as a "module for receiving the first handling task".
[0144] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: receiving a first transport task, wherein the first transport task is to transport an item at a first position to a second position; determining a first transport device with the lowest time cost and in an idle state in a first preset area around the first position as a target transport device; and controlling the target transport device to execute the first transport task.
[0145] According to the technical solution of the embodiment of the present invention, the time cost of each transport device can be dynamically calculated multiple times, and the time cost can be used as a standard to determine the target transport device, and the target transport device can be controlled to complete the first handling task. Among them, compared with the distance cost, the time cost can more effectively reflect the cost of each transport device to perform the task, and then the target transport device with the lowest time cost can be grasped to perform the task, which can reduce the time to perform the task and improve the transportation efficiency.
[0146] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for controlling a transport device, It is characterized in that include: receiving a first transport task, wherein the first transport task is to transport an item from a first location to a second location; Determine a first transport device with the lowest time cost and in an idle state within a first preset area around the first position as a target transport device; Controlling the target transport device to perform the first transport task; Specifically, it includes: judging whether the target transport device successfully occupies the first position of the first transport task; if the target transport device does not successfully occupy the first position of the first transport task, calculating the waiting position for the target transport device to execute the first transport task; controlling the target transport device to go to the waiting position to wait for the execution of the first transport task; The calculating the position to be executed by the target transport device for executing the first transport task includes: calculating a first path for a fourth transport device that has occupied the first position to execute the first transport task and a second path for the first transport device to reach the first position from a current position; If there is an interference area between the first path and the second path, determine the first interference area closest to the target transport device from all interference areas between the first path and the second path, calculate the third time when the first transport device passes through the first interference area, and the fourth time when the fourth transport device arrives at the first interference area; wherein the interference area is used to represent the overlapping section between the first path and the second path, and only one transport device can perform the transport task in the interference area, and there is at least one interference point in the interference area, and the interference point is the intersection of the first path and the second path; If the third time is greater than the fourth time, selecting a position with the lowest time cost from the first interference area as the to-be-executed position of the target transportation device; If the third time is less than the fourth time, the step of calculating the first path and the second path is re-executed after the first transportation device passes through the first interference area.
2. The control method according to claim 1, It is characterized in that After the step of controlling the target transport device to perform the first transport task, the method further includes: Determining whether there is an abnormality in the process of the target transportation device performing the first transport task; If an abnormality occurs to the target transport device during the execution of the first transport task, the state of the first transport device is adjusted to an abnormal state, and the second transport device is determined as the target transport device, and the second transport device continues to execute the first transport task.
3. The control method according to claim 2, It is characterized in that The method further comprises: If there is no abnormality in the process of the target transport device performing the first transport task, query whether there is an unfinished transport task at a third position with the lowest time cost from the second position in a second preset area around the second position; If there is no unfinished transport task at the third position, controlling the target transport device to perform a parking task; If there is an unfinished transport task at the third location, the first time for the target transport device to travel from the second location to the third location and the second time remaining for the third transport device that has received the second transport task to travel to the third location are calculated, wherein the second transport task is a task of transporting the items at the third location to the fourth location; If the first time is less than the second time, the third transport device is replaced by the first transport device to perform the second transport task.
4. The control method according to claim 1, It is characterized in that The controlling the target transport device to perform the first transport task also includes: If the target transport device successfully occupies the first position of the first transport task, the target transport device is controlled to execute the first transport task.
5. The control method according to claim 1, It is characterized in that After calculating the first path for the fourth transport device that has occupied the first position to perform the first handling task and the second path for the first transport device to reach the first position from the current position, the method further includes: If there is no interference area between the first path and the second path, the position with the lowest time cost with the first position is selected as the position to be executed by the target transportation device for performing the first transport task.
6. A control device, It is characterized in that include: A receiving module, used for receiving a first transport task, wherein the first transport task is to transport an item from a first location to a second location; A determination module, configured to determine a first transport device with the lowest time cost and in an idle state within a first preset area of the first position as a target transport device; a control module, used to control the target transport device to perform the first transport task; specifically used to: determine whether the target transport device successfully occupies the first position of the first transport task; if the target transport device does not successfully occupy the first position of the first transport task, calculate the waiting position for the target transport device to perform the first transport task; and control the target transport device to go to the waiting position to wait for the first transport task to be performed; The control module is further used to: calculate a first path for the fourth transport device that has occupied the first position to perform the first handling task and a second path for the first transport device to reach the first position from the current position; If there is an interference area between the first path and the second path, determine the first interference area closest to the target transport device from all interference areas between the first path and the second path, calculate the third time when the first transport device passes through the first interference area, and the fourth time when the fourth transport device arrives at the first interference area; wherein the interference area is used to represent the overlapping section between the first path and the second path, and only one transport device can perform the transport task in the interference area, and there is at least one interference point in the interference area, and the interference point is the intersection of the first path and the second path; If the third time is greater than the fourth time, selecting a position with the lowest time cost from the first interference area as the to-be-executed position of the target transportation device; If the third time is less than the fourth time, the step of calculating the first path and the second path is re-executed after the first transportation device passes through the first interference area.
7. The control device according to claim 6, It is characterized in that The control module is further configured to: If the target transport device successfully occupies the first position of the first transport task, the target transport device is controlled to execute the first transport task.
8. A control device, It is characterized in that include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.
9. A computer readable medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Carrier control device and carrier control system
CN105992745A
AGV path planning method based on shortest path depth optimization algorithm
CN107036618A
Vehicle position-based intelligent and automatic transportation state recognition method
CN107705063A
AGV co-field work cooperation method, electronic equipment, storage medium and system
CN108363385A
Dispatching method and dispatching device for robotic transporting trucks
CN108398924A
