Inventory information generation method, device, electronic device and computer readable medium
By introducing a preset replenishment parameter set and stocking days set into the inventory information generation method, dynamically testing and classifying item information, and generating an inventory index increase table and a decrease table, the existing technology solves the problem of failing to effectively consider special situations and replenishment. It solves the problem of static cargo parameters and achieves more accurate inventory information generation.
Patent Information
- Application Number
- CN202210003185.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-04
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2042-01-04
AI Technical Summary
The existing inventory information generation method fails to effectively consider the impact of special circumstances (such as promotional activities) on inventory quantity, and the replenishment parameters in the inventory model are artificially specified and cannot be dynamically adjusted based on actual item consumption.
Through the preset replenishment parameter set and stocking days set, the information of the items to be tested is tested, the inventory spot rate set and the inventory turnover rate set are generated, and the item information is classified to generate the inventory indicator increase table and decrease table, and finally based on these tables Generate target inventory information.
It improves the accuracy of inventory information and avoids the impact of special circumstances such as promotional activities on inventory levels, making the generated target inventory information more accurate.
Smart Images

Figure CN114493426B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a method, device, electronic device, and computer-readable medium for generating inventory information. Background Art
[0002] The inventory information generation method is a method for generating inventory information. At present, when generating inventory information, the method usually adopted is: generating inventory information through an inventory model.
[0003] However, when the above method is used to generate inventory information, the following technical problems often occur:
[0004] The impact of special circumstances (for example, promotional activities) on inventory levels is not considered, and the replenishment parameters in the inventory model are manually specified and cannot be changed according to changes in actual item consumption, resulting in inaccurate inventory information. Summary of the invention
[0005] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0006] Some embodiments of the present disclosure propose methods, devices, electronic devices, and computer-readable media for generating inventory information to solve the technical problems mentioned in the above background technology section.
[0007] In a first aspect, some embodiments of the present disclosure provide a method for generating inventory information, the method comprising: testing each item information to be tested in a test item information set according to a preset replenishment parameter set and a preset stocking days set to obtain an inventory spot rate set and an inventory turnover rate set; classifying each item information in a pre-acquired item information set according to the above-mentioned inventory spot rate set and the above-mentioned inventory turnover rate set to obtain a first item information set and a second item information set; generating an inventory index decrease table based on the above-mentioned first item information set; generating an inventory index increase table based on the above-mentioned second item information set; generating target inventory information based on the above-mentioned inventory index increase table and the above-mentioned inventory index decrease table.
[0008] Optionally, the item information in the above-mentioned item information set to be tested includes item category and item quantity; and the above-mentioned test is performed on each item information to be tested in the item information set to be tested according to the preset replenishment parameter set and the preset stocking days set to obtain an inventory spot rate set and an inventory turnover rate set, including: based on the above-mentioned item information set to be tested and the preset deduction order information sequence, the following test steps are performed: deduction order information that meets the first preset condition is selected from the deduction order information sequence as the target deduction order information, wherein the deduction order information in the deduction order information sequence includes the deduction item quantity; the item quantity included in the item information to be tested that matches the target deduction order information in the above-mentioned item information set to be tested is deducted to obtain the deduction item information set; based on the above The preset replenishment parameter set, the preset stocking days set, the to-be-tested item information set, the target deduction order information and the deduction item information set are used to generate replenishment order information; the number of items included in the to-be-tested item information that matches the replenishment order information after deduction is added in the to-be-tested item information set to obtain an added item information set; in response to determining that the number of items included in each to-be-tested added item information in the added to-be-tested item information set is greater than zero, the cycle count value is increased by 1, wherein the initial value of the cycle count value is 0; in response to determining that the number of deduction order information in the deduction order information sequence after the deduction order information is selected is equal to zero, based on the cycle count value, the preset deduction order information sequence and the added item information set, an inventory spot rate set and an inventory turnover rate set are generated.
[0009] Optionally, the above-mentioned testing of each item to be tested in the item information set to be tested is performed according to a preset replenishment parameter set and a preset stocking days set to obtain an inventory spot rate set and an inventory turnover rate set, and also includes: in response to determining that the number of deducted order information in the deducted order information sequence after the deducted order information is selected is greater than zero, executing the above-mentioned test step again.
[0010] Optionally, the item information in the pre-acquired item information set includes item categories; and the above-mentioned classification of each item information in the pre-acquired item information set according to the above-mentioned inventory spot rate set and the above-mentioned inventory turnover rate set to obtain a first item information set and a second item information set includes: determining the item information in the pre-acquired item information set that meets the second preset condition as the first item information to obtain the first item information set, wherein the inventory spot rate and the inventory turnover rate corresponding to the item category included in the first item information in the above-mentioned first item information set meet the above-mentioned second preset condition; determining the item information in the pre-acquired item information set that does not meet the above-mentioned second preset condition as the second item information to obtain the second item information set, wherein the inventory spot rate and the inventory turnover rate corresponding to the item category included in the second item information in the above-mentioned second item information set do not meet the above-mentioned second preset condition.
[0011] Optionally, the above-mentioned generation of the inventory indicator reduction table based on the above-mentioned first item information set includes: determining a pre-arrival end-of-term inventory information set corresponding to each first item information in the above-mentioned first item information set, wherein the pre-arrival end-of-term inventory information in the above-mentioned pre-arrival end-of-term inventory information set includes the pre-arrival end-of-term inventory quantity; for each first item information in the above-mentioned first item information set, executing the following steps: in response to determining that the number of preparation days corresponding to the above-mentioned first item information is greater than or equal to zero, and the pre-arrival end-of-term inventory quantity included in the pre-arrival end-of-term inventory information in the above-mentioned pre-arrival end-of-term inventory information set corresponding to the above-mentioned first item information is greater than 1, adjusting the pre-arrival end-of-term inventory quantity to a target end-of-term inventory quantity; based on the above-mentioned target The method comprises the steps of: determining the first target replenishment parameter according to the first item information set, determining the first target replenishment parameter that satisfies the third preset condition among the reduced replenishment parameters corresponding to the first item information, and obtaining a first target replenishment parameter set; updating the preset initial inventory curve by using each first target replenishment parameter in the first target replenishment parameter set to generate a first inventory curve, and obtaining a first inventory curve set; and adjusting the preset initial stock-out cycle and initial stock-out date by using each first inventory curve in the first inventory curve set to generate a first stock-out cycle and a first stock-out date, and obtaining a first stock-out cycle set and a first stock-out date set.
[0012] Optionally, the above-mentioned generation of the inventory index decline table based on the above-mentioned first item information set further includes: for each first item information in the above-mentioned first item information set, executing the following steps: in response to determining that the number of preparation days corresponding to the above-mentioned first item information is less than zero, and the pre-arrival end-of-arrival inventory information in the above-mentioned pre-arrival end-of-arrival inventory information set corresponding to the above-mentioned first item information includes a pre-arrival end-of-arrival inventory quantity greater than 1, adjusting the pre-arrival end-of-arrival inventory quantity to the above-mentioned target end-of-period inventory quantity; based on the above-mentioned target end-of-period inventory quantity, generating the reduced number of preparation days; for each first item information in the above-mentioned first item information set The reduced stocking days corresponding to the first item information that meet the fourth preset condition are determined as the first target stocking days, and a first target stocking days set is obtained; the preset initial inventory curve is updated using each first target stocking day in the above-mentioned first target stocking days set to generate a second inventory curve, and a second inventory curve set is obtained; and the preset initial out-of-stock cycle and the initial out-of-stock date are adjusted using each second inventory curve in the above-mentioned second inventory curve set to generate a second out-of-stock cycle and a second out-of-stock date, and a second out-of-stock cycle set and a second out-of-stock date set are obtained.
[0013] Optionally, generating an inventory index decrease table based on the first item information set also includes: generating an inventory index decrease table based on the first out-of-stock cycle set, the first out-of-stock date set, the second out-of-stock cycle set, the second out-of-stock date set and the first item information set.
[0014] Optionally, the above-mentioned generation of the inventory index increase table based on the above-mentioned second item information set includes: determining a pre-stock-out period ending inventory information set corresponding to each second item information in the above-mentioned second item information set, wherein the pre-stock-out period ending inventory information in the above-mentioned pre-stock-out period ending inventory information set includes the pre-stock-out period ending inventory quantity and the out-of-stock quantity; for each second item information in the above-mentioned second item information set, executing the following steps: in response to determining that the replenishment parameter corresponding to the above-mentioned second item information is less than or equal to a preset replenishment parameter threshold, and the sum of the pre-stock-out period ending inventory quantity and the out-of-stock quantity included in the above-mentioned pre-stock-out period ending inventory information set corresponding to the above-mentioned second item information is less than 1, adjusting the above-mentioned end-of-period inventory quantity to the target end-of-period inventory quantity, wherein , the sum of the target end-of-period inventory quantity and the stock-out quantity is 1; based on the target end-of-period inventory quantity, an increased replenishment parameter is generated; among the increased replenishment parameters corresponding to each second item information in the second item information set, the increased replenishment parameter that meets the fifth preset condition is determined as the second target replenishment parameter, to obtain a second target replenishment parameter set; using each second target replenishment parameter in the second target replenishment parameter set to update the preset initial inventory curve to generate a third inventory curve, to obtain a third inventory curve set; using each third inventory curve in the third inventory curve set to adjust the preset initial stock-out cycle and the initial stock-out date to generate a third stock-out cycle and a third stock-out date, to obtain a third stock-out cycle set and a third stock-out date set.
[0015] Optionally, the above-mentioned generation of the inventory index increase table based on the above-mentioned second item information set further includes: for each second item information in the above-mentioned second item information set, executing the following steps: in response to determining that the replenishment parameter corresponding to the above-mentioned second item information is greater than the above-mentioned preset replenishment parameter threshold, and the sum of the pre-outage end-of-stock inventory quantity and the stock-out quantity included in the above-mentioned pre-outage end-of-stock inventory information set corresponding to the above-mentioned second item information is less than 1, adjusting the above-mentioned end-of-period inventory quantity to the above-mentioned target end-of-period inventory quantity, wherein the sum of the above-mentioned target end-of-period inventory quantity and the stock-out quantity is 1; based on the above-mentioned target end-of-period inventory quantity, generating the increased inventory index increase table; stocking days; determine the increased stocking days corresponding to each second item information in the second item information set that meets the sixth preset condition as the second target stocking days, and obtain a second target stocking days set; use each second target stocking days in the second target stocking days set to update the preset initial inventory curve to generate a fourth inventory curve, and obtain a fourth inventory curve set; use each fourth inventory curve in the fourth inventory curve set to adjust the preset initial stock-out cycle and the initial stock-out date to generate a fourth stock-out cycle and a fourth stock-out date, and obtain a fourth stock-out cycle set and a fourth stock-out date set.
[0016] Optionally, the above-mentioned generating an inventory index increase table based on the above-mentioned second item information set also includes: generating an inventory index increase table based on the above-mentioned third out-of-stock cycle set, the above-mentioned third out-of-stock date set, the above-mentioned fourth out-of-stock cycle set, the above-mentioned fourth out-of-stock date set and the above-mentioned second item information set.
[0017] Optionally, the target inventory information is generated based on the inventory index increase table and the inventory index decrease table, including: based on a preset replacement condition, corresponding table records between the inventory index decrease table and the inventory index increase table are replaced with each other to generate the target inventory information.
[0018] Optionally, the method further includes: replenishing items in the inventory based on the target inventory information.
[0019] In a second aspect, some embodiments of the present disclosure provide an inventory information generating device, the device comprising: a testing unit, configured to test each item information to be tested in an item information set to be tested according to a preset replenishment parameter set and a preset stocking days set, to obtain an inventory spot rate set and an inventory turnover rate set; a classification unit, configured to classify each item information in a pre-acquired item information set according to the above-mentioned inventory spot rate set and the above-mentioned inventory turnover rate set, to obtain a first item information set and a second item information set; a first generating unit, configured to generate an inventory index decrease table based on the above-mentioned first item information set; a second generating unit, configured to generate an inventory index increase table based on the above-mentioned second item information set; and a third generating unit, configured to generate target inventory information based on the above-mentioned inventory index increase table and the above-mentioned inventory index decrease table.
[0020] Optionally, the item information in the above-mentioned item information set to be tested includes item category and item quantity; and the above-mentioned test unit is further configured to: based on the above-mentioned item information set to be tested and a preset deduction order information sequence, perform the following test steps: select deduction order information that meets a first preset condition from the deduction order information sequence as target deduction order information, wherein the deduction order information in the deduction order information sequence includes the deduction item quantity; deduct the item quantity included in the item information to be tested that matches the target deduction order information in the above-mentioned item information set to be tested, to obtain a deduction item information set; based on the above-mentioned preset replenishment parameter set, the above-mentioned preset stocking days set, and the item to be tested; information set, target deduction order information and deduction item information set, generate replenishment order information; add the number of items included in the to-be-tested item information that matches the replenishment order information in the to-be-tested item information set after deduction, and obtain an added item information set; in response to determining that the number of items included in each to-be-tested added item information in the added to-be-tested item information set is greater than zero, increase the loop count value by 1, wherein the initial value of the loop count value is 0; in response to determining that the number of deduction order information in the deduction order information sequence after the deduction order information is selected is equal to zero, generate an inventory spot rate set and an inventory turnover rate set based on the loop count value, the above-mentioned preset deduction order information sequence and the added item information set.
[0021] Optionally, the above-mentioned testing unit is further configured to: in response to determining that the number of deduction order information in the deduction order information sequence after the deduction order information is selected is greater than zero, execute the above-mentioned testing step again.
[0022] Optionally, the item information in the pre-acquired item information set includes item categories; and the classification unit is further configured to: determine the item information in the pre-acquired item information set that meets the second preset condition as the first item information, to obtain the first item information set, wherein the inventory spot rate and inventory turnover rate corresponding to the item category included in the first item information in the first item information set meet the second preset condition; determine the item information in the pre-acquired item information set that does not meet the second preset condition as the second item information, to obtain the second item information set, wherein the inventory spot rate and inventory turnover rate corresponding to the item category included in the second item information in the second item information set do not meet the second preset condition.
[0023] Optionally, the first generating unit is further configured to: determine a pre-arrival end-of-term inventory information set corresponding to each first item information in the first item information set, wherein the pre-arrival end-of-term inventory information in the pre-arrival end-of-term inventory information set includes a pre-arrival end-of-term inventory quantity; for each first item information in the first item information set, perform the following steps: in response to determining that the number of preparation days corresponding to the first item information is greater than or equal to zero, and the pre-arrival end-of-term inventory information in the pre-arrival end-of-term inventory information set corresponding to the first item information includes a pre-arrival end-of-term inventory quantity greater than 1, adjust the pre-arrival end-of-term inventory quantity down to a target end-of-term inventory quantity; based on the target end-of-term inventory quantity The method comprises the steps of: adjusting the inventory quantity of each first item information in the first item information set to generate a reduced replenishment parameter; for each first item information in the first item information set, determining the reduced replenishment parameter corresponding to the first item information and satisfying the third preset condition as the first target replenishment parameter to obtain a first replenishment parameter set; using each first target replenishment parameter in the first target replenishment parameter set to update the preset initial inventory curve to generate a first inventory curve to obtain a first inventory curve set; using each first inventory curve in the first inventory curve set to adjust the preset initial stock-out cycle and the initial stock-out date to generate a first stock-out cycle and a first stock-out date to obtain a first stock-out cycle set and a first stock-out date set.
[0024] Optionally, the first generating unit is further configured to: for each first item information in the first item information set, perform the following steps: in response to determining that the number of lead times corresponding to the first item information is less than zero, and the number of end-of-arrival inventory included in the end-of-arrival inventory information in the end-of-arrival inventory information set corresponding to the first item information is greater than 1, adjust the end-of-arrival inventory to the target end-of-period inventory; based on the target end-of-period inventory, generate the lowered lead times; determine the lowered lead times that meet the fourth preset condition among the lowered lead times corresponding to each first item information in the first item information set as the first target lead times, and obtain a first target lead times set; update the preset initial inventory curve using each first target lead time in the first target lead times set to generate a second inventory curve, and obtain a second inventory curve set; adjust the preset initial out-of-stock period and the initial out-of-stock date using each second inventory curve in the second inventory curve set to generate a second out-of-stock period and a second out-of-stock date, and obtain a second out-of-stock period set and a second out-of-stock date set.
[0025] Optionally, the first generating unit is further configured to generate an inventory index decline table based on the first out-of-stock cycle set, the first out-of-stock date set, the second out-of-stock cycle set, the second out-of-stock date set and the first item information set.
[0026] Optionally, the second generating unit is further configured to: determine a pre-stock-out period ending inventory information set corresponding to each second item information in the second item information set, wherein the pre-stock-out period ending inventory information in the pre-stock-out period ending inventory information set includes the pre-stock-out period ending inventory quantity and the out-of-stock quantity; for each second item information in the second item information set, perform the following steps: in response to determining that the replenishment parameter corresponding to the second item information is less than or equal to a preset replenishment parameter threshold, and the sum of the pre-stock-out period ending inventory quantity and the out-of-stock quantity included in the pre-stock-out period ending inventory information in the pre-stock-out period ending inventory information set corresponding to the second item information is less than 1, increase the period-end inventory quantity to the target period-end inventory quantity, wherein the target period-end inventory quantity The sum of the closing inventory quantity and the stock-out quantity is 1; based on the target closing inventory quantity, an increased replenishment parameter is generated; among the increased replenishment parameters corresponding to each second item information in the second item information set, the increased replenishment parameter that meets the fifth preset condition is determined as the second target replenishment parameter, to obtain a second target replenishment parameter set; using each second target replenishment parameter in the second target replenishment parameter set, the preset initial inventory curve is updated to generate a third inventory curve, to obtain a third inventory curve set; using each third inventory curve in the third inventory curve set, the preset initial stock-out cycle and the initial stock-out date are adjusted to generate a third stock-out cycle and a third stock-out date, to obtain a third stock-out cycle set and a third stock-out date set.
[0027] Optionally, the second generating unit is further configured to: for each second item information in the second item information set, perform the following steps: in response to determining that the replenishment parameter corresponding to the second item information is greater than the preset replenishment parameter threshold, and the sum of the pre-outage end-of-stock inventory quantity and the stock-out quantity included in the pre-outage end-of-stock inventory information in the pre-outage end-of-stock inventory information set corresponding to the second item information is less than 1, increase the end-of-period inventory quantity to the target end-of-period inventory quantity, wherein the sum of the target end-of-period inventory quantity and the stock-out quantity is 1; and based on the target end-of-period inventory quantity, generate the increased stocking days; The increased stocking days corresponding to each second item information in the above-mentioned second item information set that meets the sixth preset condition are determined as the second target stocking days to obtain a second target stocking days set; the above-mentioned preset initial inventory curve is updated by using each second target stocking days in the above-mentioned second target stocking days set to generate a fourth inventory curve to obtain a fourth inventory curve set; the above-mentioned preset initial out-of-stock cycle and the above-mentioned initial out-of-stock date are adjusted by using each fourth inventory curve in the above-mentioned fourth inventory curve set to generate a fourth out-of-stock cycle and a fourth out-of-stock date to obtain a fourth out-of-stock cycle set and a fourth out-of-stock date set.
[0028] Optionally, the second generating unit is further configured to generate an inventory index increase table based on the third out-of-stock cycle set, the third out-of-stock date set, the fourth out-of-stock cycle set, the fourth out-of-stock date set and the second item information set.
[0029] Optionally, the third generating unit is further configured to: based on a preset replacement condition, replace corresponding table records between the inventory index decrease table and the inventory index increase table to generate target inventory information.
[0030] Optionally, the above-mentioned inventory information generating device also includes a replenishment unit: which is further configured to replenish the items in the inventory based on the above-mentioned target inventory information.
[0031] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.
[0032] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.
[0033] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the inventory information generation method of some embodiments of the present disclosure, the accuracy of generating inventory information can be improved. Specifically, the reason for the inaccuracy of the generated inventory information is that the influence of special circumstances (for example, promotional activities) on the inventory volume is not considered, and the replenishment parameters in the inventory model are artificially specified and cannot be changed according to the changes in the actual item consumption. Based on this, the inventory information generation method of some embodiments of the present disclosure, first, considering the situation that there is a large impact of promotional activities on the inventory volume in practice, introduces a preset stocking days. Then, through the preset replenishment parameter set and the preset stocking days set, each item information to be tested in the test item information set is tested to obtain the inventory spot rate set and the inventory turnover rate set. Through the inventory spot rate set and the inventory turnover rate set, each item information in the pre-acquired item information set can be classified to obtain the first item information set and the second item information set. Afterwards, an inventory index increase table and an inventory index decrease table are generated, which can be used to characterize the two situations of positive growth and negative growth of inventory consumption. Finally, based on the above-mentioned inventory index increase table and inventory index decrease table, the target inventory information is generated. By generating target inventory information, the two situations of inventory consumption can be complemented to stabilize inventory consumption. Thus, the impact of promotional activities on inventory can be avoided. Thus, the generated target inventory information can be made more accurate. Thus, the purpose of improving the accuracy of generated inventory information is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0035] Figure 1 is a schematic diagram of an application scenario of the inventory information generation method of some embodiments of the present disclosure;
[0036] Figure 2 is a flow chart of some embodiments of the inventory information generation method according to the present disclosure;
[0037] Figure 3 are flow charts of other embodiments of the inventory information generating method according to the present disclosure;
[0038] Figure 4 is a schematic diagram of replenishing items in inventory in some embodiments of the inventory information generation method disclosed herein;
[0039] Figure 5 is a schematic diagram of the structure of some embodiments of the inventory information generating device according to the present disclosure;
[0040] Figure 6 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0041] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0042] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0043] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0044] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0045] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0046] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0047] Figure 1 It is a schematic diagram of an application scenario of the inventory information generation method of some embodiments of the present disclosure.
[0048] exist Figure 1In the application scenario, first, the computing device 101 can test each item information to be tested in the item information set 104 according to the preset replenishment parameter set 102 and the preset stocking days set 103, and obtain the inventory spot rate set 105 and the inventory turnover rate set 106. For example, the replenishment parameter can be 0.99. The stocking days can be 1 day. The item information to be tested can be: [a variety apple: 100]. Then, the computing device 101 can classify each item information in the pre-acquired item information set 107 according to the above-mentioned inventory spot rate set 105 and the above-mentioned inventory turnover rate set 106, and obtain the first item information set 108 and the second item information set 109. Then, the computing device 101 can generate an inventory index decrease table 110 based on the above-mentioned first item information set 108. Afterwards, the computing device 101 can generate an inventory index increase table 111 based on the above-mentioned second item information set 109. Finally, the computing device 101 may generate target inventory information 112 based on the inventory index increase table 111 and the inventory index decrease table 110 .
[0049] It should be noted that the computing device 101 can be hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device. When the computing device is embodied as software, it can be installed in the hardware devices listed above. It can be implemented as multiple software or software modules for providing distributed services, or as a single software or software module. No specific limitation is made here.
[0050] It should be understood that Figure 1 The number of computing devices in the embodiment is only illustrative. Any number of computing devices may be provided according to implementation requirements.
[0051] Continue to refer Figure 2 , shows a process 200 of some embodiments of the inventory information generation method according to the present disclosure. The process 200 of the inventory information generation method includes the following steps:
[0052] Step 201 , according to a preset replenishment parameter set and a preset stocking days set, each item information to be tested in the item information set to be tested is tested to obtain an inventory spot rate set and an inventory turnover rate set.
[0053] In some embodiments, the execution body of the inventory information generation method (such as Figure 1The computing device 101 shown can test each item information to be tested in the item information set to be tested according to the preset replenishment parameters and the preset preparation days, and obtain the inventory spot rate set and the inventory turnover rate set. Among them, each replenishment parameter in the above-mentioned preset replenishment parameter set can be used to characterize the initial inventory service level of the items represented by each item information to be tested in the item information set to be tested. Each preparation days in the above-mentioned preset preparation days set can be used to characterize the number of days that the items represented by each item information to be tested in the item information set to be tested need to be prepared before replenishment, and can also be used to adjust the inventory turnover rate and the inventory spot rate. The item information set to be tested can be some item information used for testing. Each item information to be tested in the item information set to be tested can include the name of the item and the quantity of the item. The above-mentioned test can be to input the above-mentioned item information set to be tested into a preset test model to generate the inventory spot rate set and the inventory turnover rate set. The above-mentioned preset test model can be an ANN (Artificial Neural Networks) model or an RBM (Restricted Boltzmann Machine) model, etc., which is not specifically limited here.
[0054] In some optional implementations of some embodiments, the item information in the above-mentioned item information set to be tested may include item category and item quantity. And the above-mentioned execution subject tests each item information to be tested in the item information set to be tested according to a preset replenishment parameter set and a preset stocking days set to obtain an inventory spot rate set and an inventory turnover rate set, which may include the following steps:
[0055] The first step is to perform the following test steps based on the above-mentioned information set of items to be tested and the preset deduction order information sequence:
[0056] The first test step is to select the deduction order information that meets the first preset condition from the deduction order information sequence as the target deduction order information. Among them, the deduction order information in the above preset deduction order information sequence can be the deduction order information generated after simulating the user's order, which is used to reduce the number of items in the inventory. The deduction order information in the deduction order information sequence can include the deduction item category and the deduction item quantity (for example, it can include SKU (Stock keeping Unit) and the unit quantity), and each deduction order information in the deduction order information sequence can correspond to a date. Then, the first preset condition can be: the earliest deduction order information among the dates included in each deduction order information in the deduction order information sequence. It can also be the deduction order information whose date included in each deduction order information in the deduction order information sequence is within the earliest day. The deduction order information in the above deduction order information sequence can be used to represent the number of items that need to be deducted from the number of items corresponding to the item category included in the deduction order information. The above target deduction order information is the deduction order information used for the current cycle.
[0057] The second test step is to deduct the number of items included in the to-be-tested item information that matches the target deduction order information in the to-be-tested item information set to obtain the deduction item information set. The corresponding relationship can be determined by the item category included in the to-be-tested item information and the item category included in the target deduction order information. Thus, the number of items included in the to-be-tested item information that matches the target deduction order information in the to-be-tested item information set can be deducted to obtain the deduction item information set.
[0058] The third test step is to generate replenishment order information based on the above-mentioned preset replenishment parameter set, the above-mentioned preset stocking days set, the to-be-tested item information set, the target deduction order information and the deduction item information set. Among them, the replenishment order information may include the item replenishment quantity corresponding to the item category included in each to-be-tested item information in the above-mentioned to-be-tested item information set, and the item replenishment quantity corresponding to each item category. The replenishment order information can be generated in the following manner: First, the mean of the item sales volume corresponding to each item category in the to-be-tested item information set within a preset time period (for example, within 60 days from the current moment as the end time point), the variance of the item sales volume, the mean of the item replenishment consumption time, the procurement cycle corresponding to each item category, and the variance of the item replenishment consumption time and the procurement cycle corresponding to each item category. Then, the in-transit inventory information can be determined. The in-transit inventory information may include the number of in-transit items corresponding to each item category. The in-transit inventory information can be used to characterize the item information in transit. Finally, the item replenishment quantity corresponding to each item category included in the replenishment order information can be generated by the following formula:
[0059]
[0060] Wherein, Q represents the replenishment quantity of the item corresponding to the above item category. k represents the replenishment parameter corresponding to the above item category in the above preset replenishment parameter set. μ VLT Represents the average replenishment time of the above-mentioned item categories. NRT represents the procurement cycle corresponding to the above-mentioned item categories. D Represents the variance of the sales volume of the above item categories. D Represents the mean sales volume of the above item categories. VLT+NRT represents the variance of the replenishment time of the above-mentioned item category and the sum of the procurement cycles of each item category. BP represents the number of days for stocking corresponding to the above-mentioned item category in the above-mentioned preset replenishment parameter set. X represents the sum of the number of items corresponding to the above-mentioned item category in the above-mentioned test item information set. Y represents the number of in-transit items corresponding to the above-mentioned item category.
[0061] In the fourth test step, the number of items included in the item information to be tested that matches the replenishment order information in the deducted item information set to be tested is added to obtain an added item information set. The item information to be tested and the replenishment order information that include the same item category can be determined as a matching relationship. Thus, the sum of the number of items corresponding to each item category in the replenishment order information and the number of items included in the corresponding item information to be tested can be determined as the number of items included in the added item information. The added item information set can be used to characterize the added inventory information in the inventory after simulating a replenishment.
[0062] In a fifth test step, in response to determining that the number of items included in each of the information of the items to be tested in the added information set of the items to be tested is greater than zero, the cycle count value is increased by 1, wherein the initial value of the cycle count value is 0. The cycle count may represent the number of days in the test. For example, a cycle count value of 1 may represent the change in the number of items in the inventory on the first day of the above-mentioned preset time period.
[0063] In the second step, in response to determining that the number of deduction order information in the deduction order information sequence after the deduction order information is selected is equal to zero, based on the cycle count value, the above-mentioned preset deduction order information sequence and the added item information set, an inventory spot rate set and an inventory turnover rate set are generated. Among them, the number of deduction order information in the deduction order information sequence after the deduction order information is selected is equal to zero, which can represent that there is no user order information that needs to be simulated and deducted, thereby ending the cycle. First, the number of days in which the number of items corresponding to each item category in each deduction item information set is greater than zero in all the cycle steps of the test process can be determined. Then, the ratio of the number of days to the cycle count value when the cycle ends can be determined as the inventory spot rate of the item category. Thus, the inventory spot rate set can be obtained. The cycle count value when the cycle ends can be the cycle count value when the number of deduction order information in the deduction order information sequence after the deduction order information is selected is equal to zero. Finally, the inventory turnover rate of the item category can be determined as the ratio of the sum of the item quantities included in each deduction order information corresponding to each item category in the above-mentioned preset deduction order information sequence to the total inventory quantity corresponding to the item category, thereby generating an inventory turnover rate set.
[0064] The total inventory quantity corresponding to an item category can be generated in the following manner: the total inventory quantity corresponding to the item category in each item information to be tested in the sequence of item information to be tested and the sum of the number of items corresponding to the item category in the replenishment order information in each cycle are determined as the total inventory quantity corresponding to the item category.
[0065] In some optional implementations of some embodiments, the execution subject tests each item information to be tested in the item information set to be tested according to a preset replenishment parameter set and a preset stocking days set to obtain an inventory spot rate set and an inventory turnover rate set, and may further include the following steps:
[0066] In response to determining that the number of deduction order information in the deduction order information sequence after the deduction order information is selected is greater than zero, the above test step is performed again. Wherein, the number of deduction order information in the deduction order information sequence after the deduction order information is selected is greater than zero, which can indicate that the test is not completed, so the test step is performed again.
[0067] Step 202: Classify each item information in the pre-acquired item information set according to the inventory spot rate set and the inventory turnover rate set to obtain a first item information set and a second item information set.
[0068] In some embodiments, the execution entity may classify the individual item information in the pre-acquired item information set according to the inventory spot rate set and the inventory turnover rate set to obtain a first item information set and a second item information set. The pre-acquired item information set may be information about items currently in inventory. The item information in the pre-acquired item information set may also include item names. The correspondence between the to-be-tested item information with the same item name and the item information in the pre-acquired item information set may be determined. Thus, the item information in the pre-acquired item information set that meets the classification condition may be determined as the first item information, and the item information that does not meet the classification condition may be determined as the second item information. The classification condition may be that the product of the inventory spot rate and the inventory turnover rate corresponding to the item information in the pre-acquired item information set is greater than a preset classification threshold (e.g., 85%).
[0069] Step 203: Generate an inventory index decrease table based on the first item information set.
[0070] In some embodiments, the execution entity may generate an inventory index decrease table based on the first item information set. Each first item information in the first item information set and the corresponding inventory spot rate and inventory turnover rate may be recorded as a table record in the inventory index decrease table. Thus, an inventory index decrease table may be generated. The inventory index decrease table may be used to characterize the decrease in the index in the pre-acquired item information set. In practice, the index decrease table may be used to record item information whose inventory spot rate and inventory turnover rate do not meet the second preset condition. Therefore, the replenishment parameters may be adjusted lower for each item information in the inventory index decrease table so that the item information in the inventory index decrease table also meets the second preset condition. Thus, the replenishment parameters may be changed according to the actual item consumption to improve the accuracy of the generated inventory information.
[0071] Step 204: Generate an inventory index increase table based on the second item information set.
[0072] In some embodiments, the execution entity may generate an inventory index increase table based on the second item information set. Each second item information in the second item information set and the corresponding inventory spot rate and inventory turnover rate may be recorded as a table record in the inventory index increase table. Thus, an inventory index increase table may be generated. The inventory index increase table may be used to characterize the item information with increased indicators in the pre-acquired item information set. Therefore, the number of days for stocking may be increased for each item information in the inventory index decrease table, so that the item information in the inventory index increase table also meets the second preset condition. Thus, the number of days for stocking may be changed according to the actual item consumption to improve the accuracy of the generated inventory information.
[0073] Step 205: Generate target inventory information based on the inventory index increase table and the inventory index decrease table.
[0074] In some embodiments, the execution subject may generate target inventory information based on the inventory index increase table and the inventory index decrease table. First, the replenishment parameters corresponding to each item information in the inventory decrease table may be adjusted so that the inventory turnover rate and inventory spot rate corresponding to the item category included in the item information meet the second preset condition. Then, the item information in the inventory index increase table and the inventory index decrease table may be merged as the target inventory information.
[0075] Optionally, the execution entity may also replenish the items in stock based on the target inventory information. Figure 3 As shown. The target inventory information 301 may include the inventory availability rate 3011 and the inventory turnover rate 3012 corresponding to each item information. The item replenishment parameter 302 or the item stocking days 303 corresponding to the inventory availability rate 3011 and the inventory turnover rate 3012 included in the above target inventory information may be input into the above formula to generate the item replenishment quantity 304 for replenishment.
[0076] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the inventory information generation method of some embodiments of the present disclosure, the accuracy of generating inventory information can be improved. Specifically, the reason for the inaccuracy of the generated inventory information is that the influence of special circumstances (for example, promotional activities) on the inventory volume is not considered, and the replenishment parameters in the inventory model are artificially specified and cannot be changed according to the changes in the actual item consumption. Based on this, the inventory information generation method of some embodiments of the present disclosure, first, considering the situation that there is a large impact of promotional activities on the inventory volume in practice, introduces a preset stocking days. Then, through the preset replenishment parameter set and the preset stocking days set, each item information to be tested in the test item information set is tested to obtain the inventory spot rate set and the inventory turnover rate set. Through the inventory spot rate set and the inventory turnover rate set, each item information in the pre-acquired item information set can be classified to obtain the first item information set and the second item information set. Afterwards, an inventory index increase table and an inventory index decrease table are generated, which can be used to characterize the two situations of positive growth and negative growth of inventory consumption. Finally, based on the above-mentioned inventory index increase table and inventory index decrease table, the target inventory information is generated. By generating target inventory information, the two situations of inventory consumption can be complemented to stabilize inventory consumption. Thus, the impact of promotional activities on inventory can be avoided. Thus, the generated target inventory information can be made more accurate. Thus, the purpose of improving the accuracy of generated inventory information is achieved.
[0077] Further references Figure 4, which shows a process 400 of another embodiment of the inventory information generation method. The process 400 of the inventory information generation method includes the following steps:
[0078] Step 401 : testing each item to be tested in the item to be tested information set according to preset replenishment parameters and preset stocking days, and obtaining an inventory spot rate set and an inventory turnover rate set.
[0079] In some embodiments, the specific implementation of step 401 and the technical effects brought about can be referred to Figure 2 The corresponding step 201 in the embodiments will not be described in detail here.
[0080] Step 402: determine the item information that meets the second preset condition in the pre-acquired item information set as the first item information to obtain the first item information set.
[0081] In some embodiments, the execution body of the inventory information generation method (such as Figure 1 The computing device 101 shown in the figure can determine the item information in the above-mentioned pre-acquired item information set that meets the second preset condition as the first item information, and obtain the first item information set. The item information in the above-mentioned pre-acquired item information set may include item categories. The inventory spot rate and inventory turnover rate corresponding to the item category included in the first item information in the above-mentioned first item information set meet the above-mentioned second preset condition. The second preset condition may be that the inventory spot rate and inventory turnover rate corresponding to the item information are both greater than the preset indicator threshold (for example, 95%).
[0082] Step 403: determine the item information in the pre-acquired item information set that does not meet the second preset condition as the second item information, and obtain the second item information set.
[0083] In some embodiments, the execution subject may determine the item information in the pre-acquired item information set that does not meet the second preset condition as the second item information to obtain the second item information set. The second item information in the second item information set that does not meet the second preset condition may be that the inventory spot rate and inventory turnover rate corresponding to the item category included in the second item information do not meet the second preset condition. The item information whose item spot rate and item turnover rate corresponding to the item category are both less than the preset indicator threshold value may be determined as the stacked item information.
[0084] Step 404: Generate an inventory index decline table based on the first item information set.
[0085] In some embodiments, the execution entity may generate an inventory index drop table based on the first item information set. The inventory index drop table may be generated by the following steps:
[0086] The first step is to determine the pre-arrival ending inventory information set corresponding to each first item information in the above-mentioned first item information set. The pre-arrival ending inventory information in the above-mentioned pre-arrival ending inventory information set includes the pre-arrival ending inventory quantity. The above-mentioned pre-arrival ending inventory information set can be used to characterize the ending inventory of items of an item category one day before different arrival dates. Each arrival date can be determined using a preset arrival cycle. Then, the ending inventory of each arrival date within the historical time (for example, within the past 60 days with the current time point as the end time point) can be determined as the pre-arrival ending inventory information.
[0087] In the second step, for each first item information in the first item information set, perform the following steps:
[0088] In the first sub-step, in response to determining that the number of days for stocking corresponding to the first item information is greater than or equal to zero, and the number of stocks before arrival included in the stocking information before arrival in the stocking information set before arrival corresponding to the first item information is greater than 1, the stocking before arrival is adjusted down to the target stocking before arrival. The number of days for stocking is greater than or equal to zero, which indicates that the item needs to be stocked for at least one day. Therefore, such an item needs to be stocked in advance to avoid the situation where the item is sold out. The target stocking before arrival can be 1. The stocking before arrival can be used to characterize the remaining amount of the items in the inventory before replenishment. At this time, the fewer the number of items included in the stocking before arrival, the more the inventory of the item meets the market demand, that is, the items in the inventory meet the needs of users. Secondly, when the stocking before arrival is greater than 1, the stocking before arrival can be adjusted to 1. The stocking before arrival adjusted to 1 can be used for the replenishment parameter of reverse adjustment.
[0089] The second sub-step is to generate a lowered replenishment parameter based on the above target end-of-period inventory quantity. The above target end-of-period inventory quantity 1 can be used as a target for lowering the replenishment parameter, so as to lower the replenishment parameter. After the item replenishment quantity is generated by the above formula, the end-of-period inventory quantity before the arrival of the goods is equal to the above target end-of-period inventory quantity. Thus, the lowered replenishment parameter is generated.
[0090] In the third step, for each first item information in the first item information set, the adjusted replenishment parameter corresponding to the first item information that satisfies the third preset condition is determined as the first target replenishment parameter to obtain the first target replenishment parameter set. The third preset condition may be: the adjusted replenishment parameter has the smallest change compared to the preset replenishment days. In addition, each first item information may correspond to one first target replenishment parameter.
[0091] In the fourth step, each first target replenishment parameter in the above-mentioned first target replenishment parameter set is used to update the preset initial inventory curve to generate a first inventory curve, and obtain a first inventory curve set. The initial inventory curve can be a preset inventory curve, which is used to characterize the change in the end-of-period inventory within a period of time before the update (for example, within two months from the current time as the starting time point). The independent variable of the initial inventory curve can be each arrival date within the above-mentioned period of time, that is, the arrival date. The dependent variable can be the end-of-period inventory amount one day before each arrival date. The first target replenishment parameter can be used to adjust the replenishment amount of the corresponding first item information.
[0092] In some embodiments, first, the first target replenishment parameter can be substituted into the above formula to generate the replenishment quantity corresponding to the first item information. Then, the sum of the ending inventory quantity before the arrival date included in the first item information and the replenishment quantity can be determined as the inventory quantity after replenishment. Then, the inventory quantity after replenishment is deducted by the deduction item quantity included in the preset deduction order information, and the ending inventory quantity one day before the arrival date can be obtained. Finally, the parameters of the initial inventory curve can be adjusted using the independent variables in the above initial inventory curve so that the corresponding arrival date is the ending inventory quantity, thereby completing the update of the above initial inventory curve. Thus, the entire initial inventory curve can be updated to obtain the first inventory curve. Thus, the preset initial inventory curve can be updated using each first target replenishment parameter to obtain a first inventory curve set. In addition, each first target replenishment parameter can correspond to a first inventory curve.
[0093] Step 5: Using each first inventory curve in the first inventory curve set, the preset initial stock-out cycle and initial stock-out date are adjusted to generate the first stock-out cycle and the first stock-out date, and obtain the first stock-out cycle set and the first stock-out date set. The initial stock-out cycle can be used to characterize the time interval between the stock-out dates when the end-of-period inventory is less than zero within the predicted period before the inventory curve is updated. The initial stock-out date can be used to characterize all time points when the end-of-period inventory is less than zero within the predicted period before the inventory curve is updated.
[0094] In some embodiments, first, the above-mentioned dates in the first inventory curve where the end-of-period inventory is less than zero can be counted as the first out-of-stock date. Then, the time intervals between the various time points in the out-of-stock date can be determined as the first out-of-stock cycle. Thus, the initial out-of-stock cycle and the initial out-of-stock date can be adjusted to the first out-of-stock cycle and the first out-of-stock date. Thus, the preset initial out-of-stock cycle and the initial out-of-stock date can be adjusted using each first inventory curve in the above-mentioned first inventory curve set to obtain a first out-of-stock cycle set and a first out-of-stock date set. In addition, each first inventory curve can correspond to a first out-of-stock cycle and a first out-of-stock date.
[0095] In some optional implementations of some embodiments, the execution subject generates the inventory index decline table based on the first item information set, and may further include the following steps:
[0096] In the first step, for each first item information in the first item information set, perform the following steps:
[0097] In the first sub-step, in response to determining that the number of days for preparation corresponding to the first item information is less than zero, and the number of inventory before arrival included in the end-of-arrival inventory information set corresponding to the first item information is greater than 1, the end-of-arrival inventory quantity before arrival is adjusted down to the target end-of-period inventory quantity. The number of days for preparation being less than zero can indicate that the corresponding item can be replenished at the time when replenishment is needed. Therefore, there is no need to have a large amount of inventory before arrival remaining. Therefore, the end-of-period inventory quantity before arrival can be adjusted down to the target end-of-period inventory quantity.
[0098] The second sub-step is to generate a lowered stocking days based on the target end-of-period inventory quantity. The preset stocking days corresponding to the first item information may be lowered so that the item replenishment quantity is generated using the lowered stocking days, and after replenishing the inventory items, the end-of-period inventory quantity before the arrival of the goods is exactly equal to the target end-of-period inventory quantity.
[0099] In the second step, the lowered stocking days corresponding to each first item information in the first item information set that meets the fourth preset condition are determined as the first target stocking days, and the first target stocking days set is obtained. The fourth preset condition may be that the change in the lowered stocking days compared to the preset stocking days is the smallest. In addition, each first item information may correspond to a first target stocking days.
[0100] The third step is to update the preset initial inventory curve using each first target stocking days in the first target stocking days set to generate a second inventory curve and obtain a second inventory curve set. First, the first target stocking days can be substituted into the above formula to generate the replenishment quantity corresponding to the second item information. Then, the sum of the end-of-stock inventory quantity before the shortage period included in the second item information and the replenishment quantity can be determined as the inventory after replenishment. Then, the inventory after replenishment is deducted by the deduction item quantity included in the preset deduction order information to obtain the end-of-period inventory one day before the arrival date. Finally, the parameters of the initial inventory curve can be adjusted using the independent variables in the initial inventory curve so that the corresponding arrival date is the end-of-period inventory, thereby completing the update of the initial inventory curve. Thus, the entire initial inventory curve can be updated to obtain the second inventory curve. Thus, the preset initial inventory curve can be updated using each first target stocking days to obtain the second inventory curve set. In addition, each first target stocking day can correspond to a second inventory curve.
[0101] In the fourth step, each second inventory curve in the second inventory curve set is used to adjust the preset initial out-of-stock cycle and the initial out-of-stock date to generate a second out-of-stock cycle and a second out-of-stock date, and obtain a second out-of-stock cycle set and a second out-of-stock date set. First, the dates in the second inventory curve where the end-of-period inventory is less than zero can be counted as the second out-of-stock date. Then, the time interval between each time point in the out-of-stock date can be determined as the second out-of-stock cycle. Thus, the initial out-of-stock cycle and the initial out-of-stock date can be adjusted to the second out-of-stock cycle and the second out-of-stock date. Thus, each second inventory curve in the second inventory curve set can be used to adjust the preset initial out-of-stock cycle and the initial out-of-stock date to obtain a second out-of-stock cycle set and a second out-of-stock date set. In addition, each second inventory curve can correspond to a second out-of-stock cycle and a second out-of-stock date.
[0102] In some optional implementations of some embodiments, the execution subject generates the inventory index decline table based on the first item information set, and may further include the following steps:
[0103] Based on the above-mentioned first out-of-stock cycle set, the above-mentioned first out-of-stock date set, the above-mentioned second out-of-stock cycle set, the above-mentioned second out-of-stock date set and the above-mentioned first item information set, an inventory index decline table is generated. Among them, firstly, the inventory change corresponding to the first out-of-stock cycle and the first out-of-stock date or the first target replenishment parameter or the first target stocking days corresponding to the second out-of-stock cycle and the second out-of-stock date corresponding to each of the above-mentioned first item information can be determined as a record in the inventory index decline table. Then, each table record can be sorted in the order of the inventory change from small to large to obtain the inventory index decline table.
[0104] Step 405: Generate an inventory index increase table based on the second item information set.
[0105] In some embodiments, the execution entity may generate an inventory index increase table based on the second item information set. The inventory index increase table may be generated by the following steps:
[0106] The first step is to determine the pre-out-of-stock ending inventory information set corresponding to each second item information in the above second item information set. The pre-out-of-stock ending inventory information in the above pre-out-of-stock ending inventory information set may include the pre-out-of-stock ending inventory quantity and the out-of-stock quantity. The pre-out-of-stock ending inventory information set of the items corresponding to the item categories included in the above-mentioned second item information on each arrival date may be obtained. The pre-out-of-stock ending inventory information may be used to characterize the information of the items one day before replenishment. The pre-out-of-stock ending inventory quantity included in the pre-out-of-stock ending inventory information may be the number of items remaining in the inventory one day before replenishment. The out-of-stock quantity may be the number of items still missing before replenishment in addition to the remaining number of items.
[0107] Step 2: For each second item information in the second item information set, perform the following steps:
[0108] In a first sub-step, in response to determining that the replenishment parameter corresponding to the second item information is less than or equal to a preset replenishment parameter threshold, and the sum of the pre-outage ending inventory quantity and the stock-out quantity included in the pre-outage ending inventory information set corresponding to the second item information is less than 1, the end-of-period inventory quantity is adjusted up to a target end-of-period inventory quantity, wherein the sum of the target end-of-period inventory quantity and the stock-out quantity is 1.
[0109] As an example, the preset replenishment parameter threshold may be: 0.995.
[0110] The second sub-step is to generate an increased replenishment parameter based on the target end-of-period inventory quantity. The preset replenishment parameter corresponding to the first item information may be increased so that the item replenishment quantity generated by the increased replenishment parameter is equal to the sum of the end-of-period inventory quantity and the stock-out quantity obtained after replenishing the inventory items.
[0111] In the third step, the adjusted replenishment parameters corresponding to each second item information in the second item information set that meet the fifth preset condition are determined as the second target replenishment parameters to obtain the second target replenishment parameter set. The fifth preset condition may be: the adjusted replenishment parameters have the smallest change compared to the preset replenishment parameters. In addition, each second item information may correspond to one second target replenishment parameter.
[0112] In the fourth step, each second target replenishment parameter in the second target replenishment parameter set is used to update the preset initial inventory curve to generate a third inventory curve and obtain a third inventory curve set. First, the second target replenishment parameter can be substituted into the above formula to generate the replenishment quantity corresponding to the second item. Then, the sum of the ending inventory quantity before the shortage period included in the second item information and the replenishment quantity can be determined as the inventory after replenishment. Then, the inventory after replenishment is deducted by the deduction item quantity included in the preset deduction order information, and the ending inventory one day before the arrival date can be obtained. Finally, the independent variable in the initial inventory curve corresponding to the arrival date can be adjusted to the ending inventory, so as to complete the update of the initial inventory curve. In this way, the entire initial inventory curve can be updated to obtain the third inventory curve. Thus, the preset initial inventory curve can be updated by using each second target replenishment parameter to obtain the third inventory curve set. In addition, each second target replenishment parameter can correspond to a third inventory curve.
[0113] In the fifth step, each third inventory curve in the third inventory curve set is used to adjust the preset initial stock-out cycle and the initial stock-out date to generate a third stock-out cycle and a third stock-out date, and obtain a third stock-out cycle set and a third stock-out date set. Among them, first, the date in the third inventory curve where the end-of-period inventory is less than zero can be used as the third stock-out date. Then, the time interval between each time point in the stock-out date can be determined as the third stock-out cycle. Thus, the initial stock-out cycle and the initial stock-out date can be adjusted to the third stock-out cycle and the third stock-out date. Thus, each third inventory curve in the third inventory curve set can be used to adjust the preset initial stock-out cycle and the initial stock-out date to obtain a third stock-out cycle set and a third stock-out date set. In addition, each third inventory curve can correspond to a third stock-out cycle and a third stock-out date.
[0114] In some optional implementations of some embodiments, the execution subject generates the inventory index increase table based on the second item information set, and may further include the following steps:
[0115] In the first step, for each second item information in the second item information set, perform the following steps:
[0116] In a first sub-step, in response to determining that the replenishment parameter corresponding to the second item information is greater than the preset replenishment parameter threshold, and the sum of the pre-outage ending inventory quantity and the stock-out quantity included in the pre-outage ending inventory information set corresponding to the second item information is less than 1, the end-of-period inventory quantity is adjusted up to the target end-of-period inventory quantity, wherein the sum of the target end-of-period inventory quantity and the stock-out quantity is 1.
[0117] The second sub-step is to generate an increased number of lead time days based on the target end-of-period inventory quantity. The preset lead time days corresponding to the first item information may be increased so that the item replenishment quantity generated by the increased lead time days is equal to 1, and the sum of the end-of-period inventory quantity and the stock-out quantity obtained after replenishing the inventory items is 1. In this way, the increased number of lead time days may be generated.
[0118] In the second step, the increased stocking days corresponding to each second item information in the second item information set that meets the sixth preset condition is determined as the second target stocking days, and a second target stocking days set is obtained. The sixth preset condition may be: the increased stocking days have the smallest change compared to the preset stocking days. In addition, each second item information may correspond to a second target stocking days.
[0119] In the third step, the preset initial inventory curve is updated by using each second target stocking days in the second target stocking days set to generate a fourth inventory curve, and a fourth inventory curve set is obtained. First, the second target stocking days can be substituted into the above formula to generate the replenishment quantity corresponding to the second item. Then, the sum of the end-of-stock quantity before the shortage period included in the second item information and the replenishment quantity can be determined as the inventory after replenishment. Then, the inventory after replenishment is deducted by the deduction item quantity included in the preset deduction order information, and the end-of-period inventory on the day before the arrival date can be obtained. Finally, the independent variable in the initial inventory curve can be adjusted to the end-of-period inventory corresponding to the arrival date, so as to complete the update of the initial inventory curve. Thus, the entire initial inventory curve can be updated to obtain the fourth inventory curve. Thus, the preset initial inventory curve can be updated by using each second target stocking days to obtain the fourth inventory curve set. In addition, each second target stocking days can correspond to a fourth inventory curve.
[0120] In the fourth step, each fourth inventory curve in the fourth inventory curve set is used to adjust the preset initial out-of-stock cycle and the initial out-of-stock date to generate a fourth out-of-stock cycle and a fourth out-of-stock date, and obtain a fourth out-of-stock cycle set and a fourth out-of-stock date set. First, the date in the fourth inventory curve where the end-of-period inventory is less than zero can be determined as the fourth out-of-stock date. Then, the time interval between each time point in the out-of-stock date can be determined as the fourth out-of-stock cycle. Thus, the initial out-of-stock cycle and the initial out-of-stock date can be adjusted to the fourth out-of-stock cycle and the fourth out-of-stock date. Thus, each fourth inventory curve in the fourth inventory curve set can be used to adjust the preset initial out-of-stock cycle and the initial out-of-stock date to obtain a fourth out-of-stock cycle set and a fourth out-of-stock date set. In addition, each fourth inventory curve can correspond to a fourth out-of-stock cycle and a fourth out-of-stock date.
[0121] In some optional implementations of some embodiments, the execution subject generates the inventory index increase table based on the second item information set, and may further include the following steps:
[0122] Based on the third out-of-stock cycle set, the third out-of-stock date set, the fourth out-of-stock cycle set, the fourth out-of-stock date set and the second item information set, an inventory index increase table is generated. First, the third out-of-stock cycle and the third out-of-stock date corresponding to each second item information, or the second target replenishment parameter corresponding to the fourth out-of-stock cycle and the fourth out-of-stock date, or the second target stocking days corresponding to the inventory change can be determined as a record in the inventory index increase table. Then, each table record can be sorted in the order of inventory change from small to large to obtain an inventory index increase table.
[0123] Step 406: Based on a preset replacement condition, corresponding table records between the inventory index decrease table and the inventory index increase table are replaced with each other to generate target inventory information.
[0124] In some embodiments, the execution subject may replace the corresponding table records between the inventory index decrease table and the inventory index increase table based on a preset replacement condition to generate target inventory information. The preset replacement condition may be: the table record in the inventory index increase table is the same as the absolute value of the time change represented by the table record in the inventory index decrease table. And the table record in the inventory index decrease table includes an absolute value of the inventory change that is greater than the inventory change corresponding to the table record in the inventory index increase table. Thus, the average of the replenishment parameters or preparation days corresponding to the table records between the inventory index decrease table and the inventory index increase table that meet the replacement conditions can be taken as the final replenishment parameters or preparation days. Thus, the replenishment parameters and preparation days corresponding to each item information in the item information set can be obtained as the target inventory information.
[0125] In some embodiments, the specific implementation of step 406 and the technical effects brought about can be referred to Figure 2 The corresponding step 205 in the embodiments will not be described in detail here.
[0126] from Figure 4 It can be seen that Figure 2 Compared with the description of some corresponding embodiments, Figure 4The process 400 of the inventory information generation method in some corresponding embodiments reflects the process of adjusting the replenishment parameters in the preset replenishment parameter set and the stocking days in the preset stocking days set, and generating the inventory index increase table and the inventory index decrease table. Among them, the situation that the number of items in the inventory is more than the market demand is first considered. At this time, the replenishment parameter or the stocking days can be reduced to reduce the item replenishment quantity. Thus, the number of items in the inventory is reduced. So that the optimal inventory spot rate and inventory turnover rate can be obtained. Thus, the accuracy of inventory information is improved. In the process of generating the inventory index increase table, whether the replenishment parameter is greater than the preset replenishment parameter threshold is first considered. When the replenishment parameter is less than or equal to the preset replenishment parameter threshold, the method of increasing the replenishment parameter can be used to make the sum of the inventory quantity at the end of the pre-outage period and the out-of-stock quantity equal to the target end-of-period inventory quantity. When the replenishment parameter is greater than the preset replenishment parameter, the method of increasing the stocking days can be used to make the sum of the inventory quantity at the end of the pre-outage period and the out-of-stock quantity equal to the target end-of-period inventory quantity. Then, whether the stocking days are less than zero is considered. When the number of lead days is less than zero, the method of lowering the replenishment parameters can be used to make the end-of-period inventory quantity reach the target end-of-period inventory quantity. When the number of lead days is greater than zero, the method of lowering the number of lead days can be used to make the end-of-period inventory quantity reach the target end-of-period inventory quantity. Thus, the replenishment parameters and lead days can be flexibly adjusted according to the actual item consumption, so that the control of the item replenishment quantity can be more accurate. Afterwards, the generated inventory index increase table and inventory index decrease table can respectively represent the item information of the increased index (for example, the replenishment parameters and the number of lead days) and the item information of the decreased index. Finally, according to the above-mentioned preset replacement conditions, the item information included in the inventory index increase table and the inventory index decrease table is verified to improve the accuracy of the generated target inventory information.
[0127] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of an inventory information generating device. These device embodiments are similar to Figure 2 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.
[0128] like Figure 5As shown, the inventory information generating device 500 of some embodiments includes: a testing unit 501, a classification unit 502, a first generating unit 503, a second generating unit and a third generating unit 504. Among them, the testing unit 501 is configured to test each item information to be tested in the item information set to be tested according to a preset replenishment parameter set and a preset stocking days set, and obtain an inventory spot rate set and an inventory turnover rate set. The classification unit 502 is configured to classify each item information in the pre-acquired item information set according to the above-mentioned inventory spot rate set and the above-mentioned inventory turnover rate set, and obtain a first item information set and a second item information set. The first generating unit 503 is configured to generate an inventory index drop table based on the above-mentioned first item information set. The second generating unit 504 is configured to generate an inventory index increase table based on the above-mentioned second item information set. The third generating unit 505 is configured to generate target inventory information based on the above-mentioned inventory index increase table and the above-mentioned inventory index drop table.
[0129] In some optional implementations of some embodiments, the item information in the above-mentioned item information set to be tested may include item category and item quantity; and the test unit 501 of the above-mentioned inventory information generating device 500 may be further configured to: based on the above-mentioned item information set to be tested and the preset deduction order information sequence, perform the following test steps: select the deduction order information that meets the first preset condition from the deduction order information sequence as the target deduction order information, wherein the deduction order information in the deduction order information sequence includes the deduction item quantity; deduct the item quantity included in the item information to be tested that matches the target deduction order information in the above-mentioned item information set to be tested, to obtain the deduction item information set; based on the above-mentioned preset replenishment parameter set, The above-mentioned preset stocking days set, to-be-tested item information set, target deduction order information and deduction item information set are used to generate replenishment order information; the number of items included in the to-be-tested item information that matches the replenishment order information in the deducted to-be-tested item information set is added to obtain an added item information set; in response to determining that the number of items included in each to-be-tested added item information in the added to-be-tested item information set is greater than zero, the cycle count value is increased by 1, wherein the initial value of the cycle count value is 0; in response to determining that the number of deduction order information in the deduction order information sequence after the deduction order information is selected is equal to zero, based on the cycle count value, the above-mentioned preset deduction order information sequence and the added item information set, an inventory spot rate set and an inventory turnover rate set are generated.
[0130] In some optional implementations of some embodiments, the test unit 501 of the above-mentioned inventory information generating device 500 may be further configured to: in response to determining that the number of deduction order information in the deduction order information sequence after the deduction order information is selected is greater than zero, execute the above-mentioned test steps again.
[0131] In some optional implementations of some embodiments, the item information in the pre-acquired item information set includes item categories; and the classification unit 502 of the inventory information generating device 500 may be further configured to: determine the item information in the pre-acquired item information set that meets the second preset condition as the first item information, to obtain the first item information set, wherein the inventory spot rate and inventory turnover rate corresponding to the item category included in the first item information in the first item information set meet the second preset condition; determine the item information in the pre-acquired item information set that does not meet the second preset condition as the second item information, to obtain the second item information set, wherein the inventory spot rate and inventory turnover rate corresponding to the item category included in the second item information in the second item information set do not meet the second preset condition.
[0132] In some optional implementations of some embodiments, the first generation unit 503 of the inventory information generation device 500 may be further configured to: determine a pre-arrival end-of-term inventory information set corresponding to each first item information in the first item information set, wherein the pre-arrival end-of-term inventory information in the pre-arrival end-of-term inventory information set includes the pre-arrival end-of-term inventory quantity; for each first item information in the first item information set, perform the following steps: in response to determining that the number of preparation days corresponding to the first item information is greater than or equal to zero, and the pre-arrival end-of-term inventory information in the pre-arrival end-of-term inventory information set corresponding to the first item information includes the pre-arrival end-of-term inventory quantity greater than 1, adjust the pre-arrival end-of-term inventory quantity down to the target end-of-term inventory quantity; based on the target end-of-period inventory quantity, generating a reduced replenishment parameter; for each first item information in the first item information set, determining the reduced replenishment parameter corresponding to the first item information that meets the third preset condition as the first target replenishment parameter, and obtaining a first target replenishment parameter set; using each first target replenishment parameter in the first target replenishment parameter set to update the preset initial inventory curve to generate a first inventory curve, and obtaining a first inventory curve set; using each first inventory curve in the first inventory curve set to adjust the preset initial stock-out cycle and initial stock-out date to generate a first stock-out cycle and a first stock-out date, and obtaining a first stock-out cycle set and a first stock-out date set.
[0133] In some optional implementations of some embodiments, the first generation unit 503 of the inventory information generation device 500 may be further configured to: for each first item information in the first item information set, perform the following steps: in response to determining that the number of lead time days corresponding to the first item information is less than zero, and the number of end-of-arrival inventory quantity before arrival included in the end-of-arrival inventory information before arrival in the end-of-arrival inventory information set corresponding to the first item information is greater than 1, adjust the end-of-arrival inventory quantity before arrival to the target end-of-period inventory quantity; based on the target end-of-period inventory quantity, generate the lowered number of lead time days; The reduced stocking days corresponding to each first item information in the first item information set that meets the fourth preset condition are determined as the first target stocking days, and a first target stocking days set is obtained; the preset initial inventory curve is updated using each first target stocking days in the first target stocking days set to generate a second inventory curve, and a second inventory curve set is obtained; the preset initial out-of-stock cycle and the initial out-of-stock date are adjusted using each second inventory curve in the second inventory curve set to generate a second out-of-stock cycle and a second out-of-stock date, and a second out-of-stock cycle set and a second out-of-stock date set are obtained.
[0134] In some optional implementations of some embodiments, the first generating unit 503 of the inventory information generating device 500 may be further configured to generate an inventory index decline table based on the first out-of-stock cycle set, the first out-of-stock date set, the second out-of-stock cycle set, the second out-of-stock date set and the first item information set.
[0135] In some optional implementations of some embodiments, the second generation unit 504 of the inventory information generation device 500 may be further configured to: determine a pre-out-of-stock end inventory information set corresponding to each second item information in the second item information set, wherein the pre-out-of-stock end inventory information in the pre-out-of-stock end inventory information set includes the pre-out-of-stock end inventory quantity and the out-of-stock quantity; for each second item information in the second item information set, perform the following steps: in response to determining that the replenishment parameter corresponding to the second item information is less than or equal to a preset replenishment parameter threshold, and the sum of the pre-out-of-stock end inventory quantity and the out-of-stock quantity included in the pre-out-of-stock end inventory information in the pre-out-of-stock end inventory information set corresponding to the second item information is less than 1, increase the end-of-period inventory quantity to the target The target end-of-period inventory quantity is determined, wherein the sum of the target end-of-period inventory quantity and the stock-out quantity is 1; based on the target end-of-period inventory quantity, an adjusted replenishment parameter is generated; among the adjusted replenishment parameters corresponding to each second item information in the second item information set, the adjusted replenishment parameter that satisfies the fifth preset condition is determined as the second target replenishment parameter, to obtain a second target replenishment parameter set; using each second target replenishment parameter in the second target replenishment parameter set, a preset initial inventory curve is updated to generate a third inventory curve, to obtain a third inventory curve set; using each third inventory curve in the third inventory curve set, a preset initial stock-out cycle and an initial stock-out date are adjusted to generate a third stock-out cycle and a third stock-out date, to obtain a third stock-out cycle set and a third stock-out date set.
[0136] In some optional implementations of some embodiments, the second generation unit 504 of the inventory information generation device 500 may be further configured to: for each second item information in the second item information set, perform the following steps: in response to determining that the replenishment parameter corresponding to the second item information is greater than the preset replenishment parameter threshold, and the sum of the pre-outage end inventory quantity and the stock-out quantity included in the pre-outage end inventory information in the pre-outage end inventory information set corresponding to the second item information is less than 1, increase the end-of-period inventory quantity to the target end-of-period inventory quantity, wherein the sum of the target end-of-period inventory quantity and the stock-out quantity is 1; based on the target end-of-period inventory quantity The method further comprises the following steps: according to the embodiment of the present invention, the method comprises the following steps: determining the increased stocking days corresponding to each second item information in the second item information set and satisfying the sixth preset condition as the second target stocking days, and obtaining a second target stocking days set; using each second target stocking days in the second target stocking days set to update the preset initial inventory curve to generate a fourth inventory curve, and obtaining a fourth inventory curve set; using each fourth inventory curve in the fourth inventory curve set to adjust the preset initial stock-out cycle and the initial stock-out date to generate a fourth stock-out cycle and a fourth stock-out date, and obtaining a fourth stock-out cycle set and a fourth stock-out date set.
[0137] In some optional implementations of some embodiments, the second generation unit 504 of the above-mentioned inventory information generating device 500 can be further configured to: generate an inventory index increase table based on the above-mentioned third out-of-stock cycle set, the above-mentioned third out-of-stock date set, the above-mentioned fourth out-of-stock cycle set, the above-mentioned fourth out-of-stock date set and the above-mentioned second item information set.
[0138] In some optional implementations of some embodiments, the third generation unit 505 of the above-mentioned inventory information generating device 500 can be further configured to: based on a preset replacement condition, replace the corresponding table records between the above-mentioned inventory index decrease table and the above-mentioned inventory index increase table with each other to generate target inventory information.
[0139] In some optional implementations of some embodiments, the inventory information generating device 500 may further include a replenishment unit (not shown in the figure). The replenishment unit may be further configured to replenish the items in the inventory based on the target inventory information.
[0140] It is understood that the units described in the device 500 are similar to those described in the reference Figure 2 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 500 and the units included therein, and will not be described in detail here.
[0141] Reference below Figure 6 , which shows a structural schematic diagram of an electronic device 600 suitable for implementing some embodiments of the present disclosure. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0142] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0143] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 6 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0144] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.
[0145] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0146] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0147] The computer-readable medium may be included in the electronic device; or it may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: tests each item information to be tested in the item information set to be tested according to a preset replenishment parameter set and a preset stocking days set to obtain an inventory spot rate set and an inventory turnover rate set; classifies each item information in the pre-acquired item information set according to the inventory spot rate set and the inventory turnover rate set to obtain a first item information set and a second item information set; generates an inventory index decrease table based on the first item information set; generates an inventory index increase table based on the second item information set; generates target inventory information based on the inventory index increase table and the inventory index decrease table.
[0148] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0149] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0150] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The units described may also be provided in a processor, for example, may be described as: a processor includes a testing unit, a classification unit, a first generation unit, a second generation unit, and a third generation unit. The names of these units do not, in some cases, constitute limitations on the units themselves, for example, the first generation unit may also be described as a "unit for generating an inventory indicator decline table".
[0151] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
Claims
1. A method for generating inventory information, comprising: According to a preset replenishment parameter set and a preset stocking days set, each item to be tested in the item to be tested information set is tested to obtain an inventory spot rate set and an inventory turnover rate set; Classifying each item information in the pre-acquired item information set according to the inventory spot rate set and the inventory turnover rate set to obtain a first item information set and a second item information set; Based on the first item information set, generating an inventory index decrease table, wherein the inventory index decrease table is used to represent item information with decreased indexes in the pre-acquired item information set; Based on the second item information set, generating an inventory index increase table, wherein the inventory index increase table is used to represent item information with increased indexes in the pre-acquired item information set; Based on the inventory index increase table and the inventory index decrease table, target inventory information is generated.
2. The method according to claim 1, wherein: The item information in the to-be-tested item information set includes item category and item quantity; and The method of testing each item to be tested in the item to be tested information set according to the preset replenishment parameter set and the preset stocking days set to obtain the inventory spot rate set and the inventory turnover rate set includes: Based on the information set of the item to be tested and the preset deduction order information sequence, the following test steps are performed: Selecting, from the deduction order information sequence, deduction order information that meets a first preset condition as target deduction order information, wherein the deduction order information in the deduction order information sequence includes the deduction item quantity; Deducting the quantity of items included in the to-be-tested item information that matches the target deduction order information in the to-be-tested item information set to obtain a deduction item information set; Generate replenishment order information based on the preset replenishment parameter set, the preset stocking days set, the to-be-tested item information set, the target deduction order information, and the deduction item information set; Adding the quantity of items included in the to-be-tested item information that matches the replenishment order information in the to-be-tested item information set after deduction to obtain an added item information set; In response to determining that the number of items included in each to-be-tested item information in the added to-be-tested item information set is greater than zero, increasing the loop count value by 1, wherein the initial value of the loop count value is 0; In response to determining that the number of deduction order information in the deduction order information sequence after the deduction order information is selected is equal to zero, an inventory spot rate set and an inventory turnover rate set are generated based on the cycle count value, the preset deduction order information sequence and the added item information set.
3. The method according to claim 2, wherein: The method of testing each item to be tested in the item to be tested information set according to the preset replenishment parameter set and the preset stocking days set to obtain the inventory spot rate set and the inventory turnover rate set also includes: In response to determining that the number of reduction order information in the reduction order information sequence after the reduction order information is selected is greater than zero, the testing step is performed again.
4. The method according to claim 1, wherein: The item information in the pre-acquired item information set includes item categories; and The step of classifying each item information in the pre-acquired item information set according to the inventory spot rate set and the inventory turnover rate set to obtain a first item information set and a second item information set includes: Determine the item information in the pre-acquired item information set that meets the second preset condition as the first item information, to obtain a first item information set, wherein the inventory spot rate and inventory turnover rate corresponding to the item category included in the first item information in the first item information set meet the second preset condition; Item information in the pre-acquired item information set that does not meet the second preset condition is determined as second item information to obtain a second item information set, wherein the inventory spot rate and inventory turnover rate corresponding to the item category included in the second item information in the second item information set do not meet the second preset condition.
5. The method according to claim 1, wherein: The step of generating an inventory index decline table based on the first item information set includes: Determine a pre-arrival closing inventory information set corresponding to each first item information in the first item information set, wherein the pre-arrival closing inventory information in the pre-arrival closing inventory information set includes the pre-arrival closing inventory quantity; For each first item information in the first item information set, perform the following steps: In response to determining that the number of preparation days corresponding to the first item information is greater than or equal to zero, and the pre-arrival ending inventory quantity included in the pre-arrival ending inventory information in the pre-arrival ending inventory information set corresponding to the first item information is greater than 1, the pre-arrival ending inventory quantity is adjusted down to the target period-ending inventory quantity; Based on the target ending inventory quantity, generating a reduced replenishment parameter; For each first item information in the first item information set, determining the reduced replenishment parameter corresponding to the first item information and satisfying the third preset condition as the first target replenishment parameter to obtain a first target replenishment parameter set; Using each first target replenishment parameter in the first target replenishment parameter set, the preset initial inventory curve is updated to generate a first inventory curve, and a first inventory curve set is obtained; using each first inventory curve in the first inventory curve set, the preset initial stock-out cycle and the initial stock-out date are adjusted to generate a first stock-out cycle and a first stock-out date, and a first stock-out cycle set and a first stock-out date set are obtained.
6. The method according to claim 5, wherein: The step of generating an inventory index decline table based on the first item information set further includes: For each first item information in the first item information set, perform the following steps: In response to determining that the number of preparation days corresponding to the first item information is less than zero, and the pre-arrival end-of-period inventory quantity included in the pre-arrival end-of-period inventory information set corresponding to the first item information is greater than 1, adjusting the pre-arrival end-of-period inventory quantity down to the target end-of-period inventory quantity; Based on the target ending inventory quantity, generate a reduced number of days for stocking; Determine the reduced stocking days corresponding to each first item information in the first item information set and the reduced stocking days that meet the fourth preset condition as the first target stocking days, to obtain a first target stocking days set; Using each first target stocking days in the first target stocking days set, the preset initial inventory curve is updated to generate a second inventory curve, thereby obtaining a second inventory curve set; The preset initial stock-out cycle and the initial stock-out date are adjusted by using each second inventory curve in the second inventory curve set to generate a second stock-out cycle and a second stock-out date, thereby obtaining a second stock-out cycle set and a second stock-out date set.
7. The method according to claim 6, wherein: The step of generating an inventory index decline table based on the first item information set further includes: An inventory index decline table is generated based on the first out-of-stock cycle set, the first out-of-stock date set, the second out-of-stock cycle set, the second out-of-stock date set, and the first item information set.
8. The method according to claim 1, wherein: The step of generating an inventory index increase table based on the second item information set includes: Determine a pre-out-of-stock ending inventory information set corresponding to each second item information in the second item information set, wherein the pre-out-of-stock ending inventory information in the pre-out-of-stock ending inventory information set includes the pre-out-of-stock ending inventory quantity and the out-of-stock quantity; For each second item information in the second item information set, perform the following steps: In response to determining that the replenishment parameter corresponding to the second item information is less than or equal to a preset replenishment parameter threshold, and the sum of the pre-outage ending inventory quantity and the stock-out quantity included in the pre-outage ending inventory information in the pre-outage ending inventory information set corresponding to the second item information is less than 1, the end-of-period inventory quantity is increased to a target end-of-period inventory quantity, wherein the sum of the target end-of-period inventory quantity and the stock-out quantity is 1; Based on the target ending inventory quantity, generating increased replenishment parameters; determining the increased replenishment parameters that meet the fifth preset condition among the increased replenishment parameters corresponding to each second item information in the second item information set as second target replenishment parameters to obtain a second target replenishment parameter set; Using each second target replenishment parameter in the second target replenishment parameter set, the preset initial inventory curve is updated to generate a third inventory curve, and a third inventory curve set is obtained; using each third inventory curve in the third inventory curve set, the preset initial stock-out cycle and the initial stock-out date are adjusted to generate a third stock-out cycle and a third stock-out date, and a third stock-out cycle set and a third stock-out date set are obtained.
9. The method according to claim 8, wherein: The step of generating an inventory index increase table based on the second item information set further includes: For each second item information in the second item information set, perform the following steps: In response to determining that the replenishment parameter corresponding to the second item information is greater than the preset replenishment parameter threshold, and the sum of the pre-outage ending inventory quantity and the stock-out quantity included in the pre-outage ending inventory information in the pre-outage ending inventory information set corresponding to the second item information is less than 1, the end-of-period inventory quantity is increased to the target end-of-period inventory quantity, wherein the sum of the target end-of-period inventory quantity and the stock-out quantity is 1; Based on the target ending inventory quantity, generate an increased number of days for stocking; Determine the increased stocking days corresponding to each second item information in the second item information set that satisfies the sixth preset condition as the second target stocking days, to obtain a second target stocking days set; Using each second target stocking days in the second target stocking days set, the preset initial inventory curve is updated to generate a fourth inventory curve, thereby obtaining a fourth inventory curve set; The preset initial stock-out cycle and the initial stock-out date are adjusted by using each fourth inventory curve in the fourth inventory curve set to generate a fourth stock-out cycle and a fourth stock-out date, thereby obtaining a fourth stock-out cycle set and a fourth stock-out date set.
10. The method according to claim 9, wherein: The step of generating an inventory index increase table based on the second item information set further includes: An inventory index increase table is generated based on the third out-of-stock cycle set, the third out-of-stock date set, the fourth out-of-stock cycle set, the fourth out-of-stock date set, and the second item information set.
11. The method according to claim 1, wherein: The generating target inventory information based on the inventory index increase table and the inventory index decrease table includes: Based on a preset replacement condition, corresponding table records between the inventory index decrease table and the inventory index increase table are replaced with each other to generate target inventory information.
12. The method according to claim 11, wherein: The method further comprises: Based on the target inventory information, items in the inventory are replenished.
13. An inventory information generating device, comprising: The testing unit is configured to test each item information to be tested in the item information set to be tested according to a preset replenishment parameter set and a preset stocking days set, and obtain an inventory spot rate set and an inventory turnover rate set; a classification unit configured to classify each item information in the pre-acquired item information set according to the inventory spot rate set and the inventory turnover rate set to obtain a first item information set and a second item information set; A first generating unit is configured to generate an inventory index decrease table based on the first item information set, wherein the inventory index decrease table is used to represent item information with decreased indexes in the pre-acquired item information set; A second generating unit is configured to generate an inventory index increase table based on the second item information set, wherein the inventory index increase table is used to represent item information with increased index in the pre-acquired item information set; The third generating unit is configured to generate target inventory information based on the inventory index increase table and the inventory index decrease table.
14. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 12.
15. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 12 is implemented.
Citation Information
Patent Citations
Information output method and device
CN109840734A
Inventory information processing method and device, storage medium and electronic equipment
CN113762832A