CN114358681A - Task allocation method, electronic device and computer program product - Google Patents
Task allocation method, electronic device and computer program product Download PDFInfo
- Publication number
- CN114358681A CN114358681A CN202111625895.4A CN202111625895A CN114358681A CN 114358681 A CN114358681 A CN 114358681A CN 202111625895 A CN202111625895 A CN 202111625895A CN 114358681 A CN114358681 A CN 114358681A
- Authority
- CN
- China
- Prior art keywords
- outbound
- allocated
- idle
- relationship
- warehouse
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 122
- 238000004590 computer program Methods 0.000 title claims abstract description 16
- 238000009826 distribution Methods 0.000 claims abstract description 60
- 238000011156 evaluation Methods 0.000 claims description 67
- 238000003860 storage Methods 0.000 claims description 52
- 230000006870 function Effects 0.000 claims description 10
- 230000008030 elimination Effects 0.000 claims description 5
- 238000003379 elimination reaction Methods 0.000 claims description 5
- 238000012384 transportation and delivery Methods 0.000 claims description 5
- 230000032258 transport Effects 0.000 description 296
- 230000008569 process Effects 0.000 description 32
- 238000005516 engineering process Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 5
- 239000000463 material Substances 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 241000208125 Nicotiana Species 0.000 description 1
- 235000002637 Nicotiana tabacum Nutrition 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 235000013305 food Nutrition 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 238000011068 loading method Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 239000004753 textile Substances 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Images
Abstract
Description
技术领域technical field
本申请涉及仓库自动化技术领域,尤其是涉及一种任务分配方法、电子设备及计算机程序产品。The present application relates to the technical field of warehouse automation, and in particular, to a task assignment method, an electronic device and a computer program product.
背景技术Background technique
自动化立体仓库通常由货架、运输车及相关控制系统组成。在相关控制系统的调度下,运输车穿行于货架之间的巷道中,完成货物出库或进库的任务。Automated three-dimensional warehouses are usually composed of shelves, transport vehicles and related control systems. Under the scheduling of the relevant control system, the transport vehicle travels through the roadway between the shelves to complete the task of leaving or entering the warehouse.
在自动化立体仓库的使用过程中,其出进库的任务往往同时发生,可能产生出库吞吐远大于进库吞吐,或进库吞吐远大于出库吞吐的情况。进库在出、进库的吞吐量相差较大时,会造成仓库任务过程拥堵,任务效率较低。In the process of using the automated three-dimensional warehouse, the tasks of entering and leaving the warehouse often occur at the same time, which may result in a situation where the throughput of the outbound warehouse is much greater than that of the warehouse, or the throughput of the warehouse is much larger than that of the warehouse. When there is a large difference between the throughput of inbound and outbound and inbound warehouses, it will cause congestion in the warehouse task process and low task efficiency.
因此,亟需一种任务分配的技术方案,以解决上述技术问题。Therefore, there is an urgent need for a technical solution for task allocation to solve the above technical problems.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请的目的在于提供一种任务分配方法、电子设备及计算机程序产品,以在尽量满足出进库流量的要求的同时,使仓库整体任务顺畅,从而提高任务效率。In view of this, the purpose of the present application is to provide a task allocation method, electronic device and computer program product, so as to satisfy the requirements of inbound and outbound flow as much as possible, and to make the overall task of the warehouse smooth, thereby improving task efficiency.
第一方面,本申请实施例提供了一种任务分配方法,包括:获取目标仓库当前所对应的空闲运输车集合、待分配进库任务集合、待分配出库任务集合以及非空闲运输车信息;其中,非空闲运输车信息包括执行进库任务的第一非空闲运输车数量和执行出库任务的第二非空闲运输车数量;基于空闲运输车集合、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配进库任务之间的第一分配关系;基于第一分配关系、空闲运输车集合、待分配出库任务集合以及第二非空闲运输车数量,确定各空闲运输车与各待分配出库任务之间的第二分配关系;第二分配关系中的空闲运输车与第一分配关系中的空闲运输车不重合;基于第一分配关系及第二分配关系,对空闲运输车进行调度。In a first aspect, an embodiment of the present application provides a task allocation method, including: acquiring a set of idle transport vehicles currently corresponding to a target warehouse, a set of inbound tasks to be allocated, a set of outbound tasks to be allocated, and information on non-idle transport vehicles; Wherein, the information on non-idle transport vehicles includes the number of first non-idle transport vehicles that perform inbound tasks and the number of second non-idle transport vehicles that perform outbound tasks; based on the set of idle transport vehicles, the set of inbound tasks to be allocated, and the first The number of idle transport vehicles, determine the first allocation relationship between each idle transport vehicle and each task to be allocated into the warehouse; based on the first allocation relationship, the set of idle transport vehicles, the set of tasks to be allocated out of the warehouse, and the number of second non-idle transport vehicles , determine the second distribution relationship between each idle transport vehicle and each task to be allocated out of the warehouse; the idle transport vehicle in the second allocation relationship does not overlap with the idle transport vehicle in the first allocation relationship; based on the first allocation relationship and the first allocation relationship The second distribution relationship is to schedule idle transport vehicles.
进一步地,上述基于空闲运输车集合、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配入库任务之间的第一分配关系,包括:基于第一非空闲运输车数量,确定当前可执行待分配进库任务的进库车辆数量范围;将空闲运输车集合以及待分配进库任务集合输入至第一运力分配模型,得到多个第一初步配对关系及对应的评价值;第一初步配对关系包括空闲运输车与待分配进库任务的配对关系;评价值表征第一初步配对关系所对应的空闲运输车开始执行对应的待分配进库任务的时间损失和\或路程损失;基于第一初步配对关系及对应的评价值,以及进库车辆数量范围,确定第一分配关系。Further, the above-mentioned determination of the first assignment relationship between each idle transport vehicle and each to-be-allocated warehousing task based on the set of idle transport vehicles, the set of tasks to be allocated into the warehouse, and the number of the first non-idle transport vehicles includes: based on the first The number of non-idle transport vehicles, to determine the range of the number of inbound vehicles that can currently perform tasks to be allocated into the warehouse; input the set of idle transport vehicles and the set of tasks to be allocated into the warehouse into the first capacity allocation model to obtain a plurality of first preliminary pairing relationships and the corresponding evaluation value; the first preliminary pairing relationship includes the pairing relationship between the idle transporter and the task to be assigned into the warehouse; the evaluation value represents the time when the idle transporter corresponding to the first preliminary pairing relationship starts to execute the corresponding task to be assigned into the warehouse Loss and/or distance loss; based on the first preliminary pairing relationship and the corresponding evaluation value, and the range of the number of vehicles entering the warehouse, determine the first distribution relationship.
进一步地,上述基于第一非空闲运输车数量,确定当前可执行待分配进库任务的进库车辆数量范围,包括:基于第一目标数量范围和第一非空闲运输车数量,确定进库车辆数量范围;其中,第一目标数量范围基于目标仓库的成本模型和进库效率所设定。Further, the above-mentioned determination based on the number of the first non-idle transport vehicles to determine the range of the number of inbound vehicles that can currently perform the task to be assigned into the warehouse includes: based on the first target number range and the first non-idle number of transport vehicles, determining the inbound vehicles. Quantity range; wherein, the first target quantity range is set based on the cost model of the target warehouse and the stock-in efficiency.
进一步地,上述基于初步配对关系及对应的评价值,以及进库车辆数量范围,确定第一分配关系的步骤,包括:根据评价值对各第一初步配对关系按照第一排序规则进行排序;在排序后的第一初步配对关系中,将第一个至第进库车辆数量范围个第一初步配对关系确定为第一分配关系。Further, the above-mentioned step of determining the first distribution relationship based on the preliminary pairing relationship and the corresponding evaluation value, as well as the range of the number of vehicles in the warehouse, includes: sorting each first preliminary pairing relationship according to the first sorting rule according to the evaluation value; In the sorted first preliminary pairing relationship, the first preliminary pairing relationship ranging from the first to the number of vehicles entering the garage is determined as the first allocation relationship.
进一步地,上述待分配进库任务集合包括待分配入库任务,第一非空闲运输车数量为执行入库任务的非空闲运输车的数量;相应的,基于空闲运输车信息、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配进库任务之间的第一分配关系,包括:基于空闲运输车信息、各待分配入库任务以及第一非空闲运输车数量,确定各空闲运输车与各待分配入库任务之间的第一分配关系。Further, the above-mentioned set of warehousing tasks to be allocated includes warehousing tasks to be allocated, and the first number of non-idle transport vehicles is the number of non-idle transport vehicles that perform warehousing tasks; The task set and the number of the first non-idle transport vehicles, determine the first assignment relationship between each idle transport vehicle and each to-be-allocated warehousing task, including: based on the idle transport vehicle information, each to-be-allocated warehousing task, and the first non-idle warehousing task The number of transport vehicles determines the first allocation relationship between each idle transport vehicle and each to-be-allocated warehousing task.
进一步地,上述待分配进库任务集合包括待分配入库任务和待分配返库任务;第一非空闲运输车数量包括执行入库任务的第一非空闲运输车分量和执行返库任务的第二非空闲运输车分量;相应的,基于空闲运输车信息、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配进库任务之间的第一分配关系,包括:基于空闲运输车信息、各待分配入库任务以及第一非空闲运输车分量,确定各空闲运输车与各待分配入库任务之间的第一子分配关系;以及,基于空闲运输车信息、各待分配返库任务以及第二非空闲运输车分量,确定各空闲运输车与各待分配返库任务之间的第二子分配关系。Further, the above-mentioned warehousing task set to be allocated includes a warehousing task to be allocated and a warehouse returning task to be allocated; the first number of non-idle transport vehicles includes the first non-idle transport vehicle component that performs the warehousing task and the first non-idle transport vehicle that performs the warehouse-returning task. 2. The component of non-idle transport vehicles; correspondingly, based on the information of the idle transport vehicles, the set of tasks to be allocated into the warehouse, and the number of the first non-idle transport vehicles, determine the first allocation relationship between each idle transport vehicle and each of the tasks to be allocated into the warehouse , including: determining the first sub-allocation relationship between each idle transporter and each to-be-allocated warehousing task based on the information of the idle transporter, each to-be-allocated warehousing task and the first non-idle transporter component; and, based on the idle transporter The vehicle information, each to-be-allocated back-to-warehouse task, and the second non-idle transport vehicle component determine the second sub-allocation relationship between each of the idle transport vehicles and each to-be-allocated back-to-warehouse task.
进一步地,上述基于第一分配关系、空闲运输车信息、待分配出库任务集合以及第二非空闲运输车数量,确定各空闲运输车与各待分配出库任务之间的第二分配关系,包括:从当前空闲运输车集合中剔除各第一分配关系所对应的空闲运输车,得到剔除后的空闲运输车集合;基于剔除后的空闲运输车集合、待分配出库任务集合以及第二非空闲运输车数量,确定各第二分配关系。Further, based on the first allocation relationship, the information of the idle transport vehicles, the set of tasks to be allocated out of the warehouse, and the number of the second non-idle transport vehicles, the second allocation relationship between each idle transport vehicle and each of the tasks to be allocated out of the warehouse is determined, Including: excluding the idle transportation vehicles corresponding to each first allocation relationship from the current idle transportation vehicle set, and obtaining the eliminated idle transportation vehicle set; The number of idle transport vehicles is determined for each second allocation relationship.
进一步地,上述非空闲运输车信息包括在各个出库方向执行出库任务的第二子非空闲运输车数量;相应的,基于剔除后的空闲运输车集合、待分配出库任务集合以及第二非空闲运输车数量,确定各第二分配关系,包括:针对每个出库方向,基于出库方向对应的第二子非空闲运输车数量,确定出库方向上当前可执行出库任务的出库车辆数量阈值;基于待分配出库任务集合、剔除后的空闲运输车集合及出库车辆数量阈值,确定出库方向所对应的各第二分配关系。Further, the above-mentioned non-idle transport vehicle information includes the number of second sub-non-idle transport vehicles that perform outbound tasks in each outbound direction; correspondingly, based on the set of eliminated idle transport vehicles, the set of outbound tasks to be allocated, and the second The number of non-idle transport vehicles, and the determination of each second allocation relationship includes: for each outbound direction, based on the number of second sub-non-idle transport vehicles corresponding to the outbound direction, determining the outbound direction of the currently executable outbound task in the outbound direction. The threshold of the number of vehicles in the warehouse; based on the set of tasks to be allocated out of the warehouse, the set of idle transport vehicles after elimination, and the threshold of the number of vehicles out of the warehouse, each second assignment relationship corresponding to the outbound direction is determined.
进一步地,上述基于待分配出库任务集合、剔除后的空闲运输车集合及出库车辆数量阈值,确定出库方向所对应的各第二分配关系的步骤,包括:将当前待分配出库任务集合及更新后的当前空闲运输车集合输入至第二运力分配模型,得到第三初步配对关系及对应的评价值;评价值表征第三初步配对关系中的空闲运输车开始执行任务的时间损失和\或路程损失;基于第三初步配对关系及对应的评价值,以及各个出库方向的待分配阈值,确定第二分配关系。Further, the above-mentioned step of determining each second assignment relationship corresponding to the outbound direction based on the set of outbound tasks to be allocated, the set of discarded idle transport vehicles, and the threshold of the number of outbound vehicles includes: assigning the current outbound tasks to be allocated. The set and the updated set of current idle transport vehicles are input into the second capacity allocation model, and the third preliminary pairing relationship and the corresponding evaluation value are obtained; the evaluation value represents the time loss and the \ or distance loss; based on the third preliminary pairing relationship and the corresponding evaluation value, as well as the threshold to be allocated in each outbound direction, determine the second allocation relationship.
进一步地,每个上述待分配出库任务对应有各自的出库方向;基于第三初步配对关系及对应的评价值,以及各个出库方向的待分配阈值,确定第二分配关系的步骤,包括:根据评价值对第三初步配对关系按照第二排序规则进行排序;针对每个出库方向,在排序后的第三初步配对关系中,将第一个至第出库方向对应的待分配阈值个的第三初步配对关系确定为过滤后的第三初步配对关系;将过滤后的所第三初步配对关系、以及第三初步配对关系中,待分配出库任务对应的出库方向确定为第二分配关系。Further, each of the above-mentioned tasks to be allocated out of the warehouse corresponds to a respective outbound direction; based on the third preliminary pairing relationship and the corresponding evaluation value, and the threshold to be allocated in each outbound direction, the step of determining the second allocation relationship includes: : Sort the third preliminary pairing relationship according to the second sorting rule according to the evaluation value; for each outbound direction, in the sorted third preliminary pairing relationship, the thresholds to be allocated corresponding to the first to the first outbound direction are sorted. The third preliminary pairing relationship is determined as the filtered third preliminary pairing relationship; in the filtered third preliminary pairing relationship and the third preliminary matching relationship, the outbound direction corresponding to the outbound task to be allocated is determined as the first Two distribution relations.
进一步地,每个上述待分配出库任务对应有各自的出库站类型;出库站类型包括多种,目标仓库存在至少一种类型的出库拣选站,每种出库站类型对应于出库任务阈值;基于第三初步配对关系及对应的评价值,以及各个出库方向的待分配阈值,确定第二分配关系的步骤,包括:根据评价值对第三初步配对关系按照第三排序规则进行排序;针对每种类型的出库站类型,在第三初步配对关系中,将第一个至第出库站类型对应的目标出库任务阈值个的第三初步配对关系确定为过滤后的第三初步配对关系;基于损失函数计算过滤后的第三初步配对关系对应于各个出库方向的损失值;将损失值最小时第三初步库配对关系对应的出库方向确定为第三初步库配对关系的出库方向;将过滤后的第三初步配对关系及对应的出库方向确定为第二分配关系。Further, each of the above-mentioned outbound tasks to be assigned corresponds to its own outbound station type; the outbound station types include multiple types, and there is at least one type of outbound picking station in the target warehouse, and each outbound station type corresponds to the outbound station type. library task threshold; the step of determining the second assignment relationship based on the third preliminary pairing relationship and the corresponding evaluation value, as well as the thresholds to be assigned in each outbound direction, includes: according to the evaluation value, the third preliminary pairing relationship is sorted according to the third sorting rule Sorting; for each type of outbound station type, in the third preliminary pairing relationship, the third preliminary pairing relationship of the target outbound task threshold corresponding to the first to the first outbound station type is determined as the filtered The third preliminary pairing relationship; the filtered third preliminary pairing relationship is calculated based on the loss function and corresponds to the loss value of each outbound direction; the outbound direction corresponding to the third preliminary library pairing relationship when the loss value is the smallest is determined as the third preliminary library The outbound direction of the pairing relationship; the filtered third preliminary pairing relationship and the corresponding outbound direction are determined as the second distribution relationship.
第二方面,本申请实施例还提供一种电子设备,包括处理器和存储器,存储器存储有能够被处理器执行的机器可执行指令,处理器执行机器可执行指令以实现上述任务分配方法。In a second aspect, embodiments of the present application further provide an electronic device, including a processor and a memory, where the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above task allocation method.
第三方面,本申请实施例还提供一种机器可读存储介质,机器可读存储介质存储有机器可执行指令,机器可执行指令在被处理器调用和执行时,机器可执行指令促使处理器实现上述任务分配方法。In a third aspect, embodiments of the present application further provide a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by the processor, the machine-executable instructions cause the processor to Implement the above task assignment method.
第四方面,本申请实施例还提供一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时可实现上述任务分配方法。In a fourth aspect, an embodiment of the present application further provides a computer program product, including a computer program, where the computer program can implement the above task allocation method when executed by a processor.
本申请实施例带来了以下有益效果:The embodiments of the present application have brought the following beneficial effects:
本申请实施例提供了一种任务分配方法、电子设备及计算机程序产品,首先获取目标仓库当前所对应的空闲运输车集合、待分配进库任务集合、待分配出库任务集合以及非空闲运输车信息;然后基于空闲运输车集合、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配进库任务之间的第一分配关系,并基于第一分配关系、空闲运输车集合、待分配出库任务集合以及第二非空闲运输车数量,确定各空闲运输车与各待分配出库任务之间的第二分配关系;最后基于第一分配关系及第二分配关系,对空闲运输车进行调度。该方法中,分别确定了进库任务和空闲运输车之间的第一分配关系,以及出库任务和空闲运输车之间的第二分配关系,在第二分配关系的确定过程中,考虑了第一分配关系,以使在尽量满足出进库流量的要求的同时,使仓库的出进库作业达到较为平衡的状态,使整体任务执行顺畅,提高了仓库的工作效率。The embodiments of the present application provide a task allocation method, electronic device, and computer program product. First, a set of idle transport vehicles, a set of inbound tasks to be allocated, a set of outbound tasks to be allocated, and a set of non-idle transport vehicles currently corresponding to a target warehouse are obtained. information; then, based on the set of idle transport vehicles, the set of tasks to be allocated into the warehouse, and the number of first non-idle transport vehicles, determine the first allocation relationship between each idle transport vehicle and each task to be allocated into the warehouse, and based on the first allocation relationship , the set of idle transport vehicles, the set of outbound tasks to be allocated, and the number of second non-idle transporters, to determine the second allocation relationship between each idle transporter and each outbound task to be allocated; finally, based on the first allocation relationship and the second Assignment relationship to schedule idle transport vehicles. In this method, the first assignment relationship between the inbound task and the idle transport vehicle, and the second assignment relationship between the outbound task and the idle transporter are respectively determined. In the process of determining the second assignment relationship, consideration is given to The first distribution relationship is used to make the in-out and out-flow operations of the warehouse reach a relatively balanced state while meeting the requirements of inbound and outbound flow as much as possible, so that the overall task execution is smooth and the work efficiency of the warehouse is improved.
本申请的其他特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the description, claims and drawings.
为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the preferred embodiments are exemplified below, and are described in detail as follows in conjunction with the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the accompanying drawings that need to be used in the description of the specific embodiments or the prior art will be briefly introduced below. The drawings are some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本申请实施例提供的一种基于简易托盘和穿梭车的密集仓储示意图;1 is a schematic diagram of a dense storage based on a simple pallet and a shuttle provided by an embodiment of the present application;
图2为本申请实施例提供的一种任务分配方法的流程图;2 is a flowchart of a task allocation method provided by an embodiment of the present application;
图3为本申请实施例提供的另一种任务分配方法的流程图;3 is a flowchart of another task allocation method provided by an embodiment of the present application;
图4为本申请实施例提供的一种任务分配过程中,确定第二分配关系的方法的流程图;4 is a flowchart of a method for determining a second assignment relationship in a task assignment process provided by an embodiment of the present application;
图5为本申请实施例提供的一种任务分配装置的结构示意图;FIG. 5 is a schematic structural diagram of a task assignment device provided by an embodiment of the present application;
图6为本申请实施例提供的一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the present application will be described clearly and completely below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. example. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of this application.
随着物联网、人工智能、大数据等智能化技术的发展,利用这些智能化技术对传统物流业进行转型升级的需求愈加强劲,智慧物流(Intelligent Logistics System)成为物流领域的研究热点。智慧物流利用人工智能、大数据以及各种信息传感器、射频识别技术、全球定位系统(GPS)等物联网装置和技术,广泛应用于物料的运输、仓储、配送、包装、装卸和信息服务等基本活动环节,实现物料管理过程的智能化分析决策、自动化运作和高效率优化管理。物联网技术包括传感设备、RFID技术、激光红外扫描、红外感应识别等,物联网能够将物流中的物料与网络实现有效连接,并可实时监控物料,还可感知仓库的湿度、温度等环境数据,保障物料的储存环境。通过大数据技术可感知、采集物流中所有数据,上传至信息平台数据层,对数据进行过滤、挖掘、分析等任务,最终对业务流程(如运输、进库、存取、拣选、包装、分拣、出库、盘点、配送等环节)提供精准的数据支持。人工智能在物流中的应用方向可以大致分为两种:1)以AI技术赋能的如无人卡车、AGV、AMR、叉车、穿梭车、堆垛机、无人配送车、无人机、服务机器人、机械臂、智能终端等智能设备代替部分人工;2)通过计算机视觉、机器学习、运筹优化等技术或算法驱动的如运输设备管理系统、仓储管理、设备调度系统、订单分配系统等软件系统提高人工效率。随着智慧物流的研究和进步,该项技术在众多领域展开了应用,例如零售及电商、电子产品、烟草、医药、工业制造、鞋服、纺织、食品等领域。With the development of intelligent technologies such as the Internet of Things, artificial intelligence, and big data, the demand for transforming and upgrading the traditional logistics industry by using these intelligent technologies has become stronger and stronger. Intelligent logistics system has become a research hotspot in the field of logistics. Smart logistics uses artificial intelligence, big data, various information sensors, radio frequency identification technology, global positioning system (GPS) and other Internet of Things devices and technologies, and is widely used in basic material transportation, warehousing, distribution, packaging, loading and unloading and information services. The activity link realizes the intelligent analysis and decision-making, automatic operation and high-efficiency optimization management of the material management process. The Internet of Things technology includes sensing equipment, RFID technology, laser infrared scanning, infrared induction recognition, etc. The Internet of Things can effectively connect the materials in the logistics with the network, monitor the materials in real time, and sense the humidity and temperature of the warehouse. data to ensure the storage environment of materials. Through big data technology, all data in the logistics can be perceived and collected, uploaded to the data layer of the information platform, and the data can be filtered, mined, analyzed and other tasks, and finally the business processes (such as transportation, storage, storage, picking, packaging, sorting, etc. Picking, outbound, inventory, distribution and other links) provide accurate data support. The application directions of artificial intelligence in logistics can be roughly divided into two types: 1) AI-enabled technologies such as unmanned trucks, AGVs, AMRs, forklifts, shuttles, stackers, unmanned delivery vehicles, drones, Intelligent equipment such as service robots, robotic arms, and intelligent terminals replace part of the labor; 2) Software such as transportation equipment management systems, warehouse management, equipment scheduling systems, order distribution systems and other software driven by technologies or algorithms such as computer vision, machine learning, and operations optimization The system improves labor efficiency. With the research and progress of smart logistics, this technology has been applied in many fields, such as retail and e-commerce, electronic products, tobacco, medicine, industrial manufacturing, footwear, textiles, food and other fields.
由于各行业越来越注重土地资源的合理利用,各行业在要求提高仓库存储的空间利用率,在有限的空间里产生更大的效能的同时,还要求提高仓库的自动化率,以低成本高效率地满足需求。As various industries pay more and more attention to the rational use of land resources, various industries are required to improve the space utilization rate of warehouse storage and produce greater efficiency in limited space, and also require to improve the automation rate of warehouses, with low cost and high efficiency. Efficiently meet demand.
自动化立体仓库(也称为“四向穿梭车仓库”,简称“仓库”)的使用,一方面可以通过往深度方向发展,由于其巷道服务多个深度,因此可以节省通道提高存储密度,另一方面可以通过往高度方向发展,使得存储容积大大增加了,从而达到了节约空间资源的目的。The use of automated three-dimensional warehouses (also known as "four-way shuttle warehouses", referred to as "warehouses") can, on the one hand, develop in the direction of depth. Since its roadways serve multiple depths, it can save channels and improve storage density, on the other hand. In terms of development, the storage volume can be greatly increased by developing in the height direction, thereby achieving the purpose of saving space resources.
自动化立体仓库通常由货架、运输车(通常为四向穿梭车)及相关控制系统组成。在相关控制系统的调度下四向穿梭车穿行于货架之间的巷道中,完成货物出库或进库的任务。图1所示为一种基于简易托盘和穿梭车的密集仓储示意图所示,仓库包含多层(图1中以2层作为示例),每一层包含多个巷道(由图1中中间为×的正方形表示),每个巷道的货架深度上货物实现连续存储,从而增高存储密度。货架可以由运输车承载,通过过道(由图1中巷道之间的轨道表示)移动到提升机(参见图1中的提升机)或者其他出库口(由图1中虚线轨道表示)。Automated three-dimensional warehouses are usually composed of shelves, transport vehicles (usually four-way shuttle vehicles) and related control systems. Under the dispatch of the relevant control system, the four-way shuttle travels through the roadway between the shelves to complete the task of goods leaving or entering the warehouse. Figure 1 shows a schematic diagram of a dense storage based on simple pallets and shuttles. The warehouse contains multiple layers (two layers are used as an example in Figure 1), and each layer contains multiple lanes (from the middle in Figure 1 to × ), the goods are continuously stored on the shelf depth of each aisle, thereby increasing the storage density. Racks can be carried by transport vehicles and moved through aisles (represented by tracks between lanes in Figure 1 ) to elevators (refer to hoists in Figure 1 ) or other exits (represented by dashed rails in Figure 1 ).
在自动化立体仓库的使用过程中,其出进库的任务往往同时发生。其出进库作业往往同时发生,但其有时是出库吞吐远大于进库吞吐,有时是进库吞吐远大于出库吞吐。由于四向穿梭车的整体吞吐能力是有其上限的,因此,可能会造成仓库任务过程拥堵,任务效率较低。In the process of using the automated three-dimensional warehouse, the tasks of entering and leaving the warehouse often occur at the same time. The inbound and outbound operations often occur at the same time, but sometimes the outbound throughput is much greater than the inbound throughput, and sometimes the inbound throughput is much larger than the outbound throughput. Since the overall throughput capacity of the four-way shuttle has its upper limit, it may cause congestion in the warehouse task process and low task efficiency.
基于上述技术问题,本申请实施例提供了一种任务分配方法、电子设备及计算机程序产品,该技术可以应用于服务器、计算机、手机、平板电脑、车辆中控设备等多种设备中,该技术可采用相应的软件和硬件实现,以下对本申请实施例进行详细介绍。Based on the above technical problems, the embodiments of the present application provide a task assignment method, an electronic device and a computer program product. The technology can be applied to various devices such as servers, computers, mobile phones, tablet computers, and vehicle central control devices. Corresponding software and hardware may be used for implementation, and the embodiments of the present application will be described in detail below.
本申请实施例提供了一种任务分配方法。如图2所示,该方法包括以下步骤:The embodiment of the present application provides a task allocation method. As shown in Figure 2, the method includes the following steps:
步骤S200,获取目标仓库当前所对应的空闲运输车集合、待分配进库任务集合、待分配出库任务集合以及非空闲运输车信息;Step S200, acquiring the current corresponding idle transport vehicle set, the to-be-allocated in-warehouse task set, the to-be-allocated out-of-warehouse task set, and the information of non-idle transport vehicles currently corresponding to the target warehouse;
其中,非空闲运输车信息包括执行进库任务的第一非空闲运输车数量和执行出库任务的第二非空闲运输车数量;Wherein, the information on the non-idle transport vehicles includes the number of the first non-idle transport vehicles that perform the inbound task and the number of the second non-idle transport vehicles that perform the outbound task;
上述方法可以由控制系统实现。该控制系统可以获取仓库中的各个运输车的作业状态、位置等参数信息,还可以接收由相关人员输入的或由上级系统下发的各种待分配的作业任务,包括进库任务、出库任务及返库任务等。在获取到仓库中的各个运输车的参数信息后,可以将作业状态为已完成的运输车确定为空闲运输车,并分别统计执行各种作业任务的运输车数量,得到上述当前运力参数,以反映当前的仓库出进库流量情况。上述当前运力参数可以包括正在执行进库任务的运输车数量、正在执行出库任务的运输车数量以及正在执行返库任务的运输车数量等。The above method can be implemented by a control system. The control system can obtain parameter information such as the operation status and location of each transport vehicle in the warehouse, and can also receive various tasks to be assigned input by relevant personnel or issued by the superior system, including in-warehouse tasks, out-of-warehouse tasks, etc. tasks and return tasks. After obtaining the parameter information of each transporter in the warehouse, the transporter whose operation status is completed can be determined as an idle transporter, and the number of transporters performing various tasks can be counted to obtain the above-mentioned current transport capacity parameters. Reflects the current warehouse inbound and outbound flow. The above-mentioned current transport capacity parameter may include the number of transport vehicles that are performing the task of entering the warehouse, the number of transporting vehicles that are performing the task of leaving the warehouse, and the number of transporting vehicles that are performing the task of returning to the warehouse, and the like.
上述空闲运输车集合可以包括空闲运输车的编码或编号等信息,以及空闲运输车的位置信息等。上述进库任务可以包括进库托盘的编号,以及进库托盘所在接驳点的位置及编号信息等。The above-mentioned set of idle transport vehicles may include information such as codes or numbers of idle transport vehicles, and location information of idle transport vehicles, and the like. The above-mentioned warehousing task may include the number of the warehousing pallet, and the position and number information of the connection point where the warehousing pallet is located.
步骤S202:基于空闲运输车集合、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配进库任务之间的第一分配关系;Step S202: Based on the set of idle transport vehicles, the set of tasks to be allocated into the warehouse, and the number of first non-idle transport vehicles, determine the first allocation relationship between each idle transport vehicle and each task to be allocated into the warehouse;
在对空闲运输车集合和进库任务进行分配时,可以基于空闲运输车的当前位置以及进库托盘所在的接驳点位置进行分配,得到空闲运输车与进库任务的初步配对关系。该配对过程通常以使空闲运输车的空载路程或时间最小为原则,具体可以采用贪心算法或二分图匹配算法进行空闲运输车与作业任务的分配。When allocating the set of idle transport vehicles and the inbound task, the assignment can be performed based on the current position of the idle transporter and the position of the connection point where the inbound pallet is located, so as to obtain a preliminary pairing relationship between the idle transporter and the inbound task. The pairing process is usually based on the principle of minimizing the unloaded distance or time of the idle transport vehicles. Specifically, a greedy algorithm or a bipartite graph matching algorithm can be used to allocate the idle transport vehicles and work tasks.
步骤S204:基于第一分配关系、空闲运输车集合、待分配出库任务集合以及第二非空闲运输车数量,确定各空闲运输车与各待分配出库任务之间的第二分配关系;Step S204: Based on the first allocation relationship, the set of idle transport vehicles, the set of outbound tasks to be allocated, and the number of second non-idle transport vehicles, determine the second allocation relationship between each idle transporter and each outbound task to be allocated;
其中,第二分配关系中的空闲运输车与第一分配关系中的空闲运输车不重合;Wherein, the idle transport vehicles in the second allocation relationship do not overlap with the idle transport vehicles in the first allocation relationship;
由于仓库的出、进库作业的吞吐能力是有限的,且执行出库作业和进库作业的运输车的路线常常是有一定冲突的,因此需要对执行出库作业的运输车数量和执行进库作业的运输车数量进行一定的限制。而进库作业是通过运输车将承载需要存储货物的托盘从接驳点运送至货架处存储。如果不及时执行进库作业,仓库中可能会出现货物存储量不足的情况,也会影响出库作业的执行。因此需要在一定程度上对进库作业进行优先分配。Since the throughput capacity of the warehouse's outbound and inbound operations is limited, and the routes of transport vehicles that perform outbound operations and inbound operations often conflict to a certain extent, it is necessary to determine the number of transport vehicles that perform outbound operations and the implementation of incoming and outgoing operations. The number of transport vehicles for warehouse operations is limited to a certain extent. In the warehouse operation, the pallets carrying the goods to be stored are transported from the connection point to the shelf for storage by the transport vehicle. If the inbound operation is not performed in time, the warehouse may have insufficient storage of goods, which will also affect the execution of the outbound operation. Therefore, to a certain extent, it is necessary to prioritize the allocation of the inbound operations.
值得注意的是,返库作业的执行过程通常为运输车将已经拣选过的托盘由接驳点运输至货架处存储。并且,进行拣选的拣选区的对托盘的拣选能力也是有限的,如果不及时将已经拣选过的托盘进行返库,出库的托盘也无法进入拣选区,会影响到出库任务的执行。因此,也需要对执行返库作业进行优先分配,并对执行返库任务的运输车数量进行限制。由于返库作业与进库作业的执行过程是类似的,可以一同进行返库作业与空闲运输车,以及进库作业与空闲运输车的分配。It is worth noting that the execution process of the return operation is usually that the transport vehicle transports the pallets that have been picked from the connection point to the rack for storage. In addition, the picking area for picking is also limited in its ability to pick pallets. If the pallets that have already been picked are not returned to the warehouse in time, the outgoing pallets will not be able to enter the picking area, which will affect the execution of the outbound task. Therefore, it is also necessary to prioritize the assignment of the return operation, and to limit the number of transport vehicles that perform the return task. Since the execution process of the return operation and the warehouse entry operation is similar, the warehouse return operation and the idle transport vehicle, and the warehouse entry operation and the idle transport vehicle can be allocated together.
在确定第一分配关系后,原始的空闲运输车集合中的具有配对关系的运输车不能被再次分配作业任务。因此,在分配进库任务时,需要剔除已具有配对关系的空闲运输车,即第一分配关系中的运输车。然后再基于处理后的空闲运输车集合进行出库任务的分配。上述出库任务集合中的出库任务可以预先分配了出库方向,也可以仅给出了对应的拣选方式,即出库站类型。针对于给出了出库方向的出库任务集合,可以在对初步配对关系进行选择时,考虑到预先确定的该方向的出库运输车的阈值以及当前正采用该方向出库的运输车数量,如果超过该方向的阈值,可以将对应的初步配对关系过滤掉。如果仅给出了出库任务对应的出库站类型,可以基于出库站类型对应的阈值对初步配对关系进行过滤,再对过滤后的初步配对关系进行出库方向的分配,得到最终的出库任务与空闲运输车的配对关系,即上述第二分配关系。After the first assignment relationship is determined, the transport vehicles with the pairing relationship in the original idle transport vehicle set cannot be re-assigned to the job task. Therefore, when allocating the in-warehouse task, it is necessary to remove the idle transport vehicles that already have a pairing relationship, that is, the transport vehicles in the first allocation relationship. Then, the outbound tasks are allocated based on the processed set of idle transport vehicles. The outbound tasks in the above-mentioned outbound task set may be pre-assigned the outbound direction, or only the corresponding selection method may be given, that is, the outbound station type. For the outbound task set for which the outbound direction is given, when selecting the preliminary pairing relationship, the predetermined threshold of outbound transporters in this direction and the number of transporters currently using this direction to be outbound may be considered. , if it exceeds the threshold of this direction, the corresponding preliminary pairing relationship can be filtered out. If only the outbound station type corresponding to the outbound task is given, you can filter the preliminary pairing relationship based on the threshold corresponding to the outbound station type, and then assign the outbound direction to the filtered preliminary pairing relationship to obtain the final outbound station. The pairing relationship between library tasks and idle transport vehicles, that is, the above-mentioned second assignment relationship.
步骤S206,基于第一分配关系及第二分配关系,对空闲运输车进行调度。Step S206, based on the first allocation relationship and the second allocation relationship, schedule idle transport vehicles.
具体而言,可以向空闲运输车集合中,具有第一分配关系或第二分配关系中的配对关系的空闲运输车发送调度指令,以使对应的空闲运输车去执行与其具有配对关系的作业任务,实现相关作业。Specifically, a scheduling instruction can be sent to an idle transporter in the set of idle transporters that has a first assignment relationship or a pairing relationship in the second assignment relationship, so that the corresponding idle transporter can perform a task with a pairing relationship with it. , to realize the related work.
本申请实施例提供的上述任务分配方法,首先获取目标仓库当前所对应的空闲运输车集合、待分配进库任务集合、待分配出库任务集合以及非空闲运输车信息;然后基于空闲运输车集合、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配进库任务之间的第一分配关系,并基于第一分配关系、空闲运输车集合、待分配出库任务集合以及第二非空闲运输车数量,确定各空闲运输车与各待分配出库任务之间的第二分配关系;最后基于第一分配关系及第二分配关系,对空闲运输车进行调度。该方法中,分别确定了进库任务和空闲运输车之间的第一分配关系,以及出库任务和空闲运输车之间的第二分配关系,在第二分配关系的确定过程中,考虑了第一分配关系,以使在尽量满足出进库流量的要求的同时,使仓库的出进库作业达到较为平衡的状态,使整体任务执行顺畅,提高了仓库的工作效率。The above task allocation method provided by the embodiment of the present application first obtains the set of idle transport vehicles currently corresponding to the target warehouse, the set of inbound tasks to be allocated, the set of tasks to be allocated out of the warehouse, and the information of non-idle transport vehicles; and then based on the set of idle transport vehicles , the set of tasks to be allocated into the warehouse and the number of the first non-idle transport vehicles, determine the first distribution relationship between each idle transport vehicle and each task to be allocated into the warehouse, and based on the first allocation relationship, the set of idle transport vehicles, the The set of outbound tasks and the number of second non-idle transport vehicles determine the second allocation relationship between each idle transporter and each outbound task to be allocated; finally, based on the first allocation relationship and the second allocation schedule. In this method, the first assignment relationship between the inbound task and the idle transport vehicle, and the second assignment relationship between the outbound task and the idle transporter are respectively determined. In the process of determining the second assignment relationship, consideration is given to The first distribution relationship is used to make the in-out and out-flow operations of the warehouse reach a relatively balanced state while meeting the requirements of inbound and outbound flow as much as possible, so that the overall task execution is smooth and the work efficiency of the warehouse is improved.
本申请实施例还提供了另一种任务分配方法,该方法在上述实施例方法的基础上实现;该方法重点描述当进库任务集合包括进库任务和返库任务时,基于获取到的空闲运输车集合、进库任务集合以及当前运力参数,确定第一分配关系中空闲运输车与进库任务的配对关系的具体实现过程。The embodiment of the present application also provides another task allocation method, which is implemented on the basis of the method in the above-mentioned embodiment; the method focuses on describing that when the incoming task set includes an incoming task and a returning task, based on the acquired idle time The transport vehicle set, the storage task set and the current transport capacity parameters determine the specific implementation process of the pairing relationship between the idle transport vehicle and the storage task in the first allocation relationship.
如图3所示,该方法包括以下步骤:As shown in Figure 3, the method includes the following steps:
步骤S300,基于第一非空闲运输车数量,确定当前可执行待分配进库任务的进库车辆数量范围。Step S300 , based on the number of the first non-idle transport vehicles, determine the range of the number of in-stock vehicles that can currently perform the to-be-allocated in-stock task.
具体而言,可以设定一个数量范围,将第一数量范围的上限及下限减去第一非空闲运输车数量。需要注意的是,第一数量范围的上限减去第一运输车数量的结果可能出现负数值,此时,将该结果取为零。基于此,可以基于第一目标数量范围和第一非空闲运输车数量,确定入库车辆数量范围;其中,第一目标数量范围基于目标仓库的成本模型和入库效率所设定。Specifically, a quantity range may be set, and the upper limit and the lower limit of the first quantity range may be subtracted from the number of the first non-idle transport vehicles. It should be noted that the result of subtracting the first quantity of transport vehicles from the upper limit of the first quantity range may have a negative value, and in this case, the result is set to zero. Based on this, based on the first target quantity range and the first non-idle transport vehicle quantity, the range of the quantity of vehicles in storage can be determined; wherein, the first target quantity range is set based on the cost model of the target warehouse and the storage efficiency.
步骤S302,将空闲运输车集合以及待分配进库任务集合输入至第一运力分配模型,得到多个第一初步配对关系及对应的评价值;Step S302, input the set of idle transport vehicles and the set of tasks to be allocated into the warehouse into the first capacity allocation model, and obtain a plurality of first preliminary pairing relationships and corresponding evaluation values;
上述评价值指示第一初步配对关系中的空闲运输车开始执行任务的时间损失和\或路程损失。在具体实现过程中,上述第一运力分配模型可以基于贪心算法或二分图匹配算法建立。The above evaluation value indicates the time loss and/or the distance loss for the idle transporter in the first preliminary pairing relationship to start the task. In a specific implementation process, the above-mentioned first capacity allocation model may be established based on a greedy algorithm or a bipartite graph matching algorithm.
步骤S304,基于第一初步配对关系及对应的评价值,以及进库车辆数量范围,确定第一分配关系。Step S304 , based on the first preliminary pairing relationship and the corresponding evaluation value, and the range of the number of vehicles in the warehouse, determine the first distribution relationship.
上述第一分配关系用于表征空闲运输车与待分配进库任务的配对关系;第一分配关系中空闲运输车与待分配进库任务的配对关系数量与进库车辆数量范围相匹配。The above-mentioned first allocation relationship is used to represent the pairing relationship between idle transport vehicles and tasks to be allocated into the warehouse; the number of pairing relationships between idle transport vehicles and tasks to be allocated into the warehouse in the first allocation relationship matches the range of the number of vehicles to be allocated into the warehouse.
在对执行各种作业的运输车数量进行限制时,可以预先对整个仓库的运输情况进行分析,或采用模型进行模拟运输,从而确定能够尽量满足仓库的出进库需求,并使得整体运输过程顺畅的执行各种作业的运输车数量参数。具体而言,采用设置比例上限及比例下限的方式以确定执行各种作业的运输车数量范围。例如,可以设置针对于可同时执行进库任务的运输车的比例上限为0.3,比例下限为0,而结合仓库中可用的运输车总数,可以得到其数量范围,即上述进库车辆数量范围;也可以直接给出仓库适用的执行进库运输车的数量上限及下限,从而确定上述第一数量范围。When limiting the number of transport vehicles performing various operations, the transportation situation of the entire warehouse can be analyzed in advance, or a model can be used to simulate transportation, so as to determine that the warehouse's inbound and outbound needs can be met as much as possible, and the overall transportation process can be smooth. The parameters of the number of transport vehicles that perform various operations. Specifically, the upper limit and lower limit of the ratio are set to determine the range of the number of transport vehicles that perform various operations. For example, the upper limit of the proportion of the transport vehicles that can perform the inbound task at the same time can be set to 0.3, and the lower limit of the proportion can be set to 0, and combined with the total number of transport vehicles available in the warehouse, its quantity range can be obtained, that is, the above-mentioned range of the number of inbound vehicles; It is also possible to directly give the upper limit and lower limit of the quantity of the in-warehouse transport vehicles applicable to the warehouse, so as to determine the above-mentioned first quantity range.
在确定了执行进库作业的运输车的第一数量范围后,可以用第一数量范围的上下限分别减去当前运力参数中的正在执行进库任务的第一运输车数量,从而确定可以分配的用于执行进库任务的运输车数量范围。然后,基于可以分配的用于执行进库任务的运输车数量范围对已经得到的空闲运输车与进库任务的初步配对关系进行选择,将超出上述可分配的运输车数量范围的初步配对关系过滤掉。After the first quantity range of the transport vehicles performing the warehouse-in operation is determined, the upper and lower limits of the first number range can be used to respectively subtract the first number of transport vehicles that are performing the warehouse-in task in the current capacity parameters, so as to determine that the allocation can be made. The range of the number of transport vehicles used to perform the inbound task. Then, based on the range of the number of transport vehicles that can be allocated for performing the storage task, the preliminary pairing relationship between the idle transport vehicle and the storage task that has been obtained is selected, and the preliminary pairing relationship that exceeds the range of the number of transport vehicles that can be allocated is filtered. Lose.
在过滤时,可以考虑初步配对关系中空闲运输车的空载路程或时间,将空载路程或时间较大的初步配对关系过滤掉;当进库任务存在优先级时,可以保留优先级较高的初步配对关系。在过滤后,可以将剩余的初步配对关系确定为第一分配关系。当存在返库任务时,对返库任务与空闲运输车的分配过程与上述过程类似,在此不再赘述。When filtering, the unloaded distance or time of idle transport vehicles in the preliminary pairing relationship can be considered, and the preliminary pairing relationship with large unloaded distance or time can be filtered out; when the inbound task has a priority, it can be reserved with a higher priority preliminary pairing relationship. After filtering, the remaining preliminary pairing relationship may be determined as the first assignment relationship. When there is a warehouse return task, the process of assigning the warehouse return task to the idle transport vehicle is similar to the above process, and will not be repeated here.
在一些可能的实施方式中,可以根据评价值对各第一初步配对关系按照第一排序规则进行排序;在排序后的第一初步配对关系中,将第一个至第进库车辆数量范围个第一初步配对关系确定为第一分配关系。In some possible implementations, each first preliminary pairing relationship may be sorted according to a first sorting rule according to the evaluation value; in the sorted first preliminary pairing relationship, the range of the number of vehicles from the first to the first in the warehouse is The first preliminary pairing relationship is determined as the first assignment relationship.
例如,上述第一排序规则可以是按照评价值由小到大排序,那么基于第一排序规则进行排序得到的第一初步配对关系可以是评价值由小到大排序的第一初步配对关系。基于排序后的第一初步配对关系,选取前进库车辆数量范围个第一初步配对关系作为第一分配关系。例如,设定进库车辆数量范围为5,那么选取第1-5个第一初步配对关系为第一分配关系。For example, the above-mentioned first sorting rule may be sorted according to the evaluation value from small to large, then the first preliminary pairing relationship obtained by sorting based on the first sorting rule may be the first preliminary pairing relationship sorted by the evaluation value from small to large. Based on the sorted first preliminary pairing relationships, the first preliminary pairing relationships within the range of the number of vehicles in the forwarding warehouse are selected as the first allocation relationships. For example, if the range of the number of vehicles in the warehouse is set to 5, then the 1st to 5th first preliminary pairing relationships are selected as the first allocation relationship.
上述第一排序规则还可以是按照评价值由大到小排序,那么基于第一排序规则进行排序得到的第一初步配对关系可以是评价值由大到小排序的第一初步配对关系。基于排序后的第一初步配对关系,优先选取评价值小(即损失值小)的配对关系进行配对,所以,在这种情况下,在排序后的第一初步配对关系中,将倒数进库车辆数量范围个第一初步配对关系确定为第一分配关系。The above-mentioned first sorting rule may also be sorted according to the evaluation value from large to small, then the first preliminary pairing relationship obtained by sorting based on the first sorting rule may be the first preliminary pairing relationship in which the evaluation value is sorted from large to small. Based on the sorted first preliminary pairing relationship, the pairing relationship with a small evaluation value (that is, a small loss value) is preferentially selected for pairing. Therefore, in this case, in the sorted first preliminary matching relationship, the reciprocal will be entered into the library. The first preliminary pairing relationship in the range of vehicle quantity is determined as the first distribution relationship.
进一步地,将排序后的第一初步配对关系中,提取前N个关系,N为上述确定的进库车辆数量范围,最后将前N个第一初步配对关系确定为第一分配关系中空闲运输车与待分配进库任务的配对关系。由于排序后的第一初步配对关系在路程和/或时间的损失以此增大,因此,前N个第一初步配对关系能够在损失较少的情况下完成进库任务,有效提升了仓库任务的作业效率。Further, from the sorted first preliminary pairing relationships, extract the top N relationships, where N is the range of the number of vehicles in the warehouse determined above, and finally determine the top N first preliminary pairing relationships as idle transportation in the first allocation relationship. The pairing relationship between the car and the task to be assigned into the warehouse. Since the loss of distance and/or time for the sorted first preliminary pairing relationships increases, the first N first preliminary pairing relationships can complete the warehouse entry task with less loss, effectively improving the warehouse task work efficiency.
在具体实施时,本申请实施例种的进库操作,指代的是车辆进入仓库的操作,可以是入库操作和返库操作,在一些示例中,进库操作可以只包括入库操作,或者,只包括返库操作,在另一些示例中,进库操作可以包括入库操作和返库操作。其中,入库操作为首次进入仓库的货物的进库操作,返库操作为已经进入过仓库并离开仓库后,重新进入仓库的进库操作。In specific implementation, the warehouse-in operation in the embodiments of the present application refers to the operation of the vehicle entering the warehouse, which may be a warehouse-in operation and a warehouse-return operation. In some examples, the warehouse-in operation may only include a warehouse-in operation, Alternatively, only the return operation is included, and in other examples, the store-in operation may include the store-in operation and the store-return operation. Among them, the warehousing operation is the warehousing operation of goods entering the warehouse for the first time, and the warehousing operation is the warehousing operation of re-entering the warehouse after entering the warehouse and leaving the warehouse.
在一些可能的实施方式中,上述待分配进库任务集合包括待分配入库任务,第一非空闲运输车数量为执行入库任务的非空闲运输车的数量。相应地,在这种情况下,上述基于空闲运输车信息、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配进库任务之间的第一分配关系的步骤,可以具体包括:基于空闲运输车信息、各待分配入库任务以及第一非空闲运输车数量,确定各空闲运输车与各待分配入库任务之间的第一分配关系。In some possible implementations, the above-mentioned set of warehousing tasks to be allocated includes warehousing tasks to be allocated, and the first number of non-idle transport vehicles is the number of non-idle transport vehicles that perform warehousing tasks. Correspondingly, in this case, the first assignment relationship between each idle transport vehicle and each to-be-allocated storage task is determined based on the information of the idle transport vehicles, the set of tasks to be allocated into the warehouse, and the number of the first non-idle transport vehicles. The step of the method may specifically include: determining a first assignment relationship between each idle transport vehicle and each to-be-allocated warehousing task based on the information of the idle transport vehicles, each to-be-allocated warehousing task and the number of first non-idle transport vehicles.
上述进库任务集合通常还包括待分配返库任务。仓库出库的托盘大概率经拣选后还会返库,由于这部分拣选作业往往都是在托盘线上串行作业,返库的不及时处理也会阻塞出库作业。对应地,当前运力参数还包括正在执行返库任务的第三运输车数量,第一分配关系还包括空闲运输车与待分配返库任务的配对关系;其中,第一分配关系中,空闲运输车与待分配返库任务的数量与第三运输车数量之和满足预先确定的第三数量范围,即可以同时执行返库作业的运输车数量。上述返库车辆数量范围的确定过程与上述进库车辆数量范围类似,在此不再进行赘述。The above-mentioned set of inbound tasks usually also includes a task of returning to the warehouse to be allocated. There is a high probability that the pallets out of the warehouse will be returned to the warehouse after being picked. Since this part of the picking operation is often performed serially on the pallet line, if the return is not processed in time, the outbound operation will also be blocked. Correspondingly, the current transport capacity parameter also includes the number of third transport vehicles that are performing the task of returning to the warehouse, and the first allocation relationship also includes the pairing relationship between the idle transport vehicles and the task of returning to the warehouse to be allocated; wherein, in the first allocation relationship, the idle transport vehicles are The sum of the number of return tasks to be allocated and the number of third transport vehicles satisfies a predetermined third quantity range, that is, the number of transport vehicles that can perform the return operation at the same time. The process of determining the above-mentioned range of the number of vehicles returned to the warehouse is similar to the above-mentioned range of the number of vehicles entering the warehouse, and will not be repeated here.
在另一些可能的实施方式中,上述待分配进库任务集合包括待分配入库任务和待分配返库任务;第一非空闲运输车数量包括执行入库任务的第一非空闲运输车分量和执行返库任务的第二非空闲运输车分量;相应的,基于空闲运输车信息、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配进库任务之间的第一分配关系,包括:基于空闲运输车信息、各待分配入库任务以及第一非空闲运输车分量,确定各空闲运输车与各待分配入库任务之间的第一子分配关系;以及,基于空闲运输车信息、各待分配返库任务以及第二非空闲运输车分量,确定各空闲运输车与各待分配返库任务之间的第二子分配关系。最终,根据第一子分配关系以及第二子分配关系确定上述第一分配关系。In some other possible implementation manners, the set of storage-in tasks to be allocated includes storage-in tasks to be allocated and warehouse-returning tasks to be allocated; the first number of non-idle transport vehicles includes the component of the first non-idle transport vehicles that perform storage-in tasks and The second non-idle transporter component that performs the task of returning to the warehouse; correspondingly, based on the information of the idle transporters, the set of tasks to be allocated into the warehouse, and the number of the first non-idle transporters, determine the difference between each idle transporter and each task to be allocated into the warehouse The first allocation relationship between the two includes: determining the first sub-allocation relationship between each idle transporter and each to-be-allocated warehousing task based on the idle transporter information, each to-be-allocated warehousing task and the first non-idle transporter component ; and, based on the idle transport vehicle information, each to-be-allocated warehouse-returning task, and the second non-idle transporter vehicle component, determine a second sub-allocation relationship between each idle transporter and each to-be-allocated warehouse-returning task. Finally, the above-mentioned first allocation relationship is determined according to the first sub-allocation relationship and the second sub-allocation relationship.
本申请实施例提供的上述任务分配方法,首先对进库任务和返库任务进行了运输车的分配;最后结合出库方向对出库任务进行了运输车的分配。该方式可以使整体任务执行顺畅,提高了仓库的运输效率。In the above task allocation method provided by the embodiments of the present application, firstly, transport vehicles are allocated to the warehouse-in task and warehouse-returning task; finally, transport vehicles are allocated to the warehouse-out task in combination with the warehouse-out direction. This method can make the overall task execute smoothly and improve the transportation efficiency of the warehouse.
在一些可能的实施方式中,上述步骤S204(基于第一分配关系、空闲运输车信息、待分配出库任务集合以及第二非空闲运输车数量,确定各空闲运输车与各待分配出库任务之间的第二分配关系)可以具体按照如下方式实施:In some possible implementations, the above step S204 (based on the first allocation relationship, information on idle transport vehicles, the set of outbound tasks to be allocated, and the number of second non-idle transport vehicles, determine each idle transporter and each outbound task to be allocated) The second assignment relationship) can be specifically implemented as follows:
(1)从当前空闲运输车集合中剔除各第一分配关系所对应的空闲运输车,得到剔除后的空闲运输车集合;(1) Eliminate the idle transport vehicles corresponding to each first allocation relationship from the current idle transport vehicle set, and obtain the eliminated idle transport vehicle set;
(2)基于剔除后的空闲运输车集合、待分配出库任务集合以及第二非空闲运输车数量,确定各第二分配关系。(2) Determine each second assignment relationship based on the set of removed idle transport vehicles, the set of outbound tasks to be allocated, and the number of second non-idle transport vehicles.
其中,上述非空闲运输车信息包括在各个出库方向执行出库任务的第二子非空闲运输车数量;具体地,可以针对每个出库方向,基于出库方向对应的第二子非空闲运输车数量,确定出库方向上当前可执行出库任务的出库车辆数量阈值;并且基于待分配出库任务集合、剔除后的空闲运输车集合及出库车辆数量阈值,确定出库方向所对应的各第二分配关系。The above-mentioned information on non-idle transport vehicles includes the number of second sub-non-idle transport vehicles that perform outbound tasks in each outbound direction; specifically, for each outbound direction, based on the second sub-non-idle transporter corresponding to the outbound direction The number of transport vehicles, to determine the threshold of the number of outbound vehicles that can currently perform outbound tasks in the outbound direction; and based on the set of outbound tasks to be allocated, the set of idle transport vehicles after elimination, and the threshold of the number of outbound vehicles, determine the number of outbound vehicles in the outbound direction. corresponding to each of the second distribution relationships.
进一步地,可以按照如下方法确定出库方向所对应的各第二分配关系:Further, each second distribution relationship corresponding to the outbound direction can be determined according to the following method:
(1)将当前待分配出库任务集合及更新后的当前空闲运输车集合输入至第二运力分配模型,得到第三初步配对关系及对应的评价值;评价值表征第三初步配对关系中的空闲运输车开始执行任务的时间损失和\或路程损失;(1) Input the current set of tasks to be allocated out of the warehouse and the updated set of current idle transport vehicles into the second capacity allocation model, and obtain the third preliminary pairing relationship and the corresponding evaluation value; the evaluation value represents the third preliminary pairing relationship. Lost time and/or lost distance for the idle transporter to start its mission;
(2)基于第三初步配对关系及对应的评价值,以及各个出库方向的待分配阈值,确定第二分配关系。(2) Determine the second distribution relationship based on the third preliminary pairing relationship and the corresponding evaluation value, as well as the to-be-allocated thresholds for each outbound direction.
在一些示例中,每个上述待分配出库任务对应有各自的出库方向;在这种情况下,第二分配关系可以按照如下方法确定:In some examples, each of the above-mentioned tasks to be allocated out of the warehouse corresponds to its own outbound direction; in this case, the second allocation relationship can be determined according to the following method:
根据评价值对第三初步配对关系按照第二排序规则进行排序;针对每个出库方向,在排序后的第三初步配对关系中,将第一个至第出库方向对应的待分配阈值个的第三初步配对关系确定为过滤后的第三初步配对关系;将过滤后的所第三初步配对关系、以及第三初步配对关系中,待分配出库任务对应的出库方向确定为第二分配关系。The third preliminary pairing relationship is sorted according to the second sorting rule according to the evaluation value; for each outbound direction, in the sorted third preliminary pairing relationship, the threshold values to be allocated corresponding to the first to the first outbound direction are sorted. The third preliminary pairing relationship is determined as the filtered third preliminary pairing relationship; in the filtered third preliminary pairing relationship and the third preliminary matching relationship, the outbound direction corresponding to the outbound task to be allocated is determined as the second distribution relationship.
其中,对于不同的待分配出库任务而言,其所对应的出库方向可以相同,也可以不同,每个待分配出库任务所对应的出库方向根据实际应用场景所确定,本申请实施例并不对待分配出库任务所对应的出库方向进行限定。Among them, for different outbound tasks to be allocated, the corresponding outbound directions may be the same or different, and the outbound direction corresponding to each to-be-allocated outbound task is determined according to the actual application scenario. The example does not limit the outbound direction corresponding to the outbound task to be allocated.
在另一些示例中,每个上述待分配出库任务对应有各自的出库站类型;出库站类型包括多种,目标仓库存在至少一种类型的出库拣选站,每种出库站类型对应于出库任务阈值;在这种情况下,第二分配关系可以按照如下方法确定:In other examples, each of the above-mentioned outbound tasks to be assigned corresponds to a respective outbound station type; the outbound station types include multiple types, and there is at least one type of outbound picking station in the target warehouse, and each outbound station type Corresponding to the outbound task threshold; in this case, the second allocation relationship can be determined as follows:
按照评价值对第三初步配对关系进行第三排序规则的排序;针对每种类型的出库站类型,在第三初步配对关系中,将第一个至第出库站类型对应的目标出库任务阈值个的第三初步配对关系确定为过滤后的第三初步配对关系;基于损失函数计算过滤后的第三初步配对关系对应于各个出库方向的损失值;将损失值最小时第三初步库配对关系对应的出库方向确定为第三初步库配对关系的出库方向;将过滤后的第三初步配对关系及对应的出库方向确定为第二分配关系。The third preliminary pairing relationship is sorted according to the third ordering rule according to the evaluation value; for each type of outbound station type, in the third preliminary pairing relationship, the target outbound station corresponding to the first to the first outbound station type is sorted out. The third preliminary pairing relationship with the task threshold number is determined as the filtered third preliminary pairing relationship; the filtered third preliminary pairing relationship is calculated based on the loss function corresponding to the loss value of each outbound direction; the third preliminary matching relationship is the smallest when the loss value is The outbound direction corresponding to the library pairing relationship is determined as the outbound direction of the third preliminary library pairing relationship; the filtered third preliminary pairing relationship and the corresponding outbound direction are determined as the second distribution relationship.
其中,对于各待分配出库任务而言,其所对应的出库站类型可以相同,也可以不同,每个待分配出库任务所对应的出库站类型根据实际应用场景所确定,本申请实施例并不对待分配出库任务所对应的出库站类型进行限定。Among them, for each outbound task to be allocated, the corresponding outbound station type may be the same or different, and the outbound station type corresponding to each outbound task to be allocated is determined according to the actual application scenario. The embodiment does not limit the outbound station type corresponding to the outbound task to be allocated.
本申请实施例还提供了一种任务分配过程中,确定第二分配关系的方法。该方法在上述方法实施例的基础上实现。由于仓库出库作业可能包括人工拣选作业和机械臂自动作业两部分,机械臂自动作业内又有多个机械臂进行作业。它们各自的拣选产能也都有其上限,因此需要对出库作业内部每个出库方向控制其流量,即控制各个出库方向的用于出库的运输车数量。在具体实现时,当前运力参数还包括预设的各个出库方向对应的正在执行出库操作的目标子运输车数量,在第二分配关系中需要确定各个出库任务对应的出库方向。如图4所示,该方法包括以下步骤:The embodiment of the present application also provides a method for determining a second assignment relationship in a task assignment process. The method is implemented on the basis of the above method embodiments. Since the warehouse outbound operation may include manual picking and automatic operation of the robotic arm, there are multiple robotic arms in the automatic operation of the robotic arm. Their respective picking capacity also has its upper limit, so it is necessary to control the flow of each outbound direction within the outbound operation, that is, to control the number of transport vehicles used for outbound in each outbound direction. In specific implementation, the current transport capacity parameter also includes the number of target sub-transporters that are performing the outbound operation corresponding to each preset outbound direction, and the outbound direction corresponding to each outbound task needs to be determined in the second distribution relationship. As shown in Figure 4, the method includes the following steps:
步骤S400,从当前空闲运输车集合中剔除各第一分配关系所对应的空闲运输车,得到剔除后的空闲运输车集合;Step S400, excluding the idle transportation vehicles corresponding to each first allocation relationship from the current idle transportation vehicle set, to obtain an idle transportation vehicle set after the elimination;
在得到剔除后的空闲运输车集合后,可以基于剔除后的空闲运输车集合、待分配出库任务集合以及第二非空闲运输车数量,确定各第二分配关系。After the eliminated set of idle transport vehicles is obtained, each second assignment relationship may be determined based on the eliminated set of idle transport vehicles, the set of outbound tasks to be allocated, and the number of second non-idle transport vehicles.
上述出库方向可以为多个,也可以为一个,当出库方向为多个的场景下,非空闲运输车信息包括在各个出库方向执行出库任务的第二子非空闲运输车数量。在这种情况下,可以具体通过以下方法确定第二分配关系:The above-mentioned outbound directions may be multiple or one. When there are multiple outbound directions, the non-idle transport vehicle information includes the number of second sub non-idle transport vehicles that perform the outbound task in each outbound direction. In this case, the second allocation relationship can be determined by the following methods:
步骤S402,针对每个出库方向,基于出库方向对应的第二子非空闲运输车数量,确定出库方向上当前可执行出库任务的出库车辆数量阈值;Step S402, for each outbound direction, based on the number of the second sub-non-idle transport vehicles corresponding to the outbound direction, determine a threshold for the number of outbound vehicles that can currently perform the outbound task in the outbound direction;
进一步地,基于待分配出库任务集合、剔除后的空闲运输车集合及出库车辆数量阈值,确定出库方向所对应的各第二分配关系。Further, each second assignment relationship corresponding to the outbound direction is determined based on the set of outbound tasks to be allocated, the set of discarded idle transport vehicles, and the threshold of the number of outbound vehicles.
可以理解的是,当出库方向为一个的情况下,上述步骤S402的具体实现过程为,确定第二子非空闲运输车数量,并确定可执行出库任务的出库车辆数量阈值,进一步基于待分配出库任务集合、剔除后的空闲运输车集合及出库车辆数量阈值,确定第二分配关系。It can be understood that, when there is one outbound direction, the specific implementation process of the above step S402 is to determine the number of the second sub-non-idle transport vehicles, and determine the threshold of the number of outbound vehicles that can perform the outbound task, and further based on the following steps: The set of outbound tasks to be allocated, the set of discarded idle transport vehicles, and the threshold of the number of outbound vehicles are used to determine the second allocation relationship.
具体实施时,可以按照如下方法确定第二分配关系:During specific implementation, the second allocation relationship can be determined according to the following method:
(1)将出库任务集及更新后的空闲运输车集合输入至第二运力分配模型,得到第三初步配对关系及对应的评价值;(1) Input the outbound task set and the updated set of idle transport vehicles into the second capacity allocation model to obtain the third preliminary pairing relationship and the corresponding evaluation value;
(2)在得到第三初步配对关系后,基于第三初步配对关系及对应的评价值,以及各个出库方向的待分配阈值,确定第二分配关系。(2) After the third preliminary pairing relationship is obtained, the second allocation relationship is determined based on the third preliminary pairing relationship and the corresponding evaluation value, as well as the to-be-allocated thresholds for each outbound direction.
其中,第三初步配对关系对应的评价值指示第三初步配对关系中的空闲运输车开始执行任务的时间损失和\或路程损失。Wherein, the evaluation value corresponding to the third preliminary pairing relationship indicates the time loss and/or the distance loss for the idle transport vehicles in the third preliminary pairing relationship to start executing the task.
在一些可能的实施方式中,当前待分配出库任务集合包括待分配出库任务;待分配出库任务对应于目标的出库方向;第二运力分配模型基于最小代价最大流算法建立;第二运力分配模型包括依次相连的源点、运输车点集合、出库任务点集合、出库方向点集合及汇点;基于此,还可以根据以下方法确定第二分配关系的步骤:In some possible implementations, the current set of outbound tasks to be allocated includes outbound tasks to be allocated; the outbound tasks to be allocated correspond to the outbound direction of the target; the second capacity allocation model is established based on the minimum cost maximum flow algorithm; the second The capacity allocation model includes the source points, the transport vehicle point set, the outbound task point set, the outbound direction point set and the sink points that are connected in sequence; based on this, the steps of determining the second allocation relationship can also be performed according to the following methods:
将当前出库任务集合作为出库任务点集合、更新后的当前空闲运输车集合作为运输车点集合,将待分配阈值作为汇点的容量输入至预先建立的第二运力分配模型,得到第二运力分配模型输出的第二分配关系。Take the current outbound task set as the outbound task point set, the updated current idle transport vehicle set as the transport vehicle point set, and input the threshold to be allocated as the capacity of the sink to the pre-established second capacity allocation model to obtain the second The second distribution relationship output by the capacity distribution model.
步骤S404,根据评价值对各第三初步配对关系按照第二排序规则进行排序。Step S404, according to the evaluation value, sort each third preliminary pairing relationship according to the second sorting rule.
步骤S406,判断出库任务集合包括待分配出库任务对应的出库方向还是包括待出库任务对应的出库站类型;如果为出库方向,执行步骤S408-S410;如果为出库站类型,执行步骤S412-S418。Step S406, determine whether the outbound task set includes the outbound direction corresponding to the outbound task to be allocated or the outbound station type corresponding to the outbound task to be allocated; if it is the outbound direction, execute steps S408-S410; if it is the outbound station type , and execute steps S412-S418.
在对空闲运输车集合和出库任务进行分配时,可以基于空闲运输车的当前位置以及出库托盘所在的存储位置进行分配,得到空闲运输车与出库任务的初步配对关系。该配对过程通常以使空闲运输车的空载路程或时间最小为原则,具体可以采用贪心算法或最小代价最大流算法进行空闲运输车与作业任务的分配。When allocating the set of idle transport vehicles and outbound tasks, the assignment can be performed based on the current positions of the idle transport vehicles and the storage locations where the outbound pallets are located, so as to obtain a preliminary pairing relationship between the idle transport vehicles and the outbound tasks. The pairing process is usually based on the principle of minimizing the unloaded distance or time of idle transport vehicles, and specifically, a greedy algorithm or a minimum cost maximum flow algorithm can be used to allocate idle transport vehicles and work tasks.
上述第二数量范围可以为预先对整个仓库的运输情况进行分析,或采用模型进行模拟运输后得到的适用于仓库运输的可以同时执行出库任务的运输车数量范围。与可以同时执行进库任务的运输车数量范围类似,上述第二数量范围可以通过设置比例上限及比例下限的方式确定;也可以直接给出仓库适用的可以同时执行出库的运输车数量上限及下限,从而确定上述第一数量范围。The above-mentioned second quantity range may be the range of the quantity of transport vehicles that are suitable for warehouse transportation and can simultaneously perform outbound tasks obtained by analyzing the transportation situation of the entire warehouse in advance, or simulating transportation by using a model. Similar to the range of the number of transport vehicles that can perform the inbound task at the same time, the above-mentioned second quantity range can be determined by setting the upper limit and lower limit of the proportion; it is also possible to directly give the upper limit and lower limit, thereby determining the above-mentioned first quantity range.
在确定了执行出库作业的运输车的第二数量范围后,可以用第二数量范围的上下限分别减去当前运力参数中的正在执行出库任务的第二运输车数量,从而确定可以分配的用于执行出库任务的运输车数量范围。然后,基于可以分配的用于执行出库任务的运输车数量范围对已经得到的空闲运输车与出库任务的初步配对关系进行选择。在选择时,可以考虑初步配对关系中空闲运输车的空载路程或时间。After the second quantity range of the transport vehicles performing the outbound operation is determined, the upper and lower limits of the second quantity range can be used to respectively subtract the number of the second transport vehicles that are performing the outbound task in the current capacity parameter, so as to determine that the allocation can be made The range of the number of transport vehicles used to perform outbound tasks. Then, based on the range of the number of transport vehicles that can be allocated for performing the outbound task, the obtained preliminary pairing relationship between the idle transporter and the outbound task is selected. When selecting, the empty distance or time of the idle transporter in the preliminary pairing relationship can be considered.
值得注意的是,对于出库任务,还需要考虑出库任务对应的出库方向。在出库时,运输车需要将承载着货物的托盘从货架运送至拣选区。而一个仓库通常包括多个拣选区,每个拣选区对应于至少一个出库方向,拣选区与出库方向之间可以通过出货站连接。不同的拣选区的拣选方式可能不同,如采用人工拣选或机械臂拣选的方式。可以把拣选区对应的出库站类型设置为拣选区的拣选方式,即出库站类型可以为人工拣选或机械臂拣选等。由于各个拣选区也有一定的拣选效率,对应的不同出库站类型也有承接出库货物的阈值。It is worth noting that for the outbound task, the outbound direction corresponding to the outbound task also needs to be considered. When out of the warehouse, the transport vehicle needs to transport the pallets carrying the goods from the racks to the picking area. A warehouse usually includes multiple picking areas, each picking area corresponds to at least one outbound direction, and the picking area and the outbound direction can be connected through a shipping station. Different picking areas may have different picking methods, such as manual picking or robotic arm picking. The outbound station type corresponding to the picking area can be set as the picking method of the picking area, that is, the outbound station type can be manual picking or robotic arm picking. Since each picking area also has a certain picking efficiency, the corresponding outbound station types also have thresholds for accepting outbound goods.
由于出库任务需要确定出库方向,为了仓库的整体作业顺畅,还需要对各个出库方向的运输车数量进行限制。通常情况下,可以直接给定出库任务的出库方向或采用给出出库任务的出库站类型的方式来限定若干个出库方向。在具体实现时,出库站类型包括多种,如机械臂拣选和人工拣选等方式;由于各种拣选方式都具有其产能上限,每种出库站类型也对应于预设的出库任务阈值。Since the outbound task needs to determine the outbound direction, in order to smooth the overall operation of the warehouse, it is also necessary to limit the number of transport vehicles in each outbound direction. Usually, the outbound direction of the outbound task can be directly given or the outbound station type of the outbound task can be given to limit several outbound directions. In the specific implementation, there are many types of outbound stations, such as robotic arm picking and manual picking. Since each picking method has its upper limit of capacity, each type of outbound station also corresponds to the preset outbound task threshold. .
当出库方向已经确定后,可以遍历排序后的第三初步配对关系,并对各个出库方向的第三初步配对关系进行计数。After the outbound direction has been determined, the sorted third preliminary pairing relationship can be traversed, and the third preliminary pairing relationship of each outbound direction can be counted.
步骤S408,针对每个出库方向,在排序后的第三初步配对关系中,将第一个至第出库方向对应的待分配阈值个的第三初步配对关系确定为过滤后的第三初步配对关系。Step S408, for each outbound direction, in the sorted third preliminary pairing relationship, determine the third preliminary pairing relationship of the threshold to be allocated corresponding to the first to the first outbound direction as the filtered third preliminary pairing relationship. pairing relationship.
上述第二排序规则可以是按照评价值由小到大进行排序,基于改排序规则得到的第三初步配对关系中,选取前出库方向对应的待分配阈值个第三初步配对关系。例如,出库方向为方向1,其对应的待分配阈值为5个,那么按照评价值由小到大排序后,选取前5个第三初步配对关系作为过滤后的第三初步配对关系。The above-mentioned second sorting rule may be sorted according to the evaluation value from small to large. From the third preliminary pairing relationship obtained based on the modified sorting rule, the threshold value to be allocated corresponding to the previous outbound direction is selected. For example, if the outbound direction is direction 1, and the corresponding threshold to be allocated is 5, then after sorting according to the evaluation value from small to large, the first 5 third preliminary pairing relationships are selected as the filtered third preliminary pairing relationships.
上述第二排序规则还可以是按照评价值由大到小进行排序,在这种情况下,选取倒数待分配阈值个第三初步配对关系作为过滤后的第三初步配对关系。The above-mentioned second sorting rule may also be sorted according to the evaluation value from large to small. In this case, the reciprocal third preliminary pairing relationship to be assigned a threshold value is selected as the filtered third preliminary pairing relationship.
步骤S410,将过滤后的第三初步配对关系、以及第三初步配对关系中,出库任务对应的出库方向确定为第二分配关系。Step S410, determining the third preliminary pairing relationship after filtering and the outbound direction corresponding to the outbound task in the third preliminary pairing relationship as the second allocation relationship.
上述预先分配出库方向的方式也称为预分配,该方式首先对所有任务出库方向求最优保证了静态平衡(在出库方向确定的过程中实现),再用运力分配保证动态过程中的平衡,保证了运力的行驶距离,同时牺牲了运力的空驶距离。The above method of pre-assigning the outbound direction is also called pre-allocation. This method firstly optimizes the outbound directions of all tasks to ensure static balance (achieved in the process of determining the outbound direction), and then uses capacity allocation to ensure dynamic process. The balance ensures the driving distance of the capacity, while sacrificing the empty driving distance of the capacity.
步骤S412,针对每个出库站类型,在排序后的第三初步配对关系中,将第一个至第出库站类型对应的出库任务阈值个的第三初步配对关系确定为过滤后的第三初步配对关系。Step S412, for each outbound station type, in the sorted third preliminary pairing relationship, determine the third preliminary pairing relationship of the threshold number of outbound tasks corresponding to the first to the first outbound station type as the filtered one. The third preliminary pairing relationship.
上述第二排序规则可以是按照评价值由小到大进行排序,基于改排序规则得到的第三初步配对关系中,选取前出库站类型对应的待分配阈值个第三初步配对关系。例如,出库站类型为类型1,其对应的待分配阈值为7个,那么按照评价值由小到大排序后,选取前7个第三初步配对关系作为过滤后的第三初步配对关系。The above-mentioned second sorting rule may be sorted according to the evaluation value from small to large, and from the third preliminary pairing relationship obtained based on the modified sorting rule, the threshold value to be allocated corresponding to the previous outbound station type is selected. For example, if the type of outbound station is type 1, and the corresponding threshold to be allocated is 7, then after sorting according to the evaluation value from small to large, the first 7 third preliminary pairing relationships are selected as the filtered third preliminary pairing relationships.
上述第二排序规则还可以是按照评价值由大到小进行排序,在这种情况下,选取倒数待分配阈值个第三初步配对关系作为过滤后的第三初步配对关系。The above-mentioned second sorting rule may also be sorted according to the evaluation value from large to small. In this case, the reciprocal third preliminary pairing relationship to be assigned a threshold value is selected as the filtered third preliminary pairing relationship.
步骤S414,基于损失函数计算过滤后的第三初步配对关系对应于各个出库方向的损失值。Step S414: Calculate, based on the loss function, a loss value corresponding to each outbound direction of the filtered third preliminary pairing relationship.
具体而言,上述损失函数可以为与计算为第三初步配对关系中运输车分配不同的出库方向执行出库任务的路程损失值或时间损失值相关的函数,根据对仓库的流量控制需求可以在其中加入一些平衡参数或权重参数等。Specifically, the above-mentioned loss function may be a function related to the distance loss value or the time loss value calculated for the transport vehicle in the third preliminary pairing relationship to assign different outbound directions to perform the outbound task. According to the flow control requirements for the warehouse, it may be Add some balance parameters or weight parameters to it.
步骤S416,将损失值最小时第三初步库配对关系对应的出库方向确定为第三初步配对关系的出库方向。Step S416, determining the outbound direction corresponding to the third preliminary library pairing relationship when the loss value is the smallest as the outbound direction of the third preliminary library pairing relationship.
上述先确定配对关系再确定出库方向的方式也称为后分配,该方式先做运力分配保证当前空驶距离最小,再分配出库方向保证动态平衡,保证了是运力的空驶距离,同时牺牲了运力的行驶距离。与上述预分配的方式各有利弊,可以根据需求进行选择。The above method of first determining the pairing relationship and then determining the outbound direction is also called post-allocation. This method first allocates the capacity to ensure that the current empty distance is the smallest, and then allocates the outbound direction to ensure dynamic balance, which ensures the empty distance of the capacity, while sacrificing The driving distance of the capacity. There are advantages and disadvantages to the above pre-allocation methods, which can be selected according to needs.
步骤S418,将过滤后的第三初步配对关系及对应的出库方向确定为第二分配关系。Step S418: Determine the filtered third preliminary pairing relationship and the corresponding delivery direction as the second distribution relationship.
当上述出库任务集合包括待分配出库任务对应的出库方向时,也可以基于最小代价最大流算法建立第二运力分配模型。此时,第二运力分配模型包括依次相连的源点、运输车点集合、出库任务点集合、出库方向点集合及汇点,其中出库方向点集合是在常用的最小代价最大流算法模型基础上建立的,将出库方向点集合。When the above-mentioned outbound task set includes outbound directions corresponding to the outbound tasks to be allocated, the second capacity allocation model may also be established based on the minimum cost maximum flow algorithm. At this time, the second capacity allocation model includes a source point, a set of transport vehicle points, a set of outbound task points, a set of outbound direction points, and a sink point that are connected in sequence. Based on the model, the outbound direction points are collected.
此时,在确定第二分配关系时,可以将出库任务集作为出库任务点集合、更新后的空闲运输车集合作为运输车点集合,将待分配阈值作为汇点的容量输入至预先建立的第二运力分配模型,得到第二运力分配模型输出的第二分配关系。第二运力分配模型输出的也为运输车与出库任务的配对关系,由于该配对关系已经受到了各个出库方向的待分配阈值的约束,因此可以将第二运力分配模型输出的配对关系直接作为第二分配关系。At this time, when determining the second allocation relationship, the outbound task set can be used as the outbound task point set, the updated idle transport vehicle set can be used as the transport vehicle point set, and the threshold to be allocated is input as the capacity of the sink to the pre-established The second capacity distribution model is obtained, and the second distribution relationship output by the second capacity distribution model is obtained. The output of the second capacity allocation model is also the pairing relationship between the transport vehicle and the outbound task. Since the pairing relationship has been constrained by the thresholds to be allocated in each outbound direction, the pairing relationship output by the second capacity allocation model can be directly as the second distribution relationship.
上述方法在对出库任务集合和空闲运输车进行分配时,考虑到了各个出库方向的可同时作业的运输车数量,结合当前各个出库方向的运输车数量对分配结果中的运输车数量进行了限制,从而保证了仓库整体的作业顺畅,提高了运输效率。When the above method allocates the outbound task set and idle transport vehicles, the number of transport vehicles that can be operated simultaneously in each outbound direction is considered, and the number of transport vehicles in the allocation result is carried out in combination with the current number of transport vehicles in each outbound direction. Therefore, the overall operation of the warehouse is guaranteed to be smooth and the transportation efficiency is improved.
在一些可能的实施方式中,获取目标等待区的运输车数量;如果目标等待区的运输车数量与第一非空闲运输车数量之和小于目标车辆数量时,确定空闲运输车集合中各空闲运输车与目标等待区的距离信息;控制距离目标等待区最近的空闲运输车运行至目标等待区,直至目标等待区的运输车数量与第一运输车数量之和大于或等于目标车辆数量。In some possible implementations, the number of transport vehicles in the target waiting area is obtained; if the sum of the number of transport vehicles in the target waiting area and the number of the first non-idle transport vehicles is less than the number of target vehicles, determine each idle transport vehicle in the set of idle transport vehicles Distance information between the vehicle and the target waiting area; control the idle transporter closest to the target waiting area to run to the target waiting area until the sum of the number of transporters in the target waiting area and the number of the first transporter is greater than or equal to the number of target vehicles.
本申请实施例还提供了另一种任务分配方法。该方法主要针对仅有待分配入库作业任务的情况,即返库任务集合和出库任务集合均为空。仓库入库作业往往受入库提升机产能限制,需要提升运输车衔接入库提升机的效率,从而提升入库提升机繁忙率,达到提升入库效率的目的。The embodiment of the present application also provides another task allocation method. This method is mainly aimed at the situation where there are only tasks to be allocated in the warehouse, that is, the set of tasks for returning to the warehouse and the set of tasks for leaving the warehouse are both empty. Warehouse warehousing operations are often limited by the capacity of warehousing hoists. It is necessary to improve the efficiency of transport vehicles connecting to warehousing hoists, so as to increase the busy rate of warehousing hoists and achieve the purpose of improving warehousing efficiency.
当只发生入库口作业时,可以将入库提升机的入库视为供给侧,存储区的入库视为消费侧。需要提高存储区的入库效率从而达到提升单独入库口效率。根据利特尔法则(Little’s Law),存储区的入库效率取决于单车入库效率和同时作业的四向穿梭车数量。在单车入库效率不变的情况下,可以通过控制部分空闲车辆提前等待接驳的方式来达到提高存储区的入库效率的目的。When only the inbound operation occurs, the inbound of the inbound elevator can be regarded as the supply side, and the inbound of the storage area can be regarded as the consumption side. It is necessary to improve the storage efficiency of the storage area so as to improve the efficiency of the separate storage entrance. According to Little’s Law, the storage efficiency of the storage area depends on the single-vehicle storage efficiency and the number of four-way shuttles operating at the same time. Under the condition that the warehousing efficiency of a single vehicle remains unchanged, the purpose of improving the warehousing efficiency of the storage area can be achieved by controlling some idle vehicles to wait for the connection in advance.
仓库通常由多个楼层组成,各个楼层分别由运输车进行作业,它们的作业量和运力可能会发生不平衡的情况。为了简化流程,该方法提供了一种平衡楼层运力的分配机制,具体如下:Warehouses usually consist of multiple floors, each floor is operated by transport vehicles, and their workload and capacity may be unbalanced. To simplify the process, the method provides an allocation mechanism for balancing floor capacity, as follows:
1.设置每楼层可以同时工作运输车阈值为Q,并在入库提升机附近开辟等待区。1. Set the threshold of transport vehicles that can work at the same time on each floor as Q, and open up a waiting area near the hoist.
2.正常入库任务提前叫车至入库提升机接驳点;2. For normal storage tasks, call a car in advance to the connection point of the storage elevator;
3.如果当前楼层正在工作运输车数量和等待区运输车数量之和小于Q,调用离等待区较近的一个车辆去等待区,直到当前楼层正在工作运输车数量和等待区运输车数量之和大于等于Q。具体而言,在获取预设等待区的运输车数量后,如果预设等待区的运输车数量与第一运输车数量之和小于预设的车辆数量时,获取空闲运输车的位置;控制距离预设等待区最近的空闲运输车运行至预设等待区,直至预设等待区的运输车数量与第一运输车数量之和大于或等于预设的车辆数量。3. If the sum of the number of working transporters on the current floor and the number of transporters in the waiting area is less than Q, call a vehicle closer to the waiting area to the waiting area until the sum of the number of working transporters on the current floor and the number of transporters in the waiting area greater than or equal to Q. Specifically, after obtaining the number of transport vehicles in the preset waiting area, if the sum of the number of transport vehicles in the preset waiting area and the number of the first transport vehicles is less than the preset number of vehicles, obtain the position of the idle transport vehicle; control the distance The nearest idle transportation vehicle in the preset waiting area runs to the preset waiting area until the sum of the number of transportation vehicles in the preset waiting area and the number of the first transportation vehicle is greater than or equal to the preset number of vehicles.
上述方式可以提升运输车衔接入库提升机的效率,从而提升了入库提升机繁忙率,提高了入库效率。The above method can improve the efficiency of the transport vehicle connecting with the storage hoist, thereby increasing the busy rate of the storage hoist and improving the storage efficiency.
为便于理解本申请方案,下述将结合具体应用场景对本申请方案进行介绍。基于该应用场景,本申请还提供了另一种任务分配方法。该方法在上述方法实施例的基础上实现。In order to facilitate the understanding of the solution of the present application, the following will introduce the solution of the present application in combination with specific application scenarios. Based on this application scenario, the present application also provides another task allocation method. The method is implemented on the basis of the above method embodiments.
四向穿梭车仓库通常可以分为存储区和拣选区两部分。存储区的产能主要由四向穿梭车产能决定,包括出库、入库和返库作业。拣选区的产能主要有机械臂产能和人力拣选产能决定,只包括出库作业。因此只能通过控制存储区的产能流量来达到控制整个仓库出库流量、入库流量和返库流量的目的。The four-way shuttle warehouse can usually be divided into two parts: storage area and picking area. The capacity of the storage area is mainly determined by the capacity of the four-way shuttle, including outbound, inbound and return operations. The capacity of the picking area is mainly determined by the capacity of the robotic arm and the capacity of manual picking, and only includes outbound operations. Therefore, the purpose of controlling the outbound flow, inbound flow and return flow of the entire warehouse can only be achieved by controlling the capacity flow of the storage area.
同时,如果将存储区的出库作为供给侧,拣选区的出库作为消费侧,消费侧内部各自有其产能上线。如果供给侧对某一出库方向做过多出库的话,消费侧消费不及时,会产生大量等待任务,占用四向穿梭车资源,从而浪费效率。因此,最好也是通过控制存储区的产能流量来平衡各个出库方向。At the same time, if the outgoing warehouse in the storage area is used as the supply side, and the outgoing warehouse in the picking area is used as the consumer side, each consumer side has its own production capacity online. If the supply side makes too many deliveries in a certain delivery direction, the consumption side will not consume in time, and a large number of waiting tasks will be generated, occupying the resources of the four-way shuttle, thus wasting efficiency. Therefore, it is best to balance the various outbound directions by controlling the capacity flow of the storage area.
在具体实现时,可以通过运力分配的环节来进行流量控制。通用的运力分配模型无论是基于贪心算法建立的,还是基于网络流算法建立的,它们的模型输入和输出(Inputand Output,IO)都是同样的。即输入是待分配任务(可以包括上述入库任务、返库任务和出库任务中的一种或多种)和待分配运输车(相当于上述空闲运输车),输出是任务和运输车的分配关系。In the specific implementation, flow control can be carried out through the link of capacity distribution. Whether the general capacity allocation model is established based on the greedy algorithm or the network flow algorithm, their model input and output (IO) are the same. That is, the input is the task to be assigned (which can include one or more of the above-mentioned warehousing tasks, warehouse-returning tasks, and warehouse-out tasks) and the transport vehicle to be allocated (equivalent to the above-mentioned idle transporter), and the output is the task and transporter. distribution relationship.
该方法中需要用到的参数有:待分配出库任务集合Jo,待分配入库任务集合Ji,待分配返库任务集合Jr,待分配运输车集合(即空闲运输车信息)R,待分配运输车与待分配任务评价值E,运输车总数Q,正在出库运输车数量Qo,正在入库运输车数量Qi,正在返库运输车数量Qr,各出库方向实际出库任务Q(n)。The parameters that need to be used in this method are: the set of outbound tasks to be allocated Jo, the set of inbound tasks to be allocated Ji, the set of returned tasks to be allocated Jr, the set of transport vehicles to be allocated (that is, the information of idle transport vehicles) R, the set of tasks to be allocated The evaluation value E of transport vehicles and tasks to be assigned, the total number of transport vehicles Q, the number of transport vehicles that are leaving the warehouse Qo, the number of transport vehicles that are entering the warehouse Qi, the number of transport vehicles that are returning to the warehouse Qr, and the actual outbound tasks in each outbound direction Q(n ).
需要进一步说明的是,每个入库或返库的接驳点维护一个入库或返库的托盘队列Li。每个待入库或待返库托盘都会追加到对应接驳点托盘队列Li之后。待分配入库任务和待分配返库任务,对应的是每个入库或返库接驳点空闲下其任务队列的头部托盘,而不是所有托盘。It should be further explained that each incoming or returning connection point maintains a pallet queue Li for incoming or returning to the warehouse. Each to-be-warehoused or to-be-returned pallet will be added to the corresponding connection point pallet queue Li. The warehousing tasks to be allocated and the warehousing tasks to be allocated correspond to the head trays of the task queue when each warehousing or warehouse-returning connection point is idle, not all trays.
针对上述具体应用场景中,该方法主要包括以下步骤:For the above specific application scenarios, the method mainly includes the following steps:
1.确定目标仓库中当前所对应的空闲运输车集合R、待分配入库任务Ji集合和返库任务集合Jr、待分配出库任务集合(Jo)以及非空闲运输车信息,并为出库作业、入库作业、返库作业设置在所有正在执行中任务中的比例的下限阈值和上限阈值。1. Determine the current corresponding idle transporter set R, the set of warehousing tasks to be allocated, Ji set and the set of return tasks Jr, the set of tasks to be allocated out of the warehouse (Jo), and the information of non-idle transporters in the target warehouse. The lower and upper thresholds for the proportion of jobs, inbound jobs, and return jobs in all running tasks are set.
具体地,上述上限阈值和下限阈值分别为:最小出库比例Ratio_o_min、最大出库比例Ratio_o_max、最小入库比例Ratio_i_min、最大入库比例Ratio_i_max、最小返库比例Ratio_r_min、最大返库比例Ratio_r_max以及对第i个出库方向任务数量有其上限阈值P(n)。Specifically, the above-mentioned upper and lower thresholds are respectively: the minimum outbound ratio Ratio_o_min, the maximum outbound ratio Ratio_o_max, the minimum inbound ratio Ratio_i_min, the maximum inbound ratio Ratio_i_max, the minimum return ratio Ratio_r_min, the maximum return ratio Ratio_r_max, and the The number of tasks in i outbound directions has its upper threshold P(n).
2.计算可工作的空闲小车若分配出库作业、入库作业、返库作业的出库车辆数量范围、入库车辆数量范围及返库车辆数量范围。2. Calculate the range of the number of outbound vehicles, the range of inbound vehicles, and the range of the number of returned vehicles if the idle trolleys that can work are allocated for outbound operations, inbound operations, and return operations.
在一种具体实施方式中,例如可以通过以下方式确定各个上限阈值和下限阈值:可分配出库作业数量的下限阈值T_o_min=max(0,Q*ratio_o_min-Qo),即通过运输车总数和最小出库比例计算出可以执行出库作业的最小运输车数量,然后采用最小运输车数量减去正在进行出库作业的运输车数量,并对相减结果与零的取最大值后,得到的结果即为可分配出库作业数量的下限阈值,其他参数的确定过程依次类推,在此不做赘述;上限阈值T_o_max=Q*ratio_o_max-Qo。共得到可分配出库作业数量的下限阈值T_o_min、可分配出库作业数量的上限阈值T_o_max、可分配入库作业数量的下限阈值T_i_min、可分配入库作业数量的上限阈值T_i_max、可分配返库作业数量的下限阈值T_r_min、可分配返库作业数量的上限阈值T_r_max六个参数,从而可以确定出库车辆数量范围、入库车辆数量范围及返库车辆数量范围。In a specific implementation, for example, each upper threshold and lower threshold can be determined in the following manner: the lower threshold T_o_min=max(0, Q*ratio_o_min-Qo) of the number of outbound operations that can be allocated, that is, the total number of transport vehicles and the minimum The outbound ratio calculates the minimum number of transport vehicles that can perform outbound operations, and then subtracts the number of transport vehicles that are performing outbound operations from the minimum number of transport vehicles, and takes the maximum value of the subtraction result and zero to obtain the result. That is, the lower limit threshold of the number of outbound jobs that can be allocated, and the process of determining other parameters is analogous, which is not repeated here; the upper limit threshold T_o_max=Q*ratio_o_max-Qo. The lower threshold T_o_min of the number of outbound operations that can be allocated, the upper threshold T_o_max of the number of outbound operations that can be allocated, the lower threshold T_i_min of the number of inbound operations that can be allocated, the upper threshold T_i_max of the number of inbound operations that can be allocated, and the upper threshold T_i_max of the number of inbound operations that can be allocated are obtained. The lower threshold T_r_min of the number of jobs and the upper threshold T_r_max of the number of jobs that can be returned to the warehouse are six parameters, so that the range of the number of vehicles out of the warehouse, the range of the number of inbound vehicles and the range of the number of returned vehicles can be determined.
3.将空闲运输车集合(R),待分配入库任务集合(Ji),及待分配返库任务集合(Jr),输入至第一运力分配模型f,得到第一初步配对关系G1,以及对应的评价值。3. Input the set of idle transport vehicles (R), the set of warehousing tasks to be allocated (Ji), and the set of tasks to be returned to the warehouse (Jr) to be allocated, and input them into the first capacity allocation model f to obtain the first preliminary pairing relationship G1, and corresponding evaluation value.
其中,其中第一初步配对关系表征各入库任务集合以及返库任务集合构成的待分配任务集合与当前的空闲运输车集合之间的关系,即每个待分配任务与每个空闲运输车分别进行配对后,得到配对关系及其对应的评价值,所有的待分配任务和空闲运输车之间的配对关系构成第一初步配对关系。The first preliminary pairing relationship represents the relationship between the to-be-assigned task set composed of each incoming task set and the warehouse-returning task set and the current set of idle transport vehicles, that is, each to-be-allocated task and each idle transport vehicle are respectively After the pairing is performed, the pairing relationship and its corresponding evaluation value are obtained, and the pairing relationship between all the tasks to be assigned and the idle transport vehicle constitutes a first preliminary matching relationship.
4.将G1按照对应的评价值从小到大排序。4. Sort G1 according to the corresponding evaluation value from small to large.
5.在排序后的第一初步配对关系中,将前N个第一初步配对关系确定为第一分配关系G1’,剩余的空闲运输车集合为R’(相当于更新后的空闲运输车集合)。5. In the sorted first preliminary pairing relationship, determine the first N first preliminary pairing relationships as the first allocation relationship G1', and the remaining idle transport vehicle set is R' (equivalent to the updated idle transport vehicle set. ).
其中,前N个第一初步配对关系满足各自对应对的上限阈值和下限阈值,即将第一初步配对关系中,不满足上限阈值和下限阈值的配对关系删除,具体地,当计数不满足T_i_min、T_i_max、T_r_min、T_r_max阈值时将对应初步配对关系过滤掉,剩余的配对关系即构成了第一分配关系G1’。Among them, the first N first preliminary pairing relationships satisfy their corresponding upper and lower thresholds, that is, in the first preliminary pairing relationships, the pairing relationships that do not meet the upper and lower thresholds are deleted. Specifically, when the count does not satisfy T_i_min, When the T_i_max, T_r_min, and T_r_max thresholds are set, the corresponding preliminary pairing relationships are filtered out, and the remaining pairing relationships constitute the first assignment relationship G1'.
需要注意的是,更新后的第一分配关系G1’没有强绑定入库或返库托盘与空闲运输车的关系,只是托盘到达接驳点和空闲运输车重合时才强绑定。如果分配成功,还需要将对应接驳点置为忙碌(托盘到达后离开才置为空闲),其对应队列弹出头部托盘。这个逻辑是“提前接驳”逻辑,它不要托盘到达接驳点再叫车而是提前叫车。It should be noted that the updated first assignment relationship G1' is not strongly bound to the relationship between the inbound or returned pallets and the idle transporter, but only when the pallet reaches the connection point and the idle transporter coincides. If the allocation is successful, it is also necessary to set the corresponding connection point to busy (the tray will be set to idle after it arrives and leave), and its corresponding queue will pop up the head tray. This logic is the "advance connection" logic, which does not require the pallet to arrive at the connection point and then call the car, but calls the car in advance.
6.计算实际供给侧阈值,即各个出库方向的待分配阈值:Q’(n)=max(0,P(n)-Q(n))6. Calculate the actual supply-side threshold, that is, the threshold to be allocated for each outbound direction: Q'(n)=max(0,P(n)-Q(n))
7.将R’作为待分配运输车集合,待分配出库任务集合(Jo)作为待分配任务集合,Q’(n)作为出库方向供给阈值。其中,待分配任务可以已经分配任务出库方向,也可以暂时不分配出库方向(但需要给出出库站类型,即人工拣选还是机械臂拣选),待运力分配后再分配出库方向。7. Take R' as the set of transport vehicles to be allocated, the set of outbound tasks to be allocated (Jo) as the set of tasks to be allocated, and Q'(n) as the supply threshold for the outbound direction. Among them, the task to be assigned can already have the task outbound direction assigned, or it can temporarily not assign the outbound direction (but the outbound station type needs to be given, that is, manual picking or robotic arm picking), and then the outbound direction is allocated after the capacity is allocated.
8.出库方向预分配方案:出库方向预先已分配,通过第二运力分配模型f’,得到第二分配关系G2,该方案具体如下:8. Pre-allocation scheme for the outbound direction: The outbound direction has been allocated in advance, and the second allocation relationship G2 is obtained through the second capacity allocation model f'. The specific scheme is as follows:
8.0出库方向在整个作业开始时就已经计算完成。对于多个出库站点,在满足业务限制的前提下,可根据公式(相当于上述损失函数)L=sum(cost(Pi,Sj))+a*balance(wj1*pallet_num(Sj))+b*balance(wj2*box_num(Sj))求最小。其中,cost表示托盘Pi到站点Sj的代价,通常用时间或距离表示;pallet_num(Sj)表示站点Sj的托盘数;box_num(Sj)表示站点Sj的拣选箱数;balance表示某种表平衡的函数,这里可以用标准差;wj1、wj2为站点j对应的加权值;a、b为参数。8.0 The outbound direction is calculated at the beginning of the entire job. For multiple outbound sites, on the premise of satisfying business constraints, the formula (equivalent to the above loss function) can be L=sum(cost(Pi,Sj))+a*balance(wj1*pallet_num(Sj))+b *balance(wj2*box_num(Sj)) is the smallest. Among them, cost represents the cost from pallet Pi to site Sj, usually expressed in time or distance; pallet_num(Sj) represents the number of pallets at site Sj; box_num(Sj) represents the number of boxes picked at site Sj; balance represents a function of table balance , the standard deviation can be used here; wj1 and wj2 are the weighted values corresponding to site j; a and b are parameters.
8.1基于第一运力分配模型f得到第二运力分配模型f’(即考虑供给侧的改进版运力分配模块),并得到第二分配关系G2,具体地,按照如下方式得到第二运力分配模型:8.1 Obtain the second capacity allocation model f' based on the first capacity allocation model f (that is, considering the improved version of the capacity allocation module on the supply side), and obtain the second allocation relationship G2, specifically, obtain the second capacity allocation model as follows:
I)若f为按照评价值排序的贪心算法,除原有逻辑外,还需通过对出库方向进行计数,超出该出库方向的阈值范围则从第二初步配对关系中删除,直至匹配结束。1) if f is the greedy algorithm sorted according to the evaluation value, in addition to the original logic, it is also necessary to count the outbound direction, and the threshold range beyond the outbound direction is then deleted from the second preliminary pairing relationship, until the end of the matching .
II)若f为二分图匹配算法,将它升级为最小代价最大流算法,具体升级方法如下:II) If f is a bipartite graph matching algorithm, upgrade it to a minimum cost maximum flow algorithm. The specific upgrade method is as follows:
①新增代表各出库方向的点集合C。将源点与代表运输车的点集合A相连(容量为1代价为0),A与代表出库任务的点集合B对应相连(容量为1代价为评价值),B和代表出库方向的点集合C对应相连(容量为1代价为0),C与汇点T相连(容量为供给阈值,代价为0)。①Add point set C representing each outbound direction. Connect the source point to the point set A representing the transport vehicle (capacity is 1 and the cost is 0), A is connected to the point set B representing the outbound task (capacity is 1 and the cost is the evaluation value), and B is connected to the outbound direction. The point set C is connected correspondingly (the capacity is 1 and the cost is 0), and C is connected to the sink T (the capacity is the supply threshold, and the cost is 0).
②最小代价最大流算法求解。② minimum cost maximum flow algorithm to solve.
9.出库方向后分配方案:通过第二运力分配模型f’(这里只对出库站类型设置供给侧阈值,即人工拣选最多多少托、机械臂拣选最多多少托),得到第二分配关系G2,然后再对G2中的同等拣选性质的出库任务分配出库方向。9. Post-distribution scheme in the outbound direction: through the second capacity allocation model f' (here, only the supply-side threshold is set for the outbound station type, that is, the maximum number of pallets for manual picking and the maximum number of pallets for robotic arm picking) to obtain the second distribution relationship G2, and then assign the outbound direction to the outbound tasks of the same picking nature in G2.
其中,上述G2用于表征每个待分配任务(即待分配出库任务集合Jo中的出库任务)和每个待分配运输车之间构成的配对关系及其对应的评价值,所有的待分配任务和待分配运输车分别构成的配对关系构成了第二分配关系G2。Among them, the above G2 is used to represent the pairing relationship formed between each task to be allocated (that is, the outbound task in the set Jo of outbound tasks to be allocated) and each transport vehicle to be allocated and its corresponding evaluation value. The pairing relationship formed by the assignment task and the transport vehicle to be assigned respectively constitutes the second assignment relationship G2.
9.1使用第二运力分配模型f’,得到第二分配关系G2。9.1 Use the second capacity distribution model f' to obtain the second distribution relationship G2.
9.2对G2中的任务,按照8.0所述的公式求其最小,得到每个任务的出库方向。9.2 For the tasks in G2, find the minimum value according to the formula described in 8.0, and obtain the outbound direction of each task.
10.新的分配关系G1’+G2就是本轮任务分配的结果,通过调度模块进行下发。10. The new assignment relationship G1'+G2 is the result of this round of task assignment, which is issued by the scheduling module.
值得注意的是,上述出库方向预分配方案和后分配方案各有优劣:预分配方案首先对所有任务出库方向求最优保证了静态平衡,再用运力分配保证动态过程中的平衡,实际上保证的是运力的行驶距离,牺牲的是运力的空驶距离;后分配方案先做运力分配保证当前空驶距离最小,再分配出库方向保证动态平衡,实际上保证的是运力的空驶距离,牺牲的是运力的行驶距离。具体采用时,可以根据需要进行选择。It is worth noting that the above-mentioned pre-allocation schemes and post-allocation schemes in the outbound direction have their own advantages and disadvantages: the pre-allocation scheme first optimizes the outbound directions of all tasks to ensure static balance, and then uses capacity allocation to ensure balance in the dynamic process. In fact, the driving distance of the transport capacity is guaranteed, and the empty driving distance of the transport capacity is sacrificed; the post-allocation scheme first allocates the transport capacity to ensure that the current empty driving distance is the smallest, and then allocates the outbound direction to ensure dynamic balance. In fact, the empty driving distance of the transport capacity is guaranteed. The sacrifice is the driving distance of the capacity. When specifically adopted, it can be selected as required.
上述任务分配方法首先对某一任务类型的运输车占整个仓库的运输车的比例作出上、下限,来控制各任务类型的流量;然后对出库类型任务的各出库方向做供给限制,来协调各出库方向的作业。该方法在尽量满足出库流量、入库流量和返库流量的要求,又能使仓库整体作业顺畅不发生严重拥堵,从而提高作业效率。The above task allocation method firstly sets upper and lower limits for the proportion of transport vehicles of a certain task type to the transport vehicles of the entire warehouse to control the flow of each task type; Coordinate the operations of each outbound direction. This method satisfies the requirements of outbound flow, inbound flow and return flow as much as possible, and can also make the overall operation of the warehouse smooth without serious congestion, thereby improving the operation efficiency.
对应于上述任务分配方法实施例,本申请实施例还提供一种任务分配装置,如图5所示,该装置包括:Corresponding to the above-mentioned embodiment of the task allocation method, the embodiment of the present application further provides a task allocation device, as shown in FIG. 5 , the device includes:
获取模块500,用于获取目标仓库当前所对应的空闲运输车集合、待分配进库任务集合、待分配出库任务集合以及非空闲运输车信息;其中,非空闲运输车信息包括执行进库任务的第一非空闲运输车数量和执行出库任务的第二非空闲运输车数量;The obtaining module 500 is used to obtain the set of idle transport vehicles currently corresponding to the target warehouse, the set of inbound tasks to be allocated, the set of tasks to be allocated out of the warehouse, and the information of non-idle transport vehicles; wherein, the information of non-idle transport vehicles includes performing in-warehouse tasks The number of first non-idle transport vehicles and the number of second non-idle transport vehicles performing outbound tasks;
第一分配模块502,用于基于空闲运输车集合、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配进库任务之间的第一分配关系;The first allocation module 502 is configured to determine the first allocation relationship between each idle transport vehicle and each to-be-allocated warehouse-in task based on the set of idle transport vehicles, the set of tasks to be allocated into the warehouse, and the number of first non-idle transport vehicles;
第二分配模块504,用于基于第一分配关系、空闲运输车集合、待分配出库任务集合以及第二非空闲运输车数量,确定各空闲运输车与各待分配出库任务之间的第二分配关系;第二分配关系中的空闲运输车与第一分配关系中的空闲运输车不重合;The second allocation module 504 is configured to determine the first allocation between each idle transporter and each to-be-allocated outbound task based on the first allocation relationship, the set of idle transporters, the set of outbound tasks to be allocated, and the number of second non-idle transporters Two distribution relationships; the idle transport vehicles in the second distribution relationship do not overlap with the idle transport vehicles in the first distribution relationship;
调度模块506,用于基于第一分配关系及第二分配关系,对空闲运输车进行调度。The scheduling module 506 is configured to schedule idle transport vehicles based on the first distribution relationship and the second distribution relationship.
本申请实施例提供的上述任务分配装置,首先获取目标仓库当前所对应的空闲运输车集合、待分配进库任务集合、待分配出库任务集合以及非空闲运输车信息;然后基于空闲运输车集合、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配进库任务之间的第一分配关系,并基于第一分配关系、空闲运输车集合、待分配出库任务集合以及第二非空闲运输车数量,确定各空闲运输车与各待分配出库任务之间的第二分配关系;最后基于第一分配关系及第二分配关系,对空闲运输车进行调度。该装置分别确定了进库任务和空闲运输车之间的第一分配关系,以及出库任务和空闲运输车之间的第二分配关系,在第二分配关系的确定过程中,考虑了第一分配关系,以使在尽量满足出进库流量的要求的同时,使仓库的出进库作业达到较为平衡的状态,使整体任务执行顺畅,提高了仓库的工作效率。The above-mentioned task allocation device provided by the embodiment of the present application first obtains the set of idle transport vehicles currently corresponding to the target warehouse, the set of inbound tasks to be allocated, the set of tasks to be allocated out of the warehouse, and the information of non-idle transport vehicles; and then based on the set of idle transport vehicles , the set of tasks to be allocated into the warehouse and the number of the first non-idle transport vehicles, determine the first distribution relationship between each idle transport vehicle and each task to be allocated into the warehouse, and based on the first allocation relationship, the set of idle transport vehicles, the The set of outbound tasks and the number of second non-idle transport vehicles determine the second allocation relationship between each idle transporter and each outbound task to be allocated; finally, based on the first allocation relationship and the second allocation schedule. The device respectively determines the first assignment relationship between the inbound task and the idle transport vehicle, and the second assignment relationship between the outbound task and the idle transporter. In the process of determining the second assignment relationship, the first assignment relationship is considered. Distribution relationship, so that while meeting the requirements of inbound and outbound flow as much as possible, the inbound and outbound operations of the warehouse can reach a more balanced state, so that the overall task execution is smooth, and the work efficiency of the warehouse is improved.
进一步地,上述基于空闲运输车集合、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配入库任务之间的第一分配关系,包括:基于第一非空闲运输车数量,确定当前可执行待分配进库任务的进库车辆数量范围;将空闲运输车集合以及待分配进库任务集合输入至第一运力分配模型,得到多个第一初步配对关系及对应的评价值;第一初步配对关系包括空闲运输车与待分配进库任务的配对关系;评价值表征第一初步配对关系所对应的空闲运输车开始执行对应的待分配进库任务的时间损失和\或路程损失;基于第一初步配对关系及对应的评价值,以及进库车辆数量范围,确定第一分配关系。Further, the above-mentioned determination of the first assignment relationship between each idle transport vehicle and each to-be-allocated warehousing task based on the set of idle transport vehicles, the set of tasks to be allocated into the warehouse, and the number of the first non-idle transport vehicles includes: based on the first The number of non-idle transport vehicles, to determine the range of the number of inbound vehicles that can currently perform tasks to be allocated into the warehouse; input the set of idle transport vehicles and the set of tasks to be allocated into the warehouse into the first capacity allocation model to obtain a plurality of first preliminary pairing relationships and the corresponding evaluation value; the first preliminary pairing relationship includes the pairing relationship between the idle transporter and the task to be assigned into the warehouse; the evaluation value represents the time when the idle transporter corresponding to the first preliminary pairing relationship starts to execute the corresponding task to be assigned into the warehouse Loss and/or distance loss; based on the first preliminary pairing relationship and the corresponding evaluation value, and the range of the number of vehicles entering the warehouse, determine the first distribution relationship.
进一步地,上述基于第一非空闲运输车数量,确定当前可执行待分配进库任务的进库车辆数量范围,包括:基于第一目标数量范围和第一非空闲运输车数量,确定进库车辆数量范围;其中,第一目标数量范围基于目标仓库的成本模型和进库效率所设定。Further, the above-mentioned determination based on the number of the first non-idle transport vehicles to determine the range of the number of inbound vehicles that can currently perform the task to be assigned into the warehouse includes: based on the first target number range and the first non-idle number of transport vehicles, determining the inbound vehicles. Quantity range; wherein, the first target quantity range is set based on the cost model of the target warehouse and the stock-in efficiency.
进一步地,上述基于初步配对关系及对应的评价值,以及进库车辆数量范围,确定第一分配关系的过程,包括:根据评价值对各第一初步配对关系按照第一排序规则进行排序;在排序后的第一初步配对关系中,将第一个至第进库车辆数量范围个第一初步配对关系确定为第一分配关系。Further, the above-mentioned process of determining the first distribution relationship based on the preliminary pairing relationship and the corresponding evaluation value, and the range of the number of vehicles in the warehouse includes: sorting each first preliminary pairing relationship according to the first sorting rule according to the evaluation value; In the sorted first preliminary pairing relationship, the first preliminary pairing relationship ranging from the first to the number of vehicles entering the garage is determined as the first allocation relationship.
进一步地,上述待分配进库任务集合包括待分配入库任务,第一非空闲运输车数量为执行入库任务的非空闲运输车的数量;相应的,基于空闲运输车信息、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配进库任务之间的第一分配关系,包括:基于空闲运输车信息、各待分配入库任务以及第一非空闲运输车数量,确定各空闲运输车与各待分配入库任务之间的第一分配关系。Further, the above-mentioned set of warehousing tasks to be allocated includes warehousing tasks to be allocated, and the first number of non-idle transport vehicles is the number of non-idle transport vehicles that perform warehousing tasks; The task set and the number of the first non-idle transport vehicles, determine the first assignment relationship between each idle transport vehicle and each to-be-allocated warehousing task, including: based on the idle transport vehicle information, each to-be-allocated warehousing task, and the first non-idle warehousing task The number of transport vehicles determines the first allocation relationship between each idle transport vehicle and each to-be-allocated warehousing task.
进一步地,上述待分配进库任务集合包括待分配入库任务和待分配返库任务;第一非空闲运输车数量包括执行入库任务的第一非空闲运输车分量和执行返库任务的第二非空闲运输车分量;相应的,基于空闲运输车信息、待分配进库任务集合以及第一非空闲运输车数量,确定各空闲运输车与各待分配进库任务之间的第一分配关系,包括:基于空闲运输车信息、各待分配入库任务以及第一非空闲运输车分量,确定各空闲运输车与各待分配入库任务之间的第一子分配关系;以及,基于空闲运输车信息、各待分配返库任务以及第二非空闲运输车分量,确定各空闲运输车与各待分配返库任务之间的第二子分配关系。Further, the above-mentioned warehousing task set to be allocated includes a warehousing task to be allocated and a warehouse returning task to be allocated; the first number of non-idle transport vehicles includes the first non-idle transport vehicle component that performs the warehousing task and the first non-idle transport vehicle that performs the warehouse-returning task. 2. The component of non-idle transport vehicles; correspondingly, based on the information of the idle transport vehicles, the set of tasks to be allocated into the warehouse, and the number of the first non-idle transport vehicles, determine the first allocation relationship between each idle transport vehicle and each of the tasks to be allocated into the warehouse , including: determining the first sub-allocation relationship between each idle transporter and each to-be-allocated warehousing task based on the information of the idle transporter, each to-be-allocated warehousing task and the first non-idle transporter component; and, based on the idle transporter The vehicle information, each to-be-allocated back-to-warehouse task, and the second non-idle transport vehicle component determine the second sub-allocation relationship between each of the idle transport vehicles and each to-be-allocated back-to-warehouse task.
进一步地,上述基于第一分配关系、空闲运输车信息、待分配出库任务集合以及第二非空闲运输车数量,确定各空闲运输车与各待分配出库任务之间的第二分配关系,包括:从当前空闲运输车集合中剔除各第一分配关系所对应的空闲运输车,得到剔除后的空闲运输车集合;基于剔除后的空闲运输车集合、待分配出库任务集合以及第二非空闲运输车数量,确定各第二分配关系。Further, based on the first allocation relationship, the information of the idle transport vehicles, the set of tasks to be allocated out of the warehouse, and the number of the second non-idle transport vehicles, the second allocation relationship between each idle transport vehicle and each of the tasks to be allocated out of the warehouse is determined, Including: excluding the idle transportation vehicles corresponding to each first allocation relationship from the current idle transportation vehicle set, and obtaining the eliminated idle transportation vehicle set; The number of idle transport vehicles is determined for each second allocation relationship.
进一步地,上述非空闲运输车信息包括在各个出库方向执行出库任务的第二子非空闲运输车数量;相应的,基于剔除后的空闲运输车集合、待分配出库任务集合以及第二非空闲运输车数量,确定各第二分配关系,包括:针对每个出库方向,基于出库方向对应的第二子非空闲运输车数量,确定出库方向上当前可执行出库任务的出库车辆数量阈值;基于待分配出库任务集合、剔除后的空闲运输车集合及出库车辆数量阈值,确定出库方向所对应的各第二分配关系。Further, the above-mentioned non-idle transport vehicle information includes the number of second sub-non-idle transport vehicles that perform outbound tasks in each outbound direction; correspondingly, based on the set of eliminated idle transport vehicles, the set of outbound tasks to be allocated, and the second The number of non-idle transport vehicles, and the determination of each second allocation relationship includes: for each outbound direction, based on the number of second sub-non-idle transport vehicles corresponding to the outbound direction, determining the outbound direction of the currently executable outbound task in the outbound direction. The threshold of the number of vehicles in the warehouse; based on the set of tasks to be allocated out of the warehouse, the set of idle transport vehicles after elimination, and the threshold of the number of vehicles out of the warehouse, each second assignment relationship corresponding to the outbound direction is determined.
进一步地,上述基于待分配出库任务集合、剔除后的空闲运输车集合及出库车辆数量阈值,确定出库方向所对应的各第二分配关系的过程,包括:将当前待分配出库任务集合及更新后的当前空闲运输车集合输入至第二运力分配模型,得到第三初步配对关系及对应的评价值;评价值表征第三初步配对关系中的空闲运输车开始执行任务的时间损失和\或路程损失;基于第三初步配对关系及对应的评价值,以及各个出库方向的待分配阈值,确定第二分配关系。Further, the above-mentioned process of determining each second assignment relationship corresponding to the outbound direction based on the set of outbound tasks to be allocated, the set of eliminated idle transport vehicles, and the threshold of the number of outbound vehicles includes: assigning the current outbound tasks to be allocated. The set and the updated set of current idle transport vehicles are input into the second capacity allocation model, and the third preliminary pairing relationship and the corresponding evaluation value are obtained; the evaluation value represents the time loss and the \ or distance loss; based on the third preliminary pairing relationship and the corresponding evaluation value, as well as the threshold to be allocated in each outbound direction, determine the second allocation relationship.
进一步地,每个上述待分配出库任务对应有各自的出库方向;基于第三初步配对关系及对应的评价值,以及各个出库方向的待分配阈值,确定第二分配关系的过程,包括:根据评价值对第三初步配对关系按照第二排序规则进行排序;针对每个出库方向,在排序后的第三初步配对关系中,将第一个至第出库方向对应的待分配阈值个的第三初步配对关系确定为过滤后的第三初步配对关系;将过滤后的所第三初步配对关系、以及第三初步配对关系中,待分配出库任务对应的出库方向确定为第二分配关系。Further, each of the above-mentioned tasks to be assigned out of the warehouse corresponds to a respective outbound direction; based on the third preliminary pairing relationship and the corresponding evaluation value, as well as the threshold to be assigned in each outbound direction, the process of determining the second distribution relationship includes: : Sort the third preliminary pairing relationship according to the second sorting rule according to the evaluation value; for each outbound direction, in the sorted third preliminary pairing relationship, the thresholds to be allocated corresponding to the first to the first outbound direction are sorted. The third preliminary pairing relationship is determined as the filtered third preliminary pairing relationship; in the filtered third preliminary pairing relationship and the third preliminary matching relationship, the outbound direction corresponding to the outbound task to be allocated is determined as the first Two distribution relations.
进一步地,每个上述待分配出库任务对应有各自的出库站类型;出库站类型包括多种,目标仓库存在至少一种类型的出库拣选站,每种出库站类型对应于出库任务阈值;基于第三初步配对关系及对应的评价值,以及各个出库方向的待分配阈值,确定第二分配关系的过程,包括:根据评价值对第三初步配对关系按照第三排序规则进行排序;针对每种类型的出库站类型,在第三初步配对关系中,将第一个至第出库站类型对应的目标出库任务阈值个的第三初步配对关系确定为过滤后的第三初步配对关系;基于损失函数计算过滤后的第三初步配对关系对应于各个出库方向的损失值;将损失值最小时第三初步库配对关系对应的出库方向确定为第三初步库配对关系的出库方向;将过滤后的第三初步配对关系及对应的出库方向确定为第二分配关系。Further, each of the above-mentioned outbound tasks to be assigned corresponds to its own outbound station type; the outbound station types include multiple types, and there is at least one type of outbound picking station in the target warehouse, and each outbound station type corresponds to the outbound station type. library task threshold; the process of determining the second assignment relationship based on the third preliminary pairing relationship and the corresponding evaluation value, as well as the thresholds to be assigned in each outbound direction, includes: according to the evaluation value, the third preliminary pairing relationship is sorted according to the third sorting rule Sorting; for each type of outbound station type, in the third preliminary pairing relationship, the third preliminary pairing relationship of the target outbound task threshold corresponding to the first to the first outbound station type is determined as the filtered The third preliminary pairing relationship; the filtered third preliminary pairing relationship is calculated based on the loss function and corresponds to the loss value of each outbound direction; the outbound direction corresponding to the third preliminary library pairing relationship when the loss value is the smallest is determined as the third preliminary library The outbound direction of the pairing relationship; the filtered third preliminary pairing relationship and the corresponding outbound direction are determined as the second distribution relationship.
本申请实施例提供的上述任务分配装置,与上述实施例提供的任务分配方法具有相同的技术特征,所以也能解决相同的技术问题,达到相同的技术效果。The above-mentioned task allocation device provided by the embodiment of the present application has the same technical features as the task allocation method provided by the above-mentioned embodiment, so it can also solve the same technical problem and achieve the same technical effect.
本申请实施例还提供了一种电子设备,参见图6所示,该电子设备包括处理器130和存储器131,该存储器131存储有能够被处理器130执行的机器可执行指令,该处理器130执行机器可执行指令以实现任务分配方法。The embodiment of the present application further provides an electronic device, as shown in FIG. 6 , the electronic device includes a
进一步地,图6所示的电子设备还包括总线132和通信接口133,处理器130、通信接口133和存储器131通过总线132连接。Further, the electronic device shown in FIG. 6 further includes a bus 132 and a
其中,存储器131可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个通信接口133(可以是有线或者无线)实现该系统网元与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。总线132可以是ISA总线、PCI总线或EISA总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The
处理器130可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器130中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器130可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DigitalSignal Processing,简称DSP)、专用集成电路(Application Specific IntegratedCircuit,简称ASIC)、现成可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器131,处理器130读取存储器131中的信息,结合其硬件完成前述实施例的方法的步骤。The
本申请实施例还提供了一种机器可读存储介质,该机器可读存储介质存储有机器可执行指令,该机器可执行指令在被处理器调用和执行时,该机器可执行指令促使处理器实现上述任务分配方法,具体实现可参见方法实施例,在此不再赘述。Embodiments of the present application further provide a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by the processor, the machine-executable instructions cause the processor to To implement the above task allocation method, the specific implementation can refer to the method embodiment, which will not be repeated here.
本申请实施例还提供了一种计算机程序产品,该计算机程序产品包括计算机程序,计算机程序在被处理器执行时可实现上述任务分配方法,具体实现可参考方法实施例,在此不再赘述。Embodiments of the present application also provide a computer program product, the computer program product includes a computer program, and the computer program can implement the above task allocation method when executed by a processor. For specific implementation, refer to the method embodiments, which will not be repeated here.
本申请实施例所提供的任务分配方法、电子设备计算机程序产品,包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。The task assignment method and electronic device computer program product provided by the embodiments of the present application include a computer-readable storage medium storing program codes, and the instructions included in the program codes can be used to execute the methods described in the foregoing method embodiments. For implementation, reference may be made to the method embodiments, which will not be repeated here.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,电子设备,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, an electronic device, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
最后应说明的是:以上所述实施例,仅为本申请的具体实施方式,用以说明本申请的技术方案,而非对其限制,本申请的保护范围并不局限于此,尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本申请实施例技术方案的精神和范围,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present application, and are used to illustrate the technical solutions of the present application, rather than limit them. The embodiments describe the application in detail, and those of ordinary skill in the art should understand that: any person skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in the application. Or can easily think of changes, or equivalently replace some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the application, and should be covered in this application. within the scope of protection. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111625895.4A CN114358681A (en) | 2021-12-28 | 2021-12-28 | Task allocation method, electronic device and computer program product |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111625895.4A CN114358681A (en) | 2021-12-28 | 2021-12-28 | Task allocation method, electronic device and computer program product |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114358681A true CN114358681A (en) | 2022-04-15 |
Family
ID=81103650
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111625895.4A Pending CN114358681A (en) | 2021-12-28 | 2021-12-28 | Task allocation method, electronic device and computer program product |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114358681A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115258482A (en) * | 2022-06-30 | 2022-11-01 | 北京旷视机器人技术有限公司 | Outbound control method, electronic device, readable storage medium, and outbound system |
| CN117892929A (en) * | 2024-03-18 | 2024-04-16 | 德阳经开智航科技有限公司 | Intelligent control method and system for remote production line based on capacity planning |
| CN119378961A (en) * | 2024-12-31 | 2025-01-28 | 成川科技(苏州)有限公司 | Vehicle task allocation method, device, storage medium and electronic device |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104820906A (en) * | 2015-05-21 | 2015-08-05 | 龙岩烟草工业有限责任公司 | Task scheduling method, device and system |
| CN107194646A (en) * | 2017-05-19 | 2017-09-22 | 北京京东尚科信息技术有限公司 | Stock's dispatching method and device |
| CN109552795A (en) * | 2017-09-26 | 2019-04-02 | 北京京东尚科信息技术有限公司 | Cargo warehouse-out method and device and computer readable storage medium |
| CN110182527A (en) * | 2019-04-11 | 2019-08-30 | 上海快仓智能科技有限公司 | Go out warehousing control method and handling system for shelf array |
| CN111582579A (en) * | 2020-05-08 | 2020-08-25 | 中航华东光电(上海)有限公司 | Predictive multi-AGV task allocation method based on topological map |
| CN112214024A (en) * | 2020-10-20 | 2021-01-12 | 浙江迈睿机器人有限公司 | AGV task allocation method, logistics sorting method and system |
| WO2021104524A1 (en) * | 2019-11-29 | 2021-06-03 | 杭州海康机器人技术有限公司 | Agv scheduling method and apparatus |
| CN113554250A (en) * | 2020-04-23 | 2021-10-26 | 北京京东乾石科技有限公司 | Information processing method and device for transport vehicle |
| CN113743747A (en) * | 2021-08-17 | 2021-12-03 | 广州工业智能研究院 | A multi-AGV collaborative scheduling method and device in a workshop environment |
-
2021
- 2021-12-28 CN CN202111625895.4A patent/CN114358681A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104820906A (en) * | 2015-05-21 | 2015-08-05 | 龙岩烟草工业有限责任公司 | Task scheduling method, device and system |
| CN107194646A (en) * | 2017-05-19 | 2017-09-22 | 北京京东尚科信息技术有限公司 | Stock's dispatching method and device |
| CN109552795A (en) * | 2017-09-26 | 2019-04-02 | 北京京东尚科信息技术有限公司 | Cargo warehouse-out method and device and computer readable storage medium |
| CN110182527A (en) * | 2019-04-11 | 2019-08-30 | 上海快仓智能科技有限公司 | Go out warehousing control method and handling system for shelf array |
| WO2021104524A1 (en) * | 2019-11-29 | 2021-06-03 | 杭州海康机器人技术有限公司 | Agv scheduling method and apparatus |
| CN113554250A (en) * | 2020-04-23 | 2021-10-26 | 北京京东乾石科技有限公司 | Information processing method and device for transport vehicle |
| CN111582579A (en) * | 2020-05-08 | 2020-08-25 | 中航华东光电(上海)有限公司 | Predictive multi-AGV task allocation method based on topological map |
| CN112214024A (en) * | 2020-10-20 | 2021-01-12 | 浙江迈睿机器人有限公司 | AGV task allocation method, logistics sorting method and system |
| CN113743747A (en) * | 2021-08-17 | 2021-12-03 | 广州工业智能研究院 | A multi-AGV collaborative scheduling method and device in a workshop environment |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115258482A (en) * | 2022-06-30 | 2022-11-01 | 北京旷视机器人技术有限公司 | Outbound control method, electronic device, readable storage medium, and outbound system |
| CN117892929A (en) * | 2024-03-18 | 2024-04-16 | 德阳经开智航科技有限公司 | Intelligent control method and system for remote production line based on capacity planning |
| CN119378961A (en) * | 2024-12-31 | 2025-01-28 | 成川科技(苏州)有限公司 | Vehicle task allocation method, device, storage medium and electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112978190B (en) | Picking task allocation method and its goods sorting system | |
| US12304738B2 (en) | Goods sorting method and goods sorting system | |
| CN114358681A (en) | Task allocation method, electronic device and computer program product | |
| CN108398924B (en) | Scheduling method and scheduling device for robot truck | |
| CN112278674B (en) | Scheduling method, device, device and storage medium | |
| CN111409997A (en) | A handling robot picking task scheduling method for mobile rack storage system | |
| CN114358680A (en) | Task assignment method, electronic device and computer program product | |
| CN109205163A (en) | Across tunnel Multilayer shuttle car warehousing system design method, system and storage medium | |
| CN112633756A (en) | Warehouse logistics scheduling method and related equipment | |
| CN113335811B (en) | Task balancing method, control terminal and sorting system thereof | |
| CN114529236A (en) | Storage management method and device for goods shelf, electronic equipment and storage medium | |
| CN114399247A (en) | Task allocation method, electronic device, storage medium, and computer program product | |
| CN117273606B (en) | Unmanned carrier scheduling method and system based on intelligent warehouse | |
| CN114662853B (en) | A method, device, product and medium for allocating a transport vehicle | |
| CN115630901A (en) | Stereo warehouse carrying and scheduling method and device | |
| CN116873431B (en) | A multi-load AGV storage and transportation method based on slate intelligent warehouse | |
| CN118428049A (en) | Simulation method and simulation system for warehouse system operation flow | |
| CN114580728B (en) | Elevator dispatching method, device, storage medium and electronic equipment | |
| CN115258482A (en) | Outbound control method, electronic device, readable storage medium, and outbound system | |
| WO2023226756A1 (en) | Device scheduling method, electronic device, and storage medium | |
| CN116262568A (en) | Equipment scheduling method, warehousing system, computer program product and storage medium | |
| CN113674051A (en) | Goods delivery method, device, electronic device and storage medium | |
| CN120117313B (en) | Three-dimensional warehouse-oriented AGV intelligent scheduling method and system | |
| CN115156090B (en) | Material box distribution method, electronic equipment and storage medium | |
| JP2004292077A (en) | Transportation work planning method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information |
Country or region after: China Address after: 100096 No.125, 1st floor, building 1, Xisanqi building materials City, Haidian District, Beijing Applicant after: Beijing Force Aggregation Robot Technology Co.,Ltd. Address before: 100096 No.125, 1st floor, building 1, Xisanqi building materials City, Haidian District, Beijing Applicant before: BEIJING KUANGSHI ROBOT TECHNOLOGY Co.,Ltd. Country or region before: China |
|
| CB02 | Change of applicant information | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20250126 Address after: No. 257, 2nd Floor, Building 9, No. 2 Huizhu Road, Kangmei Street, Liangjiang New District, Yubei District, Chongqing 401123 Applicant after: Force Aggregation (Chongqing) Robot Technology Co.,Ltd. Country or region after: China Address before: 100096 No.125, 1st floor, building 1, Xisanqi building materials City, Haidian District, Beijing Applicant before: Beijing Force Aggregation Robot Technology Co.,Ltd. Country or region before: China |
|
| TA01 | Transfer of patent application right |