Order arrival quantity prediction method and device

Through the order volume prediction model trained based on historical data, combined with the GBDT algorithm and time period analysis, the problem of low accuracy in order arrival prediction during major promotions and e-commerce festivals has been solved, and more accurate resource allocation and cost control have been achieved.

CN111950781BActive Publication Date: 2024-09-13SHANGHAI ZHONGTONGJI NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010755785.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-31
Publication Date
2024-09-13
Estimated Expiration
2040-07-31

AI Technical Summary

Technical Problem

With existing technology, during major promotions, e-commerce festivals and other events, the accuracy of order arrival forecasts at the transshipment center drops sharply, resulting in improper allocation of resources and waste of costs.

Method used

Train an order volume prediction model based on historical period order data and transshipment center processing capacity data, use the GBDT algorithm for prediction, and combine the order placing and collection distribution in each period to calculate the order queue growth rate and peak processing capacity to achieve accurate orders. Arrival forecast.

Benefits of technology

It improves the accuracy of order arrival forecast, helps the logistics industry better prepare resources and reduce unnecessary costs during major promotions, e-commerce festivals and other activities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111950781B
    Figure CN111950781B
Patent Text Reader

Abstract

The present application relates to a method for predicting order arrival volume, comprising: obtaining the order placement time of the current cycle and the corresponding collection time; according to the order placement time of the current cycle and the corresponding collection time, based on a pre-trained order volume prediction model, obtaining the predicted order arrival volume of the next cycle of the current cycle; since the order volume prediction model is trained based on historical cycle order data and historical transfer center processing capabilities, the historical transfer center processing capabilities refer to the ability of the historical transfer center to process order volumes during activity time periods such as big promotions and e-commerce festivals. The order volume prediction model combines the processing capabilities of the transfer center during historical activity time periods such as big promotions and e-commerce festivals, and can solve the problem of a sharp drop in the accuracy of order arrival volume prediction in the logistics industry during activity time periods such as big promotions and e-commerce festivals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data information processing technology, and in particular to a method and device for predicting order arrival volume. Background Art

[0002] In the logistics industry, large transshipment centers often need to arrange resource reserves, such as trucks and operators, based on the daily volume of business arriving at the center. Usually, during promotions, e-commerce festivals and other events, resource competition leads to huge cost losses. If the daily volume of business arriving at the transshipment center can be predicted in advance, resources can be prepared in advance to ensure smooth business operation and save a lot of unnecessary costs. The existing technology can only make simple predictions on the arrival of orders. In the transshipment center, the line-level prediction usually has large errors, especially during promotions, e-commerce festivals and other events, the prediction error increases exponentially. Summary of the invention

[0003] In order to overcome the problems existing in the related art to at least a certain extent, the present application provides an order arrival quantity prediction algorithm and device.

[0004] The scheme of this application is as follows:

[0005] Based on the first aspect of the embodiment of the present application, a method for predicting order arrival volume is provided, comprising:

[0006] Get the order placement time and corresponding collection time of the current cycle order;

[0007] According to the order placement time of the current cycle and the corresponding collection time, based on the pre-trained order quantity prediction model, the predicted order arrival volume of the next cycle of the current cycle is obtained; wherein, the order quantity prediction model is trained based on historical cycle order data and historical transfer center processing capacity.

[0008] Preferably, in an achievable manner of the present application, the method further includes:

[0009] Obtain historical cycle order data, including: historical cycle order placement time and corresponding collection time;

[0010] Obtain the processing capacity data of the transshipment center during the historical promotion period;

[0011] The order volume prediction model is trained based on the historical period order data and the transit center processing capacity data during the historical promotion period.

[0012] Preferably, in an achievable manner of the present application, training the order volume prediction model according to the historical period order data and the transit center processing capacity data during the historical promotion period specifically includes:

[0013] According to the order placement time and the corresponding collection time of each order, the order collection queue, waiting collection queue and collected data are counted in real time;

[0014] Calculate the real-time order queue according to the order collection queue, the queue to be collected and the collected data;

[0015] According to the order placement time of each order and the corresponding collection time, the order placement distribution and order collection distribution in each time period are calculated.

[0016] Preferably, in an achievable manner of the present application, the training of the order volume prediction model based on the historical period order data and the transit center processing capacity data during the historical promotion period specifically further includes:

[0017] According to the order placement time of each order and the corresponding collection time, the order collection volume and order collection queue are calculated every 2 hours within 24 hours every day.

[0018] Preferably, in an achievable manner of the present application, the training of the order volume prediction model based on the historical period order data and the transit center processing capacity data during the historical promotion period specifically further includes:

[0019] The order queue growth rate is calculated based on the order placement time of each order and the corresponding collection time.

[0020] Preferably, in an achievable manner of the present application, the training of the order volume prediction model based on the historical period order data and the transit center processing capacity data during the historical promotion period specifically further includes:

[0021] Based on the processing capacity data of the transshipment center during the historical promotion period, the order volume processed by the transshipment center during each historical promotion period and the corresponding promotion period in the same period of the previous year was obtained;

[0022] The growth data of the hourly peak processing capacity of the transshipment center is calculated based on the order volume processed by the transshipment center during each major promotion period in history and the corresponding major promotion period in the same period of the previous year.

[0023] Preferably, in an achievable manner of the present application, the calculation of the order placement distribution and order collection distribution in each time period according to the order placement time of each order and the corresponding collection time specifically includes:

[0024] Calculate the order quantity and order collection quantity per hour based on the order placement time and the corresponding collection time of each order;

[0025] According to the order placement time of each order and the corresponding collection time, the order collection quantity each hour after the order is placed and the order collection quantity of the current hour are calculated.

[0026] Preferably, in an achievable manner of the present application, the training of the order volume prediction model based on the historical period order data and the transit center processing capacity data during the historical promotion period specifically further includes:

[0027] The order volume prediction model is trained based on the real-time order queue, the order placement distribution and order collection distribution in each time period, the order collection volume and order collection queue every 2 hours within 24 hours, the order queue growth rate, and the hourly peak processing capacity growth data of the transfer center.

[0028] Preferably, in one achievable method of the present application, the order quantity prediction model is trained using a GBDT algorithm.

[0029] Based on the second aspect of the embodiment of the present application, there is provided an order arrival quantity prediction device, including:

[0030] Processor and memory;

[0031] The processor and the memory are connected via a communication bus:

[0032] Wherein, the processor is used to call and execute the program stored in the memory;

[0033] The memory is used to store a program, and the program is at least used to execute the order arrival quantity prediction method as described in any one of the above items.

[0034] The technical solution provided by the present application may include the following beneficial effects: the order arrival volume prediction method in the present application includes: obtaining the order placement time of the current cycle and the corresponding collection time; according to the order placement time of the current cycle and the corresponding collection time, based on the pre-trained order volume prediction model, obtaining the predicted order arrival volume of the next cycle of the current cycle; since the order volume prediction model is trained based on historical cycle order data and historical transfer center processing capabilities, the historical transfer center processing capabilities refer to the ability of the historical transfer center to process order volumes during activity time periods such as big promotions and e-commerce festivals. The order volume prediction model combines the processing capabilities of the transfer center during historical activity time periods such as big promotions and e-commerce festivals, which can solve the problem of a sharp drop in the accuracy of order arrival volume prediction in the logistics industry during activity time periods such as big promotions and e-commerce festivals.

[0035] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0037] Figure 1 It is a flowchart of a method for predicting order arrival volume provided by an embodiment of the present application;

[0038] Figure 2 It is a schematic diagram of a flow chart of training an order quantity prediction model in an order arrival quantity prediction method provided in an embodiment of the present application;

[0039] Figure 3 It is a flow chart of training an order quantity prediction model according to historical period order data and the processing capacity data of the transit center during the historical promotion period in the order arrival quantity prediction method provided by one embodiment of the present application;

[0040] Figure 4 It is a structural diagram of an order arrival quantity prediction device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0041] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0042] A method for predicting order arrival volume, comprising:

[0043] S11: Obtain the order placement time and corresponding collection time of the current cycle order;

[0044] S12: According to the order placement time of the current cycle and the corresponding collection time, based on the pre-trained order volume prediction model, the predicted order arrival volume of the next cycle of the current cycle is obtained; wherein the order volume prediction model is trained based on historical cycle order data and historical transshipment center processing capacity.

[0045] Preferably, the cycle can be a daily cycle or a monthly cycle.

[0046] If the cycle is monthly, according to the order placement time of the current cycle and the corresponding collection time, based on the pre-trained order quantity prediction model, the predicted order arrival volume of the next cycle of the current cycle is obtained. The predicted order arrival volume of the next cycle of the current cycle includes: the predicted order arrival volume of each day of the next cycle.

[0047] If the cycle is daily, according to the order placement time of the current cycle and the corresponding collection time, based on the pre-trained order quantity prediction model, the predicted order arrival volume of the next cycle of the current cycle is obtained. The predicted order arrival volume of the next cycle of the current cycle includes: the predicted order arrival volume per hour of the next cycle.

[0048] The real-time forecast is the forecast of the real-time order arrival volume per hour in the next 23 hours with a daily cycle.

[0049] The order arrival volume prediction method in this application includes: obtaining the order placement time and the corresponding collection time of the current cycle order; according to the order placement time and the corresponding collection time of the current cycle order, based on the pre-trained order volume prediction model, obtain the predicted order arrival volume of the next cycle of the current cycle; because the order volume prediction model is based on the historical cycle order data and the historical transfer center processing capacity training, the historical transfer center processing capacity refers to the ability of the historical transfer center to process the order volume during the activity time period such as the big promotion and e-commerce festival. The order volume prediction model combines the processing capacity of the transfer center during the historical big promotion and e-commerce festival and other activity time periods, which can solve the problem of the sharp decline in the accuracy of the order arrival volume prediction in the logistics industry during the activity time period such as the big promotion and e-commerce festival. And according to the different cycle ranges, the order arrival volume of each day in the next month can be predicted one month in advance, and the real-time order arrival volume prediction within 23 hours can be made every hour one day in advance.

[0050] Training the order volume prediction model specifically includes:

[0051] S21: Obtain historical period order data, including: historical period order placement time and corresponding collection time;

[0052] S22: Obtain the processing capacity data of the transshipment center during the historical promotion period;

[0053] S23: Train the order volume prediction model based on historical cycle order data and the transfer center processing capacity data during historical promotion periods.

[0054] The order volume prediction model is trained based on historical cycle order data and the processing capacity data of the transit center during historical promotions, including:

[0055] S231: According to the order placement time and the corresponding collection time of each order, real-time statistics are collected on the order collection queue, the queue to be collected, and the collected data;

[0056] S232: Calculate the real-time order queue according to the order collection queue, the waiting collection queue and the collection data;

[0057] S233: Calculate the order placement distribution and order collection distribution in each time period according to the order placement time and the corresponding collection time of each order.

[0058] Specifically include:

[0059] Calculate the order volume and order collection volume per hour based on the order placement time and corresponding collection time of each order;

[0060] Based on the order placement time and the corresponding collection time of each order, calculate the order collection quantity each hour and the order collection quantity of the current hour after the order is placed.

[0061] S234: Calculate the order collection volume and order collection queue every 2 hours within 24 hours every day based on the order placement time and the corresponding collection time of each order.

[0062] S235: Calculate the order queue growth rate based on the order placement time and the corresponding collection time of each order.

[0063] Specifically, calculate the hourly order collection volume on the 1st, 3rd, 5th, 10th and 15th day within the last 15 days, and calculate the order queue growth rate based on the hourly order collection volume on the 1st, 3rd, 5th, 10th and 15th day.

[0064] S236: According to the processing capacity data of the transshipment center during the historical promotion period, the order volume processed by the transshipment center during each historical promotion period and the corresponding promotion period in the same period of the previous year is obtained;

[0065] S237: Calculate the growth data of the hourly peak processing capacity of the transshipment center based on the order volume processed by the transshipment center during each major promotion period in history and the corresponding major promotion period in the same period of the previous year.

[0066] S238: Based on the real-time order queue, order placement distribution and order collection distribution in each time period, order collection volume and order collection queue every 2 hours within 24 hours, order queue growth rate, and transfer center hourly peak processing capacity growth data, the order volume prediction model is trained.

[0067] For the prediction of real-time orders, that is, prediction based on a daily cycle, it is necessary to obtain the order placement time and corresponding collection time of each order in the transfer center in real time. According to the order placement time of each order, track its collection time, count the order collection queue, waiting collection queue, and collected data in real time, and calculate the real-time order queue of the transfer center. And calculate the order placement distribution and order collection distribution in each time period respectively. Calculate the collection volume and collection queue every 2 hours from 0 to 23 o'clock every day. Calculate the order queue growth rate in the last 15 days.

[0068] At the same time, the capacity growth of the transfer center is calculated, specifically the growth of the hourly peak processing capacity of the transfer center.

[0069] Preferably, the GBDT algorithm is used to train the recent parameters of each transfer center (real-time order queue, order placement distribution and order collection distribution in each time period, order collection volume and order collection queue every 2 hours within 24 hours every day, order queue growth rate, transfer center hourly peak processing capacity growth data), and obtain the order volume prediction model to make hourly real-time order arrival volume predictions for the next 23 hours.

[0070] At the same time, if there is enough training data (the order data of each transshipment center in recent years is used as training data), based on the order volume prediction model, it is possible to predict the order arrival volume for each day of the next cycle on a monthly basis.

[0071] An order arrival quantity prediction device, comprising:

[0072] Processor 31 and memory 32;

[0073] The processor 31 and the memory 32 are connected via a communication bus:

[0074] The processor 31 is used to call and execute the program stored in the memory 32;

[0075] The memory 32 is used to store programs, and the programs are at least used to execute the order arrival quantity prediction method as described in any of the above embodiments.

[0076] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0077] It should be noted that, in the description of this application, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0078] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0079] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0080] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0081] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0082] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0083] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0084] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for predicting order arrival volume, It is characterized in that include: Get the order placement time and corresponding collection time of the current cycle order; According to the order placement time of the current cycle and the corresponding collection time, based on the pre-trained order volume prediction model, the predicted order arrival volume of the next cycle of the current cycle is obtained; wherein the order volume prediction model is trained based on historical cycle order data and historical transshipment center processing capacity; Training the order volume prediction model includes: Obtain historical cycle order data, including: historical cycle order placement time and corresponding collection time; Obtain the processing capacity data of the transshipment center during the historical promotion period; Training the order volume prediction model based on the historical period order data and the transit center processing capacity data during the historical promotion period; The training of the order volume prediction model according to the historical period order data and the transit center processing capacity data during the historical promotion period specifically includes: According to the order placement time and the corresponding collection time of each order, the order collection queue, waiting collection queue and collected data are counted in real time; Calculate the real-time order queue according to the order collection queue, the queue to be collected and the collected data; According to the order placement time and the corresponding collection time of each order, the order placement distribution and order collection distribution of each time period are calculated; According to the order placement time and the corresponding collection time of each order, calculate the order collection volume and order collection queue every 2 hours within 24 hours every day; Calculate the order queue growth rate based on the order placement time and the corresponding collection time of each order; Based on the processing capacity data of the transshipment center during the historical promotion period, the order volume processed by the transshipment center during each historical promotion period and the corresponding promotion period in the same period of the previous year was obtained; Calculate the growth data of the hourly peak processing capacity of the transshipment center based on the order volume processed by the transshipment center during each major promotion period in the history and the corresponding major promotion period in the same period of the previous year; The order volume prediction model is trained based on the real-time order queue, the order placement distribution and order collection distribution in each time period, the order collection volume and order collection queue every 2 hours within 24 hours, the order queue growth rate, and the hourly peak processing capacity growth data of the transit center; Among them, the historical transfer center processing capacity refers to the ability of the historical transfer center to handle the order volume during the promotion period.

2. The method according to claim 1, It is characterized in that The calculating of order placement distribution and order collection distribution in each time period according to the order placement time and the corresponding collection time of each order specifically includes: Calculate the order quantity and order collection quantity per hour based on the order placement time and the corresponding collection time of each order; According to the order placement time of each order and the corresponding collection time, the order collection volume each hour after the order is placed and the order collection volume of the current hour are calculated.

3. The method according to claim 1, It is characterized in that The order quantity prediction model is trained using the GBDT algorithm.

4. An order arrival quantity prediction device, It is characterized in that include: Processor and memory; The processor and the memory are connected via a communication bus: Wherein, the processor is used to call and execute the program stored in the memory; The memory is used to store a program, and the program is at least used to execute the order arrival quantity prediction method as described in any one of claims 1-3.