HK1237504B - Method and device for processing order - Google Patents
Method and device for processing order Download PDFInfo
- Publication number
- HK1237504B HK1237504B HK17111263.8A HK17111263A HK1237504B HK 1237504 B HK1237504 B HK 1237504B HK 17111263 A HK17111263 A HK 17111263A HK 1237504 B HK1237504 B HK 1237504B
- Authority
- HK
- Hong Kong
- Prior art keywords
- storage
- storage box
- order
- target
- transportation
- Prior art date
Links
Description
技术领域Technical Field
本申请涉及计算机技术领域,具体涉及互联网技术领域,尤其涉及订单处理方法和装置。This application relates to the field of computer technology, specifically to the field of Internet technology, and in particular to order processing methods and apparatus.
背景技术Background Technology
随着电子商务的飞速发展,物品的出库量越来越大。通常在仓库里同一种物品都存放在不止一个储物箱中,在现有技术中,往往很难从不止一个储物箱中高效地确定出库储物箱。所以,如何提高物品的出库效率是亟待解决的问题。With the rapid development of e-commerce, the volume of goods leaving the warehouse is increasing dramatically. Typically, the same item is stored in more than one storage box in the warehouse. With current technology, it is often difficult to efficiently determine the appropriate storage box for shipment from multiple boxes. Therefore, improving the efficiency of goods leaving the warehouse is an urgent problem to be solved.
发明内容Summary of the Invention
本申请的目的在于提出一种改进的订单处理方法和装置,来解决以上背景技术部分提到的技术问题。The purpose of this application is to provide an improved order processing method and apparatus to solve the technical problems mentioned in the background section above.
第一方面,本申请实施例提供了一种订单处理方法,该方法包括:提取待处理订单中所记录的待出库物品的物品信息;从物品信息与储位信息的对应关系表中,获取存储待出库物品的至少一个储物箱在指定仓库中的储位信息;利用多目标遗传算法,根据获取的储位信息和预设的多个目标从至少一个储物箱中选择储物箱作为出库储物箱;确定出库储物箱的储位信息,根据预设的储位信息与运输装置的对应关系,确定出库储物箱的运输装置,并将出库储物箱的运输装置确定为目标运输装置;向目标运输装置发送运输指令,以使目标运输装置将出库储物箱运输至指定位置。In a first aspect, embodiments of this application provide an order processing method, which includes: extracting item information of items to be shipped from an order to be processed; obtaining storage location information of at least one storage box storing the items to be shipped in a designated warehouse from a correspondence table between item information and storage location information; using a multi-objective genetic algorithm, selecting a storage box as the shipping storage box from at least one storage box according to the obtained storage location information and multiple preset objectives; determining the storage location information of the shipping storage box, determining the shipping device of the shipping storage box according to the preset correspondence between storage location information and transportation device, and determining the shipping device of the shipping storage box as the target transportation device; and sending a transportation instruction to the target transportation device so that the target transportation device transports the shipping storage box to a designated location.
在一些实施例中,在向目标运输装置发送运输指令,以使目标运输装置将出库储物箱运输至指定位置之后,该方法还包括:获取待回库储物箱的处理状态列表,待回库储物箱的处理状态列表用于指示待回库的储物箱的处理状态;若处理状态列表中存在处于未处理状态的待回库储物箱的信息,则根据指定的多个目标,利用将未处理的待回库储物箱在指定历史时间段内的运输频率作为参数的多目标遗传算法,确定未处理的待回库储物箱在仓库中的目标储位;向指定的运输装置发送回库指令,以使指定的运输装置将未处理的待回库储物箱运输至目标储位。In some embodiments, after sending a transport instruction to a target transport device to transport the outbound storage box to a designated location, the method further includes: obtaining a processing status list of storage boxes to be returned to the warehouse, the processing status list indicating the processing status of the storage boxes to be returned to the warehouse; if there is information on unprocessed storage boxes in the processing status list, then, based on multiple specified targets, using a multi-objective genetic algorithm that takes the transport frequency of unprocessed storage boxes within a specified historical time period as a parameter, determining the target storage location of the unprocessed storage boxes to be returned in the warehouse; and sending a return instruction to a specified transport device to transport the unprocessed storage boxes to the target storage location.
在一些实施例中,在提取待处理订单中所记录的待出库物品的物品信息之前,该方法还包括:获取订单集合处理状态列表,订单集合处理状态列表用于指示由订单组成的订单集合的处理状态;根据订单集合处理状态列表,确定正在处理的订单集合的数量;若数量小于预设阈值,按照预设顺序,从待处理的至少一个订单集合中选取订单集合,并将所选取的订单集合中的订单作为待处理订单。In some embodiments, before extracting the item information of the items to be shipped recorded in the pending orders, the method further includes: obtaining an order set processing status list, which is used to indicate the processing status of an order set consisting of orders; determining the number of order sets being processed based on the order set processing status list; if the number is less than a preset threshold, selecting an order set from at least one pending order set in a preset order, and taking the orders in the selected order set as pending orders.
在一些实施例中,运输装置为穿梭车。In some embodiments, the transport device is a shuttle.
在一些实施例中,不同的储物箱存储在货架的不同储位上,在同一层的相邻的货架之间设置有物品的运输通道;以及预设的多个目标包括以下之一:出库储物箱数量最小化、在各个运输通道上运输的储物箱数量相差最小化以及各个出库储物箱到达指定位置的时间之和最小化。In some embodiments, different storage boxes are stored in different storage locations on the shelves, and transport channels for items are provided between adjacent shelves on the same floor; and a number of preset objectives include one of the following: minimizing the number of outbound storage boxes, minimizing the difference in the number of storage boxes transported on each transport channel, and minimizing the sum of the times for each outbound storage box to reach the designated location.
第二方面,本申请提供了一种订单处理装置,该装置包括:提取单元,配置用于提取待处理订单中所记录的待出库物品的物品信息;获取单元,配置用于从物品信息与储位信息的对应关系表中,获取存储待出库物品的至少一个储物箱在指定仓库中的储位信息;选择单元,配置用于利用多目标遗传算法,根据获取的储位信息和预设的多个目标从至少一个储物箱中选择储物箱作为出库储物箱;确定单元,配置用于确定出库储物箱的储位信息,根据预设的储位信息与运输装置的对应关系,确定出库储物箱的运输装置,并将出库储物箱的运输装置确定为目标运输装置;运输单元,配置用于向目标运输装置发送运输指令,以使目标运输装置将出库储物箱运输至指定位置。Secondly, this application provides an order processing apparatus, comprising: an extraction unit configured to extract item information of items to be shipped from an order to be processed; an acquisition unit configured to acquire, from a correspondence table of item information and storage location information, storage location information of at least one storage box storing the items to be shipped in a designated warehouse; a selection unit configured to use a multi-objective genetic algorithm to select a storage box as a shipping storage box from at least one storage box based on the acquired storage location information and multiple preset objectives; a determination unit configured to determine the storage location information of the shipping storage box, determine the shipping device of the shipping storage box based on a preset correspondence between storage location information and a transportation device, and determine the shipping device of the shipping storage box as a target transportation device; and a transportation unit configured to send a transportation instruction to the target transportation device so that the target transportation device transports the shipping storage box to a designated location.
在一些实施例中,该装置还包括:列表获取单元,配置用于获取待回库储物箱的处理状态列表,待回库储物箱的处理状态列表用于指示待回库的储物箱的处理状态;确定目标单元,配置用于若处理状态列表中存在处于未处理状态的待回库储物箱的信息,则根据指定的多个目标,利用将未处理的待回库储物箱在指定历史时间段内的运输频率作为参数的多目标遗传算法,确定未处理的待回库储物箱在仓库中的目标储位;发送单元,配置用于向指定的运输装置发送回库指令,以使指定的运输装置将未处理的待回库储物箱运输至目标储位。In some embodiments, the apparatus further includes: a list acquisition unit configured to acquire a list of processing statuses of storage boxes to be returned to the warehouse, the list indicating the processing status of the storage boxes to be returned; a target determination unit configured to, if there is information on unprocessed storage boxes in the processing status list, determine the target storage location of the unprocessed storage boxes in the warehouse based on multiple specified targets using a multi-objective genetic algorithm that takes the transportation frequency of the unprocessed storage boxes in a specified historical time period as a parameter; and a sending unit configured to send a return instruction to a specified transportation device to transport the unprocessed storage boxes to the target storage location.
在一些实施例中,该装置还包括:状态获取单元,配置用于获取订单集合处理状态列表,订单集合处理状态列表用于指示由订单组成的订单集合的处理状态;数量确定单元,配置用于根据订单集合处理状态列表,确定正在处理的订单集合的数量;选取单元,配置用于若数量小于预设阈值,按照预设顺序,从待处理的至少一个订单集合中选取订单集合,并将所选取的订单集合中的订单作为待处理订单。In some embodiments, the apparatus further includes: a status acquisition unit configured to acquire an order set processing status list, the order set processing status list indicating the processing status of an order set consisting of orders; a quantity determination unit configured to determine the quantity of order sets being processed based on the order set processing status list; and a selection unit configured to select an order set from at least one order set to be processed in a preset order if the quantity is less than a preset threshold, and to take the orders in the selected order set as orders to be processed.
在一些实施例中,不同的储物箱存储在货架的不同储位上,在同一层的相邻的货架之间设置有物品的运输通道;以及预设的多个目标包括以下之一:出库储物箱数量最小化、在各个运输通道上运输的储物箱数量相差最小化以及各个出库储物箱到达指定位置的时间之和最小化。In some embodiments, different storage boxes are stored in different storage locations on the shelves, and transport channels for items are provided between adjacent shelves on the same floor; and a number of preset objectives include one of the following: minimizing the number of outbound storage boxes, minimizing the difference in the number of storage boxes transported on each transport channel, and minimizing the sum of the times for each outbound storage box to reach the designated location.
本申请实施例提供的订单处理方法和装置,通过提取待处理订单中所记录的待出库物品的物品信息,从指定的物品信息与储位信息的对应关系表中,获取存储待出库物品的至少一个储物箱在指定仓库中的储位信息,而后利用多目标遗传算法,根据预设的多个目标从至少一个储物箱中选择储物箱作为出库储物箱,再确定出库储物箱的储位信息,根据预设的储位信息与运输装置的对应关系,确定出库储物箱的运输装置,并将出库储物箱的运输装置确定为目标运输装置,最后向目标运输装置发送运输指令,以使目标运输装置将出库储物箱运输至指定位置,本申请实施例利用多目标遗传算法确定出库储物箱,提高了物品的出库效率。The order processing method and apparatus provided in this application embodiment extract the item information of the items to be shipped from the order to be processed, obtain the storage location information of at least one storage box storing the items to be shipped in a designated warehouse from a specified correspondence table of item information and storage location information, and then use a multi-objective genetic algorithm to select a storage box as the shipping storage box from at least one storage box according to multiple preset objectives. Then, determine the storage location information of the shipping storage box, determine the shipping device of the shipping storage box according to the preset correspondence between storage location information and transportation device, and determine the shipping device of the shipping storage box as the target shipping device. Finally, send a transportation instruction to the target shipping device so that the target shipping device transports the shipping storage box to the designated location. This application embodiment uses a multi-objective genetic algorithm to determine the shipping storage box, thereby improving the shipping efficiency of items.
附图说明Attached Figure Description
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
图1是本申请可以应用于其中的示例性系统架构图;Figure 1 is an exemplary system architecture diagram in which this application can be applied;
图2是根据本申请的订单处理方法的一个实施例的流程图;Figure 2 is a flowchart of an embodiment of the order processing method according to this application;
图3是根据本申请的订单处理方法的一个应用场景的示意图;Figure 3 is a schematic diagram of an application scenario of the order processing method according to this application;
图4是根据本申请的订单处理方法的又一个实施例的流程图;Figure 4 is a flowchart of yet another embodiment of the order processing method according to this application;
图5是根据本申请的订单处理装置的一个实施例的结构示意图;Figure 5 is a schematic diagram of the structure of an embodiment of the order processing apparatus according to this application;
图6是适于用来实现本申请实施例的服务器的计算机系统的结构示意图。Figure 6 is a schematic diagram of the structure of a computer system suitable for implementing the server of the present application embodiments.
具体实施方式Detailed Implementation
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
图1示出了可以应用本申请的订单处理方法或订单处理装置的实施例的示例性系统架构100。Figure 1 illustrates an exemplary system architecture 100 of an embodiment of the order processing method or order processing apparatus to which the present application may be applied.
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in Figure 1, the system architecture 100 may include terminal devices 101, 102, and 103, a network 104, and a server 105. The network 104 serves as the medium for providing communication links between the terminal devices 101, 102, and 103 and the server 105. The network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如购物类应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as shopping applications, search applications, instant messaging tools, email clients, social media platform software, etc.
终端设备101、102、103可以是具有显示屏并且支持网上购物的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture ExpertsGroup Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving PictureExperts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。Terminal devices 101, 102, and 103 can be various electronic devices with displays that support online shopping, including but not limited to smartphones, tablets, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 players (Moving Picture Experts Group Audio Layer IV), laptops, and desktop computers, etc.
服务器105可以是进行订单处理的订单处理服务器,上述订单可以是用户使用终端设备101、102、103上的购物类应用购买物品所生成的订单。订单处理服务器可以对订单中物品的储位信息进行分析等处理,并将处理结果反馈给终端设备。Server 105 can be an order processing server for processing orders, which may be orders generated by users purchasing items using shopping applications on terminal devices 101, 102, and 103. The order processing server can analyze and process the storage information of the items in the order and feed the processing results back to the terminal devices.
需要说明的是,本申请实施例所提供的订单处理方法一般由服务器105执行,相应地,订单处理装置一般设置于服务器105中。It should be noted that the order processing method provided in this application embodiment is generally executed by server 105, and correspondingly, the order processing device is generally set in server 105.
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the number of terminal devices, networks, and servers shown in Figure 1 is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
继续参考图2,示出了根据本申请的订单处理方法的一个实施例的流程200。该订单处理方法,包括以下步骤:Referring again to Figure 2, a flow 200 of an embodiment of the order processing method according to this application is shown. The order processing method includes the following steps:
步骤201,提取待处理订单中所记录的待出库物品的物品信息。Step 201: Extract the item information of the items to be shipped from the orders to be processed.
在本实施例中,订单处理方法运行于其上的电子设备(例如图1所示的服务器)可以从本地的数据库(或内存空间)或者从终端设备获取待处理的订单。订单中记录了待出库物品的物品信息,可以将物品信息提取出来。In this embodiment, the electronic device (e.g., the server shown in Figure 1) on which the order processing method runs can retrieve orders to be processed from a local database (or memory space) or from a terminal device. The order records the item information of the items to be shipped, and this item information can be extracted.
待出库物品为等待出库的物品,上述电子设备可以对记录了物品信息的订单进行处理,以使待出库物品能够顺利出库。订单所指示的待出库物品可以是一件或者多件。物品信息是与物品相关的信息,具体地,物品信息可以是物品的名称、规格和件数等等。Items awaiting shipment are those ready to be dispatched. The aforementioned electronic equipment can process orders that record item information to ensure the smooth dispatch of these items. An order may indicate one or more items awaiting shipment. Item information refers to information related to the item; specifically, it may include the item's name, specifications, quantity, etc.
步骤202,从物品信息与储位信息的对应关系表中,获取存储待出库物品的至少一个储物箱在指定仓库中的储位信息。Step 202: Obtain the storage location information of at least one storage box storing items to be shipped out in the designated warehouse from the correspondence table between item information and storage location information.
在本实施例中,在上述电子设备的本地数据库中,可以存储有物品信息与储位信息的对应关系表,该对应关系表是实时更新的。在仓库中,可以有大量储位,储位用于存放装有物品的储物箱。同一种物品可以放置于一个或多个储物箱中。上述电子设备可以通过查找上述对应关系表,获取到存储物品的至少一个储物箱的储位信息。In this embodiment, the local database of the aforementioned electronic device can store a mapping table between item information and storage location information, and this mapping table is updated in real time. In the warehouse, there can be a large number of storage locations, which are used to store storage boxes containing items. The same item can be placed in one or more storage boxes. The aforementioned electronic device can obtain the storage location information of at least one storage box storing items by looking up the mapping table.
储位信息为指示储位位置的信息,具体可以包括储位所在的列数、层高以及是否是双进深等等。可以使用一串编号来表示储位信息。Storage location information indicates the location of a storage location, and may specifically include the column number, floor height, and whether it has double depth, etc. A string of numbers can be used to represent the storage location information.
上述的对应关系表记载了每个储物箱中存放的物品的物品信息,以及该储物箱的储位信息。通常每种物品都会存储在多个储物箱中,所以,可以通过一种物品的物品信息,查找到存储该种物品的多个储物箱分别对应的多个储位信息。The aforementioned correspondence table records the item information stored in each storage box, as well as the storage location information for that storage box. Typically, each item is stored in multiple storage boxes; therefore, by using the item information of one item, one can find the storage location information corresponding to each of the multiple storage boxes storing that item.
步骤203,利用多目标遗传算法,根据获取的储位信息和预设的多个目标从至少一个储物箱中选择储物箱作为出库储物箱。Step 203: Using a multi-objective genetic algorithm, select a storage box from at least one storage box as the outbound storage box based on the obtained storage location information and multiple preset objectives.
在本实施例中,在获得至少一个储物箱的储位信息之后,上述电子设备可以利用多目标遗传算法从至少一个储物箱中选择一个储物箱。可以预先设定算法所要实现的多个目标。在多个目标设定后,就可以将储位信息作为遗传算法的参数,计算得到最优子代储物箱。In this embodiment, after obtaining the storage location information of at least one storage box, the aforementioned electronic device can use a multi-objective genetic algorithm to select one storage box from the at least one storage box. Multiple objectives to be achieved by the algorithm can be preset. After setting the multiple objectives, the storage location information can be used as parameters of the genetic algorithm to calculate the optimal offspring storage box.
多目标遗传算法是一种通过模拟自然进化过程搜索最优解以实现多目标的方法。具体的,进行多目标遗传算法的运算,首先确定多个目标,例如,目标之一可以是储物箱的出库运输时间最短。可以随机选择初代储物箱,之后经过多次迭代,得到最优子代储物箱。将最优子代储物箱确定为物品的出库储物箱。Multi-objective genetic algorithms are a method that searches for optimal solutions by simulating the natural evolutionary process to achieve multiple objectives. Specifically, to perform a multi-objective genetic algorithm operation, multiple objectives are first determined. For example, one objective could be to minimize the outbound transportation time of storage boxes. Initial storage boxes can be randomly selected, and after multiple iterations, the optimal offspring storage boxes are obtained. The optimal offspring storage box is then determined as the outbound storage box for the item.
在本实施例的一些可选的实现方式中,不同的储物箱存储在货架的不同储位上,在同一层的相邻的货架之间设置有物品的运输通道;以及预设的多个目标包括以下之一:出库储物箱数量最小化、在各个运输通道上运输的储物箱数量相差最小化以及各个出库储物箱到达指定位置的时间之和最小化。In some optional implementations of this embodiment, different storage boxes are stored in different storage locations on the shelves, and transport channels for items are set between adjacent shelves on the same floor; and multiple preset objectives include one of the following: minimizing the number of outbound storage boxes, minimizing the difference in the number of storage boxes transported on each transport channel, and minimizing the sum of the times for each outbound storage box to reach the designated location.
在仓库中摆放有多个货架,货架在竖直方向上设置有很多层,而每一层都有多个储位。储物箱与储位是相对应的,不同的储物箱摆放在不同的储位上。而在同一层每两个相邻的货架之间设置有物品的运输通道,运输装置可以在运输通道移动,进行物品的运输。The warehouse contains multiple shelves arranged vertically with numerous tiers, each containing multiple storage spaces. Storage boxes are paired with storage spaces, with different boxes placed in different locations. A transport aisle is established between every two adjacent shelves on the same tier, allowing transport devices to move and move goods within the aisles.
在运输等量物品的情况下,运输尽可能少的出库储物箱,可以减少出库时间,提高出库效率。同时,让各个运输通道上正在运输的储物箱数量相差最小化,即是让各个运输通道上的储物箱数量均匀,可以防止由储物箱堆积在运输通道上导致的出库速度减慢。而实现各个出库储物箱到达指定位置的时间之和最小化的目标,即能够直接地提高物品出库效率。When transporting the same amount of goods, transporting as few outbound storage boxes as possible can reduce outbound time and improve outbound efficiency. Simultaneously, minimizing the difference in the number of storage boxes being transported in each transport aisle—that is, ensuring a uniform number of storage boxes across all aisles—prevents storage boxes from accumulating in the aisles and slowing down the outbound process. Ultimately, minimizing the sum of the times each outbound storage box takes to reach its designated location directly improves outbound efficiency.
可以对上述的多个目标设置权重以进行多目标遗传算法的运算。运算的具体方法属于本领域技术人员的常用技术手段,在此不再赘述。Weights can be assigned to the aforementioned multiple objectives to perform multi-objective genetic algorithm calculations. The specific calculation methods are common techniques used by those skilled in the art and will not be elaborated upon here.
需要说明的是,可以将上述的三个预设的目标(出库储物箱数量最小化、在各个运输通道上运输的储物箱数量相差最小化以及各个出库储物箱到达指定位置的时间之和最小化)都作为预设的多个目标,也可以将其中的任意两个目标的组合作为多个目标,还可以在这三个目标的基础上,增加其他的目标。It should be noted that the three preset objectives mentioned above (minimizing the number of outbound storage boxes, minimizing the difference in the number of storage boxes transported on each transportation channel, and minimizing the sum of the times for each outbound storage box to reach the designated location) can all be used as multiple preset objectives. Alternatively, any combination of any two objectives can be used as multiple objectives. Furthermore, other objectives can be added based on these three objectives.
利用适当的工具进行计算可以提高计算效率,具体地,可以使用指定的面向对象编程语言开发工具来进行多目标遗传算法的运算,例如:IntelliJ IDEA,IntelliJ IDEA是一种java语言集成开发工具,在智能代码助手、代码自动提示、重构、J2EE支持、各类版本工具(git、svn、github等)、JUnit、CVS整合、代码分析、创新的GUI设计等方面的功能优良。Using appropriate tools for computation can improve computational efficiency. Specifically, multi-objective genetic algorithms can be performed using specified object-oriented programming language development tools, such as IntelliJ IDEA. IntelliJ IDEA is a Java language integrated development environment (IDE) with excellent features in areas such as intelligent code assistance, code auto-completion, refactoring, J2EE support, various version control tools (git, svn, github, etc.), JUnit, CVS integration, code analysis, and innovative GUI design.
步骤204,确定出库储物箱的储位信息,根据预设的储位信息与运输装置的对应关系,确定出库储物箱的运输装置,并将出库储物箱的运输装置确定为目标运输装置。Step 204: Determine the storage location information of the outbound storage box. Based on the preset correspondence between the storage location information and the transportation device, determine the transportation device of the outbound storage box and designate the transportation device of the outbound storage box as the target transportation device.
在本实施例中,上述电子设备可以从获取的储位信息中,确定出库储物箱的储位信息。在仓库中,运输装置是可以运输物品的装置。每个储位上的储物箱都由一个对应的运输装置进行运输。获取储位信息与运输装置的对应关系,就可以利用出库储物箱的储位信息确定出库储物箱的运输装置。可以将确定的运输装置确定为目标运输装置。In this embodiment, the aforementioned electronic device can determine the storage location information of the outgoing storage box from the acquired storage location information. In a warehouse, a transport device is a device capable of transporting goods. Each storage box in a storage location is transported by a corresponding transport device. By obtaining the correspondence between storage location information and transport devices, the transport device for the outgoing storage box can be determined using the storage location information of the outgoing storage box. The determined transport device can then be designated as the target transport device.
在本实施例的一些可选的实现方式中,运输装置为穿梭车。In some optional implementations of this embodiment, the transport device is a shuttle.
穿梭车(shuttle)是可以在货架之间穿行的运输车。可以在货架的每层配置一辆穿梭车。所以,同一层的储位可以对应一台穿梭车。当然,也可以在一层设置多辆穿梭车或者在多层设置一辆穿梭车。A shuttle is a transport vehicle that can travel between shelves. One shuttle can be configured on each shelf level. Therefore, one shuttle can correspond to one storage location on the same shelf level. Of course, multiple shuttles can be configured on one shelf level, or one shuttle can be configured across multiple floors.
步骤205,向目标运输装置发送运输指令,以使目标运输装置将出库储物箱运输至指定位置。Step 205: Send a transport instruction to the target transport device so that the target transport device transports the outbound storage box to the designated location.
在本实施例中,上述电子设备可以向确定得到的目标运输装置发送运输指令,该运输指令为指示目标运输装置进行运输的指令,在运输指令中可以包括出库储物箱的储位信息,还可以包括运输的目的地。在目标运输装置接收到运输指令后,将出库储物箱运输到指定位置。In this embodiment, the aforementioned electronic device can send a transportation instruction to the determined target transportation device. This transportation instruction instructs the target transportation device to perform transportation, and may include the storage location information of the outgoing storage box, as well as the destination of the transportation. After receiving the transportation instruction, the target transportation device transports the outgoing storage box to the designated location.
指定位置可以是目标运输装置所能达到的任意地理位置。运输装置将出库储物箱运输至指定位置,从而完成出库的一个环节。The designated location can be any geographical location reachable by the target transport device. The transport device moves the outbound storage box to the designated location, thus completing one step of the outbound process.
继续参见图3,图3是根据本实施例的订单处理方法的应用场景的一个示意图。在图3的应用场景中,订单处理服务器从本地数据库提取待处理订单中所记录的待出库物品“皮球”的物品信息;之后,订单处理服务器可以从物品信息与储位信息的对应关系表中,获取存储待出库物品“皮球”的至少一个储物箱在指定仓库中的储位信息;然后,服务器利用多目标遗传算法,根据获取的储位信息和预设的多个目标从至少一个储物箱中选择储物箱作为出库储物箱;再确定出库储物箱的储位信息,根据预设的储位信息与运输装置的对应关系,确定出库储物箱的运输装置,并将出库储物箱的运输装置确定为目标运输装置;最后,服务器向目标运输装置发送运输指令,以使目标运输装置将出库储物箱运输至指定位置。Referring again to Figure 3, which is a schematic diagram of an application scenario of the order processing method according to this embodiment, in the application scenario of Figure 3, the order processing server extracts the item information of the item "ball" to be shipped from the order to be processed recorded in the local database. Then, the order processing server can obtain the storage location information of at least one storage box storing the item "ball" in the designated warehouse from the correspondence table between item information and storage location information. Then, the server uses a multi-objective genetic algorithm to select a storage box as the shipping storage box from at least one storage box according to the obtained storage location information and multiple preset objectives. Then, the server determines the storage location information of the shipping storage box, and determines the shipping device of the shipping storage box according to the correspondence between the preset storage location information and the transportation device, and determines the shipping device of the shipping storage box as the target shipping device. Finally, the server sends a transportation instruction to the target shipping device so that the target shipping device transports the shipping storage box to the designated location.
本申请的上述实施例提供的方法本申请实施例利用多目标遗传算法确定出库储物箱,提高了物品的出库效率。The method provided in the above embodiments of this application utilizes a multi-objective genetic algorithm to determine the outbound storage box, thereby improving the outbound efficiency of items.
进一步参考图4,其示出了订单处理方法的又一个实施例的流程400。该订单处理方法的流程400,包括以下步骤:Referring further to Figure 4, a flow 400 of another embodiment of the order processing method is shown. Flow 400 of this order processing method includes the following steps:
步骤401,获取订单集合处理状态列表。Step 401: Obtain the order collection processing status list.
在本实施例中,订单集合处理状态列表用于指示由订单组成的订单集合的处理状态。考虑到上述服务器的处理能力是有限的,在本申请中,为了保证订单能够得到正常的处理,也即为了保证服务器不会因为过载而导致宕机或出现其他问题,需要获取订单的处理状态,以获知正在处理的订单数量。所以,服务器获取订单集合处理状态列表,订单集合处理状态列表中记载了由订单组成的订单集合的处理状态。In this embodiment, the order set processing status list is used to indicate the processing status of an order set consisting of orders. Considering the limited processing capacity of the server, in order to ensure that orders are processed normally, i.e., to prevent the server from crashing or experiencing other problems due to overload, it is necessary to obtain the processing status of the orders to determine the number of orders being processed. Therefore, the server obtains the order set processing status list, which records the processing status of the order set consisting of orders.
在实践中,订单集合可以包括一个或多个订单,订单集合中包括的订单是尚未进行出库处理的订单。订单集合处理状态可以包括未处理、正在处理和处理完成三种状态。In practice, an order set can include one or more orders, which are orders that have not yet been processed for shipment. The processing status of an order set can include three states: unprocessed, being processed, and processed.
步骤402,根据订单集合处理状态列表,确定正在处理的订单集合的数量。Step 402: Determine the number of order sets currently being processed based on the order set processing status list.
在本实施例中,因为订单集合处理状态列表可以指示订单集合的处理状态,所以服务器可以直接由该订单集合处理状态列表确定有多少个订单集合处于正在处理的状态。In this embodiment, since the order set processing status list can indicate the processing status of the order set, the server can directly determine how many order sets are in the processing state from the order set processing status list.
步骤403,若数量小于预设阈值,按照预设顺序,从待处理的至少一个订单集合中选取订单集合,并将所选取的订单集合中的订单作为待处理订单。Step 403: If the quantity is less than a preset threshold, select an order set from at least one order set to be processed according to a preset order, and take the orders in the selected order set as orders to be processed.
在本实施例中,可以预先对正在处理的订单集合设定一个数量阈值作为预设阈值。如果确定正在处理的订单集合的数量小于该预设阈值,则上述服务器自身还有处理能力,可以从至少一个订单集合中,按照预先设定的选取顺序,选取一个订单集合,并将所选取的订单集合中的订单作为待处理订单。In this embodiment, a quantity threshold can be preset for the set of orders being processed. If it is determined that the number of orders being processed is less than the preset threshold, the server itself still has processing capacity and can select an order set from at least one order set according to a preset selection order, and treat the orders in the selected order set as orders to be processed.
举例来说,预设阈值为3,也就是服务器能够处理的订单集合的数量为3。如果订单集合处理状态列表显示,当前正在处理的订单集合的数量为2个,则可以从多个订单集合中,选取一个订单集合进行出库处理。For example, the preset threshold is 3, meaning the server can handle a maximum of 3 order sets. If the order set processing status list shows that 2 order sets are currently being processed, then one order set can be selected from the multiple order sets for outbound processing.
预设顺序可以是随机或者订单集合生成的时间顺序等等。The preset order can be random or the time order in which the order set is generated, etc.
步骤404,提取待处理订单中所记录的待出库物品的物品信息。Step 404: Extract the item information of the items to be shipped from the pending orders.
在本实施例中,上述服务器可以从本地的数据库(或内存空间)或者从终端设备获取待处理的订单。订单中记录了待出库物品的物品信息,上述服务器将物品信息提取出来。In this embodiment, the server can retrieve pending orders from a local database (or memory space) or from a terminal device. The orders record item information for the items to be shipped, and the server extracts this item information.
步骤405,从物品信息与储位信息的对应关系表中,获取存储待出库物品的至少一个储物箱在指定仓库中的储位信息。Step 405: Obtain the storage location information of at least one storage box storing items to be shipped out in the designated warehouse from the correspondence table between item information and storage location information.
在本实施例中,在上述服务器的本地数据库中,可以存储有物品信息与储位信息的对应关系表,该对应关系表是实时更新的。在仓库中可以设置有大量储位,储位用于存放装有物品的储物箱。同一种物品可以放置于一个或多个储物箱中。上述服务器可以通过查找上述对应关系表,获取到存储物品的至少一个储物箱的储位信息,也即,获取到物品存储在哪一个或几个储位。In this embodiment, the local database of the aforementioned server can store a mapping table between item information and storage location information, and this mapping table is updated in real time. A large number of storage locations can be set up in the warehouse, and these locations are used to store storage boxes containing items. The same item can be placed in one or more storage boxes. The aforementioned server can obtain the storage location information of at least one storage box storing an item by looking up the mapping table; that is, it can determine which one or more storage locations the item is stored in.
步骤406,利用多目标遗传算法,根据获取的储位信息和预设的多个目标从至少一个储物箱中选择储物箱作为出库储物箱。Step 406: Using a multi-objective genetic algorithm, select a storage box from at least one storage box as the outbound storage box based on the obtained storage location information and multiple preset objectives.
在本实施例中,在获得至少一个储物箱的储位信息之后,上述服务器可以利用多目标遗传算法从至少一个储物箱中选择一个储物箱。可以预先设定算法所要实现的多个目标。在多个目标设定后,就可以将储位信息作为遗传算法的参数,计算得到最优子代储物箱。可以以订单集合为单位进行多目标遗传算法的计算,将订单集合中包括的订单所指示的所有物品均加入计算,以实现预设的多个目标。In this embodiment, after obtaining the storage location information of at least one storage box, the server can use a multi-objective genetic algorithm to select one storage box from the at least one storage box. Multiple objectives to be achieved by the algorithm can be preset. After setting the multiple objectives, the storage location information can be used as parameters for the genetic algorithm to calculate the optimal offspring storage box. The multi-objective genetic algorithm can be calculated on a per-order set basis, incorporating all items indicated by the orders included in the order set into the calculation to achieve the preset multiple objectives.
步骤407,确定出库储物箱的储位信息,根据预设的储位信息与运输装置的对应关系,确定出库储物箱的运输装置,并将出库储物箱的运输装置确定为目标运输装置。Step 407: Determine the storage location information of the outbound storage box. Based on the preset correspondence between the storage location information and the transportation device, determine the transportation device of the outbound storage box and designate the transportation device of the outbound storage box as the target transportation device.
在本实施例中,上述服务器可以从获取的储位信息中,确定出库储物箱的储位信息。在仓库中,运输装置是可以运输物品的装置。每个储位上的储物箱都由一个对应的运输装置进行运输。获取储位信息与运输装置的对应关系,就可以利用出库储物箱的储位信息确定出库储物箱的运输装置。可以将确定的运输装置确定为目标运输装置。In this embodiment, the server can determine the storage location information of the outgoing storage box from the acquired storage location information. In a warehouse, a transport device is a device that can transport goods. Each storage box in a storage location is transported by a corresponding transport device. By obtaining the correspondence between storage location information and transport devices, the transport device for the outgoing storage box can be determined using the storage location information of the outgoing storage box. The determined transport device can be designated as the target transport device.
步骤408,向目标运输装置发送运输指令,以使目标运输装置将出库储物箱运输至指定位置。Step 408: Send a transport instruction to the target transport device so that the target transport device transports the outbound storage box to the designated location.
在本实施例中,上述服务器可以向确定得到的目标运输装置发送运输指令,该运输指令为指示目标运输装置进行运输的指令,在运输指令中可以包括出库储物箱的储位信息,还可以包括运输的目的地。在目标运输装置接收到运输指令后,将出库储物箱运输到指定位置。In this embodiment, the server can send a transportation instruction to the determined target transportation device. This instruction instructs the target transportation device to perform transportation, and may include the storage location information of the outgoing storage box and the destination. After receiving the transportation instruction, the target transportation device transports the outgoing storage box to the designated location.
步骤409,获取待回库储物箱的处理状态列表。Step 409: Obtain the processing status list of storage boxes to be returned to the warehouse.
在本实施例中,在运输装置将出库储物箱运输到指定位置之后,可以由升降机、传送装置等运输装置将储物箱进一步运输到分拣区域,以进入物品的分拣程序。在分拣完成后,储物箱则可以运输回库。而储物箱所要到达的储位可以不同于之前的储位,而由服务器进行重新设定。服务器要重新设定储位,需要从待回库储物箱的处理状态列表获取待回库储物箱的处理状态,待回库储物箱的处理状态列表为记录了待回库储物箱的处理状态的列表,用于指示待回库的储物箱的处理状态。待回库储物箱的处理状态可以包括未处理、正在处理和处理完成三种状态。In this embodiment, after the transport device moves the outbound storage box to the designated location, it can be further transported to the sorting area by a lift, conveyor, or other transport device to enter the sorting process. After sorting, the storage box can be transported back to the warehouse. The storage location the box is to reach may differ from its previous location and is reset by the server. To reset the storage location, the server needs to obtain the processing status of the storage boxes to be returned from the processing status list. This list records the processing status of the storage boxes to be returned and indicates their status. The processing status of the storage boxes to be returned can include three states: unprocessed, processing, and processed.
步骤410,若处理状态列表中存在处于未处理状态的待回库储物箱的信息,则根据指定的多个目标,利用将未处理的待回库储物箱在指定历史时间段内的运输频率作为参数的多目标遗传算法,确定未处理的待回库储物箱在仓库中的目标储位。Step 410: If there is information on unprocessed storage boxes in the processing status list, then based on multiple specified objectives, a multi-objective genetic algorithm is used to determine the target storage location of the unprocessed storage boxes in the warehouse by using the transportation frequency of the unprocessed storage boxes in the specified historical time period as a parameter.
在本实施例中,若在待回库储物箱的处理状态列表中存在处于未处理状态的待回库储物箱的信息,即上述服务器可以确定还存在待回库的储物箱。则可以根据指定的多个目标,将该待回库储物箱在指定历史时间段内的运输频率作为参数,进行多目标遗传算法的计算,以得到该待回库储物箱在仓库中的目标储位。In this embodiment, if there is information about an unprocessed storage box in the processing status list of storage boxes awaiting return, the server can determine that there are still storage boxes awaiting return. Then, based on multiple specified objectives, the transport frequency of the storage box within a specified historical time period can be used as a parameter to perform a multi-objective genetic algorithm calculation to obtain the target storage location of the storage box in the warehouse.
计算得到目标储位所要实现的多个目标可以包括:存储待回库物品的储物箱在各层的数量相差最小化、回库储物箱入库时长最小化。储物箱的运输频率可以用以表示储物箱中的物品是否热销,运输频率越高,表示该物品越热销,则可以将取放比较方便的储位作为目标储位。比如,一个存储某种饼干的储物箱非常热销,可以将该储物箱放置于货架的第一层。这里的指定历史时间段可以是刚过去的一段时间,比如的一个月,一周等等。The calculated objectives for a target storage location can include minimizing the difference in the number of lockers storing items awaiting return across different shelves, and minimizing the time it takes for lockers to be stored. The transport frequency of lockers can indicate the popularity of the items within them; a higher transport frequency indicates higher demand, allowing for the selection of easily accessible storage locations as the target location. For example, a locker storing a particular type of biscuit might be very popular and could be placed on the first shelf. The specified historical time period can be a recent period, such as a month or a week.
在运输频率之外,还可以采用其他的参数进行计算,例如当前处于空置状态的储位的储位信息等。In addition to transportation frequency, other parameters can be used for calculation, such as storage location information of storage locations that are currently vacant.
具体地,可以随机选择初代储位,然后进行多次迭代,得到最优子代储位作为目标储位。Specifically, the initial storage location can be randomly selected, and then multiple iterations can be performed to obtain the optimal offspring storage location as the target storage location.
步骤411,向指定的运输装置发送回库指令,以使指定的运输装置将未处理的待回库储物箱运输至目标储位。Step 411: Send a return instruction to the designated transport device so that the designated transport device transports the unprocessed return-to-warehouse storage box to the target storage location.
在本实施例中,上述服务器在确定目标储位之后,可以向指定的运输装置发送回库指令,该回库指令可以包括目标储位的储位信息,这样指定的运输装置就可以根据回库指令将待回库储物箱运输到目标储位。这里的指定的运输装置可以是一种或多种运输装置,比如升降机、传送装置和穿梭车等。并且这里指定的运输装置的数量也可以是一个或多个。In this embodiment, after determining the target storage location, the server can send a return instruction to a designated transport device. This return instruction can include the storage location information of the target location, allowing the designated transport device to transport the storage box to be returned to the target location according to the return instruction. The designated transport device can be one or more types of transport devices, such as elevators, conveyors, and shuttles. Furthermore, the number of designated transport devices can also be one or more.
从图4中可以看出,与图2对应的实施例相比,本实施例中的订单处理方法的流程400根据服务器的负载情况来进行订单处理,能够保证订单处理的顺利进行。并且,本实施例根据回库储物箱的运输频率对回库储物箱的储位进行设定,为回库储物箱选择适当的储位,更有利于缩短储物箱下一次出库的时间。As can be seen from Figure 4, compared with the embodiment corresponding to Figure 2, the order processing method in this embodiment processes orders according to the server load, ensuring smooth order processing. Furthermore, this embodiment sets the storage location of the returning storage boxes based on the transportation frequency, selecting appropriate storage locations for the returning storage boxes, which is more conducive to shortening the time for the next outbound shipment of the storage boxes.
进一步参考图5,作为对上述各图所示方法的实现,本申请提供了一种订单处理装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Referring further to FIG5, as an implementation of the methods shown in the above figures, this application provides an embodiment of an order processing device, which corresponds to the method embodiment shown in FIG2, and the device can be specifically applied to various electronic devices.
如图5所示,本实施例的订单处理装置500包括:提取单元501、获取单元502、选择单元503、确定单元504和运输单元505。其中,提取单元501,配置用于提取待处理订单中所记录的待出库物品的物品信息;获取单元502,配置用于从物品信息与储位信息的对应关系表中,获取存储待出库物品的至少一个储物箱在指定仓库中的储位信息;选择单元503,配置用于利用多目标遗传算法,根据获取的储位信息和预设的多个目标从至少一个储物箱中选择储物箱作为出库储物箱;确定单元504,配置用于确定出库储物箱的储位信息,根据预设的储位信息与运输装置的对应关系,确定出库储物箱的运输装置,并将出库储物箱的运输装置确定为目标运输装置;运输单元505,配置用于向目标运输装置发送运输指令,以使目标运输装置将出库储物箱运输至指定位置。As shown in Figure 5, the order processing device 500 of this embodiment includes: an extraction unit 501, an acquisition unit 502, a selection unit 503, a determination unit 504, and a transportation unit 505. The extraction unit 501 is configured to extract item information of items to be shipped from the order to be processed; the acquisition unit 502 is configured to obtain storage location information of at least one storage box storing the items to be shipped in a designated warehouse from a table corresponding to item information and storage location information; the selection unit 503 is configured to use a multi-objective genetic algorithm to select a storage box as the shipping storage box from at least one storage box based on the obtained storage location information and multiple preset objectives; the determination unit 504 is configured to determine the storage location information of the shipping storage box, determine the transportation device of the shipping storage box based on a preset correspondence between storage location information and transportation devices, and designate the transportation device of the shipping storage box as the target transportation device; the transportation unit 505 is configured to send a transportation instruction to the target transportation device so that the target transportation device transports the shipping storage box to a designated location.
在本实施例中,订单处理装置500的提取单元501可以从本地的数据库(或内存空间)或者从终端设备获取待处理的订单。订单中记录了待出库物品的物品信息,提取单元501将物品信息提取出来。In this embodiment, the extraction unit 501 of the order processing device 500 can retrieve orders to be processed from a local database (or memory space) or from a terminal device. The order records the item information of the items to be shipped, and the extraction unit 501 extracts the item information.
在本实施例中,在获取单元502的本地数据库中,可以存储有物品信息与储位信息的对应关系表,该对应关系表是实时更新的。在仓库中,可以有大量储位,储位用于存放装有物品的储物箱。同一种物品可以放置于一个或多个储物箱中。获取单元502可以通过查找上述对应关系表,获取到存储物品的至少一个储物箱的储位信息。In this embodiment, the local database of the acquisition unit 502 can store a correspondence table between item information and storage location information, and this correspondence table is updated in real time. In the warehouse, there can be a large number of storage locations, which are used to store storage boxes containing items. The same item can be placed in one or more storage boxes. The acquisition unit 502 can obtain the storage location information of at least one storage box storing items by searching the aforementioned correspondence table.
在本实施例中,在获得至少一个储物箱的储位信息之后,选择单元503可以利用多目标遗传算法从至少一个储物箱中选择一个储物箱。可以预先设定算法所要实现的多个目标。在多个目标设定后,就可以将储位信息作为遗传算法的参数,计算得到最优子代储物箱。In this embodiment, after obtaining the storage location information of at least one storage box, the selection unit 503 can use a multi-objective genetic algorithm to select one storage box from the at least one storage box. Multiple objectives to be achieved by the algorithm can be preset. After setting multiple objectives, the storage location information can be used as parameters of the genetic algorithm to calculate the optimal offspring storage box.
在本实施例中,确定单元504可以从获取的储位信息中,确定出库储物箱的储位信息。在仓库中,运输装置是可以运输物品的装置。每个储位上的储物箱都由一个对应的运输装置进行运输。获取储位信息与运输装置的对应关系,就可以利用出库储物箱的储位信息确定出库储物箱的运输装置。可以将确定的运输装置确定为目标运输装置。In this embodiment, the determining unit 504 can determine the storage location information of the outgoing storage box from the acquired storage location information. In a warehouse, a transport device is a device that can transport goods. Each storage box in a storage location is transported by a corresponding transport device. By acquiring the correspondence between storage location information and transport devices, the transport device for the outgoing storage box can be determined using the storage location information of the outgoing storage box. The determined transport device can be designated as the target transport device.
在本实施例中,运输单元505可以向确定得到的目标运输装置发送运输指令,该运输指令为指示目标运输装置进行运输的指令,在运输指令中可以包括出库储物箱的储位信息,还可以包括运输的目的地。在目标运输装置接收到运输指令后,将出库储物箱运输到指定位置。In this embodiment, the transportation unit 505 can send a transportation instruction to the determined target transportation device. This instruction instructs the target transportation device to perform transportation, and may include the storage location information of the outgoing storage box and the destination of the transportation. After receiving the transportation instruction, the target transportation device transports the outgoing storage box to the designated location.
在本实施例的一些可选的实现方式中,订单处理装置500还包括:列表获取单元(未示出),配置用于获取待回库储物箱的处理状态列表,待回库储物箱的处理状态列表用于指示待回库的储物箱的处理状态;确定目标单元(未示出),配置用于若处理状态列表中存在处于未处理状态的待回库储物箱的信息,则根据指定的多个目标,利用将未处理的待回库储物箱在指定历史时间段内的运输频率作为参数的多目标遗传算法,确定未处理的待回库储物箱在仓库中的目标储位;发送单元(未示出),配置用于向指定的运输装置发送回库指令,以使指定的运输装置将未处理的待回库储物箱运输至目标储位。In some optional implementations of this embodiment, the order processing device 500 further includes: a list acquisition unit (not shown), configured to acquire a processing status list of storage boxes to be returned to the warehouse, the processing status list of storage boxes to be returned to the warehouse being used to indicate the processing status of storage boxes to be returned to the warehouse; a target determination unit (not shown), configured to, if there is information on storage boxes to be returned to the warehouse that are in an unprocessed state in the processing status list, determine the target storage location of the unprocessed storage boxes to be returned to the warehouse in the warehouse based on multiple specified targets and using a multi-objective genetic algorithm that takes the transportation frequency of the unprocessed storage boxes to be returned to the warehouse within a specified historical time period as a parameter; and a sending unit (not shown), configured to send a return instruction to a specified transportation device so that the specified transportation device transports the unprocessed storage boxes to the target storage location.
在本实施例的一些可选的实现方式中,订单处理装置500还包括:状态获取单元(未示出),配置用于获取订单集合处理状态列表,订单集合处理状态列表用于指示由订单组成的订单集合的处理状态;数量确定单元(未示出),配置用于根据订单集合处理状态列表,确定正在处理的订单集合的数量;选取单元(未示出),配置用于若数量小于预设阈值,按照预设顺序,从待处理的至少一个订单集合中选取订单集合,并将所选取的订单集合中的订单作为待处理订单。In some optional implementations of this embodiment, the order processing device 500 further includes: a status acquisition unit (not shown), configured to acquire an order set processing status list, the order set processing status list being used to indicate the processing status of an order set composed of orders; a quantity determination unit (not shown), configured to determine the quantity of order sets being processed based on the order set processing status list; and a selection unit (not shown), configured to select an order set from at least one order set to be processed in a preset order if the quantity is less than a preset threshold, and to use the orders in the selected order set as orders to be processed.
在本实施例的一些可选的实现方式中,不同的储物箱存储在货架的不同储位上,在同一层的相邻的货架之间设置有物品的运输通道;以及预设的多个目标包括以下之一:出库储物箱最少、在各个运输通道上运输的储物箱数量相差最小以及各个出库储物箱到达指定位置的时间之和最小。In some optional implementations of this embodiment, different storage boxes are stored in different storage locations on the shelves, and transport channels for items are set between adjacent shelves on the same floor; and multiple preset objectives include one of the following: minimizing the number of outbound storage boxes, minimizing the difference in the number of storage boxes transported on each transport channel, and minimizing the sum of the times for each outbound storage box to reach the designated location.
图6示出了适于用来实现本申请实施例的服务器的计算机系统的结构示意图。如图6所示,计算机系统600包括中央处理单元(CPU)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储部分608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有系统600操作所需的各种程序和数据。CPU 601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。Figure 6 shows a schematic diagram of a computer system suitable for implementing the server embodiments of this application. As shown in Figure 6, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage portion 608 into a random access memory (RAM) 603. The RAM 603 also stores various programs and data required for the operation of the system 600. The CPU 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input/output (I/O) interface 605 is also connected to the bus 604.
以下部件连接至I/O接口605:包括键盘、鼠标等的输入部分606;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器610也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。The following components are connected to I/O interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to I/O interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 610 as needed so that computer programs read from it can be installed into storage section 608 as needed.
特别地,根据本申请的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分609从网络上被下载和安装,和/或从可拆卸介质611被安装。在该计算机程序被中央处理单元(CPU)601执行时,执行本申请的方法中限定的上述功能。需要说明的是,本申请的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and/or installed from removable medium 611. When the computer program is executed by central processing unit (CPU) 601, it performs the functions defined in the methods of this application. It should be noted that the computer-readable medium of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on a computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括提取单元、获取单元、选择单元、确定单元和运输单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,提取单元还可以被描述为“提取待处理订单中所记录的待出库物品的物品信息的单元”。The units described in the embodiments of this application can be implemented in software or hardware. The described units can also be housed in a processor; for example, a processor can be described as including an extraction unit, an acquisition unit, a selection unit, a determination unit, and a transportation unit. The names of these units do not necessarily limit the specific unit itself; for example, an extraction unit can also be described as "a unit that extracts item information of items to be shipped from an order to be processed."
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的装置中所包含的;也可以是单独存在,而未装配入该装置中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该装置执行时,使得该装置:提取待处理订单中所记录的待出库物品的物品信息;从物品信息与储位信息的对应关系表中,获取存储待出库物品的至少一个储物箱在指定仓库中的储位信息;利用多目标遗传算法,根据获取的储位信息和预设的多个目标从至少一个储物箱中选择储物箱作为出库储物箱;确定出库储物箱的储位信息,根据预设的储位信息与运输装置的对应关系,确定出库储物箱的运输装置,并将出库储物箱的运输装置确定为目标运输装置;向目标运输装置发送运输指令,以使目标运输装置将出库储物箱运输至指定位置。In another aspect, this application also provides a computer-readable medium, which may be included in the apparatus described in the above embodiments; or it may exist independently and not assembled into the apparatus. The computer-readable medium carries one or more programs, which, when executed by the apparatus, cause the apparatus to: extract item information of items to be shipped from an order to be processed; obtain storage location information of at least one storage box storing the items to be shipped in a designated warehouse from a table of correspondence between item information and storage location information; select a storage box as the shipping storage box from at least one storage box using a multi-objective genetic algorithm based on the obtained storage location information and multiple preset objectives; determine the storage location information of the shipping storage box, determine the shipping device of the shipping storage box based on the preset correspondence between storage location information and transportation devices, and designate the shipping device of the shipping storage box as the target shipping device; and send a transportation instruction to the target shipping device to transport the shipping storage box to a designated location.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.
Claims (9)
Publications (3)
| Publication Number | Publication Date |
|---|---|
| HK1237504A1 HK1237504A1 (en) | 2018-04-13 |
| HK1237504A HK1237504A (en) | 2018-04-13 |
| HK1237504B true HK1237504B (en) | 2024-04-26 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106960304B (en) | Order processing method and device | |
| Meller et al. | A throughput model for carousel/VLM pods | |
| CN109948964A (en) | Information output method and device | |
| CN109993470B (en) | Inventory scheduling method and device | |
| WO2019114391A1 (en) | Information output method and apparatus | |
| CN110348770A (en) | A kind of storage management method and device | |
| CN112906081B (en) | A method and device for planning warehouse layout | |
| CN110834858B (en) | Method and device for storing goods in warehouse | |
| CN112241857B (en) | Warehouse stock quantity determining method and device | |
| CN111144796B (en) | Method and device for generating tally information | |
| CN110472900B (en) | Method and apparatus for determining storage location of an object | |
| CN113762814B (en) | Method and device for storing items | |
| KR20210001706A (en) | Method and system for managing a storage based on a cloud service | |
| CN111747008B (en) | Ex-warehouse positioning method, device and system | |
| CN111498368B (en) | Method and device for determining storage position | |
| CN110909908B (en) | A method and device for predicting item picking time | |
| CN111824667B (en) | Method and device for storing goods | |
| CN110070246B (en) | Method and device for generating boxing scheme | |
| CN112009921B (en) | Concentric polygonal warehouse and method and device for loading and unloading articles | |
| CN109255563B (en) | Method and device for determining storage area of article | |
| HK1237504B (en) | Method and device for processing order | |
| CN112561606A (en) | Shelf placement method and device based on user behaviors, electronic equipment and medium | |
| CN113792946B (en) | Item display method, apparatus, electronic device and computer readable medium | |
| CN112396363A (en) | Method, device, equipment and computer readable medium for shelving articles | |
| HK1237504A (en) | Method and device for processing order |