Queue scheduling method, device, electronic device and computer readable medium
By matching queuing requests and workstations to be selected in the queuing scheduling method of automatic guided transport vehicles to minimize the movement distance, the problems of high path cost and low sorting efficiency caused by not considering distance in the existing technology are solved, and the problem is improved. Improve sorting efficiency.
Patent Information
- Application Number
- CN202010144294.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-04
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-03-04
AI Technical Summary
Existing automated guided transport vehicles do not consider distance when queuing in unmanned warehouses, resulting in high path costs and affecting sorting efficiency.
By obtaining the set of queuing requests within the scheduling time period, determine the set of candidate workstations, and match the queuing requests with the candidate workstations to minimize the total distance that the automatic guided transport vehicle moves to the candidate workstations, thereby scheduling to the corresponding candidate workstations. Select a workstation to queue.
It realizes the balanced allocation of automatically guided transport vehicle resources without affecting the timeliness of sorting, reduces the moving distance and consumption, reduces the congestion problem of transport vehicles, and improves the sorting efficiency.
Smart Images

Figure CN113361839B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of automated guided vehicles, and in particular to a queue scheduling method for automated guided vehicles, a queue scheduling device for automated guided vehicles, an electronic device, and a computer-readable medium. Background Art
[0002] AGV (Automated Guided Vehicle) is a transport vehicle equipped with electromagnetic or optical automatic guidance devices, capable of traveling along a specified guidance path, with safety protection and various transfer functions. AGV is a wheeled mobile robot that is widely used in warehousing, manufacturing, food, chemical and other industries.
[0003] When the AGV is working in an unmanned warehouse, it usually needs to move to the queue position of the workstation and queue up to enter the loading platform. At the loading platform, the package is placed on the AGV manually or by machine equipment, and then moved to the corresponding sorting grid for delivery, thus completing a sorting task.
[0004] In the prior art, AGVs usually choose a workstation with the most free queue positions, that is, the least number of AGVs, to queue up. However, this method only considers the problem of AGV resource balance at each workstation, but does not consider the distance problem, sacrificing the path cost, causing the AGV to spend too much time in the queue, affecting the sorting efficiency.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] The purpose of the present disclosure is to provide a queue scheduling method for automatic guided transport vehicles, a queue scheduling device for automatic guided transport vehicles, an electronic device and a computer-readable medium, so as to make the scheduling of automatic guided transport vehicles more reasonable at least to a certain extent, thereby improving the sorting efficiency.
[0007] According to a first aspect of the present disclosure, a queuing scheduling method for an automated guided vehicle is provided, comprising:
[0008] Obtaining a queue request set of automated guided transport vehicles within a scheduling time period, and determining the number of queue requests of automated guided transport vehicles in the queue request set;
[0009] Determine a set of workstations to be selected for queuing scheduling matching according to the number of queuing requests of the automated guided transport vehicles in the queuing request set;
[0010] Matching the queue requests in the queue request set with the workstations to be selected in the workstations to be selected set, so that the total distance that the automated guided transport vehicle corresponding to the queue request moves to the workstation to be selected is minimized;
[0011] The automated guided transport vehicle is dispatched to the corresponding workstation to be selected for queuing according to the matching result.
[0012] In an exemplary embodiment of the present disclosure, the step of obtaining a queue request set of automated guided vehicles within a scheduling time period includes:
[0013] Acquire the queuing request of the automatic guided transport vehicle in real time and add the queuing request of the automatic guided transport vehicle to a cache queue in sequence;
[0014] The queue requests of the automatic guided transport vehicles within a scheduling time period are obtained from the cache queue, and the queue requests are put into a queue request set.
[0015] In an exemplary embodiment of the present disclosure, the step of determining a set of workstations to be selected for queuing scheduling matching according to the number of queuing requests of automated guided transport vehicles in the queuing request set includes:
[0016] If the number of the queued requests in the queued request set is greater than zero, the set of workstations to be selected for queue scheduling matching is initialized to an empty set;
[0017] Obtain the number of idle queue positions of each of the workstations, and sort all the workstations in descending order according to the number of idle queue positions;
[0018] According to the sorting result of the workstations, the workstation with the largest number of free queue positions is selected as the workstation to be selected and put into the set of workstations to be selected, and the number of queue positions to be allocated to the workstation to be selected is determined;
[0019] Determine whether the sum of the numbers of queue positions to be allocated of all the workstations to be selected is greater than or equal to the number of queue requests of the automated guided transport vehicles in the queue request set;
[0020] If the sum of the numbers of the queue positions to be allocated is greater than or equal to the number of the queue requests in the queue request set, the current set of workstations to be selected is determined as the final set of workstations to be selected;
[0021] If the sum of the numbers of the queue positions to be allocated is less than the number of the queue requests in the queue request set, the number of idle queue positions of each of the workstations in all the workstations is re-acquired, and the above steps are repeated.
[0022] In an exemplary embodiment of the present disclosure, the step of selecting a workstation with the largest number of idle queue positions as a to-be-selected workstation and placing it in a set of to-be-selected workstations according to the sorting result of the workstations, and determining the number of queue positions to be allocated to the to-be-selected workstations, includes:
[0023] Selecting the workstation with the largest number of free queue positions as a workstation to be selected according to the sorting result of the workstations, and determining whether the workstation to be selected is in the set of workstations to be selected;
[0024] If the workstation to be selected is not in the set of workstations to be selected, the workstation to be selected is placed in the set of workstations to be selected, the number of queue positions to be allocated of the workstation to be selected is set to a first preset value, and the number of idle queue positions of the workstation to be selected is updated according to a first preset rule;
[0025] If the workstation to be selected is in the set of workstations to be selected, the number of idle queue positions of the workstation to be selected is updated according to a first preset rule, and the number of to-be-allocated queue positions of the workstation to be selected is updated according to a second preset rule.
[0026] In an exemplary embodiment of the present disclosure, matching the queued requests in the queued request set with the workstations to be selected in the workstations to be selected set includes:
[0027] Determine all combinations of the queuing request of the automated guided transport vehicle and the workstations to be selected, and calculate the total distance that the automated guided transport vehicle moves to each workstation to be selected under each combination;
[0028] A target combination method is determined that minimizes the total distance that the automated guided transport vehicle moves to each workstation to be selected, and the queue request of the automated guided transport vehicle is matched with the workstation to be selected according to the target combination method.
[0029] In an exemplary embodiment of the present disclosure, the calculating of the total distance that the automated guided transport vehicle moves to each to-be-selected workstation in each combination mode includes:
[0030] The sum of the straight-line distances between the automated guided transport vehicle and each workstation to be selected under each combination is calculated.
[0031] In an exemplary embodiment of the present disclosure, the calculating of the total distance that the automated guided transport vehicle moves to each to-be-selected workstation in each combination mode includes:
[0032] The sum of the lateral distance and the longitudinal distance between the automatic guided transport vehicle and each workstation to be selected under each combination is calculated.
[0033] According to a second aspect of the present disclosure, there is provided a queuing scheduling device for an automated guided vehicle, comprising:
[0034] A request set acquisition module, used to acquire a queue request set of the automated guided transport vehicle within a scheduling time period, and determine the number of queue requests of the automated guided transport vehicle in the queue request set;
[0035] A workstation determination module, used to determine a set of candidate workstations for queuing scheduling matching according to the number of queuing requests of the automated guided transport vehicles in the queuing request set;
[0036] a workstation matching module, configured to match the queue requests in the queue request set with the workstations to be selected in the workstations to be selected set, so as to minimize the total distance that the automated guided transport vehicle corresponding to the queue request moves to the workstations to be selected;
[0037] The transport vehicle scheduling module is used to schedule the automatic guided transport vehicle to the corresponding to-be-selected workstation for queuing according to the matching result.
[0038] According to a third aspect of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-described queuing scheduling methods for automated guided vehicles by executing the executable instructions.
[0039] According to a fourth aspect of the present disclosure, there is provided a computer-readable medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the queuing scheduling method for automated guided vehicles described in any one of the above is implemented.
[0040] The exemplary embodiments of the present disclosure may have the following beneficial effects:
[0041] In the queuing scheduling method for automated guided transport vehicles of the example implementation mode of the present disclosure, by matching the automated guided transport vehicles that need to queue with workstations within an acceptable time range, each workstation can have sufficient automated guided transport vehicle resources and fully consider the path cost, thereby ensuring that the moving distance of the automated guided transport vehicles to each workstation is as short as possible, reducing the consumption of the automated guided transport vehicles when they are running idle, and at the same time, reducing the congestion problem of the automated guided transport vehicles on the moving paths, thereby improving the sorting efficiency of the automated guided transport vehicles.
[0042] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0044] Figure 1 An example plan view of an unmanned warehouse of an automated guided transport vehicle according to a specific embodiment of the present disclosure is schematically shown;
[0045] Figure 2 A schematic flow chart showing a method for queuing and scheduling automated guided vehicles according to an exemplary embodiment of the present disclosure is shown;
[0046] Figure 3 A schematic diagram of a process of obtaining a queued request set according to an exemplary embodiment of the present disclosure is shown;
[0047] Figure 4 A schematic diagram showing a process of determining a set of workstations to be selected according to an exemplary embodiment of the present disclosure is shown;
[0048] Figure 5 A schematic diagram showing a process of determining a workstation to be selected according to an exemplary embodiment of the present disclosure;
[0049] Figure 6 A schematic diagram showing a flow chart of matching queue requests with workstations to be selected according to an exemplary embodiment of the present disclosure;
[0050] Figure 7 A schematic diagram of a process flow of a queue scheduling method for automated guided vehicles according to a specific embodiment of the present disclosure is shown;
[0051] Figure 8 A schematic diagram of calculating a matching relationship according to a specific embodiment of the present disclosure is shown;
[0052] Fig. 9 A block diagram showing a queue scheduling device for automated guided vehicles according to an exemplary embodiment of the present disclosure is shown;
[0053] Fig.10 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0054] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0055] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0056] This example embodiment provides a method for queuing and scheduling an automated guided vehicle, which can be applied to queuing and balancing automated guided vehicles in an unmanned warehouse for sorting. Figure 1 As shown, there are workstations 101, 102, 103, 104, 105 and 106 in the warehouse, each of which consists of a queue entrance 107, several queue positions 108 and a loading platform 109. In addition, the warehouse also includes multiple sorting grids 110, and multiple automatic guided vehicles jointly complete the sorting task. Figure 1 In the figure are an AGV 111 and an AGV 112. The AGV 111 or 112 can queue up at the queue entrance 107 from any position on the unmanned warehouse route, and queue up in sequence with the AGV in front of it to enter the loading platform 109, and then the package is placed on the AGV manually or by machine on the loading platform 109, and then the AGV carries the package to the corresponding sorting grid 110 for delivery, completing a sorting task.
[0057] In some related embodiments, the AGV can select a workstation with the largest number of free queue slots to queue at the current moment, so as to ensure the balance of AGV resources at each workstation. Figure 1As shown, at a certain moment, the automatic guided transport vehicle 111 selects the workstation 102 with the largest number of free queue positions, and at the next moment, the automatic guided transport vehicle 112 selects the workstation 104. However, this method will cause the automatic guided transport vehicle to move too long, resulting in a waste of resources. During the operation of the system, the resource status is changing at any time. The resource situation at the current moment is an absolute state. It may be the best choice at the current moment, but not the best choice at the next moment. Therefore, it is not enough to only consider individual and local factors, and it is necessary to consider overall and global factors.
[0058] In view of the above problems, this example embodiment provides a queuing scheduling method for automated guided vehicles, referring to Figure 2 As shown, the following steps may be included:
[0059] Step S210. Obtain a queue request set of automated guided transport vehicles within a scheduling time period, and determine the number of queue requests of automated guided transport vehicles in the queue request set.
[0060] In this example implementation, the purpose of obtaining queue requests within a scheduling time period is mainly to add a time window parameter, that is, to obtain queue requests for automated guided transport vehicles that need to queue within a time range that does not affect the timeliness of sorting. Among them, the size of a scheduling time period can be set as a system parameter, or it can be configured according to actual business conditions, such as 1 second, and the system obtains a set of queue requests for automated guided transport vehicles that need to queue within this 1 second. After setting the scheduling time period, the scheduling system periodically obtains the set of queue requests in the cache queue according to the configured scheduling time period, and determines the number of queue requests for automated guided transport vehicles in the set.
[0061] The scheduling time period is set to take into account overall, global factors and overall resource conditions. During system operation, resource status changes over time, and it is not possible to obtain an overall resource status at a certain moment. Therefore, it is necessary to obtain a relatively overall resource within a time range that does not affect timeliness for overall calculation.
[0062] Step S220: Determine a set of workstations to be selected for queuing scheduling matching according to the number of queuing requests of automated guided vehicles in the queuing request set.
[0063] According to the number of queue requests for automated guided transport vehicles in the queue request set, determine the candidate workstations that can be matched for queue scheduling within the current scheduling time period, obtain the set of candidate workstations that most need automated guided transport vehicle resources, and determine the number of automated guided transport vehicles allocated to each candidate workstation.
[0064] In each scheduling time period, the system maintains the number of idle queue positions for each workstation, including initializing the total number of idle queue positions at the current workstation. When the system assigns an AGV to enter the queue position of the current workstation, the system reduces the number of idle queue positions at the current workstation by 1; when an AGV leaves the current workstation, the system increases the number of idle queue positions at the current workstation by 1. When the number of idle queue positions at a workstation is 0, no AGV can be assigned to queue at the workstation.
[0065] Step S230: Match the queue requests in the queue request set with the workstations to be selected in the workstations to be selected set, so that the total distance that the automated guided transport vehicle corresponding to the queue request moves to the workstation to be selected is minimized.
[0066] The queue requests in the queue request set are matched with the workstations to be selected in the workstation to be selected set, and an optimal matching method is determined that can minimize the total distance that each automated guided vehicle moves to the workstation to be selected.
[0067] Step S240: dispatch the automated guided transport vehicle to the corresponding workstation to be selected for queuing according to the matching result.
[0068] According to the matching result in the current scheduling time period, the automated guided transport vehicle is dispatched to the corresponding workstation to be selected for queuing, and then the above steps are repeated to perform matching again in the next scheduling time period.
[0069] In the queuing scheduling method for automated guided transport vehicles of the example implementation mode of the present disclosure, by matching the automated guided transport vehicles that need to queue with workstations within an acceptable time range, each workstation can have sufficient automated guided transport vehicle resources and fully consider the path cost, thereby ensuring that the moving distance of the automated guided transport vehicles to each workstation is as short as possible, reducing the consumption of the automated guided transport vehicles when they are running idle, and at the same time, reducing the congestion problem of the automated guided transport vehicles on the moving paths, thereby improving the sorting efficiency of the automated guided transport vehicles.
[0070] Next, combine Figures 3 to 6 The above steps of this exemplary embodiment are described in more detail.
[0071] In step S210, Figure 3 As shown, obtaining a queue request set of an automated guided vehicle within a scheduling time period may specifically include the following steps:
[0072] Step S310: Acquire the queue requests of the automated guided transport vehicles in real time and add the queue requests of the automated guided transport vehicles to the cache queue in sequence.
[0073] The dispatching system receives AGV queuing requests in real time and writes them into the cache queue in the order of the requests.
[0074] Step S320: Obtain the queue requests of the automated guided vehicles within a scheduling time period from the cache queue, and put the queue requests into a queue request set.
[0075] The scheduling system periodically obtains the queued requests in the current scheduling time period in the cache queue according to the set scheduling time period, and puts the queued requests into the queued request set.
[0076] In step S220, Figure 4 As shown, determining a set of candidate workstations for queuing scheduling matching according to the number of queuing requests of automated guided vehicles in the queuing request set may specifically include the following steps:
[0077] Step S410: If the number of queued requests in the queued request set is greater than zero, the set of workstations to be selected for queue scheduling matching is initialized to an empty set.
[0078] Before determining the set of workstations to be selected, the system first determines whether the number of queue requests in the queue request set is greater than 0. If the number of queue requests is equal to 0, it indicates that there are no automated guided transport vehicles that need to queue within the current scheduling time period, and the system directly ends the current process; if the number of queue requests is greater than 0, the set of workstations to be selected that require automated guided transport vehicle resources is initialized, set to an empty set, and continue to execute step S420.
[0079] Step S420: Obtain the number of idle queue positions of each workstation among all workstations, and sort all workstations in descending order according to the number of idle queue positions.
[0080] The number of free queue positions of all workstations is obtained, and all workstations are sorted in reverse order according to the number of free queue positions from most to least, so as to select the workstation with the largest number of free queue positions.
[0081] Step S430: According to the sorting result of the workstations, the workstation with the largest number of free queue positions is selected as the workstation to be selected and put into the set of workstations to be selected, and the number of queue positions to be allocated for the workstation to be selected is determined.
[0082] like Figure 5 As shown, step S430 may specifically include the following steps:
[0083] Step S510: Select the workstation with the largest number of free queue positions as the workstation to be selected according to the sorting result of the workstations, and determine whether the workstation to be selected is in the set of workstations to be selected.
[0084] After all workstations are sorted in descending order according to the number of idle queue positions, the workstation with the largest number of idle queue positions is selected as the candidate workstation, and it is determined whether it is in the set of candidate workstations.
[0085] Step S520: If the workstation to be selected is not in the workstation set to be selected, the workstation to be selected is placed in the workstation set to be selected, the number of queue positions to be allocated of the workstation to be selected is set to a first preset value, and the number of idle queue positions of the workstation to be selected is updated according to the first preset rule.
[0086] If the workstation to be selected is not in the set of workstations to be selected, the workstation to be selected will be added to the set of workstations to be selected, and the number of queue positions to be allocated, that is, the number of available automated guided transport vehicles, will be set to a first preset value. In this example implementation, the first preset value is 1; then the number of idle queue positions will be updated according to the first preset rule. In this example implementation, updating according to the first preset rule means reducing the number by 1.
[0087] Step S530: If the workstation to be selected is in the set of workstations to be selected, the number of idle queue positions of the workstation to be selected is updated according to the first preset rule, and the number of to-be-allocated queue positions of the workstation to be selected is updated according to the second preset rule.
[0088] If the workstation to be selected is in the set of workstations to be selected, it means that the workstation has been selected and does not need to be put into the set again. It is only necessary to update the number of idle queue positions and the number of queue positions to be allocated of the workstation to be selected. Therefore, the number of idle queue positions of the workstation to be selected is updated according to the first preset rule, that is, the number of idle queue positions is reduced by 1; and the number of queue positions to be allocated of the workstation to be selected is updated according to the second preset rule. In this example implementation, the update according to the second preset rule is to increase the number by 1, indicating that one more automated guided transport vehicle is allocated to the workstation to be selected.
[0089] After selecting the workstations to be selected in the workstation set according to the above steps, it is necessary to determine whether the total number of queue positions to be allocated in the set meets the conditions. The determination method is as follows:
[0090] Step S440: Determine whether the sum of the numbers of queue positions to be allocated of all the workstations to be selected is greater than or equal to the number of queue requests of the automated guided vehicles in the queue request set.
[0091] Determine whether the sum of the number of queue positions to be allocated for all candidate workstations is greater than or equal to the number of queue requests for automated guided vehicles in the queue request set, that is, determine whether the currently selected candidate workstation can meet the queue requests of all automated guided vehicles within the current scheduling time period.
[0092] Step S450: If the sum of the numbers of queue positions to be allocated is greater than or equal to the number of queue requests in the queue request set, the current set of workstations to be selected is determined as the final set of workstations to be selected.
[0093] If the sum of the number of queue positions to be allocated is greater than or equal to the number of queue requests in the queue request set, it means that the currently selected workstations can meet the queue requests of all automated guided vehicles within the current scheduling time period, then the current workstation set is determined as the final workstation set.
[0094] Step S460: If the sum of the number of queue positions to be allocated is less than the number of queue requests in the queue request set, the number of free queue positions of each workstation in all workstations is re-acquired, and the above steps are repeated.
[0095] If the sum of the number of queue positions to be allocated is less than the number of queue requests in the queue request set, it means that the currently selected workstations to be selected are not sufficient to allocate the queue requests of all automated guided transport vehicles within the current scheduling time period, and it is necessary to re-acquire the number of free queue positions of each workstation in all workstations, and repeat the above steps starting from step S420 until enough workstations to be selected are selected so that the sum of the number of queue positions to be allocated is greater than or equal to the number of queue requests of automated guided transport vehicles in the queue request set.
[0096] After selecting enough candidate workstations through the above steps and obtaining the final candidate workstation set, the queue request set can be matched with the candidate workstation set to obtain the allocation method of the automatic guided vehicle in the current scheduling time period.
[0097] In step S230, if Figure 6 As shown, matching the queued requests in the queued request set with the workstations to be selected in the workstation to be selected set may specifically include the following steps:
[0098] Step S610. Determine all combinations of the queuing requests of the automated guided transport vehicle and the workstations to be selected, and calculate the total distance that the automated guided transport vehicle moves to each workstation to be selected under each combination.
[0099] Step S620: Determine a target combination method that minimizes the total distance that the automated guided transport vehicle moves to each workstation to be selected, and match the queue request of the automated guided transport vehicle with the workstation to be selected according to the target combination method.
[0100] In this example implementation, the matching relationship between the queued requests and the workstations to be selected can be determined by integer model planning, and the objective function is:
[0101]
[0102] The above objective function represents the matching method that minimizes the total distance of the automated guided vehicle moving to each candidate workstation. ij is a logical variable (i.e., a 0-1 variable) that indicates "yes" or "no", x ij =1 means that queue request i goes to workstation j to queue, l ij is the distance between the AGV corresponding to queue request i and workstation j.
[0103] The distance between the automated guided vehicle and the workstation can be expressed as Manhattan distance or Euclidean distance, wherein Manhattan distance refers to the sum of the distances of the projections of the line segment formed by two points on the axis in the fixed rectangular coordinate system of Euclidean space, that is, the sum of the horizontal distance and the vertical distance between the automated guided vehicle and each workstation to be selected; Euclidean distance refers to the true distance between two points, or the natural length of a vector, that is, the straight-line distance between the automated guided vehicle and each workstation to be selected
[0104] The constraints of each variable of the above objective function are:
[0105]
[0106]
[0107]
[0108] Among them, constraint (1) means that a queue request can only queue at one candidate workstation;
[0109] In constraint (2), k j is the number of AGVs that can go to the jth workstation, that is, the number of queue positions to be allocated, indicating that the current workstation can only allow the kth workstation to go to the kth workstation. j AGVs go to the queue, and the sum of the number of AGVs available to all workstations is equal to the number of queue requests;
[0110] Constraint (3) represents the variable x ij Can only be 0 or 1.
[0111] The above method can be used to obtain a matching method that minimizes the total distance for the automated guided vehicle to move to each selected workstation. Finally, the system issues an automated guided vehicle queuing task based on the matching result, deletes the queuing request for the issued task from the cache queue, and then performs calculation and matching for the next cycle.
[0112] like Figure 7The figure is a complete flow chart of a specific implementation of the present disclosure, which is an example of the above steps in this example implementation. The specific steps of the flow chart are as follows:
[0113] Step S710: The system obtains a set of queued requests of the cache queue according to the time window.
[0114] The time window is the scheduling time period in the above embodiment, that is, obtaining a set of queued requests within a scheduling time period.
[0115] Step S720: Determine whether the number of queued requests is greater than 0.
[0116] Step S730: The system calculates the set of workstations to be selected that need to queue.
[0117] Step S740: Perform matching calculation on the queued request set and the workstation set to be selected.
[0118] The schematic diagram of calculating the matching relationship is as follows Figure 8 As shown, the cache queue 801 includes queue requests of multiple cycles. The system obtains the queue requests in time window 1 at time 1, and selects a candidate workstation for matching according to the idleness of the workstation at time 1; obtains the queue requests in time window 2 at time 2, and selects a candidate workstation for matching according to the idleness of the workstation at time 2, and so on.
[0119] Step S750: Send the queued task.
[0120] The system sends out queue tasks in sequence according to the matching results at different times.
[0121] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0122] Furthermore, the present disclosure also provides a queuing scheduling device for an automated guided vehicle. Fig. 9 As shown, the queue scheduling device for the automated guided vehicle may include a request set acquisition module 910, a workstation determination module 920, a workstation matching module 930, and a transport vehicle scheduling module 940. Among them:
[0123] The request set acquisition module 910 may be used to acquire a queue request set of automated guided transport vehicles within a scheduling time period, and determine the number of queue requests of automated guided transport vehicles in the queue request set;
[0124] The workstation determination module 920 may be used to determine a set of candidate workstations for queuing scheduling matching according to the number of queuing requests of the automated guided transport vehicles in the queuing request set;
[0125] The workstation matching module 930 may be used to match the queue requests in the queue request set with the workstations to be selected in the workstations to be selected set, so as to minimize the total distance that the automated guided transport vehicle corresponding to the queue request moves to the workstations to be selected;
[0126] The transport vehicle scheduling module 940 can be used to schedule the automated guided transport vehicle to the corresponding to-be-selected workstation for queuing according to the matching results.
[0127] In some exemplary embodiments of the present disclosure, the request set acquisition module 910 may include a unit, a unit, and a unit. Among them:
[0128] The cache queue acquisition unit may be used to acquire the queue requests of the automated guided transport vehicles in real time and add the queue requests of the automated guided transport vehicles to the cache queue in sequence;
[0129] The queue request acquisition unit can be used to acquire the queue requests of the automatic guided transport vehicles within a scheduling time period from the cache queue, and put the queue requests into the queue request set.
[0130] In some exemplary embodiments of the present disclosure, the workstation determination module 920 may include a set initialization unit, a workstation sorting unit, a to-be-selected workstation determination unit, a queuing position number determination unit, a to-be-selected set determination unit, and a selection step repeating unit.
[0131] The set initialization unit may be used to initialize the set of candidate workstations that can be matched for queue scheduling to an empty set if the number of queue requests in the queue request set is greater than zero;
[0132] The workstation sorting unit can be used to obtain the number of free queue positions of each workstation among all workstations, and sort all workstations in descending order according to the number of free queue positions;
[0133] The workstation to be selected determining unit may be used to select the workstation with the largest number of idle queue positions as the workstation to be selected and put it into the workstation to be selected set according to the sorting result of the workstations, and determine the number of queue positions to be allocated for the workstation to be selected;
[0134] The queuing position number determination unit may be used to determine whether the sum of the numbers of queuing positions to be allocated of all the workstations to be selected is greater than or equal to the number of queuing requests of the automated guided transport vehicles in the queuing request set;
[0135] The to-be-selected set determining unit may be configured to determine the current to-be-selected workstation set as the final to-be-selected workstation set if the sum of the numbers of the to-be-allocated queuing positions is greater than or equal to the number of the queuing requests in the queuing request set;
[0136] The selection step repeating unit can be used to re-acquire the number of idle queue positions of each workstation in all workstations and repeat the above steps if the sum of the number of queue positions to be allocated is less than the number of queue requests in the queue request set.
[0137] In some exemplary embodiments of the present disclosure, the workstation to be selected determining unit may include a workstation to be selected selecting unit, a workstation to be selected adding unit, and a queuing position number updating unit.
[0138] The workstation selection unit may be used to select the workstation with the largest number of free queue positions as the workstation to be selected according to the sorting result of the workstations, and determine whether the workstation to be selected is in the set of workstations to be selected;
[0139] The workstation to be selected adding unit may be used to add the workstation to be selected into the workstation to be selected set if the workstation to be selected is not in the workstation to be selected set, and set the number of queue positions to be allocated of the workstation to be selected to a first preset value, and update the number of idle queue positions of the workstation to be selected according to the first preset rule;
[0140] The queuing position number updating unit can be used to update the number of idle queuing positions of the to-be-selected workstation according to a first preset rule and update the number of to-be-allocated queuing positions of the to-be-selected workstation according to a second preset rule if the to-be-selected workstation is in the to-be-selected workstation set.
[0141] In some exemplary embodiments of the present disclosure, the workstation matching module 930 may include a total distance determination unit and a target combination matching unit.
[0142] The total distance determination unit may be used to determine all combinations of the queue requests of the automated guided transport vehicle and the workstations to be selected, and calculate the total distance that the automated guided transport vehicle moves to each workstation to be selected under each combination;
[0143] The target combination matching unit can be used to determine a target combination method that minimizes the total distance that the automated guided transport vehicle moves to each workstation to be selected, and match the queue request of the automated guided transport vehicle with the workstation to be selected according to the target combination method.
[0144] The specific details of each module / unit in the above-mentioned queue scheduling device for automated guided vehicles have been described in detail in the corresponding method implementation example part and will not be repeated here.
[0145] Fig.10A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present invention is shown.
[0146] It should be noted that Fig.10 The computer system 1000 of the electronic 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.
[0147] like Fig.10 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 into a random access memory (RAM) 1003. Various programs and data required for system operation are also stored in the RAM 1003. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0148] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.
[0149] In particular, according to an embodiment of the present invention, the process described below with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes 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 a network through a communication part 1009, and / or installed from a removable medium 1011. When the computer program is executed by a central processing unit (CPU) 1001, various functions defined in the system of the present application are executed.
[0150] It should be noted that the computer-readable medium shown in the present disclosure 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 disclosure, 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 disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. 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.
[0151] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. 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.
[0152] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the following embodiment.
[0153] It should be noted that, although several modules of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules described above can be concretized in one module. Conversely, the features and functions of one module described above can be further divided into multiple modules to be concretized.
[0154] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.
[0155] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A queuing scheduling method for automated guided vehicles, characterized in that: include: Acquire the queue requests of the automated guided transport vehicles in real time and add the queue requests of the automated guided transport vehicles to the cache queue in sequence; Obtaining queue requests of automated guided transport vehicles within a scheduling time period from the cache queue, placing the queue requests into a queue request set, and determining the number of queue requests of automated guided transport vehicles in the queue request set; Determining a set of workstations to be selected for queuing scheduling matching according to the number of queuing requests of the automated guided transport vehicles in the queuing request set includes: selecting a workstation with the largest number of idle queuing positions as a workstation to be selected and putting it into the workstation set to be selected, and when the total number of queuing positions to be allocated of the workstations to be selected in the workstation set to be selected meets the queuing requests of all automated guided transport vehicles within the scheduling time period, determining the current workstation set to be selected as the final workstation set to be selected; Matching the queue requests in the queue request set with the workstations to be selected in the workstations to be selected set, so that the total distance that the automated guided transport vehicle corresponding to the queue request moves to the workstation to be selected is minimized; The automated guided transport vehicle is dispatched to the corresponding workstation to be selected for queuing according to the matching result.
2. The queue scheduling method for automated guided vehicles according to claim 1, characterized in that: The step of determining a set of workstations to be selected for queuing scheduling matching according to the number of queuing requests of the automated guided transport vehicles in the queuing request set includes: If the number of the queued requests in the queued request set is greater than zero, the set of workstations to be selected for queue scheduling matching is initialized to an empty set; Obtain the number of idle queue positions of each of the workstations, and sort all the workstations in descending order according to the number of idle queue positions; According to the sorting result of the workstations, the workstation with the largest number of free queue positions is selected as the workstation to be selected and put into the set of workstations to be selected, and the number of queue positions to be allocated to the workstation to be selected is determined; Determine whether the sum of the numbers of queue positions to be allocated of all the workstations to be selected is greater than or equal to the number of queue requests of the automated guided transport vehicles in the queue request set; If the sum of the numbers of the queue positions to be allocated is greater than or equal to the number of the queue requests in the queue request set, the current set of workstations to be selected is determined as the final set of workstations to be selected; If the sum of the numbers of the queue positions to be allocated is less than the number of the queue requests in the queue request set, the number of idle queue positions of each of the workstations in all the workstations is re-acquired, and the above steps are repeated.
3. The queuing scheduling method for automated guided vehicles according to claim 2, characterized in that: The step of selecting the workstation with the largest number of idle queue positions as the workstation to be selected and placing it in the set of workstations to be selected according to the sorting result of the workstations, and determining the number of queue positions to be allocated for the workstation to be selected, comprises: Selecting the workstation with the largest number of free queue positions as a workstation to be selected according to the sorting result of the workstations, and determining whether the workstation to be selected is in the set of workstations to be selected; If the workstation to be selected is not in the set of workstations to be selected, the workstation to be selected is placed in the set of workstations to be selected, the number of queue positions to be allocated of the workstation to be selected is set to a first preset value, and the number of idle queue positions of the workstation to be selected is updated according to a first preset rule; If the workstation to be selected is in the set of workstations to be selected, the number of idle queue positions of the workstation to be selected is updated according to a first preset rule, and the number of to-be-allocated queue positions of the workstation to be selected is updated according to a second preset rule.
4. The queuing scheduling method for automated guided vehicles according to claim 1, characterized in that: The matching of the queued requests in the queued request set with the workstations to be selected in the workstations to be selected set comprises: Determine all combinations of the queuing request of the automated guided transport vehicle and the workstations to be selected, and calculate the total distance that the automated guided transport vehicle moves to each workstation to be selected under each combination; A target combination method is determined that minimizes the total distance that the automated guided transport vehicle moves to each workstation to be selected, and the queue request of the automated guided transport vehicle is matched with the workstation to be selected according to the target combination method.
5. The queuing scheduling method for automated guided vehicles according to claim 4, characterized in that: The calculating of the total distance that the automated guided transport vehicle moves to each workstation to be selected under each combination mode includes: The sum of the straight-line distances between the automated guided transport vehicle and each workstation to be selected under each combination is calculated.
6. The queuing scheduling method for automated guided vehicles according to claim 4, characterized in that: The calculating of the total distance that the automated guided transport vehicle moves to each workstation to be selected under each combination mode includes: The sum of the lateral distance and the longitudinal distance between the automatic guided transport vehicle and each workstation to be selected under each combination is calculated.
7. A queuing and dispatching device for an automated guided vehicle, characterized in that: include: A request set acquisition module, used for acquiring the queuing requests of the automated guided transport vehicles in real time and adding the queuing requests of the automated guided transport vehicles to the cache queue in sequence; Obtaining queue requests of automated guided transport vehicles within a scheduling time period from the cache queue, placing the queue requests into a queue request set, and determining the number of queue requests of automated guided transport vehicles in the queue request set; The workstation determination module is used to determine a set of workstations to be selected for queuing scheduling matching according to the number of queuing requests of the automated guided transport vehicles in the queuing request set, including: selecting the workstation with the largest number of idle queuing positions as the workstation to be selected and putting it into the workstation to be selected set; when the total number of queuing positions to be allocated of the workstations to be selected in the workstation to be selected set meets the queuing requests of all automated guided transport vehicles within the scheduling time period, determining the current workstation to be selected set as the final workstation to be selected set; a workstation matching module, configured to match the queue requests in the queue request set with the workstations to be selected in the workstations to be selected set, so as to minimize the total distance that the automated guided transport vehicle corresponding to the queue request moves to the workstations to be selected; The transport vehicle scheduling module is used to schedule the automatic guided transport vehicle to the corresponding to-be-selected workstation for queuing according to the matching result.
8. An electronic device, characterized in that: include: processor; as well as A memory for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the queue scheduling method for automatic guided transport vehicles as described in any one of claims 1 to 6.
9. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, a queuing scheduling method for automated guided vehicles according to any one of claims 1 to 6 is implemented.
