WO2021197477A1 - Device scheduling method and apparatus for high-bay warehouse - Google Patents

Device scheduling method and apparatus for high-bay warehouse Download PDF

Info

Publication number
WO2021197477A1
WO2021197477A1 PCT/CN2021/085307 CN2021085307W WO2021197477A1 WO 2021197477 A1 WO2021197477 A1 WO 2021197477A1 CN 2021085307 W CN2021085307 W CN 2021085307W WO 2021197477 A1 WO2021197477 A1 WO 2021197477A1
Authority
WO
WIPO (PCT)
Prior art keywords
transportation
task
equipment
scheduling
target
Prior art date
Application number
PCT/CN2021/085307
Other languages
French (fr)
Chinese (zh)
Inventor
段玉辉
Original Assignee
北京京邦达贸易有限公司
北京京东乾石科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京京邦达贸易有限公司, 北京京东乾石科技有限公司 filed Critical 北京京邦达贸易有限公司
Publication of WO2021197477A1 publication Critical patent/WO2021197477A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders

Definitions

  • the present disclosure relates to the field of warehousing and logistics, and in particular to an equipment scheduling method and device for a three-dimensional warehouse.
  • each lane has multiple layers, and scheduling equipment is needed to complete transportation tasks. For example, it is often necessary to use lifting equipment to perform layer-changing scheduling of transportation equipment to complete transportation tasks.
  • the transportation equipment and the lifting equipment in the prior art operate independently, without any data communication between each other, and do not know the operating status of each other.
  • multiple dispatching equipment transport equipment and lifting equipment
  • they need to work
  • Personnel rely on experience or observation of transportation equipment and lifting equipment to judge and schedule their tasks, such as: when the transportation equipment enters the lifting equipment, when to leave the lifting equipment, dispatch the lifting equipment to which floor to perform tasks, and so on. If the staff of a certain action node judges that the scheduling is improper, it will cause scheduling conflicts between the transportation equipment and the lifting equipment, and the transportation task cannot be performed efficiently.
  • the embodiments of the present disclosure provide an equipment scheduling method and device for a three-dimensional library, which can accurately schedule transportation equipment and lifting equipment according to the status information of the transportation equipment and lifting equipment, and ensure that the equipment is executed in an orderly and efficient manner. , Avoid equipment collision, more safety.
  • a device scheduling method for a stereo library including:
  • the status information of the dispatching equipment is acquired; wherein the dispatching equipment includes: transportation equipment and lifting equipment;
  • the scheduling device According to the status information of the scheduling device and the information of the transportation task to be allocated, assign a target scheduling device corresponding to the transportation task to be allocated, and generate a scheduling task corresponding to the transportation task to be allocated;
  • the state information of the dispatching device includes: failure information of the dispatching device, and existing transportation task information of the dispatching device;
  • the transportation task information includes: transportation task generation time information, and layer information of the transportation task.
  • assigning the corresponding target scheduling device to the transportation task includes:
  • the scheduling device According to the failure information of the scheduling device, select a non-faulty device from the scheduling device as the candidate scheduling device;
  • the existing transportation task information of the target transportation device determine the layer of the target transportation device before the transportation task to be allocated is executed, as a pre-order layer
  • the target transportation device is used as the target scheduling device
  • a target lifting device is determined from the lifting devices to be selected, and the target transportation device and the target lifting device are used together as the target scheduling device.
  • determining the layer of the target transportation device before executing the transportation task to be allocated, as the pre-order layer includes:
  • the layer of the existing transportation task that is earlier than the generation time of the transportation task to be allocated and closest to the generation time of the transportation task to be allocated among the existing transportation tasks is used as the pre-order layer.
  • generating a scheduling task corresponding to the to-be-allocated transportation task includes:
  • the scheduling task includes: the target transportation equipment performs the same layer transportation at the layer where the transportation task to be allocated is located;
  • the scheduling task includes: using the target lifting device to transfer the target transportation device from the pre-order layer to the transportation task to be allocated The layer.
  • the target transportation equipment is determined from the transportation equipment to be selected, including:
  • the number of transportation tasks to be performed for each transportation equipment to be selected is determined; the transportation equipment to be selected with the least number of transportation tasks to be performed is used as the target transportation equipment.
  • the target lifting equipment is determined from the to-be-selected lifting equipment, including:
  • the existing transportation task information of the scheduling equipment determine the number of transportation tasks to be performed for each candidate lifting equipment; take the candidate lifting equipment with the least number of transportation tasks to be performed as the target transportation equipment.
  • the method further includes:
  • the existing transportation tasks of the dispatching device are allocated to other dispatching devices according to the above-mentioned method, and the state information of the dispatching device is updated.
  • a device scheduling device for a stereo library including:
  • the obtaining module is used to obtain status information of the dispatching equipment in response to the received transportation task to be assigned; wherein the dispatching equipment includes: transportation equipment and lifting equipment;
  • the allocation module is used to allocate a target scheduling device corresponding to the to-be-allocated transportation task according to the status information of the scheduling device and the to-be-allocated transportation task information, and generate a schedule corresponding to the to-be-allocated transportation task Task;
  • the scheduling module is used to schedule the target scheduling device according to the scheduling task.
  • the state information of the dispatching device includes: failure information of the dispatching device, and existing transportation task information of the dispatching device;
  • the transportation task information includes: transportation task generation time information, and layer information of the transportation task.
  • the allocation module allocates a corresponding target scheduling device for the transportation task according to the status information of the scheduling device and the transportation task information to be allocated, including:
  • the scheduling device According to the failure information of the scheduling device, select a non-faulty device from the scheduling device as the candidate scheduling device;
  • the existing transportation task information of the target transportation device determine the layer of the target transportation device before the transportation task to be allocated is executed, as a pre-order layer
  • the target transportation device is used as the target scheduling device
  • a target lifting device is determined from the lifting devices to be selected, and the target transportation device and the target lifting device are used together as the target scheduling device.
  • the allocation module determines the layer of the target transportation device before executing the transportation task to be allocated based on the existing transportation task information of the target transportation device, as a pre-order layer, including:
  • the layer of the existing transportation task that is earlier than the generation time of the transportation task to be allocated and closest to the generation time of the transportation task to be allocated among the existing transportation tasks is used as the pre-order layer.
  • the allocation module generates a scheduling task corresponding to the transportation task to be allocated, including:
  • the scheduling task includes: the target transportation equipment performs the same layer transportation at the layer where the transportation task to be allocated is located;
  • the scheduling task includes: using the target lifting device to transfer the target transportation device from the pre-order layer to the transportation task to be allocated The layer.
  • the allocation module determines the target transportation equipment from the transportation equipment to be selected, including:
  • the number of transportation tasks to be performed for each transportation equipment to be selected is determined; the transportation equipment to be selected with the least number of transportation tasks to be performed is used as the target transportation equipment.
  • the distribution module determines the target lifting equipment from the to-be-selected lifting equipment, including:
  • the existing transportation task information of the scheduling equipment determine the number of transportation tasks to be performed for each candidate lifting equipment; take the candidate lifting equipment with the least number of transportation tasks to be performed as the target transportation equipment.
  • the allocation module after the allocation module allocates a target scheduling device corresponding to the transportation task to be allocated and generates a scheduling task corresponding to the transportation task to be allocated, the allocation module further includes:
  • the allocation module is also used to allocate the existing transportation tasks of the dispatching device to other dispatching devices according to the above method, and update the state information of the dispatching device.
  • a device scheduling electronic device for a stereo library including:
  • One or more processors are One or more processors;
  • Storage device for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the device scheduling method for the stereo library provided in the present disclosure.
  • a computer-readable medium having a computer program stored thereon, and when the program is executed by a processor, the device scheduling method for a stereo library provided by the present disclosure is implemented.
  • An embodiment in the above disclosure has the following advantages or beneficial effects: because the scheduling task is generated based on the transportation task based on the status information of the transportation equipment and the lifting equipment, and then the transportation equipment and the lifting equipment are accurately scheduled, and updated in time during the scheduling process.
  • the technical means of its status information avoids the scheduling conflicts caused by the non-interworking of data between the transportation equipment and the lifting equipment in the prior art, and overcomes the scheduling conflicts caused by the staff relying on experience and observation in the prior art.
  • the technical problems of untimely scheduling, inaccuracy, insecurity, and low task execution efficiency have achieved the technical effect of enabling the equipment to perform tasks in an orderly, efficient and safe manner.
  • FIG. 1 is a schematic diagram of the main flow of a device scheduling method for a three-dimensional library according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of an application scenario of a device scheduling method for a stereo library according to an embodiment of the present disclosure
  • FIG. 3 is a detailed flowchart of a device scheduling method for a three-dimensional library according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flow chart of scheduling target transportation equipment and target lifting equipment in an equipment scheduling method for a three-dimensional library according to an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of main modules of a device scheduling device for a three-dimensional library according to an embodiment of the present disclosure
  • Fig. 6 is an exemplary system architecture diagram to which the embodiments of the present disclosure can be applied;
  • Fig. 7 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present disclosure.
  • Fig. 1 is a schematic diagram of the main flow of a device scheduling method for a three-dimensional library according to an embodiment of the present disclosure, as shown in Fig. 1, including:
  • Step S101 In response to the received transportation task to be assigned, the status information of the dispatching device is obtained; wherein the dispatching device includes: a transportation device and a lifting device;
  • Step S102 According to the status information of the scheduling device and the transportation task information to be allocated, assign a target scheduling device corresponding to the transportation task to be allocated, and generate a scheduling task corresponding to the transportation task to be allocated;
  • Step S103 Scheduling the target scheduling device according to the scheduling task.
  • the status information of the scheduling device includes: failure information of the scheduling device, and existing transportation task information of the scheduling device;
  • the transportation task information includes: transportation task generation time information, and layer information of the transportation task.
  • the transportation task can be the tasks of changing layers and placing items, warehousing and putting on the shelves, removing the shelves and leaving the warehouse, etc.;
  • Scheduling equipment may be equipment used to complete transportation tasks in a three-dimensional library storage scene, and may include transportation equipment and lifting equipment;
  • the transportation device may be a movable device used to carry items in a three-dimensional library storage scene, such as an AGV (Automated Guided Vehicle) car with a function of storing items or a common shuttle device;
  • the lifting equipment may be an elevator-like equipment used in a three-dimensional library storage scene that is used to carry transportation equipment up and down to change floors, such as a shuttle hoist. In some practical application scenarios, the number of transportation equipment and lifting equipment may be more than one.
  • the status information of the scheduling device may be stored in a database (such as a redis database); specifically, the status information of the scheduling device may include: information about whether the device is faulty, specific information about the fault, and information about the currently executing transportation task , The existing transportation task information, equipment number information, current location (layer) information, etc. that have been arranged to the equipment and have not been completed;
  • the transportation task information may include the generation time information of the transportation task and the layer information of the transportation task;
  • Each scheduling device can have a corresponding to-do task list.
  • the to-do task list can store information about existing transportation tasks that have been scheduled and not yet completed.
  • the existing transportation tasks can be first arrived according to the task generation time.
  • the following order forms an ordered task list; for example, for a certain transportation equipment A, the following transportation tasks have been arranged for the transportation equipment: a 1 , a 2 , a 3 , where a 1 , a 2 , and a 3 are already assigned tasks If the generation time sequence is arranged, the transportation equipment A will complete the transportation tasks a 1 , a 2 , and a 3 in sequence.
  • Fig. 2 is a schematic diagram of an application scenario of a device scheduling method for a stereo library according to an embodiment of the present disclosure, as shown in Fig. 2:
  • the three-dimensional library in this application scenario has 5 floors, in which there are two transportation equipment (shuttles), including transportation equipment 201, transportation equipment 202, and a lifting equipment (shuttle elevator) 203, of which transportation equipment 201 is parked on the 2nd floor ,
  • the transportation equipment 202 stops at the 1st floor, and the lifting equipment 203 stops at the 2nd floor; if the goods on the 4th floor have transportation tasks at this time, the lifting equipment 203 needs to be used in this scenario to dispatch the transportation equipment 201 or the transportation equipment 202 to the fourth floor.
  • Layer to perform tasks to perform tasks.
  • the present disclosure can generate scheduling tasks based on the transportation tasks based on the status information of the transportation equipment and the lifting equipment, thereby accurately scheduling the transportation equipment and the lifting equipment, ensuring the orderly and efficient execution of the equipment, and avoiding the transportation equipment and the lifting equipment in the prior art. Scheduling conflicts caused by non-interoperability of data between devices are safer and more efficient.
  • allocating the corresponding target scheduling device to the transportation task includes:
  • the scheduling device According to the failure information of the scheduling device, select a non-faulty device from the scheduling device as the candidate scheduling device;
  • the existing transportation task information of the target transportation device determine the layer of the target transportation device before the transportation task to be allocated is executed, as a pre-order layer
  • the target transportation device is used as the target scheduling device
  • a target lifting device is determined from the lifting devices to be selected, and the target transportation device and the target lifting device are used together as the target scheduling device.
  • Second determine that the scheduling equipment to be selected can eliminate faulty equipment and avoid assigning transportation tasks to equipment that cannot work normally;
  • the target transportation equipment After the target transportation equipment is determined from the transportation equipment to be selected, it can be determined according to the status information of the target transportation equipment whether lifting equipment is needed to help the target transportation equipment complete the transportation tasks to be assigned. Whether the tasks are on the same layer and then determine whether it is necessary to use lifting equipment to help the target transportation equipment to change layers to complete the transportation tasks to be assigned;
  • the transportation task to be allocated will be ranked in the existing transportation task list of the target transportation device.
  • the layer of the last transportation task in the existing transportation task list of the target transportation equipment can be used as the predecessor layer; or,
  • the existing transportation task is assumed to be earlier than the to-be-allocated transportation task generation time and is far from the to-be-allocated transportation task.
  • the layer of the existing transportation task with the most recent generation time of the transportation task is used as the pre-order layer; or,
  • the current layer of the target transportation device may be used as the pre-order layer
  • the lifting equipment may not be needed to help the transportation equipment to change the layer, and the target transportation equipment may be directly used as the target dispatching equipment;
  • the target lifting equipment can be determined from the to-be-selected lifting equipment, and the target transportation equipment and the target lifting equipment are jointly used as the target dispatching equipment.
  • generating a scheduling task corresponding to the to-be-allocated transportation task includes:
  • the scheduling task includes: the target transportation equipment performs the same layer transportation at the layer where the transportation task to be allocated is located;
  • the scheduling task includes: using the target lifting device to transfer the target transportation device from the pre-order layer to the transportation task to be allocated The layer.
  • the scheduling task can be regarded as a task that only involves the operation of the transportation equipment and the lifting equipment; the generation of the scheduling task can facilitate the management of the transportation equipment and the lifting equipment, avoiding the data gap between the transportation equipment and the lifting equipment in the prior art. Scheduling conflicts caused by intercommunication are safer and more efficient.
  • Fig. 3 is a detailed flowchart of a method for scheduling a device for a stereo library according to an embodiment of the present disclosure. As shown in Fig. 3, it includes the following steps:
  • Step S301 starts; Step S301 can represent the system startup and create a task scheduling thread.
  • the thread can be executed in a regular loop.
  • the Scheduled function of the spring framework can be used to realize the timing task, such as executing once in 1s;
  • the status information of transportation equipment and lifting equipment can be initialized.
  • Redis database can be used to store the status information data of transportation equipment and lifting equipment. The use of redis database can increase the data processing speed, and at the same time, it can use its distributed lock function to avoid concurrency;
  • Step S302 locks the transportation equipment and step S303 locks the lifting equipment at the same time; taking the redis database to store the status information data of the transportation equipment and the lifting equipment as an example, the system can use the redis interlock (RedissonMultiLock) function to simultaneously obtain the car and The object of the hoist is locked to ensure that the status information data of the transportation equipment and the hoisting equipment are unique at the same time and no other resources can be modified. Avoid data disorder leading to scheduling errors and equipment collisions;
  • RedissonMultiLock redis interlock
  • step S304 it is judged whether the locking of the transportation equipment and the lifting equipment is successful; if it is unsuccessful, it returns to the starting step of step S301; if it is successful, it executes the next step;
  • the order of obtaining the status information of the transportation equipment in step S305 and obtaining the status information of the lifting equipment in step S306 may be in no particular order.
  • the status information of the transportation equipment may be obtained first, or the status information of the lifting equipment may be obtained first, or at the same time;
  • step S307 it is judged whether both the transportation equipment and the lifting equipment are normally available without failure; when they are not available, step S309 is executed; when there are equipment that is normally available without failure, step S308 is executed;
  • Step S308 determines the target scheduling equipment corresponding to the transportation task to be allocated, and generates the scheduling task corresponding to the transportation task to be allocated;
  • Step S309 Release the lock of the transportation equipment and the lifting equipment, and return to the starting step of step S301.
  • determining the target transportation equipment from the candidate transportation equipment includes:
  • the number of transportation tasks to be performed for each transportation equipment to be selected is determined; the transportation equipment to be selected with the least number of transportation tasks to be performed is used as the target transportation equipment.
  • the selection can be made based on the task generation time in the list of transportation tasks to be performed.
  • the transportation equipment B to be selected has ordered existing transportation tasks b 1 , b 2 , b 3
  • transportation equipment C to be selected has transportation tasks c 1 , c 2 , and c 3 in the ordered order, and transportation tasks are to be performed
  • the number is 3, which is the least; among them, if the generation time of transportation task b 3 is earlier than the generation time of transportation task c 3, and the generation time of transportation task c 3 is earlier than the generation time of transportation task x to be assigned, the transportation equipment to be selected can be selected B is the target transportation equipment.
  • the significance of this determination is that the transportation tasks to be allocated can be executed as soon as possible based on the current status information of each equipment.
  • determining the target lifting equipment from the candidate lifting equipment includes:
  • the existing transportation task information of the scheduling equipment determine the number of transportation tasks to be performed for each candidate lifting equipment; take the candidate lifting equipment with the least number of transportation tasks to be performed as the target transportation equipment.
  • the target scheduling equipment is determined according to the number of transportation tasks to be performed for each equipment, and transportation tasks can be distributed to the equipment relatively evenly, which can avoid the situation that a small number of equipment is assigned too many transportation tasks, and then balance the equipment load.
  • the method further includes: updating the status information of the target scheduling device .
  • the existing transportation tasks of the scheduling device are allocated to other scheduling devices according to the above-mentioned method, and the status information of the scheduling device is updated.
  • the failure of the dispatching equipment may also include the dispatching equipment's maintenance requirements, recovery requirements, etc.; the following examples illustrate:
  • candidate transportation equipment D There are candidate transportation equipment D, candidate transportation equipment E, candidate transportation equipment F; candidate elevator equipment G, candidate elevator equipment H, candidate elevator equipment I; candidate transportation equipment D has existing transportation tasks arranged in order d 1 , d 2 , and they all cooperate with the candidate lifting equipment G; the candidate transportation equipment E has the existing transportation tasks e 1 , e 2 , e 3 in the order , and they all cooperate with the candidate lifting equipment H;
  • the selected transportation equipment F has the existing transportation tasks f 1 , f 2 , and f 3 in a good order, and they all cooperate with the to-be-selected lifting equipment I; when the to-be-selected transportation equipment F suddenly fails at this time, you can follow the steps in this disclosure
  • the transportation tasks f 1 , f 2 , and f 3 are assigned to other devices in turn, and new scheduling tasks are generated accordingly; and afterwards, the status information of each device needs to be updated.
  • Updating the status information of the device in time can make the data more credible and make the method in the present disclosure more reliable.
  • an interlock may be set for the target transportation equipment and the target lifting equipment. Setting the interlock can ensure that the equipment status information is not easily tampered with and ensure the accuracy of the data.
  • Fig. 4 is a schematic flow chart of equipment scheduling for target transportation equipment and target lifting equipment in an equipment scheduling method for a three-dimensional library according to an embodiment of the present disclosure. As shown in Fig. 4, it includes the following steps:
  • Step S401 starts; Step S401 can be regarded as a sign of the start of the process after dispatching tasks to the target transportation equipment and the target lifting equipment;
  • step S402 the status information of the target transportation equipment is updated. Specifically, the status information of the target transportation equipment may be updated to "the scheduling task is being executed";
  • step S403 an instruction of "arrival waiting position" is issued to the target transportation equipment;
  • the waiting position may be a position where the transportation equipment is located in a layer where it is docked with the target lifting equipment;
  • Step S404 confirms that the target transportation equipment arrives at the waiting position; when the target transportation equipment reaches the waiting position, the target transportation equipment can notify the system, and the system obtains the transportation equipment redis object and locks it, marking the completion of the task of "arrived waiting position";
  • Step S405 is to update the status information of the target lifting device, specifically, it may be updating the status information of the target lifting device to "executing a scheduling task";
  • Step S406 is to issue an "arrival waiting position" instruction to the target hoisting equipment;
  • the waiting position may be the docking position of the target hoisting equipment and the floor where the target transportation equipment is located;
  • Step S407 confirms that the target lifting equipment arrives at the waiting position; when the target lifting equipment reaches the waiting position, the target lifting equipment informs the system, and the system obtains the redis object of the lifting equipment, and at the same time obtains the redis object of the target transportation equipment and adds the interlock, marking the current of the target lifting equipment object "Arrival waiting position" task execution is completed;
  • step S402 to step S404 and step S405 to step S407 can be performed in no particular order or at the same time; step S402 to step S404 and step S405 to step S407 need to be completed before step S408 to Enable the target transportation equipment to enter the target lifting equipment normally to ensure safety;
  • Step S408 is to issue the "enter target lifting equipment" instruction to the target transportation equipment
  • Step S409 confirms that the target transportation equipment enters the target lifting equipment; when the target transportation equipment enters the target lifting equipment, the system is notified, and the system obtains the target transportation equipment redis object, and at the same time, obtains the target lifting equipment redis object and adds the interlock to mark the target transportation equipment object current "Enter the target lifting equipment" task is completed, and the current floor number of the target transportation equipment can be marked as empty to indicate that the target transportation equipment is not in any floor;
  • Step S410 is to issue an "reach to destination" instruction to the target lifting device; update the execution task list of the target lifting device object, and issue the "reach to destination” instruction to the target lifting device;
  • Step S411 confirms that the target lifting equipment reaches the target floor; the target lifting equipment reaches the target floor, that is, the target lifting equipment carries the target transportation equipment and reaches the target floor together; when the target lifting equipment reaches the target floor, the target lifting equipment notifies the system, and the system obtains the lifting equipment redis Object, at the same time, obtain the redis object of the target transportation equipment and add interlock to mark the completion of the task of "reaching the destination layer" of the redis object of the lifting equipment;
  • Step S412 is to issue the instruction of "leave the target lifting equipment and enter the destination layer" to the target transportation equipment;
  • Step S412 may be to update the target transportation equipment redis object execution task list, and issue the instruction of "leave the target lifting equipment and enter the destination layer” to the target transportation equipment ;
  • Step S413 confirms that the target transportation equipment leaves the target elevator equipment and enters the destination layer; when the target transportation equipment leaves the target elevator equipment and enters the destination floor, the target transportation equipment notifies the system, and the system obtains the target transportation equipment redis object, and at the same time obtains the target elevator equipment redis object and adds Interlock, mark the completion of the task of the target transportation equipment object "leave the target lifting equipment and enter the destination layer", and mark the completion of the scheduling task of the target transportation equipment;
  • Step S414 The task ends; the target transportation equipment status information is updated so that the target transportation equipment can perform other tasks; and the target lifting equipment redis object execution task list is updated, and the target lifting equipment scheduling task is marked as completed.
  • FIG. 5 is a schematic diagram of the main modules of a device scheduling device for a three-dimensional library according to an embodiment of the present disclosure.
  • the device scheduling device 500 for a three-dimensional library includes:
  • the obtaining module 501 is configured to obtain status information of a dispatching device in response to a received transportation task to be assigned; wherein, the dispatching device includes: a transportation device and a lifting device;
  • the allocation module 502 is configured to allocate a target scheduling device corresponding to the to-be-allocated transportation task according to the status information of the scheduling device and the to-be-allocated transportation task information, and generate a corresponding target scheduling device for the to-be-allocated transportation task Scheduling tasks;
  • the scheduling module 503 is configured to schedule the target scheduling device according to the scheduling task.
  • the status information of the scheduling device includes: failure information of the scheduling device, and existing transportation task information of the scheduling device;
  • the transportation task information includes: transportation task generation time information, and layer information of the transportation task.
  • the transportation task can be the tasks of changing layers and placing items, warehousing and putting on the shelves, removing the shelves and leaving the warehouse, etc.;
  • the scheduling device may be a device used to complete transportation tasks in a three-dimensional library storage scenario, and may include transportation equipment and lifting equipment;
  • the transportation device may be a movable device used to carry items in a three-dimensional library storage scene, such as an AGV (Automated Guided Vehicle) car with a function of storing items or a common shuttle device;
  • the lifting equipment may be an elevator-like equipment used in a three-dimensional library storage scene that is used to carry transportation equipment up and down to change floors, such as a shuttle hoist. In some practical application scenarios, the number of transportation equipment and lifting equipment may be more than one.
  • the status information of the scheduling device may be stored in a database (such as a redis database); specifically, the status information of the scheduling device may include: information about whether the device is faulty, specific information about the fault, and information about the currently executing transportation task , The existing transportation task information, equipment number information, current location (layer) information, etc. that have been arranged to the equipment and have not been completed;
  • the transportation task information may include the generation time information of the transportation task and the layer information of the transportation task;
  • Each scheduling device can have a corresponding to-do task list.
  • the to-do task list can store information about existing transportation tasks that have been scheduled and not yet completed.
  • the existing transportation tasks can be first arrived according to the task generation time.
  • the following order forms an ordered task list; for example, for a certain transportation equipment A, the following transportation tasks have been arranged for the transportation equipment: a 1 , a 2 , a 3 , where a 1 , a 2 , and a 3 are already assigned tasks If the generation time sequence is arranged, the transportation equipment A will complete the transportation tasks a 1 , a 2 , and a 3 in sequence.
  • the present disclosure can generate scheduling tasks based on the transportation tasks based on the status information of the transportation equipment and the lifting equipment, thereby accurately scheduling the transportation equipment and the lifting equipment, ensuring the orderly and efficient execution of the equipment, and avoiding the transportation equipment and the lifting equipment in the prior art. Scheduling conflicts caused by non-interoperability of data between devices are safer and more efficient.
  • the allocation module 502 allocates a corresponding target scheduling device for the transportation task according to the status information of the scheduling device and the transportation task information to be allocated, including:
  • the scheduling device According to the failure information of the scheduling device, select a non-faulty device from the scheduling device as the candidate scheduling device;
  • the existing transportation task information of the target transportation device determine the layer of the target transportation device before the transportation task to be allocated is executed, as a pre-order layer
  • the target transportation device is used as the target scheduling device
  • a target lifting device is determined from the lifting devices to be selected, and the target transportation device and the target lifting device are used together as the target scheduling device.
  • Second determine that the scheduling equipment to be selected can eliminate faulty equipment and avoid assigning transportation tasks to equipment that cannot work normally;
  • the target transportation equipment After the target transportation equipment is determined from the transportation equipment to be selected, it can be determined according to the status information of the target transportation equipment whether lifting equipment is needed to help the target transportation equipment complete the transportation tasks to be assigned. Whether the tasks are on the same layer and then determine whether it is necessary to use lifting equipment to help the target transportation equipment to change layers to complete the transportation tasks to be assigned;
  • the transportation task to be allocated will be ranked in the existing transportation task list of the target transportation device.
  • the layer of the last transportation task in the existing transportation task list of the target transportation equipment can be used as the predecessor layer; or,
  • the existing transportation task is assumed to be earlier than the to-be-allocated transportation task generation time and is far from the to-be-allocated transportation task.
  • the layer of the existing transportation task with the most recent generation time of the transportation task is used as the pre-order layer; or,
  • the current layer of the target transportation device may be used as the pre-order layer
  • the lifting equipment may not be needed to help the transportation equipment to change the layer, and the target transportation equipment may be directly used as the target dispatching equipment;
  • the target lifting equipment can be determined from the to-be-selected lifting equipment, and the target transportation equipment and the target lifting equipment are jointly used as the target dispatching equipment.
  • the allocation module 502 generates a scheduling task corresponding to the transportation task to be allocated, including:
  • the scheduling task includes: the target transportation equipment performs the same layer transportation at the layer where the transportation task to be allocated is located;
  • the scheduling task includes: using the target lifting device to transfer the target transportation device from the pre-order layer to the transportation task to be allocated The layer.
  • the scheduling task can be regarded as a task that only involves the operation of the transportation equipment and the lifting equipment; the generation of the scheduling task can facilitate the management of the transportation equipment and the lifting equipment, avoiding the data gap between the transportation equipment and the lifting equipment in the prior art. Scheduling conflicts caused by intercommunication are safer and more efficient.
  • the allocation module 502 determines the target transportation equipment from the transportation equipment to be selected, including:
  • the number of transportation tasks to be performed for each transportation equipment to be selected is determined; the transportation equipment to be selected with the least number of transportation tasks to be performed is used as the target transportation equipment.
  • the selection can be made based on the task generation time in the list of transportation tasks to be performed.
  • the transportation equipment B to be selected has ordered existing transportation tasks b 1 , b 2 , b 3
  • transportation equipment C to be selected has transportation tasks c 1 , c 2 , and c 3 in the ordered order, and transportation tasks are to be performed
  • the number is 3, which is the least; among them, if the generation time of transportation task b 3 is earlier than the generation time of transportation task c 3, and the generation time of transportation task c 3 is earlier than the generation time of transportation task x to be assigned, the transportation equipment to be selected can be selected B is the target transportation equipment.
  • the significance of this determination is that the transportation tasks to be allocated can be executed as soon as possible based on the current status information of each equipment.
  • the allocation module 502 determines the target lifting device from the candidate lifting devices, including:
  • the existing transportation task information of the scheduling equipment determine the number of transportation tasks to be performed for each candidate lifting equipment; take the candidate lifting equipment with the least number of transportation tasks to be performed as the target transportation equipment.
  • the target scheduling equipment is determined according to the number of transportation tasks to be performed for each equipment, and transportation tasks can be distributed to the equipment relatively evenly, which can avoid the situation that a small number of equipment is assigned too many transportation tasks, and then balance the equipment load.
  • the allocation module 502 after the allocation module 502 allocates a target scheduling device corresponding to the transportation task to be allocated and generates a scheduling task corresponding to the transportation task to be allocated, the allocation module 502 further includes: updating the target scheduling device Status information.
  • the allocation module 502 is further configured to allocate the existing transportation tasks of the dispatching device to other dispatching devices according to the above method, and update the state information of the dispatching device.
  • the failure of the dispatching equipment may also include the dispatching equipment's maintenance requirements, recovery requirements, etc.; the following examples illustrate:
  • candidate transportation equipment D There are candidate transportation equipment D, candidate transportation equipment E, candidate transportation equipment F; candidate elevator equipment G, candidate elevator equipment H, candidate elevator equipment I; candidate transportation equipment D has existing transportation tasks arranged in order d 1 , d 2 , and they all cooperate with the candidate lifting equipment G; the candidate transportation equipment E has the existing transportation tasks e 1 , e 2 , e 3 in the order , and they all cooperate with the candidate lifting equipment H;
  • the selected transportation equipment F has the existing transportation tasks f 1 , f 2 , and f 3 in a good order, and they all cooperate with the to-be-selected lifting equipment I; when the to-be-selected transportation equipment F suddenly fails at this time, you can follow the steps in this disclosure
  • the transportation tasks f 1 , f 2 , and f 3 are assigned to other devices in turn, and new scheduling tasks are generated accordingly; and afterwards, the status information of each device needs to be updated.
  • Updating the status information of the device in time can make the data more credible and make the method in the present disclosure more reliable.
  • the allocation module 502 after the allocation module 502 generates the scheduling task, it can also set an interlock for the target transportation equipment and the target lifting equipment. Setting the interlock can ensure that the equipment status information is not easily tampered with, and the data is guaranteed. accuracy.
  • FIG. 6 shows an exemplary system architecture 600 of a device scheduling method for a stereo library or a device scheduling apparatus for a stereo library to which an embodiment of the present disclosure can be applied.
  • the system architecture 600 may include terminal devices 601, 602, and 603, a network 604, and a server 605.
  • the network 504 is used to provide a medium for communication links between the terminal devices 601, 602, and 603 and the server 605.
  • the network 604 may include various connection types, such as wired, wireless communication links, or fiber optic cables, and so on.
  • the user can use the terminal devices 601, 602, and 603 to interact with the server 605 via the network 604 to receive or send messages and so on.
  • Various communication client applications such as web browser applications, search applications, instant messaging tools, email clients, and social platform software, can be installed on the terminal devices 601, 602, and 603.
  • the terminal devices 601, 602, and 603 may be various electronic devices that have a display screen and support web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and so on.
  • the server 605 may be a server that provides various services.
  • the background management server can analyze and process the received product information query request and other data, and feed back the processing results (such as target push information, product information-only examples) to the terminal device.
  • the device scheduling method for the stereo library provided by the embodiment of the present disclosure is generally executed by the server 605, and accordingly, the device scheduling device for the stereo library is generally set in the server 605.
  • terminal devices, networks, and servers in FIG. 6 are merely illustrative. There can be any number of terminal devices, networks, and servers according to implementation needs.
  • FIG. 7 shows a schematic structural diagram of a computer system 700 suitable for implementing a terminal device of an embodiment of the present disclosure.
  • the terminal device shown in FIG. 7 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the computer system 700 includes a central processing unit (CPU) 701, which can be based on a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703 And perform various appropriate actions and processing.
  • ROM read-only memory
  • RAM random access memory
  • various programs and data required for the operation of the system 700 are also stored.
  • the CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704.
  • An input/output (I/O) interface 705 is also connected to the bus 704.
  • the following components are connected to the I/O interface 705: an input part 706 including a keyboard, a mouse, etc.; an output part 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and speakers, etc.; a storage part 708 including a hard disk, etc. ; And a communication section 709 including a network interface card such as a LAN card, a modem, and the like. The communication section 709 performs communication processing via a network such as the Internet.
  • the drive 710 is also connected to the I/O interface 705 as needed.
  • a removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that the computer program read therefrom is installed into the storage section 708 as needed.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication part 709, and/or installed from the removable medium 711.
  • the central processing unit (CPU) 701 the above-mentioned functions defined in the system of the present disclosure are executed.
  • 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 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 a combination of any of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable removable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
  • each block in the flowchart or block diagram may represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more for realizing the specified logic function.
  • Executable instructions may also occur in a different order from the order marked in the drawings. For example, two blocks shown one after another can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram or flowchart, and the combination of blocks in the block diagram or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by It is realized by a combination of dedicated hardware and computer instructions.
  • the modules involved in the embodiments described in the present disclosure can be implemented in software or hardware.
  • the described module may also be provided in the processor.
  • a processor includes an acquisition module, an allocation module, and a scheduling module.
  • the names of these modules do not constitute a limitation on the module itself under certain circumstances.
  • the sending module can also be described as "a module that sends an image acquisition request to a connected server".
  • the present disclosure also provides a computer-readable medium.
  • the computer-readable medium may be included in the device described in the foregoing embodiment; or it may exist alone without being assembled into the device.
  • the above-mentioned computer-readable medium carries one or more programs.
  • the device When the above-mentioned one or more programs are executed by a device, the device includes: step S101, in response to the received transportation task to be allocated, obtaining the status of the scheduling device Information; wherein, the scheduling equipment includes: transportation equipment, lifting equipment; step S102, according to the status information of the scheduling equipment and the transportation task information to be allocated, the transportation task to be allocated is assigned a corresponding target scheduling Equipment, and generate a scheduling task corresponding to the transportation task to be allocated; step S103, scheduling the target scheduling device according to the scheduling task.
  • the scheduling equipment includes: transportation equipment, lifting equipment
  • step S102 according to the status information of the scheduling equipment and the transportation task information to be allocated, the transportation task to be allocated is assigned a corresponding target scheduling Equipment, and generate a scheduling task corresponding to the transportation task to be allocated
  • step S103 scheduling the target scheduling device according to the scheduling task.
  • the technology of generating scheduling tasks based on the transportation tasks based on the status information of the transportation equipment and the lifting equipment is adopted to accurately schedule the transportation equipment and the lifting equipment, and to update the status information in time during the scheduling process Therefore, it avoids the scheduling conflicts caused by the non-interoperability of data between the transportation equipment and the lifting equipment in the prior art, and overcomes the untimely and untimely scheduling caused by the staff relying on experience and observation in the prior art.
  • the technical problems of accuracy, insecurity, and low task execution efficiency have achieved the technical effect of enabling the equipment to perform tasks in an orderly, efficient and safe manner.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A device scheduling method and apparatus for a high-bay warehouse, which relate to the field of warehouse logistics. The method comprises: in response to a received transportation task to be assigned, obtaining status information of a scheduling device; wherein the scheduling device comprises: a transportation device and a lifting device (S101); according to the status information of the scheduling device and the information of the transportation task, assigning a target scheduling device corresponding to the transportation task, and generating a scheduling task corresponding to the transportation task (S102); scheduling the target scheduling device according to the scheduling task (S103). The method can generate scheduling tasks on the basis of the transportation tasks according to the status information of the transportation device and the lifting device, and further accurately schedule the transportation device and the lifting device, thus ensuring the orderly and efficient running of the device, and avoiding the scheduling conflicts caused by there being no intercommunication of data between the transportation device and the lifting device in the prior art, which is safer and more efficient.

Description

一种用于立体库的设备调度方法和装置Equipment scheduling method and device for stereo library
相关申请的交叉引用Cross-references to related applications
本申请要求享有2020年4月3日提交的申请号为202010259306.4的中国发明专利申请的优先权,其全部内容通过引用并入本文。This application claims the priority of the Chinese invention patent application with the application number 202010259306.4 filed on April 3, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开涉及仓储物流领域,尤其涉及一种用于立体库的设备调度方法和装置。The present disclosure relates to the field of warehousing and logistics, and in particular to an equipment scheduling method and device for a three-dimensional warehouse.
背景技术Background technique
在仓储物流领域常见的立体库存储中,每个巷道会有多层,需要使用调度设备来完成运输任务,如常常需要用升降设备对运输设备进行换层调度以完成运输任务。In the common three-dimensional warehouse storage in the field of warehousing and logistics, each lane has multiple layers, and scheduling equipment is needed to complete transportation tasks. For example, it is often necessary to use lifting equipment to perform layer-changing scheduling of transportation equipment to complete transportation tasks.
在实现本技术的过程中,发明人发现现有技术中至少存在如下问题:In the process of implementing the present technology, the inventor found that there are at least the following problems in the prior art:
现有技术中的运输设备和升降设备是独立运行的,彼此之间没有任何数据通信,并不知道对方的运行状态,当多个调度设备(运输设备和升降设备)同时执行任务时,需要工作人员依靠经验或观察运输设备和升降设备来判断和调度其执行任务,如:运输设备何时进入升降设备、何时离开升降设备,调度升降设备去哪一层执行任务,等等。如果某一动作节点工作人员判断调度不当,就会导致运输设备和升降设备产生调度冲突,无法高效执行运输任务。The transportation equipment and the lifting equipment in the prior art operate independently, without any data communication between each other, and do not know the operating status of each other. When multiple dispatching equipment (transport equipment and lifting equipment) perform tasks at the same time, they need to work Personnel rely on experience or observation of transportation equipment and lifting equipment to judge and schedule their tasks, such as: when the transportation equipment enters the lifting equipment, when to leave the lifting equipment, dispatch the lifting equipment to which floor to perform tasks, and so on. If the staff of a certain action node judges that the scheduling is improper, it will cause scheduling conflicts between the transportation equipment and the lifting equipment, and the transportation task cannot be performed efficiently.
发明内容Summary of the invention
有鉴于此,本公开实施例提供一种用于立体库的设备调度方法和装置,能够根据运输设备和升降设备的状态信息对运输设备和升降设备进行精准调度,保证了设备有序高效地执行,避免了设备相撞,更加安全。In view of this, the embodiments of the present disclosure provide an equipment scheduling method and device for a three-dimensional library, which can accurately schedule transportation equipment and lifting equipment according to the status information of the transportation equipment and lifting equipment, and ensure that the equipment is executed in an orderly and efficient manner. , Avoid equipment collision, more safety.
为实现上述目的,根据本公开实施例的一个方面,提供了一种用于立体库的设备调度方法,包括:To achieve the foregoing objective, according to one aspect of the embodiments of the present disclosure, a device scheduling method for a stereo library is provided, including:
响应于接收到的待分配运输任务,获取调度设备的状态信息;其中,所述调度设备包括:运输设备、升降设备;In response to the received transportation task to be assigned, the status information of the dispatching equipment is acquired; wherein the dispatching equipment includes: transportation equipment and lifting equipment;
根据所述调度设备的状态信息和所述待分配运输任务信息,为所述待分配运输任务分配与之对应的目标调度设备,并生成与所述待分配运输任务对应的调度任务;According to the status information of the scheduling device and the information of the transportation task to be allocated, assign a target scheduling device corresponding to the transportation task to be allocated, and generate a scheduling task corresponding to the transportation task to be allocated;
根据所述调度任务对所述目标调度设备进行调度。Scheduling the target scheduling device according to the scheduling task.
可选地,所述调度设备的状态信息包括:所述调度设备的故障信息、所述调度设备的已有运输任务信息;Optionally, the state information of the dispatching device includes: failure information of the dispatching device, and existing transportation task information of the dispatching device;
所述运输任务信息包括:运输任务生成时间信息、运输任务所在层信息。The transportation task information includes: transportation task generation time information, and layer information of the transportation task.
可选地,根据所述调度设备的状态信息和所述待分配运输任务信息,为所述运输任务分配与之对应的目标调度设备,包括:Optionally, according to the status information of the scheduling device and the information of the transportation task to be allocated, assigning the corresponding target scheduling device to the transportation task includes:
根据所述调度设备的故障信息,从所述调度设备中选择无故障的设备作为待选调度设备;According to the failure information of the scheduling device, select a non-faulty device from the scheduling device as the candidate scheduling device;
从待选运输设备中确定目标运输设备;Determine the target transportation equipment from the transportation equipment to be selected;
根据所述目标运输设备的已有运输任务信息,确定所述目标运输设备在执行所述待分配运输任务之前的所在层,作为前序层;According to the existing transportation task information of the target transportation device, determine the layer of the target transportation device before the transportation task to be allocated is executed, as a pre-order layer;
若所述前序层与所述待分配运输任务所在层相同,则以所述目标运输设备作为所述目标调度设备;If the pre-order layer is the same as the layer where the transportation task to be allocated is located, the target transportation device is used as the target scheduling device;
若所述前序层与所述待分配运输任务所在层不同,从待选升降设备中确定目标升降设备,以所述目标运输设备和所述目标升降设备共同作为所述目标调度设备。If the pre-order layer is different from the layer where the transportation task to be allocated is located, a target lifting device is determined from the lifting devices to be selected, and the target transportation device and the target lifting device are used together as the target scheduling device.
可选地,根据所述目标运输设备的已有运输任务信息,确定所述目标运输设备在执行所述待分配运输任务之前的所在层,作为前序层, 包括:Optionally, according to the existing transportation task information of the target transportation device, determining the layer of the target transportation device before executing the transportation task to be allocated, as the pre-order layer, includes:
若不存在已有运输任务,则以所述目标运输设备当前所在层,作为所述前序层;If there is no existing transportation task, use the current layer of the target transportation equipment as the pre-order layer;
若存在已有运输任务,则以已有运输任务中早于所述待分配运输任务生成时间、且离待分配运输任务生成时间最近的已有运输任务的所在层,作为所述前序层。If there is an existing transportation task, the layer of the existing transportation task that is earlier than the generation time of the transportation task to be allocated and closest to the generation time of the transportation task to be allocated among the existing transportation tasks is used as the pre-order layer.
可选地,生成与所述待分配运输任务对应的调度任务,包括:Optionally, generating a scheduling task corresponding to the to-be-allocated transportation task includes:
若所述前序层与所述待分配运输任务所在层相同,则所述调度任务包括:所述目标运输设备在所述待分配运输任务所在层进行同层运输;If the pre-order layer is the same as the layer where the transportation task to be allocated is located, the scheduling task includes: the target transportation equipment performs the same layer transportation at the layer where the transportation task to be allocated is located;
若所述前序层与所述待分配运输任务所在层不同,则所述调度任务包括:利用所述目标升降设备将所述目标运输设备从所述前序层传送至所述待分配运输任务所在层。If the pre-order layer is different from the layer where the transportation task to be allocated is located, the scheduling task includes: using the target lifting device to transfer the target transportation device from the pre-order layer to the transportation task to be allocated The layer.
可选地,从待选运输设备中确定目标运输设备,包括:Optionally, the target transportation equipment is determined from the transportation equipment to be selected, including:
根据所述调度设备的已有运输任务信息,确定各待选运输设备的待执行运输任务个数;以待执行运输任务个数最少的待选运输设备作为目标运输设备。According to the existing transportation task information of the scheduling equipment, the number of transportation tasks to be performed for each transportation equipment to be selected is determined; the transportation equipment to be selected with the least number of transportation tasks to be performed is used as the target transportation equipment.
可选地,从待选升降设备中确定目标升降设备,包括:Optionally, the target lifting equipment is determined from the to-be-selected lifting equipment, including:
根据所述调度设备的已有运输任务信息,确定各待选升降设备的待执行运输任务个数;以待执行运输任务个数最少的待选升降设备作为目标运输设备。According to the existing transportation task information of the scheduling equipment, determine the number of transportation tasks to be performed for each candidate lifting equipment; take the candidate lifting equipment with the least number of transportation tasks to be performed as the target transportation equipment.
可选地,在为所述待分配运输任务分配与之对应的目标调度设备,并生成与所述待分配运输任务对应的调度任务之后,还包括:Optionally, after allocating a target scheduling device corresponding to the transportation task to be allocated, and generating a scheduling task corresponding to the transportation task to be allocated, the method further includes:
更新所述目标调度设备的状态信息。Update the status information of the target scheduling device.
可选地,当调度设备发生故障时,将该调度设备的已有运输任务 按上述方法分配给其它调度设备,并更新调度设备的状态信息。Optionally, when a dispatching device fails, the existing transportation tasks of the dispatching device are allocated to other dispatching devices according to the above-mentioned method, and the state information of the dispatching device is updated.
根据本公开实施例的再一个方面,提供了一种用于立体库的设备调度装置,包括:According to another aspect of the embodiments of the present disclosure, there is provided a device scheduling device for a stereo library, including:
获取模块,用于响应于接收到的待分配运输任务,获取调度设备的状态信息;其中,所述调度设备包括:运输设备、升降设备;The obtaining module is used to obtain status information of the dispatching equipment in response to the received transportation task to be assigned; wherein the dispatching equipment includes: transportation equipment and lifting equipment;
分配模块,用于根据所述调度设备的状态信息和所述待分配运输任务信息,为所述待分配运输任务分配与之对应的目标调度设备,并生成与所述待分配运输任务对应的调度任务;The allocation module is used to allocate a target scheduling device corresponding to the to-be-allocated transportation task according to the status information of the scheduling device and the to-be-allocated transportation task information, and generate a schedule corresponding to the to-be-allocated transportation task Task;
调度模块,用于根据所述调度任务对所述目标调度设备进行调度。The scheduling module is used to schedule the target scheduling device according to the scheduling task.
可选地,所述调度设备的状态信息包括:所述调度设备的故障信息、所述调度设备的已有运输任务信息;Optionally, the state information of the dispatching device includes: failure information of the dispatching device, and existing transportation task information of the dispatching device;
所述运输任务信息包括:运输任务生成时间信息、运输任务所在层信息。The transportation task information includes: transportation task generation time information, and layer information of the transportation task.
可选地,分配模块根据所述调度设备的状态信息和所述待分配运输任务信息,为所述运输任务分配与之对应的目标调度设备,包括:Optionally, the allocation module allocates a corresponding target scheduling device for the transportation task according to the status information of the scheduling device and the transportation task information to be allocated, including:
根据所述调度设备的故障信息,从所述调度设备中选择无故障的设备作为待选调度设备;According to the failure information of the scheduling device, select a non-faulty device from the scheduling device as the candidate scheduling device;
从待选运输设备中确定目标运输设备;Determine the target transportation equipment from the transportation equipment to be selected;
根据所述目标运输设备的已有运输任务信息,确定所述目标运输设备在执行所述待分配运输任务之前的所在层,作为前序层;According to the existing transportation task information of the target transportation device, determine the layer of the target transportation device before the transportation task to be allocated is executed, as a pre-order layer;
若所述前序层与所述待分配运输任务所在层相同,则以所述目标运输设备作为所述目标调度设备;If the pre-order layer is the same as the layer where the transportation task to be allocated is located, the target transportation device is used as the target scheduling device;
若所述前序层与所述待分配运输任务所在层不同,从待选升降设备中确定目标升降设备,以所述目标运输设备和所述目标升降设备共同作为所述目标调度设备。If the pre-order layer is different from the layer where the transportation task to be allocated is located, a target lifting device is determined from the lifting devices to be selected, and the target transportation device and the target lifting device are used together as the target scheduling device.
可选地,分配模块根据所述目标运输设备的已有运输任务信息, 确定所述目标运输设备在执行所述待分配运输任务之前的所在层,作为前序层,包括:Optionally, the allocation module determines the layer of the target transportation device before executing the transportation task to be allocated based on the existing transportation task information of the target transportation device, as a pre-order layer, including:
若不存在已有运输任务,则以所述目标运输设备当前所在层,作为所述前序层;If there is no existing transportation task, use the current layer of the target transportation equipment as the pre-order layer;
若存在已有运输任务,则以已有运输任务中早于所述待分配运输任务生成时间、且离待分配运输任务生成时间最近的已有运输任务的所在层,作为所述前序层。If there is an existing transportation task, the layer of the existing transportation task that is earlier than the generation time of the transportation task to be allocated and closest to the generation time of the transportation task to be allocated among the existing transportation tasks is used as the pre-order layer.
可选地,分配模块生成与所述待分配运输任务对应的调度任务,包括:Optionally, the allocation module generates a scheduling task corresponding to the transportation task to be allocated, including:
若所述前序层与所述待分配运输任务所在层相同,则所述调度任务包括:所述目标运输设备在所述待分配运输任务所在层进行同层运输;If the pre-order layer is the same as the layer where the transportation task to be allocated is located, the scheduling task includes: the target transportation equipment performs the same layer transportation at the layer where the transportation task to be allocated is located;
若所述前序层与所述待分配运输任务所在层不同,则所述调度任务包括:利用所述目标升降设备将所述目标运输设备从所述前序层传送至所述待分配运输任务所在层。If the pre-order layer is different from the layer where the transportation task to be allocated is located, the scheduling task includes: using the target lifting device to transfer the target transportation device from the pre-order layer to the transportation task to be allocated The layer.
可选地,分配模块从待选运输设备中确定目标运输设备,包括:Optionally, the allocation module determines the target transportation equipment from the transportation equipment to be selected, including:
根据所述调度设备的已有运输任务信息,确定各待选运输设备的待执行运输任务个数;以待执行运输任务个数最少的待选运输设备作为目标运输设备。According to the existing transportation task information of the scheduling equipment, the number of transportation tasks to be performed for each transportation equipment to be selected is determined; the transportation equipment to be selected with the least number of transportation tasks to be performed is used as the target transportation equipment.
可选地,分配模块从待选升降设备中确定目标升降设备,包括:Optionally, the distribution module determines the target lifting equipment from the to-be-selected lifting equipment, including:
根据所述调度设备的已有运输任务信息,确定各待选升降设备的待执行运输任务个数;以待执行运输任务个数最少的待选升降设备作为目标运输设备。According to the existing transportation task information of the scheduling equipment, determine the number of transportation tasks to be performed for each candidate lifting equipment; take the candidate lifting equipment with the least number of transportation tasks to be performed as the target transportation equipment.
可选地,分配模块在为所述待分配运输任务分配与之对应的目标调度设备,并生成与所述待分配运输任务对应的调度任务之后,还包括:Optionally, after the allocation module allocates a target scheduling device corresponding to the transportation task to be allocated and generates a scheduling task corresponding to the transportation task to be allocated, the allocation module further includes:
更新所述目标调度设备的状态信息。Update the status information of the target scheduling device.
可选地,当调度设备发生故障时,分配模块还用于将该调度设备的已有运输任务按上述方法分配给其它调度设备,并更新调度设备的状态信息。Optionally, when the dispatching device fails, the allocation module is also used to allocate the existing transportation tasks of the dispatching device to other dispatching devices according to the above method, and update the state information of the dispatching device.
根据本公开实施例的另一个方面,提供了一种用于立体库的设备调度电子设备,包括:According to another aspect of the embodiments of the present disclosure, there is provided a device scheduling electronic device for a stereo library, including:
一个或多个处理器;One or more processors;
存储装置,用于存储一个或多个程序,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 device scheduling method for the stereo library provided in the present disclosure.
根据本公开实施例的还一个方面,提供了一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时实现本公开提供的用于立体库的设备调度方法。According to still another aspect of the embodiments of the present disclosure, there is provided a computer-readable medium having a computer program stored thereon, and when the program is executed by a processor, the device scheduling method for a stereo library provided by the present disclosure is implemented.
上述公开中的一个实施例具有如下优点或有益效果:因为采用根据运输设备和升降设备的状态信息,基于运输任务生成调度任务进而对运输设备和升降设备进行精准调度,并在调度过程中及时更新其状态信息的技术手段,所以避免了现有技术中因运输设备和升降设备之间数据不互通而产生的调度冲突,并克服了现有技术中工作人员依靠经验和观察进行调度所带来的调度不及时、不准确、不安全、任务执行效率低的技术问题,进而达到了使设备有序高效安全地执行任务的技术效果。An embodiment in the above disclosure has the following advantages or beneficial effects: because the scheduling task is generated based on the transportation task based on the status information of the transportation equipment and the lifting equipment, and then the transportation equipment and the lifting equipment are accurately scheduled, and updated in time during the scheduling process. The technical means of its status information avoids the scheduling conflicts caused by the non-interworking of data between the transportation equipment and the lifting equipment in the prior art, and overcomes the scheduling conflicts caused by the staff relying on experience and observation in the prior art. The technical problems of untimely scheduling, inaccuracy, insecurity, and low task execution efficiency have achieved the technical effect of enabling the equipment to perform tasks in an orderly, efficient and safe manner.
上述的非惯用的可选方式所具有的进一步效果将在下文中结合具体实施方式加以说明。The further effects of the above non-conventional alternative manners will be described below in conjunction with specific implementation manners.
附图说明Description of the drawings
附图用于更好地理解本公开,不构成对本公开的不当限定。其中:The accompanying drawings are used to better understand the present disclosure, and do not constitute an improper limitation of the present disclosure. in:
图1是根据本公开实施例的一种用于立体库的设备调度方法的主要流程的示意图;FIG. 1 is a schematic diagram of the main flow of a device scheduling method for a three-dimensional library according to an embodiment of the present disclosure;
图2是根据本公开实施例的一种用于立体库的设备调度方法的应用场景示意图;2 is a schematic diagram of an application scenario of a device scheduling method for a stereo library according to an embodiment of the present disclosure;
图3是根据本公开实施例的一种用于立体库的设备调度方法的详细流程示意图;FIG. 3 is a detailed flowchart of a device scheduling method for a three-dimensional library according to an embodiment of the present disclosure;
图4是根据本公开实施例的一种用于立体库的设备调度方法中的对目标运输设备和目标升降设备进行调度的流程示意图;4 is a schematic flow chart of scheduling target transportation equipment and target lifting equipment in an equipment scheduling method for a three-dimensional library according to an embodiment of the present disclosure;
图5是根据本公开实施例的一种用于立体库的设备调度装置的主要模块的示意图;FIG. 5 is a schematic diagram of main modules of a device scheduling device for a three-dimensional library according to an embodiment of the present disclosure;
图6是本公开实施例可以应用于其中的示例性系统架构图;Fig. 6 is an exemplary system architecture diagram to which the embodiments of the present disclosure can be applied;
图7是适于用来实现本公开实施例的终端设备或服务器的计算机系统的结构示意图。Fig. 7 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present disclosure.
具体实施方式Detailed ways
以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。The following describes exemplary embodiments of the present disclosure with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be regarded as merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Likewise, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
图1是根据本公开实施例的一种用于立体库的设备调度方法的主要流程的示意图,如图1所示,包括:Fig. 1 is a schematic diagram of the main flow of a device scheduling method for a three-dimensional library according to an embodiment of the present disclosure, as shown in Fig. 1, including:
步骤S101、响应于接收到的待分配运输任务,获取调度设备的状态信息;其中,所述调度设备包括:运输设备、升降设备;Step S101: In response to the received transportation task to be assigned, the status information of the dispatching device is obtained; wherein the dispatching device includes: a transportation device and a lifting device;
步骤S102、根据所述调度设备的状态信息和所述待分配运输任务信息,为所述待分配运输任务分配与之对应的目标调度设备,并生成与所述待分配运输任务对应的调度任务;Step S102: According to the status information of the scheduling device and the transportation task information to be allocated, assign a target scheduling device corresponding to the transportation task to be allocated, and generate a scheduling task corresponding to the transportation task to be allocated;
步骤S103、根据所述调度任务对所述目标调度设备进行调度。Step S103: Scheduling the target scheduling device according to the scheduling task.
在一些实施例中,所述调度设备的状态信息包括:所述调度设备的故障信息、所述调度设备的已有运输任务信息;In some embodiments, the status information of the scheduling device includes: failure information of the scheduling device, and existing transportation task information of the scheduling device;
所述运输任务信息包括:运输任务生成时间信息、运输任务所在层信息。The transportation task information includes: transportation task generation time information, and layer information of the transportation task.
运输任务可以是对物品进行的换层放置、入库上架、下架出库等操作的任务;The transportation task can be the tasks of changing layers and placing items, warehousing and putting on the shelves, removing the shelves and leaving the warehouse, etc.;
调度设备可以是在立体库存储场景中用于完成运输任务的设备,可以包括运输设备和升降设备;Scheduling equipment may be equipment used to complete transportation tasks in a three-dimensional library storage scene, and may include transportation equipment and lifting equipment;
所述运输设备可以是在立体库存储场景中的应用于搬运物品的可移动设备,如带有存放物品功能的AGV(Automated Guided Vehicle,自动导引运输车)小车或常见的穿梭车设备;所述升降设备可以是在立体库存储场景中的应用于带着运输设备上下换层的、类电梯的设备,如穿梭车提升机。在一些实际应用场景中,运输设备和升降设备的数量都可以不止一个。The transportation device may be a movable device used to carry items in a three-dimensional library storage scene, such as an AGV (Automated Guided Vehicle) car with a function of storing items or a common shuttle device; The lifting equipment may be an elevator-like equipment used in a three-dimensional library storage scene that is used to carry transportation equipment up and down to change floors, such as a shuttle hoist. In some practical application scenarios, the number of transportation equipment and lifting equipment may be more than one.
所述调度设备的状态信息可以存储在数据库(如redis数据库)中;具体地,调度设备的状态信息中可以包括:设备是否存在故障的信息、存在故障的具体信息、当前正在执行的运输任务信息、已安排给设备的且还未执行完的已有运输任务信息、设备编号信息、当前时刻的位置(所在层)信息等;The status information of the scheduling device may be stored in a database (such as a redis database); specifically, the status information of the scheduling device may include: information about whether the device is faulty, specific information about the fault, and information about the currently executing transportation task , The existing transportation task information, equipment number information, current location (layer) information, etc. that have been arranged to the equipment and have not been completed;
其中运输任务信息可以包括运输任务生成时间信息、运输任务所在层信息;The transportation task information may include the generation time information of the transportation task and the layer information of the transportation task;
每个调度设备可以有一个相应的待做任务列表,待做任务列表中可以存放已安排好的且还未执行完的已有运输任务信息,其中已有运输任务可以按任务生成时间从先到后的顺序形成有序任务列;例如,对于某一运输设备A,已安排给该运输设备以下运输任务:a 1、a 2、a 3,其中a 1、a 2、a 3是已按任务生成时间顺序排列好的,则运输设备A将会依次完成运输任务a 1、a 2、a 3Each scheduling device can have a corresponding to-do task list. The to-do task list can store information about existing transportation tasks that have been scheduled and not yet completed. The existing transportation tasks can be first arrived according to the task generation time. The following order forms an ordered task list; for example, for a certain transportation equipment A, the following transportation tasks have been arranged for the transportation equipment: a 1 , a 2 , a 3 , where a 1 , a 2 , and a 3 are already assigned tasks If the generation time sequence is arranged, the transportation equipment A will complete the transportation tasks a 1 , a 2 , and a 3 in sequence.
图2是根据本公开实施例的一种用于立体库的设备调度方法的应用场景示意图,如图2所示:Fig. 2 is a schematic diagram of an application scenario of a device scheduling method for a stereo library according to an embodiment of the present disclosure, as shown in Fig. 2:
该应用场景中的立体库为5层,其中有两个运输设备(穿梭车),包括运输设备201、运输设备202,一个升降设备(穿梭车提升机)203,其中运输设备201停在2层,运输设备202停在1层,升降设备203停在2层;若此时第4层的物品有运输任务时,则该场景下需要使用升降设备203调度运输设备201或运输设备202前往第4层执行任务。The three-dimensional library in this application scenario has 5 floors, in which there are two transportation equipment (shuttles), including transportation equipment 201, transportation equipment 202, and a lifting equipment (shuttle elevator) 203, of which transportation equipment 201 is parked on the 2nd floor , The transportation equipment 202 stops at the 1st floor, and the lifting equipment 203 stops at the 2nd floor; if the goods on the 4th floor have transportation tasks at this time, the lifting equipment 203 needs to be used in this scenario to dispatch the transportation equipment 201 or the transportation equipment 202 to the fourth floor. Layer to perform tasks.
本公开能够根据运输设备和升降设备的状态信息,基于运输任务生成调度任务进而对运输设备和升降设备进行精准调度,保证了设备有序高效地执行,避免了现有技术中因运输设备和升降设备之间数据不互通而产生的调度冲突,更加安全、高效。The present disclosure can generate scheduling tasks based on the transportation tasks based on the status information of the transportation equipment and the lifting equipment, thereby accurately scheduling the transportation equipment and the lifting equipment, ensuring the orderly and efficient execution of the equipment, and avoiding the transportation equipment and the lifting equipment in the prior art. Scheduling conflicts caused by non-interoperability of data between devices are safer and more efficient.
在一些实施例中,根据所述调度设备的状态信息和所述待分配运输任务信息,为所述运输任务分配与之对应的目标调度设备,包括:In some embodiments, according to the status information of the scheduling device and the information of the transportation task to be allocated, allocating the corresponding target scheduling device to the transportation task includes:
根据所述调度设备的故障信息,从所述调度设备中选择无故障的设备作为待选调度设备;According to the failure information of the scheduling device, select a non-faulty device from the scheduling device as the candidate scheduling device;
从待选运输设备中确定目标运输设备;Determine the target transportation equipment from the transportation equipment to be selected;
根据所述目标运输设备的已有运输任务信息,确定所述目标运输设备在执行所述待分配运输任务之前的所在层,作为前序层;According to the existing transportation task information of the target transportation device, determine the layer of the target transportation device before the transportation task to be allocated is executed, as a pre-order layer;
若所述前序层与所述待分配运输任务所在层相同,则以所述目标运输设备作为所述目标调度设备;If the pre-order layer is the same as the layer where the transportation task to be allocated is located, the target transportation device is used as the target scheduling device;
若所述前序层与所述待分配运输任务所在层不同,从待选升降设备中确定目标升降设备,以所述目标运输设备和所述目标升降设备共同作为所述目标调度设备。If the pre-order layer is different from the layer where the transportation task to be allocated is located, a target lifting device is determined from the lifting devices to be selected, and the target transportation device and the target lifting device are used together as the target scheduling device.
先确定待选调度设备可以排除掉有故障的设备,避免将运输任务分配给无法正常工作的设备;First determine that the scheduling equipment to be selected can eliminate faulty equipment and avoid assigning transportation tasks to equipment that cannot work normally;
从待选运输设备中确定目标运输设备后,可以根据目标运输设备 的状态信息确定是否需要升降设备帮助该目标运输设备完成待分配运输任务,具体地,需要判断所述前序层与待分配运输任务所在层是否相同进而确定是否需要利用升降设备帮助目标运输设备进行换层,以完成待分配运输任务;After the target transportation equipment is determined from the transportation equipment to be selected, it can be determined according to the status information of the target transportation equipment whether lifting equipment is needed to help the target transportation equipment complete the transportation tasks to be assigned. Whether the tasks are on the same layer and then determine whether it is necessary to use lifting equipment to help the target transportation equipment to change layers to complete the transportation tasks to be assigned;
对于确定前序层的方法,以下举例说明:For the method of determining the pre-order layer, the following examples illustrate:
在一些实施例中,若待分配运输任务的任务生成时间都晚于目标运输设备已有的运输任务的任务生成时间,待分配运输任务将会排在目标运输设备已有的运输任务列中排最末的运输任务之后,则可以将目标运输设备已有的运输任务列中排最末的运输任务的所在层作为所述前序层;或者,In some embodiments, if the task generation time of the transportation task to be allocated is later than the task generation time of the existing transportation task of the target transportation device, the transportation task to be allocated will be ranked in the existing transportation task list of the target transportation device. After the last transportation task, the layer of the last transportation task in the existing transportation task list of the target transportation equipment can be used as the predecessor layer; or,
在一些实施例中,若目标运输设备已有的运输任务中存在晚于待分配运输任务的任务生成时间,则以已有运输任务中早于所述待分配运输任务生成时间、且离待分配运输任务生成时间最近的已有运输任务的所在层,作为所述前序层;或者,In some embodiments, if there is a task generation time that is later than the to-be-allocated transportation task among the existing transportation tasks of the target transportation equipment, then the existing transportation task is assumed to be earlier than the to-be-allocated transportation task generation time and is far from the to-be-allocated transportation task. The layer of the existing transportation task with the most recent generation time of the transportation task is used as the pre-order layer; or,
在一些实施例中,若目标运输设备不存在已有运输任务,即目标运输设备的待做任务列表为空,则可以以所述目标运输设备当前所在层,作为所述前序层;In some embodiments, if the target transportation device does not have an existing transportation task, that is, the to-do task list of the target transportation device is empty, the current layer of the target transportation device may be used as the pre-order layer;
若该前序层与待分配运输任务所在层相同,则可以无需升降设备帮助运输设备进行换层,可以直接以目标运输设备作为目标调度设备;If the pre-order layer is the same as the layer where the transportation task is to be assigned, the lifting equipment may not be needed to help the transportation equipment to change the layer, and the target transportation equipment may be directly used as the target dispatching equipment;
若所述前序层与所述待分配运输任务所在层不同,则可以再从待选升降设备中确定目标升降设备,以所述目标运输设备和所述目标升降设备共同作为目标调度设备。If the pre-order layer is different from the layer where the transportation task to be allocated is located, then the target lifting equipment can be determined from the to-be-selected lifting equipment, and the target transportation equipment and the target lifting equipment are jointly used as the target dispatching equipment.
在一些实施例中,生成与所述待分配运输任务对应的调度任务,包括:In some embodiments, generating a scheduling task corresponding to the to-be-allocated transportation task includes:
若所述前序层与所述待分配运输任务所在层相同,则所述调度任务包括:所述目标运输设备在所述待分配运输任务所在层进行同层运输;If the pre-order layer is the same as the layer where the transportation task to be allocated is located, the scheduling task includes: the target transportation equipment performs the same layer transportation at the layer where the transportation task to be allocated is located;
若所述前序层与所述待分配运输任务所在层不同,则所述调度任务包括:利用所述目标升降设备将所述目标运输设备从所述前序层传 送至所述待分配运输任务所在层。If the pre-order layer is different from the layer where the transportation task to be allocated is located, the scheduling task includes: using the target lifting device to transfer the target transportation device from the pre-order layer to the transportation task to be allocated The layer.
调度任务可以看作是只涉及运输设备和升降设备换层操作的任务;生成调度任务可以有利于对运输设备和升降设备进行管理,避免了现有技术中因运输设备和升降设备之间数据不互通而产生的调度冲突,更加安全、高效。The scheduling task can be regarded as a task that only involves the operation of the transportation equipment and the lifting equipment; the generation of the scheduling task can facilitate the management of the transportation equipment and the lifting equipment, avoiding the data gap between the transportation equipment and the lifting equipment in the prior art. Scheduling conflicts caused by intercommunication are safer and more efficient.
图3是根据本公开实施例的一种用于立体库的设备调度方法的详细流程示意图,如图3所示,包括以下步骤:Fig. 3 is a detailed flowchart of a method for scheduling a device for a stereo library according to an embodiment of the present disclosure. As shown in Fig. 3, it includes the following steps:
步骤S301开始;步骤S301可以代表系统启动,创建一个任务调度线程,在一些实施例中可以定时循环执行该线程,其中可以采用spring框架的Scheduled功能实现该定时任务,如1s执行一次;在系统启动之后可以初始化运输设备和升降设备的状态信息,可以采用redis数据库来存储运输设备和升降设备的状态信息数据,采用redis数据库可以提高数据处理速度,同时可使用其分布式锁的功能来避免并发;Step S301 starts; Step S301 can represent the system startup and create a task scheduling thread. In some embodiments, the thread can be executed in a regular loop. The Scheduled function of the spring framework can be used to realize the timing task, such as executing once in 1s; After that, the status information of transportation equipment and lifting equipment can be initialized. Redis database can be used to store the status information data of transportation equipment and lifting equipment. The use of redis database can increase the data processing speed, and at the same time, it can use its distributed lock function to avoid concurrency;
步骤S302锁定运输设备和步骤S303锁定升降设备可以同时进行;以使用redis数据库来存储运输设备和升降设备的状态信息数据为例,系统可以通过使用redis的联锁(RedissonMultiLock)功能,同时获取小车和提升机的对象,并进行加锁,保证运输设备和升降设备的状态信息数据在同一时刻唯一并且没有其他资源可以修改。避免数据紊乱导致调度错误、设备相撞;Step S302 locks the transportation equipment and step S303 locks the lifting equipment at the same time; taking the redis database to store the status information data of the transportation equipment and the lifting equipment as an example, the system can use the redis interlock (RedissonMultiLock) function to simultaneously obtain the car and The object of the hoist is locked to ensure that the status information data of the transportation equipment and the hoisting equipment are unique at the same time and no other resources can be modified. Avoid data disorder leading to scheduling errors and equipment collisions;
步骤S304判断对运输设备和升降设备是否锁定成功;若不成功则返回步骤S301的开始步骤;若成功则执行下一步骤;In step S304, it is judged whether the locking of the transportation equipment and the lifting equipment is successful; if it is unsuccessful, it returns to the starting step of step S301; if it is successful, it executes the next step;
步骤S305获取运输设备的状态信息和步骤S306获取升降设备的状态信息的执行顺序可以不分先后,可以先获取运输设备的状态信息,也可以先获取升降设备的状态信息,也可以同时获取;The order of obtaining the status information of the transportation equipment in step S305 and obtaining the status information of the lifting equipment in step S306 may be in no particular order. The status information of the transportation equipment may be obtained first, or the status information of the lifting equipment may be obtained first, or at the same time;
步骤S307判断运输设备与升降设备是否都无故障正常可用;当不都可用时,执行步骤S309;当都存在无故障正常可用的设备时,执行步骤S308;In step S307, it is judged whether both the transportation equipment and the lifting equipment are normally available without failure; when they are not available, step S309 is executed; when there are equipment that is normally available without failure, step S308 is executed;
步骤S308为待分配运输任务确定与之对应的目标调度设备,并生 成与待分配运输任务对应的调度任务;Step S308 determines the target scheduling equipment corresponding to the transportation task to be allocated, and generates the scheduling task corresponding to the transportation task to be allocated;
步骤S309;释放掉运输设备与升降设备的锁,并返回步骤S301的开始步骤。Step S309: Release the lock of the transportation equipment and the lifting equipment, and return to the starting step of step S301.
在一些实施例中,从待选运输设备中确定目标运输设备,包括:In some embodiments, determining the target transportation equipment from the candidate transportation equipment includes:
根据所述调度设备的已有运输任务信息,确定各待选运输设备的待执行运输任务个数;以待执行运输任务个数最少的待选运输设备作为目标运输设备。According to the existing transportation task information of the scheduling equipment, the number of transportation tasks to be performed for each transportation equipment to be selected is determined; the transportation equipment to be selected with the least number of transportation tasks to be performed is used as the target transportation equipment.
在一些实际情况中,若存在相同最少数目待执行运输任务的运输设备,则可以根据待执行运输任务列表中任务生成时间再做选择,举例说明:有待选运输设备B、待选运输设备C,待选运输设备B有排好顺序的已有运输任务b 1、b 2、b 3,待选运输设备C有排好顺序的已有运输任务c 1、c 2、c 3,待执行运输任务个数都是3,都最少;其中,若运输任务b 3生成时间早于运输任务c 3生成时间,运输任务c 3生成时间早于待分配运输任务x生成时间,则可以将待选运输设备B作为目标运输设备,这样确定的意义在于可以根据各设备当下的状态信息,使待分配运输任务被尽早执行。 In some actual situations, if there are the same minimum number of transportation equipment to be performed, the selection can be made based on the task generation time in the list of transportation tasks to be performed. For example, there are transportation equipment to be selected B and transportation equipment C to be selected, The transportation equipment B to be selected has ordered existing transportation tasks b 1 , b 2 , b 3 , and transportation equipment C to be selected has transportation tasks c 1 , c 2 , and c 3 in the ordered order, and transportation tasks are to be performed The number is 3, which is the least; among them, if the generation time of transportation task b 3 is earlier than the generation time of transportation task c 3, and the generation time of transportation task c 3 is earlier than the generation time of transportation task x to be assigned, the transportation equipment to be selected can be selected B is the target transportation equipment. The significance of this determination is that the transportation tasks to be allocated can be executed as soon as possible based on the current status information of each equipment.
在一些实施例中,从待选升降设备中确定目标升降设备,包括:In some embodiments, determining the target lifting equipment from the candidate lifting equipment includes:
根据所述调度设备的已有运输任务信息,确定各待选升降设备的待执行运输任务个数;以待执行运输任务个数最少的待选升降设备作为目标运输设备。According to the existing transportation task information of the scheduling equipment, determine the number of transportation tasks to be performed for each candidate lifting equipment; take the candidate lifting equipment with the least number of transportation tasks to be performed as the target transportation equipment.
根据各设备的待执行运输任务个数来确定目标调度设备,可以较为平均地将运输任务分配给设备,可以避免出现少数设备被分配了过多运输任务的情况,进而使设备负载均衡。The target scheduling equipment is determined according to the number of transportation tasks to be performed for each equipment, and transportation tasks can be distributed to the equipment relatively evenly, which can avoid the situation that a small number of equipment is assigned too many transportation tasks, and then balance the equipment load.
在一些实施例中,在为所述待分配运输任务分配与之对应的目标调度设备,并生成与所述待分配运输任务对应的调度任务之后,还包括:更新所述目标调度设备的状态信息。In some embodiments, after allocating a target scheduling device corresponding to the transportation task to be allocated and generating a scheduling task corresponding to the transportation task to be allocated, the method further includes: updating the status information of the target scheduling device .
在一些实施例中,当调度设备发生故障时,将该调度设备的已有运输任务按上述方法分配给其它调度设备,并更新调度设备的状态信息。In some embodiments, when a scheduling device fails, the existing transportation tasks of the scheduling device are allocated to other scheduling devices according to the above-mentioned method, and the status information of the scheduling device is updated.
在一些实际情况中,调度设备发生故障的情况还可以包括调度设备有维护需求、回收需求等;以下举例说明:In some actual situations, the failure of the dispatching equipment may also include the dispatching equipment's maintenance requirements, recovery requirements, etc.; the following examples illustrate:
有待选运输设备D、待选运输设备E、待选运输设备F;待选升降设备G、待选升降设备H、待选升降设备I;待选运输设备D有排好顺序的已有运输任务d 1、d 2,且都与待选升降设备G合作;待选运输设备E有排好顺序的已有运输任务e 1、e 2、e 3,且都与待选升降设备H合作;待选运输设备F有排好顺序的已有运输任务f 1、f 2、f 3,且都与待选升降设备I合作;当待选运输设备F此时突然发生故障,则可以按本公开中的方法依次将运输任务f 1、f 2、f 3分配给其它设备,并相应地生成新的调度任务;并且之后,还需要更新各个设备的状态信息。 There are candidate transportation equipment D, candidate transportation equipment E, candidate transportation equipment F; candidate elevator equipment G, candidate elevator equipment H, candidate elevator equipment I; candidate transportation equipment D has existing transportation tasks arranged in order d 1 , d 2 , and they all cooperate with the candidate lifting equipment G; the candidate transportation equipment E has the existing transportation tasks e 1 , e 2 , e 3 in the order , and they all cooperate with the candidate lifting equipment H; The selected transportation equipment F has the existing transportation tasks f 1 , f 2 , and f 3 in a good order, and they all cooperate with the to-be-selected lifting equipment I; when the to-be-selected transportation equipment F suddenly fails at this time, you can follow the steps in this disclosure In the method, the transportation tasks f 1 , f 2 , and f 3 are assigned to other devices in turn, and new scheduling tasks are generated accordingly; and afterwards, the status information of each device needs to be updated.
及时更新设备的状态信息可以使数据更可信、使本公开中的方法更可靠。Updating the status information of the device in time can make the data more credible and make the method in the present disclosure more reliable.
在一些较优的实施例中,在生成调度任务之后,还可以对所述目标运输设备和目标升降设备设置联锁,设置联锁可以保证设备状态信息不被轻易篡改,保证数据的准确性。In some preferred embodiments, after the scheduling task is generated, an interlock may be set for the target transportation equipment and the target lifting equipment. Setting the interlock can ensure that the equipment status information is not easily tampered with and ensure the accuracy of the data.
图4是根据本公开实施例的一种用于立体库的设备调度方法中的对目标运输设备和目标升降设备进行设备调度的流程示意图,如图4所示,包括以下步骤:Fig. 4 is a schematic flow chart of equipment scheduling for target transportation equipment and target lifting equipment in an equipment scheduling method for a three-dimensional library according to an embodiment of the present disclosure. As shown in Fig. 4, it includes the following steps:
步骤S401开始;步骤S401可以看做是在为目标运输设备和目标升降设备分配调度任务之后的流程开始的标志;Step S401 starts; Step S401 can be regarded as a sign of the start of the process after dispatching tasks to the target transportation equipment and the target lifting equipment;
步骤S402更新目标运输设备状态信息,具体地,可以是将目标运输设备状态信息更新为“正在执行调度任务”;In step S402, the status information of the target transportation equipment is updated. Specifically, the status information of the target transportation equipment may be updated to "the scheduling task is being executed";
步骤S403给目标运输设备下发“到达等待位”指令;所述等待位 可以是该运输设备所在层中与目标升降设备对接的位置;In step S403, an instruction of "arrival waiting position" is issued to the target transportation equipment; the waiting position may be a position where the transportation equipment is located in a layer where it is docked with the target lifting equipment;
步骤S404确认目标运输设备到达等待位;当目标运输设备到达等待位时,目标运输设备可以通知系统,系统获取运输设备redis对象并且加锁,标记“到达等待位”任务执行完成;Step S404 confirms that the target transportation equipment arrives at the waiting position; when the target transportation equipment reaches the waiting position, the target transportation equipment can notify the system, and the system obtains the transportation equipment redis object and locks it, marking the completion of the task of "arrived waiting position";
步骤S405更新目标升降设备状态信息,具体地,可以是将目标升降设备状态信息更新为“正在执行调度任务”;Step S405 is to update the status information of the target lifting device, specifically, it may be updating the status information of the target lifting device to "executing a scheduling task";
步骤S406给目标升降设备下发“到达等待位”指令;所述等待位可以是该目标升降设备与目标运输设备所在层对接的位置;Step S406 is to issue an "arrival waiting position" instruction to the target hoisting equipment; the waiting position may be the docking position of the target hoisting equipment and the floor where the target transportation equipment is located;
步骤S407确认目标升降设备到达等待位;当目标升降设备到达等待位时,目标升降设备通知系统,系统获取升降设备redis对象,同时获取目标运输设备redis对象并且加联锁,标记目标升降设备对象当前“到达等待位”任务执行完成;Step S407 confirms that the target lifting equipment arrives at the waiting position; when the target lifting equipment reaches the waiting position, the target lifting equipment informs the system, and the system obtains the redis object of the lifting equipment, and at the same time obtains the redis object of the target transportation equipment and adds the interlock, marking the current of the target lifting equipment object "Arrival waiting position" task execution is completed;
在一些实施例中,步骤S402~步骤S404与步骤S405~步骤S407的执行顺序可以不分先后,也可以同时进行;步骤S402~步骤S404与步骤S405~步骤S407需在步骤S408之前都完成,以使目标运输设备能够正常进入目标升降设备,保证安全性;In some embodiments, the execution order of step S402 to step S404 and step S405 to step S407 can be performed in no particular order or at the same time; step S402 to step S404 and step S405 to step S407 need to be completed before step S408 to Enable the target transportation equipment to enter the target lifting equipment normally to ensure safety;
步骤S408给目标运输设备下发“进入目标升降设备”指令;Step S408 is to issue the "enter target lifting equipment" instruction to the target transportation equipment;
步骤S409确认目标运输设备进入目标升降设备;当目标运输设备进入目标升降设备时,通知系统,系统获取目标运输设备redis对象,同时获取目标升降设备redis对象并且加联锁,标记目标运输设备对象当前“进入目标升降设备”任务执行完成,并可以把目标运输设备当前所在层号标记为空,以表示目标运输设备不在任何层中;Step S409 confirms that the target transportation equipment enters the target lifting equipment; when the target transportation equipment enters the target lifting equipment, the system is notified, and the system obtains the target transportation equipment redis object, and at the same time, obtains the target lifting equipment redis object and adds the interlock to mark the target transportation equipment object current "Enter the target lifting equipment" task is completed, and the current floor number of the target transportation equipment can be marked as empty to indicate that the target transportation equipment is not in any floor;
步骤S410给目标升降设备下发“到达目的层”指令;更新目标升降设备对象的执行任务列表,将“到达目的层”指令下发给目标升降设备;Step S410 is to issue an "reach to destination" instruction to the target lifting device; update the execution task list of the target lifting device object, and issue the "reach to destination" instruction to the target lifting device;
步骤S411确认目标升降设备到达目的层;目标升降设备到达目的层即目标升降设备承载着目标运输设备一同到达了目的层;当目标升降设备到达目的层,目标升降设备通知系统,系统获取升降设备redis对象,同时获取目标运输设备redis对象并且加联锁,标记升降设备redis对象当前“到达目的层”任务执行完成;Step S411 confirms that the target lifting equipment reaches the target floor; the target lifting equipment reaches the target floor, that is, the target lifting equipment carries the target transportation equipment and reaches the target floor together; when the target lifting equipment reaches the target floor, the target lifting equipment notifies the system, and the system obtains the lifting equipment redis Object, at the same time, obtain the redis object of the target transportation equipment and add interlock to mark the completion of the task of "reaching the destination layer" of the redis object of the lifting equipment;
步骤S412给目标运输设备下发“离开目标升降设备进入目的层”指令;步骤S412可以是更新目标运输设备redis对象执行任务列表,将“离开目标升降设备进入目的层”指令下发给目标运输设备;Step S412 is to issue the instruction of "leave the target lifting equipment and enter the destination layer" to the target transportation equipment; Step S412 may be to update the target transportation equipment redis object execution task list, and issue the instruction of "leave the target lifting equipment and enter the destination layer" to the target transportation equipment ;
步骤S413确认目标运输设备离开目标升降设备进入目的层;当目标运输设备离开目标升降设备进入目的层后,目标运输设备通知系统,系统获取目标运输设备redis对象,同时获取目标升降设备redis对象并且加联锁,标记目标运输设备对象“离开目标升降设备进入目的层”任务完成,并标记目标运输设备调度任务完成;Step S413 confirms that the target transportation equipment leaves the target elevator equipment and enters the destination layer; when the target transportation equipment leaves the target elevator equipment and enters the destination floor, the target transportation equipment notifies the system, and the system obtains the target transportation equipment redis object, and at the same time obtains the target elevator equipment redis object and adds Interlock, mark the completion of the task of the target transportation equipment object "leave the target lifting equipment and enter the destination layer", and mark the completion of the scheduling task of the target transportation equipment;
步骤S414任务结束;更新目标运输设备状态信息,使目标运输设备可以执行其他任务;并更新目标升降设备redis对象执行任务列表,标记目标升降设备调度任务完成。Step S414: The task ends; the target transportation equipment status information is updated so that the target transportation equipment can perform other tasks; and the target lifting equipment redis object execution task list is updated, and the target lifting equipment scheduling task is marked as completed.
图5是根据本公开实施例的一种用于立体库的设备调度装置的主要模块的示意图,如图5所示,用于立体库的设备调度装置500包括:FIG. 5 is a schematic diagram of the main modules of a device scheduling device for a three-dimensional library according to an embodiment of the present disclosure. As shown in FIG. 5, the device scheduling device 500 for a three-dimensional library includes:
获取模块501,用于响应于接收到的待分配运输任务,获取调度设备的状态信息;其中,所述调度设备包括:运输设备、升降设备;The obtaining module 501 is configured to obtain status information of a dispatching device in response to a received transportation task to be assigned; wherein, the dispatching device includes: a transportation device and a lifting device;
分配模块502,用于根据所述调度设备的状态信息和所述待分配运输任务信息,为所述待分配运输任务分配与之对应的目标调度设备,并生成与所述待分配运输任务对应的调度任务;The allocation module 502 is configured to allocate a target scheduling device corresponding to the to-be-allocated transportation task according to the status information of the scheduling device and the to-be-allocated transportation task information, and generate a corresponding target scheduling device for the to-be-allocated transportation task Scheduling tasks;
调度模块503,用于根据所述调度任务对所述目标调度设备进行调度。The scheduling module 503 is configured to schedule the target scheduling device according to the scheduling task.
在一些实施例中,所述调度设备的状态信息包括:所述调度设备的故障信息、所述调度设备的已有运输任务信息;In some embodiments, the status information of the scheduling device includes: failure information of the scheduling device, and existing transportation task information of the scheduling device;
所述运输任务信息包括:运输任务生成时间信息、运输任务所在层信息。The transportation task information includes: transportation task generation time information, and layer information of the transportation task.
运输任务可以是对物品进行的换层放置、入库上架、下架出库等操作的任务;The transportation task can be the tasks of changing layers and placing items, warehousing and putting on the shelves, removing the shelves and leaving the warehouse, etc.;
调度设备可以是在立体库存储场景中用于完成运输任务的设备, 可以包括运输设备和升降设备;The scheduling device may be a device used to complete transportation tasks in a three-dimensional library storage scenario, and may include transportation equipment and lifting equipment;
所述运输设备可以是在立体库存储场景中的应用于搬运物品的可移动设备,如带有存放物品功能的AGV(Automated Guided Vehicle,自动导引运输车)小车或常见的穿梭车设备;所述升降设备可以是在立体库存储场景中的应用于带着运输设备上下换层的、类电梯的设备,如穿梭车提升机。在一些实际应用场景中,运输设备和升降设备的数量都可以不止一个。The transportation device may be a movable device used to carry items in a three-dimensional library storage scene, such as an AGV (Automated Guided Vehicle) car with a function of storing items or a common shuttle device; The lifting equipment may be an elevator-like equipment used in a three-dimensional library storage scene that is used to carry transportation equipment up and down to change floors, such as a shuttle hoist. In some practical application scenarios, the number of transportation equipment and lifting equipment may be more than one.
所述调度设备的状态信息可以存储在数据库(如redis数据库)中;具体地,调度设备的状态信息中可以包括:设备是否存在故障的信息、存在故障的具体信息、当前正在执行的运输任务信息、已安排给设备的且还未执行完的已有运输任务信息、设备编号信息、当前时刻的位置(所在层)信息等;The status information of the scheduling device may be stored in a database (such as a redis database); specifically, the status information of the scheduling device may include: information about whether the device is faulty, specific information about the fault, and information about the currently executing transportation task , The existing transportation task information, equipment number information, current location (layer) information, etc. that have been arranged to the equipment and have not been completed;
其中运输任务信息可以包括运输任务生成时间信息、运输任务所在层信息;The transportation task information may include the generation time information of the transportation task and the layer information of the transportation task;
每个调度设备可以有一个相应的待做任务列表,待做任务列表中可以存放已安排好的且还未执行完的已有运输任务信息,其中已有运输任务可以按任务生成时间从先到后的顺序形成有序任务列;例如,对于某一运输设备A,已安排给该运输设备以下运输任务:a 1、a 2、a 3,其中a 1、a 2、a 3是已按任务生成时间顺序排列好的,则运输设备A将会依次完成运输任务a 1、a 2、a 3Each scheduling device can have a corresponding to-do task list. The to-do task list can store information about existing transportation tasks that have been scheduled and not yet completed. The existing transportation tasks can be first arrived according to the task generation time. The following order forms an ordered task list; for example, for a certain transportation equipment A, the following transportation tasks have been arranged for the transportation equipment: a 1 , a 2 , a 3 , where a 1 , a 2 , and a 3 are already assigned tasks If the generation time sequence is arranged, the transportation equipment A will complete the transportation tasks a 1 , a 2 , and a 3 in sequence.
本公开能够根据运输设备和升降设备的状态信息,基于运输任务生成调度任务进而对运输设备和升降设备进行精准调度,保证了设备有序高效地执行,避免了现有技术中因运输设备和升降设备之间数据不互通而产生的调度冲突,更加安全、高效。The present disclosure can generate scheduling tasks based on the transportation tasks based on the status information of the transportation equipment and the lifting equipment, thereby accurately scheduling the transportation equipment and the lifting equipment, ensuring the orderly and efficient execution of the equipment, and avoiding the transportation equipment and the lifting equipment in the prior art. Scheduling conflicts caused by non-interoperability of data between devices are safer and more efficient.
在一些实施例中,分配模块502根据所述调度设备的状态信息和所述待分配运输任务信息,为所述运输任务分配与之对应的目标调度设备,包括:In some embodiments, the allocation module 502 allocates a corresponding target scheduling device for the transportation task according to the status information of the scheduling device and the transportation task information to be allocated, including:
根据所述调度设备的故障信息,从所述调度设备中选择无故障的设备作为待选调度设备;According to the failure information of the scheduling device, select a non-faulty device from the scheduling device as the candidate scheduling device;
从待选运输设备中确定目标运输设备;Determine the target transportation equipment from the transportation equipment to be selected;
根据所述目标运输设备的已有运输任务信息,确定所述目标运输设备在执行所述待分配运输任务之前的所在层,作为前序层;According to the existing transportation task information of the target transportation device, determine the layer of the target transportation device before the transportation task to be allocated is executed, as a pre-order layer;
若所述前序层与所述待分配运输任务所在层相同,则以所述目标运输设备作为所述目标调度设备;If the pre-order layer is the same as the layer where the transportation task to be allocated is located, the target transportation device is used as the target scheduling device;
若所述前序层与所述待分配运输任务所在层不同,从待选升降设备中确定目标升降设备,以所述目标运输设备和所述目标升降设备共同作为所述目标调度设备。If the pre-order layer is different from the layer where the transportation task to be allocated is located, a target lifting device is determined from the lifting devices to be selected, and the target transportation device and the target lifting device are used together as the target scheduling device.
先确定待选调度设备可以排除掉有故障的设备,避免将运输任务分配给无法正常工作的设备;First determine that the scheduling equipment to be selected can eliminate faulty equipment and avoid assigning transportation tasks to equipment that cannot work normally;
从待选运输设备中确定目标运输设备后,可以根据目标运输设备的状态信息确定是否需要升降设备帮助该目标运输设备完成待分配运输任务,具体地,需要判断所述前序层与待分配运输任务所在层是否相同进而确定是否需要利用升降设备帮助目标运输设备进行换层,以完成待分配运输任务;After the target transportation equipment is determined from the transportation equipment to be selected, it can be determined according to the status information of the target transportation equipment whether lifting equipment is needed to help the target transportation equipment complete the transportation tasks to be assigned. Whether the tasks are on the same layer and then determine whether it is necessary to use lifting equipment to help the target transportation equipment to change layers to complete the transportation tasks to be assigned;
对于确定前序层的方法,以下举例说明:For the method of determining the pre-order layer, the following examples illustrate:
在一些实施例中,若待分配运输任务的任务生成时间都晚于目标运输设备已有的运输任务的任务生成时间,待分配运输任务将会排在目标运输设备已有的运输任务列中排最末的运输任务之后,则可以将目标运输设备已有的运输任务列中排最末的运输任务的所在层作为所述前序层;或者,In some embodiments, if the task generation time of the transportation task to be allocated is later than the task generation time of the existing transportation task of the target transportation device, the transportation task to be allocated will be ranked in the existing transportation task list of the target transportation device. After the last transportation task, the layer of the last transportation task in the existing transportation task list of the target transportation equipment can be used as the predecessor layer; or,
在一些实施例中,若目标运输设备已有的运输任务中存在晚于待分配运输任务的任务生成时间,则以已有运输任务中早于所述待分配运输任务生成时间、且离待分配运输任务生成时间最近的已有运输任务的所在层,作为所述前序层;或者,In some embodiments, if there is a task generation time that is later than the to-be-allocated transportation task among the existing transportation tasks of the target transportation equipment, then the existing transportation task is assumed to be earlier than the to-be-allocated transportation task generation time and is far from the to-be-allocated transportation task. The layer of the existing transportation task with the most recent generation time of the transportation task is used as the pre-order layer; or,
在一些实施例中,若目标运输设备不存在已有运输任务,即目标运输设备的待做任务列表为空,则可以以所述目标运输设备当前所在 层,作为所述前序层;In some embodiments, if the target transportation device does not have an existing transportation task, that is, the to-do task list of the target transportation device is empty, the current layer of the target transportation device may be used as the pre-order layer;
若该前序层与待分配运输任务所在层相同,则可以无需升降设备帮助运输设备进行换层,可以直接以目标运输设备作为目标调度设备;If the pre-order layer is the same as the layer where the transportation task is to be assigned, the lifting equipment may not be needed to help the transportation equipment to change the layer, and the target transportation equipment may be directly used as the target dispatching equipment;
若所述前序层与所述待分配运输任务所在层不同,则可以再从待选升降设备中确定目标升降设备,以所述目标运输设备和所述目标升降设备共同作为目标调度设备。If the pre-order layer is different from the layer where the transportation task to be allocated is located, then the target lifting equipment can be determined from the to-be-selected lifting equipment, and the target transportation equipment and the target lifting equipment are jointly used as the target dispatching equipment.
在一些实施例中,分配模块502生成与所述待分配运输任务对应的调度任务,包括:In some embodiments, the allocation module 502 generates a scheduling task corresponding to the transportation task to be allocated, including:
若所述前序层与所述待分配运输任务所在层相同,则所述调度任务包括:所述目标运输设备在所述待分配运输任务所在层进行同层运输;If the pre-order layer is the same as the layer where the transportation task to be allocated is located, the scheduling task includes: the target transportation equipment performs the same layer transportation at the layer where the transportation task to be allocated is located;
若所述前序层与所述待分配运输任务所在层不同,则所述调度任务包括:利用所述目标升降设备将所述目标运输设备从所述前序层传送至所述待分配运输任务所在层。If the pre-order layer is different from the layer where the transportation task to be allocated is located, the scheduling task includes: using the target lifting device to transfer the target transportation device from the pre-order layer to the transportation task to be allocated The layer.
调度任务可以看作是只涉及运输设备和升降设备换层操作的任务;生成调度任务可以有利于对运输设备和升降设备进行管理,避免了现有技术中因运输设备和升降设备之间数据不互通而产生的调度冲突,更加安全、高效。The scheduling task can be regarded as a task that only involves the operation of the transportation equipment and the lifting equipment; the generation of the scheduling task can facilitate the management of the transportation equipment and the lifting equipment, avoiding the data gap between the transportation equipment and the lifting equipment in the prior art. Scheduling conflicts caused by intercommunication are safer and more efficient.
在一些实施例中,分配模块502从待选运输设备中确定目标运输设备,包括:In some embodiments, the allocation module 502 determines the target transportation equipment from the transportation equipment to be selected, including:
根据所述调度设备的已有运输任务信息,确定各待选运输设备的待执行运输任务个数;以待执行运输任务个数最少的待选运输设备作为目标运输设备。According to the existing transportation task information of the scheduling equipment, the number of transportation tasks to be performed for each transportation equipment to be selected is determined; the transportation equipment to be selected with the least number of transportation tasks to be performed is used as the target transportation equipment.
在一些实际情况中,若存在相同最少数目待执行运输任务的运输设备,则可以根据待执行运输任务列表中任务生成时间再做选择,举例说明:有待选运输设备B、待选运输设备C,待选运输设备B有排好顺序的已有运输任务b 1、b 2、b 3,待选运输设备C有排好顺序的已 有运输任务c 1、c 2、c 3,待执行运输任务个数都是3,都最少;其中,若运输任务b 3生成时间早于运输任务c 3生成时间,运输任务c 3生成时间早于待分配运输任务x生成时间,则可以将待选运输设备B作为目标运输设备,这样确定的意义在于可以根据各设备当下的状态信息,使待分配运输任务被尽早执行。 In some actual situations, if there are the same minimum number of transportation equipment to be performed, the selection can be made based on the task generation time in the list of transportation tasks to be performed. For example, there are transportation equipment to be selected B and transportation equipment C to be selected, The transportation equipment B to be selected has ordered existing transportation tasks b 1 , b 2 , b 3 , and transportation equipment C to be selected has transportation tasks c 1 , c 2 , and c 3 in the ordered order, and transportation tasks are to be performed The number is 3, which is the least; among them, if the generation time of transportation task b 3 is earlier than the generation time of transportation task c 3, and the generation time of transportation task c 3 is earlier than the generation time of transportation task x to be assigned, the transportation equipment to be selected can be selected B is the target transportation equipment. The significance of this determination is that the transportation tasks to be allocated can be executed as soon as possible based on the current status information of each equipment.
在一些实施例中,分配模块502从待选升降设备中确定目标升降设备,包括:In some embodiments, the allocation module 502 determines the target lifting device from the candidate lifting devices, including:
根据所述调度设备的已有运输任务信息,确定各待选升降设备的待执行运输任务个数;以待执行运输任务个数最少的待选升降设备作为目标运输设备。According to the existing transportation task information of the scheduling equipment, determine the number of transportation tasks to be performed for each candidate lifting equipment; take the candidate lifting equipment with the least number of transportation tasks to be performed as the target transportation equipment.
根据各设备的待执行运输任务个数来确定目标调度设备,可以较为平均地将运输任务分配给设备,可以避免出现少数设备被分配了过多运输任务的情况,进而使设备负载均衡。The target scheduling equipment is determined according to the number of transportation tasks to be performed for each equipment, and transportation tasks can be distributed to the equipment relatively evenly, which can avoid the situation that a small number of equipment is assigned too many transportation tasks, and then balance the equipment load.
在一些实施例中,分配模块502在为所述待分配运输任务分配与之对应的目标调度设备,并生成与所述待分配运输任务对应的调度任务之后,还包括:更新所述目标调度设备的状态信息。In some embodiments, after the allocation module 502 allocates a target scheduling device corresponding to the transportation task to be allocated and generates a scheduling task corresponding to the transportation task to be allocated, the allocation module 502 further includes: updating the target scheduling device Status information.
在一些实施例中,当调度设备发生故障时,分配模块502还用于将该调度设备的已有运输任务按上述方法分配给其它调度设备,并更新调度设备的状态信息。In some embodiments, when a dispatching device fails, the allocation module 502 is further configured to allocate the existing transportation tasks of the dispatching device to other dispatching devices according to the above method, and update the state information of the dispatching device.
在一些实际情况中,调度设备发生故障的情况还可以包括调度设备有维护需求、回收需求等;以下举例说明:In some actual situations, the failure of the dispatching equipment may also include the dispatching equipment's maintenance requirements, recovery requirements, etc.; the following examples illustrate:
有待选运输设备D、待选运输设备E、待选运输设备F;待选升降设备G、待选升降设备H、待选升降设备I;待选运输设备D有排好顺序的已有运输任务d 1、d 2,且都与待选升降设备G合作;待选运输设备E有排好顺序的已有运输任务e 1、e 2、e 3,且都与待选升降设备H合作;待选运输设备F有排好顺序的已有运输任务f 1、f 2、f 3,且都与 待选升降设备I合作;当待选运输设备F此时突然发生故障,则可以按本公开中的方法依次将运输任务f 1、f 2、f 3分配给其它设备,并相应地生成新的调度任务;并且之后,还需要更新各个设备的状态信息。 There are candidate transportation equipment D, candidate transportation equipment E, candidate transportation equipment F; candidate elevator equipment G, candidate elevator equipment H, candidate elevator equipment I; candidate transportation equipment D has existing transportation tasks arranged in order d 1 , d 2 , and they all cooperate with the candidate lifting equipment G; the candidate transportation equipment E has the existing transportation tasks e 1 , e 2 , e 3 in the order , and they all cooperate with the candidate lifting equipment H; The selected transportation equipment F has the existing transportation tasks f 1 , f 2 , and f 3 in a good order, and they all cooperate with the to-be-selected lifting equipment I; when the to-be-selected transportation equipment F suddenly fails at this time, you can follow the steps in this disclosure In the method, the transportation tasks f 1 , f 2 , and f 3 are assigned to other devices in turn, and new scheduling tasks are generated accordingly; and afterwards, the status information of each device needs to be updated.
及时更新设备的状态信息可以使数据更可信、使本公开中的方法更可靠。Updating the status information of the device in time can make the data more credible and make the method in the present disclosure more reliable.
在一些较优的实施例中,分配模块502在生成调度任务之后,还可以对所述目标运输设备和目标升降设备设置联锁,设置联锁可以保证设备状态信息不被轻易篡改,保证数据的准确性。In some preferred embodiments, after the allocation module 502 generates the scheduling task, it can also set an interlock for the target transportation equipment and the target lifting equipment. Setting the interlock can ensure that the equipment status information is not easily tampered with, and the data is guaranteed. accuracy.
图6示出了可以应用本公开实施例的用于立体库的设备调度方法或用于立体库的设备调度装置的示例性系统架构600。FIG. 6 shows an exemplary system architecture 600 of a device scheduling method for a stereo library or a device scheduling apparatus for a stereo library to which an embodiment of the present disclosure can be applied.
如图6所示,系统架构600可以包括终端设备601、602、603,网络604和服务器605。网络504用以在终端设备601、602、603和服务器605之间提供通信链路的介质。网络604可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 6, the system architecture 600 may include terminal devices 601, 602, and 603, a network 604, and a server 605. The network 504 is used to provide a medium for communication links between the terminal devices 601, 602, and 603 and the server 605. The network 604 may include various connection types, such as wired, wireless communication links, or fiber optic cables, and so on.
用户可以使用终端设备601、602、603通过网络604与服务器605交互,以接收或发送消息等。终端设备601、602、603上可以安装有各种通讯客户端应用,例如网页浏览器应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。The user can use the terminal devices 601, 602, and 603 to interact with the server 605 via the network 604 to receive or send messages and so on. Various communication client applications, such as web browser applications, search applications, instant messaging tools, email clients, and social platform software, can be installed on the terminal devices 601, 602, and 603.
终端设备601、602、603可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。The terminal devices 601, 602, and 603 may be various electronic devices that have a display screen and support web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and so on.
服务器605可以是提供各种服务的服务器。后台管理服务器可以对接收到的产品信息查询请求等数据进行分析等处理,并将处理结果 (例如目标推送信息、产品信息--仅为示例)反馈给终端设备。The server 605 may be a server that provides various services. The background management server can analyze and process the received product information query request and other data, and feed back the processing results (such as target push information, product information-only examples) to the terminal device.
需要说明的是,本公开实施例所提供的用于立体库的设备调度方法一般由服务器605执行,相应地,用于立体库的设备调度装置一般设置于服务器605中。It should be noted that the device scheduling method for the stereo library provided by the embodiment of the present disclosure is generally executed by the server 605, and accordingly, the device scheduling device for the stereo library is generally set in the server 605.
应该理解,图6中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks, and servers in FIG. 6 are merely illustrative. There can be any number of terminal devices, networks, and servers according to implementation needs.
下面参考图7,其示出了适于用来实现本公开实施例的终端设备的计算机系统700的结构示意图。图7示出的终端设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring now to FIG. 7, it shows a schematic structural diagram of a computer system 700 suitable for implementing a terminal device of an embodiment of the present disclosure. The terminal device shown in FIG. 7 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
如图7所示,计算机系统700包括中央处理单元(CPU)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储部分708加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有系统700操作所需的各种程序和数据。CPU 701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。As shown in FIG. 7, the computer system 700 includes a central processing unit (CPU) 701, which can be based on a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703 And perform various appropriate actions and processing. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to the bus 704.
以下部件连接至I/O接口705:包括键盘、鼠标等的输入部分706;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分707;包括硬盘等的存储部分708;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分709。通信部分709经由诸如因特网的网络执行通信处理。驱动器710也根据需要连接至I/O接口705。可拆卸介质711,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器710上,以便于从其上读出的计算机程序根据需要被安装入存储部分708。The following components are connected to the I/O interface 705: an input part 706 including a keyboard, a mouse, etc.; an output part 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and speakers, etc.; a storage part 708 including a hard disk, etc. ; And a communication section 709 including a network interface card such as a LAN card, a modem, and the like. The communication section 709 performs communication processing via a network such as the Internet. The drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that the computer program read therefrom is installed into the storage section 708 as needed.
特别地,根据本公开公开的实施例,上文参考流程图描述的过程 可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分709从网络上被下载和安装,和/或从可拆卸介质711被安装。在该计算机程序被中央处理单元(CPU)701执行时,执行本公开的系统中限定的上述功能。In particular, according to the embodiments disclosed in the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network through the communication part 709, and/or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present disclosure are executed.
需要说明的是,本公开所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。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 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 a combination of any of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable removable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device . The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码 的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions, and operations of the system, method, and computer program product according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more for realizing the specified logic function. Executable instructions. It should also be noted that, in some alternative implementations, the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown one after another can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by It is realized by a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块也可以设置在处理器中,例如,可以描述为:一种处理器包括获取模块、分配模块和调度模块。其中,这些模块的名称在某种情况下并不构成对该模块本身的限定,例如,发送模块还可以被描述为“向所连接的服务端发送图片获取请求的模块”。The modules involved in the embodiments described in the present disclosure can be implemented in software or hardware. The described module may also be provided in the processor. For example, it may be described as: a processor includes an acquisition module, an allocation module, and a scheduling module. Among them, the names of these modules do not constitute a limitation on the module itself under certain circumstances. For example, the sending module can also be described as "a module that sends an image acquisition request to a connected server".
作为另一方面,本公开还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该设备包括:步骤S101、响应于接收到的待分配运输任务,获取调度设备的状态信息;其中,所述调度设备包括:运输设备、升降设备;步骤S102、根据所述调度设备的状态信息和所述待分配运输任务信息,为所述待分配运输任务分配与之对应的目标调度设备,并生成与所述待分配运输任务对应的调度任务;步骤S103、根据所述调度任务对所述目标调度设备进行调度。As another aspect, the present disclosure also provides a computer-readable medium. The computer-readable medium may be included in the device described in the foregoing embodiment; or it may exist alone without being assembled into the device. The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by a device, the device includes: step S101, in response to the received transportation task to be allocated, obtaining the status of the scheduling device Information; wherein, the scheduling equipment includes: transportation equipment, lifting equipment; step S102, according to the status information of the scheduling equipment and the transportation task information to be allocated, the transportation task to be allocated is assigned a corresponding target scheduling Equipment, and generate a scheduling task corresponding to the transportation task to be allocated; step S103, scheduling the target scheduling device according to the scheduling task.
根据本公开实施例的技术方案,因为采用根据运输设备和升降设备的状态信息,基于运输任务生成调度任务进而对运输设备和升降设备进行精准调度,并在调度过程中及时更新其状态信息的技术手段, 所以避免了现有技术中因运输设备和升降设备之间数据不互通而产生的调度冲突,并克服了现有技术中工作人员依靠经验和观察进行调度所带来的调度不及时、不准确、不安全、任务执行效率低的技术问题,进而达到了使设备有序高效安全地执行任务的技术效果。According to the technical solutions of the embodiments of the present disclosure, the technology of generating scheduling tasks based on the transportation tasks based on the status information of the transportation equipment and the lifting equipment is adopted to accurately schedule the transportation equipment and the lifting equipment, and to update the status information in time during the scheduling process Therefore, it avoids the scheduling conflicts caused by the non-interoperability of data between the transportation equipment and the lifting equipment in the prior art, and overcomes the untimely and untimely scheduling caused by the staff relying on experience and observation in the prior art. The technical problems of accuracy, insecurity, and low task execution efficiency have achieved the technical effect of enabling the equipment to perform tasks in an orderly, efficient and safe manner.
上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,取决于设计要求和其他因素,可以发生各种各样的修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。The foregoing specific implementations do not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that, depending on design requirements and other factors, various modifications, combinations, sub-combinations, and substitutions can occur. Any modification, equivalent replacement and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims (13)

  1. 一种用于立体库的设备调度方法,其包括:A device scheduling method for a stereo library, which includes:
    响应于接收到的待分配运输任务,获取调度设备的状态信息;其中,所述调度设备包括:运输设备、升降设备;In response to the received transportation task to be assigned, the status information of the dispatching equipment is acquired; wherein the dispatching equipment includes: transportation equipment and lifting equipment;
    根据所述调度设备的状态信息和所述待分配运输任务信息,为所述待分配运输任务分配与之对应的目标调度设备,并生成与所述待分配运输任务对应的调度任务;According to the status information of the scheduling device and the information of the transportation task to be allocated, assign a target scheduling device corresponding to the transportation task to be allocated, and generate a scheduling task corresponding to the transportation task to be allocated;
    根据所述调度任务对所述目标调度设备进行调度。Scheduling the target scheduling device according to the scheduling task.
  2. 根据权利要求1所述的方法,其中,所述调度设备的状态信息包括:所述调度设备的故障信息、所述调度设备的已有运输任务信息;The method according to claim 1, wherein the status information of the dispatching device includes: failure information of the dispatching device, and existing transportation task information of the dispatching device;
    所述运输任务信息包括:运输任务生成时间信息、运输任务所在层信息。The transportation task information includes: transportation task generation time information, and layer information of the transportation task.
  3. 根据权利要求2所述的方法,其中,根据所述调度设备的状态信息和所述待分配运输任务信息,为所述运输任务分配与之对应的目标调度设备,包括:The method according to claim 2, wherein, according to the status information of the scheduling device and the transportation task information to be allocated, allocating the corresponding target scheduling device to the transportation task comprises:
    根据所述调度设备的故障信息,从所述调度设备中选择无故障的设备作为待选调度设备;According to the failure information of the scheduling device, select a non-faulty device from the scheduling device as the candidate scheduling device;
    从待选运输设备中确定目标运输设备;Determine the target transportation equipment from the transportation equipment to be selected;
    根据所述目标运输设备的已有运输任务信息,确定所述目标运输设备在执行所述待分配运输任务之前的所在层,作为前序层;According to the existing transportation task information of the target transportation device, determine the layer of the target transportation device before the transportation task to be allocated is executed, as a pre-order layer;
    若所述前序层与所述待分配运输任务所在层相同,则以所述目标运输设备作为所述目标调度设备;If the pre-order layer is the same as the layer where the transportation task to be allocated is located, the target transportation device is used as the target scheduling device;
    若所述前序层与所述待分配运输任务所在层不同,从待选升降设备中确定目标升降设备,以所述目标运输设备和所述目标升降设备共同作为所述目标调度设备。If the pre-order layer is different from the layer where the transportation task to be allocated is located, a target lifting device is determined from the lifting devices to be selected, and the target transportation device and the target lifting device are used together as the target scheduling device.
  4. 根据权利要求3所述的方法,其中,根据所述目标运输设备的 已有运输任务信息,确定所述目标运输设备在执行所述待分配运输任务之前的所在层,作为前序层,包括:The method according to claim 3, wherein, according to the existing transportation task information of the target transportation device, determining the layer of the target transportation device before executing the transportation task to be allocated, as a pre-order layer, comprises:
    若不存在已有运输任务,则以所述目标运输设备当前所在层,作为所述前序层;If there is no existing transportation task, use the current layer of the target transportation equipment as the pre-order layer;
    若存在已有运输任务,则以已有运输任务中早于所述待分配运输任务生成时间、且离待分配运输任务生成时间最近的已有运输任务的所在层,作为所述前序层。If there is an existing transportation task, the layer of the existing transportation task that is earlier than the generation time of the transportation task to be allocated and closest to the generation time of the transportation task to be allocated among the existing transportation tasks is used as the pre-order layer.
  5. 根据权利要求3所述的方法,其中,生成与所述待分配运输任务对应的调度任务,包括:The method according to claim 3, wherein generating a scheduling task corresponding to the transportation task to be allocated comprises:
    若所述前序层与所述待分配运输任务所在层相同,则所述调度任务包括:所述目标运输设备在所述待分配运输任务所在层进行同层运输;If the pre-order layer is the same as the layer where the transportation task to be allocated is located, the scheduling task includes: the target transportation equipment performs the same layer transportation at the layer where the transportation task to be allocated is located;
    若所述前序层与所述待分配运输任务所在层不同,则所述调度任务包括:利用所述目标升降设备将所述目标运输设备从所述前序层传送至所述待分配运输任务所在层。If the pre-order layer is different from the layer where the transportation task to be allocated is located, the scheduling task includes: using the target lifting device to transfer the target transportation device from the pre-order layer to the transportation task to be allocated The layer.
  6. 根据权利要求3所述的方法,其中,从待选运输设备中确定目标运输设备,包括:The method according to claim 3, wherein determining the target transportation equipment from the candidate transportation equipment includes:
    根据所述调度设备的已有运输任务信息,确定各待选运输设备的待执行运输任务个数;以待执行运输任务个数最少的待选运输设备作为目标运输设备。According to the existing transportation task information of the scheduling equipment, the number of transportation tasks to be performed for each transportation equipment to be selected is determined; the transportation equipment to be selected with the least number of transportation tasks to be performed is used as the target transportation equipment.
  7. 根据权利要求3所述的方法,其中,从待选升降设备中确定目标升降设备,包括:The method according to claim 3, wherein determining the target lifting device from the candidate lifting devices comprises:
    根据所述调度设备的已有运输任务信息,确定各待选升降设备的待执行运输任务个数;以待执行运输任务个数最少的待选升降设备作为目标运输设备。According to the existing transportation task information of the scheduling equipment, determine the number of transportation tasks to be performed for each candidate lifting equipment; take the candidate lifting equipment with the least number of transportation tasks to be performed as the target transportation equipment.
  8. 根据权利要求1所述的方法,其中,在为所述待分配运输任务 分配与之对应的目标调度设备,并生成与所述待分配运输任务对应的调度任务之后,还包括:The method according to claim 1, wherein after allocating a target scheduling device corresponding to the transportation task to be allocated and generating a scheduling task corresponding to the transportation task to be allocated, the method further comprises:
    更新所述目标调度设备的状态信息。Update the status information of the target scheduling device.
  9. 根据权利要求1-8所述的方法,还包括:The method according to claims 1-8, further comprising:
    当调度设备发生故障时,将该调度设备的已有运输任务按权利要求1-8中任一所述的方法分配给其它调度设备,并更新调度设备的状态信息。When a dispatching device fails, the existing transportation tasks of the dispatching device are allocated to other dispatching devices according to the method described in any one of claims 1-8, and the state information of the dispatching device is updated.
  10. 一种用于立体库的设备调度装置,其包括:An equipment scheduling device for a three-dimensional library, which includes:
    获取模块,用于响应于接收到的待分配运输任务,获取调度设备的状态信息;其中,所述调度设备包括:运输设备、升降设备;The obtaining module is used to obtain status information of the dispatching equipment in response to the received transportation task to be assigned; wherein the dispatching equipment includes: transportation equipment and lifting equipment;
    分配模块,用于根据所述调度设备的状态信息和所述待分配运输任务信息,为所述待分配运输任务分配与之对应的目标调度设备,并生成与所述待分配运输任务对应的调度任务;The allocation module is used to allocate a target scheduling device corresponding to the to-be-allocated transportation task according to the status information of the scheduling device and the to-be-allocated transportation task information, and generate a schedule corresponding to the to-be-allocated transportation task Task;
    调度模块,用于根据所述调度任务对所述目标调度设备进行调度。The scheduling module is used to schedule the target scheduling device according to the scheduling task.
  11. 根据权利要求10所述的装置,其中,所述分配模块还用于:The device according to claim 10, wherein the distribution module is further used for:
    当调度设备发生故障时,将该调度设备的已有运输任务按权利要求1-8中任一所述的方法分配给其它调度设备,并更新调度设备的状态信息。When a dispatching device fails, the existing transportation tasks of the dispatching device are allocated to other dispatching devices according to the method described in any one of claims 1-8, and the state information of the dispatching device is updated.
  12. 一种用于立体库的设备调度电子设备,其包括:A device scheduling electronic device for a stereo library, which includes:
    一个或多个处理器;One or more processors;
    存储装置,用于存储一个或多个程序,Storage device for storing one or more programs,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-9中任一所述的方法。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-9.
  13. 一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时实现如权利要求1-9中任一所述的方法。A computer-readable medium with a computer program stored thereon, which when executed by a processor implements the method according to any one of claims 1-9.
PCT/CN2021/085307 2020-04-03 2021-04-02 Device scheduling method and apparatus for high-bay warehouse WO2021197477A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010259306.4A CN113496333A (en) 2020-04-03 2020-04-03 Equipment scheduling method and device for three-dimensional library
CN202010259306.4 2020-04-03

Publications (1)

Publication Number Publication Date
WO2021197477A1 true WO2021197477A1 (en) 2021-10-07

Family

ID=77927817

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/085307 WO2021197477A1 (en) 2020-04-03 2021-04-02 Device scheduling method and apparatus for high-bay warehouse

Country Status (2)

Country Link
CN (1) CN113496333A (en)
WO (1) WO2021197477A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114580728A (en) * 2022-02-28 2022-06-03 北京京东乾石科技有限公司 Elevator dispatching method and device, storage medium and electronic equipment
WO2023226756A1 (en) * 2022-05-25 2023-11-30 北京旷视机器人技术有限公司 Device scheduling method, electronic device, and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114906688A (en) * 2022-04-22 2022-08-16 北京旷视机器人技术有限公司 Method for controlling riding lifting device of elevator taking object and product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279630A (en) * 2015-09-30 2016-01-27 湖北龙源电力科技有限公司 Multitask optimization scheduling control method for stereoscopic warehouse
CN206494612U (en) * 2016-12-29 2017-09-15 菱王电梯股份有限公司 Elevator intelligent logistics delivery system
CN109636198A (en) * 2018-12-14 2019-04-16 拉扎斯网络科技(上海)有限公司 Dispatching method, dispatching device, computer readable storage medium and electronic equipment
CN110803657A (en) * 2019-09-17 2020-02-18 上海快仓智能科技有限公司 Material box carrying system using lifting robot and carrying method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108625645A (en) * 2018-07-23 2018-10-09 杭州可度科技有限公司 A kind of vertical garage and its intelligent control method
CN109144696B (en) * 2018-08-30 2021-08-10 百度在线网络技术(北京)有限公司 Task scheduling method and device, electronic equipment and storage medium
CN109594829A (en) * 2018-11-30 2019-04-09 北京星航机电装备有限公司 A kind of wisdom parking management system based on the AGV that parks
CN110347058B (en) * 2019-06-23 2021-08-24 上海有个机器人有限公司 Method for establishing communication connection and controlling with intelligent robot through intelligent lifting equipment
CN110580020A (en) * 2019-08-30 2019-12-17 莱克电气股份有限公司 AGV (automatic guided vehicle) scheduling method and device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279630A (en) * 2015-09-30 2016-01-27 湖北龙源电力科技有限公司 Multitask optimization scheduling control method for stereoscopic warehouse
CN206494612U (en) * 2016-12-29 2017-09-15 菱王电梯股份有限公司 Elevator intelligent logistics delivery system
CN109636198A (en) * 2018-12-14 2019-04-16 拉扎斯网络科技(上海)有限公司 Dispatching method, dispatching device, computer readable storage medium and electronic equipment
CN110803657A (en) * 2019-09-17 2020-02-18 上海快仓智能科技有限公司 Material box carrying system using lifting robot and carrying method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114580728A (en) * 2022-02-28 2022-06-03 北京京东乾石科技有限公司 Elevator dispatching method and device, storage medium and electronic equipment
WO2023226756A1 (en) * 2022-05-25 2023-11-30 北京旷视机器人技术有限公司 Device scheduling method, electronic device, and storage medium

Also Published As

Publication number Publication date
CN113496333A (en) 2021-10-12

Similar Documents

Publication Publication Date Title
WO2021197477A1 (en) Device scheduling method and apparatus for high-bay warehouse
US11762697B2 (en) Method and apparatus for scheduling resource for deep learning framework
CN110825535B (en) Job scheduling method and system
CN106919445B (en) Method and device for scheduling containers in cluster in parallel
CN109034396B (en) Method and apparatus for processing deep learning jobs in a distributed cluster
KR100509794B1 (en) Method of scheduling jobs using database management system for real-time processing
CN107832143B (en) Method and device for processing physical machine resources
EP3114589B1 (en) System and method for massively parallel processing database
CN112114950A (en) Task scheduling method and device and cluster management system
US20150254105A1 (en) Data processing system, data processing method, and program
CN112650576A (en) Resource scheduling method, device, equipment, storage medium and computer program product
US11074103B2 (en) Scheduling method and scheduling device
WO2020031680A1 (en) Resource reservation management device, resource reservation management method, and resource reservation management program
CN109634764A (en) Work-flow control method, apparatus, equipment, storage medium and system
CN112153167A (en) Internet interconnection protocol management method, device, electronic equipment and storage medium
CN115658311A (en) Resource scheduling method, device, equipment and medium
CN115544044A (en) Data consistency keeping method, device, equipment and storage medium
CN110515741A (en) A kind of degradation processing method and device based on local task queue
CN105653347B (en) A kind of server, method for managing resource and virtual machine manager
CN113032093A (en) Distributed computing method, device and platform
CN105607896A (en) Application program development method and system
CN113791876A (en) System, method and apparatus for processing tasks
WO2023197727A1 (en) Task processing method and apparatus
CN115170026A (en) Task processing method and device
CN110390450B (en) Storage scheduling method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21782169

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21782169

Country of ref document: EP

Kind code of ref document: A1