Product target inventory determination method and system based on product classification
Through a method based on product classification, historical sales data is used to determine the target inventory recommendation function, which solves the problem of unreasonable replenishment volume settings for merchants, achieves reasonable replenishment volume recommendations, reduces inventory maintenance costs and improves service levels.
Patent Information
- Application Number
- CN202110902627.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-06
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-08-06
AI Technical Summary
In the retail market, due to high uncertainty in customer demand, merchants have difficulty setting reasonable product replenishment volumes, resulting in inventory backlogs or no product supply, which in turn increases inventory maintenance costs.
Through a method based on product classification, the historical sales data of the product is obtained, its function distribution type is determined, the mean and standard deviation of the target inventory recommendation function are calculated, the target inventory is determined based on the target service level, and a reasonable replenishment amount is recommended.
On the premise of ensuring the target service level, we can avoid excessive inventory, reduce inventory maintenance costs, recommend more accurate replenishment quantities, and avoid the problems of inventory backlog and no product supply.
Smart Images

Figure CN113743862B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of logistics technology, and in particular to a method and system for determining product target inventory based on product classification. Background Art
[0002] In the retail market, the number of products sold by merchants on a daily, weekly or monthly basis is highly uncertain due to the number of customers and the demand for products by each customer. Merchants have limited inventory of products over a period of time and need to replenish before the inventory is consumed to avoid a situation where there is no product supply when customers have demand. Due to the high uncertainty of customer demand, if the merchant's replenishment volume is too high, there may be a problem of inventory backlog due to low customer demand, resulting in high inventory maintenance costs; if the merchant's replenishment volume is too low, there may be a problem of no product supply due to high customer demand, low customer demand satisfaction rate, reduced customer service level, and may cause customer loss in the long run.
[0003] Therefore, how to set a reasonable target inventory, that is, the replenishment quantity required by the merchant, and then replenish according to the target inventory so as to reduce inventory costs while achieving the target service level has become an urgent problem to be solved. Summary of the invention
[0004] The embodiments of the present invention solve the technical problem of unreasonable replenishment quantity setting for products sold by merchants in the prior art by providing a method and system for determining product target inventory based on product classification. A reasonable replenishment quantity can be recommended for merchants to avoid excessive inventory while ensuring that the target service level is achieved, thereby avoiding excessive inventory maintenance costs.
[0005] On the one hand, the present invention provides the following technical solution through an embodiment of the present invention:
[0006] A method for determining a product target inventory based on product classification, comprising:
[0007] Acquire historical sales data of a product, and determine a function distribution type of the historical sales data according to the historical sales data;
[0008] Using the function distribution type as the distribution type of the target inventory recommendation function of the product;
[0009] determining a target mean of the target inventory recommendation function;
[0010] determining a target standard deviation of the target inventory recommendation function;
[0011] Determine the target inventory recommendation function according to the target mean and the target standard deviation;
[0012] A target service level is obtained, and a target inventory of the product is determined according to the target service level and the target inventory recommendation function.
[0013] Preferably, the acquiring of historical sales data of a product and determining the function distribution type of the historical sales data according to the historical sales data include:
[0014] If the product is a seasonal product and the replenishment arrival date is in the off-season, the historical sales data of the product in the off-season is obtained, and the function distribution type is determined according to the historical sales data of the product in the off-season;
[0015] If the product is a seasonal product and the replenishment arrival date is the peak season, the historical sales data of the product in the peak season is obtained, and the function distribution type is determined according to the historical sales data of the product in the peak season.
[0016] Preferably, the function distribution type includes one or more of normal distribution, gamma distribution and negative binomial distribution.
[0017] Preferably, determining the target mean of the target inventory recommendation function includes:
[0018] If the function distribution type is normal distribution, obtaining the future predicted sales volume of the product; and using the future predicted sales volume as the target mean;
[0019] If the function distribution type is gamma distribution or negative binomial distribution, the historical sales mean of the distribution function of the historical sales data is obtained; and the historical sales mean is used as the target mean.
[0020] Preferably, determining the target standard deviation of the target inventory recommendation function includes:
[0021] If the function distribution type is normal distribution, then obtaining the historical sales standard deviation of the distribution function of the historical sales data and the historical predicted sales of the product, and calculating the predicted sales standard deviation of the historical predicted sales and the historical actual sales;
[0022] Determine the target standard deviation according to the historical sales standard deviation and the predicted sales standard deviation;
[0023] If the function distribution type is gamma distribution or negative binomial distribution, the target standard deviation is determined according to the historical sales standard deviation.
[0024] Preferably, determining the target standard deviation according to the historical sales standard deviation and the predicted sales standard deviation includes: obtaining the time difference between the replenishment arrival date and the target inventory recommendation date, and determining the target standard deviation according to the historical sales standard deviation, the predicted sales standard deviation and the time difference;
[0025] If the function distribution type is gamma distribution or negative binomial distribution, the target standard deviation is determined according to the historical sales standard deviation, including: if the function distribution type is gamma distribution or negative binomial distribution, the time difference is obtained, and the target standard deviation is determined according to the historical sales standard deviation and the time difference.
[0026] On the other hand, the present invention also provides the following technical solutions:
[0027] A product target inventory determination system based on product classification, comprising:
[0028] A distribution type identification module, used to obtain historical sales data of a product, and determine a function distribution type of the historical sales data according to the historical sales data;
[0029] a distribution type determination module, configured to use the function distribution type as the distribution type of the target inventory recommendation function of the product;
[0030] A target mean value calculation module, used to determine the target mean value of the target inventory recommendation function;
[0031] A target standard deviation calculation module, used to determine the target standard deviation of the target inventory recommendation function;
[0032] An objective function determination module, used to determine the target inventory recommendation function according to the target mean and the target standard deviation;
[0033] The target inventory calculation module is used to obtain a target service level and determine a target inventory of a product according to the target service level and the target inventory recommendation function.
[0034] Preferably, the distribution type identification module is further used for obtaining historical sales data of the product in the off-season if the product is a seasonal product and the replenishment arrival date is in the off-season, and determining the function distribution type according to the historical sales data of the product in the off-season;
[0035] The distribution type identification module is also used to obtain the historical sales data of the product in the peak season if the product is a seasonal product and the replenishment arrival date is the peak season, and determine the function distribution type according to the historical sales data of the product in the peak season.
[0036] On the other hand, the present invention also provides the following technical solutions:
[0037] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned methods for determining product target inventory based on product classification is implemented.
[0038] On the other hand, the present invention also provides the following technical solutions:
[0039] A computer-readable storage medium, when executed, implements any of the above-mentioned product target inventory determination methods based on product classification.
[0040] One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
[0041] Based on the historical sales data of the product, a target inventory recommendation function that can accurately predict the future sales of the product is determined, and then the corresponding replenishment quantity is determined according to the target service level selected by the merchant. A reasonable replenishment quantity can be recommended to the merchant to avoid excessive inventory while ensuring that the target service level is achieved, thereby avoiding excessive inventory maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0043] Figure 1 A flowchart of a method for determining a product target inventory based on product classification according to the present invention;
[0044] Figure 2 It is a curve diagram when the target inventory recommendation function of the present invention is normally distributed;
[0045] Figure 3 A comparison chart of the general target inventory recommendation function and the target inventory recommendation function determined based on the product's historical sales data;
[0046] Figure 4 It is a target inventory recommendation function curve diagram before and after considering the time difference of the present invention;
[0047] Figure 5 It is a structural block diagram of the product target inventory determination system based on product classification of the present invention. DETAILED DESCRIPTION
[0048] The embodiment of the present invention solves the technical problem of unreasonable replenishment quantity setting of products sold by merchants in the prior art by providing a product target inventory determination method and system based on product classification.
[0049] The technical solution of the embodiment of the present invention is to solve the above technical problems, and the overall idea is as follows:
[0050] A method for determining product target inventory based on product classification, such as Figure 1 As shown, including:
[0051] Step S1, obtaining historical sales data of the product, and determining the function distribution type of the historical sales data according to the historical sales data;
[0052] Step S2, using the function distribution type as the distribution type of the target inventory recommendation function of the product;
[0053] Step S3, determining a target mean value of the target inventory recommendation function;
[0054] Step S4, determining a target standard deviation of the target inventory recommendation function;
[0055] Step S5, determining a target inventory recommendation function according to the target mean and the target standard deviation;
[0056] Step S6, obtaining the target service level, and determining the target inventory of the product according to the target service level and the target inventory recommendation function.
[0057] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0058] First of all, the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0059] Due to the variety of options for target inventory recommendation frequency, cycle, recommended time range, etc., this embodiment is described by taking a daily recommendation of the target inventory of products for the next three days as an example. Assuming that the current time is the 1st day, it is the target inventory recommendation day. The target inventory recommendation day is the time point at which a recommendation is made for the replenishment quantity required for a future day. For example, if today recommends the replenishment quantity required for the day after tomorrow, then today is the target inventory recommendation day. If the replenishment quantity for the next replenishment is decided on the 4th day, then the 4th day is the decision day, and the decision day is the time point at which the replenishment quantity for the next replenishment is decided. Since the recommended value of each replenishment quantity covers the next three days, the recommended value obtained on the 4th day includes the recommended value on the 1st day, the recommended value on the 2nd day, and the recommended value on the 3rd day. The recommended value on the 3rd day is definitely more accurate, and the recommended value on the 3rd day will eventually be selected on the decision day. At this time, the 3rd day is the target inventory recommendation day.
[0060] In step S1, the historical sales data of the product is the sales volume of the product every day before the target inventory recommendation date. In this embodiment, the categories of products are stable, fluctuating, sudden changes and other categories. The characteristics of stable products are no obvious seasonal differences, relatively stable customer demand, high recommendability, and small contradiction between inventory and service level, such as the sales volume of each month in the past year is between 80-100 pieces. The characteristics of fluctuating products are no obvious seasonal differences, relatively large fluctuations in customer demand, and large contradictions between inventory and service levels, such as the sales volume of 12 months in the past year is distributed between 10-200. The characteristics of sudden changes are that the demand is pulsed and there is no obvious seasonal difference, such as the sales volume of two months in the past year is 180 / 190, and the sales volume of the remaining months is zero. This embodiment does not consider other types of products. After obtaining the historical sales data of the product, the function distribution type of the historical sales data can be determined according to the historical sales volume of each month. Since the product categories are known, according to historical experience, the historical sales data of stable and volatile products generally satisfy the normal distribution, and the historical sales data of sudden change products generally satisfy the gamma distribution or negative binomial distribution, so the function distribution types of this embodiment include normal distribution, gamma distribution and negative binomial distribution. For stable and volatile products, the historical sales data of the most recent year can be selected. Since the sales of sudden change products are highly random, their historical sales data are not illustrative, so the historical sales data of the most recent six months can be selected to avoid interference from redundant historical sales data.
[0061] In step S2, if the function distribution type of a product is normal distribution, the target inventory recommendation function corresponding to this product is a normal distribution function; if the function distribution type of a product is gamma distribution, the target inventory recommendation function corresponding to this product is a gamma distribution function; if the function distribution type of a product is negative binomial distribution, the target inventory recommendation function corresponding to this product is a negative binomial distribution function. In order to obtain the target inventory recommendation function corresponding to the product, it is necessary to first obtain the mean and standard deviation of the target inventory recommendation function, that is, the target mean and target standard deviation.
[0062] In step S3, if the function distribution type of a product is a normal distribution, the future predicted sales volume of the product is obtained; and the future predicted sales volume is used as the target mean. Among them, the future predicted sales volume is a more reasonable prediction value of the future sales volume of the product made by the front-end sales staff or the back-end sales statisticians based on historical experience, which is used to guide the recommended value of the target inventory. When the function distribution type of the product is a normal distribution, it is generally also possible to choose to obtain the historical sales mean of the distribution function of the historical sales data, and use the historical sales mean as the target mean of the target inventory recommendation function. However, the future predicted sales volume is more in line with the actual sales change trend, which can improve the rationality of the target inventory recommendation. Among them, the historical sales mean is the mean of the distribution function obtained by fitting the historical sales data.
[0063] In step S3, if the function distribution type of a product is a gamma distribution or a negative binomial distribution, the historical sales mean of the distribution function of the historical sales data is obtained; the historical sales mean is used as the target mean. When the function distribution type of the product is a gamma distribution or a negative binomial distribution, since the sales of mutation products are difficult to predict, if the future predicted sales are used as the target mean, it is impossible to obtain a reasonable target inventory recommendation value, and the target inventory recommended to the merchant will change greatly. In this embodiment, the historical sales mean is used as the target mean, which can ensure that the target inventory recommended each time is relatively stable.
[0064] In step S4, if the function distribution type of the product is normal distribution, the historical sales standard deviation of the distribution function of the historical sales data and the historical predicted sales of the product are obtained, and the predicted sales standard deviation of the historical predicted sales and the historical actual sales is calculated; the target standard deviation is determined based on the historical sales standard deviation and the predicted sales standard deviation. Assuming that the current time is the 4th day, which is the target inventory recommendation day, the predicted sales from the 1st to the 3rd day are the historical predicted sales, and the actual sales from the 1st to the 3rd day are the historical actual sales. Assuming that the historical predicted sales from the 1st to the 3rd day are a1, b1, and c1 respectively, and the historical actual sales are a2, b2, and c2 respectively, then Among them, the target standard deviation is determined according to the historical sales standard deviation and the predicted sales standard deviation, which may include: target standard deviation = α*historical sales standard deviation + (1-α)*predicted sales standard deviation, where α is the weight. If the function distribution type of the product is normal distribution, when α is 0, the target standard deviation at this time is equal to the predicted sales standard deviation; when α is 1, the target standard deviation at this time is equal to the historical sales standard deviation. Since the sales stability of stable products is higher than that of volatile products, it is easy to think that the historical sales standard deviation corresponding to stable products is more suitable as the target standard deviation, and the predicted sales standard deviation corresponding to volatile products is more suitable as the target standard deviation, so the α corresponding to stable products should be lower than the α corresponding to volatile products.
[0065] In step S4, if the function distribution type of the product is gamma distribution or negative binomial distribution, the target standard deviation is determined according to the historical sales standard deviation. The historical sales standard deviation can be used as the target standard deviation. Considering that the sales of mutation products are difficult to predict, the historical sales standard deviation is used as the target standard deviation to ensure that the target inventory recommended each time is relatively stable.
[0066] In step S5, after obtaining the target mean and target standard deviation of the target inventory recommendation function, the exact target inventory recommendation function can be obtained.
[0067] In step S6, the target service level can be understood as the ratio of the number of customers that can be satisfied by the products in the merchant's inventory to the total number of customers who have demand for the merchant's products. For example, if the merchant selects 100 inventory products, it can meet the needs of 100 customers, but the total number of customers who have demand for the merchant's products is 200, then the target service level is 100 / 200=50%. It is easy to think that the higher the target service level selected by the merchant, the larger the recommended target inventory will be. If the distribution type of the target inventory recommendation function of the product is a normal distribution, it is easy to think that if the target inventory of the product is set as the mean of the normal distribution, the probability that the actual sales volume of the product in the future is greater than the target inventory is 50%, and the probability that the actual sales volume in the future is less than the target inventory is also 50%. It can be understood that the target inventory can meet 50% of the total number of customers who have demand for the merchant's products, that is, the target service level is 50%. Conversely, the target service level can be equated with the probability that the horizontal coordinate in the target inventory recommendation function curve is less than a certain horizontal coordinate value, so the target inventory can be equated with this horizontal coordinate value. After the target service level is determined, it is equivalent to determining the probability that the horizontal coordinate in the target inventory recommendation function curve is less than a certain horizontal coordinate value. Then, the horizontal coordinate value can be obtained based on this probability, and the target inventory can be obtained. Figure 2 As shown in the figure, the target service level is the probability that the future sales volume of the product is less than the horizontal axis corresponding to the vertical line in the figure, that is, the area enclosed by the curve on the left side of the vertical line and the X-axis. The horizontal axis corresponding to the vertical line in the figure is the target inventory.
[0068] In this way, this embodiment determines a target inventory recommendation function that can accurately predict the future sales of a product based on the historical sales data of the product, and then determines the corresponding replenishment quantity based on the target service level selected by the merchant. A reasonable replenishment quantity can be recommended to the merchant to avoid excessive inventory while ensuring that the target service level is achieved, thereby avoiding excessive inventory maintenance costs.
[0069] Of course, this field can also use a general target inventory recommendation function to recommend the future replenishment quantity required for the product, instead of determining the function distribution type of the product based on historical sales data. However, there is a problem that the historical actual sales of the product do not match the general target inventory recommendation function, resulting in a large deviation between the actual sales of the product in the future and the replenishment quantity recommended by the target inventory recommendation function, and the target service level cannot be achieved or the inventory is too high. Figure 3As shown, the dotted line is a universal target inventory recommendation function, and the solid line is a target inventory recommendation function determined based on the historical sales data of the product. For the same target service level, the horizontal coordinate value corresponding to the dotted line is greater than the horizontal coordinate value corresponding to the solid line, that is, if the replenishment quantity is recommended by the universal target inventory recommendation function, the actual inventory of the merchant will exceed the inventory required to meet the target service level. This embodiment determines the function distribution type of the product based on the historical sales data, so that the target inventory recommendation function can be more consistent with the actual future sales of the product, and the replenishment quantity recommended by the target inventory recommendation function is closer to the actual future sales of the product, avoiding unreasonable replenishment quantity recommendations.
[0070] It is easy to imagine that for the same target service level, the replenishment quantity of the fluctuating and mutation products recommended by the target inventory recommendation function is greater than that of the stable products. The inventory of fluctuating and mutation products will be higher, and merchants may feel that achieving this target service level through high inventory will not be worth the cost. Therefore, when the product is a fluctuating or mutation product, a lower target service level can be recommended to the merchant.
[0071] Considering that the product may be a seasonal product, when determining the function distribution type that the product meets, if the function distribution type is determined by the historical sales data of the seasonal product throughout the year, the determined product function distribution type will be inaccurate, making it difficult to accurately predict the sales of the product in the off-season and peak season, thereby making the recommended replenishment quantity of the target inventory unreasonable. To this end, the preferred step S1 of this embodiment includes:
[0072] If the product is a seasonal product and the replenishment arrival date is in the off-season, obtain the historical sales data of the product in the off-season, and determine the function distribution type based on the historical sales data of the product in the off-season;
[0073] If the product is a seasonal product and the replenishment arrival date is the peak season, the historical sales data of the product in the peak season is obtained, and the function distribution type is determined based on the historical sales data of the product in the peak season.
[0074] After the next replenishment quantity is determined on the decision day, the replenishment may be cyclical, and the next replenishment time node has not yet arrived. After the next replenishment time node is replenished, there may be a period of shipping time. The replenishment arrival date is the date when the product enters the warehouse after the target inventory recommendation date, the next replenishment time node and the shipping time. The replenishment arrival date can also be understood as the time when the product starts to be sold.
[0075] In this way, when the product starts selling in the off-season, the function distribution type is determined by the historical sales data of the off-season. When the product starts selling in the peak season, the function distribution type is determined by the historical sales data of the peak season. This can make the target inventory recommendation function fit the actual possible sales in the off-season or peak season, making the recommended replenishment quantity more accurate.
[0076] As mentioned above, if the function distribution type is normal distribution, the target standard deviation can be directly determined based on the historical sales standard deviation and the predicted sales standard deviation; if the function distribution type is gamma distribution or negative binomial distribution, the target standard deviation can be directly determined based on the historical sales standard deviation. It is easy to think that the recommended replenishment quantity value obtained on the decision day should be the most consistent with the product sales on the decision day, that is, the recommended replenishment quantity value obtained on the decision day should theoretically be used as the target inventory on the decision day. However, considering that the replenishment quantity is determined on the decision day, or the replenishment cycle has not yet arrived on the decision day, or the replenishment cannot be immediately put into the warehouse on the decision day. The recommended replenishment quantity value obtained on the decision day is actually the predicted sales volume on the replenishment arrival date. The recommended replenishment quantity value obtained on the decision day does not take into account the time delay between the target inventory recommendation date and the replenishment arrival date. The historical sales data does not include the sales volume of the product between the target inventory recommendation date and the replenishment arrival date, which reduces the degree of fit between the target inventory recommendation date and the replenishment arrival date of the product, and increases the deviation between the target inventory on the replenishment arrival date and the actual sales volume after the replenishment arrival date.
[0077] To this end, this embodiment preferably determines the target standard deviation based on the historical sales standard deviation and the predicted sales standard deviation, including: obtaining the time difference between the replenishment arrival date and the target inventory recommended date, and determining the target standard deviation based on the historical sales standard deviation, the predicted sales standard deviation and the time difference; if the function distribution type is a gamma distribution or a negative binomial distribution, determining the target standard deviation based on the historical sales standard deviation, including: if the function distribution type is a gamma distribution or a negative binomial distribution, obtaining the time difference between the replenishment arrival date and the target inventory recommended date, and determining the target standard deviation based on the historical sales standard deviation and the time difference.
[0078] Generally, the product replenishment cycle may be certain, but the delivery time may be uncontrolled, resulting in uncertainty in the time difference between the replenishment arrival date and the target inventory recommendation date. Based on historical experience, the average time difference between each replenishment arrival date and the corresponding target inventory recommendation date can be obtained, and the average historical time difference is used as the time difference between the replenishment arrival date and the target inventory recommendation date obtained on the decision day. Assume that the historical sales standard deviation is m, the predicted sales standard deviation is n, the historical time difference average is L, the standard deviation of the historical time difference is S, and the average predicted sales for each day between the replenishment arrival date and the target inventory recommendation date is D, then The target mean at this time is DL. Then, the target inventory recommendation function can be determined based on the aforementioned target mean and target standard deviation, such as Figure 4 Shown are the target inventory recommendation function curves before and after considering the time difference.
[0079] In this way, the target standard deviation and target mean of this embodiment take into account the sales volume of the product between the target inventory recommendation date and the replenishment arrival date, which can make up for the influence of the time delay between the target inventory recommendation date and the replenishment arrival date on the rationality of the target inventory recommendation value, thereby making the target inventory recommendation value more consistent with the actual future sales volume of the product, and the replenishment quantity recommendation value more reasonable.
[0080] This embodiment also provides a product target inventory determination system based on product classification, such as Figure 5 As shown, including:
[0081] A distribution type identification module is used to obtain the historical sales data of the product and determine the function distribution type of the historical sales data according to the historical sales data;
[0082] A distribution type determination module, used for using the function distribution type as the distribution type of the target inventory recommendation function of the product;
[0083] A target mean calculation module, used to determine the target mean of the target inventory recommendation function;
[0084] A target standard deviation calculation module, used to determine the target standard deviation of the target inventory recommendation function;
[0085] An objective function determination module is used to determine a target inventory recommendation function according to a target mean and a target standard deviation;
[0086] The target inventory calculation module is used to obtain the target service level and determine the target inventory of the product based on the target service level and the target inventory recommendation function.
[0087] The product target inventory determination system of this embodiment determines a target inventory recommendation function that can accurately predict the future sales of the product based on the historical sales data of the product, and then determines the corresponding replenishment quantity based on the target service level selected by the merchant. It can recommend a reasonable replenishment quantity for the merchant to avoid excessive inventory while ensuring that the target service level is achieved, thereby avoiding excessive inventory maintenance costs.
[0088] Furthermore, the preferred distribution type identification module is also used to obtain historical sales data of the product in the off-season if the product is a seasonal product and the replenishment arrival date is in the off-season, and determine the function distribution type according to the historical sales data of the product in the off-season;
[0089] The distribution type identification module is also used to obtain the historical sales data of the product in the peak season if the product is a seasonal product and the replenishment arrival date is the peak season, and determine the function distribution type based on the historical sales data of the product in the peak season.
[0090] In this way, when the product starts selling in the off-season, the function distribution type is determined by the historical sales data of the off-season. When the product starts selling in the peak season, the function distribution type is determined by the historical sales data of the peak season. This can make the target inventory recommendation function fit the actual possible sales in the off-season or peak season, making the recommended replenishment quantity more accurate.
[0091] Based on the same inventive concept as the product target inventory determination method based on product classification described above, this embodiment also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any one of the product target inventory determination methods based on product classification described above are implemented.
[0092] Among them, the bus architecture (represented by the bus), the bus can include any number of interconnected buses and bridges, and the bus links various circuits including one or more processors represented by the processor and memory represented by the memory. The bus can also link various other circuits such as peripherals, voltage regulators, and power management circuits together, which are all well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the receiver and transmitter. The receiver and transmitter can be the same element, namely a transceiver, which provides a unit for communicating with various other devices on a transmission medium. The processor is responsible for managing the bus and general processing, while the memory can be used to store data used by the processor when performing operations.
[0093] Since the electronic device introduced in this embodiment is an electronic device used to implement the product target inventory determination method based on product classification in the embodiment of the present invention, based on the product target inventory determination method based on product classification introduced in the embodiment of the present invention, those skilled in the art can understand the specific implementation of the electronic device of this embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present invention will not be described in detail here. As long as those skilled in the art implement the electronic device used in the product target inventory determination method based on product classification in the embodiment of the present invention, it belongs to the scope of protection of the present invention.
[0094] Based on the same inventive concept as the above-mentioned product target inventory determination method based on product classification, the present invention also provides a computer-readable storage medium, which, when executed, implements any of the above-mentioned product target inventory determination methods based on product classification.
[0095] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0096] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0097] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0098] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0099] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0100] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for determining product target inventory based on product classification, characterized in that: include: Acquire historical sales data of a product, and determine a function distribution type of the historical sales data according to the historical sales data; Using the function distribution type as the distribution type of the target inventory recommendation function of the product; determining a target mean of the target inventory recommendation function; determining a target standard deviation of the target inventory recommendation function; Determine the target inventory recommendation function according to the target mean and the target standard deviation; Obtaining a target service level, and determining a target inventory of the product according to the target service level and the target inventory recommendation function; The function distribution type includes one or more of normal distribution, gamma distribution and negative binomial distribution; The determining of the target mean of the target inventory recommendation function includes: if the function distribution type is a normal distribution, obtaining the future predicted sales volume of the product; using the future predicted sales volume as the target mean; if the function distribution type is a gamma distribution or a negative binomial distribution, obtaining the historical sales mean of the distribution function of the historical sales data; using the historical sales mean as the target mean; The determining of the target standard deviation of the target inventory recommendation function includes: if the function distribution type is a normal distribution, obtaining the historical sales standard deviation of the distribution function of the historical sales data and the historical predicted sales of the product, and calculating the predicted sales standard deviation of the historical predicted sales and the historical actual sales; determining the target standard deviation according to the historical sales standard deviation and the predicted sales standard deviation; if the function distribution type is a gamma distribution or a negative binomial distribution, determining the target standard deviation according to the historical sales standard deviation; The determining the target standard deviation according to the historical sales standard deviation and the predicted sales standard deviation includes: obtaining a time difference between a replenishment arrival date and a target inventory recommendation date, and determining the target standard deviation according to the historical sales standard deviation, the predicted sales standard deviation, and the time difference; Determining the target standard deviation according to the historical sales standard deviation, the predicted sales standard deviation and the time difference includes: L is the average value of the historical time difference, α is the weight, m is the standard deviation of historical sales, n is the standard deviation of predicted sales, D is the average of the predicted sales for each day between the replenishment arrival date and the target inventory recommendation date, and S is the standard deviation of the historical time difference; If the function distribution type is gamma distribution or negative binomial distribution, the target standard deviation is determined according to the historical sales standard deviation, including: if the function distribution type is gamma distribution or negative binomial distribution, the time difference is obtained, and the target standard deviation is determined according to the historical sales standard deviation and the time difference.
2. The method for determining product target inventory based on product classification according to claim 1, characterized in that: The acquiring of historical sales data of the product and determining the function distribution type of the historical sales data according to the historical sales data include: If the product is a seasonal product and the replenishment arrival date is in the off-season, the historical sales data of the product in the off-season is obtained, and the function distribution type is determined according to the historical sales data of the product in the off-season; If the product is a seasonal product and the replenishment arrival date is the peak season, the historical sales data of the product in the peak season is obtained, and the function distribution type is determined according to the historical sales data of the product in the peak season.
3. A product target inventory determination system based on product classification, characterized in that: include: A distribution type identification module, used to obtain historical sales data of a product, and determine a function distribution type of the historical sales data according to the historical sales data; a distribution type determination module, configured to use the function distribution type as the distribution type of the target inventory recommendation function of the product; A target mean value calculation module, used to determine the target mean value of the target inventory recommendation function; A target standard deviation calculation module, used to determine the target standard deviation of the target inventory recommendation function; An objective function determination module, used to determine the target inventory recommendation function according to the target mean and the target standard deviation; A target inventory calculation module, used to obtain a target service level, and determine a target inventory of a product according to the target service level and the target inventory recommendation function; The function distribution type includes one or more of normal distribution, gamma distribution and negative binomial distribution; The determining of the target mean of the target inventory recommendation function includes: if the function distribution type is a normal distribution, obtaining the future predicted sales volume of the product; using the future predicted sales volume as the target mean; if the function distribution type is a gamma distribution or a negative binomial distribution, obtaining the historical sales mean of the distribution function of the historical sales data; using the historical sales mean as the target mean; The determining of the target standard deviation of the target inventory recommendation function includes: if the function distribution type is a normal distribution, obtaining the historical sales standard deviation of the distribution function of the historical sales data and the historical predicted sales of the product, and calculating the predicted sales standard deviation of the historical predicted sales and the historical actual sales; determining the target standard deviation according to the historical sales standard deviation and the predicted sales standard deviation; if the function distribution type is a gamma distribution or a negative binomial distribution, determining the target standard deviation according to the historical sales standard deviation; The determining the target standard deviation according to the historical sales standard deviation and the predicted sales standard deviation includes: obtaining a time difference between a replenishment arrival date and a target inventory recommendation date, and determining the target standard deviation according to the historical sales standard deviation, the predicted sales standard deviation, and the time difference; Determining the target standard deviation according to the historical sales standard deviation, the predicted sales standard deviation and the time difference includes: L is the average value of the historical time difference, α is the weight, m is the standard deviation of historical sales, n is the standard deviation of predicted sales, D is the average of the predicted sales for each day between the replenishment arrival date and the target inventory recommendation date, and S is the standard deviation of the historical time difference; If the function distribution type is gamma distribution or negative binomial distribution, the target standard deviation is determined according to the historical sales standard deviation, including: if the function distribution type is gamma distribution or negative binomial distribution, the time difference is obtained, and the target standard deviation is determined according to the historical sales standard deviation and the time difference.
4. The product target inventory determination system based on product classification according to claim 3, characterized in that: The distribution type identification module is further used for obtaining the historical sales data of the product in the off-season if the product is a seasonal product and the replenishment arrival date is in the off-season, and determining the function distribution type according to the historical sales data of the product in the off-season; The distribution type identification module is also used to obtain the historical sales data of the product in the peak season if the product is a seasonal product and the replenishment arrival date is the peak season, and determine the function distribution type according to the historical sales data of the product in the peak season.
5. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for determining the target inventory of products based on product classification as claimed in any one of claims 1 to 2 is implemented.
6. A computer-readable storage medium, characterized in that: When the computer-readable storage medium is executed, the method for determining the target inventory of products based on product classification according to any one of claims 1 to 2 is implemented.
