Method and device for determining sales volume, electronic equipment and storage medium

By segmenting sales volume into different types within the supply chain and assigning weights for weighted calculations, the issues of accuracy and efficiency in sales forecasting are resolved, resulting in more accurate sales forecasts and shorter calculation times.

CN119006033APending Publication Date: 2024-11-22BEIJING XIAOMI MOBILE SOFTWARE CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310583312.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-22
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In existing technologies, the target sales volume in the sales forecast of the supply chain differs greatly from the actual sales volume, resulting in product shortages or stockpiles, affecting the operation of the supply chain, and existing forecasting methods are inefficient.

Method used

By obtaining the historical sales volume of the target product within a preset historical time range, the sales volume is divided into categories, the weight value corresponding to the sales volume category is determined, and a weighted calculation is performed to determine the target sales volume.

Benefits of technology

It simplifies the calculation process, improves the accuracy of sales forecasting, reduces deviations, and shortens calculation time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119006033A_ABST
    Figure CN119006033A_ABST
Patent Text Reader

Abstract

The invention relates to a sales volume determination method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a plurality of first historical sales volumes of a target commodity in a first preset historical time range; according to the first historical sales volume, determining a target commodity sales volume type corresponding to the target commodity from a plurality of preset commodity sales volume types; obtaining a second historical sales volume corresponding to the target commodity sales volume type; according to the second historical sales volume, determining a plurality of weight values corresponding to the target commodity sales volume type; the plurality of weight values are in one-to-one correspondence with the preset historical time periods; determining a target sales volume of the target commodity according to the plurality of first historical sales volumes and the plurality of weight values; by dividing the commodities into different sales volume types and then determining the sales volume of the commodities, the operation process is simplified, the accuracy of determining the sales volume is improved, the deviation in the process of determining the sales volume of the commodities is reduced, and the operation time is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of big data analysis, and in particular to a method, device, electronic device and storage medium for determining sales volume. Background Art

[0002] The three core elements of the supply chain are sales forecasting, replenishment planning, and inventory planning. Sales forecasting refers to the situation where a specified location (factory, supplier, or warehouse) needs to be replenished, and the target sales volume that a product may achieve can be determined based on the product's historical sales volume. However, the target sales volume determined by the above method is quite different from the actual sales volume, which can cause product shortages or product backlogs, affecting the overall operation of the supply chain. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a method, device, electronic device and storage medium for determining sales volume.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for determining sales volume is provided, the method comprising:

[0005] Acquire multiple first historical sales volumes of a target product within a first preset historical time range; the first preset historical time range includes multiple preset historical time periods, and the multiple first historical sales volumes correspond one to one with the multiple preset historical time periods;

[0006] Determining a target commodity sales type corresponding to the target commodity from a plurality of preset commodity sales types according to the first historical sales;

[0007] Acquire a second historical sales volume corresponding to the sales volume type of the target product, where the second historical sales volume includes the total sales volume of one or more products belonging to the sales volume type of the target product within the first preset historical time range; the one or more products include the target product;

[0008] Determine, according to the second historical sales volume, a plurality of weight values ​​corresponding to the sales volume type of the target product; the plurality of weight values ​​correspond to the preset historical time period one by one;

[0009] A target sales volume for the target commodity is determined according to the multiple first historical sales volumes and the multiple weight values.

[0010] Optionally, determining, according to the second historical sales volume, a plurality of weight values ​​corresponding to the sales volume type of the target product includes:

[0011] The second historical sales volume is used as an input of a preset weight value determination model to obtain the multiple weight values ​​output by the preset weight value determination model.

[0012] Optionally, determining the target sales volume of the target commodity according to the multiple first historical sales volumes and the multiple weight values ​​includes:

[0013] Performing a weighted calculation on the multiple first historical sales volumes according to the multiple weight values ​​to obtain candidate sales volumes of the target product;

[0014] The target sales volume is determined according to the candidate sales volume.

[0015] Optionally, determining the target sales volume according to the candidate sales volume includes:

[0016] Using the candidate sales volume as the target sales volume; or,

[0017] The minimum storage unit corresponding to the target product is obtained, and the candidate sales volume is updated according to the minimum storage unit to obtain the target sales volume.

[0018] Optionally, updating the candidate sales volume according to the minimum storage unit to obtain the target sales volume includes:

[0019] Determine a preset storage range corresponding to the candidate sales volume according to the minimum storage unit corresponding to the target product;

[0020] The target sales volume is determined according to the preset storage range and the candidate sales volume.

[0021] Optionally, the preset commodity sales type includes a plurality of preset sales ratio ranges; the target commodity sales type includes a target sales ratio range; and determining the target commodity sales type corresponding to the target commodity from the plurality of preset commodity sales types according to the target historical sales includes:

[0022] Determine a target sales ratio corresponding to the target product according to the first historical sales; the target sales ratio refers to the ratio of the first historical sales to the total historical sales; the total historical sales is the total sales of multiple products within the first preset historical time range, and the multiple products include the target product;

[0023] The preset sales volume share range within which the target sales volume share falls is used as the target sales volume share range.

[0024] Optionally, the preset commodity sales type includes: a plurality of preset sales statistical parameter ranges, and the target commodity sales type includes a target sales statistical parameter range; and determining the target commodity sales type corresponding to the target commodity from the plurality of preset commodity sales types according to the target historical sales includes:

[0025] Obtaining a third historical sales volume of the target product within a second preset historical time range, and calculating a sales volume statistical parameter corresponding to the target product according to the third historical sales volume; the second preset time range is greater than or equal to the first preset time range;

[0026] The preset sales statistics parameter range within which the sales statistics parameter falls is used as the target sales statistics parameter range.

[0027] According to a second aspect of an embodiment of the present disclosure, a device for determining sales volume is provided, the device comprising:

[0028] A first acquisition module is configured to acquire a plurality of first historical sales volumes of a target product within a first preset historical time range; the first preset historical time range includes a plurality of preset historical time periods, and the plurality of first historical sales volumes correspond one to one to the plurality of preset historical time periods;

[0029] A first determination module is configured to determine a target commodity sales type corresponding to the target commodity from a plurality of preset commodity sales types according to the first historical sales;

[0030] A second acquisition module is configured to acquire a second historical sales volume corresponding to the sales volume type of the target product, wherein the second historical sales volume includes a total sales volume of one or more products belonging to the sales volume type of the target product within the first preset historical time range; the one or more products include the target product;

[0031] A second determination module is configured to determine a plurality of weight values ​​corresponding to the sales volume type of the target commodity according to the second historical sales volume; the plurality of weight values ​​correspond to the preset historical time period one by one;

[0032] The third determination module is configured to determine the target sales volume of the target product according to the multiple first historical sales volumes and the multiple weight values.

[0033] Optionally, the device further comprises:

[0034] The fourth determination module is configured to use the second historical sales volume as an input of a preset weight value determination model to obtain the multiple weight values ​​output by the preset weight value determination model.

[0035] Optionally, the device further comprises:

[0036] The fifth determination module is configured to perform a weighted operation on the multiple first historical sales volumes according to the multiple weight values ​​to obtain candidate sales volumes of the target product; and determine the target sales volume according to the candidate sales volumes.

[0037] Optionally, the device further comprises:

[0038] The sixth determination module is configured to use the candidate sales volume as the target sales volume; or, obtain the minimum storage unit corresponding to the target product, and update the candidate sales volume according to the minimum storage unit to obtain the target sales volume.

[0039] Optionally, the device further comprises:

[0040] The seventh determination module is configured to determine the preset storage range corresponding to the candidate sales volume according to the minimum storage unit corresponding to the target product; and determine the target sales volume according to the preset storage range and the candidate sales volume.

[0041] Optionally, the preset commodity sales type includes a plurality of preset sales ratio ranges; the target commodity sales type includes a target sales ratio range; and the device further includes:

[0042] An eighth determination module is configured to determine the target sales ratio corresponding to the target product based on the first historical sales volume; the target sales ratio refers to the ratio of the first historical sales volume to the total historical sales volume; the total historical sales volume is the total sales volume of multiple products within the first preset historical time range, and the multiple products include the target product; the preset sales ratio range within which the target sales ratio is located is used as the target sales ratio range.

[0043] Optionally, the preset commodity sales type includes: a plurality of preset sales statistical parameter ranges, the target commodity sales type includes a target sales statistical parameter range; and the device further includes:

[0044] The ninth determination module is configured to obtain the third historical sales volume of the target product within a second preset historical time range, and calculate the sales statistical parameters corresponding to the target product based on the third historical sales volume; the second preset time range is greater than or equal to the first preset time range; and the preset sales statistical parameter range where the sales statistical parameters are located is used as the target sales statistical parameter range.

[0045] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0046] processor;

[0047] a memory for storing processor-executable instructions;

[0048] Wherein, the processor is configured to execute the steps of the method for determining sales volume provided in the first aspect of the present disclosure.

[0049] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the method for determining sales volume provided in the first aspect of the present disclosure are implemented.

[0050] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: by dividing the goods into different sales types and then determining the sales of the goods, the calculation process is simplified, the accuracy of determining the sales is improved, the deviation of the process of determining the sales of the goods is reduced, and the calculation time is shortened.

[0051] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0053] Figure 1 The present invention is a flow chart showing a method for determining sales volume according to an exemplary embodiment.

[0054] Figure 2 is a schematic diagram showing a target sales volume according to an exemplary embodiment.

[0055] Figure 3 The present invention is a structural block diagram of a device for determining sales volume according to an exemplary embodiment.

[0056] Figure 4 The present invention is a structural block diagram of an electronic device according to an exemplary embodiment.

[0057] Figure 5 It is a structural block diagram of another electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0058] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0059] First, the application scenario of the present disclosure is introduced. The present disclosure is applied in the scenario of determining the sales volume of goods, for example, it can be a scenario of predicting the sales volume of goods. The three cores of the supply chain are sales forecasting, replenishment planning, and inventory planning. Among them, sales forecasting refers to the situation where replenishment is needed at a specified location (factory, supplier, or warehouse), and the target sales volume that may be achieved for the product can be determined based on the historical sales volume of the product. However, the target sales volume determined by the above method is quite different from the actual sales volume, resulting in shortages or backlogs of goods, affecting the overall operation of the supply chain. It should be noted that the deviation of sales volume can be characterized by a deviation rate. For example, the deviation rate can be the mean absolute percentage error (MAPE).

[0060] In the related technology, the sales volume of goods can be predicted through a preset network model. However, due to the wide variety of goods and the long historical sales cycle, a large amount of sales data will be generated. It takes a long time to train the model, resulting in low accuracy of the prediction results and low work efficiency.

[0061] In order to solve the above problems, the present disclosure provides a method, device, electronic device and storage medium for determining sales volume, by obtaining multiple first historical sales volumes of a target product within a first preset historical time range; determining a target product sales volume type corresponding to the target product from multiple preset product sales volume types based on the first historical sales volume; obtaining a second historical sales volume corresponding to the target product sales volume type; determining multiple weight values ​​corresponding to the target product sales volume type based on the second historical sales volume; the multiple weight values ​​correspond to the preset historical time period one by one; determining the target sales volume of the target product based on the multiple first historical sales volumes and the multiple weight values; by dividing the products into different sales volume types and then determining the sales volume of the products, the calculation process is simplified, the accuracy of determining sales volume is improved, the deviation of the process of determining product sales volume is reduced, and the calculation time is shortened.

[0062] Figure 1 is a flow chart showing a method for determining sales volume according to an exemplary embodiment. Figure 1 As shown, the process includes the following steps.

[0063] In step S101, a plurality of first historical sales volumes of a target product within a first preset historical time range are obtained.

[0064] Among them, the first preset historical time range includes multiple preset historical time periods, and the multiple first historical sales volumes correspond one-to-one to the multiple preset historical time periods.

[0065] For example, the first preset historical time range may be 3-10 days, for example, 3 days, 5 days, 7 days or 10 days, etc., which is not limited here. The preset historical time period may be a certain day in the first preset historical time range; the first historical sales volume may be the first historical sales volume corresponding to the preset historical time period.

[0066] For example, when the first preset historical time range is 5 days, the multiple preset historical time periods may include 5 preset historical time periods, namely, the first preset historical time period, the second preset historical time period, the third preset historical time period, the fourth preset historical time period and the fifth preset historical time period; the multiple first historical sales volumes may include 5 first historical sales volumes, namely, the first historical sales volume corresponding to the first preset historical time period, the first historical sales volume corresponding to the second preset historical time period, the first historical sales volume corresponding to the third preset historical time period, the first historical sales volume corresponding to the fourth preset historical time period and the first historical sales volume corresponding to the fifth preset historical time period.

[0067] In step S102, based on the first historical sales volume, a target commodity sales volume type corresponding to the target commodity is determined from a plurality of preset commodity sales volume types.

[0068] In some embodiments, the preset commodity sales type may include multiple preset sales share ranges; the target commodity sales type may include a target sales share range; the above-mentioned determination of the target commodity sales type corresponding to the target commodity from multiple preset commodity sales types based on the target historical sales may include: determining the target sales share corresponding to the target commodity based on the first historical sales; the target sales share refers to the share of the first historical sales in the total historical sales; the total historical sales is the total sales of multiple commodities within the first preset historical time range, and the multiple commodities include the target commodity; the preset sales share range where the target sales share is located is used as the target sales share range.

[0069] For example, the preset sales volume ratio range can be a range set by the user according to the product type, so the number and range size of the preset sales volume ratio range are not limited. For example, the preset sales volume ratio range can include 3 sales levels, namely S level, A level and B level; the S level means that the first historical sales volume accounts for the top 30% of the total historical sales volume, the A level means that the first historical sales volume accounts for the middle 40% of the total historical sales volume, and the B level means that the first historical sales volume accounts for the bottom 30% of the total historical sales volume.

[0070] For example, the sales level at which the target sales volume ratio is located can be determined, and the sales level can be used as the target sales volume ratio range. For example, when the target sales volume ratio is determined to be level S, level S can be used as the target sales volume ratio range. In this way, the sales volume type of the product can be determined based on data within a shorter period, so that the amount of data used for calculation is small, thereby simplifying the calculation process.

[0071] In other embodiments, the preset commodity sales type may include multiple preset sales statistical parameter ranges, and the target commodity sales type includes a target sales statistical parameter range; the above-mentioned determination of the target commodity sales type corresponding to the target commodity from multiple preset commodity sales types based on the target historical sales may include: obtaining the third historical sales of the target commodity within a second preset historical time range, and calculating the sales statistical parameter corresponding to the target commodity based on the third historical sales; the second preset time range is greater than or equal to the first preset time range; and taking the preset sales statistical parameter range where the sales statistical parameter is located as the target sales statistical parameter range.

[0072] For example, the second preset historical time range may be within the range of 3-1095 days, such as 3 days, 5 days, 30 days, 90 days, 365 days or 1095 days, etc.; the preset sales statistics parameter range may be a range determined according to the commodity type, so the number and range size of the preset sales statistics parameter range are not limited. For example, the preset sales statistics parameter may be a standard deviation, and the standard deviation range may include 5 ranges, namely (0-0.3), (0.3-0.5), (0.5-0.7), (0.7-0.9) and (0.9-∞).

[0073] For example, the standard deviation corresponding to the target product can be calculated based on the third historical sales volume, and the standard deviation range of the standard deviation is used as the target sales volume statistical parameter range. For example, when the standard deviation is calculated to be within the range of (0-0.3), the range of (0-0.3) can be used as the target sales volume statistical parameter range. In this way, the sales volume type of the product can also be determined through the sales volume statistical parameters, thereby improving the accuracy of product classification.

[0074] In step S103, the second historical sales volume corresponding to the sales volume type of the target product is obtained.

[0075] The second historical sales volume includes the total sales volume of one or more commodities belonging to the sales volume type of the target commodity within the first preset historical time range; the one or more commodities include the target commodity.

[0076] In step S104, multiple weight values ​​corresponding to the sales volume type of the target product are determined based on the second historical sales volume.

[0077] Among them, the multiple weight values ​​correspond to the preset historical time period one by one.

[0078] In some embodiments, determining the multiple weight values ​​corresponding to the sales type of the target product based on the second historical sales volume may include: using the second historical sales volume as the input of a preset weight value determination model to obtain the multiple weight values ​​output by the preset weight value determination model.

[0079] For example, the preset weight value determination model may be:

[0080] Min:∑|slack i |;

[0081] The preset weight value determination model may also include a constraint condition, which may be:

[0082] Sales i,T-1 =weight i,T-5 *sales i,T-5 +weight i,T-4 *sales i,T-4 +weight i,T-3 *sales i,T-3 +weight i,T-2 *sales i,T-2 .

[0083] Where i can be a target product, which can be a material; slack i It can be the weight value of the target product. Taking the first preset historical time range of 5 days as an example, the current date is recorded as T; the first preset historical time period is the day before the current date, recorded as T-1; the second preset historical time period is two days before the current date, recorded as T-2; the third preset historical time period is three days before the current date, recorded as T-3; the fourth preset historical time period is four days before the current date, recorded as T-4; the fifth preset historical time period is five days before the current date, recorded as T-5.

[0084] The target sales volume of the target product on the current date is recorded as sales T , then the first historical sales volume of the target product in the first preset historical time period is recorded as sales i,T-1 , the first historical sales volume corresponding to the second preset historical time period is recorded as sales i,T-2 , the first historical sales volume corresponding to the third preset historical time period is recorded as sales i,T-3 , the first historical sales volume corresponding to the fourth preset historical time period is recorded as sales i,T-4 , the first historical sales volume corresponding to the fifth preset historical time period is recorded as sales i,T-5The weight value of the target product in the first preset historical time period is recorded as weight i,T-1 , the weight value corresponding to the second preset historical time period is recorded as weight i,T-2 , the weight value corresponding to the third preset historical time period is recorded as weight i,T-3 , the weight value corresponding to the fourth preset historical time period is recorded as weight i,T-4 , the weight value corresponding to the fifth preset historical time period is recorded as weight i,T-5 .

[0085] It should be noted that, in other embodiments, when determining the target sales volume for commodities belonging to the same category as the target commodity, the weight value of the target commodity may be used. Alternatively, when determining the target sales volume for commodities belonging to the same sales statistical parameters as the target commodity, the weight value of the target commodity may be used. In this way, the calculation process can be simplified, the calculation time can be reduced, and the work efficiency can be improved.

[0086] In step S105, a target sales volume of the target commodity is determined according to the multiple first historical sales volumes and the multiple weight values.

[0087] In some embodiments, determining the target sales volume of the target product based on the multiple first historical sales volumes and the multiple weight values ​​may include: performing weighted operations on the multiple first historical sales volumes based on the multiple weight values ​​to obtain candidate sales volumes of the target product; and determining the target sales volume based on the candidate sales volumes.

[0088] For example, a preset sales volume determination function may be used to perform a weighted operation on the multiple first historical sales volumes according to the multiple weight values, thereby determining the target sales volume of the target product. For example, the preset sales volume determination function may be:

[0089] X=sales T =weight T-1 *sales T-1 +weight T-2 *sales T-2 +

[0090] weight T-3 *sales T-3 +weight T-4 *sales T-4 +weight T-5 *sales T-5

[0091] Where X can be the candidate sales volume of the target product on the current date. For example, the target sales volume of the target product on the current date can be recorded as sales T, then the first historical sales volume of the target product in the first preset historical time period is recorded as sales T-1 , the first historical sales volume corresponding to the second preset historical time period is recorded as sales T-2 , the first historical sales volume corresponding to the third preset historical time period is recorded as sales T-3 , the first historical sales volume corresponding to the fourth preset historical time period is recorded as sales T-4 , the first historical sales volume corresponding to the fifth preset historical time period is recorded as sales T-5 The weight value of the target product in the first preset historical time period is recorded as weight T-1 , the weight value corresponding to the second preset historical time period is recorded as weight T-2 , the weight value corresponding to the third preset historical time period is recorded as weight T-3 , the weight value corresponding to the fourth preset historical time period is recorded as weight T-4 , the weight value corresponding to the fifth preset historical time period is recorded as weight T-5 In this way, the candidate sales volume obtained through the above calculation can be used as the target sales volume, so that the target sales volume of the target product can be determined relatively quickly, thereby improving work efficiency.

[0092] In other embodiments, determining the target sales volume based on the candidate sales volume may include: using the candidate sales volume as the target sales volume; or obtaining the minimum storage unit corresponding to the target product, and updating the candidate sales volume based on the minimum storage unit to obtain the target sales volume.

[0093] In some embodiments, the above-mentioned updating of the candidate sales volume according to the minimum storage unit to obtain the target sales volume may include: determining a preset storage range corresponding to the candidate sales volume according to the minimum storage unit corresponding to the target product; and determining the target sales volume according to the preset storage range and the candidate sales volume.

[0094] For example, the candidate sales volume may be updated by a preset sales volume correction function to obtain the target sales volume; the preset sales volume correction function may be:

[0095]

[0096] Among them, y can be the target sales volume; m can be a preset value, which can be a positive integer with a starting value of 0; n can be a minimum storage unit, which is a preset value determined according to the packaging parameters of the product and is not limited here. In this way, the candidate sales volume can be corrected by the preset sales volume correction function to further improve the accuracy of the target sales volume.

[0097] Figure 2is a schematic diagram of a target sales volume obtained based on the above preset sales volume correction function. Figure 2 As shown, when the minimum storage unit n is 5, the target sales volume presents a step-type distribution according to the preset storage range corresponding to the candidate sales volume. When the candidate sales volume X<5, the target sales volume y is 0; when the candidate sales volume 5≤X<10, the target sales volume y is 5; when the candidate sales volume 10≤X<15, the target sales volume y is 10; when the candidate sales volume 15≤X<20, the target sales volume y is 15.

[0098] It should be noted that the preset weight value determination model can be solved by a solver. For example, the solution time can be in the range of 0-3 minutes, for example, 30 seconds, 1 minute, 2 minutes or 3 minutes. Since the amount of data to be calculated is small, the solution time is short.

[0099] According to the above scheme, by dividing the goods into different sales types and then determining the sales of the goods, the calculation process is simplified, the accuracy of determining the sales is improved, the deviation of the process of determining the sales of goods is reduced, and the calculation time is shortened.

[0100] Figure 3 is a structural block diagram of a device for determining sales volume according to an exemplary embodiment. Figure 3 The device includes a first acquisition module 310, a first determination module 320, a second acquisition module 330, a second determination module 340 and a third determination module 350.

[0101] The first acquisition module 310 is configured to acquire a plurality of first historical sales volumes of the target product within a first preset historical time range; the first preset historical time range includes a plurality of preset historical time periods, and the plurality of first historical sales volumes correspond one to one with the plurality of preset historical time periods;

[0102] The first determination module 320 is configured to determine a target commodity sales type corresponding to the target commodity from a plurality of preset commodity sales types according to the first historical sales volume;

[0103] The second acquisition module 330 is configured to acquire a second historical sales volume corresponding to the sales volume type of the target product, the second historical sales volume including the total sales volume of one or more products belonging to the sales volume type of the target product within the first preset historical time range; the one or more products include the target product;

[0104] The second determination module 340 is configured to determine a plurality of weight values ​​corresponding to the sales volume type of the target commodity according to the second historical sales volume; the plurality of weight values ​​correspond to the preset historical time period one by one;

[0105] The third determination module 350 is configured to determine the target sales volume of the target product according to the multiple first historical sales volumes and the multiple weight values.

[0106] According to the above scheme, by dividing the goods into different sales types and then determining the sales of the goods, the calculation process is simplified, the accuracy of determining the sales is improved, the deviation of the process of determining the sales of goods is reduced, and the calculation time is shortened.

[0107] Optionally, the device further comprises:

[0108] The fourth determination module is configured to use the second historical sales volume as an input of a preset weight value determination model to obtain the multiple weight values ​​output by the preset weight value determination model.

[0109] Optionally, the device further comprises:

[0110] The fifth determination module is configured to perform a weighted operation on the multiple first historical sales volumes according to the multiple weight values ​​to obtain candidate sales volumes of the target product; and determine the target sales volume according to the candidate sales volumes.

[0111] Optionally, the device further comprises:

[0112] The sixth determination module is configured to use the candidate sales volume as the target sales volume; or, obtain the minimum storage unit corresponding to the target product, and update the candidate sales volume according to the minimum storage unit to obtain the target sales volume.

[0113] Optionally, the device further comprises:

[0114] The seventh determination module is configured to determine the preset storage range corresponding to the candidate sales volume according to the minimum storage unit corresponding to the target product; and determine the target sales volume according to the preset storage range and the candidate sales volume.

[0115] Optionally, the preset commodity sales type includes a plurality of preset sales ratio ranges; the target commodity sales type includes a target sales ratio range; and the device further includes:

[0116] The eighth determination module is configured to determine the target sales ratio corresponding to the target product based on the first historical sales volume; the target sales ratio refers to the ratio of the first historical sales volume to the total historical sales volume; the total historical sales volume is the total sales volume of multiple products within the first preset historical time range, and the multiple products include the target product; the preset sales ratio range within which the target sales ratio is located is taken as the target sales ratio range.

[0117] Optionally, the preset commodity sales type includes: a plurality of preset sales statistical parameter ranges, and the target commodity sales type includes a target sales statistical parameter range; the device further includes:

[0118] The ninth determination module is configured to obtain the third historical sales volume of the target product within a second preset historical time range, and calculate the sales statistical parameters corresponding to the target product based on the third historical sales volume; the second preset time range is greater than or equal to the first preset time range; and the preset sales statistical parameter range where the sales statistical parameter is located is used as the target sales statistical parameter range.

[0119] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0120] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon. When the program instructions are executed by a processor, the steps of the method for determining sales volume provided by the present disclosure are implemented.

[0121] In summary, the present disclosure provides a method, device, electronic device and storage medium for determining sales volume, by obtaining multiple first historical sales volumes of a target product within a first preset historical time range; determining a target product sales volume type corresponding to the target product from multiple preset product sales volume types based on the first historical sales volume; obtaining a second historical sales volume corresponding to the target product sales volume type; determining multiple weight values ​​corresponding to the target product sales volume type based on the second historical sales volume; the multiple weight values ​​correspond to the preset historical time period one by one; determining the target sales volume of the target product based on the multiple first historical sales volumes and the multiple weight values; by dividing the products into different sales volume types and then determining the sales volume of the products, the calculation process is simplified, the accuracy of determining sales volume is improved, the deviation of the process of determining product sales volume is reduced, and the calculation time is shortened.

[0122] Figure 4 4 is a block diagram of an electronic device 400 according to an exemplary embodiment. For example, the electronic device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0123] Reference Figure 4 , the electronic device 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output interface 412 , a sensor component 414 , and a communication component 416 .

[0124] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method for determining sales. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0125] The memory 404 is configured to store various types of data to support operations on the electronic device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0126] The power supply component 406 provides power to the various components of the electronic device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 400.

[0127] The multimedia component 408 includes a screen that provides an output interface between the electronic device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 404 includes a front camera and / or a rear camera. When the electronic device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0128] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.

[0129] The input / output interface 412 provides an interface between the processing component 402 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0130] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the electronic device 400. For example, the sensor assembly 414 can detect the open / closed state of the electronic device 400, the relative positioning of the components, such as the display and keypad of the electronic device 400, and the sensor assembly 414 can also detect the position change of the electronic device 400 or a component of the electronic device 400, the presence or absence of contact between the user and the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and the temperature change of the electronic device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0131] The communication component 416 is configured to facilitate wired or wireless communication between the electronic device 400 and other devices. The electronic device 400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0132] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned method for determining sales volume.

[0133] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the instructions can be executed by a processor 420 of an electronic device 400 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0134] Figure 5 FIG. 5 is a block diagram of another electronic device 500 according to an exemplary embodiment. For example, the electronic device 500 may be provided as a server. Figure 5 The electronic device 500 includes a processing component 522, which further includes one or more processors, and a memory resource represented by a memory 532 for storing instructions executable by the processing component 522, such as an application. The application stored in the memory 532 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 522 is configured to execute instructions to perform the above-mentioned method for determining sales volume.

[0135] The electronic device 500 may also include a power supply component 526 configured to perform power management of the electronic device 500, a wired or wireless network interface 550 configured to connect the electronic device 500 to a network, and an input / output interface 558. The electronic device 500 may operate based on an operating system stored in the memory 532, such as Windows Server 2003. TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM or similar.

[0136] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0137] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for determining sales volume, characterized in that: The method comprises: Acquire multiple first historical sales volumes of a target product within a first preset historical time range; the first preset historical time range includes multiple preset historical time periods, and the multiple first historical sales volumes correspond one to one with the multiple preset historical time periods; Determining a target commodity sales type corresponding to the target commodity from a plurality of preset commodity sales types according to the first historical sales; Acquire a second historical sales volume corresponding to the sales volume type of the target product, where the second historical sales volume includes the total sales volume of one or more products belonging to the sales volume type of the target product within the first preset historical time range; the one or more products include the target product; Determine, according to the second historical sales volume, a plurality of weight values ​​corresponding to the sales volume type of the target product; the plurality of weight values ​​correspond to the preset historical time period one by one; A target sales volume for the target commodity is determined according to the multiple first historical sales volumes and the multiple weight values.

2. The method according to claim 1, characterized in that The determining, according to the second historical sales volume, a plurality of weight values ​​corresponding to the sales volume type of the target product includes: The second historical sales volume is used as an input of a preset weight value determination model to obtain the multiple weight values ​​output by the preset weight value determination model.

3. The method according to claim 1, characterized in that The determining the target sales volume of the target commodity according to the multiple first historical sales volumes and the multiple weight values ​​comprises: Performing a weighted calculation on the multiple first historical sales volumes according to the multiple weight values ​​to obtain candidate sales volumes of the target product; The target sales volume is determined according to the candidate sales volume.

4. The method according to claim 3, characterized in that Determining the target sales volume according to the candidate sales volume includes: Using the candidate sales volume as the target sales volume; or, The minimum storage unit corresponding to the target product is obtained, and the candidate sales volume is updated according to the minimum storage unit to obtain the target sales volume.

5. The method according to claim 4, characterized in that The updating of the candidate sales volume according to the minimum storage unit to obtain the target sales volume includes: Determine a preset storage range corresponding to the candidate sales volume according to the minimum storage unit corresponding to the target product; The target sales volume is determined according to the preset storage range and the candidate sales volume.

6. The method according to claim 1, characterized in that The preset commodity sales type includes a plurality of preset sales ratio ranges; the target commodity sales type includes a target sales ratio range; and determining the target commodity sales type corresponding to the target commodity from the plurality of preset commodity sales types according to the target historical sales includes: Determine a target sales ratio corresponding to the target product according to the first historical sales; the target sales ratio refers to the ratio of the first historical sales to the total historical sales; the total historical sales is the total sales of multiple products within the first preset historical time range, and the multiple products include the target product; The preset sales volume share range within which the target sales volume share falls is used as the target sales volume share range.

7. The method according to any one of claims 1 to 6, characterized in that The preset commodity sales type includes: a plurality of preset sales statistical parameter ranges, the target commodity sales type includes a target sales statistical parameter range; the determining the target commodity sales type corresponding to the target commodity from the plurality of preset commodity sales types according to the target historical sales includes: Obtaining a third historical sales volume of the target product within a second preset historical time range, and calculating a sales volume statistical parameter corresponding to the target product according to the third historical sales volume; the second preset time range is greater than or equal to the first preset time range; The preset sales statistics parameter range within which the sales statistics parameter falls is used as the target sales statistics parameter range.

8. A device for determining sales volume, characterized in that: include: A first acquisition module is configured to acquire a plurality of first historical sales volumes of a target product within a first preset historical time range; The first preset historical time range includes a plurality of preset historical time periods, and the plurality of first historical sales volumes correspond one to one with the plurality of preset historical time periods; A first determination module is configured to determine a target commodity sales type corresponding to the target commodity from a plurality of preset commodity sales types according to the first historical sales; A second acquisition module is configured to acquire a second historical sales volume corresponding to the sales volume type of the target product, wherein the second historical sales volume includes a total sales volume of one or more products belonging to the sales volume type of the target product within the first preset historical time range; the one or more products include the target product; A second determination module is configured to determine a plurality of weight values ​​corresponding to the sales volume type of the target commodity according to the second historical sales volume; the plurality of weight values ​​correspond to the preset historical time period one by one; The third determination module is configured to determine the target sales volume of the target product according to the multiple first historical sales volumes and the multiple weight values.

9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the steps of the method according to any one of claims 1 to 7 when executed.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.