Material procurement method, storage medium and processor based on multi-cycle dimension

Through the multi-cycle dimension material procurement method, the material procurement plan is optimized, and the problem of increased inventory costs caused by unreasonable material procurement demand in the existing technology is solved, and reasonable inventory management is achieved.

CN118761719BActive Publication Date: 2024-12-17ZHONGKE YUNGU TECH
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411246192.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2024-12-17
Estimated Expiration
2044-09-06

AI Technical Summary

Technical Problem

The existing technology cannot reasonably arrange the procurement demand of materials in different cycle dimensions, resulting in an increase in inventory costs.

Method used

The material procurement method based on multi-cycle dimensions is adopted to optimize the procurement plan by generating predicted sales, updating procurement plans, generating reference procurement volume, constructing alternative procurement tasks, and optimizing the procurement plan based on preset allocation rules and task space size limitations.

Benefits of technology

It improves the rationality and adaptability of procurement, avoids excessive procurement, ensures reasonable inventory costs, and effectively reduces inventory costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118761719B_ABST
    Figure CN118761719B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of material procurement, and provides a material procurement method, storage medium and processor based on multiple cycle dimensions. The method includes: generating the predicted sales volume of the material in each cycle dimension based on the historical sales data corresponding to each material; determining the procurement plan for the material in each dimension in the current procurement cycle for any cycle dimension of any type of material, and updating the planned procurement volume in the procurement plan based on the predicted sales volume and the historical sales volume; generating the current reference procurement volume based on the planned procurement volume, the historical procurement volume and the number of remaining procurement cycles; generating alternative procurement tasks based on the current reference procurement volume and adding them to the alternative procurement task set; allocating the corresponding procurement volume upper limit to the procurement task set corresponding to each dimension; adding the alternative procurement tasks ranked higher in the alternative procurement task set to the procurement task set of the corresponding dimension; generating the procurement plan corresponding to the current procurement cycle based on the procurement task set corresponding to each dimension.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of material procurement, and in particular to a material procurement method, storage medium and processor based on multi-cycle dimensions. Background Art

[0002] At present, many companies usually cooperate with suppliers, distributors, etc. to share information, purchase materials on demand without certain rules according to production needs, or simply optimize. These methods have certain inaccuracies and limitations. Many companies do not have a method that can completely solve the problem of minimum inventory cost calculation in most scenarios, resulting in excessive number of purchased materials and increased inventory costs. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a material procurement method, device, system, storage medium and processor based on multiple cycle dimensions, so as to solve the technical defect in the prior art that the procurement demand of materials in different cycle dimensions cannot be reasonably arranged, resulting in increased inventory costs.

[0004] In order to achieve the above-mentioned purpose, the first aspect of the present application provides a material procurement method based on multi-cycle dimensions, and the material procurement method includes:

[0005] Generate the predicted sales volume of any type of material in each period dimension based on the historical sales data corresponding to any type of material;

[0006] Determine the procurement plan for the material of any type in each cycle dimension in the current procurement cycle, and update the planned procurement quantity of the material of any type in the procurement plan of each cycle dimension based on the predicted sales volume of the material of any type in each cycle dimension and the historical sales volume of the material of any type in the procurement plan of each cycle dimension;

[0007] Based on the planned purchase quantity, historical purchase quantity and number of remaining purchase cycles of the material of any type in the purchase plan of each cycle dimension, generate the current reference purchase quantity of the material of any type in each cycle dimension, wherein the current reference purchase quantity of the material of any type in any cycle dimension is used to represent the reference purchase quantity for the current purchase cycle required by the purchase plan of the material of any type in the cycle dimension;

[0008] Based on the current reference purchase quantity of the material of any type in each cycle dimension, generate the alternative purchase task corresponding to the material of any type in each cycle dimension, and add the alternative purchase task to the alternative purchase task set corresponding to the any cycle dimension, wherein the alternative purchase tasks in the alternative purchase task set corresponding to the any cycle dimension are arranged in positive order from low to high according to the purchase quantity;

[0009] Based on the total purchase volume upper limit corresponding to the current purchase cycle and the preset allocation rules, the corresponding purchase volume upper limit is allocated to the purchase task set corresponding to each cycle dimension, and the sum of the purchase volume upper limits of the purchase task set corresponding to each cycle dimension is the total purchase volume upper limit;

[0010] When all alternative procurement tasks corresponding to each cycle dimension of each type of material have been generated, the top-ranked alternative procurement tasks in the alternative procurement task set corresponding to any cycle dimension are added to the procurement task set corresponding to any cycle dimension, wherein the sum of the procurement quantities of the procurement tasks included in the procurement task set corresponding to any cycle dimension does not exceed the procurement quantity upper limit of the procurement task set corresponding to any cycle dimension;

[0011] Generate a procurement plan corresponding to the current procurement cycle based on the procurement task set corresponding to each dimension.

[0012] In an embodiment of the present application, the historical sales data corresponding to any type of material includes the purchase volume of the material of any type in each purchase cycle before the current purchase cycle; based on the historical sales data corresponding to any type of material, generating the predicted sales volume of the material of any type in each cycle dimension includes: for any cycle dimension, taking the previous purchase cycle of the current purchase cycle as the starting point, taking the cycle length corresponding to the any cycle dimension as the division time length, and taking the reverse time order as the direction, dividing the historical time before the current purchase cycle into several continuous time intervals, and obtaining the total purchase volume of the material of any type in each time interval based on the historical sales data; constructing the reduced dimension time series data corresponding to the material of any type in the any cycle dimension in the current purchase cycle with the total purchase volume of the material of any type in each time interval in the time order between each time interval; inputting the reduced dimension time series data into the time series data prediction model under the any cycle dimension to obtain the predicted sales volume of the material of any type in the any cycle dimension, wherein the predicted sales volume of the material of any type in the any cycle dimension is specifically the predicted sales volume of the material from the current purchase cycle to the cycle length corresponding to the any cycle dimension in the future.

[0013] In an embodiment of the present application, for any type of material, in the case where the procurement plan for any type of material in any cycle dimension in the current procurement cycle is not obtained, the predicted sales volume of any type of material in any cycle dimension is generated based on the historical sales volume corresponding to the any type of material in the any cycle dimension, and the predicted sales volume is determined as the procurement planning quantity of any type of material in any cycle dimension; taking the current procurement cycle as the starting point and the cycle length corresponding to the any cycle dimension as the division time, the time interval after the current procurement cycle is divided into several continuous time intervals to obtain the planning cycle of any type of material in any cycle dimension; based on the procurement planning quantity and planning cycle of any type of material in any cycle dimension, a procurement plan for any type of material in any cycle dimension is constructed.

[0014] In an embodiment of the present application, based on the predicted sales volume of any type of material in each cycle dimension and the historical sales volume of any type of material in the procurement plan for each cycle dimension, updating the planned procurement volume of any type of material in the procurement plan for each cycle dimension includes: for the procurement plan for any type of material in any cycle dimension, determining an adjustment factor based on the planning cycle of the procurement plan and the remaining number of procurement cycles of any type of material in the procurement plan; determining the planned procurement volume of any type of material in the procurement plan for each cycle dimension based on the predicted sales volume of any type of material in each cycle dimension, the adjustment factor and the historical sales volume of any type of material in the procurement plan for each cycle dimension.

[0015] In the embodiment of the present application, the planned purchase quantity is determined according to formula (1):

[0016] (1),

[0017] in, is the planned purchase quantity of material m in the q-dimensional purchase plan in the current purchase cycle i, is the sales volume of material m in the jth procurement cycle in the q-dimensional procurement plan at the current procurement cycle i, is the q-dimensional predicted sales volume of material m generated based on the latest historical sales data corresponding to material m in the current procurement cycle i. The planning cycle for q-dimensional procurement planning, is the number of procurement cycles between the start time of the current procurement cycle i and the start time of the planning cycle of the q-dimensional procurement plan, is the number of remaining procurement cycles in the q-dimensional procurement plan at the current procurement cycle i.

[0018] In an embodiment of the present application, generating the current reference purchase quantity of any type of material in each cycle dimension based on the planned purchase quantity, historical purchase quantity and remaining number of purchase cycles of the material of any type in the purchase plan of each cycle dimension includes: for any cycle dimension of any type of material, determining the remaining purchase quantity of the material of any type in the purchase plan of any cycle dimension based on the difference between the planned purchase quantity of the material of any type in the purchase plan of any cycle dimension and the historical purchase quantity in the purchase plan of any cycle dimension; determining the current reference purchase quantity of the material of any type in any cycle dimension based on the ratio between the remaining purchase quantity in the purchase plan of any type of material in the purchase plan of any cycle dimension and the remaining number of purchase cycles.

[0019] In the embodiment of the present application, the current reference purchase volume is determined according to formula (2):

[0020] (2),

[0021] in, is the reference purchase quantity of material m in dimension q during the current purchase cycle i. is the purchase quantity of material m in the jth purchase cycle in the q-dimensional purchase plan at the current purchase cycle i, max() is the maximum value function, The planning cycle for q-dimensional procurement planning, is the number of procurement cycles between the start time of the current procurement cycle i and the start time of the planning cycle of the q-dimensional procurement plan, is the number of remaining procurement cycles in the q-dimensional procurement plan at the current procurement cycle i.

[0022] In an embodiment of the present application, based on the current reference procurement quantity of any type of material in each cycle dimension, generating alternative procurement tasks corresponding to any type of material in each cycle dimension includes: for any cycle dimension of any type of material, based on the difference between the reference procurement quantity of any type of material in the procurement plan of the cycle dimension and the current reference procurement quantity of any type of material in the previous cycle dimension corresponding to the cycle dimension, determining the procurement quantity of the alternative procurement tasks corresponding to any type of material in the cycle dimension; based on the procurement quantity of the alternative procurement tasks corresponding to any type of material in any cycle dimension, generating alternative procurement tasks corresponding to any type of material in each cycle dimension.

[0023] In an embodiment of the present application, different cycle dimensions correspond to different cycle durations, and the smaller the cycle dimension, the shorter the corresponding cycle duration. The preset allocation rules include a first preset allocation rule and a second preset allocation rule, wherein the first preset allocation rule is used to stipulate: based on a preset ratio between different cycle dimensions, a corresponding purchase quantity upper limit is allocated to a purchase task set corresponding to each cycle dimension; the second preset allocation rule is used to stipulate: the sum of the purchase quantities of each purchase task included in the alternative purchase task set corresponding to the minimum cycle dimension is determined as the purchase benchmark value; when the purchase benchmark value is not less than the total purchase quantity upper limit, the total purchase quantity upper limit is updated to the purchase benchmark value, and the minimum cycle dimension is updated to the purchase benchmark value. The upper limit of the purchase quantity of the alternative purchase task set corresponding to the period dimension is set to the purchase benchmark value, and the upper limit of the purchase quantity of the alternative purchase task set corresponding to other period dimensions except the minimum period dimension is set to zero; when the purchase benchmark value is less than the total upper limit of the purchase quantity, the difference between the total upper limit of the purchase quantity and the purchase benchmark value is determined as the remaining purchase capacity, the upper limit of the purchase quantity of the alternative purchase task set corresponding to the minimum period dimension is set to the purchase benchmark value, and based on the preset ratio between different period dimensions, the corresponding upper limits of the purchase quantity are allocated to the purchase task sets corresponding to other period dimensions, and the sum of the upper limits of the purchase quantity of the purchase task sets corresponding to other period dimensions is the remaining purchase capacity.

[0024] In an embodiment of the present application, the material procurement method also includes: when the first alternative procurement task in the alternative procurement task set corresponding to any cycle dimension is added to the procurement task set corresponding to any cycle dimension, a splitting strategy is adopted to split the first alternative task and add it to the procurement task set corresponding to any cycle dimension until the procurement task set corresponding to any cycle dimension reaches the procurement quantity upper limit of the procurement task set corresponding to any cycle dimension; wherein the first alternative procurement task is a task that meets the following conditions: the sum of the procurement quantities of the second alternative procurement tasks ranked before the first alternative procurement task in the alternative procurement task set corresponding to any cycle dimension is less than the procurement quantity upper limit of the procurement task set corresponding to any cycle dimension, and the sum of the procurement quantities of the first procurement task and the second procurement task is greater than the procurement quantity upper limit of the procurement task set corresponding to any cycle dimension.

[0025] A second aspect of the present application provides a material procurement device based on a multi-cycle dimension, comprising:

[0026] a memory configured to store instructions; and

[0027] The processor is configured to call the instructions from the memory and implement the above-mentioned material procurement method based on multi-cycle dimensions when executing the instructions.

[0028] The third aspect of the present application provides a material procurement system based on multiple cycle dimensions, including the material procurement device based on multiple cycle dimensions described above.

[0029] A fourth aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configures the processor to execute the above-mentioned material procurement method based on multi-cycle dimensions.

[0030] The above technical solution provides a material procurement method based on multiple cycle dimensions. By simultaneously considering the procurement needs of materials in different cycle dimensions to plan the current procurement cycle, the rationality and adaptability of procurement can be improved. At the same time, task space size limits and sorting mechanisms are set to avoid excessive procurement and ensure reasonable inventory costs, thereby effectively reducing inventory costs.

[0031] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0033] Figure 1 The flowchart of the material procurement method based on multiple cycle dimensions according to an embodiment of the present application is schematically shown;

[0034] Figure 2 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0036] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0037] Figure 1 The following schematically shows a flow chart of a material procurement method based on multiple cycle dimensions according to an embodiment of the present application. Figure 1 As shown, an embodiment of the present application provides a material procurement method based on multi-cycle dimensions, which may include the following steps.

[0038] Step 101: Generate a predicted sales volume of any type of material in each period dimension based on the historical sales data corresponding to any type of material.

[0039] In the embodiment of the present application, it should be noted that different cycle dimensions correspond to different cycle durations, the smaller the cycle dimension, the shorter the corresponding cycle duration, and the cycle duration corresponding to any cycle dimension is an integer multiple of a procurement cycle duration. For example, taking the cycle dimension including short-term dimension, medium-term dimension and long-term dimension as an example, a procurement cycle can be 1 day, the cycle duration of the short-term dimension can be set to 5 procurement cycles, i.e. 5 days, the cycle duration of the medium-term dimension can be set to 30 procurement cycles, i.e. 30 days, and the cycle duration of the long-term dimension can be set to 365 procurement cycles, i.e. 365 days. The predicted sales volume of any material under any cycle dimension can refer to the predicted sales volume for any material within the cycle duration corresponding to any cycle dimension in the future starting from the current procurement cycle. It should be noted that in the present technical solution, all the quantities involved refer to the quantity of unit inventory, and the basic unit of all cycles is the procurement cycle. Among them, the unit inventory corresponding to a material needs to be set according to actual needs. For example, it can be set to one material corresponding to 2 inventories.

[0040] In this embodiment, it should be noted that historical sales data may be generated based on the actual sales quantity collected on a daily basis. For example, the historical sales data of a certain material may be {12, 3, 4, 5, 6, 7, 8, 9, 10}. For any type of material, the corresponding time series data of any period may be generated based on the historical sales data collected for the material, thereby generating the predicted sales volume of the material of any type in each period dimension based on the time series data of any period.

[0041] In an embodiment of the present application, the historical sales data corresponding to any type of material includes the purchase volume of the material of any type in each purchase cycle before the current purchase cycle; based on the historical sales data corresponding to any type of material, generating the predicted sales volume of the material of any type in each cycle dimension includes: for any cycle dimension, taking the previous purchase cycle of the current purchase cycle as the starting point, taking the cycle length corresponding to the any cycle dimension as the division time length, and taking the reverse time order as the direction, dividing the historical time before the current purchase cycle into several continuous time intervals, and obtaining the total purchase volume of the material of any type in each time interval based on the historical sales data; constructing the reduced dimension time series data corresponding to the material of any type in the current purchase cycle in the time order between each time interval; inputting the reduced dimension time series data into the time series data prediction model under the any cycle dimension to obtain the predicted sales volume of the material of any type in the any cycle dimension, wherein the predicted sales volume of the material of any type in the any cycle dimension is specifically the predicted sales volume of the material from the current purchase cycle to the cycle length corresponding to the any cycle dimension in the future.

[0042] In this embodiment, the historical sales data corresponding to any type of material includes the purchase volume of any type of material in each purchase cycle before the current purchase cycle. It should be noted that the reverse order of time is also called reverse time sequence, which can refer to the reverse order from the back to the front according to the order of the time axis. When a new purchase cycle arrives, for any cycle dimension of any type of material, the predicted sales volume under any cycle dimension of the current purchase cycle can be predicted by the cycle length between two adjacent purchase cycles. Specifically, the previous purchase cycle of the current purchase cycle is used as the time starting point, the cycle length corresponding to any cycle dimension is used as the division time length, and the historical time before the current purchase cycle is divided into several continuous time intervals in the reverse order of time. Each time interval includes the corresponding historical actual sales volume and purchase volume. Therefore, after dividing multiple time intervals, the total purchase volume for any type of material in each time interval can be obtained based on the historical sales data. Further, the total purchase volume for any type of material in each time interval is used in the time sequence between each time interval to construct the reduced dimension time series data corresponding to any type of material in the current purchase cycle in any cycle dimension. For example, taking the cycle duration of any cycle dimension as 5 days, the historical sales data corresponding to the multiple time intervals obtained are {12, 3, 4, 5, 6, 7, 8, 9, 10}, and the corresponding reduced dimension time series data {15, 40} can be obtained by reducing the dimension according to 5 days, that is, starting from the most recent day, count forward one cycle dimension and sum to get the most recent item, and then count forward one cycle dimension in turn and sum to get the second to last item, and so on, to regenerate a set of reduced dimension time series data. After obtaining the reduced dimension time series data, the reduced dimension time series data is input into the time series data prediction model under the any cycle dimension, and the predicted sales volume of any type of material under the any cycle dimension can be obtained. It should be noted that the predicted sales volume of any type of material under the any cycle dimension can refer to the predicted sales volume of any material from the current procurement cycle to the cycle duration corresponding to the any cycle dimension in the future.

[0043] Step 102, determine the procurement plan for any type of material in each cycle dimension in the current procurement cycle, and update the planned procurement quantity of any type of material in the procurement plan for each cycle dimension based on the predicted sales volume of any type of material in each cycle dimension and the historical sales volume of any type of material in the procurement plan for each cycle dimension.

[0044] In the embodiment of the present application, it should be noted that for the procurement plan of any type of material under any cycle dimension, the procurement plan may include the planned procurement volume and planning cycle of any cycle dimension of the material type, wherein the planned procurement volume may refer to the predicted sales volume in the current procurement cycle, and the planning cycle may refer to the time interval of the cycle duration of any cycle dimension from the current procurement cycle onwards. For any type of material, it is necessary to determine whether there is a corresponding procurement plan for any cycle dimension of the material of any type. If the procurement plan of any cycle dimension is blank, a new procurement plan for the material of any type in the dimension of any cycle needs to be created. If there is a corresponding procurement plan for any cycle dimension of the material of any type, the original procurement plan needs to be updated under the current procurement cycle. Specifically, based on the predicted sales volume of the material of any type in each cycle dimension and the historical sales volume of the material of any type in the procurement plan of each cycle dimension, the planned procurement volume of the material of any type in the procurement plan of each cycle dimension is updated. Among them, it should be noted that the procurement plans of the same cycle dimension have the same start and end times and the corresponding cycle durations are all the cycle durations corresponding to the same cycle dimension.

[0045] In an embodiment of the present application, the material procurement method also includes: for any type of material, in the absence of a procurement plan for any type of material in any cycle dimension in the current procurement cycle, based on the historical sales volume corresponding to the any type of material in the any cycle dimension, generating a predicted sales volume of the any type of material in the any cycle dimension, and determining the predicted sales volume as the procurement planning volume of the any type of material in the any cycle dimension; taking the current procurement cycle as the starting point and the cycle length corresponding to the any cycle dimension as the division time, dividing the time interval after the current procurement cycle into several continuous time intervals to obtain the planning cycle of the any type of material in the any cycle dimension; constructing a procurement plan for the any type of material in the any cycle dimension based on the procurement planning volume and planning cycle of the any type of material in the any cycle dimension.

[0046] In this embodiment, for any type of material, if the procurement plan of any period dimension of the material of any type is blank, a new procurement plan of the material of any type in the dimension is required. Specifically, the procurement plan includes the predicted sales volume and planning cycle of each type of material in each period dimension. When the procurement plan is blank, it is equivalent to the historical procurement volume of the material in the period dimension being 0. Therefore, at this time, the predicted sales volume in the period dimension can be generated based on the latest historical sales volume corresponding to the material, and the predicted sales volume is determined as the procurement planning volume of the material in the period dimension. At the same time, the current procurement cycle is used as the time starting point of the procurement plan under the period dimension, and the cycle length of the period dimension is used as the division time, so as to divide the subsequent time into several continuous time intervals, and the length of each time interval is the same as the cycle length of the period dimension, thereby obtaining the planning cycle of the material under the period dimension. Then, the procurement plan of the material under the period dimension is constructed based on the obtained procurement planning volume and planning cycle.

[0047] In an embodiment of the present application, based on the predicted sales volume of any type of material in each cycle dimension and the historical sales volume of any type of material in the procurement plan for each cycle dimension, updating the planned procurement volume of any type of material in the procurement plan for each cycle dimension includes: for the procurement plan for any type of material in any cycle dimension, determining an adjustment factor based on the planning cycle of the procurement plan and the remaining number of procurement cycles of any type of material in the procurement plan; determining the planned procurement volume of any type of material in the procurement plan for each cycle dimension based on the predicted sales volume of any type of material in each cycle dimension, the adjustment factor and the historical sales volume of any type of material in the procurement plan for each cycle dimension.

[0048] In this embodiment, it should be noted that if it is necessary to update the quantity index of the procurement plan of any type of material in a certain cycle dimension, the historical sales data is still first reduced in dimension and predicted according to the cycle to obtain the updated reduced-dimensional time series data, and then the task quantity index of the current task is determined based on the reduced-dimensional time series data, the duration between the current procurement cycle and the end of the task cycle, and the historical actual sales quantity between the start of the procurement task and the current procurement cycle. Specifically, for example, for material m in the cycle dimension T q The procurement plan for procurement cycles, where q is the cycle dimension identifier and the planning cycle is T q , the tth time after the cycle dimension starts q (i)∈[0,Tq] procurement cycles, where i is the absolute sequence number of the current procurement cycle, t q (i) refers to the number of the procurement cycle in the current q-dimensional procurement cycle. For example, when i=2222, and T q=5, and the time interval corresponding to the currently divided task cycle is [2220,2224], then t q (i)=3). Therefore, according to the planning period T q And the number of remaining procurement cycles Determine the adjustment factor, which can be expressed as Further, the planned purchase quantity of any type of material in the procurement plan for each cycle dimension is determined based on the predicted sales quantity of any type of material in each cycle dimension, the adjustment factor, and the historical sales quantity of any type of material in the procurement plan for each cycle dimension.

[0049] In the embodiment of the present application, the planned purchase quantity is determined according to formula (1):

[0050] (1),

[0051] in, is the planned purchase quantity of material m in the q-dimensional purchase plan in the current purchase cycle i, is the sales volume of material m in the jth procurement cycle in the q-dimensional procurement plan at the current procurement cycle i, is the q-dimensional predicted sales volume of material m generated based on the latest historical sales data corresponding to material m in the current procurement cycle i. The planning cycle for q-dimensional procurement planning, is the number of procurement cycles between the start time of the current procurement cycle i and the start time of the planning cycle of the q-dimensional procurement plan, is the number of remaining procurement cycles in the q-dimensional procurement plan at the current procurement cycle i.

[0052] It should be noted that May refer to the adjustment factor mentioned above.

[0053] Step 103, based on the planned purchase quantity, historical purchase quantity and remaining purchase cycles of the material of any type in the purchase plan of each cycle dimension, generate the current reference purchase quantity of the material of any type in each cycle dimension, wherein the current reference purchase quantity of the material of any type in any cycle dimension is used to represent the reference purchase quantity for the current purchase cycle required by the purchase plan of the material of any type in the cycle dimension.

[0054] In the embodiment of the present application, it should be noted that after the procurement plan for each material in different cycle dimensions is newly created and the planned procurement quantity index is updated, it is also necessary to update the demand quantity required for each material in different cycle dimensions in the current procurement cycle, that is, the current reference procurement quantity, wherein this demand quantity can be determined by the completion status and quantity index of the q-dimensional task. Specifically, the current reference procurement quantity of any type of material in each cycle dimension can be generated based on the planned procurement quantity, historical procurement quantity and remaining number of procurement cycles in the procurement plan of any type of material in each cycle dimension. For example, the current reference procurement quantity = remaining procurement quantity / remaining number of procurement cycles = (planned procurement quantity - historical procurement quantity) / remaining number of procurement cycles. Among them, the current reference procurement quantity of any type of material in any cycle dimension is used to characterize the reference procurement quantity for the current procurement cycle required by the procurement plan of any type of material in any cycle dimension.

[0055] In an embodiment of the present application, generating the current reference purchase quantity of any type of material in each cycle dimension based on the planned purchase quantity, historical purchase quantity and remaining number of purchase cycles of the material of any type in the purchase plan of each cycle dimension includes: for any cycle dimension of any type of material, determining the remaining purchase quantity of the material of any type in the purchase plan of any cycle dimension based on the difference between the planned purchase quantity of the material of any type in the purchase plan of any cycle dimension and the historical purchase quantity in the purchase plan of any cycle dimension; determining the current reference purchase quantity of the material of any type in any cycle dimension based on the ratio between the remaining purchase quantity in the purchase plan of any type of material in the purchase plan of any cycle dimension and the remaining number of purchase cycles.

[0056] In this embodiment, when updating the current reference quantity of different cycle dimensions of each material in the current procurement cycle, for any cycle dimension of any type of material, the remaining procurement quantity of any type of material in the procurement plan of any cycle dimension can be obtained based on the difference between the planned procurement quantity of any type of material in the procurement plan of any cycle dimension and the historical procurement quantity in the procurement plan of any cycle dimension, that is, the planned procurement quantity minus the historical procurement quantity. At the same time, the current reference procurement quantity of any type of material in any cycle dimension is determined based on the ratio between the remaining procurement quantity of any type of material in the procurement plan of any cycle dimension and the remaining number of procurement cycles, that is, the remaining procurement quantity / remaining number of procurement cycles.

[0057] In the embodiment of the present application, the current reference purchase volume is determined according to formula (2):

[0058] (2),

[0059] in, is the reference purchase quantity of material m in dimension q during the current purchase cycle i. is the purchase quantity of material m in the jth purchase cycle in the q-dimensional purchase plan at the current purchase cycle i, max() is the maximum value function, The planning cycle for q-dimensional procurement planning, is the number of procurement cycles between the start time of the current procurement cycle i and the start time of the planning cycle of the q-dimensional procurement plan, is the number of remaining procurement cycles in the q-dimensional procurement plan at the current procurement cycle i.

[0060] Step 104, based on the current reference purchase quantity of any type of material in each cycle dimension, generate an alternative purchase task corresponding to any type of material in each cycle dimension, and add the alternative purchase task to the alternative purchase task set corresponding to any cycle dimension, wherein the alternative purchase tasks in the alternative purchase task set corresponding to any cycle dimension are arranged in positive order from low to high according to the purchase quantity.

[0061] In the embodiment of the present application, after generating the current reference purchase quantity of any type of material in each cycle dimension based on the planned purchase quantity, historical purchase quantity and remaining purchase cycle number in the purchase plan of any type of material in each cycle dimension, the demand quantity required by the purchase task corresponding to each dimension of each material in the current purchase cycle is obtained. Q represents all cycle dimensions, which can be regarded as a non-negative integer set with an upper limit Qmax (each number represents a dimension and the larger the q, the larger the corresponding cycle), and M represents the types of all materials, which can be regarded as a positive integer set with an upper limit Mmax (each number represents a type). At this time, for any cycle dimension of any material, there is a constraint relationship between the demand under each cycle dimension. Therefore, for any cycle dimension of any material, it is necessary to determine the additional demand of any cycle dimension in the current procurement cycle based on the remaining cycle dimensions of the material. Specifically, for any type of material, it is necessary to generate the alternative procurement tasks corresponding to the material of any type in each cycle dimension, that is, the additional demand, and add the alternative procurement tasks to the set of alternative procurement tasks corresponding to the material of any type in the cycle dimension. It should be noted that the procurement quantity of the alternative procurement tasks corresponding to any type of material in any cycle dimension is the difference between the current reference procurement quantity of the material of any type in the cycle dimension and the current reference procurement quantity of the material of any type in the previous cycle dimension corresponding to the material of any type in the cycle dimension, and the procurement type of the alternative procurement tasks corresponding to any type of material in any cycle dimension is the material of any type.

[0062] In an embodiment of the present application, based on the current reference procurement quantity of any type of material in each cycle dimension, generating alternative procurement tasks corresponding to any type of material in each cycle dimension includes: for any cycle dimension of any type of material, based on the difference between the reference procurement quantity of any type of material in the procurement plan of the cycle dimension and the current reference procurement quantity of any type of material in the previous cycle dimension corresponding to the cycle dimension, determining the procurement quantity of the alternative procurement tasks corresponding to any type of material in the cycle dimension; based on the procurement quantity of the alternative procurement tasks corresponding to any type of material in any cycle dimension, generating alternative procurement tasks corresponding to any type of material in each cycle dimension.

[0063] In this embodiment, for any period dimension of any type of material, the purchase quantity of the alternative purchase task corresponding to the period dimension of the material of any type can be determined based on the difference between the reference purchase quantity of the material of any type in the purchase plan of the period dimension and the current reference purchase quantity of the material of any type in the previous period dimension corresponding to the period dimension. Specifically, the purchase quantity of the alternative purchase task is For example, According to the formula Calculated, where The reference purchase quantity of any type of material in the purchase plan of this cycle dimension. is the current reference purchase quantity of the material of any type in the previous cycle dimension corresponding to the cycle dimension. According to the difference between the two, the purchase quantity of the alternative purchase task corresponding to the material of any type in the cycle dimension can be calculated. Among them, when the difference between the two is a negative number, it is reset to 0. At this time, it can be considered that the quantity index of the current reference purchase quantity is too much. At this time, the current reference purchase quantity needs to be updated according to formula (2). It should be noted that for any m and i, =0, so when Q includes the short, medium and long term dimensions (corresponding to q=1, 2, 3 respectively), we can get: , , .

[0064] Step 105, based on the total purchase quantity upper limit corresponding to the current purchase cycle and the preset allocation rules, allocate the corresponding purchase quantity upper limit to the purchase task set corresponding to each cycle dimension, and the sum of the purchase quantity upper limits of the purchase task set corresponding to each cycle dimension is the total purchase quantity upper limit.

[0065] In the embodiment of the present application, it should be noted that the purchase quantity of the alternative purchase task corresponding to any type of material in any cycle dimension is the difference between the current reference purchase quantity of the material of any type in any cycle dimension and the current reference purchase quantity of the material of any type in the previous cycle dimension corresponding to the material of any type in any cycle dimension, and the purchase type of the alternative purchase task corresponding to any type of material in any cycle dimension is the material of any type. In the present technical solution, after obtaining the additional demand quantity of the current purchase cycle required by the purchase task corresponding to each material in each cycle dimension, After that, a corresponding q-dimensional procurement task is constructed for each material in each cycle dimension. For example, in the current procurement cycle i, the q-dimensional procurement task constructed for material m in the q dimension is {m, }, which is represented in the form of a binary array, and then the newly constructed q-dimensional procurement tasks of each cycle dimension are allocated to the procurement task queue of the corresponding cycle dimension until the corresponding procurement volume limit is reached. At the same time, when allocating, it is necessary to allocate according to the preset allocation rules. The preset allocation rules include sorting the procurement tasks. Specifically, for example, the sorting rules can be based on Sort the binary arrays corresponding to the procurement tasks in ascending order. After the allocation is completed, the task space is generated and the total procurement tasks of the current procurement cycle are determined.

[0066] In an embodiment of the present application, different cycle dimensions correspond to different cycle durations, and the smaller the cycle dimension, the shorter the corresponding cycle duration. The preset allocation rules include a first preset allocation rule and a second preset allocation rule, wherein the first preset allocation rule is used to stipulate: based on a preset ratio between different cycle dimensions, a corresponding purchase quantity upper limit is allocated to a purchase task set corresponding to each cycle dimension; the second preset allocation rule is used to stipulate: the sum of the purchase quantities of each purchase task included in the alternative purchase task set corresponding to the minimum cycle dimension is determined as the purchase benchmark value; when the purchase benchmark value is not less than the total purchase quantity upper limit, the total purchase quantity upper limit is updated to the purchase benchmark value, and the minimum cycle dimension is updated. The upper limit of the purchase quantity of the alternative purchase task set corresponding to the dimension is set to the purchase benchmark value, and the upper limit of the purchase quantity of the alternative purchase task set corresponding to other cycle dimensions except the minimum cycle dimension is set to zero; when the purchase benchmark value is less than the total upper limit of the purchase quantity, the difference between the total upper limit of the purchase quantity and the purchase benchmark value is determined as the remaining purchase capacity, the upper limit of the purchase quantity of the alternative purchase task set corresponding to the minimum cycle dimension is set to the purchase benchmark value, and based on the preset ratio between different cycle dimensions, the corresponding upper limits of the purchase quantity are allocated to the purchase task sets corresponding to other cycle dimensions, and the sum of the upper limits of the purchase quantity of the purchase task sets corresponding to other cycle dimensions is the remaining purchase capacity.

[0067] In this embodiment, it should be noted that the total procurement task in this technical solution needs to be able to take into account the demand for each material in each cycle dimension at the same time. Under normal circumstances, the types of materials that can be purchased in each procurement cycle are limited, so a queuing mechanism is required to sort each material in different cycle dimensions. In this technical solution, the preset allocation rules include a first preset allocation rule and a second preset allocation rule, wherein the first preset rule may refer to allocating a corresponding purchase quantity upper limit to the procurement task set corresponding to each cycle dimension based on a preset ratio between different cycle dimensions. Specifically, under the first preset rule, the lowest demand in the lowest cycle dimension is not given priority, but a preset ratio is set for each cycle dimension, and the task space of different cycle dimensions is directly allocated based on a ratio, and then the procurement tasks corresponding to the binary arrays ranked higher in the task list of each cycle dimension are respectively allocated to the task space of the corresponding dimension. This method does not allow the lifting of the cycle procurement quantity limit.

[0068] In this embodiment, it should be noted that the second preset rule may refer to determining the sum of the purchase quantities of each purchase task included in the alternative purchase task set corresponding to the minimum cycle dimension as the purchase benchmark value. When the purchase benchmark value is not less than the total upper limit of the purchase quantity, the total upper limit of the purchase quantity is updated to the purchase benchmark value, the purchase quantity upper limit of the alternative purchase task set corresponding to the minimum cycle dimension is set to the purchase benchmark value, and the purchase quantity upper limit of the alternative purchase task set corresponding to other cycle dimensions other than the minimum cycle dimension is set to zero. Specifically, the small cycle dimension with the shortest cycle duration is given priority, and the material requirements with less demand are prioritized in front until the material requirements of all small cycle dimensions are met, and then check whether the purchase quantity upper limit is exceeded. If the upper limit is not reached, the remaining cycle dimensions arranged later are satisfied according to a certain ratio. For example, taking the cycle dimension including short, medium and long cycle dimensions as an example, the demand of the short cycle dimension is given priority in the order of short, medium and long. For example, the total purchase quantity of all purchase tasks in the task queue of the lowest cycle dimension with q=1 is calculated first (equal to the corresponding quantity of all tasks in the queue). The total purchase quantity is checked to see if it exceeds the size of the task space (predetermined period purchase quantity limit). If it exceeds, the limit can be further lifted, or the task can be assigned to the task space in order without lifting the limit, and the total purchase task is finally generated. Then, if it does not exceed, all the purchase tasks in the 1-dimensional task queue are added to the task space, and at the same time, it is checked whether there is any remaining space in the task space. If not, it ends. If there is, different q-dimensional task spaces are allocated to different period dimensions according to the preset allocation ratio, and the corresponding purchase tasks are added to their respective q-dimensional task spaces from the task lists of their respective dimensions in order. At this time, the limit is not allowed to be lifted. In the case where the purchase benchmark value is less than the total purchase quantity upper limit, the difference between the total purchase quantity upper limit and the purchase benchmark value is determined as the remaining purchase capacity, the purchase quantity upper limit of the candidate purchase task set corresponding to the minimum period dimension is set to the purchase benchmark value, and the corresponding purchase quantity upper limits are allocated to the purchase task sets corresponding to other period dimensions based on the preset ratio between different period dimensions, and the sum of the purchase quantity upper limits of the purchase task sets corresponding to other period dimensions is the remaining purchase capacity. Specifically, if it does not exceed, all procurement tasks in the 1-dimensional task queue will be added to the task space, and at the same time, it will be checked whether there is any remaining space in the task space. If not, the task will be terminated. If so, different q-dimensional task spaces will be allocated to different cycle dimensions according to the preset allocation ratio, and the corresponding procurement tasks will be added to their respective q-dimensional task spaces from the task lists of their respective dimensions in order. At this time, the restriction is not allowed to be lifted.

[0069] Step 106, when all alternative procurement tasks corresponding to each cycle dimension for each type of material have been generated, the alternative procurement tasks with the highest ranking in the alternative procurement task set corresponding to any cycle dimension are added to the procurement task set corresponding to any cycle dimension, wherein the sum of the procurement quantities of each procurement task included in the procurement task set corresponding to any cycle dimension shall not exceed the procurement quantity upper limit of the procurement task set corresponding to any cycle dimension.

[0070] In the embodiment of the present application, it should be noted that the sum of the purchase quantities of the purchase tasks included in the purchase task set corresponding to any cycle dimension does not exceed the purchase quantity upper limit of the purchase task set corresponding to any cycle dimension. When the alternative purchase tasks corresponding to each type of material in each cycle dimension are generated, the top-ranked alternative purchase tasks in the alternative purchase task set corresponding to any cycle dimension are added to the purchase task set corresponding to any cycle dimension.

[0071] In an embodiment of the present application, the material procurement method also includes: when the first alternative procurement task in the alternative procurement task set corresponding to any cycle dimension is added to the procurement task set corresponding to any cycle dimension, a splitting strategy is adopted to split the first alternative task and add it to the procurement task set corresponding to any cycle dimension until the procurement task set corresponding to any cycle dimension reaches the procurement quantity upper limit of the procurement task set corresponding to any cycle dimension; wherein the first alternative procurement task is a task that meets the following conditions: the sum of the procurement quantities of the second alternative procurement tasks ranked before the first alternative procurement task in the alternative procurement task set corresponding to any cycle dimension is less than the procurement quantity upper limit of the procurement task set corresponding to any cycle dimension, and the sum of the procurement quantities of the first procurement task and the second procurement task is greater than the procurement quantity upper limit of the procurement task set corresponding to any cycle dimension.

[0072] In this embodiment, it should be noted that adding the first candidate procurement task in the candidate procurement task set corresponding to any cycle dimension to the procurement task set corresponding to the cycle dimension may mean that when allocating procurement tasks, a procurement task corresponding to a binary array cannot be allocated to the corresponding task space as a whole. In this case, the procurement task can be split according to the remaining space margin, and the split procurement tasks can be added to the corresponding task space, so as to finally fill the entire task space. It should be noted that the sum of the purchase quantities of the second candidate procurement tasks ranked before the first candidate procurement task in the candidate procurement task set corresponding to any cycle dimension is less than the upper limit of the purchase quantity of the procurement task set corresponding to any cycle dimension, and the sum of the purchase quantities of the first procurement task and the second procurement task is greater than the upper limit of the purchase quantity of the procurement task set corresponding to any cycle dimension. Similarly, when allocating procurement tasks, if there is excess remaining space, there is no need to fill it up, because we only stipulate the upper limit of the procurement quantity of a cycle, and do not need to stipulate the lower limit. That is to say, the total quantity of a total procurement task can be greater than the size of the specified task space (corresponding to the lifting of restrictions), or equal to, or less than (corresponding to the remaining space).

[0073] Step 107: Generate a procurement plan corresponding to the current procurement cycle based on the procurement task set corresponding to each dimension.

[0074] In an embodiment of the present application, after obtaining the set of procurement tasks corresponding to each dimension, a procurement plan corresponding to the current procurement cycle is generated based on the set of procurement tasks corresponding to each dimension, and the procurement plan is executed. Specifically, taking the cycle dimension including the three dimensions of short, medium and long as an example, different queues are designed for different cycle dimensions, and each item in the queue for each cycle dimension is a binary array consisting of a material type and a corresponding additional demand quantity, and the queue is sorted in ascending order of the additional demand quantity in the binary array. In the current procurement cycle, it is necessary to update the queues of each cycle dimension in sequence, and then combine the tasks in these queues into procurement tasks for the current cycle according to the rules and execute procurement. First, the short-term tasks in the short-term task queue can be sorted and put into the current task space, where the task space of each cycle dimension has a predetermined fixed size, but it is limited to when adding short-term tasks, and the current task space can be selectively expanded when the task space is exceeded. Determine whether there is any remaining space in the task space at this time. If so, the remaining space can be split into medium-term task spaces corresponding to the number of aλ / (a+b) and long-term task spaces corresponding to the number of bλ / (a+b) according to the ratio of a:b (a≥b), where λ is the size of the remaining space. If there is not enough space to split, round up aλ / (a+b) and round down bλ / (a+b). Update the medium-term and long-term task queues based on the current task space, put the first aλ medium-term tasks into the medium-term task space according to the sorting of the medium-term task queue, and put the first bλ long-term tasks into the long-term task space according to the sorting of the long-term task queue. Finally, sort out the combined quantity of the same materials in the current task space to obtain the procurement plan corresponding to the current procurement cycle, and execute the procurement plan. If there is no remaining space in the task space at this time, directly sort out the combined quantity of the same materials in the current task space to obtain the procurement plan corresponding to the current procurement cycle, and execute the procurement plan.

[0075] The above technical solution provides a material procurement method based on multiple cycle dimensions. By simultaneously considering the procurement needs of materials in different cycle dimensions to plan the current procurement cycle, the rationality and adaptability of procurement can be improved. At the same time, task space size limits and sorting mechanisms are set to avoid excessive procurement and ensure reasonable inventory costs, thereby effectively reducing inventory costs.

[0076] An embodiment of the present application provides a storage medium on which a program is stored. When the program is executed by a processor, the above-mentioned material procurement method based on multi-cycle dimensions is implemented.

[0077] An embodiment of the present application provides a processor, which is used to run a program, wherein the program executes the above-mentioned material procurement method based on multi-cycle dimensions when running.

[0078] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 2 As shown. The computer device includes a processor A01, a network interface A02, a memory (not shown in the figure) and a database (not shown in the figure) connected through a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02 and a database (not shown in the figure). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A04. The database of the computer device is used to store material procurement method data based on multi-cycle dimensions. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program B02 is executed by the processor A01, a material procurement method based on multi-cycle dimensions is implemented.

[0079] Those skilled in the art will understand that Figure 2 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0080] An embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, steps of a material procurement method based on a multi-cycle dimension are implemented.

[0081] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing the steps of a material procurement method based on a multi-cycle dimension.

[0082] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0083] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0084] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0085] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0086] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0087] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0088] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0089] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0090] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A material procurement method based on multi-cycle dimensions, It is characterized in that The material procurement method includes: Based on the historical sales data corresponding to any type of material, generate the predicted sales volume of any type of material in each period dimension; Determine the procurement plan for any type of material in each cycle dimension in the current procurement cycle, and determine the adjustment factor for the procurement plan for any type of material in any cycle dimension based on the planning cycle of the procurement plan and the number of remaining procurement cycles for any type of material in the procurement plan; Determine the planned purchase quantity of the material of any type in the procurement plan of each cycle dimension based on the predicted sales quantity of the material of any type in each cycle dimension, the adjustment factor, and the historical sales quantity of the material of any type in the procurement plan of each cycle dimension; For any period dimension of any type of material, based on the difference between the planned purchase quantity of the material of any type in the purchase plan of the any period dimension and the historical purchase quantity in the purchase plan of the any period dimension, determine the remaining purchase quantity of the material of any type in the purchase plan of the any period dimension; Determine the current reference purchase quantity of the material of any type in the dimension of any cycle based on the ratio between the remaining purchase quantity of the material of any type in the purchase plan of the dimension of any cycle and the number of remaining purchase cycles, wherein the current reference purchase quantity of the material of any type in the dimension of any cycle is used to represent the reference purchase quantity for the current purchase cycle required by the purchase plan of the material of any type in the dimension of any cycle; Based on the current reference purchase quantity of the material of any type in each cycle dimension, generate the alternative purchase task corresponding to the material of any type in each cycle dimension, and add the alternative purchase task to the alternative purchase task set corresponding to the any cycle dimension, wherein the alternative purchase tasks in the alternative purchase task set corresponding to the any cycle dimension are arranged in positive order from low to high according to the purchase quantity; Based on the total purchase quantity upper limit corresponding to the current purchase cycle and the preset allocation rule, a corresponding purchase quantity upper limit is allocated to the purchase task set corresponding to each cycle dimension, and the sum of the purchase quantity upper limits of the purchase task set corresponding to each cycle dimension is the total purchase quantity upper limit; When all alternative procurement tasks corresponding to each cycle dimension of each type of material have been generated, the top-ranked alternative procurement tasks in the alternative procurement task set corresponding to any cycle dimension are added to the procurement task set corresponding to any cycle dimension, wherein the sum of the procurement quantities of the procurement tasks included in the procurement task set corresponding to any cycle dimension does not exceed the procurement quantity upper limit of the procurement task set corresponding to any cycle dimension; A procurement plan corresponding to the current procurement cycle is generated based on the procurement task set corresponding to each dimension.

2. According to the material procurement method based on multi-cycle dimensions according to claim 1, It is characterized in that The historical sales data corresponding to any type of material includes the purchase volume of the material of any type in each purchase cycle before the current purchase cycle; the generating of the predicted sales volume of the material of any type in each cycle dimension based on the historical sales data corresponding to the material of any type includes: For any cycle dimension, taking the previous procurement cycle of the current procurement cycle as the starting point, taking the cycle length corresponding to the any cycle dimension as the division time, and taking the reverse time order as the direction, the historical time before the current procurement cycle is divided into several continuous time intervals, and obtaining the total procurement amount of any type of material in each time interval based on the historical sales data; The total purchase amount of any type of material in each time interval is used in the time sequence between each time interval to construct the dimension-reduced time series data corresponding to any type of material in any cycle dimension during the current procurement cycle; The reduced-dimensional time series data is input into the time series data prediction model under the any cycle dimension to obtain the predicted sales volume of the any type of material under the any cycle dimension, wherein the predicted sales volume of the any type of material under the any cycle dimension is specifically the predicted sales volume for the any material from the current procurement cycle to the cycle duration corresponding to the any cycle dimension in the future.

3. According to the material procurement method based on multi-cycle dimensions according to claim 1, It is characterized in that The material procurement method further includes: For any type of material, if the procurement plan for the material of any type in any cycle dimension in the current procurement cycle is not obtained, based on the historical sales volume corresponding to the material of any type in any cycle dimension, the predicted sales volume of the material of any type in any cycle dimension is generated, and the predicted sales volume is determined as the procurement plan volume of the material of any type in any cycle dimension; Taking the current procurement cycle as the starting point and the cycle length corresponding to any cycle dimension as the division time, the time interval after the current procurement cycle is divided into several continuous time intervals to obtain the planning cycle of any type of material in any cycle dimension; Based on the procurement planning quantity and planning cycle of any type of material in any cycle dimension, a procurement plan for any type of material in any cycle dimension is constructed.

4. The material procurement method based on multi-cycle dimensions according to claim 1, It is characterized in that The planned purchase volume is determined according to formula (1): (1), Wherein, q is a period dimension identifier, including at least one of a short-term dimension, a medium-term dimension, and a long-term dimension. is the planned purchase quantity of material m in the q-dimensional purchase plan in the current purchase cycle i, including at least one of the planned purchase quantities of material m in the short-term dimension, medium-term dimension, and long-term dimension purchase plans in the current purchase cycle i, is the sales volume of material m in the jth procurement cycle in the q-dimensional procurement plan at the current procurement cycle i, is the q-dimensional predicted sales volume of material m generated based on the latest historical sales data corresponding to material m in the current procurement cycle i, including at least one of the short-term dimension, medium-term dimension, and long-term dimension predicted sales volume of material m generated based on the latest historical sales data corresponding to material m in the current procurement cycle i, The planning cycle for q-dimensional procurement planning, is the number of procurement cycles between the start time of the current procurement cycle i and the start time of the planning cycle of the q-dimensional procurement plan, is the number of remaining procurement cycles in the q-dimensional procurement plan at the current procurement cycle i.

5. The material procurement method based on multi-cycle dimensions according to claim 1, It is characterized in that The current reference purchase volume is determined according to formula (2): (2), Among them, q is the cycle dimension identifier, including short-term dimension, medium-term dimension and long-term dimension. is the reference purchase quantity of material m in dimension q during the current purchase cycle i. is the planned purchase quantity of material m in the q-dimensional purchase plan in the current purchase cycle i, including at least one of the planned purchase quantities of material m in the short-term dimension, medium-term dimension, and long-term dimension purchase plans in the current purchase cycle i, is the purchase quantity of material m in the jth purchase cycle in the q-dimensional purchase plan at the current purchase cycle i, max() is the maximum value function, The planning cycle for q-dimensional procurement planning, is the number of procurement cycles between the start time of the current procurement cycle i and the start time of the planning cycle of the q-dimensional procurement plan, is the number of remaining procurement cycles in the q-dimensional procurement plan at the current procurement cycle i.

6. The material procurement method based on multi-cycle dimensions according to claim 1, It is characterized in that The generating of the candidate procurement tasks corresponding to the material of any type in each cycle dimension based on the current reference procurement quantity of the material of any type in each cycle dimension includes: For any period dimension of any type of material, the purchase quantity of the alternative purchase task corresponding to the period dimension of the material of any type is determined based on the difference between the reference purchase quantity of the material of any type in the purchase plan of the period dimension and the current reference purchase quantity of the material of any type in the previous period dimension corresponding to the period dimension; Based on the purchase quantity of the alternative purchase tasks corresponding to any type of material in any period dimension, the alternative purchase tasks corresponding to any type of material in each period dimension are generated.

7. The material procurement method based on multi-cycle dimensions according to claim 1, It is characterized in that Different cycle dimensions correspond to different cycle durations. The smaller the cycle dimension, the shorter the corresponding cycle duration. The preset allocation rule includes a first preset allocation rule and a second preset allocation rule, wherein the first preset allocation rule is used to specify: Based on the preset ratio between different cycle dimensions, a corresponding purchase volume upper limit is allocated to the purchase task set corresponding to each cycle dimension; The second preset allocation rule is used to specify: The sum of the purchase quantities of each purchase task included in the set of alternative purchase tasks corresponding to the minimum cycle dimension is determined as the purchase benchmark value; If the purchase benchmark value is not less than the total purchase quantity upper limit, the total purchase quantity upper limit is updated to the purchase benchmark value, the purchase quantity upper limit of the candidate purchase task set corresponding to the minimum cycle dimension is set to the purchase benchmark value, and the purchase quantity upper limit of the candidate purchase task set corresponding to other cycle dimensions other than the minimum cycle dimension is set to zero; In the case where the procurement benchmark value is less than the total procurement quantity upper limit, the difference between the total procurement quantity upper limit and the procurement benchmark value is determined as the remaining procurement capacity, the procurement quantity upper limit of the alternative procurement task set corresponding to the minimum cycle dimension is set to the procurement benchmark value, and based on the preset ratio between different cycle dimensions, the procurement task sets corresponding to the other cycle dimensions are allocated corresponding procurement quantity upper limits, and the sum of the procurement quantity upper limits of the procurement task sets corresponding to the other cycle dimensions is the remaining procurement capacity.

8. The material procurement method based on multi-cycle dimensions according to claim 1, It is characterized in that The material procurement method further includes: When the first alternative procurement task in the alternative procurement task set corresponding to any cycle dimension is added to the procurement task set corresponding to any cycle dimension, a splitting strategy is adopted to split the first alternative task and add it to the procurement task set corresponding to any cycle dimension until the procurement task set corresponding to any cycle dimension reaches the procurement quantity upper limit of the procurement task set corresponding to any cycle dimension; wherein the first alternative procurement task is a task that meets the following conditions: the sum of the procurement quantities of the second alternative procurement tasks ranked before the first alternative procurement task in the alternative procurement task set corresponding to any cycle dimension is less than the procurement quantity upper limit of the procurement task set corresponding to any cycle dimension, and the sum of the procurement quantities of the first procurement task and the second procurement task is greater than the procurement quantity upper limit of the procurement task set corresponding to any cycle dimension.

9. A material procurement device based on multi-cycle dimensions, It is characterized in that include: a memory configured to store instructions; A processor is configured to call the instructions from the memory and implement the material procurement method based on multi-cycle dimensions according to any one of claims 1 to 8 when executing the instructions.

10. A material procurement system based on multi-cycle dimensions, It is characterized in that It includes a material procurement device based on multiple cycle dimensions according to claim 9.

11. A machine-readable storage medium having instructions stored thereon, It is characterized in that When the instruction is executed by a processor, the processor is configured to execute the material procurement method based on multi-cycle dimensions according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Sales prediction and replenishment method

    CN106971249A

  • Hospital medicine purchase plan prediction method and system based on LSTM

    CN113888090A

  • Method, system and equipment for sampling according to sales and storage medium

    CN116109246A

  • Purchase service management method and device based on ERP (Enterprise Resource Planning), electronic equipment and medium

    CN117557204A

  • Smart supply chain system

    JP2021163485A