Replenishment Quantity Determination Method and Device

By dynamically adjusting the replenishment volume and determining the replenishment volume based on the entire container volume and inventory consumption, the problem of excessive fixed replenishment volume in the existing technology is solved, and the flexibility and accuracy of inventory management are improved.

CN112347417BActive Publication Date: 2025-05-27BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201911274378.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-12
Publication Date
2025-05-27
Estimated Expiration
2039-12-12

AI Technical Summary

Technical Problem

In the prior art, the replenishment volume is too fixed, which can easily lead to improper inventory management and affect normal shipment and sales.

Method used

The initial replenishment volume is determined by responding that the current inventory of the target item is less than the inventory amount threshold, and the replenishment volume after the initial replenishment volume is compared with the inventory consumption of the first day based on the entire box volume to determine the final replenishment volume.

Benefits of technology

It realizes dynamic adjustment of replenishment volume based on inventory consumption, avoids the problem of excessive or too little inventory, and improves the flexibility and accuracy of inventory management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112347417B_ABST
    Figure CN112347417B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to the field of warehousing technology. Embodiments of the present disclosure disclose a method and device for determining the replenishment quantity. A specific implementation of the method includes: in response to determining that the current inventory quantity of a target item is less than the inventory quantity threshold, determining the initial replenishment quantity of the target item; obtaining the full-case quantity of the target item, where the full-case quantity is used to indicate the number of pieces of the target item in a full case; based on the full-case quantity, comparing the replenishment quantity obtained after making up a full case of the initial replenishment quantity with the inventory consumption quantity on the first day; and based on the comparison result, determining and outputting the replenishment quantity of the target item. The solution provided by the embodiments of the present disclosure can accurately determine the replenishment quantity of the target item based on the comparison result between the replenishment quantity after making up a full case and the inventory consumption quantity on the first day.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technologies, specifically to the field of Internet technologies, and particularly to a method and apparatus for determining replenishment quantity. Background Art

[0002] To store goods, merchants generally store goods in warehouses. To ensure normal shipping and sales, replenishment is required after a certain amount of inventory in the warehouse is consumed to fill the inventory in a timely manner.

[0003] In the prior art, the replenishment quantity for each replenishment is generally set. In such a replenishment method, the replenishment quantity is very fixed, and various problems are likely to occur in practical applications. Summary of the Invention

[0004] Embodiments of the present disclosure provide a method and apparatus for determining replenishment quantity.

[0005] In a first aspect, embodiments of the present disclosure provide a method for determining replenishment quantity, including: in response to determining that the current inventory quantity of a target item is less than an inventory quantity threshold, determining an initial replenishment quantity of the target item; obtaining the quantity per full box of the target item, where the quantity per full box is used to indicate the number of pieces of the target item in a full box; based on the quantity per full box, comparing the replenishment quantity obtained after making up full boxes of the initial replenishment quantity with the inventory consumption quantity on the first day; and based on the comparison result, determining and outputting the replenishment quantity of the target item.

[0006] In some embodiments, the determining and outputting the replenishment quantity of the target item based on the comparison result includes: if the obtained replenishment quantity is less than or equal to the inventory consumption quantity on the first day, determining the obtained replenishment quantity as the replenishment quantity of the target item and outputting the obtained replenishment quantity.

[0007] In some embodiments, the determining and outputting the replenishment quantity of the target item based on the comparison result includes: if the obtained replenishment quantity is greater than the inventory consumption quantity on the first day, based on the quantity per full box, comparing the replenishment quantity of full boxes in the initial replenishment quantity with the inventory consumption quantity on the second day, where the first day is greater than the second day; if the replenishment quantity of full boxes in the initial replenishment quantity is greater than or equal to the inventory consumption quantity on the second day, determining the replenishment quantity of full boxes in the initial replenishment quantity as the replenishment quantity of the target item and outputting the replenishment quantity of full boxes in the initial replenishment quantity.

[0008] In some embodiments, after comparing the replenishment quantity of full cases in the initial replenishment quantity with the inventory consumption quantity on the second day based on the full case quantity, the method further includes: if the replenishment quantity of full cases in the initial replenishment quantity is less than the inventory consumption quantity on the second day, determining the initial replenishment quantity as the replenishment quantity of the target item and outputting the initial replenishment quantity.

[0009] In some embodiments, before comparing the replenishment quantity obtained after making up a full case of the initial replenishment quantity with the inventory consumption quantity on the first day based on the full case quantity, the method further includes: judging whether the initial replenishment quantity is greater than one case based on the full case quantity; and comparing the replenishment quantity obtained after making up a full case of the initial replenishment quantity with the inventory consumption quantity on the first day based on the full case quantity, including: if the initial replenishment quantity is greater than one case, comparing the replenishment quantity obtained after making up a full case of the initial replenishment quantity with the inventory consumption quantity on the first day based on the full case quantity.

[0010] In some embodiments, comparing the replenishment quantity obtained after making up a full case of the initial replenishment quantity with the inventory consumption quantity on the first day based on the full case quantity includes: if the initial replenishment quantity is not greater than one case, comparing the full case quantity with the inventory consumption quantity on the first day; and determining and outputting the replenishment quantity of the target item based on the comparison result, including: if the full case quantity is less than or equal to the inventory consumption quantity on the first day, determining the full case quantity as the replenishment quantity of the target item and outputting it; if the full case quantity is greater than the inventory consumption quantity on the first day, determining the initial replenishment quantity as the replenishment quantity of the target item and outputting it.

[0011] In some embodiments, determining the initial replenishment quantity of the target item includes: obtaining the target inventory quantity of the target item; and determining the difference between the target inventory quantity and the current inventory quantity as the initial replenishment quantity of the target item.

[0012] In some embodiments, the inventory consumption quantity on the first day is the sum of the target inventory quantity and the inventory consumption quantity in the first specified number of days, where the target inventory quantity is greater than the inventory quantity threshold; the inventory consumption quantity on the second day is the difference between the target inventory quantity and the inventory consumption quantity in the second specified number of days.

[0013] In some embodiments, the inventory quantity threshold is determined through the following steps: determining the product of the delivery days of the target item and the daily average value of the inventory consumption quantity in the target future time period as the first product; determining the product of the normal distribution value corresponding to the probability of continuous supply of the target item and the standard deviation of the historical inventory consumption quantity of the target item as the second product; and taking the sum of the first product and the second product as the inventory quantity threshold.

[0014] In some embodiments, the inventory consumption amount for the target future time period is determined through the following steps: performing regression on the inventory consumption amounts for the first historical time period, the second historical time period, and the third historical time period to determine the regression coefficients corresponding to the first historical time period, the second historical time period, and the third historical time period respectively, where the number of days included in the third historical time period is greater than the number of days included in the second historical time period, and the number of days included in the second historical time period is greater than the number of days included in the first historical time period; generating a regression equation for the inventory consumption amount for the first future time period, the regression equation including the regression coefficients corresponding to the first historical time period, the second historical time period, and the third historical time period respectively, where the number of days included in the first future time period is the same as the number of days included in the first historical time period; obtaining the inventory consumption amount for the first historical time period corresponding to the target future time period, the inventory consumption amount for the second historical time period corresponding to the target future time period, and the inventory consumption amount for the third historical time period corresponding to the target future time period, and determining the inventory consumption amount for the target future time period based on the regression equation and each of the obtained inventory consumption amounts.

[0015] In a second aspect, an embodiment of the present disclosure provides a replenishment quantity determination device, including: a determination unit configured to determine an initial replenishment quantity of the target item in response to determining that the current inventory quantity of the target item is less than the inventory quantity threshold; an acquisition unit configured to acquire the full case quantity of the target item, where the full case quantity is used to indicate the number of pieces of the target item in a full case; a comparison unit configured to compare, based on the full case quantity, the replenishment quantity obtained after making up a full case from the initial replenishment quantity with the inventory consumption amount for the first number of days; and an output determination unit configured to determine and output the replenishment quantity of the target item based on the comparison result.

[0016] In some embodiments, the output determination unit is further configured to perform, in the following manner, determining and outputting the replenishment quantity of the target item based on the comparison result: if the obtained replenishment quantity is less than or equal to the inventory consumption amount for the first number of days, determining the obtained replenishment quantity as the replenishment quantity of the target item and outputting the obtained replenishment quantity.

[0017] In some embodiments, the output determination unit is further configured to determine and output the replenishment quantity of the target item based on the comparison result in the following manner: If the obtained replenishment quantity is greater than the inventory consumption quantity of the first number of days, based on the full case quantity, compare the replenishment quantity of full cases in the initial replenishment quantity with the inventory consumption quantity of the second number of days, where the first number of days is greater than the second number of days; If the replenishment quantity of full cases in the initial replenishment quantity is greater than or equal to the inventory consumption quantity of the second number of days, determine the replenishment quantity of full cases in the initial replenishment quantity as the replenishment quantity of the target item and output the replenishment quantity of full cases in the initial replenishment quantity.

[0018] In some embodiments, the apparatus further includes: a first output unit configured to, after comparing the replenishment quantity of full cases in the initial replenishment quantity with the inventory consumption quantity of the second number of days based on the full case quantity, if the replenishment quantity of full cases in the initial replenishment quantity is less than the inventory consumption quantity of the second number of days, determine the initial replenishment quantity as the replenishment quantity of the target item and output the initial replenishment quantity.

[0019] In some embodiments, the apparatus further includes: a judgment unit configured to, before comparing the replenishment quantity obtained after making up full cases in the initial replenishment quantity with the inventory consumption quantity of the first number of days based on the full case quantity, judge whether the initial replenishment quantity is greater than one case based on the full case quantity; and the comparison unit is further configured to compare the replenishment quantity obtained after making up full cases in the initial replenishment quantity with the inventory consumption quantity of the first number of days based on the full case quantity in the following manner: If the initial replenishment quantity is greater than one case, compare the replenishment quantity obtained after making up full cases in the initial replenishment quantity with the inventory consumption quantity of the first number of days based on the full case quantity.

[0020] In some embodiments, the comparison unit is further configured to compare the replenishment quantity obtained after making up full cases in the initial replenishment quantity with the inventory consumption quantity of the first number of days based on the full case quantity in the following manner: If the initial replenishment quantity is not greater than one case, compare the full case quantity with the inventory consumption quantity of the first number of days; the output determination unit is further configured to determine and output the replenishment quantity of the target item based on the comparison result in the following manner: If the full case quantity is less than or equal to the inventory consumption quantity of the first number of days, determine the full case quantity as the replenishment quantity of the target item and output it; If the full case quantity is greater than the inventory consumption quantity of the first number of days, determine the initial replenishment quantity as the replenishment quantity of the target item and output it.

[0021] In some embodiments, the determining unit is further configured to determine an initial replenishment quantity of the target item: obtain a target inventory quantity of the target item; and determine a difference between the target inventory quantity and the current inventory quantity as the initial replenishment quantity of the target item.

[0022] In some embodiments, the inventory consumption quantity for the first number of days is the sum of the target inventory quantity and the inventory consumption quantity for the first specified number of days, where the target inventory quantity is greater than the inventory quantity threshold; the inventory consumption quantity for the second number of days is the difference between the target inventory quantity and the inventory consumption quantity for the second specified number of days.

[0023] In some embodiments, the inventory quantity threshold is determined by the following steps: determining a first product as the product of the delivery days of the target item and the daily average value of the inventory consumption quantity for the target future time period; determining a second product as the product of the normal distribution value corresponding to the probability of continuous supply of the target item and the standard deviation of the historical inventory consumption quantity of the target item; and taking the sum of the first product and the second product as the inventory quantity threshold.

[0024] In some embodiments, the inventory consumption quantity for the target future time period is determined by the following steps: performing regression on the inventory consumption quantity for the first historical time period, the inventory consumption quantity for the second historical time period, and the inventory consumption quantity for the third historical time period to determine the regression coefficients corresponding to the first historical time period, the second historical time period, and the third historical time period respectively, where the number of days included in the third historical time period is greater than the number of days included in the second historical time period, and the number of days included in the second historical time period is greater than the number of days included in the first historical time period; generating a regression equation for the inventory consumption quantity for the first future time period, including the regression coefficients corresponding to the first historical time period, the second historical time period, and the third historical time period respectively, where the number of days included in the first future time period is the same as the number of days included in the first historical time period; obtaining the inventory consumption quantity for the first historical time period corresponding to the target future time period, the inventory consumption quantity for the second historical time period corresponding to the target future time period, and the inventory consumption quantity for the third historical time period corresponding to the target future time period, and determining the inventory consumption quantity for the target future time period based on the regression equation and each of the obtained inventory consumption quantities.

[0025] In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device configured to store one or more programs, which when executed by the one or more processors, cause the one or more processors to implement the method of any one of the embodiments of the replenishment quantity determination method.

[0026] Fourthly, embodiments of the present disclosure provide a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method of any one of the embodiments in the replenishment quantity determination method is implemented.

[0027] For the replenishment quantity determination solution provided by the embodiments of the present application, first, in response to determining that the current inventory of the target item is less than the inventory threshold, the initial replenishment quantity of the target item is determined. Then, the quantity per full case of the target item is obtained, where the quantity per full case is used to indicate the number of pieces of the target item in a full case. Next, based on the quantity per full case, the replenishment quantity obtained after making up a full case of the initial replenishment quantity is compared with the inventory consumption in the first number of days. Then, based on the comparison result, the replenishment quantity of the target item is determined and output. The solution provided by the embodiments of the present application can accurately determine the replenishment quantity of the target item based on the comparison result between the replenishment quantity after making up a full case and the inventory consumption in the first number of days. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Other features, objects, and advantages of the present application will become more apparent by reading the detailed description of the non-limiting embodiments with reference to the following drawings:

[0029] Figure 1 is an exemplary system architecture diagram to which some embodiments of the present disclosure can be applied;

[0030] Figure 2 is a flowchart of an embodiment of the replenishment quantity determination method according to the present disclosure;

[0031] Figure 3 is a schematic diagram of an application scenario of the replenishment quantity determination method according to the present disclosure;

[0032] Figure 4 is a flowchart of another embodiment of the replenishment quantity determination method according to the present disclosure;

[0033] Figure 5 is a schematic structural diagram of an embodiment of the replenishment quantity determination device according to the present disclosure;

[0034] Figure 6 is a schematic structural diagram of a computer system of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0035] The present disclosure will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the related invention and are not intended to limit the invention. Additionally, it should be noted that for the sake of convenience of description, only parts related to the related invention are shown in the drawings.

[0036] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments may be combined with each other. The following will describe the present application in detail with reference to the accompanying drawings and in combination with the embodiments.

[0037] Figure 1 FIG. 100 shows an exemplary system architecture where the replenishment quantity determination method or device according to the present disclosure can be applied.

[0038] As Figure 1 shown in FIG. 100, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.

[0039] Users can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 101, 102, 103, such as shopping applications, warehouse management applications, video applications, live broadcast applications, instant messaging tools, email clients, social platform software, etc.

[0040] Here, the terminal devices 101, 102, 103 can be hardware or software. When the terminal devices 101, 102, 103 are hardware, they can be various electronic devices with a display screen, including but not limited to smart phones, tablet computers, e - book readers, laptop computers, and desktop computers, etc. When the terminal devices 101, 102, 103 are software, they can be installed in the above - listed electronic devices. It can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0041] The server 105 can be a server that provides various services, such as a background server that provides support for the terminal devices 101, 102, 103. The background server can analyze and process replenishment instructions, etc., and feedback the processing results (such as the replenishment quantity of the target item) to the terminal devices.

[0042] It should be noted that the replenishment quantity determination method provided by the embodiments of the present application can be executed by the server 105 or the terminal devices 101, 102, 103. Correspondingly, the replenishment quantity determination device can be set in the server 105 or the terminal devices 101, 102, 103.

[0043] It should be understood, Figure 1The numbers of the terminal devices, networks, and servers in [it] are merely illustrative. According to the implementation requirements, there can be any number of terminal devices, networks, and servers.

[0044] Continuing to refer to Figure 2 , a flowchart 200 of an embodiment of the replenishment quantity determination method according to the present application is shown. The replenishment quantity determination method includes the following steps:

[0045] Step 201, in response to determining that the current inventory of the target item is less than the inventory threshold, determine the initial replenishment quantity of the target item.

[0046] In this embodiment, the execution subject of the replenishment quantity determination method (such as Figure 1 the server or terminal device shown) can determine the initial replenishment quantity of the target item when determining that the current inventory of the target item is less than the inventory threshold. Here, the inventory threshold is the safety inventory set for the inventory. If the current inventory is lower than the safety inventory, replenishment is required. In the replenishment quantity and inventory here, the quantity refers to the number of items of the item. One corresponding to the number of items refers to one stock keeping unit (SKU).

[0047] In practice, the above execution subject can determine the initial replenishment quantity of the target item in various ways. For example, the above execution subject can directly obtain the initial replenishment quantity from the local or other electronic devices. In addition, the above execution subject can also use the difference between the inventory threshold and the current inventory as the initial replenishment quantity.

[0048] In some alternative implementation manners of this embodiment, determining the initial replenishment quantity of the target item in step 201 may include: obtaining the target inventory of the target item; determining the difference between the target inventory and the current inventory as the initial replenishment quantity of the target item.

[0049] In these alternative implementation manners, the above execution subject can obtain the target inventory (TI) of the target item and determine the difference between the target inventory and the current inventory. Then, the above execution subject can determine this difference as the initial replenishment quantity of the target item. Here, the target inventory can be preset or determined in real time. For example, the target inventory can be associated with the inventory threshold, such as the sum of the inventory threshold and the inventory consumption of the target number of days.

[0050] In these implementation manners, the above execution subject can accurately determine the initial replenishment quantity by using the target inventory, which helps to determine the accurate actual replenishment quantity.

[0051] In some alternative implementation manners of this embodiment, step 201 may include: obtaining the target inventory quantity of the target item; and determining the difference between the target inventory quantity and the current inventory quantity as the initial replenishment quantity of the target item.

[0052] In these alternative implementation manners, the above-mentioned execution entity may obtain the target inventory quantity and determine the difference between the target inventory quantity and the current inventory quantity. After that, the above-mentioned execution entity may determine this difference as the initial replenishment quantity of the target item.

[0053] These implementation manners can accurately determine the initial replenishment quantity of the target item.

[0054] In some alternative implementation manners of this embodiment, the inventory threshold may be determined through the following steps: determining the product of the delivery days of the target item and the daily average value of the inventory consumption in the target future time period as the first product; determining the product of the normal distribution value corresponding to the probability that the target item can be continuously provided and the standard deviation of the historical inventory consumption of the target item as the second product; and taking the sum of the first product and the second product as the inventory threshold.

[0055] In these alternative implementation manners, the above-mentioned execution entity or other execution entities may determine the inventory threshold. Taking the above-mentioned execution entity as an example, the above-mentioned execution entity may determine the product of the delivery duration and the daily average value of the predicted inventory consumption and use it as the first product. Here, the predicted daily average value may be the ratio of the predicted inventory consumption in the future n days to n, or it may be the inventory consumption obtained for each future day.

[0056] Moreover, the above-mentioned execution entity may also determine the probability that the target item can be continuously provided, that is, the service level, and look up the normal distribution value corresponding to this probability in the normal distribution table. After that, the above-mentioned execution entity may determine the product of this normal distribution value and the standard deviation. Here, the standard deviation may be the standard deviation of the inventory consumption of each day in the target historical time period. For example, the target historical time period may be the just-passed 30 days. The above-mentioned execution entity may obtain the inventory consumption of the target item in these 30 days, remove the maximum value and the minimum value, and calculate the standard deviation of the inventory consumption of the remaining 28 days.

[0057] These implementation manners can determine the inventory threshold based on the historical inventory consumption, which helps to determine a more accurate replenishment quantity.

[0058] In some alternative application scenarios of these implementation manners, the inventory consumption amount of the above-mentioned target future time period can be determined through the following steps: perform regression on the inventory consumption amounts of the first historical time period, the second historical time period, and the third historical time period to determine the regression coefficients corresponding to the first historical time period, the second historical time period, and the third historical time period respectively, where the number of days included in the third historical time period is greater than the number of days included in the second historical time period, and the number of days included in the second historical time period is greater than the number of days included in the first historical time period; generate a regression equation for the inventory consumption amount of the first future time period, including the regression coefficients corresponding to the first historical time period, the second historical time period, and the third historical time period respectively, where the number of days included in the first future time period is the same as the number of days included in the first historical time period; for the target future time period, obtain the inventory consumption amounts of the first historical time period, the second historical time period, and the third historical time period, and determine the inventory consumption amount of the target future time period based on the regression equation and each obtained inventory consumption amount.

[0059] In these alternative implementation manners, the above-mentioned execution entity can obtain the inventory consumption amounts of the first historical time period, the second historical time period, and the third historical time period, and perform regression on these three to obtain the regression coefficients corresponding to these three respectively. After that, the above-mentioned execution entity can determine the regression equation corresponding to the first future time period, where the duration of the first future time period is the same as that of the first historical time period. In this way, the inventory consumption amounts of multiple historical time periods corresponding to the target future time period can be obtained and substituted into the above-mentioned regression equation, so as to predict the inventory consumption amount of the target future time period. Specifically, the above-mentioned execution entity can, for the target future time period, determine the inventory consumption amounts of the first historical time period, the second historical time period, and the third historical time period corresponding to the target future time period respectively, and based on these three inventory consumption amounts and the above-mentioned regression equation, determine the inventory consumption amount of the target future time period.

[0060] For example, for yesterday, the inventory consumption amounts of the historical 7 days (7 consecutive days including the day before yesterday) before yesterday, the historical 14 days, and the historical 28 days can be obtained. After that, perform regression on these three inventory consumption amounts to obtain three regression coefficients α, β, and γ respectively. Generate a regression equation for the inventory consumption amount Y of the future 7 days, which can be expressed as:

[0061] Y = αX 1 + βX 2 + γX 3 ,

[0062] where X1 , X 2 , X 3 are respectively the inventory consumption amounts in the first historical time period, the second historical time period, and the third historical time period. In practice, if it is necessary to predict the inventory consumption amount for the next 7 days today, the inventory consumption amounts for the historical 7 days (7 consecutive days including yesterday) before today, the inventory consumption amounts for the historical 14 days, and the inventory consumption amounts for the historical 28 days can be obtained and used as X 1 , X 2 , X 3 values are substituted into the regression equation to predict the inventory consumption amount for the next 7 days today. In practice, the above-mentioned executing entity can determine the ratio of the inventory consumption amount for the next 7 days to 7 (days) to obtain the daily average value of the inventory consumption amount for the next 7 days.

[0063] Step 202: Obtain the full case quantity of the target item, where the full case quantity is used to indicate the number of pieces of the target item in a full case.

[0064] In this embodiment, the above-mentioned executing entity can obtain the full case quantity of the target item. Here, the full case quantity, that is, the case specification, can indicate the number of pieces of the target item in the case when the case for loading the target item is full.

[0065] Step 203: Based on the full case quantity, compare the replenishment quantity obtained after making up a full case for the initial replenishment quantity with the inventory consumption amount on the first day.

[0066] In this embodiment, the above-mentioned executing entity can determine the replenishment quantity obtained after making up a full case for the initial replenishment quantity based on the full case quantity and compare the size between this replenishment quantity and the inventory consumption amount on the first day. Here, the first day can be a specified number of days. In practice, based on the full case quantity, the above-mentioned executing entity can determine whether the initial replenishment quantity is greater than one case. Specifically, the initial replenishment quantity may be less than one case, and then it is one case after making up a full case. In addition, the initial replenishment quantity may also be greater than one case and not fully make up a full case. In this case, after making up a full case for the initial replenishment quantity, the part that is not a full case is changed to a full case. For example, if the initial replenishment quantity is two and a half cases, and the replenishment quantity for the full cases is two cases, after making up a full case, two and a half cases become three cases, that is, the replenishment quantity obtained after making up a full case is three cases.

[0067] In some scenarios, in order to avoid performing ineffective steps, the above-mentioned executing entity can execute this step 203 in response to the initial replenishment quantity being a non-full case replenishment quantity.

[0068] In practice, the above-mentioned execution entity can compare the obtained replenishment quantity with the inventory consumption quantity on the first day in various ways. For example, the above-mentioned execution entity can determine whether the obtained replenishment quantity is less than or equal to the inventory consumption quantity on the first day. In addition, the above-mentioned execution entity can also determine whether the obtained replenishment quantity is greater than the inventory consumption quantity on the first day.

[0069] Step 204: Based on the comparison result, determine and output the replenishment quantity of the target item.

[0070] In this embodiment, the above-mentioned execution entity can determine the replenishment quantity of the target item based on the comparison result and output it. Specifically, the output executed by the above-mentioned execution entity can be output to other modules in the same electronic device, or can be output to other electronic devices. The replenishment quantity of the target item determined here is the final (determined) replenishment quantity output by the above-mentioned execution entity, and it is also the replenishment quantity to be adopted in practice.

[0071] In practice, the above-mentioned execution entity can determine the replenishment quantity of the target item in various ways. For example, when the obtained replenishment quantity is greater than the inventory consumption quantity on the first day, the execution entity can determine the replenishment quantity of the whole box in the initial replenishment quantity as the replenishment quantity of the target item.

[0072] The method provided by the above embodiment of the present application can accurately determine the replenishment quantity of the target item based on the comparison result between the replenishment quantity after making up a whole box and the inventory consumption quantity on the first day.

[0073] In some optional implementation manners of this embodiment, step 204 may include: if the obtained replenishment quantity is less than or equal to the inventory consumption quantity on the first day, determine the obtained replenishment quantity as the replenishment quantity of the target item and output the obtained replenishment quantity.

[0074] In these optional implementation manners, if the comparison result is that the replenishment quantity obtained after making up a whole box of the initial replenishment quantity is less than or equal to the inventory consumption quantity on the first day, the above-mentioned execution entity can determine the replenishment quantity obtained after making up a whole box of the initial replenishment quantity as the replenishment quantity of the target item and output this replenishment quantity.

[0075] These implementation manners can, in the case where the replenishment quantity obtained after making up a whole box can be consumed relatively quickly, use the replenishment quantity obtained by making up a whole box as the final replenishment quantity of the target item and output it. In this way, it is possible to avoid the problem of excessive inventory items caused by too large a replenishment quantity after making up a whole box.

[0076] In some alternative implementation manners of this embodiment, before step 203, the above method may further include: judging whether the initial replenishment quantity is greater than one case based on the full case quantity; and step 203 may include: if the initial replenishment quantity is greater than one case, comparing, based on the full case quantity, the replenishment quantity obtained after making up a full case from the initial replenishment quantity with the inventory consumption quantity on the first day.

[0077] In these alternative implementation manners, the above execution subject may judge whether the initial replenishment quantity is greater than one case based on the full case quantity, and execute step 203 when the initial replenishment quantity is greater than one case.

[0078] If the initial replenishment quantity is greater than one case, there is a relatively large space for adjusting the initial replenishment quantity. These implementation manners may first judge whether the initial replenishment quantity is greater than one case, and perform subsequent steps when it is greater than one case, so as to avoid performing invalid operations subsequently.

[0079] In some alternative application scenarios of these alternative implementation manners, step 203 may include: if the initial replenishment quantity is not greater than one case, comparing the full case quantity with the inventory consumption quantity on the first day; step 204 may include: if the full case quantity is less than or equal to the inventory consumption quantity on the first day, determining the full case quantity as the replenishment quantity of the target item and outputting it; if the full case quantity is greater than the inventory consumption quantity on the first day, determining the initial replenishment quantity as the replenishment quantity of the target item and outputting it.

[0080] In these alternative application scenarios, if the initial replenishment quantity is less than one case, the above execution subject may compare the magnitudes of the above full case quantity and the inventory consumption quantity on the first day. If the full case quantity is larger, the above execution subject may directly use the initial replenishment quantity as the final replenishment quantity of the target item. If the full case quantity is smaller, the above execution subject may determine the full case quantity as the replenishment quantity of the target item and output it.

[0081] These application scenarios may make up a full case of the target item and use the full case quantity as the final replenishment quantity when the initial replenishment quantity is less than one case and the full case quantity is small, so as to avoid the replenishment quantity obtained after making up a full case being too large.

[0082] It should be noted that the step of making up (to) a full case in this application may be performed when it is determined that the supply of the target item is sufficient.

[0083] Continue to refer to Figure 3 , Figure 3 which is a schematic diagram of an application scenario of the replenishment quantity determination method according to this embodiment. In Figure 3In the application scenario, the execution entity 301 can determine the initial replenishment quantity 302, 7 pieces, of the computer of model X in response to determining that the current inventory quantity of the computer of model X, which is 20 pieces, is less than the inventory threshold of 25 pieces. Obtain the full-box quantity 303, 4 pieces, of the computer of model X, where the full-box quantity is used to indicate the number of pieces of the target item in a full box. Based on the full-box quantity, compare the replenishment quantity of 8 pieces obtained after making up a full box from the initial replenishment quantity of 7 pieces with the inventory consumption quantity of 9 pieces on the first day. Based on the comparison result 304, determine and output the replenishment quantity 305 of the computer of model X.

[0084] Further referring to Figure 4 , which shows the flow 400 of another embodiment of the replenishment quantity determination method. The flow 400 of the replenishment quantity determination method includes the following steps:

[0085] Step 401, in response to determining that the current inventory quantity of the target item is less than the inventory threshold, determine the initial replenishment quantity of the target item.

[0086] In this embodiment, the execution entity (such as Figure 1 the server or terminal device shown) of the replenishment quantity determination method can determine the initial replenishment quantity of the target item when it is determined that the current inventory quantity of the target item is less than the inventory threshold. Here, the inventory threshold is the safety inventory quantity set for the inventory. If the current inventory quantity is lower than the safety inventory quantity, replenishment is required.

[0087] Step 402, obtain the full-box quantity of the target item, where the full-box quantity is used to indicate the number of pieces of the target item in a full box.

[0088] In this embodiment, the above-mentioned execution entity can obtain the full-box quantity of the target item. Here, the full-box quantity, that is, the box specification, can indicate the number of pieces of the target item in the box when the box used to hold the target item is full.

[0089] Step 403, based on the full-box quantity, compare the replenishment quantity obtained after making up a full box from the initial replenishment quantity with the inventory consumption quantity on the first day.

[0090] In this embodiment, the above-mentioned execution entity can determine the replenishment quantity obtained after the initial replenishment quantity is made up to a full case, and based on the full case quantity, compare the size between this replenishment quantity and the inventory consumption quantity on the first number of days. Here, the first number of days is the specified number of days. In practice, based on the full case quantity, the above-mentioned execution entity can determine whether the initial replenishment quantity is greater than one case. Specifically, the initial replenishment quantity may be less than one case, so after making it up to a full case, it is one case. In addition, the initial replenishment quantity may also be greater than one case and not fully made up to a full case. For example, the initial replenishment quantity is two and a half cases. Then, in this case, after the initial replenishment quantity is made up to a full case, the part that is not fully made up to a full case becomes a full case. For example, two and a half cases become three cases.

[0091] Step 404, if the obtained replenishment quantity is greater than the inventory consumption quantity on the first number of days, based on the full case quantity, compare the replenishment quantity of the full cases in the initial replenishment quantity with the inventory consumption quantity on the second number of days, where the first number of days is greater than the second number of days.

[0092] In this embodiment, if the obtained replenishment quantity is greater than the inventory consumption quantity on the first number of days, then the above-mentioned execution entity can, based on the full case quantity, compare the size between the replenishment quantity of the full cases in the initial replenishment quantity and the inventory consumption quantity on the second number of days. Here, the second number of days can be the specified number of days. Specifically, the above-mentioned execution entity can, based on the full case quantity, determine the replenishment quantity of the full cases in the initial replenishment quantity, and then compare the size between the replenishment quantity of the full cases and the inventory consumption quantity on the second number of days.

[0093] In practice, the above-mentioned execution entity can use various methods to compare the replenishment quantity of the full cases in the initial replenishment quantity with the inventory consumption quantity on the second number of days. For example, the above-mentioned execution entity can determine whether the replenishment quantity of the full cases in the initial replenishment quantity is greater than or equal to the inventory consumption quantity on the second number of days. In addition, the above-mentioned execution entity can also determine whether the replenishment quantity of the full cases in the initial replenishment quantity is less than the inventory consumption quantity on the second number of days.

[0094] Specifically, the initial replenishment quantity can be expressed as R, the full case quantity can be expressed as PR, that is, (Packing Rule, case rule), then the replenishment quantity of the full cases is the product of the integer part of the result of R / PR and PR. Correspondingly, the replenishment quantity obtained after making it up to a full case is the product of the sum of the integer part of the result of R / PR plus 1 and PR.

[0095] In some alternative implementation manners of this embodiment, the inventory consumption quantity on the first number of days is the sum of the target inventory quantity and the inventory consumption quantity on the first specified number of days, where the target inventory quantity is greater than the inventory quantity threshold; the inventory consumption quantity on the second number of days is the difference between the target inventory quantity and the inventory consumption quantity on the second specified number of days.

[0096] In these alternative implementations, the inventory consumption quantity is the number of items output from the warehouse where the target item is located, and the warehouse here is the warehouse that needs to be replenished. When the first number of days is greater than the second number of days, the inventory consumption quantity on the first day is greater than the inventory consumption quantity on the second day.

[0097] These implementations can accurately determine the first number of days and the second number of days, and thus obtain an accurate replenishment quantity.

[0098] Optionally, among the replenishment quantities for output of the target item i, the number of full boxes (such as n boxes) can be expressed as:

[0099] min(∑(R i mod PR i ))

[0100] where R i and PR i satisfy the following conditions:

[0101] The above-mentioned R i represents the initial replenishment quantity of the target item i, PR i represents the full box quantity of the target item i, mod is to find the remainder, T i represents the maximum target inventory of the target item i, S i represents the maximum inventory threshold of the target item i. represents taking the integer of R i and PR i .

[0102] Specifically, the maximum target inventory T i can be expressed as T i = t i + n up * f, where t i is the target inventory, n up is the first specified number of days, and f is the predicted daily average value (that is, the daily average value of the inventory consumption quantity of the target item within the target future time period). The maximum inventory threshold S i can be expressed as S i = max(s i , t i - n low * f), that is, take the larger one of the results of s i - n low * f and t i - n low * f. Among them, s i is the inventory threshold, t iLet the stock in the target library be the inventory, and \(f\) be the predicted daily average value. All the above "*" represent multiplication.

[0103] Step 405: If the replenishment quantity of full cases in the initial replenishment quantity is greater than or equal to the inventory consumption quantity on the second day, determine the replenishment quantity of full cases in the initial replenishment quantity as the replenishment quantity of the target item, and output the replenishment quantity of full cases in the initial replenishment quantity.

[0104] In this embodiment, if the comparison result in step 404 is that the replenishment quantity of full cases in the initial replenishment quantity is greater than or equal to the inventory consumption quantity on the second day, the above-mentioned execution entity may determine the replenishment quantity of full cases as the replenishment quantity of the target item.

[0105] In this embodiment, when the replenishment quantity of full cases in the initial replenishment quantity is relatively large, the scattered part can be discarded, and the full-case part in the replenishment quantity can be used as the replenishment quantity of the target item. In this way, it can not only ensure that the inventory after replenishment is relatively sufficient but also avoid the problem of excessive replenishment.

[0106] In some alternative implementation manners of this embodiment, after step 404, the method may further include: If the replenishment quantity of full cases in the initial replenishment quantity is less than the inventory consumption quantity on the second day, determine the initial replenishment quantity as the replenishment quantity of the target item, and output the initial replenishment quantity.

[0107] In these alternative implementation manners, if the comparison result in step 404 is that the replenishment quantity of full cases in the initial replenishment quantity is less than the inventory consumption quantity on the second day, the above-mentioned execution entity may directly determine the initial replenishment quantity as the replenishment quantity of the target item and output it.

[0108] Specifically, if the initial replenishment quantity after making up full cases is greater than the inventory consumption quantity on the first day and the replenishment quantity of full cases is less than the inventory consumption quantity on the second day, then the matching degrees of these two full-case replenishment methods with the inventory consumption quantity are relatively low.

[0109] These implementation manners can use the entire initial replenishment quantity as the actual replenishment quantity when the replenishment quantity of full cases in the initial replenishment quantity is very small and the replenishment quantity obtained by making up full cases is very large.

[0110] Further referring to Figure 5 , as an implementation of the methods shown in the above figures, the present application provides an embodiment of a replenishment quantity determination device. This device embodiment corresponds to the Figure 2 method embodiment shown. Except for the features described below, this device embodiment may further include the same or corresponding features or effects as the Figure 2 method embodiment shown. This device can be specifically applied to various electronic devices.

[0111] Such asFigure 5 As shown in Figure 5 , the replenishment quantity determination device 500 of this embodiment includes: a determination unit 501, an acquisition unit 502, a comparison unit 503, and an output determination unit 504. Among them, the determination unit 501 is configured to determine the initial replenishment quantity of the target item in response to determining that the current inventory quantity of the target item is less than the inventory quantity threshold; the acquisition unit 502 is configured to acquire the full case quantity of the target item, where the full case quantity is used to indicate the number of pieces of the target item in a full case; the comparison unit 503 is configured to compare, based on the full case quantity, the replenishment quantity obtained after making up a full case from the initial replenishment quantity with the inventory consumption quantity on the first day; the output determination unit 504 is configured to determine and output the replenishment quantity of the target item based on the comparison result.

[0112] In some embodiments, the determination unit 501 of the replenishment quantity determination device 500 may determine the initial replenishment quantity of the target item when it is determined that the current inventory quantity of the target item is less than the inventory quantity threshold. Here, the inventory quantity threshold is the safety inventory quantity set for the inventory. If the current inventory quantity is lower than the safety inventory quantity, replenishment is required.

[0113] In some embodiments, the acquisition unit 502 may acquire the full case quantity of the target item. Here, the full case quantity, that is, the case specification, can indicate the number of pieces of the target item in the case when the case for loading the target item is full.

[0114] In some embodiments, the comparison unit 503 may determine the replenishment quantity obtained after making up a full case from the initial replenishment quantity based on the full case quantity, and compare the size between the replenishment quantity and the inventory consumption quantity on the first day. Here, the first day can be a specified number of days.

[0115] In some embodiments, the output determination unit 504 may determine the replenishment quantity of the target item based on the comparison result and output it. Specifically, the output executed by the above execution entity may be output to other modules in the same electronic device, or may be output to other electronic devices. The replenishment quantity of the target item determined here is the replenishment quantity finally output by the above execution entity and is also the replenishment quantity to be adopted in practice.

[0116] In some alternative implementation manners of this embodiment, the output determination unit is further configured to execute, in the following manner, determining and outputting the replenishment quantity of the target item based on the comparison result: if the obtained replenishment quantity is less than or equal to the inventory consumption quantity on the first day, determine the obtained replenishment quantity as the replenishment quantity of the target item and output the obtained replenishment quantity.

[0117] In some alternative implementation manners of this embodiment, the output determination unit is further configured to determine and output the replenishment quantity of the target item based on the comparison result in the following manner: If the obtained replenishment quantity is greater than the inventory consumption quantity of the first number of days, based on the full case quantity, compare the replenishment quantity of full cases in the initial replenishment quantity with the inventory consumption quantity of the second number of days, where the first number of days is greater than the second number of days; if the replenishment quantity of full cases in the initial replenishment quantity is greater than or equal to the inventory consumption quantity of the second number of days, determine the replenishment quantity of full cases in the initial replenishment quantity as the replenishment quantity of the target item, and output the replenishment quantity of full cases in the initial replenishment quantity.

[0118] In some alternative implementation manners of this embodiment, the apparatus further includes: a first output unit configured to, after comparing the replenishment quantity of full cases in the initial replenishment quantity with the inventory consumption quantity of the second number of days based on the full case quantity, if the replenishment quantity of full cases in the initial replenishment quantity is less than the inventory consumption quantity of the second number of days, determine the initial replenishment quantity as the replenishment quantity of the target item, and output the initial replenishment quantity.

[0119] In some alternative implementation manners of this embodiment, the apparatus further includes: a judgment unit configured to, before comparing the replenishment quantity obtained after making up full cases in the initial replenishment quantity with the inventory consumption quantity of the first number of days based on the full case quantity, judge whether the initial replenishment quantity is greater than one case based on the full case quantity; and a comparison unit further configured to compare the replenishment quantity obtained after making up full cases in the initial replenishment quantity with the inventory consumption quantity of the first number of days based on the full case quantity in the following manner: If the initial replenishment quantity is greater than one case, compare the replenishment quantity obtained after making up full cases in the initial replenishment quantity with the inventory consumption quantity of the first number of days based on the full case quantity.

[0120] In some alternative implementation manners of this embodiment, the comparison unit is further configured to compare the replenishment quantity obtained after making up full cases in the initial replenishment quantity with the inventory consumption quantity of the first number of days based on the full case quantity in the following manner: If the initial replenishment quantity is not greater than one case, compare the full case quantity with the inventory consumption quantity of the first number of days; the output determination unit is further configured to determine and output the replenishment quantity of the target item based on the comparison result in the following manner: If the full case quantity is less than or equal to the inventory consumption quantity of the first number of days, determine the full case quantity as the replenishment quantity of the target item and output it; if the full case quantity is greater than the inventory consumption quantity of the first number of days, determine the initial replenishment quantity as the replenishment quantity of the target item and output it.

[0121] In some alternative implementation manners of this embodiment, the determination unit is further configured to determine the initial replenishment quantity of the target item: obtain the target inventory quantity of the target item; determine the difference between the target inventory quantity and the current inventory quantity as the initial replenishment quantity of the target item.

[0122] In some alternative implementation manners of this embodiment, the inventory consumption amount on the first number of days is the sum of the target inventory amount and the inventory consumption amount on the first specified number of days, where the target inventory amount is greater than the inventory threshold; the inventory consumption amount on the second number of days is the difference between the target inventory amount and the inventory consumption amount on the second specified number of days.

[0123] In some alternative implementation manners of this embodiment, the inventory threshold is determined through the following steps: determining the product of the delivery days of the target item and the average value of the inventory consumption amount in the target future time period as the first product; determining the product of the normal distribution value corresponding to the probability of continuous supply of the target item and the standard deviation of the historical inventory consumption amount of the target item as the second product; and taking the sum of the first product and the second product as the inventory threshold.

[0124] In some alternative implementation manners of this embodiment, the inventory consumption amount in the target future time period is determined through the following steps: performing regression on the inventory consumption amounts in the first historical time period, the second historical time period, and the third historical time period to determine the regression coefficients corresponding to the first historical time period, the second historical time period, and the third historical time period respectively, where the number of days included in the third historical time period is greater than the number of days included in the second historical time period, and the number of days included in the second historical time period is greater than the number of days included in the first historical time period; generating a regression equation for the inventory consumption amount in the first future time period, including the regression coefficients corresponding to the first historical time period, the second historical time period, and the third historical time period respectively, where the number of days included in the first future time period is the same as the number of days included in the first historical time period; obtaining the inventory consumption amounts in the first historical time period corresponding to the target future time period, the inventory consumption amounts in the second historical time period corresponding to the target future time period, and the inventory consumption amounts in the third historical time period corresponding to the target future time period, and determining the inventory consumption amount in the target future time period based on the regression equation and each obtained inventory consumption amount.

[0125] As Figure 6 shown, the electronic device 600 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which may perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage device 608 into the random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. The input / output (I / O) interface 605 is also connected to the bus 604.

[0126] Typically, the following devices can be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 can allow the electronic device 600 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 6 the electronic device 600 with various devices is shown, it should be understood that it is not required to implement or have all the shown devices. Instead, more or fewer devices can be implemented or had. Figure 6 Each block shown in

[0127] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product that includes a computer program carried on a computer-readable medium, and the computer program includes program code for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed. It should be noted that the computer-readable medium of the embodiments of the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the embodiments of the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or combined with an instruction execution system, apparatus, or device. In the embodiments of the present disclosure, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium can send, propagate, or transmit a program for use by or combined with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0128] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as combinations of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0129] The units described in the embodiments of the present application can be implemented in software or in hardware. The described units can also be provided in a processor. For example, it can be described as: a processor includes a determination unit, an acquisition unit, a comparison unit, and an output determination unit. Among them, the names of these units do not constitute a limitation on the unit itself in some cases. For example, the output determination unit can also be described as "a unit that determines and outputs the replenishment quantity of the target item based on the comparison result".

[0130] On the other hand, the present application also provides a computer-readable medium, which can be included in the device described in the above embodiments; or it can exist alone without being assembled into the device. The above computer-readable medium carries one or more programs. When the above one or more programs are executed by the device, the device is caused to: in response to determining that the current inventory quantity of the target item is less than the inventory threshold, determine the initial replenishment quantity of the target item; acquire the full-case quantity of the target item, where the full-case quantity is used to indicate the number of pieces of the target item in a full case; based on the full-case quantity, compare the replenishment quantity obtained after making up a full case of the initial replenishment quantity with the inventory consumption quantity on the first day; based on the comparison result, determine and output the replenishment quantity of the target item.

[0131] The above description is only a preferred embodiment of the present application and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the technical solution formed by mutually replacing the above features with the technical features (but not limited to) disclosed in the present application that have similar functions.

Claims

1. A method for determining the replenishment quantity, which is applied to a server or a terminal device, and the method comprises: In response to determining that the current inventory of the target item is less than the inventory threshold, determining the initial replenishment quantity of the target item, wherein the inventory threshold is determined based on the historical inventory consumption; Obtaining the quantity per full box of the target item, wherein the quantity per full box is used to indicate the number of pieces of the target item in a full box; Based on the quantity per full box, comparing the replenishment quantity obtained after making up a full box of the initial replenishment quantity with the inventory consumption in the first number of days; Based on the comparison result, determining and outputting the replenishment quantity of the target item; Wherein, the inventory threshold is determined through the following steps: Determining the product of the delivery days of the target item and the daily average value of the inventory consumption in the target future time period as the first product; Determining the product of the normal distribution value corresponding to the probability of continuous supply of the target item and the standard deviation of the historical inventory consumption of the target item as the second product; Taking the sum of the first product and the second product as the inventory threshold.

2. The method according to claim 1, wherein, The determining and outputting the replenishment quantity of the target item based on the comparison result includes: If the obtained replenishment quantity is less than or equal to the inventory consumption in the first number of days, determining the obtained replenishment quantity as the replenishment quantity of the target item and outputting the obtained replenishment quantity.

3. The method according to claim 1, wherein, The determining and outputting the replenishment quantity of the target item based on the comparison result includes: If the obtained replenishment quantity is greater than the inventory consumption in the first number of days, based on the quantity per full box, comparing the replenishment quantity of the full box in the initial replenishment quantity with the inventory consumption in the second number of days, wherein the first number of days is greater than the second number of days; If the replenishment quantity of the full box in the initial replenishment quantity is greater than or equal to the inventory consumption in the second number of days, determining the replenishment quantity of the full box in the initial replenishment quantity as the replenishment quantity of the target item and outputting the replenishment quantity of the full box in the initial replenishment quantity.

4. The method according to claim 3, wherein, After comparing the replenishment quantity of the full box in the initial replenishment quantity with the inventory consumption in the second number of days based on the quantity per full box, the method further includes: If the replenishment quantity of the full box in the initial replenishment quantity is less than the inventory consumption in the second number of days, determining the initial replenishment quantity as the replenishment quantity of the target item and outputting the initial replenishment quantity.

5. The method according to claim 1, wherein, Before comparing the replenishment quantity obtained after making up a full box of the initial replenishment quantity with the inventory consumption in the first number of days based on the quantity per full box, the method further includes: Based on the quantity per full box, determining whether the initial replenishment quantity is greater than one box; and The comparing the replenishment quantity obtained after making up a full box of the initial replenishment quantity with the inventory consumption in the first number of days based on the quantity per full box includes: If the initial replenishment quantity is greater than one box, based on the quantity per full box, comparing the replenishment quantity obtained after making up a full box of the initial replenishment quantity with the inventory consumption in the first number of days.

6. The method according to claim 5, wherein, Based on the full - case quantity, compare the replenishment quantity obtained after making up a full case from the initial replenishment quantity with the inventory consumption in the first number of days, including: If the initial replenishment quantity is not greater than one case, compare the full - case quantity with the inventory consumption in the first number of days; and Based on the comparison result, determine and output the replenishment quantity of the target item, including: If the full - case quantity is less than or equal to the inventory consumption in the first number of days, determine the full - case quantity as the replenishment quantity of the target item and output it; If the full - case quantity is greater than the inventory consumption in the first number of days, determine the initial replenishment quantity as the replenishment quantity of the target item and output it.

7. The method according to claim 1, wherein, determining the initial replenishment quantity of the target item includes: obtaining the target inventory of the target item; determining the difference between the target inventory and the current inventory as the initial replenishment quantity of the target item.

8. The method according to claim 3, wherein, the inventory consumption in the first number of days is the sum of the target inventory and the inventory consumption in the first specified number of days, where the target inventory is greater than the inventory threshold; the inventory consumption in the second number of days is the difference between the target inventory and the inventory consumption in the second specified number of days.

9. The method according to claim 1, wherein, the inventory consumption in the target future time period is determined through the following steps: Perform regression on the inventory consumption in the first historical time period, the inventory consumption in the second historical time period, and the inventory consumption in the third historical time period to determine the regression coefficients corresponding to the first historical time period, the second historical time period, and the third historical time period respectively, where the number of days included in the third historical time period is greater than the number of days included in the second historical time period, and the number of days included in the second historical time period is greater than the number of days included in the first historical time period; Generate a regression equation for the inventory consumption in the first future time period, including the regression coefficients corresponding to the first historical time period, the second historical time period, and the third historical time period respectively, where the number of days included in the first future time period is the same as the number of days included in the first historical time period; Obtain the inventory consumption in the first historical time period corresponding to the target future time period, the inventory consumption in the second historical time period corresponding to the target future time period, and the inventory consumption in the third historical time period corresponding to the target future time period, and based on the regression equation and each obtained inventory consumption, determine the inventory consumption in the target future time period.

10. A replenishment quantity determination device, applied to a server or a terminal device, the device comprises: a determination unit, configured to determine the initial replenishment quantity of the target item in response to determining that the current inventory of the target item is less than the inventory threshold, where the inventory threshold is determined based on historical inventory consumption; an acquisition unit, configured to acquire the full - case quantity of the target item, where the full - case quantity is used to indicate the number of pieces of the target item in a full case; A comparison unit configured to compare, based on the full - case quantity, the replenishment quantity obtained after making up a full case from the initial replenishment quantity with the inventory consumption quantity for the first number of days; An output determination unit configured to determine and output the replenishment quantity of the target item based on the comparison result; Wherein, the inventory threshold is determined through the following steps: Determine the product of the delivery days of the target item and the daily average value of the inventory consumption quantity for the target future time period as the first product; Determine the product of the normal distribution value corresponding to the probability of continuous supply of the target item and the standard deviation of the historical inventory consumption quantity of the target item as the second product; Take the sum of the first product and the second product as the inventory threshold.

11. The apparatus according to claim 10, Wherein, The output determination unit is further configured to determine and output the replenishment quantity of the target item based on the comparison result in the following manner: If the obtained replenishment quantity is less than or equal to the inventory consumption quantity for the first number of days, determine the obtained replenishment quantity as the replenishment quantity of the target item and output the obtained replenishment quantity.

12. The apparatus according to claim 10, Wherein, The output determination unit is further configured to determine and output the replenishment quantity of the target item based on the comparison result in the following manner: If the obtained replenishment quantity is greater than the inventory consumption quantity for the first number of days, compare, based on the full - case quantity, the replenishment quantity of the full case in the initial replenishment quantity with the inventory consumption quantity for the second number of days, where the first number of days is greater than the second number of days; If the replenishment quantity of the full case in the initial replenishment quantity is greater than or equal to the inventory consumption quantity for the second number of days, determine the replenishment quantity of the full case in the initial replenishment quantity as the replenishment quantity of the target item and output the replenishment quantity of the full case in the initial replenishment quantity.

13. An electronic device, Comprising: One or more processors; A storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, enabling the one or more processors to implement the method according to any one of claims 1 - 9.

14. A computer - readable storage medium, on which a computer program is stored, Wherein, When the program is executed by a processor, it implements the method according to any one of claims 1 - 9.

Citation Information

Patent Citations

  • Storage system capable of automatic goods replenishment and automatic goods replenishment method

    CN109160169A