Warehouse order processing method, device, equipment and storage medium
By obtaining the SKU object demand and inventory distribution information in the pending orders, combined with the target optimization constraint information, the target production warehouse set is determined and the actual production warehouse is selected, which solves the problem of high production and distribution costs in multiple SKU object orders and achieves Reasonable allocation of inventory and cost reduction.
Patent Information
- Application Number
- CN202011321332.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-23
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-11-23
AI Technical Summary
In the multi-warehouse configuration mode, when the orders to be processed contain multiple SKU objects, it is a challenge to select the best combination of production warehouses to reduce production and distribution costs.
By obtaining the SKU object demand and inventory distribution information in the pending order, combined with the target optimization constraint information, the target production warehouse set is determined, and the actual production warehouse and outbound volume are determined based on the warehouse association score to achieve optimal inventory allocation.
It effectively reduces the production and distribution costs of pending orders and improves the rationality and efficiency of inventory allocation.
Smart Images

Figure CN112837004B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of warehousing and logistics technology, and in particular, to a warehouse order processing method, device, equipment and storage medium. Background Art
[0002] With the rapid development of information technology, a warehouse configuration model of "one product in multiple warehouses" has emerged in the warehouse configuration business. That is, under the same distribution center, items of the same stock keeping unit (SKU) are stocked in multiple warehouses, and then the inventory is allocated as needed, which is conducive to improving resource utilization, reducing operating costs, and realizing the configurability of warehouse functions and capabilities.
[0003] At present, in the warehouse configuration mode of one product in multiple warehouses, for a pending order containing multiple SKU objects, it is very critical to determine a set of suitable production warehouses for the pending order. Specifically, in the process of selecting the production warehouse, it is necessary to determine at least one optimal warehouse from multiple candidate warehouses for storing each SKU object, and then determine the production warehouse combination of all SKU objects, that is, the target production warehouse combination of the pending order.
[0004] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art: when the number of SKU objects contained in the pending order is large, each SKU object may have multiple different candidate warehouses. Selecting the best production warehouse for each SKU object and then determining an optimal production warehouse combination for the pending order is the key to reducing the production cost of the pending order and reducing the distribution cost. Therefore, how to select the target production warehouse for the items in the pending order is an urgent problem to be solved in this solution. Summary of the invention
[0005] The embodiments of the present application provide a warehouse order processing method, apparatus, device and storage medium for achieving the purpose of selecting a target production warehouse for items in an order on the basis of reducing order production costs and distribution costs.
[0006] In a first aspect, an embodiment of the present application provides a warehouse order processing method, comprising:
[0007] Obtaining pending orders, where the pending orders include: demand quantities of at least two stock keeping unit (SKU) objects;
[0008] Determine a target production warehouse set of the at least two SKU objects according to the inventory distribution information of the at least two SKU objects, the demand quantities of the at least two SKU objects, and the target optimization constraint information;
[0009] At least one actual production warehouse for each SKU object and the outbound quantity of each actual production warehouse are determined according to the association score between each SKU object and each warehouse in the target production warehouse set.
[0010] In a possible design of the first aspect, determining a target production warehouse set of the at least two SKU objects according to inventory distribution information of the at least two SKU objects, demand quantities of the at least two SKU objects, and target optimization constraint information includes:
[0011] According to the inventory distribution information of the at least two SKU objects, the at least two SKU objects are divided into a first object set and a second object set, wherein each SKU object in the first object set is in stock in only one warehouse, and each SKU object in the second object set is in stock in at least two warehouses;
[0012] Determine a required warehouse set according to the warehouse where each SKU object in the first object set is located;
[0013] Determine a candidate warehouse set according to the warehouses where all SKU objects in the second object set are located, wherein the required warehouse set and the candidate warehouse set constitute a candidate warehouse set for the pending order;
[0014] A target production warehouse set for the at least two SKU objects is determined according to the candidate warehouse set, the demand quantities of the at least two SKU objects and the target optimization constraint information.
[0015] In this possible design, determining the target production warehouse set of the at least two SKU objects according to the candidate warehouse set, the demand of the at least two SKU objects and the target optimization constraint information includes:
[0016] Determine the association score between each SKU object and each warehouse according to the demand of each SKU object, the inventory quantity of each SKU object in each warehouse in the candidate warehouse set, and the ideal inventory ratio;
[0017] Determine the usage score of each warehouse based on whether the inventory ratio of each SKU object in each warehouse reaches the preset ideal inventory ratio, the association score of each SKU object with each warehouse, and whether each SKU object is in stock in each warehouse;
[0018] A target production warehouse set for the at least two SKU objects is determined according to the usage score of each warehouse and the target optimization constraint information.
[0019] Optionally, the association score between each SKU object and each warehouse is expressed by the following formula:
[0020]
[0021] Among them, a sw represents the association score between SKU object s and warehouse w, q sw represents the inventory quantity of SKU object s in warehouse w, d s represents the demand for SKU object s, r sw represents the ideal inventory ratio of SKU object s in warehouse w, s represents any SKU object in the pending order, and w represents any warehouse in the candidate warehouse set H.
[0022] Optionally, the usage score of each warehouse is expressed as follows:
[0023]
[0024] Among them, C w represents the usage fraction of warehouse w;
[0025] t sw Indicates whether the SKU object s in warehouse w reaches the threshold. If so, t sw =1, if not, t sw =0;
[0026] f(a sw ) is an auxiliary function, and f(a sw )=(a sw ) 2 ;
[0027] h sw Indicates whether SKU object s is in stock in warehouse w. If so, h sw =1, if not, h sw =0; M1 and M2 are both constants greater than 1, and M1 is greater than M2.
[0028] In another possible design of the first aspect, before determining the target production warehouse set of the at least two SKU objects according to the inventory distribution information of the at least two SKU objects, the demand quantities of the at least two SKU objects, and the target optimization constraint information, the method further includes:
[0029] Receive a target optimization instruction from a user, where the target optimization instruction is used to indicate at least two optimization objectives selected by the user and a weight coefficient of each optimization objective;
[0030] generating the target optimization constraint information according to the inventory distribution information of the at least two SKU objects and the demand quantities of the at least two SKU objects;
[0031] Among them, the target optimization constraint information includes: a target optimization function and target constraints of the target optimization function, and the target optimization function includes: at least two optimization formula items, and the coefficient of each optimization formula item is a weight coefficient of the corresponding optimization target.
[0032] Optionally, the objective optimization function is expressed by the following formula:
[0033]
[0034] The target constraint is expressed by the following formula:
[0035]
[0036]
[0037] Among them, I w Indicates whether warehouse w is used to generate the at least two SKU objects. If so, L w =1, if not, l w =0; H1 represents the required warehouse set, H2 represents the candidate warehouse set; Indicates the number of candidate warehouses used, represents the total score of the candidate warehouses used, w1 represents the weight coefficient for the minimum number of warehouses used, and w2 represents the weight coefficient for the optimal inventory ratio between warehouses; C w represents the usage fraction of warehouse w, q sw represents the inventory quantity of SKU object s in warehouse w, d s represents the demand of SKU object s, and S represents a set of the at least two SKU objects.
[0038] In a second aspect, an embodiment of the present application provides a warehouse order processing device, comprising: an acquisition module, a processing module and a determination module;
[0039] The acquisition module is used to acquire pending orders, wherein the pending orders include: demand quantities of at least two stock keeping unit (SKU) objects;
[0040] The processing module is used to determine the target production warehouse set of the at least two SKU objects according to the inventory distribution information of the at least two SKU objects, the demand quantity of the at least two SKU objects and the target optimization constraint information;
[0041] The determination module is used to determine at least one actual production warehouse for each SKU object and the outbound quantity of each actual production warehouse according to the association score between each SKU object and each warehouse in the target production warehouse set.
[0042] In a possible design of the second aspect, the processing module is specifically configured to:
[0043] According to the inventory distribution information of the at least two SKU objects, the at least two SKU objects are divided into a first object set and a second object set, wherein each SKU object in the first object set is in stock in only one warehouse, and each SKU object in the second object set is in stock in at least two warehouses;
[0044] Determine a required warehouse set according to the warehouse where each SKU object in the first object set is located;
[0045] Determine a candidate warehouse set according to the warehouses where all SKU objects in the second object set are located, wherein the required warehouse set and the candidate warehouse set constitute a candidate warehouse set for the pending order;
[0046] A target production warehouse set for the at least two SKU objects is determined according to the candidate warehouse set, the demand quantities of the at least two SKU objects and the target optimization constraint information.
[0047] In this possible design, the processing module is used to determine the target production warehouse set of the at least two SKU objects according to the candidate warehouse set, the demand of the at least two SKU objects and the target optimization constraint information, specifically:
[0048] The processing module is specifically used for:
[0049] Determine the association score between each SKU object and each warehouse according to the demand of each SKU object, the inventory quantity of each SKU object in each warehouse in the candidate warehouse set, and the ideal inventory ratio;
[0050] Determine the usage score of each warehouse based on whether the inventory ratio of each SKU object in each warehouse reaches the preset ideal inventory ratio, the association score of each SKU object with each warehouse, and whether each SKU object is in stock in each warehouse;
[0051] A target production warehouse set for the at least two SKU objects is determined according to the usage score of each warehouse and the target optimization constraint information.
[0052] Optionally, the association score between each SKU object and each warehouse is expressed by the following formula:
[0053]
[0054] Among them, a sw represents the association score between SKU object s and warehouse w, qsw represents the inventory quantity of SKU object s in warehouse w, d s represents the demand for SKU object s, r sw represents the ideal inventory ratio of SKU object s in warehouse w, s represents any SKU object in the pending order, and w represents any warehouse in the candidate warehouse set H.
[0055] Optionally, the usage score of each warehouse is expressed as follows:
[0056]
[0057] Among them, C w represents the usage fraction of warehouse w;
[0058] t sw Indicates whether the SKU object s in warehouse w reaches the threshold. If so, t sw =1, if not, t sw =0;
[0059] f(a sw ) is an auxiliary function, and f(a sw )=(a sw ) 2 ;
[0060] h sw Indicates whether SKU object s is in stock in warehouse w. If so, h sw =1, if not, h sw =0; M1 and M2 are both constants greater than 1, and M1 is greater than M2.
[0061] In another possible design of the second aspect, the acquisition module is further used to receive a target optimization instruction from a user before the processing module determines the target production warehouse set of the at least two SKU objects according to the inventory distribution information of the at least two SKU objects, the demand of the at least two SKU objects and the target optimization constraint information, wherein the target optimization instruction is used to indicate at least two optimization objectives selected by the user and a weight coefficient of each optimization objective;
[0062] The processing module is further used to generate the target optimization constraint information according to the inventory distribution information of the at least two SKU objects and the demand quantity of the at least two SKU objects;
[0063] Among them, the target optimization constraint information includes: a target optimization function and target constraints of the target optimization function, and the target optimization function includes: at least two optimization formula items, and the coefficient of each optimization formula item is a weight coefficient of the corresponding optimization target.
[0064] Optionally, the objective optimization function is expressed by the following formula:
[0065]
[0066] The target constraint is expressed by the following formula:
[0067]
[0068]
[0069] Among them, I w Indicates whether warehouse w is used to generate the at least two SKU objects. If so, I w =1, if not, I w =0; H1 represents the required warehouse set, H2 represents the candidate warehouse set; Indicates the number of candidate warehouses used, represents the total score of the candidate warehouses used, w1 represents the weight coefficient for the minimum number of warehouses used, and w2 represents the weight coefficient for the optimal inventory ratio between warehouses; C w represents the usage fraction of warehouse w, q sw represents the inventory quantity of SKU object s in warehouse w, d s represents the demand of SKU object s, and S represents a set of the at least two SKU objects.
[0070] In a third aspect, the present application provides an electronic device, including: a processor and a memory;
[0071] The memory stores computer-executable instructions;
[0072] When the processor executes the computer program instructions, the method provided in the first aspect and various possible designs is implemented.
[0073] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer program instructions are stored. When the computer program instructions are executed by a processor, they are used to implement the methods provided in the first aspect and various possible designs.
[0074] The warehouse order processing method, device, equipment and storage medium provided in this embodiment obtains pending orders including the demand of at least two inventory unit SKU objects, determines the target production warehouse set of at least two SKU objects according to the inventory distribution information of at least two SKU objects, the demand of at least two SKU objects and the target optimization constraint information, and then determines at least one actual production warehouse of each SKU object and the outbound quantity of each actual production warehouse according to the association score of each SKU object with each warehouse in the target production warehouse set. In this technical solution, the target production warehouse set is determined according to the demand of the pending order and the target optimization constraint information, and finally the actual production warehouse and the actual outbound quantity of each SKU object are determined based on the warehouse score, that is, the purpose of selecting the target production warehouse for the SKU object in the pending order is achieved, while reducing the production cost and distribution cost of the pending order. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0076] Figure 1A A schematic diagram of an application scenario of the warehouse order processing method provided in an embodiment of the present application;
[0077] Figure 1B A schematic diagram of the structure of the control platform provided in the embodiment of the present application;
[0078] Figure 1C An execution flow chart of the control platform provided in the embodiment of the present application;
[0079] Figure 2 A flowchart of Embodiment 1 of the warehouse order processing method provided in the embodiment of the present application;
[0080] Figure 3 A flowchart of Embodiment 2 of the warehouse order processing method provided in the embodiment of the present application;
[0081] Figure 4 A flowchart of Embodiment 3 of the warehouse order processing method provided in the embodiment of the present application;
[0082] Figure 5 A flowchart of a fourth embodiment of a warehouse order processing method provided in an embodiment of the present application;
[0083] Figure 6 A schematic diagram of the structure of a warehouse order processing device provided in an embodiment of the present application;
[0084] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0085] The above drawings show clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0086] 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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0087] First, the terms involved in the embodiments of the present application are explained:
[0088] Stock keeping unit (SKU): is a unit of measurement for inventory in and out, such as pieces or boxes. Currently, SKU is used as an abbreviation for the unified product number, and each product has a unique SKU number. For example, for a product, when its brand, model, configuration, grade, unit, production date, shelf life, use, price, origin and other attributes are different from other products, it can be called a single product.
[0089] Order warehousing: Select a suitable production warehouse for each object (e.g., product) in the pending order.
[0090] One product, multiple warehouses: The same object (for example, a commodity) is available in multiple warehouses. Therefore, when arranging production warehouses for pending orders, it is necessary to select the optimal production warehouse combination from a variety of available warehouse combinations.
[0091] Balance the ratio between warehouses: If the same object is stocked in multiple warehouses, it is hoped that the inventory ratio of each warehouse will be maintained at a certain level to avoid excessive inventory gaps between warehouses and unbalanced inventory ratios between warehouses.
[0092] In actual applications, some e-commerce companies use a warehouse management model. Specifically, for the same distribution center, the same SKU object has only one warehouse attribute, that is, each SKU object only stores goods in one warehouse. This warehouse management model will increase the cost of moving goods as e-commerce companies operate more and more categories, the categories are split more and more finely, and the probability of splitting orders (splitting orders means that a pending order needs to be delivered by different distribution centers, or one or more distribution centers need to deliver it in different time periods). At the same time, it will lead to problems such as difficulty in cross-warehouse bundling and gift sales.
[0093] In order to break the limitations of warehouse configuration on business, a multi-warehouse management model (i.e., one product, multiple warehouses model) was born. That is, the same SKU object can store goods in multiple warehouses, and then the inventory is allocated and pending orders are shipped on demand. This model can avoid the limitations of the existing system architecture on category planning to a certain extent, and achieve the optimal inventory configuration of multiple warehouses, which is conducive to improving resource utilization, reducing operating costs, reducing ineffective logistics movements such as moving warehouses, and realizing the configurability of warehouse functions and capabilities, thereby improving the timeliness of pending order processing and customer satisfaction, and enhancing corporate competitiveness.
[0094] In the one-product-multiple-warehouse model, when a user places a pending order (which may include multiple SKU objects) on an e-commerce website, a group of suitable warehouses needs to be arranged for the pending order. Since one SKU object corresponds to multiple candidate warehouses, when determining the production warehouse for the pending order, one needs to select one from multiple warehouse combinations as the final production warehouse combination. At present, the main considerations are minimizing the number of production warehouses (related to the number of pending order packages and part of the cost) and balancing the ratio between warehouses (the difference in the proportion of the same SKU object in different warehouses needs to be controlled within a certain range).
[0095] The greedy algorithm can be used to solve the warehouse problem of the above pending orders. The main steps are: First, score each candidate warehouse according to the number of SKU objects that each candidate warehouse can produce. Then select the candidate warehouse with the highest score and put it into the result set, deduct the number of SKU objects that the candidate warehouse can produce from the pending order, and finally repeat the above steps until there are no SKU objects that need to be produced in the pending order. When a pending order contains multiple SKU objects, it is necessary to determine at least one production warehouse corresponding to each SKU object in the pending order. For pending orders that only contain 1 or 2 SKU objects, the greedy algorithm can be used to obtain the optimal solution. However, as the number of SKU objects in the pending order increases, the complexity of the solution continues to increase. The greedy algorithm cannot guarantee the optimality of the solution result, so it is difficult to apply to decision-making scenarios in complex business scenarios.
[0096] Based on the above problems existing in the prior art, Figure 1A The application scenario diagram of the warehouse order processing method provided in the embodiment of the present application is used to solve the above technical problems. The application scenario includes a control platform 11 and a production warehouse 12.
[0097] Optionally, the schematic diagram of the application scenario uses six different production warehouses 12 as an example for illustration. The embodiment of the present application does not limit the number of production warehouses 12.
[0098] In this application scenario, the production warehouses 12 are respectively 1# production warehouse, 2# production warehouse, 3# production warehouse, 4# production warehouse, 5# production warehouse and 6# production warehouse.
[0099] Optionally, the configuration mode of the production warehouse 12 can be one product in multiple warehouses, that is, each SKU object is in stock in multiple production warehouses 12.
[0100] When a pending order is received, the control platform 11 first obtains the inventory distribution information of each SKU object in multiple production warehouses 12 based on the information of each SKU object of the pending order received, and then determines the actual production warehouse that can be used to produce each SKU object and its corresponding delivery quantity.
[0101] Exemplarily, when the SKU object is realized through goods, for example, there may be 10 pieces of product A and 20 pieces of product B on the pending order. Finally, in the production warehouse 12, the shipment quantity of each production warehouse is determined as follows: 1# production warehouse provides 3 pieces of product A and 10 pieces of product B, and 3# production warehouse provides 7 pieces of product A and 10 pieces of product B.
[0102] exist Figure 1A On the basis of Figure 1B The structural principle diagram of the control platform provided in the embodiment of the present application is as follows: Figure 1B As shown, when the functions of the control platform are abstracted into components, the control platform 11 can be implemented by the following components: an object filter 111 , an indicator generator 112 , an order position optimization unit 113 , and a position optimization effect evaluator 114 .
[0103] Optional, Figure 1C The execution flow chart of the control platform provided in the embodiment of the present application is used to illustrate Figure 1B The structural schematic diagram of the control platform is shown.
[0104] Step 1: The user selects pending orders, candidate warehouse inventory, and ideal inventory ratio through the object filter 111, and selects the goals to be optimized and the weights between the goals through the indicator generator 112.
[0105] For example, to select pending order A for warehouse booking, it is necessary to obtain the type of SKU objects in pending order A, the demand quantity, the set of production warehouses that can provide demand for the pending order, and the ideal inventory ratio of the SKU objects in each production warehouse; and select minimizing packages (the number of warehouses used to produce the pending order) and balancing the inventory levels among multiple alternative warehouses as optimization goals.
[0106] Step 2: Determine whether the verification is passed.
[0107] Specifically, determine whether the pending orders, alternative warehouse inventories, ideal inventory ratios selected by the user through the object filter 111, and the goals to be optimized and the weights between the goals selected through the indicator generator 112 are legal, and whether there is a feasible solution. If so, execute step 3; if not, return to execute step 1.
[0108] Step 3: The order positioning optimizer 113 determines the optimal positioning solution.
[0109] Optionally, the order warehouse optimizer 113 is used to determine the optimal set of production warehouses (i.e., the target production warehouse set) for producing the SKU objects in the pending order after collecting requests from the object filter and the indicator generator, as well as the proportion of SKU objects provided by each target production warehouse.
[0110] Step 4: Evaluate the data results of the position optimization effect evaluator 114.
[0111] Optionally, the position optimization effect evaluator 114 determines the changes in various indicators when the solution is used for order optimization and when the solution is not used for order optimization in the order position optimization effect calculator based on the data results of the order position optimization unit 113.
[0112] This application aims to address the problem in the above-mentioned prior art that as the number of SKU objects in an order increases, it is impossible to determine an optimal production warehouse combination for the order, resulting in excessively high production costs and distribution costs for pending orders. The inventor's technical conception process is as follows: the inventor finds that based on the demand for pending orders, the inventory of alternative warehouses, and the ideal inventory ratio, combined with certain target optimization constraint information, when the number of SKU objects in the pending orders is large, it is possible to determine at least one optimal production warehouse and its shipment quantity, so as to achieve the purpose of reducing the production costs and distribution costs of pending orders.
[0113] Based on the above technical concept, the present application provides a warehouse order processing method, which obtains pending orders, determines the target production warehouse set according to the inventory distribution information, demand and target optimization constraint information of at least two SKU objects in the pending orders, and then determines at least one actual production warehouse for each SKU object and the outbound quantity of each actual production warehouse according to the association score between each SKU object and each warehouse in the target production warehouse set. In this technical solution, the target production warehouse set is determined according to the demand and target optimization constraint information of the pending orders, and finally the actual production warehouse and actual outbound quantity of each SKU object are determined based on the warehouse score, which realizes the rational allocation of inventory for pending orders with a large number of SKU objects, while reducing the production cost and distribution cost of pending orders.
[0114] Below Figure 1A The application scenarios shown in the figure describe the technical solutions of the present application in detail through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0115] Figure 2 This is a flowchart of Embodiment 1 of the warehouse order processing method provided in the embodiment of the present application. Figure 2 As shown, the warehouse order processing method provided in the embodiment of the present application may include the following steps:
[0116] Step 21: Obtain pending orders, where the pending orders include: demand quantities of at least two SKU objects.
[0117] In this step, the user sends an order request, which includes a pending order. The pending order includes at least two SKU objects and the demand quantity of each SKU object.
[0118] In real life, each SKU object can be a different brand, model, size, color, etc. of a product, or it can be different products.
[0119] Optionally, in a production warehouse, the unit of measurement for inventory in and out is called SKU. Each product has its own unique SKU number to increase the sophistication of product management.
[0120] Step 22: Determine a target production warehouse set of at least two SKU objects according to inventory distribution information of at least two SKU objects, demand quantities of at least two SKU objects, and target optimization constraint information.
[0121] In this step, for each SKU object in the pending order, the inventory information of each SKU object is determined in each production warehouse, specifically the distribution and inventory of each SKU object in each production warehouse, and then based on the demand of each SKU object and the target optimization constraint information, the target production warehouse that can meet the demand of the pending order is preliminarily determined, and the target production warehouse that meets the demand is collectively referred to as the target production warehouse set. The determination process is not described in detail here, but is described in detail in the following embodiments.
[0122] The target optimization constraint information includes: a target optimization function and target constraints of the target optimization function. The target optimization function can be used to determine the minimum number of packages to be used to achieve a balanced inventory level of multiple production warehouses.
[0123] Step 23: Determine at least one actual production warehouse for each SKU object and the outbound quantity of each actual production warehouse according to the association score between each SKU object and each warehouse in the target production warehouse set.
[0124] In this step, based on the demand of each SKU object in the pending order, and the inventory quantity and ideal inventory ratio of each SKU object in each target warehouse, the correlation score of each warehouse in the target production warehouse set is determined. The correlation score is the correlation degree of each target production warehouse with respect to the demand of each SKU object in the pending order.
[0125] According to the correlation score, each SKU object in the pending order is further determined, and the actual production warehouses that can provide customers with each SKU object in the target production warehouse set, as well as the outbound quantity of each SKU object that these actual production warehouses can provide.
[0126] The warehouse order processing method provided in this embodiment obtains the demand pending orders of at least two SKU objects, and determines the target production warehouse set of each SKU object according to the inventory distribution information, demand and target optimization constraint information of each SKU object, and then determines at least one actual production warehouse of each SKU object and the outbound quantity of each actual production warehouse according to the association score between each SKU object and each warehouse in the target production warehouse set. In this technical solution, by processing the inventory distribution information, demand and target optimization constraint information of various SKU objects, when receiving pending orders containing a large number of SKU objects, the best production warehouse for each SKU object can be determined, thereby achieving the purpose of reducing the production cost of pending orders and reducing the distribution cost.
[0127] exist Figure 2 On the basis of Figure 3This is a flowchart of Embodiment 2 of the warehouse order processing method provided in the embodiment of the present application. Figure 3 As shown, the above step 22 can be implemented by the following steps:
[0128] Step 31: Divide the at least two SKU objects into a first object set and a second object set according to the inventory distribution information of the at least two SKU objects.
[0129] Each SKU object in the first object set is in stock in only one production warehouse, and each SKU object in the second object set is in stock in at least two production warehouses.
[0130] In this step, based on at least two SKU object information in the pending order, the inventory distribution information of each SKU object is counted in each production warehouse. For example, based on the correspondence between the SKU object and each production warehouse, the production warehouse corresponding to each SKU object in the pending order is first determined.
[0131] Optionally, according to the number of production warehouses that can produce each SKU object, at least two SKU objects in the pending orders are divided into two categories: the first category is called the first object set, which refers to the set of SKU objects that are in stock in only one production warehouse; the second category is called the second object set, which refers to the set of SKU objects that are in stock in at least two production warehouses.
[0132] Step 32: Determine a set of required warehouses according to the warehouses where each SKU object in the first object set is located.
[0133] In this step, for the first object set determined above, a set of production warehouses where each SKU object in the first object set is located is determined as a required warehouse set. The required warehouse set is a production warehouse that must be selected when processing pending orders.
[0134] Step 33: Determine a set of candidate warehouses based on the warehouses where all SKU objects in the second object set are located.
[0135] In this step, for the second object set determined above, the set of production warehouses where all SKU objects in the second object set are located is determined as the candidate warehouse set. The mandatory warehouse set is the production warehouses that may be selected when processing the pending orders.
[0136] Among them, the required warehouse set and the alternative warehouse set constitute the candidate warehouse set for the orders to be processed.
[0137] Step 34: Determine a target production warehouse set for at least two SKU objects based on the candidate warehouse set, the demand for at least two SKU objects, and target optimization constraint information.
[0138] In this step, based on the candidate warehouse set including the first object set and the second object set, combined with the demand of each SKU object in the pending order, and the target optimization constraint information including the inventory quantity and the ideal inventory ratio, the target production warehouse set of each SKU object is determined. The specific determination process is given in the following embodiment.
[0139] The warehouse order processing method provided in this embodiment divides at least two SKU objects into a first object set and a second object set according to the inventory distribution information of at least two SKU objects, further determines the first object set and the second object set as a candidate warehouse set including a required warehouse set and an alternative warehouse set, and then determines the target production warehouse set of at least two SKU objects according to the candidate warehouse set, the demand of at least two SKU objects and the target optimization constraint information. In this technical solution, by effectively classifying all production warehouses, a basis is provided for the subsequent determination of the target production warehouse set, and conditions are provided for realizing the reasonable allocation of pending orders and reducing production costs and distribution costs.
[0140] Based on the above embodiments, Figure 4 This is a flowchart of Embodiment 3 of the warehouse order processing method provided in the embodiment of the present application. Figure 4 As shown, step 34 may include the following steps:
[0141] Step 41: Determine the association score between each SKU object and each warehouse according to the demand for each SKU object, the inventory quantity of each SKU object in each warehouse in the candidate warehouse set, and the ideal inventory ratio.
[0142] In this step, the ideal inventory ratio is the ratio of the demand for each SKU object in the pending order to the inventory of each SKU object in the candidate warehouse set.
[0143] Optionally, the association score between each SKU object and each production warehouse is expressed by the following formula:
[0144]
[0145] Among them, a sw represents the association score between SKU object s and warehouse w, q sw represents the inventory quantity of SKU object s in warehouse w, d s represents the demand for SKU object s, r swrepresents the ideal inventory ratio of SKU object s in warehouse w, s represents any SKU object in the pending order, and w represents any warehouse in the candidate warehouse set H.
[0146] In practical applications, a sw Reflects the degree of inter-warehouse ratio adjustment brought about by selecting warehouse w to produce SKU object s. If SKU object s is in stock in multiple warehouses, select a sw When the warehouse with a large value produces the SKU object s, it can bring a greater improvement to the warehouse ratio than producing it in other warehouses.
[0147] Optionally, the SKU object s may be any SKU object on the pending order, and the warehouse w may be a warehouse in the candidate warehouse set.
[0148] Step 42: Determine the usage score of each warehouse based on whether the inventory ratio of each SKU object in each warehouse reaches the preset ideal inventory ratio, the association score of each SKU object with each warehouse, and whether each SKU object has inventory in each warehouse.
[0149] In this step, if the inventory ratio in each warehouse reaches the preset ideal inventory ratio, the inventory ratio of each SKU object in each warehouse is 1; if the inventory ratio in each warehouse does not reach the preset ideal inventory ratio, the inventory ratio of each SKU object in each warehouse is 0.
[0150] Optionally, the usage score of each warehouse is expressed as follows:
[0151]
[0152] Among them, C w represents the usage fraction of warehouse w; specifically, C w It approximately reflects the degree of inter-warehouse ratio adjustment brought about by selecting warehouse w as the order production warehouse.
[0153] C w It is divided into three parts. The first part is M1∑ (s,w) t sw Related to the threshold, it indicates the number of SKU objects s that reach the threshold in warehouse w. The more SKU objects s that reach the threshold in warehouse w, the greater the number of M1∑ (s,w) t sw The larger the value of The average adjustment degree of warehouse w on the ratio between warehouses is measured from the perspective of mean; Part III It indicates the degree of regulation of warehouse w on the extreme inter-warehouse ratio (some warehouses have serious inventory ratio imbalances). It measures the regulatory ability of warehouse w in terms of inter-warehouse ratio from the perspective of deviation (discreteness).
[0154] Among them, C w The first part has a weight coefficient of M1, the second part has a weight coefficient of M2, and the third part has a weight coefficient of 1, and M1 and M2 are both constants greater than 1, and M1 is greater than M2. Specifically, M1 is much greater than M2, and M2 is much greater than 1, for example, M1 = 100, M2 = 10; thus, in the three objectives (corresponding to C w The three parts of the utilization score of warehouse w have different priorities in the trade-off, that is, the most important (first consideration) part of the utilization score of warehouse w is the first part "the number of SKU objects s that reach the threshold in warehouse w (inventory needs to be cleared)", and when the scores of each warehouse are the same in the first part, the score of the second part "the average degree of adjustment of warehouse w on the inter-warehouse ratio" is considered, and finally the score of the third part "the adjustment ability of warehouse w for SKU objects with large deviations in the inter-warehouse ratio" is considered.
[0155] In this embodiment, t sw Indicates whether the SKU object s in warehouse w reaches the threshold. If so, t sw =1, if not, t sw =0;
[0156] f(a sw ) is an auxiliary function, and f(a sw )=(a sw ) 2 ; f(a sw ) enables warehouses with large discreteness to be highlighted. w It includes three parts, and considers three factors in sequence. The auxiliary function is used in the third part. That is, when there are multiple alternative warehouses with the same average adjustment degree of the warehouse ratio of SKU object s (the calculation result of the second part is the same), the adjustment ability of SKU objects with larger deviations from the warehouse ratio can be considered. By introducing auxiliary functions, warehouses with more serious inventory ratio imbalances can be highlighted.
[0157] h sw Indicates whether SKU object s is in stock in warehouse w. If so, h sw =1, if not, h sw =0.
[0158] Step 43: Determine a target production warehouse set for at least two SKU objects based on the usage score of each warehouse and the target optimization constraint information.
[0159] In this step, after determining the usage score of each warehouse in the candidate warehouse set, the target production warehouse set for each SKU object on the pending order is determined in combination with the target optimization constraint information.
[0160] The target production warehouse set may be: a set of production warehouses that are ultimately supplied by the candidate warehouse set according to the demand for each SKU object on the pending order.
[0161] Optionally, the embodiment of the present application does not limit the number of optimization targets, which can be determined according to demand.
[0162] The warehouse order processing method provided in this embodiment determines the association score between each SKU object and each warehouse according to the demand for each SKU object, the inventory quantity of each SKU object in each warehouse in the candidate warehouse set, and the ideal inventory ratio, and then determines the usage score of each warehouse according to whether the inventory ratio of each SKU object in each warehouse reaches the preset ideal inventory ratio, the association score of each SKU object and each warehouse, and whether each SKU object has inventory in each warehouse. Finally, according to the usage score of each warehouse and the target optimization constraint information, the target production warehouse set of at least two SKU objects is determined. In this technical solution, by determining the association score and the usage score of each SKU object and the warehouse in the candidate warehouse set, the target production warehouse set is determined, so that when receiving a pending order containing at least two SKU objects, the inventory of multiple production warehouses is combined to achieve the purpose of optimal configuration, while reducing production costs and distribution costs.
[0163] Based on the above embodiments, Figure 5 This is a flowchart of Embodiment 4 of the warehouse order processing method provided in the present application. Figure 5 As shown, the following steps may be included before step 22:
[0164] Step 51: Receive a target optimization instruction from a user.
[0165] In this step, the target optimization indication is used to indicate at least two optimization targets selected by the user and the weight coefficient of each optimization target.
[0166] In a possible implementation, the at least two optimization objectives selected by the user may include minimizing packages (the number of warehouses used to produce the pending order) and balancing inventory levels among multiple candidate warehouses. Optionally, the weight coefficient of minimizing packages and balancing inventory levels among multiple candidate warehouses may be set to 10:1.
[0167] Step 52: Generate target optimization constraint information according to inventory distribution information of at least two SKU objects and demand quantities of at least two SKU objects.
[0168] In this step, the target optimization constraint information includes: a target optimization function and target constraint conditions of the target optimization function. The target optimization function includes: at least two optimization formula items, and the coefficient of each optimization formula item is a weight coefficient of the corresponding optimization target.
[0169] Optionally, the objective optimization function is expressed by the following formula:
[0170]
[0171] The target constraint is expressed by the following formula:
[0172]
[0173]
[0174] Among them, I w Indicates whether warehouse w is used to generate at least two SKU objects. If so, I w =1, if not, I w =0; H1 represents the required warehouse set, H2 represents the candidate warehouse set; Indicates the number of candidate warehouses used, represents the total score of the candidate warehouses used, w1 represents the weight coefficient for the minimum number of warehouses used, and w2 represents the weight coefficient for the optimal inventory ratio between warehouses; C w represents the usage fraction of warehouse w, q sw represents the inventory quantity of SKU object s in warehouse w, d s Represents the demand for SKU object s, where S represents a set of at least two SKU objects.
[0175] The warehouse order processing method provided in this embodiment generates target optimization constraint information by receiving the target optimization instruction from the user, combining the inventory distribution information of at least two SKU objects and the demand of at least two SKU objects. In this technical solution, by setting weight coefficients for the optimization target and the optimization target, and setting the target optimization function and the target constraint conditions corresponding to the target optimization function, the above embodiment provides a basis for determining the target production warehouse set.
[0176] Figure 6 This is a schematic diagram of the structure of the warehouse order processing device provided in the embodiment of the present application. Figure 6 As shown, the device includes: an acquisition module 61, a processing module 62 and a determination module 63.
[0177] An acquisition module 61 is used to acquire pending orders, where the pending orders include: demand quantities of at least two stock keeping unit (SKU) objects;
[0178] A processing module 62, configured to determine a target production warehouse set of at least two SKU objects according to inventory distribution information of at least two SKU objects, demand quantities of at least two SKU objects, and target optimization constraint information;
[0179] The determination module 63 is used to determine at least one actual production warehouse for each SKU object and the outbound quantity of each actual production warehouse according to the association score between each SKU object and each warehouse in the target production warehouse set.
[0180] In a possible design of the embodiment of the present application, the processing module 62 is specifically used to:
[0181] According to inventory distribution information of the at least two SKU objects, the at least two SKU objects are divided into a first object set and a second object set, each SKU object in the first object set is in stock in only one warehouse, and each SKU object in the second object set is in stock in at least two warehouses;
[0182] Determine a required warehouse set according to the warehouse where each SKU object in the first object set is located;
[0183] Determine a candidate warehouse set according to the warehouses where all SKU objects in the second object set are located, wherein the required warehouse set and the candidate warehouse set constitute a candidate warehouse set for the order to be processed;
[0184] A target production warehouse set for at least two SKU objects is determined according to the candidate warehouse set, the demand quantities of at least two SKU objects and target optimization constraint information.
[0185] In this possible design of the embodiment of the present application, the processing module 62 is used to determine the target production warehouse set of at least two SKU objects according to the candidate warehouse set, the demand of at least two SKU objects and the target optimization constraint information, specifically:
[0186] The processing module 62 is specifically used for:
[0187] Determine the association score between each SKU object and each warehouse based on the demand for each SKU object, the inventory quantity of each SKU object in each warehouse in the candidate warehouse set, and the ideal inventory ratio;
[0188] Determine the usage score of each warehouse based on whether the inventory ratio of each SKU object in each warehouse reaches the preset ideal inventory ratio, the association score of each SKU object with each warehouse, and whether each SKU object is in stock in each warehouse;
[0189] According to the usage score of each warehouse and the target optimization constraint information, a target production warehouse set for at least two SKU objects is determined.
[0190] Optionally, the association score between each SKU object and each warehouse is expressed by the following formula:
[0191]
[0192] Among them, a sw represents the association score between SKU object s and warehouse w, q sw represents the inventory quantity of SKU object s in warehouse w, d s represents the demand for SKU object s, r sw represents the ideal inventory ratio of SKU object s in warehouse w, s represents any SKU object in the pending order, and w represents any warehouse in the candidate warehouse set H.
[0193] Optionally, the usage score of each warehouse is expressed as follows:
[0194]
[0195] Among them, C w represents the usage fraction of warehouse w;
[0196] t sw Indicates whether the SKU object s in warehouse w reaches the threshold. If so, t sw =1, if not, t sw =0;
[0197] f(a sw ) is an auxiliary function, and f(a sw )=(a sw ) 2 ;
[0198] h sw Indicates whether SKU object s is in stock in warehouse w. If so, h sw =1, if not, h sw =0; M1 and M2 are both constants greater than 1, and M1 is greater than M2.
[0199] In another possible design of the embodiment of the present application, the acquisition module 61 is further used to receive a target optimization indication from a user before the processing module 62 determines the target production warehouse set of at least two SKU objects according to the inventory distribution information of at least two SKU objects, the demand of at least two SKU objects and the target optimization constraint information, where the target optimization indication is used to indicate at least two optimization objectives selected by the user and a weight coefficient of each optimization objective;
[0200] The processing module 62 is further used to generate target optimization constraint information according to the inventory distribution information of at least two SKU objects and the demand of at least two SKU objects;
[0201] Among them, the target optimization constraint information includes: a target optimization function and target constraint conditions of the target optimization function, and the target optimization function includes: at least two optimization formula items, and the coefficient of each optimization formula item is the weight coefficient of the corresponding optimization target.
[0202] Optionally, the objective optimization function is expressed by the following formula:
[0203]
[0204] The target constraint is expressed by the following formula:
[0205]
[0206]
[0207] Among them, I w Indicates whether warehouse w is used to generate at least two SKU objects. If so, I w =1, if not, I w =0; H1 represents the required warehouse set, H2 represents the candidate warehouse set; Indicates the number of candidate warehouses used, represents the total score of the candidate warehouses used, w1 represents the weight coefficient for the minimum number of warehouses used, and w2 represents the weight coefficient for the optimal inventory ratio between warehouses; C w represents the usage fraction of warehouse w, q sw represents the inventory quantity of SKU object s in warehouse w, d s Represents the demand for SKU object s, where S represents a set of at least two SKU objects.
[0208] The warehouse order processing device provided in this embodiment can be used to execute the solutions in the above embodiments. Its implementation principles and technical effects are similar and will not be described in detail here.
[0209] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the determination module can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0210] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the device may include: a processor 71 , a memory 72 , a system bus 73 and a transceiver 74 .
[0211] The processor 71 executes the computer execution instructions stored in the memory, so that the processor 71 executes the scheme in the above embodiment. The processor 71 can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0212] The memory 72 and the transceiver 74 are connected to the processor 71 via the system bus 73 and communicate with each other. The memory 72 is used to store computer program instructions.
[0213] The system bus 73 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other devices (such as a client, a read-write library, and a read-only library). The memory may include a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage.
[0214] The transceiver 74 is used to communicate with other devices. Optionally, in hardware implementation, the acquisition module 111 and the sending module 113 in the above embodiment correspond to the transceiver 74 in this embodiment, and the transceiver 74 constitutes a communication interface.
[0215] The electronic device provided in the embodiment of the present application can be used to execute the solutions in the above embodiments. Its implementation principles and technical effects are similar and will not be repeated here.
[0216] An embodiment of the present application also provides a chip for executing instructions, which is used to execute the solution in the above embodiment.
[0217] An embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the solution of the above embodiment.
[0218] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0219] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A warehouse order processing method, It is characterized in that include: Obtaining pending orders, where the pending orders include: demand quantities of at least two stock keeping unit (SKU) objects; Determine a target production warehouse set of the at least two SKU objects according to the inventory distribution information of the at least two SKU objects, the demand quantities of the at least two SKU objects, and the target optimization constraint information; According to the association score between each SKU object and each warehouse in the target production warehouse set, at least one actual production warehouse and the outbound quantity of each actual production warehouse for each SKU object are determined; the association score is related to the ideal inventory ratio; the association score represents the degree of inter-warehouse ratio adjustment brought about by selecting each warehouse to produce each SKU object; The step of determining a target production warehouse set of the at least two SKU objects according to the inventory distribution information of the at least two SKU objects, the demand quantities of the at least two SKU objects, and the target optimization constraint information includes: According to the inventory distribution information of the at least two SKU objects, the at least two SKU objects are divided into a first object set and a second object set, wherein each SKU object in the first object set is in stock in only one warehouse, and each SKU object in the second object set is in stock in at least two warehouses; Determine a required warehouse set according to the warehouse where each SKU object in the first object set is located; Determine a candidate warehouse set according to the warehouses where all SKU objects in the second object set are located, wherein the required warehouse set and the candidate warehouse set constitute a candidate warehouse set for the pending order; Determine the association score between each SKU object and each warehouse according to the demand of each SKU object, the inventory quantity of each SKU object in each warehouse in the candidate warehouse set, and the ideal inventory ratio; Determine the usage score of each warehouse based on whether the inventory ratio of each SKU object in each warehouse reaches the preset ideal inventory ratio, the association score of each SKU object with each warehouse, and whether each SKU object is in stock in each warehouse; A target production warehouse set for the at least two SKU objects is determined according to the usage score of each warehouse and the target optimization constraint information.
2. The method according to claim 1, It is characterized in that The association score between each SKU object and each warehouse is expressed by the following formula: Among them, a sw represents the association score between SKU object s and warehouse w, q sw represents the inventory quantity of SKU object s in warehouse w, d s represents the demand for SKU object s, r sw represents the ideal inventory ratio of SKU object s in warehouse w, s represents any SKU object in the pending order, and w represents any warehouse in the candidate warehouse set H.
3. The method according to claim 2, It is characterized in that The usage score of each warehouse is expressed by the following formula: Among them, C w represents the usage fraction of warehouse w; t sw Indicates whether the SKU object s in warehouse w reaches the threshold. If so, t sw =1, if not, t sw =0; f(a sw ) is an auxiliary function, and f(a sw )=(a sw ) 2 ; h sw Indicates whether SKU object s is in stock in warehouse w. If so, h sw =1, if not, h sw =0;M 1 and M 2 are all constants greater than 1, and M 1 Greater than M 2 .
4. The method according to any one of claims 1 to 3, It is characterized in that Before determining the target production warehouse set of the at least two SKU objects according to the inventory distribution information of the at least two SKU objects, the demand quantities of the at least two SKU objects and the target optimization constraint information, the method further includes: Receive a target optimization instruction from a user, where the target optimization instruction is used to indicate at least two optimization objectives selected by the user and a weight coefficient of each optimization objective; generating the target optimization constraint information according to the inventory distribution information of the at least two SKU objects and the demand quantities of the at least two SKU objects; Among them, the target optimization constraint information includes: a target optimization function and target constraints of the target optimization function, and the target optimization function includes: at least two optimization formula items, and the coefficient of each optimization formula item is a weight coefficient of the corresponding optimization target.
5. The method according to claim 4, It is characterized in that The objective optimization function is expressed by the following formula: The target constraint is expressed by the following formula: Among them, I w Indicates whether warehouse w is used to generate the at least two SKU objects. If so, I w =1, if not, I w =0; H 1 Indicates the required warehouse set, H 2 Represents a set of candidate warehouses; Indicates the number of alternative warehouses used, Indicates the total score of the candidate warehouses used, w 1 Indicates the weight coefficient for using the least number of warehouses, w 2 The weight coefficient that represents the optimal inventory ratio between warehouses; C w represents the usage fraction of warehouse w, q sw represents the inventory quantity of SKU object s in warehouse w, d s represents the demand of SKU object s, and S represents a set of the at least two SKU objects.
6. A warehouse order processing device, It is characterized in that include: Acquisition module, processing module and determination module; The acquisition module is used to acquire pending orders, wherein the pending orders include: demand quantities of at least two stock keeping unit (SKU) objects; The processing module is used to determine a target production warehouse set of the at least two SKU objects according to the inventory distribution information of the at least two SKU objects, the demand quantities of the at least two SKU objects and the target optimization constraint information; The determination module is used to determine at least one actual production warehouse for each SKU object and the outbound quantity of each actual production warehouse according to the association score between each SKU object and each warehouse in the target production warehouse set; the association score is related to the ideal inventory ratio; the association score represents the degree of inter-warehouse ratio adjustment brought about by selecting each warehouse to produce each SKU object; The processing module is specifically used for: According to the inventory distribution information of the at least two SKU objects, the at least two SKU objects are divided into a first object set and a second object set, wherein each SKU object in the first object set is in stock in only one warehouse, and each SKU object in the second object set is in stock in at least two warehouses; Determine a required warehouse set according to the warehouse where each SKU object in the first object set is located; Determine a candidate warehouse set according to the warehouses where all SKU objects in the second object set are located, wherein the required warehouse set and the candidate warehouse set constitute a candidate warehouse set for the pending order; Determine the association score between each SKU object and each warehouse according to the demand of each SKU object, the inventory quantity of each SKU object in each warehouse in the candidate warehouse set, and the ideal inventory ratio; Determine the usage score of each warehouse based on whether the inventory ratio of each SKU object in each warehouse reaches the preset ideal inventory ratio, the association score of each SKU object with each warehouse, and whether each SKU object is in stock in each warehouse; A target production warehouse set for the at least two SKU objects is determined according to the usage score of each warehouse and the target optimization constraint information.
7. An electronic device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.
