Production instruction generation method and storage medium

By carefully classifying and identifying the most tight inventory materials, the production instructions are generated, and the problem of confusion of materials of the same attributes is solved, and the accuracy and efficiency of production are improved.

CN120258337AInactive Publication Date: 2025-07-04INDUSTICS COM
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510741968.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-05
Publication Date
2025-07-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

During the order processing process, materials belonging to the same category but with different attributes are easily confused, resulting in production errors and affecting product quality and corporate reputation.

Method used

By carefully classifying materials according to their types and attributes, identifying the materials with the most tight inventory as the current production materials, and generating production instructions to ensure that each material accurately corresponds to its required production links and target finished products, avoiding confusion of materials of different attributes in the same material group.

Benefits of technology

Improve production accuracy, avoid material confusion, ensure that each material can accurately correspond to its required production links and target finished products, and improve production efficiency and material utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120258337A_ABST
    Figure CN120258337A_ABST
Patent Text Reader

Abstract

The invention provides a production instruction generation method and a storage medium, and the method comprises the steps: obtaining a target work order, determining n material groups corresponding to a target finished product material and a current set number, the n material groups being used for preparing the target finished product material, and different material groups including different material types, each material group comprises at least two types of materials which belong to the same type and have different attributes; the materials with the minimum stock quantity and the stock quantity not equal to 0 in the n material groups are determined to serve as current production materials, and n current production materials are obtained; and determining the current set number as the production quantity of the n current production materials, generating a first production instruction according to the production quantity of the current production materials, and updating the inventory of the n current production materials. The method can ensure that each material can accurately correspond to a required production link and a target finished product, so that the material mixing is avoided, and the production accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of product management, and particularly to a production instruction generation method and a storage medium. Background Art

[0002] In the modern production process, especially in the manufacturing process of complex products, it often involves multi-level material management. For example, to produce a cola bottle, the production of the cola bottle is not directly composed of a single material, but relies on the collaborative assembly of multiple lower-level materials such as the bottle body, the bottle cap, and the wrapping paper. And for the same kind of lower-level material, it may also include at least two types of materials that belong to the same category but have different attributes to meet different market demands or product design diversities.

[0003] Specifically, in the production process of the cola bottle, the bottle body, the bottle cap, and the wrapping paper, as key lower-level materials, can be further subdivided according to attributes such as color. For example, to produce cola bottles of different colors, corresponding colored bottle bodies are required, that is, yellow bottle bodies and red bottle bodies are needed, and the bottle caps also need yellow bottle caps and red bottle caps. Similarly, the wrapping paper also needs yellow wrapping paper and red wrapping paper. Although this diversity of material attributes enriches the product line, it also brings challenges to production management and order processing.

[0004] When placing an order with a factory, if lower-level materials with similar but different attributes are not strictly distinguished and managed, the situation of material mixing may occur. For example, when yellow bottle bodies and red bottle bodies are placed in the same order at the same time, due to operational errors or poor management on the production line, these materials with different attributes may be confused and used, resulting in the produced products not meeting the design requirements or order requirements. This situation will not only reduce the product quality, increase the costs of rework and scrapping, but also seriously affect the enterprise's reputation and market competitiveness. Summary of the Invention

[0005] One object of the present invention is to provide a production instruction generation method to solve the technical problem in the prior art that at least two types of materials belonging to the same category but having different attributes are easily confused during the order processing, resulting in production errors.

[0006] One object of the present invention is to provide a computer storage medium.

[0007] To achieve one of the above-mentioned invention objectives, the present invention provides a production instruction generation method, including: obtaining a target work order, determining n material groups corresponding to the target finished product material and the current complete set quantity, where the n material groups are used to prepare the target finished product material, different material groups contain different types of materials, each material group includes at least two types of materials belonging to the same type and having different attributes, and the at least two types of materials are respectively used to prepare the target finished product material with different attributes; the current complete set quantity is the maximum value of the quantity of the target finished product material that can be prepared based on the current material group; n≥2, and n is an integer; respectively determining one material with the smallest inventory quantity and a non-zero inventory quantity in each of the n material groups as the current production material, obtaining n current production materials; determining the current complete set quantity as the production quantity of the n current production materials, generating a first production instruction according to the production quantity of the current production material, and updating the inventory of the n current production materials.

[0008] As a further improvement of an embodiment of the present invention, the method further includes: if the quantity of the current production material in the material group after updating the inventory is 0, then using another material with the smallest quantity and a non-zero quantity in the material group as the new current production material of the material group, and updating to obtain n new current production materials; According to the quantity of the new current production material, updating the current complete set quantity, determining the new current complete set quantity as the new production quantity of the n new current production materials, generating a second production instruction according to the production quantity of the current production material, and updating the inventory of the n new current production materials until there is a material group with an inventory quantity of 0 among the n material groups.

[0009] As a further improvement of an embodiment of the present invention, the generating a first production instruction according to the production quantity of the current production material and updating the inventory of the n current production materials includes: performing a deduction operation on the inventory quantity of the current production material in each material group based on the current complete set quantity, and determining the inventory quantity of the n material groups after updating.

[0010] As a further improvement of an embodiment of the present invention, before determining the n material groups corresponding to the target finished product material and the current complete set quantity, the method further includes: according to the actual demand quantity of the target finished product material and the current available material quantity, determining the inventory quantity corresponding to different attribute materials in each material group; using the inventory quantity with the smallest and non-zero inventory quantity among all materials as the current complete set quantity.

[0011] As a further improvement of an embodiment of the present invention, before the actual demand information of the target finished product material and the current available material quantity, the method further includes: obtaining a first work order set, where the creation time of the work orders in the first work order set is equal to or earlier than the creation time of the target work order, and the work order status is the first status; the first status refers to historical work orders that have not been completed in production; calculating the sum of the required material quantities in all historical work orders to obtain the material quantity to be consumed; obtaining the current total inventory, calculating the difference between the current total inventory and the material quantity to be consumed, and determining the corresponding current available material quantity, where the total inventory includes the inventory quantity and the in-transit supply quantity.

[0012] As a further improvement of an embodiment of the present invention, the obtaining the first work order set includes: determining a first creation time and a first expected production time according to the target work order; screening to obtain a second work order set according to the first creation time; the creation time of the work orders in the second work order set is equal to or earlier than the first creation time; judging whether the expected production time of each work order in the second work order set is earlier than or equal to the first expected production time and the work order status is the second status; or judging whether the expected production time of each work order in the second work order set is later than the first expected production time; the second status refers to historical work orders that have started production and have not been completed in production; if so, adding the corresponding work orders to the first work order set and updating to determine the first work order set.

[0013] As a further improvement of an embodiment of the present invention, before the actual demand information of the target finished product material and the current available material quantity, the method further includes: clearing the material allocation information corresponding to the work orders in the first work order set with the second status at a first preset frequency, and sorting the work orders in the first work order set according to the expected production time; updating and determining the material allocation information and the current available material quantity of the corresponding work orders according to the sorting result.

[0014] As a further improvement of an embodiment of the present invention, the updating and determining the material allocation information and the current available material quantity of the corresponding work orders according to the sorting result includes: obtaining the current material inventory information and the current material to be warehoused information; according to the sorting result, determining the material allocation information of the corresponding work orders in the order of selecting and deducting materials first for the current material inventory information and then for the current material to be warehoused information, and determining the current available material quantity according to the material allocation result.

[0015] As a further improvement of an embodiment of the present invention, before the determining the current complete set quantity, the method further includes: sorting the inventory quantities of materials with different attributes in each material group respectively to determine the corresponding several local minimum inventory quantities; the determining the current complete set quantity includes: taking the minimum value of the several local minimum inventory quantities as the current complete set quantity.

[0016] To achieve one of the above-mentioned invention objectives, the present invention further provides a computer storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it executes the steps of the multi-level material remaining prediction method described in any of the above technical solutions.

[0017] Compared with the prior art, the embodiments of the present invention have at least one of the following beneficial effects: The present invention adopts a production instruction generation method. By classifying materials in detail according to their types and attributes, multiple material groups are formed, and the inventory quantities of each material group are compared. The material with the tightest inventory (i.e., the material with the smallest inventory quantity and the inventory quantity not being 0) is identified as the current production material, and the production quantity is determined accordingly. In this way, one material in each material group is selected as the current production material, which can not only ensure that each material can be accurately corresponded to its required production process and target finished product, but also avoid the confusion of materials with different attributes within the same material group, thereby improving the accuracy of production. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a schematic diagram of the steps of the production instruction generation method in an embodiment of the present invention.

[0019] Figure 2(a) is a schematic diagram of the bill of materials for preparing the target finished product materials in an embodiment of the present invention.

[0020] Figure 2(b) is a schematic diagram of the bill of materials for preparing a cola bottle in a specific embodiment of the present invention.

[0021] Figure 3 It is a schematic diagram of the steps after step S3 in an embodiment of the present invention.

[0022] Figure 4 It is a schematic diagram of the steps before step P11 in an embodiment of the present invention.

[0023] Figure 5 It is a schematic diagram of the steps of step M12 in a specific embodiment of an embodiment of the present invention.

[0024] Figure 6 It is a schematic diagram of the steps for updating the historical material allocation information in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0025] The present invention will be described in detail below in conjunction with the specific embodiments shown in the drawings. However, these embodiments do not limit the present invention, and any structural, method, or functional transformation made by those of ordinary skill in the art based on these embodiments is included in the protection scope of the present invention.

[0026] It should be noted that the term "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or device including a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or device. In addition, terms such as "first", "second", etc. are used only for descriptive purposes and should not be construed as indicating or implying relative importance.

[0027] As Figure 1 shown, an embodiment of the present invention provides a production instruction generation method, including the following steps.

[0028] Step S1, obtain a target work order, and determine n material groups corresponding to the target finished product materials and the current complete set quantity.

[0029] Step S2, respectively determine one material with the smallest inventory quantity and non-zero inventory quantity in each of the n material groups as the current production material, and obtain n current production materials.

[0030] Step S3, determine the current complete set quantity as the production quantity of the n current production materials, generate a first production instruction according to the production quantity of the current production materials, and update the inventory of the n current production materials.

[0031] In this way, by classifying materials in detail according to their types and attributes, forming multiple material groups, comparing the inventory quantities of each material group, identifying one material with the tightest inventory quantity (i.e., the material with the smallest inventory quantity and non-zero inventory quantity) as the current production material, and determining the production quantity accordingly, such that one material in each material group is selected as the current production material, not only can it ensure that each material can accurately correspond to its required production link and target finished product, but also avoid the confusion of materials with different attributes within the same material group, improving the accuracy of production.

[0032] In step S1, the target work order refers to a specific production task or production order, used to determine the target finished product materials to be prepared, as well as various material groups required for preparing these finished product materials. The target finished product materials refer to the finished products or semi-finished products to be finally produced. The material group refers to the materials required for preparing the target finished product materials.

[0033] In one embodiment, the corresponding target finished product materials are determined based on the n material groups. The n material groups are used to prepare the target finished product materials. Different material groups contain different types of materials. Each material group includes at least two types of materials belonging to the same type and having different attributes, and the at least two types of materials are respectively used to prepare target finished product materials with different attributes; n≥2, and n is an integer.

[0034] Specifically, when preparing the target finished product material, it is necessary to rely on n different material groups, and each material group undertakes a specific role and is used to provide a part of the materials for preparing the target finished product material. In other words, some materials (or at least one attribute material) within each material group are necessary for preparing the target finished product material, that is, each material group determines at least one production material.

[0035] In addition, the attributes of the materials can include specifications, models, colors, materials, performances, etc., to meet the requirements of preparing target finished products with different attributes. For example, red Coke bottles and yellow Coke bottles, their corresponding different attributes are colors.

[0036] Figure 2(a) shows a schematic diagram of the BOM (Bill of Material) for preparing the target finished product material A. Among them, preparing the target finished product material A requires n material groups (material group 1, material group 2,..., material group n). Material group 1 includes materials VX11 and VX12, and VX11 and VX12 belong to the same type but different attributes of materials. Similarly, material group 2 includes materials VX21 and VX22, and VX21 and VX22 belong to the same type but different attributes of materials; material group n includes materials VXn1 and VXn2, and VXn1 and VXn2 belong to the same type but different attributes of materials.

[0037] In Figure 2(a), the lower-level material X11 in material group 1 and VX11 are a combination. Similarly, X12 and VX12, X21 and VX21, X22 and VX22, Xn1 and VXn1, and Xn2 and VXn2 are all combinations. For example, a bottle body needs to be paired with a cap. When the bottle body needs to be replaced, the corresponding cap also needs to be replaced. This method is called group replacement. Based on the actual supply situation, the branch selection in the above figure is determined. There may be situations where multiple material groups such as VX11 and VX12, VX21 and VX22 are mixed (or called, mixed materials), which conflicts with the requirement of the work order that there should be no mixed materials.

[0038] Based on this, the present invention splits it to generate multiple work orders without mixed materials, that is, two attribute materials within the same material group should not appear in the same work order. That is, to avoid VX11 and VX12 from appearing in the same work order, and to avoid VX21 and VX22 from appearing in the same work order, and so on. The same requirements apply to other material groups.

[0039] For example, as shown in Figure 2(b), assume that the target finished product material A is a mobile phone. Preparing this mobile phone requires three material groups, namely the shell component (material group 1), the main board component (material group 2), and the camera component (material group 3). Among them, the shell component can further include shell component 1 and shell component 2. Similarly, the main board component can include main board component 1 and main board component 2; the camera component can include camera component 1 and camera component 2.

[0040] In step S2, each material group will select a material with the minimum inventory quantity and non-zero to obtain n production materials for preparing the target material.

[0041] In a specific embodiment, when there are at least a first production material and a second production material with equal inventory quantities and the minimum inventory quantity in the same material group, the main material is determined based on the first production material and the second production material, and the main material is used as the current production material.

[0042] In a specific embodiment, when there are at least a first production material and a second production material with the same and minimum inventory quantities in the same material group, the first generality index of the first production material and the second generality index of the second production material are determined; it is judged whether the first generality index is greater than the second generality index; if so, the first production material is used as the current production material; if not, the second production material is used as the current production material.

[0043] Among them, the main material refers to the raw material that plays a dominant role in the production process and determines the performance and quality of the target finished product. It is the main entity or functional part that constitutes the final product. The general-purpose material refers to the material with wide applicability that can be used in multiple scenarios and products, and can be determined through the generality index.

[0044] As Figure 3 shown, in an embodiment, after step S3, the generation method may further include the following steps.

[0045] Step S4, if the quantity of the current production material in the material group after updating the inventory is 0, then use another material with the minimum and non-zero quantity in this material group as the new current production material of this material group, and update to obtain n new current production materials.

[0046] Step S5, according to the quantity of the new current production material, update the current complete set quantity, determine the new current complete set quantity as the new production quantity of the n new current production materials, generate a second production instruction according to the production quantity of the current production material, and update the inventory of the n new current production materials until there is a material group with an inventory quantity of 0 among the n material groups.

[0047] In this way, by selecting another material with the smallest non-zero quantity within the material group as the new current generated material, n new current production materials are updated until there is a material group with a stock quantity of 0 among the n material groups, so that the target work order is split into multiple production instructions, and the production materials in each production instruction are single, without the situation of mixed materials.

[0048] In step S5, continuous updating is performed until there is a material group with a stock quantity of 0 among the n material groups, indicating that at a certain point in time, the stocks of all materials in at least one material group have been exhausted. Performing steps S1 - S5 multiple times until the loop ends, the first production instruction, the second production instruction, and other production instructions can be obtained. Combining the first production instruction, the second production instruction, and other production instructions, all production instructions corresponding to the target work order are obtained.

[0049] A production instruction refers to a specific production order issued to the production department or production line according to the production plan or production demand, used to guide the production department on how to carry out production. The production instruction includes at least one of the types of materials to be produced, quantity, production time, and delivery time.

[0050] In one embodiment, in step S3, generating the first production instruction according to the production quantity of the current production materials and updating the stocks of the n current production materials may specifically include: performing a deduction operation on the stock quantity of the current production materials in each material group based on the current complete set quantity, and determining the updated stock quantities of the n material groups.

[0051] The complete set quantity means that the production materials for preparing the target finished product materials are all available and in sufficient quantity. The current complete set quantity is the maximum value of the quantity of the target finished product materials that can be prepared based on the current material group. In other words, only when the stock quantities of all material groups are sufficient can the complete set state be achieved and production can start.

[0052] It can be understood that the current complete set quantity is jointly determined based on the available stock quantities of the current production materials in the n material groups required for preparing the target finished product materials. If the stock quantities of all material groups for preparing the target finished product materials are sufficient, the corresponding current complete set quantity is larger, meaning that more target finished product materials can be prepared. Conversely, if the stock quantity of any material group for preparing the target finished product materials is insufficient, especially when the stock quantity of the production materials in a certain material group is smaller, the corresponding current complete set quantity is smaller.

[0053] Based on this, in one embodiment, before determining the n material groups and the current complete set quantity corresponding to the target finished product materials in step S1, the method further includes the following steps.

[0054] Step P111: Determine the inventory quantity corresponding to materials with different attributes within each material group according to the actual demand quantity of the target finished product materials and the current available material quantity.

[0055] Step P112: Take the inventory quantity with the smallest non-zero value among all materials as the current complete set quantity.

[0056] In this way, it ensures the matching between material requirements and inventory supply during the production process, improving production efficiency and material utilization rate.

[0057] In a specific embodiment, before determining the current complete set quantity in step S1 of the present invention, the method further includes the following steps.

[0058] Step P121: Sort the inventory quantities of materials with different attributes within each material group respectively to determine the corresponding several local minimum inventory quantities.

[0059] Step S1': Take the minimum value of the several local minimum inventory quantities as the current complete set quantity.

[0060] In this way, by grouping, the minimum values within each combined material can be processed in parallel, and then the overall minimum value can be determined from the minimum values of each group, which can reduce the calculation amount, simplify the problem, and improve the calculation efficiency.

[0061] To facilitate the understanding of the above embodiments, taking the BOM shown in Fig. 2(a) as an example, traverse the inventory quantities of each material group to determine the local minimum inventory quantities, that is, Min(V1)=Min(VX11, VX12), Min(V1)=Min(VX21, VX22),..., Min(Vn)=Min(VXn1, VXn2); then take the smallest inventory quantity among all material groups, that is, splitQty = Min(Min(V1), Min(V2),......, Min(Vn)). According to splitQty, after sorting by quantity size, subtract the quantity of production materials that meet the requirements within n material groups one by one. Repeat the above operations until there is a material group with an inventory quantity of 0 in the n material groups.

[0062] For example, assume that 1000 (actual demand quantity) target finished product materials need to be prepared in the target work order, and three material groups are required to prepare the target finished product materials. These three material groups are material group 1 (VX11, VX12), material group 2 (VX21, VX22), and material group 3 (VX31, VX32), and the corresponding inventory quantities are shown in Table 1.

[0063] Table 1

[0064] According to the content recorded in Table 1, it is determined that the current production material (Production Material 1) in Material Group 1 is VX12, the current production material (Production Material 2) in Material Group 2 is VX22, and the current production material (Production Material 13) in Material Group 3 is VX31.

[0065] Based on the inventory quantities of the materials in the three material groups, the current complete set quantity is determined as: splitQty = Min(Min(700, 300), Min(600, 400), Min(500, 500)) = 300.

[0066] Based on the current complete set quantity, the current production materials in Material Group 1, Material Group 2, and Material Group 3 are respectively deducted. That is, Material Group 1 deducts VX12, and after deduction, the remaining quantity is 0; Material Group 2 deducts VX22, and after deduction, the remaining quantity is 100; Material Group 3 deducts VX31, and after deduction, the remaining quantity is 200, and the inventory of the three current production materials is updated. According to the current production materials in each group and the corresponding deduction quantities, the first production instruction is determined. That is, for Work Order 1, the quantity is 300, VX12 is 300, VX22 is 300, and VX31 is 300.

[0067] The inventory quantities of the materials in the three material groups after update are shown in Table 2 below. According to the content described in Table 2, it is determined that the current production material in Material Group 1 is VX11, the current production material in Material Group 2 is VX22, and the current production material in Material Group 3 is VX31.

[0068] Table 2

[0069] According to the content recorded in Table 2, based on the inventory quantities of the materials in the three material groups after update, the updated current complete set quantity is determined as: splitQty = Min(Min(600, 100), Min(200, 500)) = 100.

[0070] Based on the updated current complete set quantity (100), Material Group 1, Material Group 2, and Material Group 3 are respectively deducted. Material Group 1 deducts VX11, and after deduction, the remaining quantity is 600; Material Group 2 deducts VX22, and after deduction, the remaining quantity is 0; Material Group 3 deducts VX31, and after deduction, the remaining quantity is 100, and the inventory of the three current production materials is updated. According to the current production materials in each group and the corresponding deduction quantities, the first production instruction is determined, that is, for Work Order 2, the quantity is 100, VX11 is 100, VX22 is 100, and VX31 is 100.

[0071] Repeat the above steps, and finally all the production instructions corresponding to the target work order can be obtained, as shown in Table 3 below.

[0072] Table 3

[0073] According to the production instructions shown in Table 3, it can be determined that after the splitting and deduction operations, all the generated work orders meet the condition of not being able to be grouped and mixed with materials.

[0074] It should be noted that the actual demand for the target finished product materials is closely related to the available inventory quantity of the materials within each material group. In other words, according to the actual demand for the target finished product materials, the actual demands of the n material groups corresponding to the preparation of the target finished product materials can be determined; according to the actual demand of each material group, the actual demand of each material within the corresponding material group can be determined. The available material quantity refers to the currently actually available material quantity.

[0075] Next, it will be discussed how to obtain the currently actually available material quantity in real time. In one embodiment, based on the historical work orders, the current inventory quantity, and the advance supply quantity corresponding to the Advance Shipping Notice (ASN), the current available material quantity is determined.

[0076] Among them, the Advance Shipping Notice (ASN) refers to a prior notice that the supplier has planned and issued regarding the materials to be shipped soon. This notice contains detailed information about the shipment, such as the estimated shipping time, the quantity of goods, the shipping address, etc., enabling the receiving party to understand in advance the situation of the upcoming materials. In the present invention, the ASN can be regarded as a kind of "anticipated inventory" or "in-transit inventory".

[0077] In the above embodiment, the current available quantity is determined based on the current supply minus the consumed material quantity corresponding to the opened (or created) historical work orders, and the available material quantity of the subsequent target work orders is determined accordingly. However, in this process, the influence of the different states of the historical work orders and their expected start times on the available material quantity needs to be fully considered.

[0078] Among them, the work order status can include the unreleased status (the work order has been created but is waiting for production, such as waiting and preparing before production), the released status (actual production has started but not yet completed), the completed status, and the cancelled status. And the historical work orders in the unreleased status and the released status have an impact on the current available material quantity.

[0079] Since the expected production date of the work order in the unreleased state may be later than the expected production time of the current target work order, that is, if the material requirements of the historical work orders that were created earlier but have an expected production time later than the expected production time are satisfied first, that is, the material supply priority is allocated according to the work order creation order rather than the expected production time, this may lead to unreasonable allocation of material supply priority. Because in theory, those work orders with earlier expected production times and earlier material requirements should be satisfied first to ensure the smooth and efficient production process. If, on the contrary, the work orders with later production times are supplied with materials first and the work orders with earlier production times are supplied later, it may disrupt the production plan and cause delays in the work orders with earlier production times due to lack of materials.

[0080] If the impact of historical work orders with an expected production time later than that of the target work order on the current available material quantity is not considered, that is, if material allocation is based only on the currently newly created work order and historical work orders with an earlier expected production time than it, this may lead to the problem of material shortage for historical work orders that have already been created but have not yet started production in the subsequent production process. Because in actual operation, the supply and allocation of materials is a dynamic process that needs to take into account the requirements and time nodes of all relevant work orders. If only the currently newly created work order is focused on while ignoring other work orders that have been opened but not yet produced, there may be a shortage of materials in the subsequent production process, thus affecting the overall production plan and progress.

[0081] Based on this, at the moment when the target work order is newly created, all historical work orders that have been opened but not yet completed at this moment are obtained, and the current available material quantity is determined based on all eligible historical work orders. Specifically, in the following embodiments ( Figure 4 and Figure 5 ), the historical work orders in the first work order set exclude the work orders that do not meet the conditions in the above two states to ensure the accuracy of the current available material quantity.

[0082] As Figure 4 shown, in a specific embodiment, before step P11, the method may further include the following steps.

[0083] Step M11, obtain a first work order set, where the creation time of the work orders in the first work order set is equal to or earlier than the creation time of the target work order, and the work order status is the first status.

[0084] Step M12, calculate the sum of the required material quantities of all historical work orders to obtain the material quantity to be consumed.

[0085] Step M13, obtain the current total inventory, calculate the difference between the current total inventory and the material quantity to be consumed, and determine the corresponding current available material quantity, where the total inventory includes the inventory quantity and the in-transit supply quantity.

[0086] In this way, based on information such as the current inventory and in-transit materials (ASN), the available quantity of each material is calculated. This ensures that when a work order is created, there is sufficient supply of the required materials, thus avoiding production interruptions caused by material shortages.

[0087] In step M13, the inventory quantity in the total inventory refers to the quantity of materials that have completed the warehousing procedures and are stored in the enterprise warehouse (or the quantity of materials that have been warehoused); the in-transit supply quantity in the total inventory refers to the in-transit supply committed by the supplier for delivery, specifically, it can refer to the corresponding quantity of materials in the advance notice of shipment ASN provided by the supplier to the manufacturer (or the quantity of materials to be warehoused soon, "in-transit inventory").

[0088] In step M11, the first status refers to historical work orders that have not been completed in production. The historical work orders that have not been completed can specifically include historical work orders that have been created and have not yet started production, and / or historical work orders that have been created and have started production but have not been completed in production.

[0089] As Figure 5 shown, in a specific embodiment, the following steps can be used to determine the first set of work orders in step M12.

[0090] Step M121, determine the first creation time and the first expected production time according to the target work order.

[0091] Step M122, filter to obtain a second set of work orders according to the first creation time; the creation time of the work orders in the second set of work orders is equal to or earlier than the first creation time.

[0092] Step M123, determine whether the expected production time of each work order in the second set of work orders is earlier than or equal to the first expected production time and the work order status is the first status; or determine whether the expected production time of each work order in the second set of work orders is later than the first expected production time.

[0093] If so, jump to step M124, add the corresponding work order to the first set of work orders, and update to determine the first set of work orders.

[0094] Among them, the first status refers to historical work orders that have started production but have not been completed in production.

[0095] In this way, by determining the current available material inventory considering historical orders that have not withdrawn and consumed materials, the material availability at a given time point (i.e., when the target work order is created) can be dynamically and accurately evaluated.

[0096] Understandably, during the process of waiting for production in the unreleased status work order, there may also be phenomena such as order insertion and rescheduling of the expected production time. These will also cause the originally created work order sequence to not match the expected production time, resulting in the main materials originally intended for a certain work order being used by other work orders first. When the work order actually starts production, in order not to affect the production progress, alternative materials are used to replace the main materials.

[0097] To avoid the above phenomena, the current available material quantity is updated in real time. Unreleased status work orders can be obtained regularly, the material quantities previously allocated to the unreleased status work orders are cleared, and these work orders are reordered from the earliest to the latest according to their expected production time (or the planned start production time), so that the work orders to be produced first can obtain materials first.

[0098] Based on this, as Figure 6 shown, in one embodiment, before calculating and determining the current available material quantity in real time, the historical work orders affecting it are refreshed, specifically including the following steps.

[0099] Step M21, clear the material allocation information corresponding to the work orders with the first status in the first work order set at the first preset frequency, and sort the work orders in the first work order set according to the expected production time.

[0100] Step M22, update and determine the material allocation information and the current available material quantity of the corresponding work orders according to the sorting result.

[0101] In this way, by regularly updating the first work order set and reordering the material information required by these work orders, unreasonable lags in material allocation can be avoided, ensuring that the work orders that need to be produced first can obtain the required materials first, thereby improving production efficiency and the accuracy of material management.

[0102] In a specific embodiment, step M22 may specifically include the following steps.

[0103] Step M221, obtain the current material inventory information and the current material to be warehoused information.

[0104] Step M222, according to the sorting result, determine the material allocation information of the corresponding work orders in the order of selecting materials and deducting, first the current material inventory information and then the current material to be warehoused information, and determine the current available material quantity according to the material allocation result.

[0105] In this way, by preferentially consuming the materials in the inventory, it helps to reduce inventory backlogs, avoid problems such as deterioration, damage, or expiration that may occur when these materials are stored in the warehouse for a long time, and improve the inventory turnover rate.

[0106] An embodiment of the present invention provides a computer-readable storage medium.

[0107] In one embodiment, a computer-readable storage medium stores a computer program executed by the aforementioned processor, or a production instruction generation method in any of the foregoing technical solutions.

[0108] When the processor executes the computer program, it can execute the description of the production instruction generation method in any of the foregoing technical solutions. Therefore, it will not be elaborated here. In addition, the description of the beneficial effects of the same method will not be elaborated either.

[0109] The computer-readable storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disc, etc.

[0110] In summary, the present invention provides a production instruction generation method and a storage medium. By classifying materials in detail according to their types and attributes, forming multiple material groups, comparing the inventory quantities of each material group, identifying the material with the tightest inventory quantity (i.e., the material with the smallest inventory quantity and the inventory quantity not being 0) as the current production material, and determining the production quantity accordingly, so that one material in each material group is selected as the current production material, ensuring that each material can be accurately corresponded to its required production process and target finished product, avoiding the confusion of materials, and improving the accuracy of production.

[0111] It should be understood that although this specification is described according to embodiments, not every embodiment only contains an independent technical solution. This narrative way of the specification is only for clarity. Those skilled in the art should regard the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.

[0112] The series of detailed descriptions listed above are only specific descriptions of the feasible embodiments of the present invention, and they are not intended to limit the protection scope of the present invention. Any equivalent embodiments or modifications made without departing from the technical spirit of the present invention should be included in the protection scope of the present invention.

Claims

1. A production indication generation method, characterized in that, Including: Obtain a target work order, determine n material groups corresponding to the target finished product material and the current complete set quantity. The n material groups are used to prepare the target finished product material. Different material groups contain different types of materials. Each material group includes at least two types of materials belonging to the same type and having different attributes. The at least two types of materials are respectively used to prepare target finished product materials with different attributes. The current complete set quantity is the maximum value of the quantity of target finished product materials that can be prepared based on the current material groups. n≥2 and n is an integer. Respectively determine a material with the smallest inventory quantity and a non-zero inventory quantity in each of the n material groups as the current production material, and obtain n current production materials. Determine the current complete set quantity as the production quantity of the n current production materials, generate a first production instruction according to the production quantity of the current production materials, and update the inventory of the n current production materials.

2. The generation method according to claim 1, characterized in that, The method further includes: If the quantity of the current production material in the material group after updating the inventory is 0, then use another material with the smallest quantity and a non-zero quantity in the material group as the new current production material of the material group, and update to obtain n new current production materials. According to the quantity of the new current production materials, update the current complete set quantity, determine the new current complete set quantity as the new production quantity of the n new current production materials, generate a second production instruction according to the production quantity of the current production materials, and update the inventory of the n new current production materials until there is a material group with an inventory quantity of 0 in the n material groups.

3. The generation method according to claim 1, wherein The generating a first production instruction according to the production quantity of the current production materials and updating the inventory of the n current production materials includes: Perform a deduction operation on the inventory quantity of the current production materials in each material group based on the current complete set quantity, and determine the inventory quantity of the n updated material groups.

4. The generation method according to claim 1, wherein Before determining the n material groups corresponding to the target finished product material and the current complete set quantity, the method further includes: According to the actual demand quantity of the target finished product material and the current available material quantity, determine the inventory quantity corresponding to different attribute materials in each material group. Use the inventory quantity with the smallest and non-zero inventory quantity among all materials as the current complete set quantity.

5. The generation method according to claim 4, wherein Before the step of according to the actual demand information of the target finished product material and the current available material quantity, the method further includes: Obtain a first work order set. The creation time of the work orders in the first work order set is equal to or earlier than the creation time of the target work order, and the work order status is the first status. The first status refers to historical work orders that have not been completed in production. Calculate the sum of the required material quantities in all historical work orders to obtain the quantity of materials to be consumed. Obtain the current total inventory, calculate the difference between the current total inventory and the quantity of materials to be consumed, and determine the corresponding current available material quantity. The total inventory includes the inventory quantity and the in-transit supply quantity.

6. The generation method according to claim 5, wherein The obtaining the first work order set includes: According to the target work order, determine the first creation time and the first expected production time. According to the first creation time, filter to obtain a second work order set. The creation time of the work orders in the second work order set is equal to or earlier than the first creation time. Determine whether the expected production time of each work order in the second work order set is earlier than or equal to the first expected production time and the work order status is the second status; or determine whether the expected production time of each work order in the second work order set is later than the first expected production time; the second status refers to historical work orders that have started production and have not been completed yet. If so, add the corresponding work order to the first work order set and update to determine the first work order set.

7. The generation method according to claim 4, wherein Before the actual demand information of the target finished product material and the current available material quantity, the method further includes: Empty the material allocation information corresponding to the work orders with the second status in the first work order set at the first preset frequency, and sort the work orders in the first work order set according to the expected production time. Update and determine the material allocation information and the current available material quantity of the corresponding work orders according to the sorting result.

8. The generation method according to claim 7, wherein The update and determination of the material allocation information and the current available material quantity of the corresponding work orders according to the sorting result includes: Obtain the current material inventory information and the current material to be received information. According to the sorting result, in the order of selecting materials and deducting, first the current material inventory information and then the current material to be received information, determine the material allocation information of the corresponding work order, and determine the current available material quantity according to the material allocation result.

9. The generation method according to claim 1, wherein Before determining the current complete set quantity, the method further includes: Sort the inventory quantities of materials with different attributes in each material group respectively to determine the corresponding several local minimum inventory quantities. The determination of the current complete set quantity includes: Take the minimum value of several local minimum inventory quantities as the current complete set quantity.

10. A computer storage medium, the computer-readable storage medium stores a computer program, characterized in that, When the computer program is executed by a processor, it executes the steps of the production instruction generation method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Material demand distribution method, device and system and storage medium

    CN112801448A

  • Automatic material supply management method and system and storage medium

    CN115564317A

  • Material management method, electronic equipment and computer readable storage medium

    CN118333530A

  • Production process optimization method and equipment based on neat analysis, and medium

    CN118536664A

  • Material neat analysis method, system and related device

    CN119904171A