Tobacco demand prediction method and device based on stock-sales ratio and medium

By analyzing the historical order data of tobacco commercial enterprises, determining the upper and lower limits of the inventory-to-sales ratio and using the weighting method to allocate order quantities, combined with advanced data analysis and machine learning algorithms, the problem of low accuracy of traditional forecasting methods is solved and the accuracy of tobacco demand forecasting is improved. performance and enterprise inventory management efficiency.

CN118761807APending Publication Date: 2024-10-11CHINA TOBACCO ZHEJIANG IND CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410984171.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Traditional tobacco demand forecasting methods use simple mathematical models or empirical formulas, which cannot fully capture the complexity and uncertainty of the market, resulting in low forecasting accuracy. They also lack the support of advanced data analysis and machine learning algorithms to automatically optimize the forecasting model. This results in low efficiency and difficulty in ensuring accuracy.

Method used

By obtaining the historical order data of tobacco commercial enterprises, sorting and analyzing the weekly distribution characteristics of the data, determining the upper and lower limits of the inventory-to-sales ratio, using the weight or proportion method to allocate the predicted total weekly orders to the daily order volume, combined with advanced data analysis and Machine learning algorithms that optimize predictive models to improve accuracy.

Benefits of technology

It achieves more accurate market demand forecasts, helps companies formulate reasonable inventory strategies, avoids overstocking or out-of-stock phenomena, and improves forecast accuracy and competitiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118761807A_ABST
    Figure CN118761807A_ABST
Patent Text Reader

Abstract

The invention relates to a tobacco demand prediction method and device based on a stock-sales ratio and a medium, and belongs to the technical field of data processing. The method comprises the following steps: acquiring historical order data of each tobacco commercial enterprise, and sorting the historical order data; determining the upper and lower limits of the stock-sales ratio by taking no stockout as a constraint condition and minimizing the cost as an optimization target; the method comprises the following steps: analyzing weekly distribution characteristics of historical order data of a tobacco commercial enterprise to obtain a weekly rule, obtaining weekly order total quantity prediction data according to the weekly rule, and splitting the weekly order total quantity prediction data to every day; and obtaining a fixed arrival period, and obtaining a daily allocation plan according to the calculated upper and lower limits of the stock-sales ratio and daily order quantity prediction. The tobacco demand can be predicted with high precision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a tobacco demand forecasting method, device and medium based on inventory-to-sales ratio. Background Art

[0002] As an important economic field, the tobacco industry's market demand and inventory management have a significant impact on the operation and profit of enterprises. Therefore, it is particularly important to develop an accurate and efficient tobacco demand forecasting system and method.

[0003] However, although the traditional tobacco demand forecast based on inventory-to-sales ratio can reflect the demand and inventory status of the tobacco market to a certain extent, it still has some obvious defects in practical application:

[0004] (1) Since traditional methods usually use simple mathematical models or empirical formulas for forecasting, they cannot fully capture the complexity and uncertainty of the market. Therefore, their forecasting accuracy is often low and it is difficult to meet the needs of enterprises for accurate demand forecasting.

[0005] (2) Traditional methods lack the support of advanced data analysis and machine learning algorithms and cannot automatically optimize forecasting models. This means that companies need to manually adjust parameters or models, which is not only inefficient but also difficult to ensure the accuracy of forecasts. Summary of the invention

[0006] The present disclosure proposes a tobacco demand forecasting method, device and medium based on inventory-to-sales ratio to solve the above technical problems.

[0007] According to a first aspect of the present disclosure, a tobacco demand forecasting method based on the inventory-to-sales ratio is provided, the method comprising: obtaining historical order data of each tobacco commercial enterprise, and organizing the historical order data; determining the upper and lower limits of the inventory-to-sales ratio with no out-of-stock as a constraint condition and minimizing cost as an optimization goal; analyzing the weekly distribution characteristics of the historical order data of the tobacco commercial enterprises to obtain a weekly pattern, obtaining weekly total order volume forecast data according to the weekly pattern, and splitting the weekly total order volume forecast data into each day; obtaining a fixed arrival cycle, and obtaining a daily allocation plan based on the calculated upper and lower limits of the inventory-to-sales ratio and the daily order volume forecast.

[0008] In some embodiments, the historical order data of each tobacco commercial enterprise is obtained and the historical order data is sorted, including: determining the data source, the data source is any one or more of a database, a spreadsheet, and an API interface; obtaining valid fields, wherein the valid fields include the order number, the name of the tobacco commercial enterprise, the address of the tobacco commercial enterprise, the order date, the product name, the product category, and the product sales volume in the historical order data; performing data cleaning on the valid fields; and formatting the cleaned valid fields according to the time period.

[0009] In some embodiments, the determination of the upper and lower limits of the inventory-to-sales ratio with no out-of-stock as a constraint and minimizing cost as an optimization goal includes: S1, defining model parameters; S2, establishing, based on the model parameters, a distribution function of the daily demand for tobacco products that is independent of each other and a demand distribution function within a replenishment cycle, and obtaining a density function of the demand within the replenishment cycle; S3, establishing, based on the model parameters, a cost function expression, the order cost within a replenishment cycle, the expected value of the inventory holding cost within a replenishment cycle, the expected value of the inventory out-of-stock cost within a replenishment cycle, and the ordering fee and inventory holding cost required for a single replenishment within a replenishment cycle, and the expected sum of the out-of-stock cost; S4, determining the maximum inventory-to-sales ratio and the minimum inventory-to-sales ratio based on the results of S2 and S3.

[0010] In some embodiments, the weekly distribution characteristics of historical order data of tobacco commercial enterprises are analyzed to obtain weekly patterns, weekly order volume forecast data is obtained according to the weekly patterns, and the weekly order volume forecast data is split into each day, including: analyzing the weekly distribution characteristics of historical order data of tobacco commercial enterprises to determine weekly patterns; predicting the total order volume for the next week according to the weekly patterns; and allocating the predicted weekly order volume to the daily order volume.

[0011] In some embodiments, the weekly distribution characteristics of historical order data of tobacco commercial enterprises are analyzed to obtain weekly patterns, weekly order total volume forecast data is obtained according to the weekly patterns, and the weekly order total volume forecast data is split into each day, and also includes: comparing the allocated daily forecast daily total volume with historical data to verify accuracy.

[0012] According to a second aspect of the present disclosure, a tobacco demand forecasting device based on inventory-to-sales ratio is provided, comprising: a historical order data acquisition module, used to acquire historical order data of each tobacco commercial enterprise, and organize the historical order data; an inventory-to-sales ratio upper and lower limit determination module, used to determine the inventory-to-sales ratio upper and lower limits with no out-of-stock as a constraint condition and minimizing cost as an optimization goal; a weekly distribution characteristic analysis module, used to analyze the weekly distribution characteristics of the historical order data of tobacco commercial enterprises, obtain a weekly rule, obtain weekly order quantity forecast data according to the weekly rule, and split the weekly order quantity forecast data into each day; an allocation plan determination module, used to obtain a fixed arrival cycle, and obtain a daily allocation plan based on the calculated inventory-to-sales ratio upper and lower limits and daily order quantity forecast.

[0013] According to a third aspect of the present disclosure, a tobacco demand forecasting method based on stock-to-sales ratio is provided, comprising: a memory; and a processor coupled to the memory, the processor being configured to execute the tobacco demand forecasting method based on stock-to-sales ratio as described above based on instructions stored in the memory.

[0014] According to a fourth aspect of the present disclosure, a computer storable medium is provided, characterized in that computer program instructions are stored thereon, and when the instructions are executed by a processor, the tobacco demand forecasting method based on inventory-to-sales ratio as described above is implemented.

[0015] By adopting the above technical scheme, the embodiments of the present disclosure can achieve the following beneficial technical effects: the inventory-to-sales ratio is an important indicator reflecting the relationship between commodity inventory and sales volume. By calculating and analyzing the inventory-to-sales ratio, the current inventory status and sales situation can be understood, and future market demand can be predicted; the weekly regularity is determined by analyzing the weekly distribution characteristics of historical order data of tobacco commercial enterprises; the total order volume for the next week is predicted based on the weekly regularity, and the predicted weekly order volume is allocated to the daily order volume using a weight or proportion method, which can more accurately reflect the tobacco market demand and help enterprises formulate reasonable inventory strategies to avoid inventory backlogs or out-of-stock phenomena; the allocated daily predicted daily total volume is compared with historical data to verify the accuracy, and the weekly regularity of the analysis unit or the prediction method of the prediction unit can be adjusted according to the verification results to improve the prediction accuracy, so that enterprises can better respond to market changes and enhance their competitiveness. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0017] The present disclosure can be more clearly understood from the following detailed description with reference to the accompanying drawings.

[0018] Figure 1is a flow chart showing a tobacco demand forecasting method based on inventory-to-sales ratio according to some embodiments of the present disclosure.

[0019] Figure 2 is a block diagram showing a tobacco demand prediction device based on inventory-to-sales ratio according to some embodiments of the present disclosure.

[0020] Figure 3 is a block diagram showing a tobacco demand prediction device based on inventory-to-sales ratio according to other embodiments of the present disclosure.

[0021] Figure 4 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0022] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0023] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0024] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0025] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0026] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0027] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0028] At present, the tobacco industry is an important economic field, and its market demand and inventory management have a significant impact on the operation and profit of enterprises. Therefore, it is particularly important to develop an accurate and efficient tobacco demand forecasting system and method.

[0029] However, although the traditional inventory-to-sales ratio tobacco demand forecast can reflect the demand and inventory status of the tobacco market to a certain extent, there are still some obvious defects in practical application: because the traditional method usually uses simple mathematical models or empirical formulas for forecasting, it cannot fully capture the complexity and uncertainty of the market. Therefore, its forecast accuracy is often low, and it is difficult to meet the needs of enterprises for accurate demand forecasting. Traditional methods lack the support of advanced data analysis and machine learning algorithms, and cannot automatically optimize the forecasting model. This means that enterprises need to manually adjust parameters or models, which is not only inefficient, but also difficult to ensure the accuracy of the forecast.

[0030] In view of this, the present disclosure proposes a tobacco demand forecasting method, device and medium based on the inventory-to-sales ratio. The inventory-to-sales ratio is an important indicator reflecting the relationship between commodity inventory and sales volume. By calculating and analyzing the inventory-to-sales ratio, the current inventory status and sales situation can be understood, and then future market demand can be predicted; the weekly pattern is determined by analyzing the weekly distribution characteristics of historical order data of tobacco commercial enterprises; the total order volume for the next week is predicted based on the weekly pattern, and the predicted weekly order volume is allocated to the daily order volume using a weight or proportion method, which can more accurately reflect the tobacco market demand and help enterprises formulate reasonable inventory strategies to avoid inventory backlogs or out-of-stock phenomena; by comparing the allocated daily predicted daily total volume with historical data to verify the accuracy, the weekly pattern or forecasting method can be adjusted according to the verification result to improve the forecast accuracy, so that enterprises can better respond to market changes and enhance their competitiveness.

[0031] Figure 1 is a flow chart showing a method for predicting tobacco demand based on inventory-to-sales ratio according to some embodiments of the present disclosure. Figure 1 As shown, the tobacco demand forecasting method based on inventory-to-sales ratio includes steps 110 to 140.

[0032] In step 110, historical order data of each tobacco commercial enterprise is obtained and the historical order data is sorted.

[0033] In some embodiments, the data source is determined, and the data source is any one or more of a database, a spreadsheet, and an API interface; valid fields are obtained, wherein the valid fields include the order number, the name of the tobacco commercial enterprise, the address of the tobacco commercial enterprise, the order date, the product name, the product category, and the product sales volume in the historical order data; data cleaning is performed on the valid fields; and the cleaned valid fields are formatted according to the time period.

[0034] In step 120, the upper and lower limits of the inventory-to-sales ratio are determined with no out-of-stock as the constraint condition and minimizing the cost as the optimization goal.

[0035] In some embodiments, the determination of the upper and lower limits of the inventory-to-sales ratio with no out-of-stock as a constraint and minimizing cost as an optimization goal includes: S1, defining model parameters; S2, establishing, based on the model parameters, a distribution function of the daily demand for tobacco products that is independent of each other and a demand distribution function within a replenishment cycle, and obtaining a density function of the demand within the replenishment cycle; S3, establishing, based on the model parameters, a cost function expression, the order cost within a replenishment cycle, the expected value of the inventory holding cost within a replenishment cycle, the expected value of the inventory out-of-stock cost within a replenishment cycle, and the ordering fee and inventory holding cost required for a single replenishment within a replenishment cycle, and the expected sum of the out-of-stock cost; S4, determining the maximum inventory-to-sales ratio and the minimum inventory-to-sales ratio based on the results of S2 and S3.

[0036] In step 130, weekly distribution characteristics of historical order data of tobacco commercial enterprises are analyzed to obtain weekly rules, and weekly order total volume forecast data is obtained according to the weekly rules, and the weekly order total volume forecast data is split into each day.

[0037] In some embodiments, the weekly distribution characteristics of historical order data of tobacco commercial enterprises are analyzed to obtain weekly patterns, weekly order volume forecast data is obtained according to the weekly patterns, and the weekly order volume forecast data is split into each day, including: analyzing the weekly distribution characteristics of historical order data of tobacco commercial enterprises to determine weekly patterns; predicting the total order volume for the next week according to the weekly patterns; and allocating the predicted weekly order volume to the daily order volume.

[0038] In some embodiments, the weekly distribution characteristics of historical order data of tobacco commercial enterprises are analyzed to obtain weekly patterns, weekly order total volume forecast data is obtained according to the weekly patterns, and the weekly order total volume forecast data is split into each day, and also includes: comparing the allocated daily forecast daily total volume with historical data to verify accuracy.

[0039] In step 140, a fixed delivery cycle is obtained, and a daily allocation plan is obtained based on the calculated upper and lower limits of the inventory-to-sales ratio and the daily order volume forecast.

[0040] With the development of information technology, this paper introduces advanced technologies such as big data and artificial intelligence into the tobacco demand forecasting system. These applications can further improve the accuracy and efficiency of forecasting and provide enterprises with more comprehensive and sophisticated market analysis and management support.

[0041] Define the model parameters as shown in Table 1:

[0042] Table 1 Parameter definition table

[0043]

[0044] Take the product inventory control strategy of X Industrial Company as an example. The maximum inventory-to-sales ratio refers to the number of days that the retailer's maximum inventory can meet market demand, and the minimum inventory-to-sales ratio refers to the number of days that the retailer's minimum inventory can meet demand and ensure customer service levels. Therefore, if you want to control the retailer's inventory through the maximum and minimum inventory-to-sales ratio, you must first determine the retailer's maximum and minimum inventory. Let's start the analysis and derivation process.

[0045] According to the model parameters, the daily demand of tobacco products is subject to independent distribution functions and the demand distribution function within the replenishment cycle, and the density function of the demand within the replenishment cycle is obtained, including:

[0046] According to the model assumptions, the daily demand d of products follows independent distributions, and the distribution function is:

[0047] Therefore, the demand in a replenishment cycle T is , its distribution function is: , taking its derivative, we can get the density function of D as According to the model parameters, the cost function expression is established, including the order cost in a replenishment cycle, the expected value of the inventory holding cost in a replenishment cycle, the expected value of the inventory out-of-stock cost in a replenishment cycle, and the expected sum of the ordering fee, inventory holding cost, and out-of-stock cost required for a single replenishment in a replenishment cycle, including:

[0048] Based on the previous assumptions, we can conclude that the current inventory It is a constant within a replenishment cycle, and the supplier replenishes the retailer regularly, so the following related cost function expression can be obtained.

[0049] The ordering cost in one replenishment cycle is: .

[0050] The expected value of inventory holding cost during a replenishment cycle is: .

[0051] The expected cost of inventory out-of-stock during a replenishment cycle is: .

[0052] The expected sum of the ordering fee, inventory holding cost, and out-of-stock cost required for a single replenishment within a replenishment cycle: .

[0053] Based on the above calculation results, the maximum inventory-to-sales ratio and the minimum inventory-to-sales ratio are determined, including:

[0054] Determination of the maximum inventory-to-sales ratio: yes is a continuous function of , so the expected function of the supply chain single replenishment cost obtained previously is The derivative is:

[0055] ;make: , then: ;because , we can get: .right The derivative is: .

[0056] Therefore, the cost expectation function is a concave function with a minimum expected value. is the optimal maximum inventory quantity.

[0057] By the expression: , after substituting the variables, we get: , thus we get The relationship between the known quantity and the distribution function (obtained by the commercial order data fitting algorithm) is then inverted to obtain , the formula for calculating the highest inventory-to-sales ratio is: . Calculate the algorithm recommendation Finally, in order to reduce the possibility of out-of-stock as much as possible, we finally selected ,in, The number of days between my arrival dates.

[0058] Determination of the minimum inventory-to-sales ratio: From the definition of the minimum inventory-to-sales ratio, we can know that the minimum inventory-to-sales ratio is the number of days that the minimum inventory of a commercial enterprise can meet market demand and ensure customer service level. Ensuring customer service level here is essentially to prevent out-of-stock. Generally, out-of-stock occurs during the replenishment lead time, which requires . It is not enough. To cope with unexpected demand, enterprises will set up safety stocks. For insurance purposes, commercial enterprises should maintain safety stocks while meeting the demand during the replenishment lead time, which constitutes the minimum inventory, and the number of days it is maintained is the minimum inventory-to-sales ratio.

[0059] The calculation of safety stock is based on demand factors, supply factors, inventory strategy and objective conditions, and the calculation of safety stock is based on knowledge of quantity statistics. Therefore, the calculation formula of safety stock is: , where is the standard deviation of the demand rate during the order lead time, L is the length of the order lead time, is the safety factor, which can be found in the safety factor table based on the inventory fulfillment rate or out-of-stock rate. See Table 2 for details.

[0060] Table 2 Safety factor table

[0061]

[0062] In the table, P is the inventory fulfillment rate and Q is the out-of-stock rate.

[0063] To sum up, the calculation formula of the minimum inventory-to-sales ratio is as follows: , where Length of order lead time, Daily demand for tobacco, Safety stock quantity.

[0064] The method analyzes the weekly distribution characteristics of historical order data of tobacco commercial enterprises to obtain a weekly pattern, obtains weekly order volume forecast data according to the weekly pattern, and splits the weekly order volume forecast data into each day, including: analyzing the weekly distribution characteristics of historical order data of tobacco commercial enterprises to determine the weekly pattern; predicting the next week's order volume according to the weekly pattern; and allocating the predicted weekly order volume to the daily order volume.

[0065] The method of analyzing the weekly distribution characteristics of historical order data of tobacco commercial enterprises obtains weekly patterns, obtains weekly order total volume forecast data according to the weekly patterns, splits the weekly order total volume forecast data into each day, and also includes: comparing the allocated daily forecast daily total volume with historical data to verify accuracy.

[0066] The weekly distribution characteristics analysis module includes an analysis unit, which is used to analyze the weekly distribution characteristics of the historical order data of tobacco commercial enterprises and determine the weekly law; a prediction unit, which predicts the total order volume of the next week based on the weekly law; an allocation unit, which considers the impact of seasonal factors on the prediction results and uses a weight method or a proportion method to allocate the predicted weekly order volume to the daily order volume;

[0067] The weekly distribution characteristics analysis module also includes: a verification unit, which compares the daily total amount of the allocated daily forecast with historical data to verify the accuracy; and a calibration unit, which adjusts the weekly law of the analysis unit or the forecast method of the forecast unit according to the verification result.

[0068] Collect daily order data from the past few weeks or months, clean the data, remove outliers and incomplete data, group the data by week, and calculate the total amount for each week.

[0069] Data comparison and statistical methods such as mean, median, mode, etc., describe the weekly pattern determined by the characteristics of daily order volume.

[0070] The above-mentioned prediction methods include: a method of predicting the total order volume of the next week by using a time series ARIMA prediction model or a time series LSTM prediction model.

[0071] Introduce more advanced data analysis techniques and machine learning algorithms to improve the accuracy and efficiency of predictions.

[0072] In the tobacco demand forecasting method based on the inventory-to-sales ratio of the embodiment of the present disclosure, the inventory-to-sales ratio is an important indicator reflecting the relationship between commodity inventory and sales volume. By calculating and analyzing the inventory-to-sales ratio, the current inventory status and sales situation can be understood, and then future market demand can be predicted; the weekly distribution characteristics of the historical order data of tobacco commercial enterprises are analyzed to determine the weekly pattern; the total order volume for the next week is predicted based on the weekly pattern, and the predicted weekly order volume is allocated to the daily order volume using a weight or proportion method, which can more accurately reflect the tobacco market demand and help enterprises formulate reasonable inventory strategies to avoid inventory backlogs or out-of-stock phenomena; by comparing the allocated daily predicted daily total volume with historical data to verify the accuracy, the weekly pattern of the analysis unit or the prediction method of the prediction unit can be adjusted according to the verification results to improve the prediction accuracy, so that enterprises can better respond to market changes and enhance their competitiveness.

[0073] Figure 2 is a block diagram showing a tobacco demand prediction device based on inventory-to-sales ratio according to some embodiments of the present disclosure. Figure 2 As shown, the tobacco demand forecasting device 200 based on the inventory-to-sales ratio includes a historical order data acquisition module 210, an inventory-to-sales ratio upper and lower limit determination module 220, a weekly distribution characteristic analysis module 230, and an allocation planning determination module 240.

[0074] The historical order data acquisition module 210 is configured to acquire the historical order data of each tobacco commercial enterprise and organize the historical order data;

[0075] The inventory-to-sales ratio upper and lower limit determination module 220 is configured to determine the inventory-to-sales ratio upper and lower limits with no shortage as a constraint condition and minimizing cost as an optimization goal;

[0076] The weekly distribution characteristic analysis module 230 is configured to analyze the weekly distribution characteristics of the historical order data of the tobacco commercial enterprise, obtain a weekly rule, obtain weekly order total volume forecast data according to the weekly rule, and split the weekly order total volume forecast data into each day;

[0077] The allocation plan determination module 240 is configured to obtain a fixed delivery cycle and obtain a daily allocation plan based on the calculated upper and lower limits of the inventory-to-sales ratio and the daily order volume forecast.

[0078] In the device of the embodiment of the present disclosure, the inventory-to-sales ratio is an important indicator reflecting the relationship between commodity inventory and sales volume. By calculating and analyzing the inventory-to-sales ratio, the current inventory status and sales situation can be understood, and then future market demand can be predicted; the weekly pattern is determined by analyzing the weekly distribution characteristics of historical order data of tobacco commercial enterprises; the total order volume for the next week is predicted based on the weekly pattern, and the predicted weekly order volume is allocated to the daily order volume using a weight or proportion method, which can more accurately reflect the tobacco market demand and help companies formulate reasonable inventory strategies to avoid inventory backlogs or out-of-stock phenomena; the allocated daily predicted daily total volume is compared with historical data to verify the accuracy, and the weekly pattern of the analysis unit or the prediction method of the prediction unit can be adjusted according to the verification results to improve the prediction accuracy, so that companies can better respond to market changes and enhance their competitiveness.

[0079] Figure 3 is a block diagram showing a tobacco demand prediction device based on inventory-to-sales ratio according to other embodiments of the present disclosure.

[0080] like Figure 3 As shown, the tobacco demand prediction device 300 based on the inventory-to-sales ratio includes a memory 310; and a processor 320 coupled to the memory 310. The memory 310 is used to store instructions for executing the tobacco demand prediction method based on the inventory-to-sales ratio corresponding to the embodiment. The processor 320 is configured to execute the tobacco demand prediction method based on the inventory-to-sales ratio in any of the embodiments of the present disclosure based on the instructions stored in the memory 310.

[0081] Figure 4 is a block diagram showing a computer system for implementing some embodiments of the present disclosure. Figure 4 As shown, computer system 400 may be embodied in the form of a general purpose computing device. Computer system 400 includes memory 410, processor 420, and bus 430 that connects various system components.

[0082] The memory 410 may include, for example, a system memory, a non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs. The system memory may include a volatile storage medium, such as a random access memory (RAM) and / or a cache memory. The non-volatile storage medium may store, for example, instructions for executing at least one of the corresponding embodiments of the method for predicting tobacco demand based on inventory-to-sales ratio. The non-volatile storage medium may include, but is not limited to, a disk storage, an optical storage, a flash memory, etc.

[0083] The processor 420 can be implemented by a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistors, and other discrete hardware components. Accordingly, each module such as the historical order data acquisition module, the inventory-to-sales ratio upper and lower limit determination module, the weekly distribution characteristics analysis module, and the transfer planning determination module can be implemented by the central processing unit (CPU) running the instructions in the memory that execute the corresponding steps, or can be implemented by a dedicated circuit that executes the corresponding steps.

[0084] The bus 430 may use any of a variety of bus architectures, including, but not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, and a Peripheral Component Interconnect (PCI) bus.

[0085] The computer system 400 may also include an input / output interface 440, a network interface 450, a storage interface 460, etc. These interfaces 440, 450, 460, the memory 410, and the processor 420 may be connected via a bus 430. The input / output interface 440 may provide a connection interface for input / output devices such as a display, a mouse, and a keyboard. The network interface 450 may provide a connection interface for various networked devices. The storage interface 460 may provide a connection interface for external storage devices such as a floppy disk, a USB flash drive, and an SD card.

[0086] Here, various aspects of the present disclosure are described with reference to flowcharts and / or block diagrams of methods, devices, and computer program products according to embodiments of the present disclosure. It should be understood that each frame of the flowchart and / or block diagram and the combination of frames can be implemented by computer-readable program instructions.

[0087] These computer-readable program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable device to produce a machine, so that the processor executes the instructions to produce means for implementing the functions specified in one or more blocks in the flowchart and / or block diagram.

[0088] These computer-readable program instructions may also be stored in a computer-readable memory, which cause the computer to work in a specific manner to produce an article of manufacture, including instructions for implementing the functions specified in one or more blocks in the flowchart and / or block diagram.

[0089] The present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects.

[0090] In the present disclosure, the inventory-to-sales ratio is an important indicator that reflects the relationship between commodity inventory and sales volume. By calculating and analyzing the inventory-to-sales ratio, the current inventory status and sales situation can be understood, and then future market demand can be predicted; the weekly pattern is determined by analyzing the weekly distribution characteristics of historical order data of tobacco commercial enterprises; the total order volume for the next week is predicted based on the weekly pattern, and the predicted weekly order volume is allocated to the daily order volume using a weight or proportion method, which can more accurately reflect the tobacco market demand and help companies formulate reasonable inventory strategies to avoid inventory backlogs or out-of-stock phenomena; the allocated daily predicted daily total volume is compared with historical data to verify its accuracy, and the weekly pattern of the analysis unit or the prediction method of the prediction unit can be adjusted according to the verification results to improve the prediction accuracy, so that companies can better respond to market changes and enhance their competitiveness.

[0091] So far, the tobacco demand forecasting method, device and medium based on inventory-to-sales ratio according to the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Those skilled in the art can fully understand how to implement the technical solution disclosed here based on the above description.

[0092] Although some specific embodiments of the present disclosure have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. A tobacco demand forecasting method based on inventory-to-sales ratio, It is characterized in that The method comprises: Obtaining historical order data of each tobacco commercial enterprise and organizing the historical order data; Taking no out-of-stock as the constraint condition and minimizing cost as the optimization goal, determine the upper and lower limits of the inventory-to-sales ratio; Analyze the weekly distribution characteristics of historical order data of tobacco commercial enterprises to obtain weekly rules, obtain weekly order volume forecast data according to the weekly rules, and split the weekly order volume forecast data into each day; Obtain a fixed delivery cycle, and obtain a daily allocation plan based on the calculated upper and lower limits of the inventory-to-sales ratio and the daily order volume forecast.

2. The tobacco demand forecasting method based on inventory-to-sales ratio according to claim 1, It is characterized in that The obtaining of historical order data of each tobacco commercial enterprise and arranging the historical order data include: Determine the data source, which may be any one or more of a database, a spreadsheet, and an API interface; Acquire valid fields, wherein the valid fields include order number, tobacco commercial enterprise name, tobacco commercial enterprise address, order date, product name, product category, and product sales volume in historical order data; Performing data cleaning on the valid fields; The cleaned valid fields are formatted according to the time period.

3. The tobacco demand forecasting method based on inventory-to-sales ratio according to claim 1, It is characterized in that The above-mentioned constraint of not having out-of-stock situation and minimizing cost as the optimization goal is to determine the upper and lower limits of the inventory-to-sales ratio, including: S1, define model parameters; S2, based on the model parameters, establish the independent distribution function of the daily demand for tobacco products and the demand distribution function within the replenishment cycle, and obtain the density function of the demand within the replenishment cycle; S3, based on the model parameters, establish the cost function expression, which includes the order cost in a replenishment cycle, the expected value of the inventory holding cost in a replenishment cycle, the expected value of the inventory out-of-stock cost in a replenishment cycle, and the expected sum of the ordering fee, inventory holding cost, and out-of-stock cost required for a single replenishment in a replenishment cycle; S4, based on the results of S2 and S3, determine the highest inventory-to-sales ratio and the lowest inventory-to-sales ratio.

4. The tobacco demand forecasting method based on inventory-to-sales ratio according to claim 1, It is characterized in that The weekly distribution characteristics of the historical order data of tobacco commercial enterprises are analyzed to obtain a weekly rule, and the weekly order total volume forecast data is obtained according to the weekly rule. The weekly order total volume forecast data is split into each day, including: Analyze the weekly distribution characteristics of historical order data of tobacco commercial enterprises and determine the weekly pattern; Predict the total number of orders for the next week based on weekly patterns; Allocate the predicted total weekly order volume to the daily order volume.

5. The tobacco demand forecasting method based on inventory-to-sales ratio according to claim 4, It is characterized in that The method of analyzing the weekly distribution characteristics of historical order data of tobacco commercial enterprises obtains weekly patterns, obtains weekly order total volume forecast data according to the weekly patterns, splits the weekly order total volume forecast data into each day, and also includes: comparing the allocated daily forecast daily total volume with historical data to verify accuracy.

6. A tobacco demand forecasting device based on inventory-to-sales ratio, It is characterized in that include: A historical order data acquisition module is used to acquire the historical order data of each tobacco commercial enterprise and organize the historical order data; The upper and lower limits determination module of the inventory-to-sales ratio is used to determine the upper and lower limits of the inventory-to-sales ratio with no shortage as the constraint condition and minimizing the cost as the optimization goal; A weekly distribution characteristics analysis module is used to analyze the weekly distribution characteristics of historical order data of tobacco commercial enterprises, obtain weekly rules, obtain weekly order total volume forecast data according to the weekly rules, and split the weekly order total volume forecast data into each day; The allocation plan determination module is used to obtain a fixed arrival cycle and obtain a daily allocation plan based on the calculated upper and lower limits of the inventory-to-sales ratio and the daily order volume forecast.

7. A tobacco demand forecasting method based on inventory-to-sales ratio, It is characterized in that include: Memory; as well as A processor coupled to the memory, the processor being configured to execute the tobacco demand forecasting method based on inventory-to-sales ratio according to any one of claims 1 to 5 based on instructions stored in the memory.

8. A computer storable medium, It is characterized in that Computer program instructions are stored thereon, and when the instructions are executed by a processor, a tobacco demand forecasting method based on inventory-to-sales ratio as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Cigarette retailer order prediction method and system

    CN115439155A

  • Cigarette goods source accurate network distribution method and network distribution system based on model distribution

    CN117057536A

  • Online cargo allocation processing method and device and storage medium

    CN117893132A