A BOM plan adjustment method, device and medium based on process-level quality inspection sampling
Patent Information
- Application Number
- CN202311333880.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-16
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2043-10-16
AI Technical Summary
[0016]本发明提供的一种基于工序级质检取样的BOM计划调整方法、设备、介质,该方法通过获取第一BOM生成计划,确定原有结构中各节点的工艺信息,并将原有结构中各节点的数量作为备份,从而以备份作为基础调整第一节点的数量,这一过程中,通过确定原有结构中每个节点间的比例尺,衡量原有结构中相连节点的层级比例关系,从而通过比例尺确定上级节点对下级节点的影响关系,进而结合每个节点的工序信息,将各工序的中间产出物纳入考量,使得基于产品备份数量、比例尺以及工序信息调整后的第二BOM生成计划形成对各工序的产出物进行结构化的管理,即第二BOM生成计划中各节点的数量可以准确反映各工序的中间品的质检情况,从而提高BOM计划对于装置制造行业的指导准确性以及实用性。
Smart Images

Figure CN117391598B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of equipment manufacturing technology, specifically to a method, equipment, and medium for adjusting BOM plans based on process-level quality inspection sampling. Background Technology
[0002] Currently, mainstream ERP (Enterprise Resource Planning) systems in the equipment manufacturing industry are generally based on a defined BOM (Bill of Materials) structure. They perform calculations to decompose independent and related requirements, generating production, procurement, and outsourcing schedules and issuance. However, due to the extremely stringent quality control requirements in the domestic equipment manufacturing industry, the issued plans often require repeated adjustments at the workshop level during implementation. This results in significant discrepancies between the plan and actual results, reducing the accuracy of the plan in guiding the operation of large equipment throughout the production process.
[0003] In related technologies, to improve the accuracy of Bill of Materials (BOM) planning in guiding large-scale equipment operations, batch numbers are added to raw material information upon warehousing, and processing information is recorded. This allows for quality traceability during quality inspection, enabling quality control of the equipment manufacturing process and improving the accuracy of BOM planning. However, this process suffers from several drawbacks. Quality inspection includes not only finished products but also intermediate products from each stage of the manufacturing process. The lack of structured management of these outputs can lead to issues where intermediate products cannot be sampled as needed, either within the plant or in other branches. This discrepancy between planned and actual production reduces the accuracy and practicality of BOM planning in the equipment manufacturing industry. Summary of the Invention
[0004] In view of this, the present invention provides a method, equipment, and medium for adjusting BOM plans based on process-level quality inspection sampling, in order to solve the technical problem of low accuracy of BOM plans in guiding the equipment manufacturing industry.
[0005] In a first aspect, the present invention provides a BOM plan adjustment method based on process-level quality inspection sampling, comprising: obtaining a first BOM generation plan, the first BOM generation plan including multiple first nodes, each first node including process information corresponding to the first node; determining the number of product backups for each first node based on the first BOM generation plan; determining the scale of each first node based on the number of product backups; determining the process information of each first node based on the process information; and adjusting the number of multiple first nodes step by step based on the number of product backups, the scale, and the process information to determine a second BOM generation plan.
[0006] In conjunction with the first aspect, in one possible implementation of the first aspect, the second BOM generation plan includes multiple second nodes. Based on the product backup quantity, scale, and process information, the quantity of multiple first nodes is adjusted level by level to determine the second BOM generation plan, including: determining the first expected output quantity and the first planned production quantity of each second node level by level based on the product backup quantity, scale, and process information; determining the second expected output quantity and the second planned production quantity of each second node level by level based on the process information and the first expected output quantity; determining whether the second BOM generation plan is valid based on the first expected output quantity, the first planned production quantity, the second expected output quantity, and the second planned production quantity; and determining the second BOM generation plan if it is valid.
[0007] In conjunction with the first aspect, in one possible implementation of the first aspect, based on the product backup quantity, scale, and process information, the first expected output quantity and the first planned production quantity of each second node are determined step by step, including: determining the first planned production quantity of each second node based on the product backup quantity, scale, and process information; and determining the first expected output quantity of each second node based on the product backup quantity, scale, and first planned production quantity.
[0008] In conjunction with the first aspect, in one possible implementation of the first aspect, the second node includes: a top-level node and child nodes. Based on the number of product backups, scale, and process information, the first planned production quantity of each second node is determined, including: determining the first planned production change of the top-level node based on process information; and determining the first planned production quantity of the top-level node based on the first planned production change and the number of product backups.
[0009] In conjunction with the first aspect, in one possible implementation of the first aspect, there is a hierarchical relationship between the top-level node and the child nodes. Based on the product backup quantity, scale, and process information, the first planned production quantity of each second node is determined, including: determining the second planned production change of each child node level by level based on the first planned production change of the top-level node and the scale; and determining the first planned production quantity of each child node level by level based on the second planned production change of each child node and the product backup quantity.
[0010] In conjunction with the first aspect, in one possible implementation of the first aspect, based on process information and the first expected output quantity, the second expected output quantity and the second planned production quantity of each second node are determined step by step, including: determining the second expected output quantity of each second node based on the first expected output quantity and process information; and determining the second planned production quantity of each second node based on the second expected output quantity and process information.
[0011] In conjunction with the first aspect, in one possible implementation of the first aspect, the process information includes: the sampling quantity of each process in the process route corresponding to each node; and determining the second expected output quantity of each second node based on the first expected output quantity and the process information, including: determining the first sampling quantity of the last process in the process route corresponding to each second node based on the process information; and determining the second expected output quantity of each second node based on the first expected output quantity and the first sampling quantity.
[0012] In conjunction with the first aspect, in one possible implementation of the first aspect, the process information includes: the sampling quantity, output rate, and inventory quantity of each process in the process route corresponding to each node. Based on the second expected output quantity and the process information, the second planned production quantity of each second node is determined, including: using the second expected output quantity, through the sampling quantity, output rate, and inventory quantity of each process in the process route corresponding to each node, the planned production quantity of each process in the process route corresponding to each node is determined in reverse step by step, and the planned production quantity corresponding to the first process in the corresponding node is taken as the second planned production quantity of the corresponding second node.
[0013] In a second aspect, the present invention provides a computer device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the BOM plan adjustment method based on process-level quality inspection sampling described in the first aspect or any corresponding embodiment.
[0014] Thirdly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the BOM plan adjustment method based on process-level quality inspection sampling described in the first aspect or any corresponding embodiment.
[0015] The technical solution of this invention has the following advantages:
[0016] This invention provides a method, equipment, and medium for adjusting a Bill of Materials (BOM) plan based on process-level quality inspection sampling. The method obtains a first BOM generation plan, determines the process information of each node in the original structure, and uses the quantity of each node in the original structure as a backup. The quantity of the first node is then adjusted based on this backup. During this process, the scale between each node in the original structure is determined, and the hierarchical relationship between connected nodes in the original structure is measured. This scale determines the influence of higher-level nodes on lower-level nodes. Furthermore, combined with the process information of each node, the intermediate outputs of each process are taken into consideration. This results in a second BOM generation plan, adjusted based on the product backup quantity, scale, and process information, providing structured management of the outputs of each process. In other words, the quantity of each node in the second BOM generation plan accurately reflects the quality inspection status of intermediate products in each process, thereby improving the accuracy and practicality of the BOM plan for the equipment manufacturing industry. Attached Figure Description
[0017] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of the BOM structure of a BOM planning adjustment method based on process-level quality inspection sampling according to an embodiment of the present invention;
[0019] Figure 2 This is a flowchart illustrating a method for adjusting a BOM plan based on process-level quality inspection sampling according to an embodiment of the present invention.
[0020] Figure 3 This is a flowchart illustrating a method for adjusting a BOM plan based on process-level quality inspection sampling according to an embodiment of the present invention.
[0021] Figure 4 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0022] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] This embodiment provides a schematic diagram of the BOM structure for a BOM planning adjustment method based on process-level quality inspection sampling, as shown below. Figure 1 As shown, it includes: component A, part A1, part A2, raw material A3, part A11, part A12, raw material A121, and raw material A122. Each component, part, and raw material can be called a node. Figure 1 The image shows the first BOM generation plan. Figure 1 All of the nodes shown can be the first node; there is a hierarchical relationship between the nodes, with... Figure 1 For example, component A is the top-level node in this BOM structure. Component A is the parent node of part A1, and part A11 is the child node of part A1. The connection between component A and parts A1, A2, and raw material A3 indicates that component A is assembled from parts A1, A2, and raw material A3. If 'a' components A are needed, the required quantities of parts A1, A2, and raw material A3 can be determined according to the first BOM generation plan. For example, if 'b' parts A1, 'c' parts A2, and 'd' raw material A3 are needed, then a, b, c, and d are the product backup quantities for the corresponding nodes relative to the first BOM generation plan. Each node may have a process route. If node A1 has a process route, it means that part A1 has at least one process step. If a node does not have a process route, it means that the node is a raw material, which does not require processing. Therefore, if a node is a raw material, the output rate of that node is 100%, and no sampling is required for the raw material. The other nodes follow the same principle and will not be elaborated further. Furthermore, since the second BOM generation plan is based on the first BOM generation plan and adjusts the number of each node, the second BOM generation plan has the same structure as the first BOM generation plan. The same node is called the first node in the first BOM generation plan and the second node in the second BOM generation plan.
[0024] To ensure that the BOM plan accurately reflects the quality inspection status of intermediate products at each process stage, this embodiment provides a BOM plan adjustment method based on process-level quality inspection sampling, such as... Figure 2 As shown, it includes the following steps:
[0025] S101. Obtain the first BOM generation plan.
[0026] Specifically, the first BOM generation plan contains multiple first nodes, each including its corresponding process information. The process information of a first node refers to whether a process route exists for that node, i.e., whether the node involves the production of intermediate products. If a process route exists, it means that the node has at least one process step. Obtaining the first BOM generation plan and determining the process information of each first node is to determine whether each node involves the production of intermediate products, thereby assessing whether the quality inspection of intermediate products in each process step of that node needs to be considered.
[0027] S102. Based on the first BOM generation plan, determine the number of product backups for each first node.
[0028] Specifically, the first BOM generation plan can typically be determined using the MPR algorithm. This combines the BOM information determined by the classic MRP algorithm to perform independent and related demand decomposition calculations, thereby generating production, procurement, and outsourcing schedules and issuance. The product backup quantity for each first node refers to the quantity of that node in the first BOM generation plan. Determining the product backup quantity for each first node serves as a basis for adjustment, since the first BOM generation plan does not consider the quality inspection of intermediate products in each process. Therefore, the quantity of each node in the first BOM generation plan is used as the corresponding product backup quantity for that first node.
[0029] S103. Determine the scale of each first node based on the number of product backups.
[0030] Specifically, determining the scale of each first node based on the number of product backups means determining the scale of the corresponding node by the ratio of the number of product backups at a given node to the number of product backups at that node's parent node. Figure 1 For example, if the product backup quantity of part A1 is 200 and the product backup quantity of component A1 is 100, then the scale of part A1 = 200 / 100 = 2:1. This shows that the scale of each first node can be used to represent the proportional relationship between the parent node and the local node. That is, when the quantity of the parent node changes, the impact of the parent node on the local node can be determined through the scale.
[0031] S104. Based on the process information, determine the process information for each first node.
[0032] Specifically, the process information includes the number of processes in the process route corresponding to each node. The process information for the first node includes the sampling quantity, output rate, and inventory quantity for each process in the process route corresponding to each node. The sampling quantity for each process refers to the quantity of products taken from the corresponding process, i.e., the quantity of intermediate products inspected. The output rate for each process in the process route corresponding to each node is the ratio of the quantity put into production to the quantity produced. The inventory quantity for each process in the process route corresponding to each node refers to the inventory quantity of the corresponding intermediate products in warehouses or branch plants at each level. Thus, it can be seen that the process information for each first node can fully reflect the situation of intermediate outputs for each process. Optionally, the product backup quantity for the first node can be described as the expected output backup quantity and the planned production backup quantity. It should be understood that since the first BOM generation plan does not consider the process information for each first node, the expected output backup quantity and the planned production backup quantity for the first node are numerically the same and can both be referred to as the product backup quantity for the first node.
[0033] S105. Based on the number of product backups, scale, and process information, adjust the number of multiple first nodes step by step to determine the second BOM generation plan.
[0034] Specifically, based on the product backup quantity, scale, and process information, the quantity of multiple first nodes is adjusted level by level to determine the second BOM generation plan. This means that by adjusting the quantity of each first node down from the top node using the product backup quantity, scale, and process information, the first expected output quantity and the first planned production quantity of each second node are determined. Then, by using the process information and the first expected output quantity, the second expected output quantity and the second planned production quantity of each second node are determined by working backward from the process information. This determines whether the second BOM generation plan is valid. If the second BOM generation plan is valid, it is confirmed. If the second BOM generation plan is invalid, the quantity of multiple first nodes is readjusted level by level until the second BOM generation plan is valid.
[0035] This invention provides a BOM (Bill of Materials) plan adjustment method based on process-level quality inspection sampling. By acquiring a first BOM generation plan, the process information of each node in the original structure is determined, and the quantity of each node in the original structure is used as a backup. The quantity of the first node is then adjusted based on this backup. During this process, the scale between each node in the original structure is determined, and the hierarchical relationship between connected nodes in the original structure is measured. The scale determines the influence of higher-level nodes on lower-level nodes. Furthermore, combined with the process information of each node, the intermediate outputs of each process are taken into consideration. This results in a second BOM generation plan, adjusted based on the product backup quantity, scale, and process information, providing structured management of the outputs of each process. In other words, the quantity of each node in the second BOM generation plan accurately reflects the quality inspection status of intermediate products in each process, thereby improving the accuracy and practicality of the BOM plan for the equipment manufacturing industry.
[0036] In one optional implementation, to ensure the accuracy of the quantities of each node in the determined second BOM generation plan, the quantities of multiple first nodes are adjusted step by step based on the product backup quantity, scale, and process information to determine the second BOM generation plan, including:
[0037] (1) Based on the product backup quantity, scale and process information, determine the first expected output quantity and the first planned production quantity of each second node step by step.
[0038] Specifically, determining the first projected output quantity and first planned production quantity for each second node based on product backup quantity, scale, and process information means adjusting the quantities of each first node level by level from the top node, i.e., determining the first projected output quantity and first planned production quantity for each second node level by level. This process determines the output quantity and production quantity of the current node by the changes in the upper-level node. Furthermore, this process is affected by process information; for example, if the output rate of a certain process is 90%, if... If the production quantity of a certain process is 10, the output quantity of that process will be 9 due to the output rate. If the sampling quantity of a certain process is 3, and the production quantity of that process is 10, the output quantity of that process will be 7 due to the sampling quantity. If the inventory quantity of a certain process is 6, and the output quantity of that process is 10, the production quantity of the next process will be 16 due to the inventory quantity. It should be understood that if there is a process route at each node, the output quantity of the previous process in that process route is equivalent to the production quantity of this process.
[0039] (2) Based on process information and the first expected output quantity, determine the second expected output quantity and the second planned production quantity for each second node step by step.
[0040] Specifically, determining the second expected output quantity and second planned production quantity for each second node based on process information and the first expected output quantity means progressively deducing the quantities of each first node from the process information, i.e., progressively determining the second expected output quantity and second planned production quantity for each second node. This process uses the process information of each node to allow nodes with processes to deduce the quantities from the output and production quantities of the last process from the first process. It should be understood that if a process route exists at each node, the planned production quantity of the first process in that process route is the planned production quantity of this node, and the expected output quantity of the last process is related to the expected output quantity of this node. Specifically, the relationship between the expected output quantity of the last process and the expected output quantity of this node means that when the last process does not involve sampling quantity, the expected output quantity of the last process is the expected output quantity of this node; when the last process involves sampling quantity, the difference between the expected output quantity of the last process and the sampling quantity of the last process is the expected output quantity of this node.
[0041] (3) Based on the first expected output quantity, the first planned production quantity, the second expected output quantity, and the second planned production quantity, determine whether the second BOM generation plan is valid.
[0042] Specifically, based on the first projected output quantity, the first planned production quantity, the second projected output quantity, and the second planned production quantity, determining whether the second BOM generation plan is valid means that the first projected output quantity and the second projected output quantity of each node in the adjusted first BOM plan are the same, and the first planned production quantity and the second planned production quantity of each node are the same. This process is equivalent to determining the quantity of each node by proceeding from the top-level node downwards, which matches the quantity of each node determined by reverse calculation from the output and production quantities of the subsequent process to the first process; that is, the results of forward and reverse calculations are the same.
[0043] (4) If the second BOM generation plan is established, determine the second BOM generation plan.
[0044] Specifically, when the second BOM generation plan is established, determining the second BOM generation plan means that, when the second BOM generation plan is established, the first expected output quantity and the first planned production quantity of each second node are used as the production quantity and output quantity of each node respectively.
[0045] In one alternative implementation, if the second BOM generation plan is established, the quantity of multiple first nodes needs to be readjusted step by step until the second BOM generation plan is established. That is, the first expected output quantity, the first planned production quantity, the second expected output quantity, and the second planned production quantity of each second node are recalculated until the second BOM generation plan is established.
[0046] By implementing this embodiment, the expected output and planned production of each node in the BOM structure are determined by adjusting the number of each first node step by step from the top-level node, and by back-calculating the output and production quantity of the last process to the first process. The validity of the second BOM generation plan is determined by judging whether the calculation results of the number of each node are the same in the two methods. This ensures that the number of each node in the determined second BOM generation plan is accurate, so that the number of each node in the adjusted second BOM generation plan can accurately reflect the quality inspection status of intermediate products in each process, thereby improving the accuracy and practicality of the BOM plan for the equipment manufacturing industry.
[0047] In one optional implementation, to ensure the accuracy of adjusting the quantity of each node step by step from the top-level node, based on the product backup quantity, scale, and process information, the first expected output quantity and the first planned production quantity of each second node are determined step by step, including:
[0048] (1) Based on the product backup quantity, scale, and process information, determine the first planned production quantity for each second node.
[0049] Specifically, based on the product backup quantity, scale, and process information, determining the first planned production quantity for each second node includes: determining the first planned production quantity for the top-level node and determining the first planned production quantity for each sub-node. Since the process of adjusting the quantities of each first node level by level from the top-level node is essentially determining the impact of the higher-level node on the current level node based on the changes in the higher-level node—that is, determining the quantity of each node level by level—and since the top-level node does not have a higher-level node, the first planned production quantity for the top-level node needs to be calculated separately, and then calculated level by level from the determined first planned production quantity of the top-level node, i.e., calculating the first planned production quantity for each sub-node.
[0050] In one optional implementation, to determine the first planned production quantity of the top-level node, the first planned production quantity of each second node is determined based on the product backup quantity, scale, and process information, including:
[0051] Based on process information, determine the first planned production change of the top-level node.
[0052] Specifically, based on process information, determining the first planned production change of the top-level node means that, since the top-level node has no parent node, the planned production quantity of the top-level node is affected by the output rate, inventory quantity, and sampling quantity of each process in the process information. Figure 1 For example, if component A has 3 processes, when sampling is required in the second process, the change in the first planned production of the top-level node is affected by the process information because the adjusted BOM generation plan adds the process-level impact on the original first BOM generation plan.
[0053] Based on the changes in the first planned production volume and the number of product backups, determine the first planned production volume of the top-level node.
[0054] Specifically, the first planned production quantity of the top-level node is expressed by the following formula:
[0055] The first planned production quantity of the top-level node = the number of product backups of the top-level node + rounded up ((...rounded up (change in the first planned production quantity) / output rate of process n of the top-level node...) / output rate of process 1 of the top-level node),
[0056] In this context, the node corresponding to process n represents the last process, where n is a natural number that can be set according to the actual working conditions.
[0057] Specifically, since the planned production changes at the top-level node are only affected by process information, it is necessary to consider the output rate of intermediate products in each process. Figure 1 Taking the example shown, if component A has 3 processes, the planned production quantity of the second process is 100, and the output rate of the second process is 90%, and the sampling quantity is 5, then the expected output quantity of the second process = 100 * 90% - 5 = 85. If the inventory quantity of the second process is 10, then the planned production quantity of the third process = 85 + 10 = 95.
[0058] In one optional implementation, to determine the first planned production quantity of a sub-node, the first planned production quantity of each second node is determined based on the product backup quantity, scale, and process information, including:
[0059] Based on the first planned production change and scale of the top-level node, the second planned production change of each sub-node is determined step by step.
[0060] Specifically, determining the second planned production change of each child node based on the first planned production change and scale of the top-level node means determining the second planned production change of the lower-level nodes of the top-level node using the first planned production change and scale of the top-level node, and so on until all nodes are reached. For example... Figure 1As shown, if the first planned production change of top-level node component A is 2, and the scale of component A1 to component A is 2:1, then the second planned production change of component A1 is 4. Furthermore, if the scale of component A11 to component A1 is 3:1, then the second planned production change of component A2 is 12.
[0061] Specifically, the second planned production change for each sub-node is expressed by the following formula:
[0062] The second planned production change of a node = the production change of the node's parent node * the scale.
[0063] Based on the second planned production change and product backup quantity of each sub-node, the first planned production quantity of each sub-node is determined level by level.
[0064] Specifically, the first planned production quantity of each child node is expressed by the following formula:
[0065] The first planned production quantity of the sub-node = the product backup quantity of the corresponding sub-node + rounded up ((...rounded up (the change in the second planned production quantity of the corresponding sub-node) / the output rate of process n...) / the output rate of process 1).
[0066] In one optional implementation, if the sub-node is a raw material, that is, the node does not have a process route, the first planned production quantity of each second node is determined based on the product backup quantity, scale, and process information, including: determining the first planned production quantity of the raw material node based on the product backup quantity of the raw material node and the change in the second planned production quantity of the raw material node.
[0067] Specifically, the first planned production quantity of the raw material node is expressed by the following formula:
[0068] The first planned production quantity of the raw material node = the number of product backups of the raw material node + the production change of the upstream node of the raw material node * scale.
[0069] (2) Based on the number of product backups, scale, and first planned production quantity, determine the first expected output quantity of each second node.
[0070] Optionally, the first expected output quantity of each second node is determined based on the number of product backups, the scale, and the first planned production quantity. This means that when the corresponding node is a top-level node, the first expected output quantity is determined by the change in the number of product backups of the top-level node and the first planned production quantity of the top-level node.
[0071] Specifically, the first expected output quantity when the second node is the top-level node is expressed by the following formula:
[0072] First projected output quantity = Number of product backups at the top-level node + Changes in the first planned production volume.
[0073] Optionally, determining the first expected output quantity of each second node based on the product backup quantity, scale, and first planned production quantity means, when the corresponding node is a child node, determining the planned production change of the upper-level node based on the first planned production quantity of each second node, and determining the second planned production change of this level node through the scale and the planned production change of the upper-level node, thereby determining the first expected output quantity of the corresponding second node through the product backup quantity of each second node.
[0074] Specifically, the first expected output quantity when the second node is a child node is expressed by the following formula:
[0075] First projected output quantity = Number of product backups at the corresponding node + Change in planned production at the higher-level node * Scale.
[0076] Among them, the planned production change of the upper-level node multiplied by the scale is equivalent to the second planned production change of the corresponding sub-node.
[0077] By implementing this embodiment, the planned production change of the top-level node is determined, and the planned production change of each sub-node is determined step by step based on the planned production change of the top-level node. Thus, the first planned production quantity and the first expected output quantity of each second node are determined step by step based on the planned production change of each node. In this process, since the determination of the first planned production quantity and the first expected output quantity of each second node is related to the planned production change of each sub-node, and the planned production change of each sub-node is the product of the planned production change of the upper-level node and the scale, that is, the quantity of each node is determined step by step based on the influence of the upper-level node on the lower-level node. This ensures the accuracy of adjusting the quantity of each node step by step from the top-level node, and provides a data basis for judging whether the second BOM generation plan is valid.
[0078] In one optional implementation, to ensure the accuracy of the quantities at each node when back-calculating the output and production quantities from the last process to the first process, based on process information and the first expected output quantity, the second expected output quantity and the second planned production quantity for each second node are determined step by step, including:
[0079] (1) Based on the first expected output quantity and process information, determine the second expected output quantity for each second node.
[0080] In one optional implementation, to determine the second expected output quantity of a second node, the second expected output quantity of each second node is determined based on the first expected output quantity and process information, including:
[0081] Based on the process information, determine the first sampling quantity of the last process in the process route corresponding to each second node.
[0082] Specifically, determining the first sampling quantity of the last process in the process route corresponding to each second node based on process information means that if a process route exists for the corresponding node, the sampling quantity of the last process of the corresponding node is determined through process information. It should be understood that since the process information is constant, the process information of each node is the same in the process of determining the first expected output quantity, the first planned production quantity, and the second expected output quantity and the second planned production quantity.
[0083] Based on the first projected output quantity and the first sample quantity, determine the second projected output quantity for each second node.
[0084] Specifically, the second expected output quantity of the second node is expressed by the following formula:
[0085] The second expected output quantity of the second node = the expected output quantity of the corresponding node process n - the sampling quantity of the corresponding node process n.
[0086] The expected output quantity of the corresponding node process n is expressed as the sum of the first expected output quantity and the sample quantity of the corresponding node process n.
[0087] (2) Based on the second expected output quantity and process information, determine the second planned production quantity for each second node.
[0088] In one optional implementation, to determine the second expected output quantity of the second node, based on the second expected output quantity and process information, the second planned production quantity of each second node is determined, including:
[0089] Using the second projected output quantity, the planned production quantity of each process in the process route corresponding to each node is determined in reverse order by the sampling quantity, output rate and inventory quantity of each process in the process route corresponding to each node, and the planned production quantity corresponding to the first process in the corresponding node is used as the second planned production quantity of the corresponding second node.
[0090] Specifically, using the second projected output quantity, the planned production quantity of each process in the process route corresponding to each node is determined in reverse stepwise by the sampling quantity, output rate, and inventory quantity of each process. This means determining the planned production quantity of the last process by using the second projected output quantity of the corresponding node and the output rate of the last process of that node, and then progressively determining the planned production quantity of the last process from the last process to the first process. In this process, if there are two processes, the first process is denoted as x, the planned production quantity of process x is denoted as x1, and the projected output quantity is denoted as x2; the second process is denoted as y, the planned production quantity of process y is denoted as y1, and the projected output quantity is denoted as y2. If the output rate of x or y is denoted as i, then the planned production quantity x1 and the projected output quantity x2 of process x are represented as x1*i=x2; if process x has an inventory quantity of j, then y1=x2+j; if process x has a sampling quantity of k, then y1=x2-k. It should be understood that y and x are used to represent any two adjacent processes. The calculation methods for sampling quantity, output rate and inventory quantity between adjacent processes are the same as those between x and y, and will not be repeated here.
[0091] It should be understood that if the second node is a raw material node, since there is no process information in the raw material node, there is no corresponding process information in the raw material node. Therefore, the second planned production quantity of the raw material node is the same as the first planned production quantity of the raw material node, and the second expected output quantity of the raw material node is the same as the expected output production quantity of the raw material node.
[0092] By implementing this embodiment, the process of determining the second expected output quantity based on the first expected output quantity and process information, and determining the second planned production quantity based on the second expected output quantity and process information, ensures the accuracy of the quantities at each node when back-calculating from the output quantity and production quantity of the last process to the first process, providing a data basis for determining whether the second BOM generation plan is valid.
[0093] This embodiment provides a flowchart illustrating a method for adjusting a BOM plan based on process-level quality inspection sampling, as shown below. Figure 3 As shown, it includes:
[0094] S201. Obtain the first BOM generation plan.
[0095] Specifically, obtaining the first BOM generation plan refers to determining the number of product backups, scale, and process information for each node in the first BOM generation plan. For details of step S201, please refer to the relevant descriptions of steps S101 to S104 in the above embodiments, which will not be repeated here.
[0096] S202, Declare variable ic = 0.
[0097] S203. Determine if the value of ic is less than the number of the first node.
[0098] S204. When the value of ic is less than the number of the first node, obtain the ic-th node and increment the value of ic by one.
[0099] Specifically, the value of the variable ic is used to determine whether all nodes in the first BOM generation plan have been adjusted. At the beginning of the loop, the value of ic is 0, and the value of ic is less than the number of the first node, so ic = 1. At this time, the first expected output quantity, the first planned production quantity, the second expected output quantity, and the second planned production quantity of the top-level node are determined through subsequent steps. After adjusting the number of the top-level nodes until the number of all nodes has been adjusted, the value of ic is the same as the number of the first node, and the process proceeds to step S215.
[0100] S205. Obtain the scale of this node.
[0101] S206. Get the parent node of this node.
[0102] S207. Determine if the parent node is empty.
[0103] Specifically, a node whose parent node is empty means that the node is a top-level node, and a node whose parent node is not empty means that the node is a child node.
[0104] S208. Determine the planned production change affected by the parent node of the second node.
[0105] S209. Determine the first expected output quantity and the first planned production quantity of the second node.
[0106] Specifically, steps S208 and S209 are detailed in the above embodiments regarding the description of determining the first expected output quantity and the first planned production quantity of each second node based on the product backup quantity, scale, and process information, and will not be repeated here. It should be understood that steps S207 to S209 are the process of adjusting the first planned production quantity and the first expected output quantity of each node from the top-level node down.
[0107] S210. Determine if a process exists.
[0108] Specifically, determining whether a process exists refers to whether process information exists at that node. If no process information exists, it means that the node is a raw material.
[0109] S211. Define variable irc = reciprocal of process.
[0110] S212. Determine if irc is greater than 0.
[0111] S213. Get the irc-th node and decrement the value of irc by one.
[0112] Specifically, the value of the variable irc is used to determine whether each process in the corresponding node has been calculated.
[0113] S214. Determine the second expected output quantity and the second planned production quantity of the second node.
[0114] Specifically, step S214 is detailed in the above embodiments regarding the determination of the second expected output quantity and the second planned production quantity for each second node based on product information and the first expected output quantity, and will not be repeated here. It should be understood that steps S211 to S214 are a reverse process of determining the planned production quantity of each process in the corresponding process route for each node, thereby determining the second planned production quantity and the second expected output quantity for that node.
[0115] S215. Determine whether the second BOM generation plan is valid.
[0116] Specifically, determining whether the second BOM generation plan is valid means checking whether the first projected output quantity of each node is equal to the second projected output quantity, and whether the first planned production quantity is equal to the second planned production quantity. The process ends when they are equal, meaning the second BOM generation plan is valid. If they are not equal, the first BOM generation plan is readjusted until the second BOM generation plan is valid.
[0117] According to an embodiment of the present invention, a method for adjusting BOM plans based on process-level quality inspection sampling is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0118] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 4As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system).
[0119] Figure 4 Taking a processor 10 as an example, the processor 10 can be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. This hardware chip can be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device can be a complex programmable logic device (CLP), a field-programmable gate array (FPGA), a general-purpose array logic (GPRS), or any combination thereof.
[0120] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.
[0121] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0122] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include combinations of the above types of memory. The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0123] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0124] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for adjusting a Bill of Materials (BOM) plan based on process-level quality inspection sampling, characterized in that, The method includes: Obtain the first BOM generation plan, which contains multiple first nodes, and each first node includes the process information of the corresponding first node; Based on the first BOM generation plan, determine the number of product backups for each of the first nodes; Based on the number of product backups, determine the scale of each first node; Based on the process information, the process information for each of the first nodes is determined; Based on the product backup quantity, the scale, and the process information, the quantity of multiple first nodes is adjusted step by step to determine the second BOM generation plan; The second BOM generation plan includes multiple second nodes. The process of determining the second BOM generation plan by progressively adjusting the number of multiple first nodes based on the product backup quantity, the scale, and the process information includes: Based on the product backup quantity, the scale, and the process information, the first expected output quantity and the first planned production quantity of each second node are determined step by step. Based on the process information and the first expected output quantity, the second expected output quantity and the second planned production quantity of each second node are determined step by step; Based on the first projected output quantity, the first planned production quantity, the second projected output quantity, and the second planned production quantity, determine whether the second BOM generation plan is valid; If the second BOM generation plan is valid, determine the second BOM generation plan; The step of determining the second expected output quantity and the second planned production quantity for each second node based on the process information and the first expected output quantity includes: Based on the first expected output quantity and the process information, determine the second expected output quantity for each of the second nodes; Based on the second projected output quantity and the process information, determine the second planned production quantity for each of the second nodes; The process information includes: the sampling quantity of each process in the process route corresponding to each node; the determination of the second expected output quantity for each second node based on the first expected output quantity and the process information includes: Based on the process information, determine the first sampling quantity of the last process in the process route corresponding to each second node; Based on the first expected output quantity and the first sampling quantity, determine the second expected output quantity for each second node; The process information includes: the sampling quantity, output rate, and inventory quantity of each process in the process route corresponding to each node. The step of determining the second planned production quantity for each second node based on the second expected output quantity and the process information includes: Using the second projected output quantity, the planned production quantity of each process in the process route corresponding to each node is determined in reverse step by step by the sampling quantity, output rate and inventory quantity of each process in the process route corresponding to each node, and the planned production quantity corresponding to the first process in the corresponding node is used as the second planned production quantity of the corresponding second node. In this context, the same node is referred to as the first node in the first BOM generation plan and as the second node in the second BOM generation plan.
2. The method according to claim 1, characterized in that, The process of determining the first expected output quantity and the first planned production quantity for each second node, based on the product backup quantity, the scale, and the process information, includes: Based on the product backup quantity, the scale, and the process information, determine the first planned production quantity for each second node; Based on the product backup quantity, the scale, and the first planned production quantity, determine the first expected output quantity for each second node.
3. The method according to claim 2, characterized in that, The second node includes a top-level node and child nodes. Based on the product backup quantity, the scale, and the process information, the first planned production quantity for each second node is determined, including: Based on the process information, determine the first planned production change of the top-level node; Based on the first planned production change and the number of product backups, the first planned production quantity of the top-level node is determined.
4. The method according to claim 3, characterized in that, The top-level node and the child nodes have a hierarchical relationship. Determining the first planned production quantity for each second node based on the product backup quantity, the scale, and the process information includes: Based on the first planned production change of the top-level node and the scale, the second planned production change of each of the sub-nodes is determined step by step. Based on the second planned production change of each sub-node and the number of product backups, the first planned production quantity of each sub-node is determined level by level.
5. A computer device, characterized in that, include: The system includes a memory and a processor, which are interconnected. The memory stores computer instructions, and the processor executes the computer instructions to perform the BOM planning adjustment method based on process-level quality inspection sampling as described in any one of claims 1 to 4.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute the BOM plan adjustment method based on process-level quality inspection sampling as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Method and device for controlling inspection process
CN101908175A
Manufacturing enterprise MRP statistical method
CN104794596A
