An intelligent warehouse partitioning method, device, computer equipment and storage medium
Patent Information
- Application Number
- CN202311842021.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2026-10-20
- Estimated Expiration
- 2043-12-29
AI Technical Summary
[0003]目前考虑到各个分仓的最小承运重量、运输成本以及订单加急等情况,需要对订单进行拆单,从而产生较大拆单成本
[0058]上述智能分仓方法、装置、计算机设备和存储介质,通过查询具有采购商品的所有分仓,以及各个分仓对应的采购商品的补货上限、补货下限以及销售占比,结合采购数量,计算得出初步分仓结果,实现将采购数量均匀分配给各个分仓;根据采购商品的单件重量和初步分仓结果,计算出各个分仓的预计承运重量,将各个分仓的预计承运重量与最小承运重量进行比较,输出最终分仓结果,降低拆单成本。
Smart Images

Figure CN117808399B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of e-commerce technology, and in particular to an intelligent warehouse distribution method, apparatus, computer equipment, and storage medium. Background Technology
[0002] In the cross-border e-commerce business, the cross-border e-commerce platform processes users' orders to assist users in completing order payments. The cross-border e-commerce platform calculates the total amount of prepaid shipping fees for the order based on the weight of the goods and the shipping fee calculation method provided by the forwarding company, and sends the order to the merchant providing the goods so that the merchant can send the goods to the forwarding company. The forwarding company calculates the shipping fee for the goods according to its own shipping fee calculation method and sends a request to the cross-border e-commerce platform to pay the shipping fee.
[0003] Currently, considering the minimum carrying weight of each warehouse, transportation costs, and expedited order processing, it is necessary to split orders, which results in significant splitting costs.
[0004] Therefore, there is an urgent need to propose an intelligent warehouse allocation method, device, computer equipment, and storage medium that can reduce the cost of order splitting. Summary of the Invention
[0005] Therefore, it is necessary to provide an intelligent warehouse allocation method, device, computer equipment, and storage medium that can reduce the cost of order splitting in order addressing the aforementioned technical problems.
[0006] Firstly, a smart warehouse allocation method is provided for application in cross-border e-commerce, the method comprising:
[0007] Obtain procurement information, wherein the procurement information includes the goods to be purchased and the quantity to be purchased;
[0008] In response to the fact that the purchased goods are top-selling goods, query all warehouses that have the purchased goods, as well as the replenishment upper limit, replenishment lower limit and sales percentage of the purchased goods for each warehouse;
[0009] Based on the purchase quantity and the replenishment upper limit, replenishment lower limit and sales ratio of the purchased goods for each sub-warehouse, the preliminary sub-warehouse allocation results of the purchased goods are calculated;
[0010] Obtain the unit weight of the purchased goods, and calculate the expected transport weight of each warehouse based on the unit weight of the purchased goods and the preliminary warehouse allocation results;
[0011] Obtain the minimum carrying weight of each sub-warehouse, and compare the expected carrying weight of each sub-warehouse with the corresponding minimum carrying weight;
[0012] In response to the fact that the expected carrying weight of each of the sub-warehouses is greater than the corresponding minimum carrying weight, the preliminary sub-warehouse allocation result of the purchased goods is output as the final sub-warehouse allocation result.
[0013] In one embodiment, the method further includes:
[0014] Obtain a warehouse group, wherein the warehouse group includes all warehouses containing the purchased goods;
[0015] The sales percentage of the purchased goods corresponding to each sub-warehouse is: Z = X / Y, where Z is the sales percentage, X is the average daily sales of the purchased goods in each corresponding sub-warehouse within a preset period, and Y is the average daily sales of the purchased goods in the sub-warehouse group within a preset period, where Y≠0.
[0016] In one embodiment, based on the purchase quantity and the replenishment upper limit, replenishment lower limit, and sales percentage of the purchased goods corresponding to each sub-warehouse, a preliminary warehousing result for the purchased goods is calculated, including:
[0017] The performance parameters of each warehouse containing the purchased goods are obtained respectively, and the priority of the purchased goods allocated to each warehouse is determined according to the performance parameters based on the preset rules.
[0018] All warehouses containing the purchased goods are sorted from highest to lowest priority in terms of the priority of allocating the purchased goods, with the first warehouse having the highest priority in allocating the purchased goods.
[0019] Calculate the total replenishment upper limit and total replenishment lower limit for all warehouses with the purchased goods, and compare the purchased quantity with the total replenishment upper limit and total replenishment lower limit respectively;
[0020] In response to the purchase quantity being greater than or equal to the total replenishment limit, the purchase quantity is first allocated according to the replenishment limit of the purchased goods corresponding to each sub-warehouse, and then the remaining purchase quantity is allocated to the first sub-warehouse.
[0021] In response to the purchase quantity being less than or equal to the total replenishment limit, the warehouses with the purchased goods are first sorted in descending order of sales percentage, and then the purchase quantity is allocated according to the replenishment limit of the purchased goods corresponding to each warehouse based on the sales percentage.
[0022] In response to the purchase quantity being greater than the total replenishment lower limit but less than the total replenishment upper limit, the purchase quantity is first allocated according to the replenishment lower limit of the purchased goods corresponding to each sub-warehouse, and then the remaining purchase quantity is allocated to each sub-warehouse with the purchased goods according to the sales ratio.
[0023] In one embodiment, the method further includes:
[0024] Obtain the minimum carrying weight for each warehouse and compare the expected carrying weight of each warehouse with the corresponding minimum carrying weight;
[0025] In response to the existence of a warehouse where the expected carrying weight is less than the corresponding minimum carrying weight, the initial warehouse allocation ratio of each warehouse is calculated based on the purchase quantity and the preliminary warehouse allocation results of the purchased goods.
[0026] Based on the initial distribution ratio of each sub-compartment, the total initial distribution ratio of sub-compartments whose expected transport weight is greater than the corresponding minimum transport weight is calculated.
[0027] The final distribution ratio of each warehouse is calculated based on the initial distribution ratio of warehouses whose expected carrying weight is greater than the corresponding minimum carrying weight and the total initial distribution ratio.
[0028] Based on the final distribution ratio and purchase quantity of each sub-warehouse, calculate and output the final distribution result.
[0029] In one embodiment, before allocating the remaining purchase quantity to the first sub-warehouse in response to the purchase quantity being greater than or equal to the total replenishment limit, the method further includes:
[0030] Determine whether the first sub-warehouse belongs to the blacklist warehouse of the purchased goods;
[0031] In response to the fact that the first sub-warehouse is not a blacklisted warehouse for the purchased goods, the remaining purchase quantity is allocated to the first sub-warehouse;
[0032] In response to the fact that the first sub-warehouse belongs to the blacklist warehouse of the purchased goods, the remaining purchase quantity is allocated to the sub-warehouse with the highest sales ratio among all sub-warehouses that have the purchased goods, excluding the first sub-warehouse.
[0033] In one embodiment, the method further includes:
[0034] The performance parameters of each warehouse in the warehouse group are obtained respectively, and the priority of the warehouse to purchase goods is obtained according to the performance parameters based on the preset rules.
[0035] The warehouses in the warehouse group are sorted from highest to lowest priority in allocating purchased goods, with the first warehouse having the highest priority in allocating purchased goods.
[0036] In response to the fact that the purchased goods are not top-selling goods, determine whether the first sub-warehouse belongs to the blacklist warehouse of the purchased goods;
[0037] In response to the fact that the first sub-warehouse is not a blacklisted warehouse for the purchased goods, the purchased quantity is allocated to the first sub-warehouse;
[0038] In response to the fact that the first sub-warehouse belongs to the blacklist warehouse of the purchased goods, determine whether the second sub-warehouse belongs to the blacklist warehouse of the purchased goods;
[0039] In response to the fact that the second sub-warehouse is not a blacklisted warehouse for the purchased goods, the purchased quantity is allocated to the second sub-warehouse.
[0040] In one embodiment, the method further includes:
[0041] The performance parameters of each warehouse in the warehouse group are obtained respectively, and the priority of the warehouse to purchase goods is obtained according to the performance parameters based on the preset rules.
[0042] The warehouses in the warehouse group are sorted from highest to lowest priority in allocating purchased goods, with the first warehouse having the highest priority in allocating purchased goods.
[0043] In response to the fact that the purchased goods include top-selling goods and non-top-selling goods, obtain the blacklist warehouses of non-top-selling goods in the warehouse group;
[0044] In response to the fact that only the first warehouse in the warehouse group belongs to the blacklist warehouse of non-top products, the final warehouse allocation result of the top products is obtained;
[0045] In response to the fact that the second warehouse has not been allocated a purchase quantity of the top-selling item, while the third warehouse has been allocated a purchase quantity of the top-selling item, the purchase quantity of the non-top-selling item is allocated to the third warehouse.
[0046] Secondly, a smart warehousing device is provided, the device comprising:
[0047] The acquisition module is used to acquire procurement information, wherein the procurement information includes the purchased goods and the purchase quantity.
[0048] The acquisition module is also used to acquire the weight of a single item of the purchased goods;
[0049] The acquisition module is used to acquire procurement information, wherein the procurement information includes the purchased goods and the purchase quantity.
[0050] The acquisition module is also used to acquire the weight of a single item of the purchased goods.
[0051] The acquisition module is also used to acquire the minimum carrying weight of each sub-compartment;
[0052] The query module is used to query all warehouses that have the purchased product when the purchased product is a top-selling product, as well as the replenishment limit, replenishment limit and sales percentage of the purchased product for each warehouse.
[0053] The calculation module is used to calculate the preliminary warehousing results of the purchased goods based on the purchase quantity and the replenishment upper limit, replenishment lower limit and sales ratio of the purchased goods corresponding to each sub-warehouse. The calculation module is also used to calculate the expected transport weight of each sub-warehouse based on the unit weight of the purchased goods and the preliminary warehousing results.
[0054] The comparison module is used to compare the expected carrying weight of each compartment with the corresponding minimum carrying weight.
[0055] The output module is used to output the preliminary distribution result of the purchased goods as the final distribution result in response to the fact that the expected carrying weight of each sub-warehouse is greater than the corresponding minimum carrying weight.
[0056] Thirdly, a computer device is provided, the computer device including one or more processors; and a memory associated with the one or more processors, the memory for storing program instructions, which, when read and executed by the one or more processors, perform the steps of the method as described in any one of the first aspects above.
[0057] Fourthly, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the steps of the method as described in any one of the first aspects above.
[0058] The aforementioned intelligent warehousing method, device, computer equipment, and storage medium, by querying all warehouses with purchased goods, as well as the replenishment upper limit, replenishment lower limit, and sales ratio of the purchased goods for each warehouse, and combining this with the purchase quantity, calculates the preliminary warehousing result, thereby evenly distributing the purchase quantity to each warehouse; based on the unit weight of the purchased goods and the preliminary warehousing result, it calculates the expected transport weight of each warehouse, compares the expected transport weight of each warehouse with the minimum transport weight, and outputs the final warehousing result, reducing order splitting costs. Attached Figure Description
[0059] Figure 1 This is a flowchart illustrating the intelligent warehouse allocation method in one embodiment;
[0060] Figure 2 This is a structural block diagram of an intelligent warehousing device in one embodiment;
[0061] Figure 3 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0062] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0063] Example 1
[0064] In one embodiment, such as Figure 1 As shown, a smart warehouse allocation method is provided for cross-border e-commerce. The method includes:
[0065] Obtain procurement information, wherein the procurement information includes the goods to be purchased and the quantity to be purchased;
[0066] In response to the fact that the purchased goods are top-selling goods, query all warehouses that have the purchased goods, as well as the replenishment upper limit, replenishment lower limit and sales percentage of the purchased goods for each warehouse;
[0067] Based on the purchase quantity and the replenishment upper limit, replenishment lower limit and sales ratio of the purchased goods for each sub-warehouse, the preliminary sub-warehouse allocation results of the purchased goods are calculated;
[0068] Obtain the unit weight of the purchased goods, and calculate the expected transport weight of each warehouse based on the unit weight of the purchased goods and the preliminary warehouse allocation results;
[0069] Obtain the minimum carrying weight of each sub-warehouse, and compare the expected carrying weight of each sub-warehouse with the corresponding minimum carrying weight;
[0070] In response to the fact that the expected carrying weight of each of the sub-warehouses is greater than the corresponding minimum carrying weight, the preliminary sub-warehouse allocation result of the purchased goods is output as the final sub-warehouse allocation result.
[0071] Specifically, in the cross-border e-commerce model, purchased goods are generally divided into top-selling goods and non-top-selling goods. Top-selling goods refer to goods that meet the sales ranking requirements within a preset period of time, and / or goods with specific tags, such as the top 90% of goods sold in the past year, and / or goods with high sales / high repurchase tags.
[0072] Specifically, the replenishment upper / lower limit = the average daily sales of each warehouse within the preset period * the upper / lower limit of replenishment days - warehouse inventory - effective in-transit inventory, where effective in-transit inventory is the quantity of goods in transit for which orders have not been closed within the preset period.
[0073] Specifically, each warehouse is represented by a corresponding code based on its location information. The warehouse groups include: VIP_ZZ, VIP_GZNS, VIP_CQKG, VIP_QDHD, and VIP_TJKG.
[0074] Specifically, according to the cross-border e-commerce model, in terms of the coverage of goods sold in the warehouses within the warehouse group, the warehouse represented by VIP_ZZ has the largest coverage and the highest priority for allocating purchased goods. Therefore, the warehouse represented by VIP_ZZ is designated as the first warehouse. Generally speaking, the priority order for allocating purchased goods is as follows: VIP_ZZ > VIP_GZNS > VIP_CQKG > VIP_QDHD > VIP_TJKG.
[0075] In response to the fact that the purchased goods are at least one top-tier product, query all warehouses with each purchased goods, as well as the replenishment upper limit, replenishment lower limit, and sales percentage of the purchased goods for each warehouse, as shown in the table below:
[0076] A VIP_ZZ 1000 100 20% A VIP_GZNS 2000 200 30% A VIP_CQKG 500 400 50% B VIP_ZZ 3000 1000 70% B VIP_CQKG 5000 2000 30% C VIP_ZZ 3000 1500 40% C VIP_GZNS 2000 1000 60%
[0077] Specifically, the weight of each purchased item is obtained, as shown in the table below:
[0078] A 0.26kg B 0.4kg C 0.66kg
[0079] Special Note: If the weight of a single purchased item is less than 0.1kg and it is not a blacklisted warehouse in VIP_ZZ, the purchased item will be uniformly assigned to VIP_ZZ.
[0080] Specifically, based on the unit weight of the purchased goods and the preliminary warehousing results, the estimated transport weight for each warehouse is calculated, as shown in the table below:
[0081] (1) Step 1:
[0082] A 0.26kg VIP_ZZ 2500 2500*0.26=650 A 0.26kg VIP_GZNS 2000 2000*0.26=520 A 0.26kg VIP_CQKG 500 500*0.26=130 B 0.4kg VIP_ZZ 1000 1000*0.4=400 B 0.4kg VIP_CQKG 500 500*0.4=200 C 0.66kg VIP_ZZ 2100 2100*0.66=1386 C 0.66kg VIP_GZNS 1900 1900*0.66=1254
[0083] (2) Step 2:
[0084] VIP_ZZ 650+400+1386=2436 VIP_GZNS 520+1254=1774 VIP_CQKG 130+200=330
[0085] Specifically, by querying all warehouses with purchased goods, as well as the replenishment upper limit, replenishment lower limit, and sales percentage of the purchased goods for each warehouse, and combining this with the purchase quantity, a preliminary warehouse allocation result is calculated, thereby evenly distributing the purchase quantity to each warehouse. Based on the unit weight of the purchased goods and the preliminary warehouse allocation result, the expected transport weight of each warehouse is calculated. The expected transport weight of each warehouse is compared with the minimum transport weight, and the final warehouse allocation result is output, reducing order splitting costs.
[0086] In one embodiment, the method further includes:
[0087] Obtain a warehouse group, wherein the warehouse group includes all warehouses containing the purchased goods;
[0088] The sales percentage of the purchased goods corresponding to each sub-warehouse is: Z = X / Y, where Z is the sales percentage, X is the average daily sales of the purchased goods in each corresponding sub-warehouse within a preset period, and Y is the average daily sales of the purchased goods in the sub-warehouse group within a preset period, where Y≠0.
[0089] Specifically, the preset period is generally set to 90 days.
[0090] Specifically, the average daily sales of the purchased goods in each corresponding warehouse within the preset period are not the actual sales of each corresponding warehouse. Here, it means the average daily sales of the warehouse mapped according to the member's receiving area.
[0091] For example: Member A's delivery address is in Tianjin, and the corresponding local warehouse mapping should be Tianjin warehouse. However, because the quantity of the purchased goods in Tianjin warehouse is 0, the purchased goods are actually shipped from Nansha warehouse. In this project scenario, the sales record of the purchased goods is still in Tianjin warehouse.
[0092] In one embodiment, based on the purchase quantity and the replenishment upper limit, replenishment lower limit, and sales percentage of the purchased goods corresponding to each sub-warehouse, a preliminary warehousing result for the purchased goods is calculated, including:
[0093] The performance parameters of each warehouse containing the purchased goods are obtained respectively, and the priority of the purchased goods allocated to each warehouse is determined according to the performance parameters based on the preset rules.
[0094] All warehouses containing the purchased goods are sorted from highest to lowest priority in terms of the priority of allocating the purchased goods, with the first warehouse having the highest priority in allocating the purchased goods.
[0095] Calculate the total replenishment upper limit and total replenishment lower limit for all warehouses with the purchased goods, and compare the purchased quantity with the total replenishment upper limit and total replenishment lower limit respectively;
[0096] In response to the purchase quantity being greater than or equal to the total replenishment limit, the purchase quantity is first allocated according to the replenishment limit of the purchased goods corresponding to each sub-warehouse, and then the remaining purchase quantity is allocated to the first sub-warehouse.
[0097] In response to the purchase quantity being less than or equal to the total replenishment limit, the warehouses with the purchased goods are first sorted in descending order of sales percentage, and then the purchase quantity is allocated according to the replenishment limit of the purchased goods corresponding to each warehouse based on the sales percentage.
[0098] In response to the purchase quantity being greater than the total replenishment lower limit but less than the total replenishment upper limit, the purchase quantity is first allocated according to the replenishment lower limit of the purchased goods corresponding to each sub-warehouse, and then the remaining purchase quantity is allocated to each sub-warehouse with the purchased goods according to the sales ratio.
[0099] Specifically, as shown in the table below:
[0100]
[0101] In one embodiment, the method further includes:
[0102] Obtain the minimum carrying weight for each warehouse and compare the expected carrying weight of each warehouse with the corresponding minimum carrying weight;
[0103] In response to the existence of a warehouse where the expected carrying weight is less than the corresponding minimum carrying weight, the initial warehouse allocation ratio of each warehouse is calculated based on the purchase quantity and the preliminary warehouse allocation results of the purchased goods.
[0104] Based on the initial distribution ratio of each sub-compartment, the total initial distribution ratio of sub-compartments whose expected transport weight is greater than the corresponding minimum transport weight is calculated.
[0105] The final distribution ratio of each warehouse is calculated based on the initial distribution ratio of warehouses whose expected carrying weight is greater than the corresponding minimum carrying weight and the total initial distribution ratio.
[0106] Based on the final distribution ratio and purchase quantity of each sub-warehouse, calculate and output the final distribution result.
[0107] Specifically, based on the initial proportion of warehouses whose expected transport weight exceeds the corresponding minimum transport weight, and the total initial proportion of warehouses, the final proportion of each warehouse is calculated, as shown in the table below:
[0108]
[0109] Specifically, the final allocation result of each sub-warehouse = the preliminary allocation result + the final allocation percentage of each sub-warehouse * the sum of the preliminary allocation results of sub-warehouses whose expected transport weight is less than the corresponding minimum transport weight, where the final allocation result of sub-warehouses whose expected transport weight is less than the corresponding minimum transport weight is 0.
[0110] In one embodiment, before allocating the remaining purchase quantity to the first sub-warehouse in response to the purchase quantity being greater than or equal to the total replenishment limit, the method further includes:
[0111] Determine whether the first sub-warehouse belongs to the blacklist warehouse of the purchased goods;
[0112] In response to the fact that the first sub-warehouse is not a blacklisted warehouse for the purchased goods, the remaining purchase quantity is allocated to the first sub-warehouse;
[0113] In response to the fact that the first sub-warehouse belongs to the blacklist warehouse of the purchased goods, the remaining purchase quantity is allocated to the sub-warehouse with the highest sales ratio among all sub-warehouses that have the purchased goods, excluding the first sub-warehouse.
[0114] In one embodiment, the method further includes:
[0115] The performance parameters of each warehouse in the warehouse group are obtained respectively, and the priority of the warehouse to purchase goods is obtained according to the performance parameters based on the preset rules.
[0116] The warehouses in the warehouse group are sorted from highest to lowest priority in allocating purchased goods, with the first warehouse having the highest priority in allocating purchased goods.
[0117] In response to the fact that the purchased goods are not top-selling goods, determine whether the first sub-warehouse belongs to the blacklist warehouse of the purchased goods;
[0118] In response to the fact that the first sub-warehouse is not a blacklisted warehouse for the purchased goods, the purchased quantity is allocated to the first sub-warehouse;
[0119] In response to the fact that the first sub-warehouse belongs to the blacklist warehouse of the purchased goods, determine whether the second sub-warehouse belongs to the blacklist warehouse of the purchased goods;
[0120] In response to the fact that the second sub-warehouse is not a blacklisted warehouse for the purchased goods, the purchased quantity is allocated to the second sub-warehouse.
[0121] In one embodiment, the method further includes:
[0122] The performance parameters of each warehouse in the warehouse group are obtained respectively, and the priority of the warehouse to purchase goods is obtained according to the performance parameters based on the preset rules.
[0123] The warehouses in the warehouse group are sorted from highest to lowest priority in allocating purchased goods, with the first warehouse having the highest priority in allocating purchased goods.
[0124] In response to the fact that the purchased goods include top-selling goods and non-top-selling goods, obtain the blacklist warehouses of non-top-selling goods in the warehouse group;
[0125] In response to the fact that only the first warehouse in the warehouse group belongs to the blacklist warehouse of non-top products, the final warehouse allocation result of the top products is obtained;
[0126] In response to the fact that the second warehouse has not been allocated a purchase quantity of the top-selling item, while the third warehouse has been allocated a purchase quantity of the top-selling item, the purchase quantity of the non-top-selling item is allocated to the third warehouse.
[0127] Specifically, when VIP_ZZ is a blacklisted warehouse for non-top-tier products, the non-top-tier products will be reassigned to other warehouses according to the following rules:
[0128] (1) If there is a non-head product X with a purchase quantity of 100 units, a head product Y with a purchase quantity allocated in VIP_GZNS, and a head product Z with a purchase quantity allocated in VIP_QDHD, then all 100 units of the non-head product X are allocated to VIP_GZNS.
[0129] (2) If there is a non-head product X with a purchase quantity of 50 units, VIP_GZNS belongs to the blacklist warehouse of non-head product X, and head products Y and Z have purchase quantities allocated in VIP_ZZ, then the 50 units of non-head product X are all allocated to VIP_CQKG.
[0130] (3) If there are multiple non-top products, the multiple non-top products will be given priority to go to the same warehouse, that is, the multiple non-top products will be allocated as a whole to the non-blacklist warehouse.
[0131] For example, if there are non-top-tier products X and Y, and VIP_GZNS belongs to the blacklist warehouse for non-top-tier product X, while VIP_CQKG does not belong to the blacklist warehouse for non-top-tier product Y, then non-top-tier products X and Y will be assigned to VIP_CQKG together.
[0132] In extreme cases, if non-top-selling items cannot be distributed as a whole, i.e., if non-top-selling items X, Y, Z, and Q are blacklisted warehouses in VIP_GZNS, VIP_CQKG, VIP_QDHD, and VIP_TJKG respectively, then non-top-selling item X will be distributed to VIP_CQKG, and items Y, Z, and Q will be distributed to VIP_GZNS.
[0133] Backup plan: If all warehouses in the warehouse group belong to the blacklist warehouses of non-top-tier products, then all non-top-tier products will be assigned to VIP_ZZ.
[0134] It should be understood that, although Figure 1 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 1At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0135] Example 2
[0136] In one embodiment, such as Figure 2 As shown, an intelligent warehousing device is provided, the device comprising:
[0137] The acquisition module is used to acquire procurement information, wherein the procurement information includes the purchased goods and the purchase quantity.
[0138] The acquisition module is also used to acquire the weight of a single item of the purchased goods.
[0139] The acquisition module is also used to acquire the minimum carrying weight of each sub-compartment;
[0140] The query module is used to query all warehouses that have the purchased product when the purchased product is a top-selling product, as well as the replenishment limit, replenishment limit and sales percentage of the purchased product for each warehouse.
[0141] The calculation module is used to calculate the preliminary warehouse allocation results of the purchased goods based on the purchase quantity and the replenishment upper limit, replenishment lower limit, and sales ratio of the purchased goods corresponding to each warehouse.
[0142] The calculation module is also used to calculate the expected transport weight of each warehouse based on the unit weight of the purchased goods and the preliminary warehouse allocation results.
[0143] The comparison module is used to compare the expected carrying weight of each compartment with the corresponding minimum carrying weight.
[0144] The output module is used to output the preliminary distribution result of the purchased goods as the final distribution result in response to the fact that the expected carrying weight of each sub-warehouse is greater than the corresponding minimum carrying weight.
[0145] In one embodiment, the acquisition module is further configured to acquire a warehouse group, wherein the warehouse group includes all warehouses containing the purchased goods;
[0146] The calculation module is also used to calculate the sales percentage of the purchased goods corresponding to each sub-warehouse: Z = X / Y, where Z is the sales percentage, X is the average daily sales of the purchased goods in each corresponding sub-warehouse within a preset period, and Y is the average daily sales of the purchased goods in the sub-warehouse group within a preset period, where Y≠0.
[0147] In one embodiment, the computing module further includes:
[0148] The acquisition submodule is used to acquire the performance parameters of each warehouse that has the purchased goods, and to obtain the priority of the allocated purchased goods for each warehouse according to the performance parameters based on the preset rules.
[0149] The sorting submodule is used to sort all the warehouses with the purchased goods in descending order of priority for allocating the purchased goods, wherein the first warehouse has the highest priority for allocating the purchased goods.
[0150] The calculation submodule is used to calculate the total replenishment upper limit and the total replenishment lower limit of all warehouses with the purchased goods;
[0151] A comparison submodule is used to compare the purchased quantity with the total replenishment upper limit and the total replenishment lower limit, respectively.
[0152] The allocation submodule is configured to, in response to the purchase quantity being greater than or equal to the total replenishment limit, first allocate the purchase quantity according to the replenishment limit of the purchased goods corresponding to each sub-warehouse, and then allocate the remaining purchase quantity to the first sub-warehouse.
[0153] The sorting submodule is also used to sort the various warehouses that have the purchased goods in descending order of sales proportion in response to the purchase quantity being less than or equal to the total replenishment limit;
[0154] The allocation submodule is also used to allocate the purchase quantity according to the sales ratio and the replenishment limit of the purchased goods corresponding to each warehouse.
[0155] The allocation submodule is also configured to, in response to the purchase quantity being greater than the total replenishment lower limit but less than the total replenishment upper limit, first allocate the purchase quantity according to the replenishment lower limit of the purchased goods corresponding to each sub-warehouse, and then allocate the remaining purchase quantity to each sub-warehouse with the purchased goods according to the sales ratio.
[0156] In one embodiment, the calculation submodule is further configured to, in response to the existence of warehouses where the expected carrying weight is less than the corresponding minimum carrying weight, calculate the initial warehouse allocation percentage for each warehouse based on the preliminary warehouse allocation results of the purchased quantity and the purchased goods.
[0157] The calculation submodule is also used to calculate the total initial percentage of warehouses whose expected transport weight is greater than the corresponding minimum transport weight, based on the initial percentage of each warehouse.
[0158] The calculation submodule is also used to calculate the final distribution ratio of each warehouse based on the initial distribution ratio of warehouses whose expected carrying weight is greater than the corresponding minimum carrying weight and the total initial distribution ratio.
[0159] The calculation submodule is also used to calculate the final warehouse allocation result based on the final warehouse allocation ratio and the purchase quantity of each warehouse.
[0160] The output module is also used to output the final warehouse allocation result.
[0161] In one embodiment, the device further includes a judgment module, which is used to determine whether the first sub-warehouse belongs to the blacklist warehouse of the purchased goods;
[0162] The allocation submodule is also configured to allocate the remaining purchase quantity to the first sub-warehouse in response to the first sub-warehouse not being a blacklisted warehouse for the purchased goods.
[0163] The allocation submodule is also configured to, in response to the first sub-warehouse being a blacklisted warehouse for the purchased goods, allocate the remaining purchase quantity to the sub-warehouse with the highest sales share among all sub-warehouses that have the purchased goods, excluding the first sub-warehouse.
[0164] In one embodiment, the acquisition submodule is further configured to acquire the performance parameters of the sub-warehouses in the sub-warehouse group respectively, and obtain the priority of the sub-warehouses for allocating purchased goods according to the performance parameters based on preset rules;
[0165] The sorting submodule is also used to sort the warehouses in the warehouse group according to the priority of allocating purchased goods from largest to smallest, wherein the first warehouse has the highest priority for allocating purchased goods.
[0166] The device further includes a judgment module, which is used to determine whether the first sub-warehouse belongs to the blacklist warehouse of the purchased goods in response to the fact that the purchased goods are non-top-end goods.
[0167] The allocation submodule is also configured to allocate the purchase quantity to the first sub-warehouse in response to the first sub-warehouse not being a blacklisted warehouse for the purchased goods.
[0168] The judgment module is also used to determine whether the second sub-warehouse belongs to the blacklist warehouse of the purchased goods in response to the first sub-warehouse belonging to the blacklist warehouse of the purchased goods.
[0169] The allocation submodule is also used to allocate the purchase quantity to the second sub-warehouse in response to the second sub-warehouse not being a blacklisted warehouse for the purchased goods.
[0170] In one embodiment, the acquisition submodule is further configured to, in response to the purchased goods including top-selling and non-top-selling goods, acquire the blacklist warehouses of non-top-selling goods in the warehouse group.
[0171] The acquisition submodule is also used to obtain the final warehouse allocation result of the top product in response to the blacklist warehouse that is the only one in the warehouse group that is not the top product.
[0172] The allocation submodule is also configured to, in response to the second sub-warehouse not having an allocation of the purchase quantity of the top-selling item, and the third sub-warehouse having an allocation of the purchase quantity of the top-selling item, allocate the purchase quantity of the non-top-selling item to the third sub-warehouse.
[0173] Specific limitations regarding the intelligent warehousing device can be found in the limitations of the intelligent warehousing method described above, and will not be repeated here. Each module in the aforementioned intelligent warehousing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0174] Example 3
[0175] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps:
[0176] Obtain procurement information, wherein the procurement information includes the goods to be purchased and the quantity to be purchased;
[0177] In response to the fact that the purchased goods are top-selling goods, query all warehouses that have the purchased goods, as well as the replenishment upper limit, replenishment lower limit and sales percentage of the purchased goods for each warehouse;
[0178] Based on the purchase quantity and the replenishment upper limit, replenishment lower limit and sales ratio of the purchased goods for each sub-warehouse, the preliminary sub-warehouse allocation results of the purchased goods are calculated;
[0179] Obtain the unit weight of the purchased goods, and calculate the expected transport weight of each warehouse based on the unit weight of the purchased goods and the preliminary warehouse allocation results;
[0180] Obtain the minimum carrying weight of each sub-warehouse, and compare the expected carrying weight of each sub-warehouse with the corresponding minimum carrying weight;
[0181] In response to the fact that the expected carrying weight of each of the sub-warehouses is greater than the corresponding minimum carrying weight, the preliminary sub-warehouse allocation result of the purchased goods is output as the final sub-warehouse allocation result.
[0182] When the program instructions are read and executed by the one or more processors, they can also perform operations corresponding to the steps in the above method embodiments, as described above, and will not be repeated here. (Reference) Figure 3 This exemplifies the architecture of a computer device, which may include a processor 310, a video display adapter 311, a disk drive 312, an input / output interface 313, a network interface 314, and a memory 320. The processor 310, video display adapter 311, disk drive 312, input / output interface 313, network interface 314, and memory 320 can communicate with each other via a communication bus 330.
[0183] The processor 310 can be implemented using a general-purpose central processing unit (CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to achieve the technical solution provided in this application.
[0184] The memory 320 can be implemented as a read-only memory (ROM), random access memory (RAM), static storage device, dynamic storage device, etc. The memory 320 can store the operating system 321 for controlling the operation of the computer device 300, and the basic input / output system (BIOS) 322 for controlling the low-level operations of the computer device 300. Additionally, it can store a web browser 323, data storage management 324, and an icon font processing system 325, etc. The aforementioned icon font processing system 325 can be the application program that specifically implements the aforementioned steps in this embodiment. In summary, when the technical solution provided in this application is implemented through software or firmware, the relevant program code is stored in the memory 320 and is called and executed by the processor 310.
[0185] Input / output interface 313 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touch screens, microphones, various sensors, etc., and output devices may include displays, speakers, vibrators, indicator lights, etc.
[0186] Network interface 314 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0187] Bus 330 includes a pathway for transmitting information between various components of the device, such as processor 310, video display adapter 311, disk drive 312, input / output interface 313, network interface 314, and memory 320.
[0188] In addition, the computer device 300 can also obtain information on specific acquisition conditions from the virtual resource object acquisition condition information database 341 for condition judgment, etc.
[0189] It should be noted that although the computer device 300 described above only shows a processor 310, a video display adapter 311, a disk drive 312, an input / output interface 313, a network interface 314, a memory 320, and a bus 330, in specific implementations, the computer device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above device may only include the components necessary for implementing the solution of this application, and does not necessarily include all the components shown in the figures.
[0190] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, cloud server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application.
[0191] Example 4
[0192] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0193] Obtain procurement information, wherein the procurement information includes the goods to be purchased and the quantity to be purchased;
[0194] In response to the fact that the purchased goods are top-selling goods, query all warehouses that have the purchased goods, as well as the replenishment upper limit, replenishment lower limit and sales percentage of the purchased goods for each warehouse;
[0195] Based on the purchase quantity and the replenishment upper limit, replenishment lower limit and sales ratio of the purchased goods for each sub-warehouse, the preliminary sub-warehouse allocation results of the purchased goods are calculated;
[0196] Obtain the unit weight of the purchased goods, and calculate the expected transport weight of each warehouse based on the unit weight of the purchased goods and the preliminary warehouse allocation results;
[0197] Obtain the minimum carrying weight of each sub-warehouse, and compare the expected carrying weight of each sub-warehouse with the corresponding minimum carrying weight;
[0198] In response to the fact that the expected carrying weight of each of the sub-warehouses is greater than the corresponding minimum carrying weight, the preliminary sub-warehouse allocation result of the purchased goods is output as the final sub-warehouse allocation result.
[0199] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0200] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0201] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A smart warehouse allocation method, characterized in that, The method includes: Obtain procurement information, wherein the procurement information includes the goods to be purchased and the quantity to be purchased; In response to the fact that the purchased goods are top-selling goods, query all warehouses that have the purchased goods, as well as the replenishment upper limit, replenishment lower limit and sales percentage of the purchased goods for each warehouse; Based on the purchase quantity and the replenishment upper limit, replenishment lower limit and sales ratio of the purchased goods for each sub-warehouse, the preliminary sub-warehouse allocation results of the purchased goods are calculated; Obtain the unit weight of the purchased goods, and calculate the expected transport weight of each warehouse based on the unit weight of the purchased goods and the preliminary warehouse allocation results; Obtain the minimum carrying weight of each sub-warehouse, and compare the expected carrying weight of each sub-warehouse with the corresponding minimum carrying weight; In response to the fact that the expected carrying weight of each of the sub-warehouses is greater than the corresponding minimum carrying weight, the preliminary sub-warehouse allocation result of the purchased goods is output as the final sub-warehouse allocation result; Specifically, based on the purchase quantity and the replenishment upper limit, replenishment lower limit, and sales percentage of the purchased goods corresponding to each sub-warehouse, the preliminary warehousing results of the purchased goods are calculated, including: The performance parameters of each warehouse containing the purchased goods are obtained respectively, and the priority of the purchased goods allocated to each warehouse is determined according to the performance parameters based on the preset rules. All warehouses containing the purchased goods are sorted from highest to lowest priority in terms of the priority of allocating the purchased goods, with the first warehouse having the highest priority in allocating the purchased goods. Calculate the total replenishment upper limit and total replenishment lower limit for all warehouses with the purchased goods, and compare the purchased quantity with the total replenishment upper limit and total replenishment lower limit respectively; In response to the purchase quantity being greater than or equal to the total replenishment limit, the purchase quantity is first allocated according to the replenishment limit of the purchased goods corresponding to each sub-warehouse, and then the remaining purchase quantity is allocated to the first sub-warehouse. In response to the purchase quantity being less than or equal to the total replenishment limit, the warehouses with the purchased goods are first sorted in descending order of sales percentage, and then the purchase quantity is allocated according to the replenishment limit of the purchased goods corresponding to each warehouse based on the sales percentage. In response to the purchase quantity being greater than the total replenishment lower limit but less than the total replenishment upper limit, the purchase quantity is first allocated according to the replenishment lower limit of the purchased goods corresponding to each sub-warehouse, and then the remaining purchase quantity is allocated to each sub-warehouse with the purchased goods according to the sales ratio. In response to the fact that the purchased goods are not top-selling goods, determine whether the first sub-warehouse belongs to the blacklist warehouse of the purchased goods; In response to the fact that the first sub-warehouse is not a blacklisted warehouse for the purchased goods, the purchased quantity is allocated to the first sub-warehouse; In response to the fact that the first sub-warehouse belongs to the blacklist warehouse of the purchased goods, determine whether the second sub-warehouse belongs to the blacklist warehouse of the purchased goods; In response to the fact that the second sub-warehouse is not a blacklisted warehouse for the purchased goods, the purchased quantity is allocated to the second sub-warehouse; In response to the fact that the purchased goods include the top-selling goods and the non-top-selling goods, the blacklist warehouses of the non-top-selling goods in the warehouse group are obtained, wherein the warehouse group includes all warehouses containing the purchased goods; In response to the fact that only the first warehouse in the warehouse group belongs to the blacklist warehouse of the non-head product, the final warehouse allocation result of the head product is obtained; In response to the fact that the second sub-warehouse has not been allocated a purchase quantity of the top-selling item, and the third sub-warehouse has been allocated a purchase quantity of the top-selling item, the purchase quantity of the non-top-selling item is allocated to the third sub-warehouse.
2. The method according to claim 1, characterized in that, The sales percentage of the purchased goods corresponding to each sub-warehouse is: Z=X / Y, where Z is the sales percentage, X is the average daily sales of the purchased goods in each corresponding sub-warehouse within a preset period, and Y is the average daily sales of the purchased goods in the sub-warehouse group within a preset period, where Y≠0.
3. The method according to claim 1, characterized in that, The method further includes: Obtain the minimum carrying weight for each warehouse and compare the expected carrying weight of each warehouse with the corresponding minimum carrying weight; In response to the existence of a warehouse where the expected carrying weight is less than the corresponding minimum carrying weight, the initial warehouse allocation ratio of each warehouse is calculated based on the purchase quantity and the preliminary warehouse allocation results of the purchased goods. Based on the initial distribution ratio of each sub-compartment, the total initial distribution ratio of sub-compartments whose expected transport weight is greater than the corresponding minimum transport weight is calculated. The final distribution ratio of each warehouse is calculated based on the initial distribution ratio of warehouses whose expected carrying weight is greater than the corresponding minimum carrying weight and the total initial distribution ratio. Based on the final distribution ratio and purchase quantity of each sub-warehouse, calculate and output the final distribution result.
4. The method according to claim 1, characterized in that, Before allocating the remaining purchase quantity to the first sub-warehouse in response to the purchase quantity being greater than or equal to the total replenishment limit, the method further includes: Determine whether the first sub-warehouse belongs to the blacklist warehouse of the purchased goods; In response to the fact that the first sub-warehouse is not a blacklisted warehouse for the purchased goods, the remaining purchase quantity is allocated to the first sub-warehouse; In response to the fact that the first sub-warehouse belongs to the blacklist warehouse of the purchased goods, the remaining purchase quantity is allocated to the sub-warehouse with the highest sales ratio among all sub-warehouses that have the purchased goods, excluding the first sub-warehouse.
5. An intelligent warehousing device for implementing the intelligent warehousing method of claim 1, characterized in that, The device includes: The acquisition module is used to acquire procurement information, wherein the procurement information includes the purchased goods and the purchase quantity. The acquisition module is also used to acquire the weight of a single item of the purchased goods. The acquisition module is also used to acquire the minimum carrying weight of each sub-compartment; The query module is used to query all warehouses that have the purchased product when the purchased product is a top-selling product, as well as the replenishment limit, replenishment limit and sales percentage of the purchased product for each warehouse. The calculation module is used to calculate the preliminary warehouse allocation results of the purchased goods based on the purchase quantity and the replenishment upper limit, replenishment lower limit, and sales ratio of the purchased goods corresponding to each warehouse. The calculation module is also used to calculate the expected transport weight of each warehouse based on the unit weight of the purchased goods and the preliminary warehouse allocation results. The comparison module is used to compare the expected carrying weight of each compartment with the corresponding minimum carrying weight. The output module is used to output the preliminary distribution result of the purchased goods as the final distribution result in response to the fact that the expected carrying weight of each sub-warehouse is greater than the corresponding minimum carrying weight.
6. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Warehousing storage location configuration system
CN110874670A
Warehouse object separate warehouse control method and device, electronic equipment and storage medium
CN113743865A