Material demand plan operation time prediction method, device, equipment and medium
By matching and adjusting the characteristic data of material requirement planning and available inventory data, the accurate prediction of MRP calculation time is achieved, which solves the problem that the calculation progress and time-consuming in the existing technology cannot be accurately reflected, and improves the efficiency and efficiency of production plan management. accuracy.
Patent Information
- Application Number
- CN202410895049.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-08-30
AI Technical Summary
The existing MRP operation process lacks effective time monitoring and prediction, resulting in the failure to accurately reflect the operation progress and time consumption, affecting the decision-making efficiency of the production plan.
By obtaining the characteristic data of the material requirements plan and matching it with the sample data of the available inventory, the data set is filtered or adjusted to predict the operation time, achieving non-intrusive operation time prediction and maintaining system integrity and stability.
It improves the MRP calculation accuracy and the predictability of production plan management, and avoids decision-making delays and operational risks caused by uncertainty in calculation time.
Smart Images

Figure CN118569441A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and medium for predicting the operation time of material requirement planning. Background Art
[0002] MRP (Material Requirement Planning) is widely used in enterprises using ERP (Enterprise Resource Planning) management software for planning management. MRP outputs the required material demand and demand time through independent demand and bill of materials (BOM) to assist enterprises in formulating processing plans and ordering schedules. In actual applications in the manufacturing industry, the product structure is highly complex, with many components and raw materials. When calculated with actual data, MRP calculations generally take a long time.
[0003] Since enterprises generally focus on how to improve the operation efficiency and accuracy of MRP, while ignoring the monitoring, calculation and prediction of MRP operation time, the visualization technology of MRP operation process in the existing industry is usually relatively simple. For example, it is displayed in the form of a simulated progress bar, which cannot accurately reflect the actual calculation status and completion of MRP, and the operation progress, time consumption and possible problems of MRP cannot be accurately perceived and predicted. Furthermore, due to the actual complexity and uncertainty of MRP operation, especially when processing large amounts of data, multi-layer bills of materials and considering various constraints, the progress value may stagnate at a higher ratio for a long time, misleading users' judgment of system performance and remaining operation time, affecting the decision-making efficiency of the entire production plan formulation and execution process. Summary of the invention
[0004] In view of this, it is necessary to provide a method, device, equipment and medium for predicting the operation time of material requirement planning in response to the above technical problems.
[0005] According to a first aspect of the present invention, there is provided a method for predicting the operation time of material requirement planning, comprising: Acquire a first data set that matches characteristic data of this material requirement plan with sample data of available inventory; Determine whether the first data set is empty, and based on the determination result, select a second data set from the first data set based on the number of independent requirements of the current material requirement plan, or adjust the number of planned orders of the current material requirement plan based on target parameters to obtain a third data set; The predicted operation time of the current material requirement plan is obtained from the total operation time corresponding to the sample data based on the second data set or the third data set.
[0006] In some embodiments, the step of selecting the second data set from the first data set based on the number of independent requirements of the current material requirement plan includes: The first data set is screened based on the independent demand number of the current material requirement plan to obtain data consistent with the independent demand number; Based on the number of levels of restricted decomposition, data consistent with the number of independent requirements are decomposed to obtain a second data set decomposed to a target level.
[0007] In some embodiments, the step of selecting a second data set based on the number of independent requirements of the current material requirement plan from the first data set based on the judgment result or adjusting the number of planned orders of the current material requirement plan based on the target parameters to obtain a third data set includes: In response to the first data set being not empty, obtaining the independent demand number of the current material requirement plan and based on the independent demand number, selecting a second data set that is consistent with the first data set from the first data set; In response to the first data set being empty, the planned order quantity of the current material requirement plan is adjusted based on a target parameter to obtain a third data set.
[0008] In some embodiments, the step of selecting a second data set that is consistent with the first data set based on the first data set includes: Determining whether there is consistent data in the first data set based on the number of independent requirements of the current material requirement plan; In response to the absence of consistent data in the first data set, calculating an adjustment interval corresponding to the number of independent requirements based on an adjustment parameter and an adjustment number, and determining again whether there is data consistent with the adjustment interval in the first data set; In response to the first data set having data consistent with the adjustment interval, a second data set is obtained based on all consistent data.
[0009] In some embodiments, the step of adjusting the planned order quantity of the current material requirement plan based on the target parameter to obtain the third data set includes: Obtain the bill of materials for this material requirement plan; Calculate the planned order quantity of the current material requirement plan based on the independent demand quantity and the bill of materials; Based on whether the bill of materials considers the available inventory, the planned order quantity is adjusted based on corresponding target parameters to obtain a third data set.
[0010] In some embodiments, the step of adjusting the planned order quantity based on the corresponding target parameter based on whether the bill of materials considers the available inventory to obtain the third data set includes: In response to the BOM taking into account the available inventory, adjusting the planned order quantity based on the inventory rate corresponding to the available inventory; In response to the BOM not taking the available inventory into consideration, adjusting the planned order quantity based on a floating rate corresponding to the planned order quantity; A third data set is obtained based on the adjustment result.
[0011] In some embodiments, the step of obtaining a first data set that matches the characteristic data of the current material requirement plan with the sample data of the available inventory includes: The characteristic data of the current material requirement plan is matched with the sample data of the available inventory based on the matching rule of the available inventory, and a first data set matching the two is obtained based on the matching result.
[0012] According to a second aspect of the present invention, there is provided a device for predicting the operation time of a material requirement plan, the device comprising: The first module is used to obtain a first data set that matches the characteristic data of the current material requirement plan with the sample data of the available inventory; The second module is used to determine whether the first data set is empty, and based on the determination result, filter out a second data set from the first data set based on the number of independent requirements of the current material requirement plan, or adjust the number of planned orders of the current material requirement plan based on target parameters to obtain a third data set; The third module is used to obtain the predicted operation time of the current material requirement plan from the total operation time corresponding to the sample data based on the second data set or the third data set.
[0013] According to a third aspect of the present invention, there is further provided an electronic device, the electronic device comprising: at least one processor; and The memory stores a computer program that can be run on the processor, and the processor executes the aforementioned method for predicting the operation time of material requirement planning when executing the program.
[0014] According to a fourth aspect of the present invention, there is further provided a computer-readable storage medium storing a computer program, which executes the aforementioned method for predicting the operation time of material requirement planning when executed by a processor.
[0015] The above-mentioned method for predicting the operation time of material requirement planning matches the characteristic data of this material requirement planning with the sample data of available inventory to obtain a consistent first data set, and based on whether the first data set is empty, a second data set is selected from the first data set based on the number of independent requirements of this material requirement planning, or the number of planned orders of this material requirement planning is adjusted based on the target parameters to obtain a third data set, and the predicted operation time of this material requirement planning is obtained from the total operation time corresponding to the sample data based on the second data set or the third data set. This method can accurately predict the operation time (time consumption) of the material requirement planning through a non-invasive operation time prediction method (without any modification to the source code of the original MRP software or system), maintains the integrity and stability of the system, and is based on the non-invasive method. It has extensiveness and versatility, is not limited to specific manufacturers or specific MRP software products, can be flexibly applied to MRP environments of various complexities, improves the calculation accuracy of MRP, improves the predictability and response speed of production planning management, and avoids decision delays and operational risks caused by uncertainty in operation time.
[0016] In addition, the present invention also provides a device for predicting the operation time of material requirement planning, an electronic device and a computer-readable storage medium, which can also achieve the above-mentioned technical effects and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A flow chart of a method for predicting the operation time of material requirement planning provided by one embodiment of the present invention; Figure 2 Another flow chart of a method for predicting the operation time of material requirement planning provided by another embodiment of the present invention is shown; Figure 3 A schematic diagram of the structure of a device for predicting the operation time of material requirement planning provided by another embodiment of the present invention; Figure 4 is an internal structure diagram of an electronic device in another embodiment of the present invention; Figure 5 This is a structural diagram of a computer-readable storage medium in another embodiment of the present invention. DETAILED DESCRIPTION
[0019] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0020] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for distinguishing two non-identical entities with the same name or non-identical parameters. It can be seen that "first" and "second" are only for the convenience of expression and should not be understood as limitations on the embodiments of the present invention. The subsequent embodiments will not explain this one by one.
[0021] In one embodiment, please refer to Figure 1 As shown, the present invention provides a method 100 for predicting the operation time of material requirement planning, specifically, comprising the following steps: Step 101, obtaining a first data set that matches characteristic data of this material requirement plan with sample data of available inventory; Step 102, determining whether the first data set is empty, and based on the determination result, selecting a second data set based on the number of independent requirements of this material requirement plan from the first data set, or adjusting the number of planned orders of this material requirement plan based on target parameters to obtain a third data set; Step 103: Obtain the predicted operation time of the current material requirement plan from the total operation time corresponding to the sample data based on the second data set or the third data set.
[0022] The above-mentioned method for predicting the operation time of material requirement planning provides a non-intrusive operation time prediction method (without any modification to the source code of the original MRP software or system), which can accurately predict the operation time (time consumption) of material requirement planning and maintain the integrity and stability of the system. At the same time, based on the extensiveness and versatility of the non-intrusive method, it is not limited to specific manufacturers or specific MRP software products, and can be flexibly applied to MRP environments of various complexities, thereby improving the calculation accuracy of MRP, improving the predictability and response speed of production planning management, and avoiding decision delays and operational risks caused by uncertain operation time.
[0023] According to some embodiments of the present invention, the step of selecting the second data set from the first data set based on the number of independent requirements of the current material requirement plan includes: The first data set is screened based on the independent demand number of this material requirement plan to obtain data consistent with the independent demand number; Based on the number of levels of restricted decomposition, data consistent with the number of independent requirements are decomposed to obtain a second data set decomposed to a target level.
[0024] According to some embodiments of the present invention, the step of selecting a second data set based on the number of independent requirements of the current material requirement plan from the first data set based on the judgment result or adjusting the number of planned orders of the current material requirement plan based on the target parameter to obtain a third data set includes: In response to the first data set being not empty, obtaining the independent demand number of the current material requirement plan and based on the independent demand number, selecting a second data set that is consistent with the first data set from the first data set; In response to the first data set being empty, the planned order quantity of this material requirement plan is adjusted based on the target parameter to obtain a third data set.
[0025] According to several embodiments of the present invention, the step of selecting a second data set that is consistent with the first data set includes: Based on the independent demand number of this material requirement plan, determine whether there is consistent data in the first data set; In response to the absence of consistent data in the first data set, calculating an adjustment interval corresponding to the number of independent requirements based on the adjustment parameter and the number of adjustments and determining again whether there is data consistent with the adjustment interval in the first data set; In response to the first data set having data consistent with the adjustment interval, a second data set is obtained based on all the consistent data.
[0026] According to some embodiments of the present invention, the step of adjusting the planned order quantity of the current material requirement plan based on the target parameter to obtain the third data set includes: Get the material list for this material requirement plan; Calculate the planned order quantity for this material requirement plan based on the independent demand quantity and the bill of materials; Based on whether the BOM considers available inventory, the planned order quantity is adjusted based on corresponding target parameters to obtain a third data set.
[0027] According to some embodiments of the present invention, the step of adjusting the planned order quantity based on the corresponding target parameter based on whether the bill of materials considers the available inventory to obtain the third data set includes: In response to the bill of materials taking into account the available inventory, the planned order quantity is adjusted based on the inventory ratio corresponding to the available inventory; In response to the bill of materials not taking available inventory into account, adjusting the planned order quantity based on a float rate corresponding to the planned order quantity; A third data set is obtained based on the adjustment result.
[0028] According to some embodiments of the present invention, the step of obtaining a first data set that matches characteristic data of the current material requirement plan with sample data of available inventory includes: The characteristic data of the current material requirement plan is matched with the sample data of the available inventory based on the matching rule of the available inventory, and a first data set matching the two is obtained based on the matching result.
[0029] In order to further understand the method of material requirement planning operation time prediction of the present invention, Figure 2 Another flow chart of a method for predicting the operation time of material requirement planning provided by another embodiment of the present invention is shown as follows: Figure 2 As shown, the matching rule of available inventory is considered first. Since the matching rule of available inventory can only be set under the condition of considering available inventory during the operation of MRP, it cannot be set otherwise. Therefore, based on the matching rule of considering available inventory, the data set Feat1 that matches the characteristic data of this material requirement plan and the sample data of available inventory is obtained. If the available inventory is not considered, it means that the initial sample data set is empty. Then, the sample is collected without considering the available inventory and it is determined whether there is a matching data set Feat1.1. When the amount of data is the same, the operation time of MRP considering available inventory is much longer than that of MRP not considering available inventory. When the system needs to calculate demand based on real-time inventory information, especially when the inventory matching rule involves multiple variables, conditions or logical judgments, the operation time will increase significantly. For example, the calculation of net demand is reduced when the inventory is sufficient, or the order of inventory use is selected according to multiple priority rules.
[0030] Under the condition of considering the available inventory, the data set Feat1 is screened based on the number of independent requirements of this material requirement plan. If the data consistent with the number of independent requirements is screened out from the data set Feat1, the data set Feat2 is obtained. Since the number of independent requirements is the core input of MRP, it is positively correlated with the complexity of the bill of materials BOM to the operation time of MRP. That is to say, the more independent requirements under the same BOM, the more time the corresponding operation time of MRP is. If the consistent data is not obtained for the first time, the adjustment parameter is introduced. For example, the number of independent requirements of the material requirement plan is 18, the adjustment parameter is 2, and the preset number of adjustments is 2. Then the adjusted matching interval is [14, 22]. Based on this matching interval, the data set Feat1 is screened again. If the data consistent with the matching interval is screened out from the data set Feat1, the data set Feat2 is obtained. Otherwise, it means that the feature data of this material requirement plan fails to match the sample data. Only the number of independent requirements and the bill of materials of this material requirement plan can be obtained, and the theoretical planned order number of this material requirement plan is calculated based on the two, so as to predict the operation time of this material requirement plan based on the theoretical planned order number.
[0031] Under the condition of considering the available inventory, the obtained data set Feat2 is matched with the restricted BOM decomposition level corresponding to this MRP, that is, the level to which the data set Feat2 is decomposed is specified. If the match is consistent, the data set Feat2 is decomposed into the specified target data set to obtain Feat3, and the operation time corresponding to the sample data is further obtained with Feat3 to output the operation time of this material requirement plan forecast. Otherwise, it means that the characteristic data of this material requirement plan fails to match the sample data, and only the independent demand number and bill of materials of this material requirement plan can be obtained, and the theoretical planned order number of this material requirement plan is calculated based on the two, so as to predict the operation time of this material requirement plan based on the theoretical planned order number.
[0032] Without considering the available inventory, obtain the independent requirements and bill of materials of this material requirement plan, and determine whether to limit the decomposition level. If the decomposition level is limited, calculate the theoretical number of planned orders based on the independent requirements and bill of materials of the target level to be decomposed. If the decomposition level is not limited, calculate the theoretical number of planned orders based on the independent requirements and bill of materials of all levels. Determine whether the available inventory is taken into account for the obtained number of planned orders, and adjust the number of planned orders based on the corresponding target parameters based on whether the available inventory is taken into account. If the available inventory is taken into account, adjust the number of planned orders based on the inventory rate parameter. Specifically, reduce the number of planned orders by the inventory rate parameter, and the calculation formula is number of data sets = data set × inventory rate. If the available inventory is not considered, the planned order quantity is adjusted based on the floating rate. The result of calculating the time based on the floating rate is based on the predicted operation time. The floating interval is obtained based on the number of data sets and the tolerance between the sample data. For example, if the calculated floating interval is (-2000, 2000), the sample data is matched based on the data volume with a fluctuation of 2000, and the floating rate is obtained based on the floating interval. The formula for calculating the operation time of this material requirement plan based on the floating rate is as follows: (Formula 1) Furthermore, the operation progress is calculated based on the operation time, and the formula is as follows: (Formula 2) In some embodiments, please refer to Figure 3 As shown, the present invention also provides a device 200 for predicting the operation time of material requirement planning, and the device comprises: The first module 201 is used to obtain a first data set that matches the characteristic data of the current material requirement plan with the sample data of the available inventory; The second module 202 is used to determine whether the first data set is empty, and based on the determination result, filter out the second data set from the first data set based on the number of independent requirements of this material requirement plan, or adjust the number of planned orders of this material requirement plan based on the target parameters to obtain the third data set; The third module 203 is used to obtain the predicted operation time of this material requirement plan from the total operation time corresponding to the sample data based on the second data set or the third data set.
[0033] It should be noted that each module in the above-mentioned device for predicting the operation time of material requirement planning can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
[0034] According to another aspect of the present invention, an electronic device is provided. The electronic device may be a server. Figure 4 As shown. The electronic device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store data. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, the method for predicting the operation time of the material requirement planning described above is implemented.
[0035] According to another aspect of the present invention, a computer readable storage medium is provided. Figure 5 As shown, a computer program is stored thereon, and when the computer program is executed by a processor, the method for predicting the operation time of material requirement planning described above is implemented.
[0036] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0037] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0038] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for predicting the operation time of material requirement planning, characterized in that: The method comprises: Acquire a first data set that matches characteristic data of this material requirement plan with sample data of available inventory; Determine whether the first data set is empty, and based on the determination result, select a second data set from the first data set based on the number of independent requirements of the current material requirement plan, or adjust the number of planned orders of the current material requirement plan based on target parameters to obtain a third data set; The predicted operation time of the current material requirement plan is obtained from the total operation time corresponding to the sample data based on the second data set or the third data set.
2. The method for predicting the operation time of material requirement planning according to claim 1, characterized in that: The step of selecting the second data set from the first data set based on the number of independent requirements of the current material requirement plan includes: The first data set is screened based on the independent demand number of the current material requirement plan to obtain data consistent with the independent demand number; Based on the number of levels of restricted decomposition, data consistent with the number of independent requirements are decomposed to obtain a second data set decomposed to a target level.
3. The method for predicting the operation time of material requirement planning according to claim 1, characterized in that: The step of selecting a second data set based on the number of independent requirements of the current material requirement plan from the first data set based on the judgment result or adjusting the number of planned orders of the current material requirement plan based on target parameters to obtain a third data set includes: In response to the first data set being not empty, obtaining the independent demand number of the current material requirement plan and based on the independent demand number, selecting a second data set that is consistent with the first data set from the first data set; In response to the first data set being empty, the planned order quantity of the current material requirement plan is adjusted based on a target parameter to obtain a third data set.
4. The method for predicting the operation time of material requirement planning according to claim 3, characterized in that: The step of selecting a second data set that is consistent with the first data set based on the first data set comprises: Determining whether there is consistent data in the first data set based on the number of independent requirements of the current material requirement plan; In response to the absence of consistent data in the first data set, calculating an adjustment interval corresponding to the number of independent requirements based on an adjustment parameter and an adjustment number, and determining again whether there is data consistent with the adjustment interval in the first data set; In response to the first data set having data consistent with the adjustment interval, a second data set is obtained based on all consistent data.
5. The method for predicting the operation time of material requirement planning according to claim 1, characterized in that: The step of adjusting the planned order quantity of the current material requirement plan based on the target parameter to obtain a third data set includes: Obtain the bill of materials for this material requirement plan; Calculate the planned order quantity of the current material requirement plan based on the independent demand quantity and the bill of materials; Based on whether the bill of materials considers the available inventory, the planned order quantity is adjusted based on corresponding target parameters to obtain a third data set.
6. The method for predicting the operation time of material requirement planning according to claim 5, characterized in that: The step of adjusting the planned order quantity based on the corresponding target parameter based on whether the bill of materials considers the available inventory to obtain the third data set includes: In response to the BOM taking into account the available inventory, adjusting the planned order quantity based on the inventory rate corresponding to the available inventory; In response to the BOM not taking the available inventory into consideration, adjusting the planned order quantity based on a floating rate corresponding to the planned order quantity; A third data set is obtained based on the adjustment result.
7. The method for predicting the operation time of material requirement planning according to claim 1, characterized in that: The step of obtaining a first data set that matches the characteristic data of the current material requirement plan with the sample data of the available inventory includes: The characteristic data of the current material requirement plan is matched with the sample data of the available inventory based on the matching rule of the available inventory, and a first data set matching the two is obtained based on the matching result.
8. A device for predicting the operation time of material requirement planning, characterized in that: The device comprises: The first module is used to obtain a first data set that matches the characteristic data of the current material requirement plan with the sample data of the available inventory; The second module is used to determine whether the first data set is empty, and based on the determination result, filter out a second data set from the first data set based on the number of independent requirements of the current material requirement plan, or adjust the number of planned orders of the current material requirement plan based on target parameters to obtain a third data set; The third module is used to obtain the predicted operation time of the current material requirement plan from the total operation time corresponding to the sample data based on the second data set or the third data set.
9. An electronic device, characterized in that: include: at least one processor; as well as A memory storing a computer program executable in the processor, wherein the processor executes the method for predicting the operation time of material requirement planning as described in any one of claims 1 to 7 when executing the program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for predicting the operation time of material requirement planning described in any one of claims 1 to 7 is performed.
