Storage resource allocation method, device, electronic equipment and storage medium
Through the analysis of expected orders based on historical orders, warehousing resources are reasonably allocated, which solves the problem of uneven distribution of warehousing resources in the existing technology, reduces sorting and storage costs, and improves product sales efficiency and warehousing space utilization.
Patent Information
- Application Number
- CN201910892462.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-20
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2039-09-20
AI Technical Summary
The existing warehousing resource allocation method is not reasonable enough, resulting in uneven allocation results, increasing sorting and storage costs, and there may be too many pre-stored goods or not sold in time, affecting product sales.
By obtaining expected orders based on historical orders, we determine the expected orders that meet the constraints based on the shelf life and volume of the goods and the volume of the target warehousing area, and rationally allocate warehousing resources so that the target quantity of goods does not exceed the expected sales volume within the shelf life and is sold within the target Products are placed within the shelf volume.
It achieves unified planning of warehousing resources, reduces sorting and storage costs, avoids the problem of too many or too few goods, and improves product sales efficiency and storage space utilization.
Smart Images

Figure CN110648099B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of warehouse management technology, and in particular, to a warehouse resource allocation method, device, electronic device, and storage medium. Background Art
[0002] With the development of supermarket retail industry, supermarket retail models are becoming more and more diverse, such as the increasingly popular online sales model. In the online sales model, storage resources need to be allocated in advance to store goods in advance. For example, for goods sold online, storage resources will be allocated according to the types of goods, and the goods will be pre-stored on shelves in different offline storage areas.
[0003] However, the method of allocating storage resources according to the types of goods has certain limitations. The allocation method is not reasonable enough, and the allocated storage resources are not balanced enough. Therefore, it is urgent to propose a unified planning of storage resources to make the allocation of storage resources more reasonable. Summary of the invention
[0004] The embodiment of the present application provides a method, device, electronic device and storage medium for allocating storage resources to uniformly plan storage resources and make the allocation result of storage resources more reasonable. The technical solution is as follows:
[0005] On the one hand, an embodiment of the present application provides a method for allocating storage resources, the method comprising: obtaining expected orders based on historical orders, the expected orders comprising one or more, each expected order comprising one or more commodities; obtaining the quantity and commodity parameters of each commodity in each expected order, the commodity parameters comprising the shelf life of the commodity and the volume of the commodity; determining the expected orders that meet the constraints according to the quantity of each commodity in the target expected order, the commodity parameters and the volume of the target shelves in the target storage area, the expected orders that meet the constraints comprising the target commodities of a reference number of categories, the total quantity of the target commodities in all expected orders that meet the constraints is not greater than the expected sales volume of the target commodities within the shelf life, and the total volume of the target commodities in all expected orders that meet the constraints is not greater than the volume of the target shelves in the target storage area; allocating target shelf resources in the target storage area to the commodities in the expected orders that meet the constraints.
[0006] In a possible implementation manner of the present application, the commodity parameters also include a replenishment cycle of the commodity; the expected order that satisfies the constraint conditions is determined according to the quantity of each commodity in the target expected order, the commodity parameters, and the volume of the target shelf in the target storage cargo area, the expected order that satisfies the constraint conditions includes the target commodity of a reference number of types, the sum of the quantities of the target commodity in all expected orders that satisfy the constraint conditions is not greater than the expected sales volume of the target commodity within the shelf life, and the total volume of the target commodity in all expected orders that satisfy the constraint conditions is not greater than the volume of the target shelf in the target storage cargo area, including: The expected order that meets the constraints is determined based on the quantity in the order, the shelf life of the goods, the replenishment cycle of the goods, the volume of the goods and the capacity of the target shelf in the target storage area. The expected order that meets the constraints contains the target goods of the reference variety, the total quantity of the target goods in all the expected orders that meet the constraints is not greater than the expected sales volume of the target goods within the shelf life, the total volume of the target goods in all the expected orders that meet the constraints is not greater than the capacity of the target shelf in the target storage area, and the total quantity of the target goods in all the expected orders that meet the constraints is not less than the expected sales volume of the target goods within the replenishment cycle.
[0007] In a possible implementation manner of the present application, the commodity parameters also include the storage temperature of the commodity, and the target shelf of the target storage area includes multiple storage spaces with different storage temperatures; the expected order that meets the constraint conditions is determined according to the quantity of each commodity in the target expected order, the commodity parameters and the volume of the target shelf of the target storage area, the expected order that meets the constraint conditions includes the target commodity of a reference number of types, the total quantity of the target commodity in all expected orders that meet the constraint conditions is not greater than the expected sales volume of the target commodity within the shelf life, and the total volume of the target commodity in all expected orders that meet the constraint conditions is not greater than the volume of the target shelf of the target storage area, including: based on According to the quantity of each commodity in the target expected order, the shelf life of the commodity, the volume of the commodity, the volume of the target shelf of the target storage cargo area and the volume of each storage space, the expected order that meets the constraints is determined, the expected order that meets the constraints includes the target commodities of the reference number of types, the total quantity of the target commodities in all expected orders that meet the constraints is not greater than the expected sales volume of the target commodities within the shelf life, the total volume of the target commodities in all expected orders that meet the constraints is not greater than the volume of the target shelf of the target storage cargo area, and the total volume of the target commodities at the same storage temperature in all expected orders that meet the constraints is not greater than the volume of the corresponding storage space.
[0008] In a possible implementation of the present application, before allocating target shelf resources of the target storage area for the goods in the expected order that meets the constraint conditions, the method also includes: determining whether the shelves of the target storage area contain reference goods, the reference goods representing the must-have goods on the shelves; when the shelves of the target storage area contain reference goods, the shelves remaining after placing the reference goods are used as target shelves of the target storage area.
[0009] In a possible implementation manner of the present application, the allocating target shelf resources of a target storage area to the goods in the expected order that satisfies the constraint conditions includes: when the reference goods are included in the expected order that satisfies the constraint conditions, obtaining a first standard quantity of the reference goods; allocating target shelf resources of a target storage area to the reference goods included in the expected order that satisfies the constraint conditions, so that the target shelf resources of the target storage area include a second standard quantity of the reference goods, and the sum of the first standard quantity and the second standard quantity is less than the target standard quantity.
[0010] In a possible implementation manner of the present application, before allocating target shelf resources of the target storage area for the goods in the expected order that meets the constraint conditions, the method also includes: determining whether the time for obtaining the expected order that meets the constraint conditions meets the standard time; when the time for obtaining the expected order that meets the constraint conditions meets the standard time, taking the result obtained within the standard time as the expected order that meets the constraint conditions.
[0011] On the one hand, an embodiment of the present application provides a storage resource allocation device, the device comprising: a first acquisition module, used to acquire expected orders based on historical orders, the expected orders comprising one or more, each expected order comprising one or more commodities; a second acquisition module, used to acquire the quantity and commodity parameters of each commodity in each expected order, the commodity parameters comprising the shelf life of the commodity and the volume of the commodity; a determination module, used to determine the expected orders that meet the constraints according to the quantity of each commodity in the target expected order, the commodity parameters and the volume of the target shelf in the target storage area, the expected order that meets the constraints comprising the target commodities of a reference number of species, the total quantity of the target commodity in all expected orders that meet the constraints is not greater than the expected sales volume of the target commodity within the shelf life, and the total volume of the target commodity in all expected orders that meet the constraints is not greater than the volume of the target shelf in the target storage area; a third acquisition module, used to allocate target shelf resources of the target storage area to the commodities in the expected orders that meet the constraints.
[0012] In a possible implementation manner of the present application, the commodity parameters also include a replenishment cycle of the commodity; the determination module is used to determine an expected order that meets the constraint conditions based on the quantity of each commodity in the target expected order, the shelf life of the commodity, the replenishment cycle of the commodity, the volume of the commodity and the volume of the target shelf of the target storage cargo area, wherein the expected order that meets the constraint conditions includes a reference number of target commodities, the sum of the quantities of the target commodities in all expected orders that meet the constraint conditions is not greater than the expected sales volume of the target commodities within the shelf life, the total volume of the target commodities in all expected orders that meet the constraint conditions is not greater than the volume of the target shelf of the target storage cargo area, and the sum of the quantities of the target commodities in all expected orders that meet the constraint conditions is not less than the expected sales volume of the target commodities within the replenishment cycle.
[0013] In a possible implementation manner of the present application, the commodity parameters also include the storage temperature of the commodity, and the target shelf of the target storage cargo area includes multiple storage spaces with different storage temperatures; the determination module is used to determine the expected order that meets the constraints according to the quantity of each commodity in the target expected order, the shelf life of the commodity, the volume of the commodity, the volume of the target shelf of the target storage cargo area and the volume of each storage space, the expected order that meets the constraints includes a reference number of target commodities, the total quantity of the target commodity in all expected orders that meet the constraints is not greater than the expected sales volume of the target commodity within the shelf life, the total volume of the target commodity in all expected orders that meet the constraints is not greater than the volume of the target shelf of the target storage cargo area, and the total volume of the target commodity at the same storage temperature in all expected orders that meet the constraints is not greater than the volume of the corresponding storage space.
[0014] In a possible implementation of the present application, the third acquisition module is also used to determine whether the shelves of the target storage area contain reference commodities, and the reference commodities represent the necessary products on the shelves; when the shelves of the target storage area contain reference commodities, the shelves remaining after placing the reference commodities will be used as the target shelves of the target storage area.
[0015] In a possible implementation manner of the present application, the third acquisition module is also used to obtain a first standard quantity of the reference commodity when the reference commodity is included in the expected order that satisfies the constraint conditions; and allocate target shelf resources of the target storage area to the reference commodity included in the expected order that satisfies the constraint conditions, so that the target shelf resources of the target storage area include a second standard quantity of the reference commodity, and the sum of the first standard quantity and the second standard quantity is less than the target standard quantity.
[0016] In a possible implementation of the present application, the third acquisition module is also used to determine whether the time for obtaining the expected order that meets the constraint conditions meets the standard time; when the time for obtaining the expected order that meets the constraint conditions meets the standard time, the result obtained within the standard time is used as the expected order that meets the constraint conditions.
[0017] On the one hand, an embodiment of the present application provides an electronic device, comprising: a memory and a processor, the memory storing at least one instruction, the at least one instruction being loaded and executed by the processor to implement any of the warehouse resource allocation methods described above.
[0018] On the one hand, an embodiment of the present application provides a computer-readable storage medium, in which at least one instruction is stored, and the instruction is loaded and executed by a processor to implement any of the warehouse resource allocation methods described above.
[0019] On the one hand, an embodiment of the present application provides a computer program (product), which includes: computer program code, when the computer program code is executed by a computer, the computer executes the methods in the above aspects.
[0020] The technical solution provided by the embodiments of the present application may at least include the following beneficial effects:
[0021] By obtaining expected orders and the goods in the expected orders based on historical orders, the target goods containing the reference number of types in the expected orders that meet the constraints are determined according to the quantity of each kind of goods in each expected order, the shelf life of the goods and the volume of the goods. Since the quantity of the target goods in the expected orders is not greater than the expected sales volume of the corresponding target goods within the shelf life, and the total volume of all expected orders that meet the constraints is not greater than the volume of the target shelves in the target storage area, the goods that meet the constraints in the expected orders are placed in a target storage area to achieve unified planning of storage resources and make the allocation of storage resources more reasonable, which can avoid too many pre-stored goods that are not sold in time; or too many pre-stored goods, due to the limited shelf volume of the storage area, the stored goods are squeezed, affecting the sale of goods and increasing storage costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 It is a flow chart of a storage resource allocation method provided in an embodiment of the present application;
[0024] Figure 2 It is a structural schematic diagram of a storage resource allocation device provided in an embodiment of the present application;
[0025] Figure 3 is a block diagram of an electronic device provided in an embodiment of the present application;
[0026] Figure 4 It is a schematic diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0028] With the development of supermarket retail industry, supermarket retail models are becoming more and more diverse, such as the increasingly popular online sales model. However, since the goods sold online are pre-stored on shelves in different offline storage areas according to the types of goods, when the received order contains multiple types of goods that are not in the same storage area, the order will be split and sorted in the storage areas where the goods of the same type are stored.
[0029] For example, when the received orders include daily necessities and sports goods, they will be sorted in the cargo areas storing daily necessities and sports goods respectively, which reduces the sorting efficiency and increases the offline sorting costs. And when there are too many pre-stored goods, the stored goods cannot be sold in time or there are too many pre-stored goods, due to the limited shelf capacity of the storage area, the stored goods are squeezed, affecting the sale of goods, and increasing the offline storage costs at the same time. Therefore, it is urgent to propose a method for allocating storage resources that can reduce sorting costs and storage costs and improve sorting efficiency. In order to avoid the above problems, the embodiments of the present application propose a method for allocating storage resources, which is described in detail in the following embodiments.
[0030] See also Figure 1 , the embodiment of the present application provides a method for allocating storage resources, which can be applied to an electronic device, which can be a terminal or a server. The embodiment of the present application takes a terminal as an example, such as Figure 1 As shown, the method includes:
[0031] In step 101, an expected order is obtained based on historical orders, where the expected order includes one or more orders, and each expected order includes one or more commodities.
[0032] Exemplarily, the method of obtaining expected orders based on historical orders can be to predict the expected orders by counting the historical orders of the target time, or to input the expected time into the machine learning model, and the expected orders within the expected time are given by the machine learning model. The expected time corresponding to the expected order can be determined according to the actual warehousing needs, such as an expected time of one week, one month, etc. The embodiment of the present application does not limit the expected time. The expected order obtained can be one or more. At the same time, the types of goods contained in each expected order can also be one or more. The embodiment of the present application does not limit the number of expected orders and the number of types of goods contained in each expected order.
[0033] In step 102, the quantity and commodity parameters of each commodity in each expected order are obtained, and the commodity parameters include the shelf life and volume of the commodity.
[0034] Exemplarily, after the expected orders are obtained, the quantity of each commodity in each expected order can be obtained by statistical means. At the same time, the commodity parameters of each commodity can also be obtained. The commodity parameters can be obtained by searching the commodity name on the Internet. In the embodiment of the present application, the commodity parameters include the shelf life of the commodity and the volume of the commodity. The quantity of pre-stored commodities is limited by the shelf life of the commodity, so that the stored commodities can be sold within the shelf life of the commodity and the volume of the stored commodities can be guaranteed to meet the volume of the target storage area, thereby avoiding the squeezing of commodities and affecting the sale of commodities, and reducing offline storage costs.
[0035] In step 103, based on the quantity of each commodity in the target expected order, commodity parameters and the volume of the target shelf in the target storage area, the expected order that meets the constraint conditions is determined, the expected order that meets the constraint conditions contains the target commodities of the reference number of types, the total quantity of the target commodity in all expected orders that meet the constraint conditions is not greater than the expected sales volume of the target commodity within the shelf life, and the total volume of the target commodity in all expected orders that meet the constraint conditions is not greater than the volume of the target shelf in the target storage area.
[0036] For example, the total quantity of the target product in all expected orders that meet the constraint conditions is not greater than the expected sales volume of the target product within the shelf life, as shown in the following formula (1):
[0037]
[0038] Where: n is the expected order quantity; sku j is the jth type of product; x i is the i-th expected order; q(x i ,sku j ) is the quantity of the j-th type of goods in the i-th expected order; dj is the shelf life of the jth category of goods; is the expected daily sales volume of the jth category of goods.
[0039] Assume that there are four expected orders within the expected time, namely order x1, order x2, order x3 and order x4, where the items included in order x1 are (A, B, C), the items included in order x2 are (B, C, D), the items included in order x3 are (A, C, D), and the items included in order x4 are (A, B, C). The above formula (1) can be used to obtain the expression of the quantity of the four categories of items A, B, C, and D in the four orders:
[0040] A:q(x1,sku A )+q(x3,sku A )+q(x4,sku A ) (2)
[0041] B:q(x1,sku B )+q(x2,sku B )+q(x4,sku B ) (3)
[0042] C:q(x1,sku C )+q(x2,sku C )+q(x3,sku C )+q(x4,sku C ) (4)
[0043] D:q(x2,sku D )+q(x3,sku D ) (5)
[0044] The target commodity in the corresponding order can be obtained from the above four expressions through the principles of operations research, so that the sum of the quantity of the target commodity in all expected orders that meet the constraints is not greater than the expected sales volume of the target commodity within the shelf life. The reference quantity can be the number of types of all commodities contained in the order or the number of more than half of the types contained in the order. The embodiment of the present application does not limit the reference quantity, as long as the reference quantity is greater than 1. For example, for order x1, if all types of commodities contained in it meet the constraints, all types of commodities in the order are placed in the target storage area, then the storage cost and sorting cost of this order will be reduced, or even there will be no corresponding storage cost and sorting cost, and the sorting efficiency of the corresponding order will also be improved. Therefore, the evaluation criterion based on the principles of operations research can be to maximize the number of commodities that meet the constraints and belong to the same order. For example, for the commodities contained in order x1, when the A-class commodities meet the constraint condition (6), the B-class commodities meet the constraint condition (7). For the C-type products included in order x1, when the sum of the number of C-type products included in orders x1, x2, and x3 and the sum of the number of C-type products included in orders x2, x3, and x4 are all less than The combination containing order x1 is preferred, as shown in formula (8), so that all the products contained in order x1 meet the constraint conditions.
[0045]
[0046]
[0047]
[0048] The expected daily sales of the above products are predicted by the machine learning model, as shown in the following formula:
[0049]
[0050] Where: y sku,t is the expected daily sales volume; is the expected daily sales volume of the machine learning model; t is the expected time, and the unit of the expected time can be days or months, which can be determined by those skilled in the art according to actual use needs. In the embodiment of the present application, days are used as an example for explanation; ε sku,t is the random error of the prediction result of the machine learning model in the next t days, which can follow the normal distribution Expected sales volume in the next t days predicted by the machine learning model The confidence level is p, where z p is the confidence value of the normal distribution.
[0051] The method of determining the expected order that meets the shelf life requirements of the goods and the volume requirements for storing the goods is consistent with the principle of determining the expected order that meets the shelf life requirements of the goods described above, and the embodiments of this application will not be repeated here. The specific constraints are simultaneously satisfied by the following formulas (1) and (9):
[0052]
[0053] Where: n is the expected order quantity; sku j is the jth type of product; x i is the i-th expected order; q(x i ,sku j ) is the quantity of the j-th type of goods in the i-th expected order; d j is the shelf life of the jth category of goods; is the expected daily sales volume of the jth category of goods.
[0054]
[0055] Where: n is the expected order quantity; I is the number of product types; sku j is the jth type of product; x i is the i-th expected order; q(x i ,sku j ) is the quantity of the j-th type of goods in the i-th expected order; v j is the volume of the jth type of merchandise; V is the volume of the target shelf in the target storage area.
[0056] By obtaining expected orders that satisfy the above constraints at the same time, the goods in the corresponding expected orders are placed on the target shelves in the target storage area, ensuring that the quantity of pre-stored goods meets the shelf life requirements while meeting the volume requirements of the target shelves in the target storage area, and there will be no squeezing of goods in the target storage area.
[0057] In step 104, target shelf resources in the target storage area are allocated to the commodities in the expected order that meet the constraint conditions.
[0058] For example, when the above analysis shows that order x1 contains all kinds of goods that meet the constraint conditions, the target shelf resources of the target storage area can be allocated to the goods in order x1. If the above analysis shows that only category A and category B goods in order x1 meet the constraint conditions, the target shelf resources of the target storage area can be allocated to category A and category B goods in order x1, or the target shelf resources of the target storage area can be allocated to all kinds of goods in order x1. Through analysis, it can be seen that whether all kinds of goods in the order or some kinds of goods are placed on the target shelves in the same target storage area, the storage cost and sorting cost can be reduced accordingly, and the sorting efficiency can be improved.
[0059] The method for allocating storage resources provided in the embodiment of the present application obtains expected orders and the goods in the expected orders based on historical orders, and determines the target goods containing the reference variety quantity in the expected orders that meet the constraints according to the quantity of each kind of goods in each expected order, the shelf life of the goods and the volume of the goods. Since the quantity of the target goods in the expected order is not greater than the expected sales volume of the corresponding target goods within the shelf life, and the total volume of all expected orders that meet the constraints is not greater than the volume of the target shelves in the target storage area, the goods that meet the constraints in the obtained expected orders are placed in a target storage area, thereby realizing unified planning of storage resources and making the allocation results of storage resources more reasonable, which can avoid the increase in storage costs caused by too many pre-stored goods that are not sold in time; or too many pre-stored goods, due to the limited shelf volume of the storage area, the stored goods are squeezed, which affects the sale of goods.
[0060] In a possible implementation of the present application, the commodity parameter also includes a replenishment cycle of the commodity;
[0061] In step 103, it includes: determining the expected order that meets the constraint conditions according to the quantity of each commodity in the target expected order, the shelf life of the commodity and the replenishment cycle of the commodity, the expected order that meets the constraint conditions contains the target commodity of the reference quantity, the total quantity of the target commodity in all the expected orders that meet the constraint conditions is not greater than the expected sales volume of the target commodity within the shelf life, and the total quantity of the target commodity in all the expected orders that meet the constraint conditions is not less than the expected sales volume of the target commodity within the replenishment cycle.
[0062] For example, the method of specifically determining the expected orders that meet the product shelf life requirements and the product replenishment cycle requirements is consistent with the principle of determining the expected orders that meet the product shelf life requirements described above, and the embodiments of this application are not repeated here. The specific constraints are simultaneously satisfied by the following formulas (1) and (10):
[0063]
[0064] Where: n is the expected order quantity; sku j is the jth type of product; x i is the i-th expected order; q(x i ,sku j ) is the quantity of the j-th type of goods in the i-th expected order; d j is the shelf life of the jth category of goods; is the expected daily sales volume of the jth category of goods.
[0065]
[0066] Where: n is the expected order quantity; sku j is the jth type of product; x i is the i-th expected order; q(x i ,sku j ) is the quantity of the j-th type of goods in the i-th expected order; t j is the replenishment cycle of the jth type of goods; is the expected daily sales volume of the jth category of goods.
[0067] By obtaining expected orders that meet the above constraints at the same time, the goods in the corresponding expected orders are placed on the target shelves in the target storage area, ensuring that the quantity of pre-stored goods meets the shelf life requirements and there will be no out-of-stock situation.
[0068] In a possible implementation of the present application, the commodity parameter also includes the storage temperature of the commodity, and the target shelf of the target storage area includes a plurality of storage spaces with different storage temperatures;
[0069] In step 103, it includes: determining the expected order that meets the constraints according to the quantity of each commodity in the target expected order, the shelf life of the commodity, the volume of the commodity and the capacity of each storage space, the expected order that meets the constraints contains the target commodities of the reference number of types, the total quantity of the target commodities in all expected orders that meet the constraints is not greater than the expected sales volume of the target commodities within the shelf life, and the total volume of the target commodities at the same storage temperature in all expected orders that meet the constraints is not greater than the volume of the corresponding storage space.
[0070] For example, the method of specifically determining the expected order that meets the shelf life requirements of the goods and the volume requirements for storing the goods is consistent with the principle of determining the expected order that meets the shelf life requirements of the goods, and the embodiments of the present application are not repeated here. The specific constraint conditions are simultaneously satisfied by the following formulas (1) and (11):
[0071]
[0072] Where: n is the expected order quantity; sku j is the jth type of product; x i is the i-th expected order; q(x i ,sku j ) is the quantity of the j-th type of goods in the i-th expected order; d j is the shelf life of the jth category of goods; is the expected daily sales volume of the jth category of goods.
[0073]
[0074] Where: n is the expected order quantity; I is the number of product types; skuj is the jth type of product; x i is the i-th expected order; q(x i ,sku j ) is the quantity of the j-th type of goods in the i-th expected order; v j V is the volume of the jth type of goods; k is the volume of the kth storage space of the target shelf in the target storage area.
[0075] By obtaining expected orders that satisfy the above constraints at the same time, the goods in the corresponding expected orders are placed on the target shelves in the target storage area, ensuring that the quantity of pre-stored goods meets the shelf life requirements while meeting the volume requirements of the storage space at different storage temperatures of the target shelves in the target storage area, so that the stored goods can be stored in the storage space with the corresponding storage temperature requirements, thereby ensuring the quality of the stored goods.
[0076] In a possible implementation of the present application, before step 104, the method further includes: determining whether the shelf of the target storage area contains a reference commodity, the reference commodity represents a must-have item on the shelf. When the shelf of the target storage area contains the reference commodity, the remaining shelf after placing the reference commodity is used as the target shelf of the target storage area.
[0077] For example, for the target storage area, some necessary items can be placed on the shelves of the target storage area in advance. The necessary items can be daily necessities such as mineral water, or for heavier goods, for the convenience of storage and transportation, the heavier goods will be placed on the shelves of the storage area that is easy to carry. Therefore, if the necessary items have been placed on the shelves of the target storage area, the remaining shelves after placing the reference goods will be used as the target shelves of the target storage area.
[0078] In a possible implementation of the present application, step 104 includes: when the expected order that meets the constraint condition includes the reference commodity, obtaining the first standard quantity of the reference commodity. Allocating the target shelf resources of the target storage area to the reference commodity included in the expected order that meets the constraint condition, so that the target shelf resources of the target storage area include the reference commodity of the second standard quantity, and the sum of the first standard quantity and the second standard quantity is less than the target standard quantity.
[0079] Exemplarily, a reference commodity has been placed on the shelf of the target storage area. When the expected order that meets the constraint condition contains the same reference commodity, the first standard quantity of the reference commodity placed on the shelf of the target storage area is obtained. By limiting the target standard quantity, the target shelf resources of the target storage area contain a second standard quantity of reference commodities, so that the sum of the first standard quantity and the second standard quantity is less than the target standard quantity. The target standard quantity can be any value within the expected sales volume of the corresponding reference commodity within the shelf life. Those skilled in the art can determine the quantity of the reference commodity in the target storage area according to the actual usage scenario.
[0080] In a possible implementation of the present application, before step 104, the method further includes: determining whether the time for obtaining the expected order satisfying the constraint condition meets the standard time. When the time for obtaining the expected order satisfying the constraint condition meets the standard time, the result obtained within the standard time is used as the expected order satisfying the constraint condition.
[0081] Exemplarily, in the above process of determining the expected orders that meet the constraints, as the constraints increase, the number of expected orders increases, and the types of goods included in the expected orders increase, the time to determine the expected orders that meet the constraints will increase. In order to meet the actual use requirements, the expected orders that meet the constraints are obtained as soon as possible, and the storage resources are allocated to the goods in the expected orders that meet the constraints in time, a heuristic algorithm can be used to obtain the optimization result as the expected order that meets the constraints within an acceptable standard time, and the goods included in the expected order are stored on the target shelves of the target storage area. Goods are stored on the target shelves of the target storage area in time, the utilization rate of the target shelves of the target storage area and the turnover rate of goods are improved, so that the storage space of the target storage area is fully utilized.
[0082] Based on the same concept, the present application embodiment provides a storage resource allocation device, see Figure 2 , the device comprises:
[0083] A first acquisition module 201 is used to acquire an expected order based on historical orders, where the expected order includes one or more orders, and each expected order includes one or more commodities;
[0084] The second acquisition module 202 is used to acquire the quantity and commodity parameters of each commodity in each expected order, where the commodity parameters include the shelf life and volume of the commodity;
[0085] The determination module 203 is used to determine the expected order that meets the constraint conditions according to the quantity of each commodity in the target expected order, the commodity parameters and the volume of the target shelf in the target storage area, wherein the expected order that meets the constraint conditions contains the target commodity of the reference type, the sum of the quantity of the target commodity in all the expected orders that meet the constraint conditions is not greater than the expected sales volume of the target commodity within the shelf life, and the total volume of the target commodity in all the expected orders that meet the constraint conditions is not greater than the volume of the target shelf in the target storage area;
[0086] The third acquisition module 204 is used to allocate target shelf resources in the target storage area for the commodities in the expected order that meet the constraint conditions.
[0087] The storage resource allocation device provided in the embodiment of the present application obtains expected orders and goods in the expected orders based on historical orders, and determines the target goods containing the reference variety quantity in the expected orders that meet the constraints according to the quantity of each kind of goods in each expected order, the shelf life of the goods and the volume of the goods. Since the quantity of the target goods in the expected order is not greater than the expected sales volume of the corresponding target goods within the shelf life, and the total volume of all expected orders that meet the constraints is not greater than the volume of the target shelves in the target storage cargo area, the goods that meet the constraints in the obtained expected orders are placed in a target storage cargo area, thereby realizing unified planning of storage resources and making the allocation results of storage resources more reasonable, which can avoid the increase in storage costs due to too many pre-stored goods that are not sold in time; or too many pre-stored goods, due to the limited shelf volume of the storage cargo area, the stored goods are squeezed, affecting the sale of goods.
[0088] In a possible implementation of the present application, the commodity parameters also include the replenishment cycle of the commodity;
[0089] The determination module 203 is used to determine the expected order that meets the constraint conditions according to the quantity of each commodity in the target expected order, the shelf life of the commodity, the replenishment cycle of the commodity, the volume of the commodity and the volume of the target shelf in the target storage cargo area, wherein the expected order that meets the constraint conditions contains the target commodity of the reference number of types, the total quantity of the target commodity in all the expected orders that meet the constraint conditions is not greater than the expected sales volume of the target commodity within the shelf life, the total volume of the target commodity in all the expected orders that meet the constraint conditions is not greater than the volume of the target shelf in the target storage cargo area, and the total quantity of the target commodity in all the expected orders that meet the constraint conditions is not less than the expected sales volume of the target commodity within the replenishment cycle.
[0090] In a possible implementation of the present application, the commodity parameters also include the storage temperature of the commodity, and the target shelf of the target storage area includes a plurality of storage spaces with different storage temperatures;
[0091] Determination module 203 is used to determine the expected order that meets the constraints based on the quantity of each commodity in the target expected order, the shelf life of the commodity, the volume of the commodity, the volume of the target shelf in the target storage area and the volume of each storage space. The expected order that meets the constraints contains the target commodities of the reference number of types, the total quantity of the target commodity in all expected orders that meet the constraints is not greater than the expected sales volume of the target commodity within the shelf life, the total volume of the target commodity in all expected orders that meet the constraints is not greater than the volume of the target shelf in the target storage area, and the total volume of the target commodity at the same storage temperature in all expected orders that meet the constraints is not greater than the volume of the corresponding storage space.
[0092] In a possible implementation of the present application, the third acquisition module 204 is also used to determine whether the shelves of the target storage area contain reference commodities, and the reference commodities represent the necessary products on the shelves; when the shelves of the target storage area contain reference commodities, the shelves remaining after placing the reference commodities are used as the target shelves of the target storage area.
[0093] In a possible implementation of the present application, the third acquisition module 204 is also used to obtain a first standard quantity of the reference commodity when the expected order that satisfies the constraint condition includes the reference commodity; and allocate target shelf resources of the target storage area to the reference commodity included in the expected order that satisfies the constraint condition, so that the target shelf resources of the target storage area include a second standard quantity of the reference commodity, and the sum of the first standard quantity and the second standard quantity is less than the target standard quantity.
[0094] In a possible implementation of the present application, the third acquisition module 204 is also used to determine whether the time for obtaining the expected order that meets the constraint conditions meets the standard time; when the time for obtaining the expected order that meets the constraint conditions meets the standard time, the result obtained within the standard time is used as the expected order that meets the constraint conditions.
[0095] It should be noted that the device provided in the above embodiment only uses the division of the above functional modules as an example to implement its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0096] The present application also provides an electronic device, which may be a server. Figure 3As shown, the device includes: a memory 302 and a processor 301. The memory 302 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 301 to implement the storage resource allocation method described in the above embodiment. The processor 301 and the memory 302 are connected via a communication bus 303.
[0097] It should be understood that the above processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.
[0098] Further, in an optional embodiment, the memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. The memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.
[0099] The memory may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM) and direct memory bus random access memory (DR RAM).
[0100] See also Figure 4 , which shows a schematic diagram of the structure of a terminal 500 provided in an embodiment of the present application. The terminal 500 may be a portable mobile terminal, such as a smart phone, a tablet computer, a laptop computer or a desktop computer. The terminal 500 may also be called a user equipment, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0101] Typically, the terminal 500 includes a processor 501 and a memory 502 .
[0102] The processor 501 may include one or more processing cores, such as a 4-core processor, a 5-core processor, etc. The processor 501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 501 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0103] The memory 502 may include one or more computer-readable storage media, which may be non-transitory. The memory 502 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 502 is used to store at least one instruction, which is used to be executed by the processor 501 to implement the method for allocating storage resources provided in the method embodiment of the present application.
[0104] In some embodiments, the terminal 500 may further optionally include: a peripheral device interface 503 and at least one peripheral device. The processor 501, the memory 502 and the peripheral device interface 503 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 503 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 504, a touch display screen 505, a camera 506, an audio circuit 507, a positioning component 508 and a power supply 509.
[0105] The peripheral device interface 503 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 501 and the memory 502. In some embodiments, the processor 501, the memory 502, and the peripheral device interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral device interface 503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0106] The radio frequency circuit 504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 504 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 504 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 504 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 504 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0107] The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to collect touch signals on the surface or above the surface of the display screen 505. The touch signal can be input to the processor 501 as a control signal for processing. At this time, the display screen 505 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 505 can be one, and the front panel of the terminal 500 is set; in other embodiments, the display screen 505 can be at least two, which are respectively set on different surfaces of the terminal 500 or are folded; in some other embodiments, the display screen 505 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal 500. Even, the display screen 505 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 505 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).
[0108] The camera assembly 506 is used to capture images or videos. Optionally, the camera assembly 506 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 506 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0109] The audio circuit 507 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 501 for processing, or input them into the radio frequency circuit 504 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 500. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 501 or the radio frequency circuit 504 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 507 may also include a headphone jack.
[0110] The positioning component 508 is used to locate the current geographical location of the terminal 500 to implement navigation or LBS (Location Based Service). The positioning component 508 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, Russia's Grenas system or the European Union's Galileo system.
[0111] The power supply 509 is used to power various components in the terminal 500. The power supply 509 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 509 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0112] In some embodiments, the terminal 500 further includes one or more sensors 510 , including but not limited to: an acceleration sensor 511 , a gyroscope sensor 512 , a pressure sensor 513 , a fingerprint sensor 514 , an optical sensor 515 , and a proximity sensor 516 .
[0113] The acceleration sensor 510 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 500. For example, the acceleration sensor 511 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 501 can control the touch display screen 505 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 511. The acceleration sensor 511 can also be used for collecting game or user motion data.
[0114] The gyro sensor 512 can detect the body direction and rotation angle of the terminal 500, and the gyro sensor 512 can cooperate with the acceleration sensor 511 to collect the user's 3D actions on the terminal 500. The processor 501 can implement the following functions based on the data collected by the gyro sensor 512: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0115] The pressure sensor 513 can be set on the side frame of the terminal 500 and / or the lower layer of the touch display screen 505. When the pressure sensor 513 is set on the side frame of the terminal 500, it can detect the user's holding signal of the terminal 500, and the processor 501 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 513. When the pressure sensor 513 is set on the lower layer of the touch display screen 505, the processor 501 controls the operability controls on the UI interface according to the user's pressure operation on the touch display screen 505. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0116] The fingerprint sensor 514 is used to collect the user's fingerprint, and the processor 501 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations, which include unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 514 can be set on the front, back, or side of the terminal 500. When a physical button or a manufacturer logo is set on the terminal 500, the fingerprint sensor 514 can be integrated with the physical button or the manufacturer logo.
[0117] The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 can control the display brightness of the touch display screen 505 according to the ambient light intensity collected by the optical sensor 515. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 505 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 505 is reduced. In another embodiment, the processor 501 can also dynamically adjust the shooting parameters of the camera assembly 506 according to the ambient light intensity collected by the optical sensor 515.
[0118] The proximity sensor 516, also called a distance sensor, is usually arranged on the front panel of the terminal 500. The proximity sensor 516 is used to collect the distance between the user and the front of the terminal 500. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front of the terminal 500 is gradually decreasing, the processor 501 controls the touch display screen 505 to switch from the screen-on state to the screen-off state; when the proximity sensor 516 detects that the distance between the user and the front of the terminal 500 is gradually increasing, the processor 501 controls the touch display screen 505 to switch from the screen-off state to the screen-on state.
[0119] Those skilled in the art will understand that Figure 4 The structure shown in the figure does not constitute a limitation on the terminal 500, and the terminal 500 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0120] The present application provides a computer program. When the computer program is executed by a computer, a processor or a computer can be enabled to execute the corresponding steps and / or processes in the above method embodiments.
[0121] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk), etc.
[0122] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0123] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0124] The above description is only an embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for allocating storage resources, characterized in that: The method comprises: Acquire expected orders based on historical orders, where the expected orders include one or more orders, and each expected order includes one or more commodities; Obtain the quantity and commodity parameters of each commodity in each expected order, wherein the commodity parameters include the shelf life of the commodity, the volume of the commodity, the replenishment cycle of the commodity, and the storage temperature of the commodity. The target shelf in the target storage area includes multiple storage spaces with different storage temperatures. According to the quantity of each commodity in the target expected order, commodity parameters, the volume of the target shelf of the target storage area and the volume of each storage space, determine the expected order that meets the constraint conditions, wherein the expected order that meets the constraint conditions contains the target commodity of the reference type, the sum of the quantity of the target commodity in all the expected orders that meet the constraint conditions is not greater than the expected sales volume of the target commodity within the shelf life, the total volume of the target commodity in all the expected orders that meet the constraint conditions is not greater than the volume of the target shelf of the target storage area, the sum of the quantity of the target commodity in all the expected orders that meet the constraint conditions is not less than the expected sales volume of the target commodity within the replenishment cycle, and the total volume of the target commodity at the same storage temperature in all the expected orders that meet the constraint conditions is not greater than the volume of the corresponding storage space; Allocating target shelf resources in a target storage area for the commodities in the expected order that meet the constraint conditions; The sum of the quantities of the target product in all expected orders that meet the constraints is not greater than the expected sales volume of the target product within the shelf life, calculated using the following formula: Among them, n is the expected order quantity, sku j is the jth type of product, x i is the i-th expected order, q(x i ,sku j ) is the quantity of the j-th type of goods in the i-th expected order, d j is the shelf life of the jth type of product, is the expected daily sales volume of the jth category of goods; The total volume of the target commodity in all expected orders that meet the constraint conditions is not greater than the volume of the target shelf in the target storage area, calculated by the following formula: Among them, n is the expected order quantity, I is the number of product types, sku j is the jth type of product, x i is the i-th expected order, q(x i ,sku j ) is the quantity of the j-th type of goods in the i-th expected order, V j is the volume of the jth type of goods, V is the volume of the target shelf in the target storage area; The sum of the quantities of the target product in all expected orders that meet the constraints is not less than the expected sales volume of the target product within the replenishment cycle, calculated using the following formula: Among them, n is the expected order quantity, sku j is the jth type of product, x i is the i-th expected order, q(x i ,sku j ) is the quantity of the j-th type of goods in the i-th expected order, t j is the replenishment cycle of the jth type of product, is the expected daily sales volume of the jth category of goods; The expected daily sales of the above products are predicted by the machine learning model, as shown in the following formula: in, is the expected daily sales volume, is the expected daily sales volume of the machine learning model; t is the expected time, which can be expressed in days or months. is the random error of the prediction result of the machine learning model in the next t days, which can follow the normal distribution ; Expected sales volume in the next t days predicted by the machine learning model The confidence level is p, where z p is the confidence value of the normal distribution; In the above process of determining the expected order that meets the constraints, a heuristic algorithm is used to obtain the optimization result within an acceptable standard time as the expected order that meets the constraints, and the goods included in the expected order are stored on the target shelves in the target storage area.
2. The method according to claim 1, characterized in that Before allocating target shelf resources in a target storage area for the commodities in the expected order satisfying the constraint conditions, the method further comprises: Determine whether a shelf in a target storage area contains a reference commodity, wherein the reference commodity represents a must-have item on the shelf; When the reference commodity is included on the shelf of the target storage area, the remaining shelf after the reference commodity is placed is used as the target shelf of the target storage area.
3. The method according to claim 2, characterized in that The allocating target shelf resources in the target storage area for the commodities in the expected order satisfying the constraint conditions comprises: When the expected order that meets the target condition contains the reference commodity, obtaining a first standard quantity of the reference commodity; Allocate target shelf resources of a target storage area to the reference commodity included in the expected order that meets the constraint conditions, so that the target shelf resources of the target storage area contain a second standard quantity of the reference commodity, and the sum of the first standard quantity and the second standard quantity is less than the target standard quantity.
4. The method according to any one of claims 1 to 3, characterized in that Before allocating target shelf resources in a target storage area for the commodities in the expected order satisfying the constraint conditions, the method further comprises: Determine whether the time for obtaining the expected order satisfying the constraint condition meets the standard time; When the time for obtaining the expected order satisfying the constraint conditions meets the standard time, the result obtained within the standard time is used as the expected order satisfying the constraint conditions.
5. A storage resource allocation device, characterized in that: The device comprises: A first acquisition module is used to acquire expected orders based on historical orders, wherein the expected orders include one or more orders, and each expected order includes one or more commodities; The second acquisition module is used to obtain the quantity and commodity parameters of each commodity in each expected order, wherein the commodity parameters include the shelf life of the commodity, the volume of the commodity, the replenishment cycle of the commodity and the storage temperature of the commodity. The target shelf of the target storage area includes a plurality of storage spaces with different storage temperatures. A determination module, for determining an expected order that meets the constraint conditions according to the quantity of each commodity in the target expected order, commodity parameters, the volume of the target shelf of the target storage area and the volume of each storage space, wherein the expected order that meets the constraint conditions contains target commodities of a reference number of species, the sum of the quantities of the target commodities in all expected orders that meet the constraint conditions is not greater than the expected sales volume of the target commodities within the shelf life, the total volume of the target commodities in all expected orders that meet the constraint conditions is not greater than the volume of the target shelf of the target storage area, the sum of the quantities of the target commodities in all expected orders that meet the constraint conditions is not less than the expected sales volume of the target commodities within the replenishment cycle, and the total volume of the target commodities at the same storage temperature in all expected orders that meet the constraint conditions is not greater than the volume of the corresponding storage space; A third acquisition module is used to allocate target shelf resources in a target storage area for the commodities in the expected order that meets the constraint conditions; The sum of the quantities of the target product in all expected orders that meet the constraints is not greater than the expected sales volume of the target product within the shelf life, calculated using the following formula: Among them, n is the expected order quantity, sku j is the jth type of product, x i is the i-th expected order, q(x i ,sku j ) is the quantity of the j-th type of goods in the i-th expected order, d j is the shelf life of the jth type of product, is the expected daily sales volume of the jth category of goods; The total volume of the target commodity in all expected orders that meet the constraint conditions is not greater than the volume of the target shelf in the target storage area, calculated by the following formula: Among them, n is the expected order quantity, I is the number of product types, sku j is the jth type of product, x i is the i-th expected order, q(x i ,sku j ) is the quantity of the j-th type of goods in the i-th expected order, V j is the volume of the jth type of goods, V is the volume of the target shelf in the target storage area; The sum of the quantities of the target product in all expected orders that meet the constraints is not less than the expected sales volume of the target product within the replenishment cycle, calculated using the following formula: Among them, n is the expected order quantity, sku j is the jth type of product, x i is the i-th expected order, q(x i ,sku j ) is the quantity of the j-th type of goods in the i-th expected order, t j is the replenishment cycle of the jth type of product, is the expected daily sales volume of the jth category of goods; The expected daily sales of the above products are predicted by the machine learning model, as shown in the following formula: in, is the expected daily sales volume, is the expected daily sales volume of the machine learning model; t is the expected time, which can be expressed in days or months. is the random error of the prediction result of the machine learning model in the next t days, which can follow the normal distribution ; Expected sales volume in the next t days predicted by the machine learning model The confidence level is p, where z p is the confidence value of the normal distribution; In the above process of determining the expected order that meets the constraints, a heuristic algorithm is used to obtain the optimization result within an acceptable standard time as the expected order that meets the constraints, and the goods included in the expected order are stored on the target shelves in the target storage area.
6. An electronic device, characterized in that: include: The device comprises: A memory and a processor, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the storage resource allocation method described in any one of claims 1-4.
7. A storage medium, characterized in that: include: The storage medium stores at least one instruction, which is loaded and executed by the processor to implement the storage resource allocation method described in any one of claims 1-4.
Citation Information
Patent Citations
Commodity storage allocation method and device and storage medium
CN107563702A
