WO2021000864A1 - Order backlog processing - Google Patents

Order backlog processing Download PDF

Info

Publication number
WO2021000864A1
WO2021000864A1 PCT/CN2020/099373 CN2020099373W WO2021000864A1 WO 2021000864 A1 WO2021000864 A1 WO 2021000864A1 CN 2020099373 W CN2020099373 W CN 2020099373W WO 2021000864 A1 WO2021000864 A1 WO 2021000864A1
Authority
WO
WIPO (PCT)
Prior art keywords
task
order
delivery
package
points
Prior art date
Application number
PCT/CN2020/099373
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 WO2021000864A1 publication Critical patent/WO2021000864A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • 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
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0639Item locations

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to order processing.
  • O2O online-to-offline
  • the takeaway distribution platform will determine the matching degree between the dispatcher and the order according to the received user's order, according to the path optimization algorithm, determine the assignment relationship between the order and the dispatcher, and the dispatcher's route plan for the dispatch of the order, and follow the assignment The relationship assigns the order to the shipper.
  • the order processing method provided by the present disclosure includes: obtaining a predetermined route plan corresponding to the dispatcher for any dispatcher; determining the dispatch order of the task points included in the route plan, and the task points Is the pick-up location and/or delivery location of the unassigned order included in the route plan; according to the determined delivery sequence of the task points, the task points corresponding to the same unassigned order are divided into the same task package, Divide the task points included in the path plan into several task packages; select several task packages from the divided task packages, and perform order processing on unassigned orders corresponding to the task points in the selected task packages .
  • the present disclosure provides an order processing device, including: an acquisition module, for any dispatcher, acquires a predetermined route plan corresponding to the dispatcher; a determination module, which determines the delivery order of task points included in the route plan , The task point is the pick-up location and/or the delivery location of the unassigned order included in the path plan; the division module, according to the determined delivery sequence of the task point, to assign the task points corresponding to the same unassigned order In the way of dividing into the same task package, the task points included in the path plan are divided into several task packages; the execution module selects several task packages from the divided task packages, and compares the tasks in the selected task packages. The unassigned order corresponding to the task point is processed by pressing the order.
  • the present disclosure provides a computer-readable storage medium, the storage medium stores a computer program, and when the computer program is executed by a processor, the foregoing order processing method is implemented.
  • An electronic device includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the foregoing order processing method when the program is executed.
  • the dispatch order of the task points included in the route plan is determined based on the predetermined route plan corresponding to the dispatcher, wherein, The task point is the pickup location and/or delivery location of the unassigned order included in the route plan. Then, according to the determined delivery sequence of the task points, the task points corresponding to the same unassigned order are divided into the same task package, and the task points included in the path plan are divided into several task packages. Finally, select a number of task packages from the divided task packages, and perform order processing on the unassigned orders corresponding to the task points in the selected task packages.
  • FIG. 1 is a flowchart of a method for processing orders according to an embodiment of the disclosure
  • FIG. 2 is a schematic diagram of path planning provided by an embodiment of the disclosure.
  • FIG. 3a is a schematic diagram of marking task points according to an embodiment of the disclosure.
  • FIG. 3b is a schematic diagram of task package division provided by an embodiment of the disclosure.
  • FIG. 4 is a block diagram of a single processing device provided by an embodiment of the disclosure.
  • Fig. 5 is a block diagram of an electronic device provided by an embodiment of the disclosure.
  • order processing is to perform order processing for a single order that meets the processing conditions for order processing, that is, to consider whether a single order is suitable for order processing. Due to the complicated handling of orders, considering the ordering of a single order alone will lead to unreasonable order suppression, which will lead to a decrease in delivery efficiency.
  • FIG. 1 is a flow chart of a method for processing orders according to an embodiment of the disclosure.
  • the method may include steps S102-S108.
  • the takeaway delivery platform may determine the assignment relationship between the unassigned order and the dispatcher according to the determined path plan corresponding to the dispatcher. Before assigning an unassigned order to a dispatcher, the unassigned order needs to be processed in order to distribute each unassigned order more reasonably, and improve the delivery efficiency and the delivery experience of the dispatcher.
  • the order processing process is executed on the server of the takeaway delivery platform. Therefore, the present disclosure also takes the server as the execution subject of the order processing process as an example for description.
  • Route planning usually includes the following data: the delivery location and pickup location of the unassigned order, so that the delivery person can determine how to deliver the delivery.
  • the estimated waiting time corresponding to the unassigned order that is, based on the predicted time for the dispatcher to arrive at the merchant and the predicted time for the merchant to prepare the delivery, the obtained dispatcher needs to wait for the estimated waiting time for the merchant to prepare the delivery.
  • the estimated delivery time of the unassigned order that is, the estimated time that the shipper will actually arrive at the user when the delivery task is performed.
  • the promised delivery time of an unassigned order is the delivery time of the delivery promised to the user by the platform after receiving the user's order (for example, if the delivery is promised within half an hour, then half an hour after the user places the order is the promised delivery time ),and many more.
  • the server can obtain a predetermined route plan corresponding to the dispatcher for any dispatcher who has not been assigned an order.
  • the route planning can also include Various data corresponding to the shipper’s order.
  • FIG. 2 is a schematic diagram of the path planning of a certain shipper X determined by the server according to an embodiment of the present disclosure, where the triangle represents the delivery location, the circle represents the pickup location, and the dark-colored graphic represents the delivery location assigned to the shipper X.
  • the light-colored graphics indicate the unassigned orders that have a high degree of matching with the shipper X, but have not been assigned to the shipper X.
  • the graphics containing the same number correspond to the same order. It can be seen that among the orders that have been assigned to shipper X, the shipper X has already taken the delivery of order 1 and is on the way to deliver the delivery of order 1.
  • S104 Determine the delivery sequence of the task points included in the path plan, where the task points are the pickup locations and/or delivery locations of the unassigned orders included in the path plan.
  • the server can divide each unassigned order with coupling among the unassigned orders into a task package based on the unassigned orders included in the path plan and according to the coupling between the unassigned orders.
  • the divided task packages are the objects of the order processing.
  • the coupling between unassigned orders is related to the delivery order of the task points corresponding to each unassigned order in the route planning, so the server can first determine the delivery order of the task points included in the route planning, where the task points are in the route planning Contains the pickup location and/or delivery location of the unassigned order.
  • the task point can be either a pick-up location for an unassigned order or a delivery location for an unassigned order.
  • the server may determine the pickup location and delivery location of each unassigned order included in the route plan corresponding to the dispatcher, such as the light-colored triangle and the light-colored circle as shown in FIG. 2. Since the pickup location and the delivery location are both task points, the server can determine the delivery order of each task point according to the path plan.
  • the task points corresponding to the same unassigned order can be divided into the same task package to divide the determined task points into several task packages.
  • the server may first determine the last task point that is not divided into the task package as the first designated task point according to the delivery order of each task point determined in step S104 from morning to night.
  • the second designated task point is searched from the first designated task point.
  • the server may determine the second designated task point in a manner that the number of pickup locations and delivery locations from the first designated task point to the second designated task point are the same.
  • the task points from the first designated task point to the second designated task point are divided into a task package. Then re-determine the first designated task point and re-search for the second designated task point until all the task points are divided into task packages.
  • the server can mark the task point belonging to the delivery location in the route planning as -1, and the task point belonging to the pickup location as 1, which is used to determine how to determine the pickup location and the quantity of the delivery location. the same.
  • FIG. 3a is a schematic diagram of marking based on each task point in FIG. 2 provided by an embodiment of the disclosure.
  • the delivery process of the distributor generally does not take the delivery of an order, then send the delivery of this order to the user, and then take the delivery of the next order, but may be separately on the road After taking the delivery items of several orders, they will be delivered separately. Therefore, in order to divide the task package reasonably, the point to divide the task package can be determined according to the tag value of the task point.
  • the second designated task point is searched from the last task point that is not divided into the task package.
  • the last task point that is not divided into the task package is the first designated task point, and it is the last task point in Figure 3a. Since the task points belonging to the meal delivery location and the meal pickup location are marked differently, and the sum of the marked values of the task points of the same number of meal delivery locations and meal pickup locations is 0, if the first designated task point When the number of the pick-up location and the delivery location to the second designated task point is different, the cumulative result is not 0.
  • the server can accumulate the tag value of the task point according to the delivery order of the task point from late to early, starting from the first designated task point, and determine the second designated task point (that is, when the accumulated result is 0).
  • the task point whose cumulative result is 0 is determined as the second designated task point), at this time, the number of pick-up locations and delivery locations from the first designated task point to the second designated task point is the same.
  • FIG. 3b is a schematic diagram of determining the first and second designated task points provided by an embodiment of the disclosure.
  • the thick arrow represents the process of continuously determining the first designated task point and the second designated task point.
  • the sum of the marked values of the task points in the dashed box is 0, so each dashed box corresponds to a task package.
  • S108 Select several task packages from the divided task packages, and perform order processing on unassigned orders corresponding to the task points in the selected task packages.
  • the server can select a number of task packages, and perform order processing on unassigned orders corresponding to the task points in the selected task packages.
  • the task package also has a corresponding delivery order.
  • the server can determine whether each task package conforms to the order of delivery from late to early.
  • the order processing conditions are pressed, and the first task package that does not meet the order processing conditions is determined as a marked package.
  • the unassigned orders corresponding to the task points in the task package whose delivery sequence is later than the marked package are selected for order processing, and the unassigned orders corresponding to the task points in the remaining task packages are assigned to the dispatcher.
  • each task package can be used as the object of the order processing, and for each task package, it is determined whether the task package meets the order processing conditions. Since the order of delivery exists for the task points in each task package, the order of delivery also exists between each task package.
  • Order processing is usually to order orders that need to be delivered later, so that there will be no delay in delivery, so the server can determine the divided tasks according to the delivery order of each unassigned order of the shipper The delivery order of the package.
  • the delivery order of each task package can be determined as the first delivery task package I, then the task package II, and finally the task package III.
  • the single processing condition may include at least one of the following three types.
  • the first order processing condition whether each unassigned order corresponding to the task point in the task package is less than the preset first threshold for the time elapsed since the user placed the order. If so, the task package meets the order processing conditions , Continue to judge the next task package, if not, the unassigned order corresponding to the task point in the task package whose delivery sequence is later than that of the task package is processed, and the task points in the remaining task package are corresponding to the unassigned orders. Assign the order to the shipper.
  • the elapsed time after the user places an order is short (ie, does not exceed the preset first threshold), it indicates that the delivery time of the unassigned order is relatively sufficient, and the delivery can be suspended (that is, the order processing can be performed).
  • the second order processing condition the estimated waiting time of the unassigned order corresponding to the task point with the earliest delivery order in the task package exceeds the preset second threshold.
  • the delivery order of the task points in the task package determine the unassigned order corresponding to the task point with the earliest delivery order, and then determine the expected waiting time according to the determined order content of the unassigned order, and finally determine whether the expected waiting time is If the second threshold is exceeded, if yes, determine that the task package meets the order processing conditions, and continue to judge the next task package; if not, the delivery order is later than the unassigned order corresponding to the task point in the task package of the task package Perform order processing and assign the unassigned orders corresponding to the task points in the remaining task packages to the shipper.
  • the estimated waiting time is the time determined according to the route plan corresponding to the delivery person to wait for the delivery item from the merchant after the delivery person arrives at the merchant (for example, the time that the delivery person needs to wait for the restaurant to eat after arriving at the restaurant) ), if the time is too long, it will reduce the delivery efficiency of the distributor, so the order can be processed.
  • the third order processing condition the estimated waiting time for each unassigned order corresponding to the task point in the task package exceeds the preset third threshold, and the expected delivery time for each unassigned order corresponding to the task point is all Earlier than the promised delivery time.
  • the server can determine whether the estimated waiting time corresponding to the unassigned order exceeds the preset third threshold, and determine whether the estimated delivery time of the unassigned order is earlier than The delivery time is promised. If the judgment result is yes, it is determined that the task package meets the order processing conditions, and the next task package is judged. If any judgment result is no, the delivery order will be later than that of the task package.
  • the unassigned orders corresponding to the task points in the task package are processed, and the unassigned orders corresponding to the task points in the remaining task packages are assigned to the dispatcher.
  • the estimated delivery time is the time predicted by the server to deliver the order's delivery to the delivery location
  • the promised delivery time is the latest time that the deliverer promises to the user to arrive at the delivery location.
  • the delivery time of each unassigned order corresponding to the task point in the task package is earlier than the promised time, it means that if the task point in the task package corresponds to each unassigned order All orders are postponed to be assigned to the shipper, and the delivery efficiency and user experience will not be affected, so the order can be processed.
  • the above three order processing conditions provided in this disclosure can be used alone, for example, as long as one condition is met, order processing can be carried out, or they can be used in combination, for example, two or three of them need to be met at the same time. Only one of them can be used as the order processing condition, which is not limited in the present disclosure.
  • the first threshold, the second threshold, and the third threshold can be set as required, and the present disclosure does not limit it.
  • the dispatch order of the task points included in the route plan is determined based on the predetermined route plan corresponding to the dispatcher, wherein, The task point is the pickup location and/or delivery location of the unassigned order included in the route plan. Then, according to the determined delivery sequence of the task points, the task points corresponding to the same unassigned order are divided into the same task package, and the task points included in the path plan are divided into several task packages. Finally, select a number of task packages from the divided task packages, and perform order processing on the unassigned orders corresponding to the task points in the selected task packages.
  • step S106 of the present disclosure the interference between the task packages divided by this task package division method is small, that is, the order processing of any task package will not affect the correspondence of other task packages.
  • the delivery route Conversely, for each task package, if any order in the task package is processed, it will affect the distribution path corresponding to each order in the task package.
  • the task package after the division can be regarded as dividing the delivery route of the distributor into several road sections that have no mutual influence. Each road section moving out of the delivery route of the distributor will not cause the distributor Detour, and once the order within each section changes, it may cause the delivery person to detour during delivery.
  • the present disclosure is not limited to only dividing the task package in the manner described in step S106. As long as it conforms to the order processing of any task package, it will not affect the distribution path corresponding to other task packages, and the server can also use other methods to divide task packages. For example, first, determine the delivery sequence of the pickup location and delivery location of each unassigned order in the route planning. After that, it is determined whether the pick-up location of the unassigned order delivered last is included between the pick-up location and the delivery location of any unassigned order.
  • the server selects the task package in step S108, it can also select the task package that meets the order processing conditions from the divided task packages based only on the order processing conditions, that is, as long as there is a task package that meets the order processing conditions, For the task package of the processing condition, the unassigned order corresponding to the task point in the task package is processed without considering the delivery order of each task package.
  • the embodiment of the present disclosure also correspondingly provides an order processing device.
  • Fig. 4 is a block diagram of a single processing device provided by an embodiment of the disclosure.
  • the device includes:
  • the obtaining module 200 for any dispatcher, obtains a predetermined route plan corresponding to the dispatcher;
  • the determining module 202 determines the delivery sequence of the task points included in the path plan, where the task points are the pickup locations and/or delivery locations of the unassigned orders included in the path plan;
  • the dividing module 204 divides the task points included in the path plan into several task packages by dividing the task points corresponding to the same unassigned order into the same task package according to the determined delivery sequence of the task points;
  • the execution module 206 selects several task packages from the divided task packages, and performs order processing on unassigned orders corresponding to the task points in the selected task packages.
  • the division module 202 is configured to perform the following operations: according to the delivery sequence of the task points from morning to night in the route planning, determine the last task point that is not divided into the task package as the first designated task point ; According to the delivery sequence of task points from late to early in the path planning, search for a second designated task point starting from the first designated task point, wherein, from the first designated task point to the second designated task The number of pick-up locations and delivery locations are the same; the task points from the first designated task point to the second designated task point are divided into a task package; the above operations are repeated until all task points are divided into tasks So far.
  • the execution module 206 is configured to: determine the delivery order of the divided task packages according to the determined delivery order of the task points; determine that the order processing conditions are not met according to the delivery order of the divided task packages The task package with the latest delivery sequence among the task packages is used as the marked package; the task package with the delivery sequence later than the marked package is selected.
  • the execution module 206 is configured to select a task package that meets the order processing condition from the divided task packages.
  • the order processing conditions include at least one of the following: each unassigned order corresponding to the task point in the task package has a time elapsed since the user placed an order that is less than a preset first threshold; delivery in the task package The estimated waiting time of the unassigned order corresponding to the task point with the earliest sequence exceeds the preset second threshold; and the estimated waiting time of each unassigned order corresponding to the task point in the task package exceeds the preset third threshold, and the task point The estimated delivery time corresponding to each unassigned order is earlier than the promised delivery time.
  • the embodiment of the present disclosure also provides a computer-readable storage medium, the storage medium stores a computer program, and the computer program can be used to execute the order processing method provided by the above-mentioned embodiment.
  • an embodiment of the present disclosure also provides an electronic device.
  • the electronic device may include a processor, an internal bus, a network interface, a memory and a non-volatile memory, and may also include hardware required for other services.
  • the processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, so as to implement the single processing method provided by the above-mentioned embodiment.
  • the present disclosure does not exclude other implementations, such as logic devices or a combination of software and hardware, etc. That is to say, the execution body of the processing flow is not limited to each logic unit, and can also be hardware or logic. Device.
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
  • the embodiments of the present disclosure can be provided as methods, systems, or computer program products. Therefore, the present disclosure may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one or more processes in the flowchart and/or one or more blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in one or more processes in the flowchart and/or one or more blocks in the block diagram.
  • the computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • processors CPU
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cartridge Tape, magnetic tape, magneto-disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
  • computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • program modules can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network.
  • program modules can be located in local and remote computer storage media including storage devices.

Landscapes

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

Abstract

The invention comprises: when performing order backlog processing on orders awaiting assignment for any dispatcher, obtaining a predetermined route plan corresponding to the dispatcher (S102); determining a delivery sequence of task points included in the route plan, wherein the task points are pick-up locations and/or delivery locations of orders awaiting assignment included in the route plan (S104); allocating, to the same task package, task points corresponding to the same order, and thus dividing, according to the determined delivery sequence of the task points, the task points included in the route plan into multiple task packages (S106); and selecting multiple task packages from the task packages obtained from the division, and performing order backlog processing on orders awaiting assignment corresponding to task points in the selected task packages (S108).

Description

压单处理Order processing 技术领域Technical field
本公开涉及计算机技术领域,尤其涉及压单处理。The present disclosure relates to the field of computer technology, and in particular to order processing.
背景技术Background technique
随着技术的发展,线上到线下(Online To Offline,O2O)的模式越来越成熟,并应用在越来越多的行业中。其中,典型的例子就是受O2O影响而快速发展的外卖配送业。With the development of technology, the online-to-offline (O2O) model is becoming more and more mature, and it is applied in more and more industries. Among them, a typical example is the fast-growing food delivery industry under the influence of O2O.
通常外卖配送平台,会根据接收到的用户的订单,根据路径优化算法确定配送者与订单之间的匹配度,确定订单与配送者的指派关系以及配送者配送订单的路径规划,并按照该指派关系将订单指派给配送者。Usually, the takeaway distribution platform will determine the matching degree between the dispatcher and the order according to the received user's order, according to the path optimization algorithm, determine the assignment relationship between the order and the dispatcher, and the dispatcher's route plan for the dispatch of the order, and follow the assignment The relationship assigns the order to the shipper.
发明内容Summary of the invention
本公开提供的一种压单处理方法,包括:针对任一配送者,获取预先确定出的该配送者对应的路径规划;确定所述路径规划中包含的任务点的配送顺序,所述任务点为所述路径规划中包含的未指派订单的取货位置和/或送货位置;根据确定出的任务点的配送顺序,以将同一未指派订单对应的任务点划分至同一任务包的方式,将所述路径规划中包含的所述任务点划分为若干任务包;从划分出的任务包中选择若干任务包,并对选择出的任务包中的任务点对应的未指派订单进行压单处理。The order processing method provided by the present disclosure includes: obtaining a predetermined route plan corresponding to the dispatcher for any dispatcher; determining the dispatch order of the task points included in the route plan, and the task points Is the pick-up location and/or delivery location of the unassigned order included in the route plan; according to the determined delivery sequence of the task points, the task points corresponding to the same unassigned order are divided into the same task package, Divide the task points included in the path plan into several task packages; select several task packages from the divided task packages, and perform order processing on unassigned orders corresponding to the task points in the selected task packages .
本公开提供一种压单处理装置,包括:获取模块,针对任一配送者,获取预先确定出的该配送者对应的路径规划;确定模块,确定所述路径规划中包含的任务点的配送顺序,所述任务点为所述路径规划中包含的未指派订单的取货位置和/或送货位置;划分模块,根据确定出的任务点的配送顺序,以将同一未指派订单对应的任务点划分至同一任务包的方式,将所述路径规划中包含的所述任务点划分为若干任务包;执行模块,从划分出的任务包中选择若干任务包,并对选择出的任务包中的任务点对应的未指派订单进行压单处理。The present disclosure provides an order processing device, including: an acquisition module, for any dispatcher, acquires a predetermined route plan corresponding to the dispatcher; a determination module, which determines the delivery order of task points included in the route plan , The task point is the pick-up location and/or the delivery location of the unassigned order included in the path plan; the division module, according to the determined delivery sequence of the task point, to assign the task points corresponding to the same unassigned order In the way of dividing into the same task package, the task points included in the path plan are divided into several task packages; the execution module selects several task packages from the divided task packages, and compares the tasks in the selected task packages. The unassigned order corresponding to the task point is processed by pressing the order.
本公开提供的一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述压单处理方法。The present disclosure provides a computer-readable storage medium, the storage medium stores a computer program, and when the computer program is executed by a processor, the foregoing order processing method is implemented.
本公开提供的一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述压单处理方法。An electronic device provided by the present disclosure includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the foregoing order processing method when the program is executed.
根据本公开的实施例,在针对任一配送者的未指派订单进行压单处理时,基于预先确定出的该配送者对应的路径规划,确定路径规划中包含的任务点的配送顺序,其中,任务点为路径规划中包含的未指派订单的取货位置和/或送货位置。之后,根据确定出的任务点的配送顺序,以将同一未指派订单对应的任务点划分至同一任务包的方式,将路径规划中包含的任务点划分为若干任务包。最后,从划分出的任务包中选择若干任务包,并对选择出的任务包中的任务点对应的未指派订单进行压单处理。在进行压单处理时,不再以单独一个订单为处理对象,而是按照各未指派订单的顺路程度,确定出若干任务包,以任务包中的任务点对应的未指派订单为压单处理的对象。通过划分任务包,将具有耦合性的若干订单作为一个整体,整体考虑该任务包是否适合压单,并确定对任务包进行压单处理或者指派给配送者。避免了由于针对每个订单单独考虑其是否适合压单,而未考虑到订单之间的耦合性,导致的不合理压单情况的出现。提高了配送效率。According to the embodiment of the present disclosure, when the order processing is performed for an unassigned order of any dispatcher, the dispatch order of the task points included in the route plan is determined based on the predetermined route plan corresponding to the dispatcher, wherein, The task point is the pickup location and/or delivery location of the unassigned order included in the route plan. Then, according to the determined delivery sequence of the task points, the task points corresponding to the same unassigned order are divided into the same task package, and the task points included in the path plan are divided into several task packages. Finally, select a number of task packages from the divided task packages, and perform order processing on the unassigned orders corresponding to the task points in the selected task packages. When performing order processing, no single order is the processing object, but a number of task packages are determined according to the degree of order of each unassigned order, and the unassigned orders corresponding to the task points in the task package are used as order processing Object. By dividing the task package, taking several coupled orders as a whole, considering whether the task package is suitable for order pressing, and determining whether the task package is processed or assigned to the dispatcher. It avoids the occurrence of unreasonable order-pressing situations due to individual consideration of whether it is suitable for order-pressing for each order without considering the coupling between orders. Improve the efficiency of distribution.
附图说明Description of the drawings
图1为本公开实施例提供的一种压单处理方法的流程图;FIG. 1 is a flowchart of a method for processing orders according to an embodiment of the disclosure;
图2为本公开实施例提供的路径规划的示意图;2 is a schematic diagram of path planning provided by an embodiment of the disclosure;
图3a为本公开实施例提供的进行任务点标记的示意图;FIG. 3a is a schematic diagram of marking task points according to an embodiment of the disclosure;
图3b为本公开实施例提供的进行任务包划分的示意图;FIG. 3b is a schematic diagram of task package division provided by an embodiment of the disclosure;
图4为本公开实施例提供的一种压单处理装置的框图;FIG. 4 is a block diagram of a single processing device provided by an embodiment of the disclosure;
图5为本公开实施例提供的电子设备的框图。Fig. 5 is a block diagram of an electronic device provided by an embodiment of the disclosure.
具体实施方式Detailed ways
为使本公开的目的、技术方案和优点更加清楚,下面将结合本公开具体实施例及相应的附图对本公开技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the objectives, technical solutions, and advantages of the present disclosure clearer, the technical solutions of the present disclosure will be described clearly and completely in conjunction with specific embodiments of the present disclosure and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
在外卖配送中,由于配送者在实际配送过程中遇到不确定因素(例如,配送者未按规划的路径顺序配送、商家未能按时准备配送物、由于堵车配送者行驶速度未达到预期值等等),可能导致订单与配送者的匹配度变化,影响配送效率以及用户体验。为了减少不确定因素带来的影响,在平台每次调度订单时(即,将订单指派给配送者)时,可针对不确定因素较高的订单、 匹配度不够理想的订单以及压单影响小的订单,执行压单处理。通常,压单处理是针对单个符合压单处理条件的订单进行压单处理,也就是说,对单个订单单独考虑其是否适合压单。由于压单处理的情况较为复杂,对单个订单单独考虑压单会导致不合理的压单情况出现,进而导致配送效率降低。In take-out delivery, because the deliverer encounters uncertain factors in the actual delivery process (for example, the deliverer did not deliver the order according to the planned route, the merchant failed to prepare the delivery on time, due to traffic jams, the delivery speed did not reach the expected value, etc. Etc.), which may lead to changes in the matching degree between the order and the dispatcher, affecting the delivery efficiency and user experience. In order to reduce the impact of uncertain factors, each time the platform dispatches an order (that is, when the order is assigned to the dispatcher), it can target orders with high uncertain factors, orders with unsatisfactory matching, and small impact Order, execute the order processing. Generally, order processing is to perform order processing for a single order that meets the processing conditions for order processing, that is, to consider whether a single order is suitable for order processing. Due to the complicated handling of orders, considering the ordering of a single order alone will lead to unreasonable order suppression, which will lead to a decrease in delivery efficiency.
以下结合附图,详细说明本公开的一些实施例。Hereinafter, some embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
图1为本公开实施例提供的一种压单处理方法的流程图。该方法可以包括步骤S102-S108。FIG. 1 is a flow chart of a method for processing orders according to an embodiment of the disclosure. The method may include steps S102-S108.
S102:针对任一配送者,获取预先确定出的该配送者对应的路径规划。S102: For any dispatcher, obtain a predetermined path plan corresponding to the dispatcher.
在本公开中,外卖配送平台可以根据确定出的与配送者对应的路径规划,确定未指派订单与配送者的指派关系。在将未指派订单指派给配送者之前,需要对未指派订单进行压单处理,以便更合理的配送各未指派订单,提高配送效率和配送者配送体验。通常压单处理的过程在外卖配送平台的服务器上执行,因此本公开也以服务器为该压单处理过程的执行主体为例进行说明。In the present disclosure, the takeaway delivery platform may determine the assignment relationship between the unassigned order and the dispatcher according to the determined path plan corresponding to the dispatcher. Before assigning an unassigned order to a dispatcher, the unassigned order needs to be processed in order to distribute each unassigned order more reasonably, and improve the delivery efficiency and the delivery experience of the dispatcher. Usually, the order processing process is executed on the server of the takeaway delivery platform. Therefore, the present disclosure also takes the server as the execution subject of the order processing process as an example for description.
路径规划中通常包括以下数据:未指派订单的送货位置以及取货位置,以便配送者确定如何送取配送物。Route planning usually includes the following data: the delivery location and pickup location of the unassigned order, so that the delivery person can determine how to deliver the delivery.
未指派订单对应的预计等待时间,即,根据预测出的配送者到达商户的时间,以及预测出的商户准备配送物的时间,得到的配送者需要等待商户准备配送物的预计等待时间。The estimated waiting time corresponding to the unassigned order, that is, based on the predicted time for the dispatcher to arrive at the merchant and the predicted time for the merchant to prepare the delivery, the obtained dispatcher needs to wait for the estimated waiting time for the merchant to prepare the delivery.
未指派订单的预计送达时间,即预计配送者执行配送任务时实际到达用户处的时间。The estimated delivery time of the unassigned order, that is, the estimated time that the shipper will actually arrive at the user when the delivery task is performed.
未指派订单的承诺送达时间,为平台在接收用户的订单之后,向用户承诺的配送物的送达时间(例如,承诺半小时送达,则用户下单后的半小时为承诺送达时间),等等。The promised delivery time of an unassigned order is the delivery time of the delivery promised to the user by the platform after receiving the user's order (for example, if the delivery is promised within half an hour, then half an hour after the user places the order is the promised delivery time ),and many more.
该服务器可针对未指派订单的任一配送者,获取预先确定出的该配送者对应的路径规划。通常若该配送者还有未配送完成的订单,则在确定配送者的路径规划时也需要考虑到未配送完成的订单的送货位置,因此在该路径规划中,还可包含已经指派给该配送者的订单对应的各种数据。The server can obtain a predetermined route plan corresponding to the dispatcher for any dispatcher who has not been assigned an order. Usually, if the shipper still has uncompleted orders, the delivery location of the uncompleted orders needs to be considered when determining the route planning of the shipper. Therefore, the route planning can also include Various data corresponding to the shipper’s order.
图2为本公开实施例提供的服务器确定的某个配送者X的路径规划的示意图,其中三角形表示送货位置、圆形表示取货位置,深色的图形表示已经指派给该配送者X的订单,浅色的图形表示与该配送者X匹配度较高,但是尚未指派给该配送者X的未指派订单,包含相同数字的图形对应同一个订单。可见,已经指派给配送者X的订单中,该配送者X已经取完订单1的配送物,正在送订单1的配送物的路上。2 is a schematic diagram of the path planning of a certain shipper X determined by the server according to an embodiment of the present disclosure, where the triangle represents the delivery location, the circle represents the pickup location, and the dark-colored graphic represents the delivery location assigned to the shipper X. For orders, the light-colored graphics indicate the unassigned orders that have a high degree of matching with the shipper X, but have not been assigned to the shipper X. The graphics containing the same number correspond to the same order. It can be seen that among the orders that have been assigned to shipper X, the shipper X has already taken the delivery of order 1 and is on the way to deliver the delivery of order 1.
S104:确定所述路径规划中包含的任务点的配送顺序,所述任务点为所述路径规划中包含的未指派订单的取货位置和/或送货位置。S104: Determine the delivery sequence of the task points included in the path plan, where the task points are the pickup locations and/or delivery locations of the unassigned orders included in the path plan.
在本公开中,服务器可基于路径规划中包含的各未指派订单,按照各未指派订单之间的耦合性,将各未指派订单中具有耦合性的各未指派订单划分为一个任务包。以便后续步骤以划分出的各任务包为压单处理的对象,确定哪些任务包中的任务点对应的未指派订单需要进行压单处理。而未指派订单之间的耦合性与各未指派订单对应的任务点在路径规划中的配送顺序相关,因此服务器可先确定路径规划中包含的任务点的配送顺序,其中任务点为路径规划中包含的未指派订单的取货位置和/或送货位置。也就是说,在本公开中任务点既可以是未指派订单的取货位置,也可以是未指派订单的送货位置。In the present disclosure, the server can divide each unassigned order with coupling among the unassigned orders into a task package based on the unassigned orders included in the path plan and according to the coupling between the unassigned orders. In order to determine the unassigned orders corresponding to the task points in the task packages that need to be processed for order processing in the subsequent steps, the divided task packages are the objects of the order processing. The coupling between unassigned orders is related to the delivery order of the task points corresponding to each unassigned order in the route planning, so the server can first determine the delivery order of the task points included in the route planning, where the task points are in the route planning Contains the pickup location and/or delivery location of the unassigned order. In other words, in the present disclosure, the task point can be either a pick-up location for an unassigned order or a delivery location for an unassigned order.
具体的,服务器可确定该配送者对应的路径规划中包含的各未指派订单的取货位置以及送货位置,如图2中所示的浅色的三角形和浅色的圆形。由于取货位置以及送货位置均为任务点,因此服务器可根据路径规划确定各任务点的配送顺序。Specifically, the server may determine the pickup location and delivery location of each unassigned order included in the route plan corresponding to the dispatcher, such as the light-colored triangle and the light-colored circle as shown in FIG. 2. Since the pickup location and the delivery location are both task points, the server can determine the delivery order of each task point according to the path plan.
S106:根据确定出的任务点的配送顺序,以将同一未指派订单对应的任务点划分至同一任务包的方式,将所述路径规划中包含的任务点划分为若干任务包。S106: According to the determined delivery order of the task points, the task points corresponding to the same unassigned order are divided into the same task package, and the task points included in the path plan are divided into several task packages.
在本公开中,服务器在确定出各任务点的配送顺序之后,便可按照将同一未指派订单对应的任务点划分至同一任务包的方式,将确定出的各任务点划分为若干任务包。In the present disclosure, after the server determines the delivery order of each task point, the task points corresponding to the same unassigned order can be divided into the same task package to divide the determined task points into several task packages.
具体的,服务器首先可按照在步骤S104中确定出的各任务点从早到晚的配送顺序,确定最后一个未划分至任务包的任务点,作为第一指定任务点。Specifically, the server may first determine the last task point that is not divided into the task package as the first designated task point according to the delivery order of each task point determined in step S104 from morning to night.
其次,按照各任务点从晚到早的配送顺序,从第一指定任务点开始查找第二指定任务点。其中,在查找第二指定任务点时,服务器可按照从第一指定任务点到第二指定任务点的取货位置和送货位置的数量相同的方式,确定第二指定任务点。Secondly, according to the delivery order of each task point from late to early, the second designated task point is searched from the first designated task point. Wherein, when searching for the second designated task point, the server may determine the second designated task point in a manner that the number of pickup locations and delivery locations from the first designated task point to the second designated task point are the same.
最后,将从第一指定任务点到第二指定任务点的任务点划分为一个任务包。然后重新确定第一指定任务点,重新查找第二指定任务点,直至将所有任务点划分至任务包为止。Finally, the task points from the first designated task point to the second designated task point are divided into a task package. Then re-determine the first designated task point and re-search for the second designated task point until all the task points are divided into task packages.
例如,首先服务器可将路径规划中属于送货位置的任务点标记为-1,以及将属于取货位置的任务点标记为1,该标记用于后续如何确定取货位置和送货位置的数量相同。如图3a所示,图3a为本公开实施例提供的基于图2中的各任务点进行标记的示意图。For example, first, the server can mark the task point belonging to the delivery location in the route planning as -1, and the task point belonging to the pickup location as 1, which is used to determine how to determine the pickup location and the quantity of the delivery location. the same. As shown in FIG. 3a, FIG. 3a is a schematic diagram of marking based on each task point in FIG. 2 provided by an embodiment of the disclosure.
然后,由于对任务点进行了标记,因此一个未指派订单的送货位置和取货位置分别对应任务点的标记的数值之和为0。为了提高配送效率,配送者配送过程一般不是取了一个订单的配 送物之后,就将这一个订单的配送物送到用户处,然后再去取下一个订单的配送物,而可能是在路上分别取了几个订单的配送物之后,再分别配送。因此为了合理的划分任务包,可根据任务点的标记数值,确定划分任务包的点。Then, because the task points are marked, the sum of the values of the delivery position and the pickup position of an unassigned order corresponding to the task points' marks is 0. In order to improve delivery efficiency, the delivery process of the distributor generally does not take the delivery of an order, then send the delivery of this order to the user, and then take the delivery of the next order, but may be separately on the road After taking the delivery items of several orders, they will be delivered separately. Therefore, in order to divide the task package reasonably, the point to divide the task package can be determined according to the tag value of the task point.
具体的,按照各任务点从晚到早的配送顺序,从最后一个未划分至任务包的任务点开始,查找第二指定任务点。其中,最后一个未划分至任务包的任务点即第一指定任务点,在图3a中为最后一个任务点。由于对分别属于送餐位置和取餐位置的任务点,进行了不同的标记,且相同数量的送餐位置和取餐位置的任务点的标记数值之和为0,因此若第一指定任务点到第二指定任务点的取货位置和送货位置的数量不同,则累加结果不为0。于是,服务器可按照任务点从晚到早的配送顺序,从第一指定任务点开始,进行任务点的标记数值的累加计算,并在累加结果为0时确定第二指定任务点(也就是将累加结果为0的任务点,确定为第二指定任务点),此时第一指定任务点到第二指定任务点的取货位置和送货位置的数量相同。Specifically, according to the delivery order of each task point from late to early, the second designated task point is searched from the last task point that is not divided into the task package. Among them, the last task point that is not divided into the task package is the first designated task point, and it is the last task point in Figure 3a. Since the task points belonging to the meal delivery location and the meal pickup location are marked differently, and the sum of the marked values of the task points of the same number of meal delivery locations and meal pickup locations is 0, if the first designated task point When the number of the pick-up location and the delivery location to the second designated task point is different, the cumulative result is not 0. Therefore, the server can accumulate the tag value of the task point according to the delivery order of the task point from late to early, starting from the first designated task point, and determine the second designated task point (that is, when the accumulated result is 0). The task point whose cumulative result is 0 is determined as the second designated task point), at this time, the number of pick-up locations and delivery locations from the first designated task point to the second designated task point is the same.
图3b为本公开实施例提供的确定第一及第二指定任务点的示意图。其中,粗箭头表示不断确定第一指定任务点和第二指定任务点的过程,虚线框中的任务点的标记数值之和为0,因此每个虚线框对应一个任务包。FIG. 3b is a schematic diagram of determining the first and second designated task points provided by an embodiment of the disclosure. Among them, the thick arrow represents the process of continuously determining the first designated task point and the second designated task point. The sum of the marked values of the task points in the dashed box is 0, so each dashed box corresponds to a task package.
S108:从划分出的任务包中选择若干任务包,并对选择出的任务包中的任务点对应的未指派订单进行压单处理。S108: Select several task packages from the divided task packages, and perform order processing on unassigned orders corresponding to the task points in the selected task packages.
在本公开中,服务器在确定出各任务包之后,便可从中选择若干任务包,将选择出的任务包中的任务点对应的未指派订单进行压单处理。In the present disclosure, after determining each task package, the server can select a number of task packages, and perform order processing on unassigned orders corresponding to the task points in the selected task packages.
具体的,由于任务包中的任务点对应的未指派订单,存在配送的先后顺序,因此任务包也存在对应的配送顺序,服务器可按照从晚到早的配送顺序依次判断,各任务包是否符合压单处理条件,并确定第一不符合压单处理条件的任务包,作为标记包。最后,选择配送顺序晚于该标记包的任务包中的任务点对应的未指派订单进行压单处理,并将其余任务包中的任务点对应的未指派订单指派给该配送者。Specifically, because the unassigned orders corresponding to the task points in the task package have the order of delivery, the task package also has a corresponding delivery order. The server can determine whether each task package conforms to the order of delivery from late to early. The order processing conditions are pressed, and the first task package that does not meet the order processing conditions is determined as a marked package. Finally, the unassigned orders corresponding to the task points in the task package whose delivery sequence is later than the marked package are selected for order processing, and the unassigned orders corresponding to the task points in the remaining task packages are assigned to the dispatcher.
在本公开中,在确定出各任务包之后,便可以将各任务包作为进行压单处理的对象,针对每个任务包,确定该任务包是否符合压单处理条件。由于各任务包中任务点存在配送的先后顺序,因此各任务包之间也是存在配送的先后顺序。In the present disclosure, after each task package is determined, each task package can be used as the object of the order processing, and for each task package, it is determined whether the task package meets the order processing conditions. Since the order of delivery exists for the task points in each task package, the order of delivery also exists between each task package.
压单处理通常是对较晚才需要配送的订单进行压单,这样才不会产生延迟送货等情况,因此服务器可根据该配送者的各未指派订单配送的顺序,确定划分出的各任务包的配送顺序。Order processing is usually to order orders that need to be delivered later, so that there will be no delay in delivery, so the server can determine the divided tasks according to the delivery order of each unassigned order of the shipper The delivery order of the package.
例如,假设将配送者X的各未指派订单划分为了3个任务包,如表1所示。For example, suppose that each unassigned order of shipper X is divided into three task packages, as shown in Table 1.
表1Table 1
Figure PCTCN2020099373-appb-000001
Figure PCTCN2020099373-appb-000001
根据任务包I、任务包II和任务包III分别包含的任务点的配送顺序,可以确定各任务包的配送顺序为先配送任务包I,再配送任务包II,最后再配送任务包III。According to the delivery order of the task points contained in the task package I, the task package II and the task package III, the delivery order of each task package can be determined as the first delivery task package I, then the task package II, and finally the task package III.
另外,在本公开的一些实施例中,该压单处理条件可以包括以下三种中的至少一种。In addition, in some embodiments of the present disclosure, the single processing condition may include at least one of the following three types.
第一种压单处理条件:任务包中任务点对应的各未指派订单,从用户下单后经过的时长,是否均小于预设的第一阈值,若是,则该任务包符合压单处理条件,继续对下一个任务包进行判断,若否,将配送顺序晚于该任务包的任务包中的任务点对应的未指派订单进行压单处理,并将其余任务包中的任务点对应的未指派订单指派给该配送者。其中,用户下单后经过的时长若较短(即,没有超过预设的第一阈值),则说明该未指派订单的配送时间较为充裕,可以暂缓配送(即可进行压单处理)。The first order processing condition: whether each unassigned order corresponding to the task point in the task package is less than the preset first threshold for the time elapsed since the user placed the order. If so, the task package meets the order processing conditions , Continue to judge the next task package, if not, the unassigned order corresponding to the task point in the task package whose delivery sequence is later than that of the task package is processed, and the task points in the remaining task package are corresponding to the unassigned orders. Assign the order to the shipper. Wherein, if the elapsed time after the user places an order is short (ie, does not exceed the preset first threshold), it indicates that the delivery time of the unassigned order is relatively sufficient, and the delivery can be suspended (that is, the order processing can be performed).
第二种压单处理条件:任务包中配送顺序最早的任务点对应的未指派订单的预计等待时间超过预设第二阈值。其中,可根据任务包中任务点的配送顺序,确定配送顺序最早的任务点对应的未指派订单,再根据确定出的未指派订单的订单内容,确定预计等待时间,最后判断该预计等待时间是否超过第二阈值,若是,确定该任务包符合压单处理条件,继续对下一个任务包进行判断,若否,则将配送顺序晚于该任务包的任务包中的任务点对应的未指派订单进行压单处理,并将其余任务包中的任务点对应的未指派订单指派给该配送者。其中,预计等待时间为根据该配送者对应的路径规划,确定出的该配送者到达该商户后等待该商户提供配送物的时间(例如,外卖配送者到达饭馆之后,需要等待饭馆出餐的时间),该时间若过长会降低配送者的配送效率,因此可以进行压单处理。The second order processing condition: the estimated waiting time of the unassigned order corresponding to the task point with the earliest delivery order in the task package exceeds the preset second threshold. Among them, according to the delivery order of the task points in the task package, determine the unassigned order corresponding to the task point with the earliest delivery order, and then determine the expected waiting time according to the determined order content of the unassigned order, and finally determine whether the expected waiting time is If the second threshold is exceeded, if yes, determine that the task package meets the order processing conditions, and continue to judge the next task package; if not, the delivery order is later than the unassigned order corresponding to the task point in the task package of the task package Perform order processing and assign the unassigned orders corresponding to the task points in the remaining task packages to the shipper. Among them, the estimated waiting time is the time determined according to the route plan corresponding to the delivery person to wait for the delivery item from the merchant after the delivery person arrives at the merchant (for example, the time that the delivery person needs to wait for the restaurant to eat after arriving at the restaurant) ), if the time is too long, it will reduce the delivery efficiency of the distributor, so the order can be processed.
第三种压单处理条件:任务包中任务点对应的各未指派订单分别对应的预计等待时间均超过预设第三阈值,且任务点对应的各未指派订单分别对应的预计送达时间均早于承诺送达时间。 服务器可针对该任务包中任务点对应的每个未指派订单,判断该未指派订单对应的预计等待时间是否超过预设的第三阈值,以及判断该未指派订单的预计送达时间是否早于承诺送达时间,若判断结果均为是,则确定该任务包符合压单处理条件,继续对下一个任务包进行判断,若任一判断结果为否,则将配送顺序晚于该任务包的任务包中的任务点对应的未指派订单进行压单处理,并将其余任务包中的任务点对应的未指派订单指派给该配送者。其中,预计送达时间为服务器预测的配送者将订单的配送物送至送货位置的时间,承诺送达时间为向用户承诺的配送者最晚到达送货位置的时间。对于每个任务包来说,若该任务包中的任务点对应的每个未指派订单的送达时间均早于承诺时间,则说明若将该任务包中的任务点对应的每个未指派订单均推迟指派给配送者,也不会影响配送效率以及用户体验,因此可以进行压单处理。The third order processing condition: the estimated waiting time for each unassigned order corresponding to the task point in the task package exceeds the preset third threshold, and the expected delivery time for each unassigned order corresponding to the task point is all Earlier than the promised delivery time. For each unassigned order corresponding to the task point in the task package, the server can determine whether the estimated waiting time corresponding to the unassigned order exceeds the preset third threshold, and determine whether the estimated delivery time of the unassigned order is earlier than The delivery time is promised. If the judgment result is yes, it is determined that the task package meets the order processing conditions, and the next task package is judged. If any judgment result is no, the delivery order will be later than that of the task package. The unassigned orders corresponding to the task points in the task package are processed, and the unassigned orders corresponding to the task points in the remaining task packages are assigned to the dispatcher. Among them, the estimated delivery time is the time predicted by the server to deliver the order's delivery to the delivery location, and the promised delivery time is the latest time that the deliverer promises to the user to arrive at the delivery location. For each task package, if the delivery time of each unassigned order corresponding to the task point in the task package is earlier than the promised time, it means that if the task point in the task package corresponds to each unassigned order All orders are postponed to be assigned to the shipper, and the delivery efficiency and user experience will not be affected, so the order can be processed.
在本公开中提供的上述三种压单处理条件,既可以单独使用,例如,只要满足一种条件即可进行压单处理,或者也可组合使用,例如,需要同时满足其中两种或者三种条件,才可进行压单处理,或者仅以其中一种作为压单处理条件,本公开不做限制。并且,其中的第一阈值、第二阈值以及第三阈值,均可根据需要设置,本公开也不做限制。The above three order processing conditions provided in this disclosure can be used alone, for example, as long as one condition is met, order processing can be carried out, or they can be used in combination, for example, two or three of them need to be met at the same time. Only one of them can be used as the order processing condition, which is not limited in the present disclosure. In addition, the first threshold, the second threshold, and the third threshold can be set as required, and the present disclosure does not limit it.
根据本公开的实施例,在针对任一配送者的未指派订单进行压单处理时,基于预先确定出的该配送者对应的路径规划,确定路径规划中包含的任务点的配送顺序,其中,任务点为路径规划中包含的未指派订单的取货位置和/或送货位置。之后,根据确定出的任务点的配送顺序,以将同一未指派订单对应的任务点划分至同一任务包的方式,将路径规划中包含的任务点划分为若干任务包。最后,从划分出的任务包中选择若干任务包,并对选择出的任务包中的任务点对应的未指派订单进行压单处理。在进行压单处理时,不再以单独一个订单为处理对象,而是按照各未指派订单的顺路程度,确定出若干任务包,以任务包为压单处理的对象。避免了由于针对每个订单单独考虑其是否适合压单,而未考虑到订单之间的关联,导致的不合理压单情况的出现。According to the embodiment of the present disclosure, when the order processing is performed for an unassigned order of any dispatcher, the dispatch order of the task points included in the route plan is determined based on the predetermined route plan corresponding to the dispatcher, wherein, The task point is the pickup location and/or delivery location of the unassigned order included in the route plan. Then, according to the determined delivery sequence of the task points, the task points corresponding to the same unassigned order are divided into the same task package, and the task points included in the path plan are divided into several task packages. Finally, select a number of task packages from the divided task packages, and perform order processing on the unassigned orders corresponding to the task points in the selected task packages. When processing the order, no single order is the processing object, but according to the degree of order of each unassigned order, several task packages are determined, and the task package is the object of the order processing. It avoids the occurrence of unreasonable order-pressing situations caused by considering whether it is suitable for order-pressing for each order separately without considering the relationship between orders.
另外,在本公开步骤S106中,通过这种任务包划分方式划分出的任务包之间的干扰较小,也就是说,对任一任务包进行压单处理,都不会影响其他任务包对应的配送路径。反之,针对每个任务包,若对该任务包内的任一订单进行压单处理,则会影响该任务包内各订单对应的配送路径。或者,也可将划分完之后的任务包,视为是将该配送者配送的路径划分成为了互相没有影响的几个路段,每个路段移出该配送者配送的路径,都不会造成配送者绕路,而每个路段内的订单一旦变化,则可能造成配送者配送时绕路。In addition, in step S106 of the present disclosure, the interference between the task packages divided by this task package division method is small, that is, the order processing of any task package will not affect the correspondence of other task packages. The delivery route. Conversely, for each task package, if any order in the task package is processed, it will affect the distribution path corresponding to each order in the task package. Or, the task package after the division can be regarded as dividing the delivery route of the distributor into several road sections that have no mutual influence. Each road section moving out of the delivery route of the distributor will not cause the distributor Detour, and once the order within each section changes, it may cause the delivery person to detour during delivery.
本公开并不限于只通过步骤S106中所述的方式划分任务包。只要符合对任一任务包进行压单处理,都不会影响其他任务包对应的配送路径,服务器也可采用其他方法划分任务包。例如, 首先,确定路径规划中各未指派订单的取货位置和送货位置的配送顺序。之后,判断最晚配送的未指派订单的取货位置是否包含在任一未指派订单的取货位置和送货位置之间。若是,则按照该路径规划中的先后顺序,从该取货位置开始向前查找确定取货位置不包含在任一未指派订单的取货位置和送货位置之间的未指派订单,将配送顺序不早于确定出的未指派订单的各未指派订单对应的取货位置和送货位置,划分为一个任务包,并继续按照该从晚到早的配送顺序查找,直至将各未指派订单划分完毕。若否,则确定未划分的各未指派订单不能进一步划分,则可将剩余尚未划分至任务包的取货位置和送货位置,确定为同一个任务包中的取货位置和送货位置。The present disclosure is not limited to only dividing the task package in the manner described in step S106. As long as it conforms to the order processing of any task package, it will not affect the distribution path corresponding to other task packages, and the server can also use other methods to divide task packages. For example, first, determine the delivery sequence of the pickup location and delivery location of each unassigned order in the route planning. After that, it is determined whether the pick-up location of the unassigned order delivered last is included between the pick-up location and the delivery location of any unassigned order. If yes, according to the sequence in the route plan, start from the pick-up location and look forward to determine that the pick-up location does not include any unassigned orders between the pick-up location and the delivery location of any unassigned order, and the delivery sequence The pick-up location and delivery location corresponding to each unassigned order not earlier than the determined unassigned order are divided into a task package, and the search is continued according to the delivery order from late to early until the unassigned orders are divided complete. If not, it is determined that each unassigned order that has not been divided cannot be further divided, and the remaining undivided orders can be determined as the pick-up location and delivery location in the same task package.
进一步地,在步骤S108中服务器在选择任务包时,也可仅根据压单处理条件,以从划分出的任务包中选择符合压单处理条件的任务包,也就是说,只要存在符合压单处理条件的任务包,就对该任务包中的任务点对应的未指派订单进行压单处理,而无需考虑各任务包配送顺序。Further, when the server selects the task package in step S108, it can also select the task package that meets the order processing conditions from the divided task packages based only on the order processing conditions, that is, as long as there is a task package that meets the order processing conditions, For the task package of the processing condition, the unassigned order corresponding to the task point in the task package is processed without considering the delivery order of each task package.
基于图1所示的压单处理方法,本公开实施例还对应提供一种压单处理装置。Based on the order processing method shown in FIG. 1, the embodiment of the present disclosure also correspondingly provides an order processing device.
图4为本公开实施例提供的一种压单处理装置的框图。所述装置包括:Fig. 4 is a block diagram of a single processing device provided by an embodiment of the disclosure. The device includes:
获取模块200,针对任一配送者,获取预先确定出的该配送者对应的路径规划;The obtaining module 200, for any dispatcher, obtains a predetermined route plan corresponding to the dispatcher;
确定模块202,确定所述路径规划中包含的任务点的配送顺序,所述任务点为所述路径规划中包含的未指派订单的取货位置和/或送货位置;The determining module 202 determines the delivery sequence of the task points included in the path plan, where the task points are the pickup locations and/or delivery locations of the unassigned orders included in the path plan;
划分模块204,根据确定出的任务点的配送顺序,以将同一未指派订单对应的任务点划分至同一任务包的方式,将所述路径规划中包含的任务点划分为若干任务包;The dividing module 204 divides the task points included in the path plan into several task packages by dividing the task points corresponding to the same unassigned order into the same task package according to the determined delivery sequence of the task points;
执行模块206,从划分出的任务包中选择若干任务包,并对选择出的任务包中的任务点对应的未指派订单进行压单处理。The execution module 206 selects several task packages from the divided task packages, and performs order processing on unassigned orders corresponding to the task points in the selected task packages.
可选地,所述划分模块202被配置成执行下列操作:按照所述路径规划中任务点从早到晚的配送顺序,确定最后一个未划分至任务包的任务点,作为第一指定任务点;按照所述路径规划中任务点从晚到早的配送顺序,从所述第一指定任务点开始查找第二指定任务点,其中,从所述第一指定任务点到所述第二指定任务点的取货位置和送货位置的数量相同;将所述第一指定任务点到所述第二指定任务点的任务点划分为一个任务包;重复上述操作,直至将所有任务点划分至任务包为止。Optionally, the division module 202 is configured to perform the following operations: according to the delivery sequence of the task points from morning to night in the route planning, determine the last task point that is not divided into the task package as the first designated task point ; According to the delivery sequence of task points from late to early in the path planning, search for a second designated task point starting from the first designated task point, wherein, from the first designated task point to the second designated task The number of pick-up locations and delivery locations are the same; the task points from the first designated task point to the second designated task point are divided into a task package; the above operations are repeated until all task points are divided into tasks So far.
可选地,所述执行模块206被配置成:根据确定出的任务点的配送顺序,确定划分出的任务包的配送顺序;根据划分出的任务包的配送顺序,确定不符合压单处理条件的任务包中配送 顺序最晚的任务包,作为标记包;选择配送顺序晚于所述标记包的任务包。Optionally, the execution module 206 is configured to: determine the delivery order of the divided task packages according to the determined delivery order of the task points; determine that the order processing conditions are not met according to the delivery order of the divided task packages The task package with the latest delivery sequence among the task packages is used as the marked package; the task package with the delivery sequence later than the marked package is selected.
可选地,所述执行模块206被配置成:从划分出的任务包中选择符合压单处理条件的任务包。Optionally, the execution module 206 is configured to select a task package that meets the order processing condition from the divided task packages.
可选地,所述压单处理条件,至少包括下列中至少一种:任务包中任务点对应的各未指派订单从用户下单后经过的时长均小于预设第一阈值;任务包中配送顺序最早的任务点对应的未指派订单的预计等待时间超过预设第二阈值;以及任务包中任务点对应的各未指派订单分别对应的预计等待时间均超过预设第三阈值,且任务点对应的各未指派订单分别对应的预计送达时间均早于承诺送达时间。Optionally, the order processing conditions include at least one of the following: each unassigned order corresponding to the task point in the task package has a time elapsed since the user placed an order that is less than a preset first threshold; delivery in the task package The estimated waiting time of the unassigned order corresponding to the task point with the earliest sequence exceeds the preset second threshold; and the estimated waiting time of each unassigned order corresponding to the task point in the task package exceeds the preset third threshold, and the task point The estimated delivery time corresponding to each unassigned order is earlier than the promised delivery time.
本公开实施例还提供了一种计算机可读存储介质,该存储介质存储有计算机程序,计算机程序可用于执行上述实施例提供的压单处理方法。The embodiment of the present disclosure also provides a computer-readable storage medium, the storage medium stores a computer program, and the computer program can be used to execute the order processing method provided by the above-mentioned embodiment.
基于图1所示的压单处理方法,本公开实施例还提供了一种电子设备。如图5所示,该电子设备可以包括处理器、内部总线、网络接口、内存以及非易失性存储器,还可能包括其他业务所需要的硬件。处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,以实现上述实施例提供的压单处理方法。Based on the single processing method shown in FIG. 1, an embodiment of the present disclosure also provides an electronic device. As shown in FIG. 5, the electronic device may include a processor, an internal bus, a network interface, a memory and a non-volatile memory, and may also include hardware required for other services. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, so as to implement the single processing method provided by the above-mentioned embodiment.
除了软件实现方式之外,本公开并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。In addition to the software implementation, the present disclosure does not exclude other implementations, such as logic devices or a combination of software and hardware, etc. That is to say, the execution body of the processing flow is not limited to each logic unit, and can also be hardware or logic. Device.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units illustrated in the above embodiments may be specifically implemented by computer chips or entities, or implemented by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本公开时可以把各单元的功能集成在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing the present disclosure, the functions of each unit may be integrated into the same one or more software and/or hardware.
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present disclosure can be provided as methods, systems, or computer program products. Therefore, the present disclosure may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/ 或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图中的一个或多个流程和/或方框图中的一个或多个方框中指定的功能的装置。The present disclosure is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that implements one or more processes in the flowchart and/or one or more blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图中的一个或多个流程和/或方框图中的一个或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one or more processes in the flowchart and/or one or more blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图中的一个或多个流程和/或方框图中的一个或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in one or more processes in the flowchart and/or one or more blocks in the block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带、磁带、磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cartridge Tape, magnetic tape, magneto-disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多 限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, product or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or include elements inherent to this process, method, commodity, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity or equipment that includes the element.
本公开可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本公开,在这些分布式计算环境中,由通过通信网络连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The present disclosure may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present disclosure can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
本公开中的各个实施例均采用递进的方式描述,各个实施例之间相同或相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the present disclosure are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
以上所述仅为本公开的实施例,并不用于限制本公开。对于本领域技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本公开的权利要求范围之内。The above are only the embodiments of the present disclosure, and are not used to limit the present disclosure. For those skilled in the art, the present disclosure can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the scope of the claims of the present disclosure.

Claims (12)

  1. 一种压单处理方法,包括:An order processing method, including:
    针对任一配送者,获取预先确定出的该配送者对应的路径规划;For any dispatcher, obtain the predetermined route plan corresponding to the dispatcher;
    确定所述路径规划中包含的任务点的配送顺序,所述任务点为所述路径规划中包含的未指派订单的取货位置和/或送货位置;Determining the delivery sequence of task points included in the path plan, where the task points are the pick-up locations and/or delivery locations of unassigned orders included in the path plan;
    根据确定出的任务点的配送顺序,以将同一未指派订单对应的任务点划分至同一任务包的方式,将所述路径规划中包含的所述任务点划分为若干任务包;According to the determined delivery sequence of the task points, the task points included in the path plan are divided into several task packages by dividing the task points corresponding to the same unassigned order into the same task package;
    从划分出的任务包中选择若干任务包,并对选择出的任务包中的任务点对应的未指派订单进行压单处理。Select several task packages from the divided task packages, and perform order processing on unassigned orders corresponding to the task points in the selected task packages.
  2. 如权利要求1所述的方法,其中,根据确定出的任务点的配送顺序,以将同一未指派订单对应的任务点划分至同一任务包的方式,将所述路径规划中包含的所述任务点划分为若干任务包,包括下列操作:The method according to claim 1, wherein, according to the determined delivery sequence of the task points, the task points corresponding to the same unassigned order are divided into the same task package, and the tasks included in the route plan are divided The points are divided into several task packages, including the following operations:
    按照所述路径规划中所述任务点从早到晚的配送顺序,确定最后一个未划分至任务包的任务点,作为第一指定任务点;According to the delivery order of the task points from morning to night in the path plan, determine the last task point that is not allocated to the task package as the first designated task point;
    按照所述路径规划中所述任务点从晚到早的配送顺序,从所述第一指定任务点开始查找第二指定任务点,其中,从所述第一指定任务点到所述第二指定任务点的取货位置和送货位置的数量相同;According to the delivery sequence of the task points from late to early in the route plan, the second designated task point is searched from the first designated task point, wherein, from the first designated task point to the second designated task point The number of pick-up locations and delivery locations at the task point is the same;
    将所述第一指定任务点到所述第二指定任务点的任务点划分为一个任务包;Dividing the task points from the first designated task point to the second designated task point into a task package;
    重复上述操作,直至将所有所述任务点划分至任务包为止。Repeat the above operations until all the task points are divided into task packages.
  3. 如权利要求1所述的方法,其中,从所述划分出的任务包中选择若干任务包,包括:8. The method of claim 1, wherein selecting several task packages from the divided task packages comprises:
    根据所述确定出的任务点的配送顺序,确定所述划分出的任务包的配送顺序;Determine the delivery order of the divided task packages according to the delivery order of the determined task points;
    根据所述划分出的任务包的配送顺序,确定不符合压单处理条件的任务包中配送顺序最晚的任务包,作为标记包;According to the delivery sequence of the divided task packages, determine the task package with the latest delivery sequence among the task packages that do not meet the order processing conditions as the marked package;
    选择配送顺序晚于所述标记包的任务包。Select the task package whose delivery sequence is later than the marked package.
  4. 如权利要求1所述的方法,其中,从所述划分出的任务包中选择若干任务包,包括:8. The method of claim 1, wherein selecting several task packages from the divided task packages comprises:
    从所述划分出的任务包中选择符合压单处理条件的任务包。Select a task package that meets the order processing condition from the divided task packages.
  5. 如权利要求3或4所述的方法,其中,所述压单处理条件包括下列中至少一种:The method according to claim 3 or 4, wherein the order processing conditions include at least one of the following:
    任务包中任务点对应的各未指派订单从用户下单后经过的时长均小于预设第一阈值;The elapsed time of each unassigned order corresponding to the task point in the task package from the user placing the order is less than the preset first threshold;
    任务包中配送顺序最早的任务点对应的未指派订单的预计等待时间超过预设第二阈值;以及The estimated waiting time of the unassigned order corresponding to the task point with the earliest delivery sequence in the task package exceeds the preset second threshold; and
    任务包中任务点对应的各未指派订单分别对应的预计等待时间均超过预设第三阈值,且所述任务点对应的所述各未指派订单分别对应的预计送达时间均早于承诺送达时间。The expected waiting time for each unassigned order corresponding to the task point in the task package exceeds the preset third threshold, and the expected delivery time for each unassigned order corresponding to the task point is earlier than the promised delivery time. Up to time.
  6. 一种压单处理装置,包括:A bill processing device, including:
    获取模块,针对任一配送者,获取预先确定出的该配送者对应的路径规划;The acquisition module, for any dispatcher, acquires the predetermined route plan corresponding to the dispatcher;
    确定模块,确定所述路径规划中包含的任务点的配送顺序,所述任务点为所述路径规划中包含的未指派订单的取货位置和/或送货位置;The determining module determines the delivery sequence of the task points included in the path plan, where the task points are the pick-up locations and/or delivery locations of the unassigned orders included in the path plan;
    划分模块,根据确定出的任务点的配送顺序,以将同一未指派订单对应的任务点划分至同一任务包的方式,将所述路径规划中包含的所述任务点划分为若干任务包;The dividing module divides the task points included in the path plan into several task packages by dividing the task points corresponding to the same unassigned order into the same task package according to the determined delivery sequence of the task points;
    执行模块,从划分出的任务包中选择若干任务包,并对选择出的任务包中的任务点对应的未指派订单进行压单处理。The execution module selects several task packages from the divided task packages, and performs order processing on unassigned orders corresponding to the task points in the selected task packages.
  7. 如权利要求6所述的装置,其中,所述划分模块被配置成执行下列操作:7. The apparatus of claim 6, wherein the dividing module is configured to perform the following operations:
    按照所述路径规划中所述任务点从早到晚的配送顺序,确定最后一个未划分至任务包的任务点,作为第一指定任务点;According to the delivery order of the task points from morning to night in the path plan, determine the last task point that is not allocated to the task package as the first designated task point;
    按照所述路径规划中所述任务点从晚到早的配送顺序,从所述第一指定任务点开始查找第二指定任务点,其中,从所述第一指定任务点到所述第二指定任务点的取货位置和送货位置的数量相同;According to the delivery sequence of the task points from late to early in the route plan, the second designated task point is searched from the first designated task point, wherein, from the first designated task point to the second designated task point The number of pick-up locations and delivery locations at the task point is the same;
    将所述第一指定任务点到所述第二指定任务点的任务点划分为一个任务包;Dividing the task points from the first designated task point to the second designated task point into a task package;
    重复上述操作,直至将所有所述任务点划分至任务包为止。Repeat the above operations until all the task points are divided into task packages.
  8. 如权利要求6所述的装置,其中,所述执行模块被配置成:7. The apparatus of claim 6, wherein the execution module is configured to:
    根据所述确定出的任务点的配送顺序,确定所述划分出的任务包的配送顺序;Determine the delivery order of the divided task packages according to the delivery order of the determined task points;
    根据所述划分出的任务包的配送顺序,确定不符合压单处理条件的任务包中配送顺序最晚的任务包,作为标记包;According to the delivery sequence of the divided task packages, determine the task package with the latest delivery sequence among the task packages that do not meet the order processing conditions as the marked package;
    选择配送顺序晚于所述标记包的任务包。Select the task package whose delivery sequence is later than the marked package.
  9. 如权利要求6所述的装置,其中,所述执行模块被配置成从所述划分出的若干任务包 中选择符合压单处理条件的任务包。7. The device according to claim 6, wherein the execution module is configured to select a task package that meets the order processing condition from the plurality of divided task packages.
  10. 如权利要求8或9所述的装置,其中,所述压单处理条件包括下列中至少一种:The device according to claim 8 or 9, wherein the order processing conditions include at least one of the following:
    任务包中任务点对应的各未指派订单从用户下单后经过的时长均小于预设第一阈值;The elapsed time of each unassigned order corresponding to the task point in the task package from the user placing the order is less than the preset first threshold;
    任务包中配送顺序最早的任务点对应的未指派订单的预计等待时间超过预设第二阈值;以及The estimated waiting time of the unassigned order corresponding to the task point with the earliest delivery sequence in the task package exceeds the preset second threshold; and
    任务包中任务点对应的各未指派订单分别对应的预计等待时间均超过预设第三阈值,且所述任务点对应的所述各未指派订单分别对应的预计送达时间均早于承诺送达时间。The expected waiting time for each unassigned order corresponding to the task point in the task package exceeds the preset third threshold, and the expected delivery time for each unassigned order corresponding to the task point is earlier than the promised delivery time. Up to time.
  11. 一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现根据权利要求1-5中任一所述的压单处理方法。A computer-readable storage medium, the storage medium stores a computer program, and when the computer program is executed by a processor, the order processing method according to any one of claims 1-5 is realized.
  12. 一种电子设备,包括存储器和处理器,其中,An electronic device including a memory and a processor, in which,
    所述存储器上存储有计算机程序,所述计算机程序可由处理器执行,以实现根据权利要求1-5中任一所述的压单处理方法。A computer program is stored on the memory, and the computer program can be executed by a processor to realize the order processing method according to any one of claims 1-5.
PCT/CN2020/099373 2019-07-01 2020-06-30 Order backlog processing WO2021000864A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910585561.5A CN110443541A (en) 2019-07-01 2019-07-01 A kind of pressure form processing method and device
CN201910585561.5 2019-07-01

Publications (1)

Publication Number Publication Date
WO2021000864A1 true WO2021000864A1 (en) 2021-01-07

Family

ID=68429318

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/099373 WO2021000864A1 (en) 2019-07-01 2020-06-30 Order backlog processing

Country Status (2)

Country Link
CN (1) CN110443541A (en)
WO (1) WO2021000864A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443541A (en) * 2019-07-01 2019-11-12 北京三快在线科技有限公司 A kind of pressure form processing method and device
CN111062659B (en) * 2019-12-05 2022-08-19 江苏苏宁物流有限公司 Task execution planning method and device and computer system
CN111340413A (en) * 2020-02-10 2020-06-26 拉扎斯网络科技(上海)有限公司 Distribution method, distribution device, server and storage medium of distribution tasks
CN112036702B (en) * 2020-07-30 2024-06-18 拉扎斯网络科技(上海)有限公司 Data processing method, device, readable storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106500686A (en) * 2016-10-12 2017-03-15 北京小度信息科技有限公司 Navigation interface display packing, logistics air navigation aid and device
CN106600057A (en) * 2016-12-13 2017-04-26 品骏控股有限公司 Express distribution task scheduling algorithm and apparatus
CN106779183A (en) * 2016-11-29 2017-05-31 北京小度信息科技有限公司 Order is assembled and send sequential program(me) method, route planning method and device
CN107292701A (en) * 2017-05-25 2017-10-24 北京小度信息科技有限公司 Order group technology and device
US20180082253A1 (en) * 2016-09-20 2018-03-22 International Business Machines Corporation Cargo logistics dispatch service with integrated pricing and scheduling
CN109190993A (en) * 2018-09-17 2019-01-11 北京同城必应科技有限公司 And dullness degree method, apparatus, server and storage medium
CN109508839A (en) * 2017-09-14 2019-03-22 北京小度信息科技有限公司 Order allocation method and device
CN110443541A (en) * 2019-07-01 2019-11-12 北京三快在线科技有限公司 A kind of pressure form processing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180082253A1 (en) * 2016-09-20 2018-03-22 International Business Machines Corporation Cargo logistics dispatch service with integrated pricing and scheduling
CN106500686A (en) * 2016-10-12 2017-03-15 北京小度信息科技有限公司 Navigation interface display packing, logistics air navigation aid and device
CN106779183A (en) * 2016-11-29 2017-05-31 北京小度信息科技有限公司 Order is assembled and send sequential program(me) method, route planning method and device
CN106600057A (en) * 2016-12-13 2017-04-26 品骏控股有限公司 Express distribution task scheduling algorithm and apparatus
CN107292701A (en) * 2017-05-25 2017-10-24 北京小度信息科技有限公司 Order group technology and device
CN109508839A (en) * 2017-09-14 2019-03-22 北京小度信息科技有限公司 Order allocation method and device
CN109190993A (en) * 2018-09-17 2019-01-11 北京同城必应科技有限公司 And dullness degree method, apparatus, server and storage medium
CN110443541A (en) * 2019-07-01 2019-11-12 北京三快在线科技有限公司 A kind of pressure form processing method and device

Also Published As

Publication number Publication date
CN110443541A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
WO2021000864A1 (en) Order backlog processing
US20200134558A1 (en) Order allocation method and device
US20190066014A1 (en) Work task assignment method, apparatus and computing system
JP6650508B2 (en) Warehouse management system and warehouse management method
CN109544054A (en) Inventory's dispatching method, device and computer readable storage medium
US20060287939A1 (en) Methods and systems for grouping and managing stock requests
CN110070312A (en) Order processing method and apparatus
CN112633756A (en) Warehouse logistics scheduling method and related equipment
CN109118310A (en) Order processing method and apparatus
WO2019029097A1 (en) Method and device for processing orders
CN111985748A (en) Order batch processing method, device and computer system
WO2019000786A1 (en) Order assigning method and device
CN110826945A (en) Order combining method and device for automatic warehouse
CN109215383A (en) A kind of vehicle dispatching method
CN112232726A (en) Goods picking method, device, server and storage medium
CN111784223B (en) Cargo allocation data processing method, device and storage medium
CN111652439A (en) Method and device for generating delivery quantity of delivery points and computer system
CN110796402A (en) Order batch scheduling method, device and computer system
CN113762820B (en) Goods-to-person picking control method, system, electronic equipment and storage medium
CN113650997A (en) Method and device for positioning articles in warehouse-out process
CN112785212A (en) Transportation equipment management method and device
CN111626800A (en) Commodity order processing method and device
CN113283739B (en) Task allocation method, device, equipment and storage medium
CN114612009A (en) Method, device and equipment for generating picking path and storage medium
CN113120498B (en) Roadway goods picking management 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: 20835036

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20835036

Country of ref document: EP

Kind code of ref document: A1