WO2024011971A1 - Order processing method and apparatus, and computer-readable storage medium - Google Patents

Order processing method and apparatus, and computer-readable storage medium Download PDF

Info

Publication number
WO2024011971A1
WO2024011971A1 PCT/CN2023/086799 CN2023086799W WO2024011971A1 WO 2024011971 A1 WO2024011971 A1 WO 2024011971A1 CN 2023086799 W CN2023086799 W CN 2023086799W WO 2024011971 A1 WO2024011971 A1 WO 2024011971A1
Authority
WO
WIPO (PCT)
Prior art keywords
order
orders
route
path
collection
Prior art date
Application number
PCT/CN2023/086799
Other languages
French (fr)
Chinese (zh)
Inventor
李双双
夏春浩
郭策
商春鹏
Original Assignee
北京沃东天骏信息技术有限公司
北京京东世纪贸易有限公司
北京京东乾石科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京沃东天骏信息技术有限公司, 北京京东世纪贸易有限公司, 北京京东乾石科技有限公司 filed Critical 北京沃东天骏信息技术有限公司
Publication of WO2024011971A1 publication Critical patent/WO2024011971A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0835Relationships between shipper or supplier and carriers
    • G06Q10/08355Routing methods

Definitions

  • the present disclosure relates to the field of data processing, and in particular to an order processing method, device and computer-readable storage medium.
  • the store's contract performance scope includes an area with the store as the center and a certain length (for example, 3 kilometers) as the radius.
  • the store's contract performance scope is divided into multiple road areas according to neighborhoods or streets.
  • the store before issuing a picking task, the store combines the received orders into a collection order based on the same expected delivery time and road area of the user. During production, goods are picked according to the collection order, and during distribution, goods are collected according to the collection order. It is expected that the work efficiency of production and distribution personnel can be improved through the collection order.
  • an order processing method including: performing path planning according to the delivery address of the order in the order pool to generate a path collection order corresponding to the path planning result; and aggregating the order according to the path , generate one or more picking set orders.
  • performing path planning based on the shipping address of the order in the order pool to generate a path set order corresponding to the path planning result includes: under the preset first constraint, based on the shipping address of the order in the order pool Perform path planning to generate a path collection order corresponding to the path planning result; where the first constraint includes the maximum order quantity, earliest delivery time, dispersion of delivery addresses, and number of inventory units of the orders involved in the path collection order At least one of the upper limit, whether the delivery address spans regions, the upper weight limit, the upper limit of the distance of the order, the delivery sequence, the time window of expected delivery, or whether it spans production waves.
  • performing path planning based on the delivery address of the order in the order pool to generate a path set order corresponding to the path planning result includes: using a first algorithm to perform path planning on the delivery address of the order in the order pool to generate The path set order corresponding to the path planning result; wherein, the first algorithm includes: randomly selecting from the order pool
  • the machine selects an order and inserts it into the path collection order, including: in the case of an existing path collection order, if a matching position can be found in the existing path collection order using the matching strategy, the randomly selected order is inserted into the matching position; And, if a matching position cannot be found in the existing route set order, or there is currently no route set order, the randomly selected order will be inserted into the new route set order; wherein, the above process is repeated to randomly select one from the order pool. Orders are inserted into the path collection order step until there are no orders in the order pool.
  • performing path planning based on the delivery address of the order in the order pool to generate a path set order corresponding to the path planning result includes: using a second algorithm to perform path planning on the delivery address of the order in the order pool to generate The path set order corresponding to the path planning result; wherein, the second algorithm includes: dividing the orders in the order pool into seed orders and non-seed orders according to the classification rules; repeated execution: randomly selecting a seed order from multiple seed orders as the basic order , and use the matching strategy to select seed orders and non-seed orders that can be placed in the same path set order with the basic order to generate a path set order until multiple seed orders are processed.
  • the order processing method further includes: when the route set order satisfies the second constraint, issuing the route set order at the issuance time of the route set order; or when the route set order does not satisfy the second constraint. If the conditions are met and the issuance time of the route set order is reached, the route set order is issued; where the issuance time of the route set order is determined based on the earliest issuance time of the orders in the route set order.
  • route planning is performed based on the delivery addresses of orders in the order pool at a preset cycle.
  • the orders in the route set order participate in the route planning of the next cycle.
  • the second constraint includes at least one of the following: the earliest production time of the route collection order is greater than the sum of the current time and preset parameters, where the earliest production time is the production time of each order in the route collection order the earliest time in the route collection order; the total number of orders in the route collection order is not within the preset range; or in the route collection order, the delivery time of the target category order is greater than the delivery time of the non-target category order.
  • the order processing method further includes: for orders in the order pool that have not been added to the route set orders, when the order issuance time is currently reached, issue the order.
  • the order processing method further includes: determining a time to add the generated order to the order pool based on the expected delivery time of the generated order.
  • the order processing method further includes: in the case where a picking collection order is generated according to the route collection order, allocating all orders in the picked collection order to the same distribution unit for delivery; or, When multiple picking set orders are generated based on route set orders, multiple picking sets are processed. Orders in the picking set order in normal outbound status are assigned to the same delivery unit for delivery.
  • an order processing device including: a route set order generation module configured to perform route planning based on the delivery address of the order in the order pool to generate a route planning result corresponding to The path collection order; the picking collection order generation module is configured to generate one or more picking collection orders based on the path collection order.
  • an order processing device including: a memory; and a processor coupled to the memory, the processor being configured to execute any of the foregoing based on instructions stored in the memory. How to process orders.
  • an order processing system including: any of the foregoing order processing devices; and an order pool, where the order pool is configured in a database.
  • the order processing system further includes: a production subsystem configured to generate a sorting task according to the sorting collection order, and send the sorting task to the terminal device.
  • a computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, any one of the foregoing order processing methods is implemented.
  • Figure 1 shows a schematic flowchart of an order processing method according to some embodiments of the present disclosure.
  • FIGS. 2A and 2B are schematic diagrams of path collection orders according to some embodiments of the present disclosure.
  • 3A and 3B are schematic diagrams of path set orders according to other embodiments of the present disclosure.
  • Figure 4 shows a schematic flowchart of a method for issuing a route collection order according to some embodiments of the present disclosure.
  • Figure 5 shows a schematic structural diagram of an order processing device according to some embodiments of the present disclosure.
  • Figure 6 shows a schematic structural diagram of an order processing system according to some embodiments of the present disclosure.
  • Figure 7 shows a schematic structural diagram of an order processing device according to other embodiments of the present disclosure.
  • FIG. 8 shows a schematic structural diagram of an order processing device according to further embodiments of the present disclosure.
  • any specific values are to be construed as illustrative only and not as limiting. Accordingly, other examples of the exemplary embodiments may have different values.
  • the inventor found that the orders participating in the order collection were all orders in the same time period, and the production time and delivery time were relatively concentrated, which could easily lead to the failure of the store's production and delivery to fulfill the contract. Moreover, the number of orders collected by the system cannot meet the order quantity requirements of delivery personnel for a single delivery. Delivery personnel need to manually wait for the orders to be consolidated, and then plan the delivery sequence according to the address, which affects delivery efficiency and user experience. Once a large number of orders are backlogged, a large amount of data will accumulate in the order, sorting, and outbound data systems, causing excessive pressure on the system and resulting in problems such as untimely response.
  • a technical problem to be solved by the embodiments of the present disclosure is: how to process orders to improve the operating efficiency and distribution efficiency of the data system.
  • Figure 1 shows a schematic flowchart of an order processing method according to some embodiments of the present disclosure. As shown in Figure 1, the order processing method in this embodiment includes steps S102 to S106.
  • step S102 obtain the orders in the order pool.
  • the order pool is implemented in the form of a database or data table. That is, orders added to the order pool are stored in a preset database or data table. In addition, you can also check the order corresponding to the order added to the order pool. The data entry adds the preset order pool ID. When an order is removed from the order pool, such as when the order is canceled or a production task has been released, the order will be deleted from the preset database or data table, or the preset order pool ID will be modified. If necessary, those skilled in the art can also implement it in other ways, which will not be described again here.
  • the time to add the generated order to the order pool is determined based on the expected delivery time of the generated order. For example, if the expected delivery time of order 1 is a certain time period of the day, it will be added to the order pool after the order is generated; if the expected delivery time of order 2 is a certain time of the next day, it will be added at 0:00 the next day. to the order pool. Thus, the generated route order set has higher availability.
  • orders are obtained from an order pool at a preset period. That is, the process of automatic order collection is triggered periodically.
  • step S104 route planning is performed based on the delivery address of the order in the order pool to generate a route set order corresponding to the route planning result.
  • the route collection order includes part or all of the information of the original order in the order pool, such as the consignee, delivery address, list of goods to be delivered, expected delivery time,
  • the orders participating in path planning in the order pool are for the same store, and the starting point and end point of the planned path are the same, that is, the delivery unit (such as a rider, a courier vehicle, etc.) starts from one store and travels to multiple locations. A user returns to the store after delivery. This enables single-point to multi-point distribution.
  • route planning is performed based on the delivery address of the order in the order pool to generate a route set order corresponding to the route planning result.
  • the first constraint can be set by the store or set by the system by default.
  • the first constraint includes the maximum order quantity of the orders involved in the route collection order, the earliest delivery time, the degree of dispersion of the delivery address, the upper limit of the number of SKUs (stock keeping units), and whether the delivery address crosses regions. , weight limit, order distance limit, delivery sequence, expected delivery time window or whether it spans at least one of production waves. Therefore, the result of decision-making path planning, that is, the result of order collection, can be determined from multiple dimensions such as global optimality, delivery capabilities of delivery personnel, and relief of pressure during peak hours.
  • the degree of dispersion of delivery addresses can be measured by the angle between different delivery addresses and shipping addresses (such as store addresses). The larger the angle is, the more dispersed the delivery users are; the smaller the angle is, the more concentrated the users are.
  • the delivery scope of the store can be divided into multiple road areas according to residential areas, streets, etc. Whether the delivery address spans zones refers to whether multiple delivery addresses involved in the same route belong to the same road zone.
  • the delivery sequence is determined, for example, by the sequence of expected delivery time windows in the user's order. For example, if user A's expected delivery time is 10:00-10:30, user B's expected delivery time is 10:15-10:45, and user C's expected delivery time is 10:30-11:00, then the priority is User A, User B, and User C are delivered in sequence, which not only conforms to the chronological order, but also makes the delivery more coherent.
  • VRP Vehicle Routing Problem
  • step S106 one or more picking collection orders are generated according to the route collection order. Without splitting the route set order, one picking set order is generated; without splitting the route set order, multiple picking set orders are generated.
  • a data entry corresponding to the picking set order is generated, which includes information about the route set order, or is associated with a data entry corresponding to the route set order.
  • a picking set order includes one or more orders, and each picking set order corresponds to a picking task.
  • a picking task can be completed by one picking unit (such as a picker, an automatic picking machine), or by multiple picking units. After the picking task is generated based on the picking set order, the picking task information can be sent to the terminal corresponding to the picking unit.
  • Whether to split the route collection order into multiple picking collection orders can be determined based on the store's configuration.
  • a picking set order when a picking set order is generated, that is, the route set order is not split, the store adopts a scenario of zone picking and sorting while picking.
  • a route set order corresponds to a picking set order, and picking units in multiple partitions pick at the same time. Then, the goods are shipped out of the warehouse according to the picking collection order, and the goods shipped out of the warehouse are assigned to the same distribution unit for distribution.
  • the store when multiple picking collection orders are generated, that is, route collection orders are split, the store can adopt an integrated production mode of sorting and packaging. Since the delivery time of different orders may vary, the orders that have been delivered can be batch calculated and allocated to distribution units in real time. If after splitting, some orders have outbound exceptions, only the orders in the picking collection orders that are in normal outbound status will be assigned to the same distribution unit for delivery.
  • the above embodiment uses the delivery address in the order to perform path planning, and aggregates the orders through the path planning results to generate a path collection order, so that subsequent sorting and delivery operations can be performed based on the path collection order.
  • orders can be automatically collected, so that orders can be processed in a more timely manner as a whole, improving the operating efficiency and distribution efficiency of the data system.
  • the first algorithm is used to perform path planning on the delivery address of the order in the order pool to generate a path set order corresponding to the path planning result.
  • the first algorithm includes: randomly selecting an order from the order pool; in the case of existing path collection orders, if the matching strategy can be used to find a matching position in the existing path collection orders, then insert the randomly selected order into the matching position; If a matching position cannot be found in the existing route collection order, or there is currently no route collection order, a randomly selected order will be inserted into the new route collection order; an order will be randomly selected from the order pool repeatedly until there is no order in the order pool. Until order.
  • the order pool includes 3 orders, and the corresponding order numbers are ⁇ 11, 24, 33 ⁇ .
  • Collection Order One 1-3-14-26
  • Collection Order Two 5-2-7.
  • a second algorithm is used to perform path planning on the delivery address of the order in the order pool to generate a path set order corresponding to the path planning result.
  • the second algorithm includes: dividing orders in the order pool into seed orders and non-seed orders according to classification rules; randomly selecting a seed order from multiple seed orders as a base order; using a matching strategy to select a seed order that can be placed on the same path as the base order Collect the seed orders and non-seed orders in the order to generate the path collection order; repeatedly randomly select a seed order from multiple seed orders as the base order until multiple seed orders are processed.
  • a first optimization process is also performed on the multiple route set orders to obtain optimized set orders.
  • the first optimization process includes: first randomly selecting a predetermined number of path collection orders as the first collection orders to be processed, and then moving at least one order into the order pool in each first collection order to be processed, and then using the above The first algorithm processes all orders in the order pool.
  • the set order is selected.
  • the set order 21 includes 5 orders
  • the set order 22 includes 2 orders
  • the set order 23 includes 3 orders.
  • the orders included in the collective orders 21 and 22 are reorganized.
  • the set order 21 includes 4 orders
  • the set order 22 includes 3 orders
  • the set order 23 remains unchanged.
  • a second optimization process can also be performed on multiple route set orders, so that the route set orders can be randomly optimized.
  • the second optimization process includes: generating random numbers at a preset frequency, and if the random numbers are greater than the preset disturbance value, checking whether there is an independent seed order, where an independent seed order is a seed order that does not form a path set order with other orders.
  • the independent seed order is moved into the order pool, and a predetermined number of path collection orders that meet the preset conditions are randomly selected as the second pending collection order.
  • the preset conditions include: the total number of orders in the second pending collection order is less than the preset quantity threshold. That is, the collection order with a smaller order quantity is selected as the second pending collection order.
  • the collective order 31 includes 5 orders
  • the collective order 32 includes 2 orders
  • the collective order 33 includes 3 orders.
  • the seed order 30 forms a collective order 33 with an order originally included in the collective order 31 and an order originally included in the collective order 32 .
  • the overall order collection rate can be effectively improved.
  • Figure 4 shows a schematic flowchart of a method for issuing a route collection order according to some embodiments of the present disclosure. As shown in Figure 4, the route collection order issuing method in this embodiment includes steps S402 to S410.
  • step S402 it is determined whether the route set order satisfies the second constraint condition. If satisfied, execute step S404; if not satisfied, execute step S406.
  • the second constraint includes at least one of the following: the earliest production time of the route set order is greater than the sum of the current time and the preset parameters, where the earliest production time is the production time of each order in the route set order.
  • the earliest time, the production time is determined based on the user's expected delivery time, for example; the total number of orders in the route set order is not within the preset range; or, in the route set order, the delivery time of the target category order is greater than the non-target category order delivery time, for example, catering orders need priority delivery.
  • step S404 the path collection order is issued at the issuance time of the path collection order.
  • the issuance time of the route set order is determined based on the earliest issuance time of the orders in the route set order. Release refers to initiating the production process of an order.
  • the reserved time is, for example, 2 minutes.
  • step S406 it is determined whether the issuance time of the route collection order is currently reached. If yes, execute step S408; if not, execute step S410.
  • step S408 a route collection order is issued.
  • route collection orders are sent to the production system to generate pick collection orders.
  • step S410 the orders in the route set orders participate in the route planning of the next cycle. Thus, a better result is obtained.
  • the order is issued when the order's issuance time is currently reached.
  • the delivery time of such an order max [(start delivery time - delivery lead time - production time - transit time), current system time + processing time].
  • Figure 5 shows a schematic structural diagram of an order processing device according to some embodiments of the present disclosure.
  • the order processing device 500 of this embodiment includes: a route collection order generation module 5100, which is configured to perform route planning based on the delivery address of the order in the order pool to generate a route collection order corresponding to the route planning result. ;
  • the picking set order generation module 5200 is configured to assemble orders according to the path and generate one or more picking set orders. one.
  • the route collection order generation module 5100 is further configured to perform route planning according to the delivery address of the order in the order pool under the preset first constraint condition to generate a route collection order corresponding to the route planning result;
  • the first constraint includes the maximum order quantity of the orders involved in the route collection order, the earliest delivery time, the degree of dispersion of the delivery address, the upper limit of the number of inventory units, whether the delivery address crosses the area, the upper limit of weight, and the distance of the order. At least one of the upper limit, delivery sequence, desired delivery time window, or whether it spans production waves.
  • the route set order generation module 5100 is further configured to use a first algorithm to perform route planning on the delivery address of the order in the order pool to generate a route set order corresponding to the route planning result; wherein the first algorithm includes : Randomly select an order from the order pool and insert it into the route set order, including: in the case of an existing route set order, if a matching position can be found in the existing route set order using the matching strategy, the randomly selected order will be The order is inserted into the matching position; and, if the matching position cannot be found in the existing path collection order, or there is currently no path collection order, the randomly selected order is inserted into the new path collection order; wherein, repeating the above process from the order An order is randomly selected from the pool and inserted into the path collection order step until there is no order in the order pool.
  • the first algorithm includes : Randomly select an order from the order pool and insert it into the route set order, including: in the case of an existing route set order, if a matching position can be found in the existing route set order using the
  • the route set order generation module 5100 is further configured to use a second algorithm to perform route planning on the delivery address of the order in the order pool to generate a route set order corresponding to the route planning result; wherein the second algorithm includes : According to the classification rules, the orders in the order pool are divided into seed orders and non-seed orders; repeated execution: randomly select a seed order from multiple seed orders as the base order, and use the matching strategy to select a seed order that can be placed in the same place as the base order. Seed orders and non-seed orders in route set orders to generate route set orders until multiple seed orders are processed.
  • the order processing device 500 further includes a issuing module 5300, configured to issue the route set order at the issuing time of the route set order if the route set order satisfies the second constraint; or in If the route set order does not satisfy the second constraint and the issuance time of the route set order is currently reached, the route set order is issued; where, the issuance time of the route set order is based on the earliest issuance of the order in the route set order. Time determined.
  • a issuing module 5300 configured to issue the route set order at the issuing time of the route set order if the route set order satisfies the second constraint; or in If the route set order does not satisfy the second constraint and the issuance time of the route set order is currently reached, the route set order is issued; where, the issuance time of the route set order is based on the earliest issuance of the order in the route set order. Time determined.
  • the route collection order generation module 5100 is further configured to perform route planning based on the delivery addresses of the orders in the order pool at a preset cycle.
  • the issuance module 5300 is further configured to issue orders in the path collection order if the path collection order does not satisfy the second constraint and the issuance time of the path collection order has not yet arrived. Participate in path planning for the next cycle.
  • the second constraint includes at least one of the following: the earliest production time of the route collection order is greater than the sum of the current time and preset parameters, where the earliest production time is the production time of each order in the route collection order the earliest time in the route collection order; the total number of orders in the route collection order is not within the preset range; or in the route collection order, the delivery time of the target category order is greater than the delivery time of the non-target category order.
  • the issuing module 5300 is further configured to issue orders for orders in the order pool that are not added to the route set orders when the issuing time of the order currently arrives.
  • the order processing device 500 further includes an order pool generation module 5400, configured to determine the time to add the generated order to the order pool according to the expected delivery time of the generated order.
  • the order processing device 500 further includes: a delivery allocation module 5500, configured to allocate all orders in the picked collection order to the same order when a picking collection order is generated according to the route collection order.
  • a delivery allocation module 5500 configured to allocate all orders in the picked collection order to the same order when a picking collection order is generated according to the route collection order.
  • One distribution unit performs distribution; or, when multiple picking collection orders are generated based on route collection orders, the orders in the picking collection orders in the multiple picking collections that are in normal outbound status are assigned to the same distribution unit for delivery.
  • Figure 6 shows a schematic structural diagram of an order processing system according to some embodiments of the present disclosure.
  • the processing system 60 of this embodiment includes an order processing device 610 and an order pool 620 .
  • the order processing device 610 For the specific implementation of the order processing device 610, reference can be made to the order processing device 500, which will not be described again here.
  • the order pool 620 is configured in the database.
  • the processing system 60 further includes a production subsystem 630 configured to generate picking tasks according to the picking collection orders and send the picking tasks to the terminal equipment.
  • the delivery allocation module in the order processing device described above can also be deployed in the production subsystem.
  • Figure 7 shows a schematic structural diagram of an order processing device according to other embodiments of the present disclosure.
  • the order processing device 70 of this embodiment includes: a memory 710 and a processor 720 coupled to the memory 710.
  • the processor 720 is configured to execute any of the foregoing based on instructions stored in the memory 710. Order processing method in the embodiment.
  • the memory 710 may include, for example, system memory, fixed non-volatile storage media, etc.
  • System memory stores, for example, operating systems, applications, boot loaders, and other programs.
  • FIG. 8 shows a schematic structural diagram of an order processing device according to further embodiments of the present disclosure.
  • the order processing device 80 in this embodiment includes: a memory 810 and a processor 820, and may also include an input and output interface 830, a network interface 840, a storage interface 8500, etc.
  • These interfaces 830, 840, 8500, the memory 810 and the processor 820 may be connected through a bus 860, for example.
  • the input and output interface 830 provides a connection interface for input and output devices such as a monitor, mouse, keyboard, and touch screen.
  • Network interface 840 provides a connection interface for various networked devices.
  • the storage interface 8500 provides a connection interface for external storage devices such as SD cards and USB flash drives.
  • Embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, which is characterized in that when the program is executed by a processor, any one of the aforementioned order processing methods is implemented.
  • embodiments of the present disclosure may be provided as methods, systems, or computer program products. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk memory, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein. .
  • These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions
  • the device implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device.
  • Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.

Landscapes

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

Abstract

The present disclosure relates to the field of data processing. Disclosed are an order processing method and apparatus, and a computer-readable storage medium. The order processing method comprises: performing path planning according to reception addresses of orders in an order pool, so as to generate path aggregation orders corresponding to a path planning result; and generating one or more goods-picking aggregation orders according to the path aggregation orders. Provided in the embodiments of the present disclosure is an intelligent logistics solution. Path planning is performed by using reception addresses in orders, and the orders are aggregated by means of a path planning result, so as to generate path aggregation orders, such that subsequent sorting and distribution operations are performed according to the path aggregation orders.

Description

订单的处理方法、装置和计算机可读存储介质Order processing methods, devices and computer-readable storage media
相关申请的交叉引用Cross-references to related applications
本申请是以CN申请号为202210808960.5,申请日为2022年7月11日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。This application is based on the application with CN application number 202210808960.5 and the filing date is July 11, 2022, and claims its priority. The disclosure content of the CN application is hereby incorporated into this application as a whole.
技术领域Technical field
本公开涉及数据处理领域,特别涉及一种订单的处理方法、装置和计算机可读存储介质。The present disclosure relates to the field of data processing, and in particular to an order processing method, device and computer-readable storage medium.
背景技术Background technique
目前,门店的履约范围是包括以门店为圆心、一定长度(例如3公里)为半径的区域,并按照小区或者街道,将门店的履约范围划分为多个路区。在相关技术中,在下发拣货任务之前,门店将接收到的订单根据用户相同的期望送达时间以及路区组合成一个集合单。生产时按照集合单拣货,配送时按照集合单揽收,期望通过集合单的形式提高生产、配送人员的工作效率。At present, the store's contract performance scope includes an area with the store as the center and a certain length (for example, 3 kilometers) as the radius. The store's contract performance scope is divided into multiple road areas according to neighborhoods or streets. In related technologies, before issuing a picking task, the store combines the received orders into a collection order based on the same expected delivery time and road area of the user. During production, goods are picked according to the collection order, and during distribution, goods are collected according to the collection order. It is expected that the work efficiency of production and distribution personnel can be improved through the collection order.
发明内容Contents of the invention
根据本公开一些实施例的第一个方面,提供一种订单的处理方法,包括:根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;根据路径集合订单,生成一个或多个拣货集合订单。According to a first aspect of some embodiments of the present disclosure, an order processing method is provided, including: performing path planning according to the delivery address of the order in the order pool to generate a path collection order corresponding to the path planning result; and aggregating the order according to the path , generate one or more picking set orders.
在一些实施例中,根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单包括:在预设的第一约束条件下,根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;其中,第一约束条件包括路径集合订单所涉及的订单的最大订单数量、最早送达时间、收货地址的分散程度、库存量单元数量上限、收货地址是否跨区、重量上限、订单的距离上限、配送顺序、期望配送的时间窗或是否跨越生产波次中的至少一种。In some embodiments, performing path planning based on the shipping address of the order in the order pool to generate a path set order corresponding to the path planning result includes: under the preset first constraint, based on the shipping address of the order in the order pool Perform path planning to generate a path collection order corresponding to the path planning result; where the first constraint includes the maximum order quantity, earliest delivery time, dispersion of delivery addresses, and number of inventory units of the orders involved in the path collection order At least one of the upper limit, whether the delivery address spans regions, the upper weight limit, the upper limit of the distance of the order, the delivery sequence, the time window of expected delivery, or whether it spans production waves.
在一些实施例中,根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单包括:利用第一算法对订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;其中,第一算法包括:从订单池中随 机选择一个订单,并插入到路径集合订单,包括:在已有路径集合订单的情况下,若利用匹配策略能够在已有路径集合订单中找到匹配位置,则将随机选择的订单插入匹配位置;和,若不能在已有路径集合订单中找到匹配位置、或者当前没有路径集合订单,则将随机选择的订单插入新的路径集合订单中;其中,重复所述从所述订单池中随机选择一个订单,并插入到路径集合订单的步骤,直到将订单池中没有订单为止。In some embodiments, performing path planning based on the delivery address of the order in the order pool to generate a path set order corresponding to the path planning result includes: using a first algorithm to perform path planning on the delivery address of the order in the order pool to generate The path set order corresponding to the path planning result; wherein, the first algorithm includes: randomly selecting from the order pool The machine selects an order and inserts it into the path collection order, including: in the case of an existing path collection order, if a matching position can be found in the existing path collection order using the matching strategy, the randomly selected order is inserted into the matching position; And, if a matching position cannot be found in the existing route set order, or there is currently no route set order, the randomly selected order will be inserted into the new route set order; wherein, the above process is repeated to randomly select one from the order pool. Orders are inserted into the path collection order step until there are no orders in the order pool.
在一些实施例中,根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单包括:利用第二算法对订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;其中,第二算法包括:按照分类规则将订单池的订单分为种子订单和非种子订单;重复执行:从多个种子订单中随机选择一个种子订单作为基础订单,以及,利用匹配策略选择出能够与基础订单放置在同一路径集合订单中的种子订单和非种子订单,以生成路径集合订单,直到多个种子订单处理完为止。In some embodiments, performing path planning based on the delivery address of the order in the order pool to generate a path set order corresponding to the path planning result includes: using a second algorithm to perform path planning on the delivery address of the order in the order pool to generate The path set order corresponding to the path planning result; wherein, the second algorithm includes: dividing the orders in the order pool into seed orders and non-seed orders according to the classification rules; repeated execution: randomly selecting a seed order from multiple seed orders as the basic order , and use the matching strategy to select seed orders and non-seed orders that can be placed in the same path set order with the basic order to generate a path set order until multiple seed orders are processed.
在一些实施例中,订单的处理方法还包括:在路径集合订单满足第二约束条件的情况下,在路径集合订单的下发时间下发路径集合订单;或者在路径集合订单不满足第二约束条件、并且当前到达路径集合订单的下发时间的情况下,下发路径集合订单;其中,路径集合订单的下发时间根据路径集合订单中的订单的最早下发时间确定。In some embodiments, the order processing method further includes: when the route set order satisfies the second constraint, issuing the route set order at the issuance time of the route set order; or when the route set order does not satisfy the second constraint. If the conditions are met and the issuance time of the route set order is reached, the route set order is issued; where the issuance time of the route set order is determined based on the earliest issuance time of the orders in the route set order.
在一些实施例中,以预设周期,根据订单池中的订单的收货地址进行路径规划。In some embodiments, route planning is performed based on the delivery addresses of orders in the order pool at a preset cycle.
在一些实施例中,在路径集合订单不满足第二约束条件、并且当前未到达路径集合订单的下发时间的情况下,路径集合订单中的订单参与下一个周期的路径规划。In some embodiments, when the route set order does not satisfy the second constraint and the issuance time of the route set order has not yet been reached, the orders in the route set order participate in the route planning of the next cycle.
在一些实施例中,其中,第二约束条件包括以下至少一种:路径集合订单的最早生产时间大于当前时间和预设参数之和,其中最早生产时间为路径集合订单中的各订单的生产时间中的最早时间;路径集合订单中的订单总数不在预设范围内;或路径集合订单中,目标类别的订单的配送时间大于非目标类别的订单的配送时间。In some embodiments, the second constraint includes at least one of the following: the earliest production time of the route collection order is greater than the sum of the current time and preset parameters, where the earliest production time is the production time of each order in the route collection order the earliest time in the route collection order; the total number of orders in the route collection order is not within the preset range; or in the route collection order, the delivery time of the target category order is greater than the delivery time of the non-target category order.
在一些实施例中,订单的处理方法还包括:对于订单池中未被添加到路径集合订单的订单,在当前到达订单的下发时间的情况下,下发订单。In some embodiments, the order processing method further includes: for orders in the order pool that have not been added to the route set orders, when the order issuance time is currently reached, issue the order.
在一些实施例中,订单的处理方法还包括:根据生成的订单的期望配送时间,确定将生成的订单添加到订单池的时间。In some embodiments, the order processing method further includes: determining a time to add the generated order to the order pool based on the expected delivery time of the generated order.
在一些实施例中,订单的处理方法还包括:在根据路径集合订单生成一个拣货集合订单的情况下,将所拣货集合订单中的全部订单分配给同一个配送单元进行配送;或者,在根据路径集合订单生成多个拣货集合订单的情况下,将多个拣货集合中,处 于正常出库状态的拣货集合订单中的订单分配给同一个配送单元进行配送。In some embodiments, the order processing method further includes: in the case where a picking collection order is generated according to the route collection order, allocating all orders in the picked collection order to the same distribution unit for delivery; or, When multiple picking set orders are generated based on route set orders, multiple picking sets are processed. Orders in the picking set order in normal outbound status are assigned to the same delivery unit for delivery.
根据本公开一些实施例的第二个方面,提供一种订单的处理装置,包括:路径集合订单生成模块,被配置为根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;拣货集合订单生成模块,被配置为根据路径集合订单,生成一个或多个拣货集合订单。According to a second aspect of some embodiments of the present disclosure, an order processing device is provided, including: a route set order generation module configured to perform route planning based on the delivery address of the order in the order pool to generate a route planning result corresponding to The path collection order; the picking collection order generation module is configured to generate one or more picking collection orders based on the path collection order.
根据本公开一些实施例的第三个方面,提供一种订单的处理装置,包括:存储器;以及耦接至存储器的处理器,处理器被配置为基于存储在存储器中的指令,执行前述任意一种订单的处理方法。According to a third aspect of some embodiments of the present disclosure, an order processing device is provided, including: a memory; and a processor coupled to the memory, the processor being configured to execute any of the foregoing based on instructions stored in the memory. How to process orders.
根据本公开一些实施例的第四个方面,提供一种订单的处理系统,包括:前述任意一种订单的处理装置;以及订单池,订单池被配置在数据库中。According to a fourth aspect of some embodiments of the present disclosure, an order processing system is provided, including: any of the foregoing order processing devices; and an order pool, where the order pool is configured in a database.
在一些实施例中,订单的处理系统还包括:生产子系统,被配置为根据分拣集合订单生成分拣任务,并将分拣任务发送到终端设备。In some embodiments, the order processing system further includes: a production subsystem configured to generate a sorting task according to the sorting collection order, and send the sorting task to the terminal device.
根据本公开一些实施例的第五个方面,提供一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现前述任意一种订单的处理方法。According to a fifth aspect of some embodiments of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, any one of the foregoing order processing methods is implemented.
通过以下参照附图对本公开的示例性实施例的详细描述,本公开的其它特征及其优点将会变得清楚。Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present disclosure or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting any creative effort.
图1示出了根据本公开一些实施例的订单的处理方法的流程示意图。Figure 1 shows a schematic flowchart of an order processing method according to some embodiments of the present disclosure.
图2A和图2B为本公开一些实施例的路径集合订单示意图。2A and 2B are schematic diagrams of path collection orders according to some embodiments of the present disclosure.
图3A和图3B为本公开另一些实施例的路径集合订单示意图。3A and 3B are schematic diagrams of path set orders according to other embodiments of the present disclosure.
图4示出了根据本公开一些实施例的路径集合订单下发方法的流程示意图。Figure 4 shows a schematic flowchart of a method for issuing a route collection order according to some embodiments of the present disclosure.
图5示出了根据本公开一些实施例的订单的处理装置的结构示意图。Figure 5 shows a schematic structural diagram of an order processing device according to some embodiments of the present disclosure.
图6示出了根据本公开一些实施例的订单的处理系统的结构示意图。Figure 6 shows a schematic structural diagram of an order processing system according to some embodiments of the present disclosure.
图7示出了根据本公开另一些实施例的订单的处理装置的结构示意图。Figure 7 shows a schematic structural diagram of an order processing device according to other embodiments of the present disclosure.
图8示出了根据本公开又一些实施例的订单的处理装置的结构示意图。 FIG. 8 shows a schematic structural diagram of an order processing device according to further embodiments of the present disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some of the embodiments of the present disclosure, rather than all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application or uses. Based on the embodiments in this disclosure, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of this disclosure.
除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。The relative arrangement of components and steps, numerical expressions, and numerical values set forth in these examples do not limit the scope of the disclosure unless otherwise specifically stated.
同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。At the same time, it should be understood that, for convenience of description, the dimensions of various parts shown in the drawings are not drawn according to actual proportional relationships.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为授权说明书的一部分。Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the authorized specification.
在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它示例可以具有不同的值。In all examples shown and discussed herein, any specific values are to be construed as illustrative only and not as limiting. Accordingly, other examples of the exemplary embodiments may have different values.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that similar reference numerals and letters refer to similar items in the following figures, so that once an item is defined in one figure, it does not need further discussion in subsequent figures.
发明人对相关技术进行分析后发现,参与集单的订单都是同一时间段的订单,生产时间、配送时间比较集中,很容易导致门店的生产、配送无法履约。并且,系统集单数量无法满足配送人员单次配送的带单量要求,需配送人员人工等待订单并集单,再自行根据地址配送顺序规划,影响配送效率及用户体验。一旦大批量的订单积压,会导致订单、分拣、出库的数据系统积累大量数据,造成系统压力过大,从而产生响应不及时等问题。After analyzing the relevant technology, the inventor found that the orders participating in the order collection were all orders in the same time period, and the production time and delivery time were relatively concentrated, which could easily lead to the failure of the store's production and delivery to fulfill the contract. Moreover, the number of orders collected by the system cannot meet the order quantity requirements of delivery personnel for a single delivery. Delivery personnel need to manually wait for the orders to be consolidated, and then plan the delivery sequence according to the address, which affects delivery efficiency and user experience. Once a large number of orders are backlogged, a large amount of data will accumulate in the order, sorting, and outbound data systems, causing excessive pressure on the system and resulting in problems such as untimely response.
本公开实施例所要解决的一个技术问题是:如何对订单进行处理,以提高数据系统的运行效率以及配送效率。A technical problem to be solved by the embodiments of the present disclosure is: how to process orders to improve the operating efficiency and distribution efficiency of the data system.
图1示出了根据本公开一些实施例的订单的处理方法的流程示意图。如图1所示,该实施例的订单的处理方法包括步骤S102~S106。Figure 1 shows a schematic flowchart of an order processing method according to some embodiments of the present disclosure. As shown in Figure 1, the order processing method in this embodiment includes steps S102 to S106.
在步骤S102中,获取订单池中的订单。In step S102, obtain the orders in the order pool.
在一些实施例中,以数据库或数据表的形式实现订单池。即,添加到订单池的订单被存储在预设的数据库或数据表中。此外,也可以对添加到订单池中的订单对应的 数据条目添加预设的订单池标识。当订单从订单池中移除,例如订单取消、或者已下发生产任务,则将订单从预设的数据库或数据表中删除、或者修改预设的订单池标识。根据需要,本领域技术人员也可以采用其他方式实现,这里不再赘述。In some embodiments, the order pool is implemented in the form of a database or data table. That is, orders added to the order pool are stored in a preset database or data table. In addition, you can also check the order corresponding to the order added to the order pool. The data entry adds the preset order pool ID. When an order is removed from the order pool, such as when the order is canceled or a production task has been released, the order will be deleted from the preset database or data table, or the preset order pool ID will be modified. If necessary, those skilled in the art can also implement it in other ways, which will not be described again here.
在一些实施例中,根据生成的订单的期望配送时间,确定将生成的订单添加到订单池的时间。例如,订单1的期望配送时间为当日的某个时段,则在订单生成后将其添加到订单池;订单2的期望配送时间为次日的某个时间,则在次日0点将其添加到订单池。从而,使得生成的路径订单集合可用性更高。In some embodiments, the time to add the generated order to the order pool is determined based on the expected delivery time of the generated order. For example, if the expected delivery time of order 1 is a certain time period of the day, it will be added to the order pool after the order is generated; if the expected delivery time of order 2 is a certain time of the next day, it will be added at 0:00 the next day. to the order pool. Thus, the generated route order set has higher availability.
在一些实施例中,以预设周期从订单池中获取订单。即,周期性地触发自动集单的过程。In some embodiments, orders are obtained from an order pool at a preset period. That is, the process of automatic order collection is triggered periodically.
在步骤S104中,根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单。路径集合订单中包括订单池中原始订单的部分或全部信息,例如包括收货人、收货地址、配送的货物列表、期望的配送时间、In step S104, route planning is performed based on the delivery address of the order in the order pool to generate a route set order corresponding to the route planning result. The route collection order includes part or all of the information of the original order in the order pool, such as the consignee, delivery address, list of goods to be delivered, expected delivery time,
在一些实施例中,通过对生成的路径涉及的订单添加路径集合订单标识、或者将这些订单添加到预设的数据表等方式,表明哪些订单被集合到同一个路径中。此外,还可以生成新的数据记录,该记录对应于生成的路径集合订单,并且在该数据记录中对涉及的订单对应的数据记录进行关联,例如使用标识(ID)关联。根据需要,本领域技术人员还可以采用其他实现方式,这里不再赘述。In some embodiments, it is indicated which orders are aggregated into the same path by adding path collection order identifiers to the orders involved in the generated path, or by adding these orders to a preset data table. In addition, a new data record can also be generated, which record corresponds to the generated route collection order, and the data records corresponding to the involved orders are associated in the data record, for example, using identification (ID) association. If necessary, those skilled in the art can also adopt other implementation methods, which will not be described again here.
在一些实施例中,订单池中参与路径规划的订单是针对同一个门店的订单,规划的路径的起点和终点相同,即配送单元(例如骑手、快递车等等)从一个门店出发,向多个用户配送后返回该门店。从而实现单点对多点的配送。In some embodiments, the orders participating in path planning in the order pool are for the same store, and the starting point and end point of the planned path are the same, that is, the delivery unit (such as a rider, a courier vehicle, etc.) starts from one store and travels to multiple locations. A user returns to the store after delivery. This enables single-point to multi-point distribution.
在一些实施例中,在预设的第一约束条件下,根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单。In some embodiments, under a preset first constraint, route planning is performed based on the delivery address of the order in the order pool to generate a route set order corresponding to the route planning result.
第一约束条件可以是由门店设置的,也可以是由系统默认设置的。在一些实施例中,第一约束条件包括路径集合订单所涉及的订单的最大订单数量、最早送达时间、收货地址的分散程度、SKU(库存量单元)数量上限、收货地址是否跨区、重量上限、订单的距离上限、配送顺序、期望配送的时间窗或是否跨越生产波次中的至少一种。从而,能够从全局最优性、配送员配送能力以及缓解高峰时段压力等多个维度,决策路径规划的结果、即集单的结果。The first constraint can be set by the store or set by the system by default. In some embodiments, the first constraint includes the maximum order quantity of the orders involved in the route collection order, the earliest delivery time, the degree of dispersion of the delivery address, the upper limit of the number of SKUs (stock keeping units), and whether the delivery address crosses regions. , weight limit, order distance limit, delivery sequence, expected delivery time window or whether it spans at least one of production waves. Therefore, the result of decision-making path planning, that is, the result of order collection, can be determined from multiple dimensions such as global optimality, delivery capabilities of delivery personnel, and relief of pressure during peak hours.
收货地址的分散程度可以通过不同的收货地址与发货地址(例如门店地址)之间的连线夹角来衡量。夹角越大,说明配送的用户越分散;夹角越小,说明用户越集中。 The degree of dispersion of delivery addresses can be measured by the angle between different delivery addresses and shipping addresses (such as store addresses). The larger the angle is, the more dispersed the delivery users are; the smaller the angle is, the more concentrated the users are.
门店的配送范围可以按照小区、街道等划分为多个路区。收货地址是否跨区是指同一路径涉及的多个收货地址是否属于同一个路区。The delivery scope of the store can be divided into multiple road areas according to residential areas, streets, etc. Whether the delivery address spans zones refers to whether multiple delivery addresses involved in the same route belong to the same road zone.
配送顺序例如通过用户订单中的期望配送时间窗的先后顺序来确定。例如,用户A的期望配送时间是10:00-10:30,用户B的期望配送时间是10:15-10:45,用户C的期望配送时间是10:30-11:00,则优先以用户A、用户B、用户C的顺序配送,这样既符合时间顺序、又使得配送比较连贯。The delivery sequence is determined, for example, by the sequence of expected delivery time windows in the user's order. For example, if user A's expected delivery time is 10:00-10:30, user B's expected delivery time is 10:15-10:45, and user C's expected delivery time is 10:30-11:00, then the priority is User A, User B, and User C are delivered in sequence, which not only conforms to the chronological order, but also makes the delivery more coherent.
在生成路径时,可以将其转化为车辆路径优化(Vehicle Routing Problem,简称:VRP)问题。考虑到在高峰时段,待计算的订单数量较大,在一些实施例中采用启发式算法求解,以提高计算效率。When generating a path, it can be converted into a Vehicle Routing Problem (VRP) problem. Considering that during peak hours, the number of orders to be calculated is large, in some embodiments a heuristic algorithm is used to solve the problem to improve calculation efficiency.
在步骤S106中,根据路径集合订单,生成一个或多个拣货集合订单。在不对路径集合订单拆分的情况下,生成一个拣货集合订单;在对路径集合订单拆分的情况下,生成多个拣货集合订单。In step S106, one or more picking collection orders are generated according to the route collection order. Without splitting the route set order, one picking set order is generated; without splitting the route set order, multiple picking set orders are generated.
在一些实施例中,生成拣货集合订单对应的数据条目,其中包括路径集合订单的信息、或者将其与路径集合订单对应的数据条目进行关联。In some embodiments, a data entry corresponding to the picking set order is generated, which includes information about the route set order, or is associated with a data entry corresponding to the route set order.
拣货集合订单中包括一个或多个订单,每个拣货集合订单对应一个拣货任务。一个拣货任务可以由一个拣货单元(例如拣货员、自动拣货机)完成,也可以由多个拣货单元完成。在根据拣货集合订单生成拣货任务后,可以将拣货任务的信息发送到拣货单元对应的终端。A picking set order includes one or more orders, and each picking set order corresponds to a picking task. A picking task can be completed by one picking unit (such as a picker, an automatic picking machine), or by multiple picking units. After the picking task is generated based on the picking set order, the picking task information can be sent to the terminal corresponding to the picking unit.
是否将路径集合订单拆分为多个拣货集合订单,可以根据门店的配置决定。Whether to split the route collection order into multiple picking collection orders can be determined based on the store's configuration.
在一些实施例中,在生成一个拣货集合订单、即对路径集合订单不拆分的情况下,门店采用分区拣货、边拣边分的场景。一个路径集合订单对应一个拣货集合订单,由多个分区的拣货单元同时进行拣货。然后,按照拣货集合订单进行出库,将出库的货物分配给同一个配送单元进行配送。In some embodiments, when a picking set order is generated, that is, the route set order is not split, the store adopts a scenario of zone picking and sorting while picking. A route set order corresponds to a picking set order, and picking units in multiple partitions pick at the same time. Then, the goods are shipped out of the warehouse according to the picking collection order, and the goods shipped out of the warehouse are assigned to the same distribution unit for distribution.
在一些实施例中,在生成多个拣货集合订单、即对路径集合订单进行拆分的情况下,门店可以采用分拣打包一体化的生产模式。由于不同订单的出库时长可能会有差异,因此可以对已经出库的订单进行合批计算,并实时分配给配送单元。如果在拆分后,部分订单发生了出库异常,则仅将处于正常出库状态的拣货集合订单中的订单分配给同一个配送单元进行配送。In some embodiments, when multiple picking collection orders are generated, that is, route collection orders are split, the store can adopt an integrated production mode of sorting and packaging. Since the delivery time of different orders may vary, the orders that have been delivered can be batch calculated and allocated to distribution units in real time. If after splitting, some orders have outbound exceptions, only the orders in the picking collection orders that are in normal outbound status will be assigned to the same distribution unit for delivery.
上述实施例利用订单中的收货地址进行路径规划,通过路径规划的结果将订单进行集合、以生成路径集合订单,以便根据路径集合订单进行后续的分拣、配送操作。 从而,可以自动化地将订单进行集合,使得订单从整体上能够更及时地被处理,提高了数据系统的运行效率以及配送效率。The above embodiment uses the delivery address in the order to perform path planning, and aggregates the orders through the path planning results to generate a path collection order, so that subsequent sorting and delivery operations can be performed based on the path collection order. As a result, orders can be automatically collected, so that orders can be processed in a more timely manner as a whole, improving the operating efficiency and distribution efficiency of the data system.
下面示例性地描述两种路径规划的方法。Two path planning methods are exemplarily described below.
在一些实施例中,利用第一算法对订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单。第一算法包括:从订单池中随机选择一个订单;在已有路径集合订单的情况下,若利用匹配策略能够在已有路径集合订单中找到匹配位置,则将随机选择的订单插入匹配位置;若不能在已有路径集合订单中找到匹配位置、或者当前没有路径集合订单,则将随机选择的订单插入新的路径集合订单中;重复从订单池中随机选择一个订单,直到将订单池中没有订单为止。In some embodiments, the first algorithm is used to perform path planning on the delivery address of the order in the order pool to generate a path set order corresponding to the path planning result. The first algorithm includes: randomly selecting an order from the order pool; in the case of existing path collection orders, if the matching strategy can be used to find a matching position in the existing path collection orders, then insert the randomly selected order into the matching position; If a matching position cannot be found in the existing route collection order, or there is currently no route collection order, a randomly selected order will be inserted into the new route collection order; an order will be randomly selected from the order pool repeatedly until there is no order in the order pool. Until order.
例如,订单池中包括3个订单,相应的订单编号为{11,24,33}。目前有两个路径集合订单,具体为:集合订单一:1-3-14-26,集合订单二:5-2-7。For example, the order pool includes 3 orders, and the corresponding order numbers are {11, 24, 33}. There are currently two paths to collect orders, specifically: Collection Order One: 1-3-14-26, Collection Order Two: 5-2-7.
随机从订单池中提取出一个订单,即订单11,然后在集合订单一和集合订单二中判断是否存满足第一约束条件、且使得VRP目标函数值增加最小的位置,若存在这样的位置,则将订单11插入该位置。如果在集合订单一和集合订单二中不存在满足第一约束条件、且使得VRP目标函数值增加最小的位置,则将订单11插入到一个新的集合订单中。Randomly extract an order from the order pool, that is, order 11, and then determine whether there is a position that satisfies the first constraint and minimizes the increase in the VRP objective function value in set order one and set order two. If such a position exists, Then insert order 11 at this position. If there is no position in set order one and set order two that satisfies the first constraint and minimizes the increase in the VRP objective function value, then order 11 is inserted into a new set order.
在一些实施例中,利用第二算法对订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单。第二算法包括:按照分类规则将订单池的订单分为种子订单和非种子订单;从多个种子订单中随机选择一个种子订单作为基础订单;利用匹配策略选择出能够与基础订单放置在同一路径集合订单中的种子订单和非种子订单,以生成路径集合订单;重复从多个种子订单中随机选择一个种子订单作为基础订单,直到多个种子订单处理完为止。In some embodiments, a second algorithm is used to perform path planning on the delivery address of the order in the order pool to generate a path set order corresponding to the path planning result. The second algorithm includes: dividing orders in the order pool into seed orders and non-seed orders according to classification rules; randomly selecting a seed order from multiple seed orders as a base order; using a matching strategy to select a seed order that can be placed on the same path as the base order Collect the seed orders and non-seed orders in the order to generate the path collection order; repeatedly randomly select a seed order from multiple seed orders as the base order until multiple seed orders are processed.
在一些实施例中,在利用上述第一算法或第二算法生成多个路径集合订单后,还通过对多个路径集合订单进行第一优化处理,以便得到优化的集合订单。In some embodiments, after using the above-mentioned first algorithm or second algorithm to generate multiple route set orders, a first optimization process is also performed on the multiple route set orders to obtain optimized set orders.
例如,第一优化处理包括:首先随机选择预定数量个路径集合订单作为第一待处理集合订单,接下来在每个第一待处理集合订单中,将至少一个订单移入订单池,然后利用上述的第一算法对订单池中的全部订单进行处理。For example, the first optimization process includes: first randomly selecting a predetermined number of path collection orders as the first collection orders to be processed, and then moving at least one order into the order pool in each first collection order to be processed, and then using the above The first algorithm processes all orders in the order pool.
在一些实施例中,为了保证优化处理的稳定性,若某个集合订单中只有两个订单,则选择该集合订单。In some embodiments, in order to ensure the stability of the optimization process, if there are only two orders in a certain set order, the set order is selected.
在上述第一优化处理中,通过对集合订单中包括的订单进行重组,从而能够得到 优化的集合订单。In the above first optimization process, by reorganizing the orders included in the collective order, it is possible to obtain Optimized collection orders.
如图2A所示,目前有3个路径集合订单。集合订单21中包括5个订单,集合订单22中包括2个订单,集合订单23中包括3个订单。As shown in Figure 2A, there are currently 3 paths to collect orders. The set order 21 includes 5 orders, the set order 22 includes 2 orders, and the set order 23 includes 3 orders.
如图2B所示,通过上述第一优化处理,对集合订单21和22中包括的订单进行了重组。在这种情况下,集合订单21中包括4个订单,集合订单22中包括3个订单,集合订单23保持不变。As shown in FIG. 2B , through the above-described first optimization process, the orders included in the collective orders 21 and 22 are reorganized. In this case, the set order 21 includes 4 orders, the set order 22 includes 3 orders, and the set order 23 remains unchanged.
在一些实施例中,在第一优化处理后,还可对多个路径集合订单进行第二优化处理,以便对路径集合订单进行随机优化。In some embodiments, after the first optimization process, a second optimization process can also be performed on multiple route set orders, so that the route set orders can be randomly optimized.
例如,第二优化处理包括:以预设频率产生随机数,若随机数大于预设扰动值,则检查是否存在独立种子订单,其中独立种子订单为未与其它订单构成路径集合订单的种子订单。For example, the second optimization process includes: generating random numbers at a preset frequency, and if the random numbers are greater than the preset disturbance value, checking whether there is an independent seed order, where an independent seed order is a seed order that does not form a path set order with other orders.
若存在独立种子订单,则将独立种子订单移入订单池,并随机选择满足预设条件的预定数量个路径集合订单作为第二待处理集合订单。If there is an independent seed order, the independent seed order is moved into the order pool, and a predetermined number of path collection orders that meet the preset conditions are randomly selected as the second pending collection order.
例如,预设条件包括:第二待处理集合订单中的订单总数小于预设数量门限。即选择订单数量较少的集合订单作为第二待处理集合订单。For example, the preset conditions include: the total number of orders in the second pending collection order is less than the preset quantity threshold. That is, the collection order with a smaller order quantity is selected as the second pending collection order.
接下来,将每个第二待处理集合订单中的全部订单移入订单池。最后利用第二算法对订单池中的全部订单进行处理。Next, all orders in each second pending collection order are moved into the order pool. Finally, the second algorithm is used to process all orders in the order pool.
如图3A所示,目前有3个路径集合订单。集合订单31中包括5个订单,集合订单32中包括2个订单,集合订单33中包括3个订单。此外还有一个种子订单30未与其它订单组成集合订单。As shown in Figure 3A, there are currently 3 paths to collect orders. The collective order 31 includes 5 orders, the collective order 32 includes 2 orders, and the collective order 33 includes 3 orders. In addition, there is a seed order 30 that is not combined with other orders to form a collective order.
如图3B所示,通过第二优化处理,种子订单30与原包括在集合订单31中的一个订单、以及原包括在集合订单32中的一个订单组成集合订单33。从而,可以有效地提高整体的集单率。As shown in FIG. 3B , through the second optimization process, the seed order 30 forms a collective order 33 with an order originally included in the collective order 31 and an order originally included in the collective order 32 . Thus, the overall order collection rate can be effectively improved.
需要说明的是,在图3B中,通过第二优化处理,原集合订单32中的一个订单未与其它订单组成集合订单。由于该订单为非种子订单,因此可将该订单返回订单池,以便参与下次的集合订单生成,从而增加整体的订单组合成功的概率。It should be noted that in Figure 3B, through the second optimization process, one order in the original set order 32 does not form a set order with other orders. Since the order is a non-seed order, the order can be returned to the order pool to participate in the next collective order generation, thereby increasing the probability of the overall order combination being successful.
在一些实施例中,还可以根据预设的第二约束条件,判断是否采纳生成的路径集合订单。下面参考图4描述本公开路径集合订单下发方法的实施例。In some embodiments, it may also be determined whether to adopt the generated route set order based on a preset second constraint. The following describes an embodiment of the route collection order issuance method of the present disclosure with reference to FIG. 4 .
图4示出了根据本公开一些实施例的路径集合订单下发方法的流程示意图。如图4所示,该实施例的路径集合订单下发方法包括步骤S402~S410。 Figure 4 shows a schematic flowchart of a method for issuing a route collection order according to some embodiments of the present disclosure. As shown in Figure 4, the route collection order issuing method in this embodiment includes steps S402 to S410.
在步骤S402中,判断路径集合订单是否满足第二约束条件。如果满足,执行步骤S404;如果不满足,执行步骤S406。In step S402, it is determined whether the route set order satisfies the second constraint condition. If satisfied, execute step S404; if not satisfied, execute step S406.
在一些实施例中,第二约束条件包括以下至少一种:路径集合订单的最早生产时间大于当前时间和预设参数之和,其中最早生产时间为路径集合订单中的各订单的生产时间中的最早时间,生产时间例如根据用户期望的配送时间向前推算确定;路径集合订单中的订单总数不在预设范围内;或,路径集合订单中,目标类别的订单的配送时间大于非目标类别的订单的配送时间,例如餐饮类订单需要优先配送。In some embodiments, the second constraint includes at least one of the following: the earliest production time of the route set order is greater than the sum of the current time and the preset parameters, where the earliest production time is the production time of each order in the route set order. The earliest time, the production time is determined based on the user's expected delivery time, for example; the total number of orders in the route set order is not within the preset range; or, in the route set order, the delivery time of the target category order is greater than the non-target category order delivery time, for example, catering orders need priority delivery.
在步骤S404中,在路径集合订单的下发时间下发路径集合订单。In step S404, the path collection order is issued at the issuance time of the path collection order.
路径集合订单的下发时间根据路径集合订单中的订单的最早下发时间确定。下发是指启动订单的生产流程。The issuance time of the route set order is determined based on the earliest issuance time of the orders in the route set order. Release refers to initiating the production process of an order.
在一些实施例中,路径集合订单的下发时间=(max[(开始配送时间-下传提前量-生产耗时-在途时间),当前系统时间+加工时间]-预留时间),max是指求最大值计算,预留时间例如为2分钟。In some embodiments, the delivery time of the route set order = (max[(start delivery time-download lead time-production time-in-transit time), current system time + processing time]-reservation time), max is Refers to the calculation of the maximum value. The reserved time is, for example, 2 minutes.
在步骤S406中,判断当前是否到达路径集合订单的下发时间。如果是,执行步骤S408;如果不是,执行步骤S410。In step S406, it is determined whether the issuance time of the route collection order is currently reached. If yes, execute step S408; if not, execute step S410.
在步骤S408中,下发路径集合订单。In step S408, a route collection order is issued.
例如,将路径集合订单发送到生成系统,以生成分拣集合订单。For example, route collection orders are sent to the production system to generate pick collection orders.
在步骤S410中,路径集合订单中的订单参与下一个周期的路径规划。从而,获得一个更优的结果。In step S410, the orders in the route set orders participate in the route planning of the next cycle. Thus, a better result is obtained.
在一些实施例中,对于订单池中未被添加到路径集合订单的订单,在当前到达订单的下发时间的情况下,下发订单。在一些实施例中,此类订单的下发时间=max[(开始配送时间-下传提前量-生产耗时-在途时间),当前系统时间+加工时间]。此类订单被单独下发后,可以由生产系统根据其他方式进行集单处理。In some embodiments, for orders in the order pool that are not added to the route set orders, the order is issued when the order's issuance time is currently reached. In some embodiments, the delivery time of such an order = max [(start delivery time - delivery lead time - production time - transit time), current system time + processing time]. After such orders are issued individually, they can be consolidated and processed by the production system according to other methods.
通过上述实施例,能够在满足订单生产时限任务的基础上获得更合理的路径集合订单,从而从整体上提高了系统运行效率和配送效率。Through the above embodiment, a more reasonable path collection order can be obtained on the basis of meeting the order production time limit task, thereby improving the system operation efficiency and distribution efficiency as a whole.
下面参考图5描述本公开订单的处理装置的实施例。An embodiment of the order processing device of the present disclosure is described below with reference to FIG. 5 .
图5示出了根据本公开一些实施例的订单的处理装置的结构示意图。如图5所示,该实施例的订单的处理装置500包括:路径集合订单生成模块5100,被配置为根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;拣货集合订单生成模块5200,被配置为根据路径集合订单,生成一个或多个拣货集合订 单。Figure 5 shows a schematic structural diagram of an order processing device according to some embodiments of the present disclosure. As shown in Figure 5, the order processing device 500 of this embodiment includes: a route collection order generation module 5100, which is configured to perform route planning based on the delivery address of the order in the order pool to generate a route collection order corresponding to the route planning result. ; The picking set order generation module 5200 is configured to assemble orders according to the path and generate one or more picking set orders. one.
在一些实施例中,路径集合订单生成模块5100进一步被配置为在预设的第一约束条件下,根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;其中,第一约束条件包括路径集合订单所涉及的订单的最大订单数量、最早送达时间、收货地址的分散程度、库存量单元数量上限、收货地址是否跨区、重量上限、订单的距离上限、配送顺序、期望配送的时间窗或是否跨越生产波次中的至少一种。In some embodiments, the route collection order generation module 5100 is further configured to perform route planning according to the delivery address of the order in the order pool under the preset first constraint condition to generate a route collection order corresponding to the route planning result; Among them, the first constraint includes the maximum order quantity of the orders involved in the route collection order, the earliest delivery time, the degree of dispersion of the delivery address, the upper limit of the number of inventory units, whether the delivery address crosses the area, the upper limit of weight, and the distance of the order. At least one of the upper limit, delivery sequence, desired delivery time window, or whether it spans production waves.
在一些实施例中,路径集合订单生成模块5100进一步被配置为利用第一算法对订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;其中,第一算法包括:从订单池中随机选择一个订单,并插入到路径集合订单,包括:在已有路径集合订单的情况下,若利用匹配策略能够在已有路径集合订单中找到匹配位置,则将随机选择的订单插入匹配位置;和,若不能在已有路径集合订单中找到匹配位置、或者当前没有路径集合订单,则将随机选择的订单插入新的路径集合订单中;其中,重复所述从所述订单池中随机选择一个订单,并插入到路径集合订单的步骤,直到将订单池中没有订单为止。In some embodiments, the route set order generation module 5100 is further configured to use a first algorithm to perform route planning on the delivery address of the order in the order pool to generate a route set order corresponding to the route planning result; wherein the first algorithm includes : Randomly select an order from the order pool and insert it into the route set order, including: in the case of an existing route set order, if a matching position can be found in the existing route set order using the matching strategy, the randomly selected order will be The order is inserted into the matching position; and, if the matching position cannot be found in the existing path collection order, or there is currently no path collection order, the randomly selected order is inserted into the new path collection order; wherein, repeating the above process from the order An order is randomly selected from the pool and inserted into the path collection order step until there is no order in the order pool.
在一些实施例中,路径集合订单生成模块5100进一步被配置为利用第二算法对订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;其中,第二算法包括:按照分类规则将订单池的订单分为种子订单和非种子订单;重复执行:从多个种子订单中随机选择一个种子订单作为基础订单,以及,利用匹配策略选择出能够与基础订单放置在同一路径集合订单中的种子订单和非种子订单,以生成路径集合订单,直到多个种子订单处理完为止。In some embodiments, the route set order generation module 5100 is further configured to use a second algorithm to perform route planning on the delivery address of the order in the order pool to generate a route set order corresponding to the route planning result; wherein the second algorithm includes : According to the classification rules, the orders in the order pool are divided into seed orders and non-seed orders; repeated execution: randomly select a seed order from multiple seed orders as the base order, and use the matching strategy to select a seed order that can be placed in the same place as the base order. Seed orders and non-seed orders in route set orders to generate route set orders until multiple seed orders are processed.
在一些实施例中,订单的处理装置500还包括下发模块5300,被配置为在路径集合订单满足第二约束条件的情况下,在路径集合订单的下发时间下发路径集合订单;或者在路径集合订单不满足第二约束条件、并且当前到达路径集合订单的下发时间的情况下,下发路径集合订单;其中,路径集合订单的下发时间根据路径集合订单中的订单的最早下发时间确定。In some embodiments, the order processing device 500 further includes a issuing module 5300, configured to issue the route set order at the issuing time of the route set order if the route set order satisfies the second constraint; or in If the route set order does not satisfy the second constraint and the issuance time of the route set order is currently reached, the route set order is issued; where, the issuance time of the route set order is based on the earliest issuance of the order in the route set order. Time determined.
在一些实施例中,路径集合订单生成模块5100进一步被配置为以预设周期,根据订单池中的订单的收货地址进行路径规划。In some embodiments, the route collection order generation module 5100 is further configured to perform route planning based on the delivery addresses of the orders in the order pool at a preset cycle.
在一些实施例中,下发模块5300进一步被配置为在路径集合订单不满足第二约束条件、并且当前未到达路径集合订单的下发时间的情况下,路径集合订单中的订单 参与下一个周期的路径规划。In some embodiments, the issuance module 5300 is further configured to issue orders in the path collection order if the path collection order does not satisfy the second constraint and the issuance time of the path collection order has not yet arrived. Participate in path planning for the next cycle.
在一些实施例中,其中,第二约束条件包括以下至少一种:路径集合订单的最早生产时间大于当前时间和预设参数之和,其中最早生产时间为路径集合订单中的各订单的生产时间中的最早时间;路径集合订单中的订单总数不在预设范围内;或路径集合订单中,目标类别的订单的配送时间大于非目标类别的订单的配送时间。In some embodiments, the second constraint includes at least one of the following: the earliest production time of the route collection order is greater than the sum of the current time and preset parameters, where the earliest production time is the production time of each order in the route collection order the earliest time in the route collection order; the total number of orders in the route collection order is not within the preset range; or in the route collection order, the delivery time of the target category order is greater than the delivery time of the non-target category order.
在一些实施例中,下发模块5300进一步被配置为对于订单池中未被添加到路径集合订单的订单,在当前到达订单的下发时间的情况下,下发订单。In some embodiments, the issuing module 5300 is further configured to issue orders for orders in the order pool that are not added to the route set orders when the issuing time of the order currently arrives.
在一些实施例中,订单的处理装置500还包括订单池生成模块5400,被配置为根据生成的订单的期望配送时间,确定将生成的订单添加到订单池的时间。In some embodiments, the order processing device 500 further includes an order pool generation module 5400, configured to determine the time to add the generated order to the order pool according to the expected delivery time of the generated order.
在一些实施例中,订单的处理装置500还包括:配送分配模块5500,被配置为在根据路径集合订单生成一个拣货集合订单的情况下,将所拣货集合订单中的全部订单分配给同一个配送单元进行配送;或者,在根据路径集合订单生成多个拣货集合订单的情况下,将多个拣货集合中,处于正常出库状态的拣货集合订单中的订单分配给同一个配送单元进行配送。In some embodiments, the order processing device 500 further includes: a delivery allocation module 5500, configured to allocate all orders in the picked collection order to the same order when a picking collection order is generated according to the route collection order. One distribution unit performs distribution; or, when multiple picking collection orders are generated based on route collection orders, the orders in the picking collection orders in the multiple picking collections that are in normal outbound status are assigned to the same distribution unit for delivery.
下面参考图6描述本公开订单的处理系统的实施例。An embodiment of the order processing system of the present disclosure is described below with reference to FIG. 6 .
图6示出了根据本公开一些实施例的订单的处理系统的结构示意图。如图6所示,该实施例的处理系统60包括订单的处理装置610和订单池620。订单的处理装置610的具体实施方式可以参考订单的处理装置500,这里不再赘述。订单池620被配置在数据库中。Figure 6 shows a schematic structural diagram of an order processing system according to some embodiments of the present disclosure. As shown in FIG. 6 , the processing system 60 of this embodiment includes an order processing device 610 and an order pool 620 . For the specific implementation of the order processing device 610, reference can be made to the order processing device 500, which will not be described again here. The order pool 620 is configured in the database.
在一些实施例中,处理系统60还包括生产子系统630,被配置为根据分拣集合订单生成分拣任务,并将分拣任务发送到终端设备。In some embodiments, the processing system 60 further includes a production subsystem 630 configured to generate picking tasks according to the picking collection orders and send the picking tasks to the terminal equipment.
在一些实施例中,前文中描述的订单的处理装置中的配送分配模块也可以部署在生产子系统中。In some embodiments, the delivery allocation module in the order processing device described above can also be deployed in the production subsystem.
图7示出了根据本公开另一些实施例的订单的处理装置的结构示意图。如图7所示,该实施例的订单的处理装置70包括:存储器710以及耦接至该存储器710的处理器720,处理器720被配置为基于存储在存储器710中的指令,执行前述任意一个实施例中的订单的处理方法。Figure 7 shows a schematic structural diagram of an order processing device according to other embodiments of the present disclosure. As shown in Figure 7, the order processing device 70 of this embodiment includes: a memory 710 and a processor 720 coupled to the memory 710. The processor 720 is configured to execute any of the foregoing based on instructions stored in the memory 710. Order processing method in the embodiment.
其中,存储器710例如可以包括系统存储器、固定非易失性存储介质等。系统存储器例如存储有操作系统、应用程序、引导装载程序(Boot Loader)以及其他程序等。The memory 710 may include, for example, system memory, fixed non-volatile storage media, etc. System memory stores, for example, operating systems, applications, boot loaders, and other programs.
图8示出了根据本公开又一些实施例的订单的处理装置的结构示意图。如图8所 示,该实施例的订单的处理装置80包括:存储器810以及处理器820,还可以包括输入输出接口830、网络接口840、存储接口8500等。这些接口830,840,8500以及存储器810和处理器820之间例如可以通过总线860连接。其中,输入输出接口830为显示器、鼠标、键盘、触摸屏等输入输出设备提供连接接口。网络接口840为各种联网设备提供连接接口。存储接口8500为SD卡、U盘等外置存储设备提供连接接口。FIG. 8 shows a schematic structural diagram of an order processing device according to further embodiments of the present disclosure. As shown in Figure 8 As shown, the order processing device 80 in this embodiment includes: a memory 810 and a processor 820, and may also include an input and output interface 830, a network interface 840, a storage interface 8500, etc. These interfaces 830, 840, 8500, the memory 810 and the processor 820 may be connected through a bus 860, for example. Among them, the input and output interface 830 provides a connection interface for input and output devices such as a monitor, mouse, keyboard, and touch screen. Network interface 840 provides a connection interface for various networked devices. The storage interface 8500 provides a connection interface for external storage devices such as SD cards and USB flash drives.
本公开的实施例还提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现前述任意一种订单的处理方法。Embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, which is characterized in that when the program is executed by a processor, any one of the aforementioned order processing methods is implemented.
本领域内的技术人员应当明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用非瞬时性存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present disclosure may be provided as methods, systems, or computer program products. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk memory, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein. .
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解为可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device produce a use A device for implementing the functions specified in one process or processes of the flowchart and/or one block or blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions The device implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device. Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.
以上所述仅为本公开的较佳实施例,并不用以限制本公开,凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。 The above are only preferred embodiments of the present disclosure and are not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the protection of the present disclosure. within the range.

Claims (17)

  1. 一种订单的处理方法,包括:An order processing method, including:
    根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;Perform route planning based on the delivery addresses of orders in the order pool to generate route collection orders corresponding to the route planning results;
    根据所述路径集合订单,生成一个或多个拣货集合订单。One or more picking collection orders are generated according to the path collection order.
  2. 根据权利要求1所述的处理方法,其中,所述根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单包括:The processing method according to claim 1, wherein said performing path planning according to the delivery address of the order in the order pool to generate a path set order corresponding to the path planning result includes:
    在预设的第一约束条件下,根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;Under the preset first constraint, route planning is performed based on the delivery address of the order in the order pool to generate a route set order corresponding to the route planning result;
    其中,所述第一约束条件包括路径集合订单所涉及的订单的最大订单数量、最早送达时间、收货地址的分散程度、库存量单元数量上限、收货地址是否跨区、重量上限、订单的距离上限、配送顺序、期望配送的时间窗或是否跨越生产波次中的至少一种。Among them, the first constraint includes the maximum order quantity of the orders involved in the route collection order, the earliest delivery time, the degree of dispersion of the delivery address, the upper limit of the number of inventory units, whether the delivery address crosses the area, the upper weight limit, the order At least one of the distance limit, delivery sequence, expected delivery time window, or whether it spans production waves.
  3. 根据权利要求1所述的处理方法,其中,所述根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单包括:The processing method according to claim 1, wherein said performing path planning according to the delivery address of the order in the order pool to generate a path set order corresponding to the path planning result includes:
    利用第一算法对订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;Use the first algorithm to perform path planning on the delivery address of the order in the order pool to generate a path set order corresponding to the path planning result;
    其中,所述第一算法包括:Wherein, the first algorithm includes:
    从所述订单池中随机选择一个订单,并插入到路径集合订单,包括:An order is randomly selected from the order pool and inserted into the path collection of orders, including:
    在已有路径集合订单的情况下,若利用匹配策略能够在所述已有路径集合订单中找到匹配位置,则将随机选择的订单插入所述匹配位置;和In the case of an existing path collection order, if a matching position can be found in the existing path collection order using a matching strategy, a randomly selected order will be inserted into the matching position; and
    若不能在所述已有路径集合订单中找到匹配位置、或者当前没有路径集合订单,则将随机选择的订单插入新的路径集合订单中;If a matching position cannot be found in the existing route collection order, or there is currently no route collection order, the randomly selected order will be inserted into the new route collection order;
    其中,重复所述从所述订单池中随机选择一个订单,并插入到路径集合订单的步骤,直到将所述订单池中没有订单为止。The step of randomly selecting an order from the order pool and inserting it into the path collection order is repeated until there is no order in the order pool.
  4. 根据权利要求1所述的处理方法,其中,所述根据订单池中订单的收货地址进 行路径规划,以生成路径规划结果对应的路径集合订单包括:The processing method according to claim 1, wherein the processing is performed according to the delivery address of the order in the order pool. Perform path planning to generate path collection orders corresponding to the path planning results, including:
    利用第二算法对订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;Use the second algorithm to perform path planning on the delivery address of the order in the order pool to generate a path set order corresponding to the path planning result;
    其中,所述第二算法包括:Wherein, the second algorithm includes:
    按照分类规则将所述订单池的订单分为种子订单和非种子订单;Orders in the order pool are divided into seed orders and non-seed orders according to classification rules;
    重复执行:Repeat:
    从所述多个种子订单中随机选择一个种子订单作为基础订单,以及Randomly select one seed order from the plurality of seed orders as the base order, and
    利用所述匹配策略选择出能够与所述基础订单放置在同一路径集合订单中的种子订单和非种子订单,以生成路径集合订单,Use the matching strategy to select seed orders and non-seed orders that can be placed in the same path set order as the basic order to generate a path set order,
    直到所述多个种子订单处理完为止。Until the multiple seed orders are processed.
  5. 根据权利要求1~4中任一项所述的处理方法,还包括:The processing method according to any one of claims 1 to 4, further comprising:
    在所述路径集合订单满足第二约束条件的情况下,在所述路径集合订单的下发时间下发所述路径集合订单;或者If the route set order satisfies the second constraint, issue the route set order at the issuance time of the route set order; or
    在所述路径集合订单不满足所述第二约束条件、并且当前到达所述路径集合订单的下发时间的情况下,下发所述路径集合订单;If the route set order does not satisfy the second constraint and the issuance time of the route set order is currently reached, issue the route set order;
    其中,所述路径集合订单的下发时间根据所述路径集合订单中的订单的最早下发时间确定。Wherein, the issuance time of the route set order is determined based on the earliest issuance time of the orders in the route set order.
  6. 根据权利要求1~4中任一项所述的处理方法,其中,以预设周期,根据订单池中的订单的收货地址进行路径规划。The processing method according to any one of claims 1 to 4, wherein path planning is performed based on the delivery address of the order in the order pool at a preset cycle.
  7. 根据权利要求1~4中任一项所述的处理方法,其中,在所述路径集合订单不满足第二约束条件、并且当前未到达所述路径集合订单的下发时间的情况下,所述路径集合订单中的订单参与下一个周期的路径规划。The processing method according to any one of claims 1 to 4, wherein when the path collection order does not satisfy the second constraint and the issuance time of the path collection order has not yet arrived, the The orders in the path set order participate in the path planning of the next cycle.
  8. 根据权利要求5或7所述的处理方法,其中,所述第二约束条件包括以下至少一种:The processing method according to claim 5 or 7, wherein the second constraint condition includes at least one of the following:
    所述路径集合订单的最早生产时间大于当前时间和预设参数之和,其中所述最早生产时间为所述路径集合订单中的各订单的生产时间中的最早时间; The earliest production time of the route set order is greater than the sum of the current time and preset parameters, wherein the earliest production time is the earliest time among the production times of each order in the route set order;
    所述路径集合订单中的订单总数不在预设范围内;或The total number of orders in the route set order is not within the preset range; or
    所述路径集合订单中,目标类别的订单的配送时间大于非目标类别的订单的配送时间。Among the route set orders, the delivery time of orders of the target category is greater than the delivery time of orders of non-target categories.
  9. 根据权利要求1~4中任一项所述的处理方法,还包括:The processing method according to any one of claims 1 to 4, further comprising:
    对于所述订单池中未被添加到所述路径集合订单的订单,在当前到达所述订单的下发时间的情况下,下发所述订单。For orders in the order pool that are not added to the route set orders, when the issuance time of the order is currently reached, the order is issued.
  10. 根据权利要求1~4中任一项所述的处理方法,还包括:The processing method according to any one of claims 1 to 4, further comprising:
    根据生成的订单的期望配送时间,确定将所述生成的订单添加到所述订单池的时间。The time to add the generated order to the order pool is determined based on the expected delivery time of the generated order.
  11. 根据权利要求1~4中任一项所述的处理方法,还包括:The processing method according to any one of claims 1 to 4, further comprising:
    在根据所述路径集合订单生成一个拣货集合订单的情况下,将所拣货集合订单中的全部订单分配给同一个配送单元进行配送;或者,When a picking set order is generated based on the route set order, all orders in the picked set set order are assigned to the same delivery unit for delivery; or,
    在根据所述路径集合订单生成多个拣货集合订单的情况下,将所述多个拣货集合中,处于正常出库状态的拣货集合订单中的订单分配给同一个配送单元进行配送。When multiple picking set orders are generated based on the path set order, orders in the picking set orders in the normal outbound state among the multiple picking sets are assigned to the same delivery unit for delivery.
  12. 一种订单的处理装置,包括:An order processing device, including:
    路径集合订单生成模块,被配置为根据订单池中订单的收货地址进行路径规划,以生成路径规划结果对应的路径集合订单;The route collection order generation module is configured to perform route planning based on the delivery address of the order in the order pool to generate a route collection order corresponding to the route planning result;
    拣货集合订单生成模块,被配置为根据所述路径集合订单,生成一个或多个拣货集合订单。A picking collection order generating module is configured to generate one or more picking collection orders according to the path collection order.
  13. 一种订单的处理装置,包括:An order processing device, including:
    存储器;以及memory; and
    耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器中的指令,执行如权利要求1~11中任一项所述的订单的处理方法。A processor coupled to the memory, the processor being configured to execute the order processing method according to any one of claims 1 to 11 based on instructions stored in the memory.
  14. 一种订单的处理系统,包括: An order processing system, including:
    权利要求12或13所述的订单的处理装置;以及The order processing device according to claim 12 or 13; and
    订单池,所述订单池被配置在数据库中。Order pool, the order pool is configured in the database.
  15. 根据权利要求14所述的处理系统,还包括:The processing system of claim 14, further comprising:
    生产子系统,被配置为根据所述分拣集合订单生成分拣任务,并将所述分拣任务发送到终端设备。The production subsystem is configured to generate a sorting task according to the sorting collection order, and send the sorting task to the terminal device.
  16. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1~11中任一项所述的订单的处理方法。A computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the order processing method described in any one of claims 1 to 11 is implemented.
  17. 一种计算机程序,包括:A computer program consisting of:
    指令,所述指令当由处理器执行时使所述处理器执行根据权利要求1~11中任一项所述的订单的处理方法。 Instructions, which when executed by a processor cause the processor to execute the order processing method according to any one of claims 1 to 11.
PCT/CN2023/086799 2022-07-11 2023-04-07 Order processing method and apparatus, and computer-readable storage medium WO2024011971A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210808960.5 2022-07-11
CN202210808960.5A CN115147185A (en) 2022-07-11 2022-07-11 Order processing method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2024011971A1 true WO2024011971A1 (en) 2024-01-18

Family

ID=83411841

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/086799 WO2024011971A1 (en) 2022-07-11 2023-04-07 Order processing method and apparatus, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN115147185A (en)
WO (1) WO2024011971A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115147185A (en) * 2022-07-11 2022-10-04 北京沃东天骏信息技术有限公司 Order processing method and device and computer readable storage medium
CN116402430B (en) * 2023-06-07 2023-09-19 成都运荔枝科技有限公司 Trunk order matching method based on cold chain logistics scene

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2827289A1 (en) * 2013-07-17 2015-01-21 General Transports GmbH Method for collection and delivery of material goods or the provision of services by means of dynamic route planning and redistribution of goods
CN110390409A (en) * 2018-04-17 2019-10-29 北京京东尚科信息技术有限公司 The determination method, apparatus and computer readable storage medium of distribution project
CN110956384A (en) * 2019-11-26 2020-04-03 拉扎斯网络科技(上海)有限公司 Distribution task processing method and device, electronic equipment and readable storage medium
CN111080207A (en) * 2019-12-26 2020-04-28 北京每日优鲜电子商务有限公司 Order processing method, device, equipment and storage medium
CN113393020A (en) * 2021-05-31 2021-09-14 上海东普信息科技有限公司 Intelligent logistics scheduling method, device, equipment and storage medium
CN113420928A (en) * 2021-06-30 2021-09-21 上海东普信息科技有限公司 Order scheduling method, device, equipment and storage medium
CN115049342A (en) * 2022-07-11 2022-09-13 北京沃东天骏信息技术有限公司 Goods delivery control method and device and computer readable storage medium
CN115147185A (en) * 2022-07-11 2022-10-04 北京沃东天骏信息技术有限公司 Order processing method and device and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2827289A1 (en) * 2013-07-17 2015-01-21 General Transports GmbH Method for collection and delivery of material goods or the provision of services by means of dynamic route planning and redistribution of goods
CN110390409A (en) * 2018-04-17 2019-10-29 北京京东尚科信息技术有限公司 The determination method, apparatus and computer readable storage medium of distribution project
CN110956384A (en) * 2019-11-26 2020-04-03 拉扎斯网络科技(上海)有限公司 Distribution task processing method and device, electronic equipment and readable storage medium
CN111080207A (en) * 2019-12-26 2020-04-28 北京每日优鲜电子商务有限公司 Order processing method, device, equipment and storage medium
CN113393020A (en) * 2021-05-31 2021-09-14 上海东普信息科技有限公司 Intelligent logistics scheduling method, device, equipment and storage medium
CN113420928A (en) * 2021-06-30 2021-09-21 上海东普信息科技有限公司 Order scheduling method, device, equipment and storage medium
CN115049342A (en) * 2022-07-11 2022-09-13 北京沃东天骏信息技术有限公司 Goods delivery control method and device and computer readable storage medium
CN115147185A (en) * 2022-07-11 2022-10-04 北京沃东天骏信息技术有限公司 Order processing method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN115147185A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
WO2024011971A1 (en) Order processing method and apparatus, and computer-readable storage medium
JP7046090B2 (en) Delivery method and equipment
CN107103446B (en) Inventory scheduling method and device
CN109978423A (en) Inventory's dispatching method, device and computer readable storage medium
CN109772714B (en) Goods sorting method and device, storage medium and electronic equipment
CN110322172A (en) Inventory's dispatching method, device and computer readable storage medium
CN109902975B (en) Scheduling method, system, apparatus and computer readable storage medium
JP6974558B1 (en) Electronic devices that manage physical distribution information and their control methods
US20060287939A1 (en) Methods and systems for grouping and managing stock requests
JP6650508B2 (en) Warehouse management system and warehouse management method
CN110210802A (en) A kind of management method and its system for quickly getting over library
CN111260270A (en) Method and device for improving order processing efficiency of store
CN111507651A (en) Order data processing method and device applied to man-machine mixed warehouse
CN109784791A (en) Order allocation method and device
CN112700180A (en) Goods picking method and goods picking device
CN115049342A (en) Goods delivery control method and device and computer readable storage medium
CN111985862A (en) Method and apparatus for locating inventory items
CN112396322A (en) Production plan-based process technology unit productivity assessment method and system
CA3161478A1 (en) Systems and methods for prioritizing pick jobs while optimizing efficiency
CN111703802B (en) Control method and device for warehouse-in and warehouse-out process and warehousing system
CN112966992B (en) Order production method and device
CN112396323A (en) Production plan-based process sheet distribution method and system
Raggl et al. Solution approaches for the dynamic stacking problem
CN110414879A (en) The method, apparatus and computer readable storage medium of multidomain treat-ment order
CN113159467A (en) Vehicle dispatching order processing method and device

Legal Events

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

Ref document number: 23838473

Country of ref document: EP

Kind code of ref document: A1