Material management method, device and equipment and storage medium

By matching preset materials with the SPU coding association table, coded and uncoded materials are divided, and targeted quality inspection orders and reports are generated, which solves the problems of inefficiency and material confusion in the traditional material management system, and achieves efficient and accurate materials Management and quality inspection.

CN118710183APending Publication Date: 2024-09-27SHANGHAI YUNDA HIGH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410845479.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

When the traditional material management system handles a large number of diverse materials, the single SPU coding method is inefficient and error-prone. Especially when distinguishing materials with the same name but different characteristics, it leads to material confusion and misuse, affecting production safety.

Method used

Match the preset materials with the SPU coding association table, divide coded materials and non-coded materials, generate targeted quality inspection orders, obtain quality inspection results and audit results, and generate quality inspection reports to trace material sources and quality inspections process.

Benefits of technology

It improves the efficiency of material management, ensures that coded and non-coded materials are properly inspected separately, reduces errors, and can quickly locate material problems and take corrective measures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710183A
    Figure CN118710183A
Patent Text Reader

Abstract

The invention relates to the field of material management, and discloses a material management method, device and equipment and a storage medium, and the method is used for dividing new materials into coded materials and non-coded materials for targeted management. The method comprises the steps that a new material adding request is received, a new material adding list is generated according to the material request, and the new material adding list at least comprises one new material; traversing the newly-added material list, matching with a preset material and SPU code association table according to the material information of each newly-added material, and dividing the newly-added materials into coded materials and non-coded materials according to a matching result; generating a first to-be-tested quality list according to the coded material, and generating a second to-be-tested quality list according to the non-coded material; respectively obtaining a first quality inspection result corresponding to the first to-be-inspected order and a second quality inspection result corresponding to the second to-be-inspected order, and generating an auditing instruction according to the first quality inspection result and the second quality inspection result; and sending an auditing instruction, obtaining an auditing result, and generating a quality inspection report.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of material management, and in particular to a material management method, device, equipment and storage medium. Background Art

[0002] As two core elements, material management and quality inspection play an irreplaceable role in ensuring the smooth operation of the production process and the continuous improvement of product quality. However, the traditional material management and quality inspection systems have gradually exposed some limitations in practical applications, which have restricted the further development of the manufacturing industry to a certain extent.

[0003] In terms of material identification, although the traditional system encodes materials when entering the warehouse, there are still uncoded materials. For coded materials and uncoded materials, they are often mixed and not processed in a targeted manner, and the material coding method relies on a single SPU coding method. This method is not only inefficient but also prone to errors when processing a large number of diverse materials. In particular, when processing materials with the same name but different characteristics, the single SPU coding method often cannot accurately distinguish them, resulting in material confusion, misuse, and even production accidents.

[0004] Therefore, the existing technology still needs to be improved and developed. Summary of the invention

[0005] The present invention provides a material management method, device, equipment and storage medium, which are used to divide new materials into coded materials and non-coded materials for targeted management.

[0006] A first aspect of the present invention provides a material management method, which includes: receiving a request for new materials, generating a new material list according to the material request, wherein the new material list includes at least one new material; traversing the new material list, matching the material information of each new material with a preset material and SPU code association table, and dividing the new materials into coded materials and uncoded materials according to the matching results; generating a first quality inspection form according to the coded material, and generating a second quality inspection form according to the uncoded material; respectively obtaining a first quality inspection result corresponding to the first quality inspection form and a second quality inspection result corresponding to the second quality inspection form, and generating an audit instruction according to the first quality inspection result and the second quality inspection result; sending the audit instruction and obtaining the audit result, and generating a quality inspection report according to the first quality inspection result, the second quality inspection result and the audit result.

[0007] Optionally, in a first implementation method of the first aspect of the present invention, the receiving of a request for a new material and the generating of a new material list according to the material request, wherein the new material list includes at least one new material, include: receiving a request for a new material and parsing the request for a new material; creating a digitized structure and storing the parsed new material data in the digitized structure; removing duplicate data and abnormal data in the digitized structure, and converting the processed data in the digitized structure into a new material list in a preset format.

[0008] Optionally, in a second implementation method of the first aspect of the present invention, traversing the list of newly added materials, matching the material information of each newly added material with the preset material and SPU code association table, and dividing the newly added materials into coded materials and uncoded materials according to the matching results, includes: traversing the list of newly added materials, determining the material information of each newly added material, the material information of the newly added material at least including the material name, material attributes and material specifications; constructing an SQL statement to query the preset material and SPU code association table according to the material information of the newly added material; if the match is successful, recording the SPU code corresponding to the newly added material, and classifying the corresponding newly added material as a coded material; if the match fails, returning a null value, and classifying the corresponding newly added material as an uncoded material.

[0009] Optionally, in a third implementation method of the first aspect of the present invention, based on the material information of the newly added material, an SQL statement is constructed to query a preset material and SPU code association table, which also includes: obtaining historical material information, and classifying the historical material information according to different names, different specifications and different attributes to obtain multiple categories of materials, and generating a material information table; performing SPU encoding on each category of materials according to preset SPU encoding rules, and generating an SPU encoding information table; associating the material information table with the SPU encoding information table to generate a material and SPU coding association table.

[0010] Optionally, in a fourth implementation method of the first aspect of the present invention, the first quality inspection form is generated based on the coded material, and the second quality inspection form is generated based on the uncoded material, including: comparing the coded material and the uncoded material to determine that there is no duplicate data between the two; calling the first quality inspection form template corresponding to the coded material, filling the material information of the newly added material in the coded material into the first quality inspection form template, and generating the first quality inspection form; calling the second quality inspection form template corresponding to the uncoded material, filling the material information of the newly added material in the uncoded material into the second quality inspection form template, and generating the second quality inspection form.

[0011] Optionally, in a fifth implementation manner of the first aspect of the present invention, respectively obtaining a first quality inspection result corresponding to the first order to be quality inspected and a second quality inspection result corresponding to the second order to be quality inspected, and generating an audit instruction based on the first quality inspection result and the second quality inspection result, includes: respectively obtaining a first quality inspection result corresponding to the first order to be quality inspected and a second quality inspection result corresponding to the second order to be quality inspected; analyzing the first quality inspection result and the second quality inspection result, dividing the newly added materials that pass the quality inspection and the newly added materials that fail the quality inspection, and respectively generating a first processing strategy for the newly added materials that pass the quality inspection and a second processing strategy for the newly added materials that fail the quality inspection; generating an audit instruction based on the first processing strategy and the second processing strategy.

[0012] Optionally, in a sixth implementation method of the first aspect of the present invention, the sending of the audit instruction and obtaining the audit result, and generating a quality inspection report based on the first quality inspection result, the second quality inspection result and the audit result, include: sending the audit instruction and obtaining the audit result; querying the quality inspection report template library, the quality inspection report template library including a coded material quality inspection report template, an uncoded material quality inspection report template and a mixed quality inspection report template, and obtaining the mixed quality inspection report template; filling the first quality inspection result, the second quality inspection result and the audit result into the default parameters of the mixed quality inspection report template to generate a quality inspection report.

[0013] The second aspect of the present invention provides a material management device, including: a receiving module, used to receive a request for new materials, and generate a new material list according to the material request, wherein the new material list includes at least one new material; a classification module, used to traverse the new material list, match the material information of each new material with a preset material and SPU code association table, and divide the new materials into coded materials and uncoded materials according to the matching results; a quality inspection module, used to generate a first quality inspection form according to the coded material, and generate a second quality inspection form according to the uncoded material; an audit module, used to respectively obtain a first quality inspection result corresponding to the first quality inspection form and a second quality inspection result corresponding to the second quality inspection form, and generate an audit instruction according to the first quality inspection result and the second quality inspection result; a report generation module, used to send the audit instruction and obtain the audit result, and generate a quality inspection report according to the first quality inspection result, the second quality inspection result and the audit result.

[0014] Optionally, in a first implementation method of the second aspect of the present invention, the receiving module includes: a receiving unit, used to receive a request for new materials and parse the request for new materials; a storage unit, used to create a digitized structure and store the parsed new material data in the digitized structure; a conversion unit, used to remove duplicate data and abnormal data in the digitized structure, and convert the data in the processed digitized structure into a new material list in a preset format.

[0015] Optionally, in a second implementation method of the second aspect of the present invention, the classification module includes: a traversal unit, used to traverse the list of newly added materials and determine the material information of each newly added material, wherein the material information of the newly added material at least includes the material name, material attributes and material specifications; a construction unit, used to construct an SQL statement to query a preset material and SPU code association table based on the material information of the newly added material; a classification unit, used to record the SPU code corresponding to the newly added material when the match is successful, and classify the corresponding newly added material as a coded material; when the match fails, return a null value and classify the corresponding newly added material as an uncoded material.

[0016] Optionally, in a third implementation method of the second aspect of the present invention, the quality inspection module includes: a comparison unit, used to compare coded materials and uncoded materials to determine that there is no duplicate data between the two; a first quality inspection unit, used to call a first quality inspection order template corresponding to the coded material, fill in the material information of the newly added materials in the coded material into the first quality inspection order template, and generate a first quality inspection order to be inspected; a second quality inspection unit, used to call a second quality inspection order template corresponding to the uncoded material, fill in the material information of the newly added materials in the uncoded material into the second quality inspection order template, and generate a second quality inspection order to be inspected.

[0017] Optionally, in a fourth implementation method of the second aspect of the present invention, the audit module includes: an acquisition unit, used to respectively acquire a first quality inspection result corresponding to the first quality inspection order and a second quality inspection result corresponding to the second quality inspection order; an analysis unit, used to analyze the first quality inspection result and the second quality inspection result, divide the newly added materials that pass the quality inspection and the newly added materials that fail the quality inspection, and generate a first processing strategy for the newly added materials that pass the quality inspection and a second processing strategy for the newly added materials that fail the quality inspection; and an audit unit, used to generate an audit instruction according to the first processing strategy and the second processing strategy.

[0018] Optionally, in a fifth implementation method of the second aspect of the present invention, the report generation module includes: a sending unit, used to send an audit instruction and obtain an audit result; a query unit, used to query a quality inspection report template library, the quality inspection report template library including a coded material quality inspection report template, an uncoded material quality inspection report template and a mixed quality inspection report template, to obtain the mixed quality inspection report template; a report generation unit, used to fill the first quality inspection result, the second quality inspection result and the audit result into the default parameters of the mixed quality inspection report template to generate a quality inspection report.

[0019] The third aspect of the present invention provides a material management device, comprising: a memory and at least one processor, wherein the memory stores computer-readable instructions, and the memory and the at least one processor are interconnected via lines; the at least one processor calls the computer-readable instructions in the memory so that the material management device executes the various steps of the material management method as described above.

[0020] A fourth aspect of the present invention provides a computer-readable storage medium, in which computer-readable instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the various steps of the material management method described above.

[0021] In the technical solution provided by the present invention, by matching the preset materials with the SPU coding association table, coded materials and uncoded materials can be quickly and accurately identified, thereby improving the efficiency of material management. For coded materials and uncoded materials, different quality inspection orders are generated to facilitate quality inspection using different quality inspection methods, which is more targeted. In addition, through SPU coding and generating quality inspection reports, the source, quality inspection process and results of each material can be clearly traced, which helps to quickly locate the cause when problems occur with the materials and take corresponding corrective measures. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A first flow chart of the material management method provided by an embodiment of the present invention;

[0023] Figure 2 A second flow chart of the material management method provided by an embodiment of the present invention;

[0024] Figure 3 A third flow chart of the material management method provided by an embodiment of the present invention;

[0025] Figure 4 A fourth flow chart of the material management method provided by an embodiment of the present invention;

[0026] Figure 5 A fifth flow chart of the material management method provided by the embodiment of the present invention;

[0027] Figure 6 A sixth flow chart of the material management method provided by an embodiment of the present invention;

[0028] Figure 7 A schematic diagram of the structure of a material management device provided by an embodiment of the present invention;

[0029] Figure 8 A schematic diagram of the structure of a material management device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0030] The embodiment of the present invention provides a material management method, device, equipment and storage medium, which is used to divide new materials into coded materials and uncoded materials for targeted management. The method includes: receiving a request for new materials, generating a new material list according to the material request, and the new material list includes at least one new material; traversing the new material list, matching the material information of each new material with the preset material and SPU code association table, and dividing the new materials into coded materials and uncoded materials according to the matching results; generating a first quality inspection form according to the coded material, and generating a second quality inspection form according to the uncoded material; respectively obtaining a first quality inspection result corresponding to the first quality inspection form and a second quality inspection result corresponding to the second quality inspection form, and generating an audit instruction according to the first quality inspection result and the second quality inspection result; sending the audit instruction and obtaining the audit result, and generating a quality inspection report according to the first quality inspection result, the second quality inspection result and the audit result.

[0031] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 A first embodiment of a material management method in an embodiment of the present invention includes:

[0033] S101. Receive a new material request, and generate a new material list according to the material request. The new material list includes at least one new material.

[0034] It is understandable that the execution subject of the present invention may be a material management device, or a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking a server as the execution subject as an example.

[0035] In this embodiment, key information is extracted from the request, including relevant information of the newly added material, and the relevant information of the newly added material includes the material name, specification, purpose, quantity, etc.

[0036] A new material request contains at least one new material, that is, the quantity of the new material may be one, two, or more. Therefore, it is necessary to generate a new material list and save the relevant information of the new material in the new material list for subsequent processing.

[0037] S102, traverse the newly added material list, match the material information of each newly added material with the preset material and SPU code association table, and divide the newly added materials into coded materials and uncoded materials according to the matching results.

[0038] In this embodiment, the material and SPU code association table contains SPU codes corresponding to materials with different names and different attributes. SPU code refers to the standardized product unit code, which is used to identify a specific product with fixed attributes and specifications. That is, materials with different names, different attributes and different specifications correspond to one SPU code, and materials with the same name, unified specifications but different attributes have different SPU codes.

[0039] Exemplarily, "carton - kraft paper - light weight - no printing - 40x30x20cm" corresponds to a unique SPU code, and "carton - recycled paper - medium weight - monochrome printing - 50x40x30cm" corresponds to another unique SPU code.

[0040] In this embodiment, although the material and SPU code association table basically covers most of the existing materials, there may be update delays. Therefore, some new materials may not be found in the material and SPU code association table. Therefore, it is necessary to divide the new materials into coded materials and uncoded materials to facilitate subsequent quality inspection and warehousing processing.

[0041] S103: Generate a first quality inspection form based on the coded material, and generate a second quality inspection form based on the uncoded material.

[0042] In this embodiment, the quality inspection requirements for coded materials and non-coded materials are different. Therefore, when generating a quality inspection form, it is necessary to generate a first quality inspection form based on the coded material and a second quality inspection form based on the non-coded material.

[0043] In this embodiment, the quality inspection requirements of the first quality inspection form are different from those of the second quality inspection form. During the quality inspection of the newly added materials in the first quality inspection form, the status of the newly added materials needs to be confirmed, and the SPU code matching of the newly added materials needs to be verified. During the quality inspection of the newly added materials in the second quality inspection form, the status of the newly added materials needs to be confirmed, and whether the matching of the uncoded materials is accurate.

[0044] S104, respectively obtain a first quality inspection result corresponding to the first quality inspection form and a second quality inspection result corresponding to the second quality inspection form, and generate a review instruction according to the first quality inspection result and the second quality inspection result.

[0045] In this embodiment, after the first and second quality inspection forms are generated, they are sent to the quality inspection department, and the first quality inspection result corresponding to the first quality inspection form and the second quality inspection result corresponding to the second quality inspection form provided by the quality inspection department are obtained.

[0046] In order to improve the credibility and applicability of the quality inspection results, the first quality inspection results and the second quality inspection results can be reviewed to reduce the problem of the quality inspection results not being consistent with the actual quality inspection situation.

[0047] S105: Send an audit instruction and obtain an audit result, and generate a quality inspection report based on the first quality inspection result, the second quality inspection result and the audit result.

[0048] In this embodiment, the review instruction is sent to the review department, and after the review department reviews the first quality inspection result and the second quality inspection result, the review result returned by the review department is obtained.

[0049] The audit results generally include comments on the first quality inspection results and the second quality inspection results and comments on the audit results, for example, confirming that the first quality inspection results and the second quality inspection results are correct.

[0050] The present embodiment provides a material management method, which can quickly and accurately identify coded materials and uncoded materials by matching preset materials with the SPU coding association table, thereby improving the efficiency of material management. Different quality inspection orders are generated for coded materials and uncoded materials to facilitate quality inspection using different quality inspection methods, which is more targeted. In addition, through SPU coding and generating quality inspection reports, the source, quality inspection process and results of each material can be clearly traced, which helps to quickly locate the cause when a problem occurs with the material and take corresponding corrective measures.

[0051] See also Figure 2 , the second embodiment of the material management method in the embodiment of the present invention includes:

[0052] S201, receiving a request for a new material, and parsing the request for the new material.

[0053] In this embodiment, different parsers are used for parsing according to the format of the new material request.

[0054] For example, if the request for adding new materials is sent in JSON (JavaScript Object Notation) format, you can use the JSON parsing library or function in the programming language to parse the request. For example, you can use the JSON.parse() method in JavaScript and the json.loads() function in Python.

[0055] For example, if a request for adding a new material is sent in XML (Extensible Markup Language) format, an XML parser can be used to parse the request. Common XML parsers include DOM (Document Object Model) parsers, SAX (Simple API for XML) parsers, and XML Pull parsers.

[0056] S202: Create a digital structure, and store the parsed new material data in the digital structure.

[0057] In this embodiment, after parsing the request for adding new materials, the parsed data is converted into a data structure.

[0058] If you use a relational database, you can insert the data into the corresponding table. If you use a non-relational database or in-memory data storage, you can convert the data into a format such as JSON or BSON and use the corresponding API or method to store the data in the database.

[0059] S203, removing duplicate data and abnormal data in the digitized structure, and converting the data in the processed digitized structure into a new material list in a preset format.

[0060] In this embodiment, duplicate data in the digitized structure is removed, specifically including: traversing all data in the digitized structure; creating an empty collection or temporary storage structure; for each piece of data, checking whether its key field (such as material number) already exists in the collection; if not, adding it to the collection or temporary storage structure; otherwise, skipping the data; finally, using the data in the collection or temporary storage structure as the deduplication result.

[0061] Remove abnormal data in the digitized structure, specifically including: traversing the deduplicated data; for each piece of data, use preset rules, regular expressions or reference data to verify; if the data does not meet the verification rules, mark it as abnormal data or delete it; retain the data that passes the verification as the result.

[0062] In this embodiment, parsing the request for new materials can ensure the integrity and accuracy of the data, avoid errors caused by inconsistent data formats or content, remove duplicate data and abnormal data to further ensure the accuracy of the data, avoid duplication of work and potential problems in subsequent processing, and convert the data into a list of new materials in a preset format, ensuring the consistency and standardization of the data, facilitating subsequent processing and analysis.

[0063] See also Figure 3 A third embodiment of a material management method in an embodiment of the present invention includes:

[0064] S301. Traverse the newly added material list to determine the material information of each newly added material. The material information at least includes the material name, material attributes and material specifications.

[0065] In this embodiment, a loop structure (such as a for loop, a while loop, etc.) in a programming language (such as Python, Java, C#, etc.) is used to traverse the material list, and for each material entry in the material list, the name, attributes, and specifications of the material are extracted from the data set.

[0066] The name is usually a descriptive label for the material, used to identify the basic type or category of the material. Attributes can include the material's specifications, dimensions, color, weight, material, and any other characteristics related to the material. Specifications are the size of the material.

[0067] S302. According to the material information of the newly added material, a SQL statement is constructed to query the preset material and SPU code association table.

[0068] According to the material information of the newly added materials, an SQL statement is constructed to query the preset material and SPU code association table, which also includes: obtaining historical material information, and classifying the historical material information according to different names, different specifications and different attributes to obtain multiple categories of materials, and generate a material information table; according to the preset SPU coding rules, SPU coding is performed on each category of materials, and an SPU coding information table is generated; the material information table is associated with the SPU coding information table to generate a material and SPU coding association table.

[0069] In this embodiment, historical material information is obtained from a material database, the material information is classified according to different names, different specifications and different attributes, the classified material information is organized into a table form, and a material information table is generated to facilitate subsequent processing.

[0070] In this embodiment, the SPU code can help the material system to accurately distinguish different product units and improve the efficiency of data management.

[0071] The SPU code starts with SP and contains at least eight digits. The first two digits are the fixed SP prefix, the third and fourth digits indicate the material name, the fifth and sixth digits indicate the material attributes, and the seventh and eighth digits indicate the material specifications.

[0072] For example, the SPU code of carton-kraft paper-lightweight-unprinted-40x30x20cm is SPA10101, the SPU code of carton-kraft paper-lightweight-unprinted-50x40x30cm is SPA10102, and the SPU code of carton-recycled paper-medium weight-monochrome printing-50x40x30cm is SPA10202.

[0073] In this embodiment, the fields used for association in the material information table and the SPU code information table are determined, such as material number, material name, material attribute, material specification and SPU code.

[0074] In the database, you can use SQL query statements to associate two tables and save the query results as a new data table, namely the material and SPU code association table.

[0075] In this embodiment, the material information table, SPU coding information table and material and SPU coding association table can be saved in the material database. Through classification and coding, the accuracy and consistency of material information can be ensured, and errors caused by data confusion can be reduced. The preset SPU coding rules can be used to quickly assign codes to materials.

[0076] S303. If the match is successful, the SPU code corresponding to the newly added material is recorded, and the corresponding newly added material is classified as a coded material. If the match fails, a null value is returned, and the corresponding newly added material is classified as an uncoded material.

[0077] Exemplarily, the newly added material 1 is as follows: Name: Product A, Specification: Specification A, Attribute: Attribute A, Matching result: Successfully matched to SPU code SPB10101, classified as a coded material.

[0078] The newly added material 2 is as follows: Name: Product B, Specification: Specification B, Attribute: Attribute B, Matching result: Match failed, return null value, and classify as uncoded material.

[0079] In this embodiment, the list of newly added materials is traversed to determine the material information of each newly added material, and then based on the material information of the newly added material, an SQL statement is constructed to query the preset material and SPU code association table, thereby realizing the automation of material code matching, reducing the time for manual search and matching, and improving work efficiency. For the processing of a large number of new materials, the automated process can significantly speed up the processing speed.

[0080] See also Figure 4 A fourth embodiment of a material management method in an embodiment of the present invention includes:

[0081] S401. Compare coded materials and uncoded materials to determine if there is no duplicate data between the two.

[0082] In this embodiment, coded materials and uncoded materials are stored in two lists. One list can be traversed and the same material can be found in the other list. A combination of all attributes of the material can be used for comparison. If a matching material is found, it means that there is a duplication.

[0083] If there is duplicate data between coded materials and uncoded materials, that is, a new material data exists in both coded materials and uncoded materials, it is necessary to recheck the category of the new material data.

[0084] S402. Call the first quality inspection form template corresponding to the coded material, fill the material information of the newly added material in the coded material into the first quality inspection form template, and generate a first quality inspection form.

[0085] In this embodiment, a first quality inspection form template corresponding to the coded material is pre-set. The first quality inspection form template can be a text file (such as .txt, .docx, .html, etc.), or a database template, or an object template in a program. The first quality inspection form template contains all the fields and formats required for the quality inspection form. When calling, the first quality inspection form template is called through the system interface or file reading.

[0086] S403, calling the second quality inspection form template corresponding to the uncoded material, filling the material information of the newly added material in the uncoded material into the second quality inspection form template, and generating a second quality inspection form.

[0087] In this embodiment, a second quality inspection form template corresponding to the coded material is pre-set, and the second quality inspection form template can be a text file (such as .txt, .docx, .html, etc.), or a database template, or an object template in a program. The second quality inspection form template contains all the fields and formats required for the quality inspection form. When calling, the second quality inspection form template is called through the system interface or file reading.

[0088] In this embodiment, by dividing the materials into two categories, coded and uncoded, and generating different quality inspection orders respectively, the clear classification and processing of the materials are achieved. This is helpful for subsequent quality control and management. Using different quality inspection order templates for different categories of materials can generate quality inspection orders more quickly and improve processing efficiency. At the same time, the templated processing method also reduces the possibility of human error. Before generating the quality inspection order, the coded materials and the uncoded materials are compared to ensure that there is no duplicate data, which greatly reduces the risk of errors in subsequent processing.

[0089] See also Figure 5 A fifth embodiment of a material management method in an embodiment of the present invention includes:

[0090] S501. Obtain a first quality inspection result corresponding to a first quality inspection form and a second quality inspection result corresponding to a second quality inspection form.

[0091] In this embodiment, the first quality inspection result includes information such as specific quality inspection data of each coded material, a qualified or unqualified identification, etc.

[0092] The second quality inspection result includes the specific quality inspection data of each uncoded material, the qualified or unqualified identification and other information.

[0093] S502, analyzing the first quality inspection result and the second quality inspection result, dividing the newly added materials into those that pass the quality inspection and those that fail the quality inspection, and generating a first processing strategy for the newly added materials that pass the quality inspection and a second processing strategy for the newly added materials that fail the quality inspection, respectively.

[0094] S503: Generate an audit instruction according to the first processing strategy and the second processing strategy.

[0095] In this embodiment, if the quality inspection result is displayed as "qualified", the material is marked as a newly added material that has passed the quality inspection. If the quality inspection result is displayed as "unqualified", the material is marked as a newly added material that has failed the quality inspection.

[0096] In this embodiment, a first processing strategy is generated for the newly added materials that have passed the quality inspection, that is, a warehousing instruction is generated.

[0097] For new materials that fail quality inspection, the reason for failure must be determined first so that subsequent processing can be carried out. If the material can meet the quality standards through rework or repair, a rework and repair instruction is generated.

[0098] If the material cannot be repaired or the cost of repair is too high, a scrapping instruction is generated. That is, the second processing strategy is rework and repair or scrapping.

[0099] If only qualified new materials exist in the quality inspection results, only the first processing strategy needs to be generated. Similarly, if only unqualified new materials exist in the quality inspection results, only the second processing strategy needs to be generated.

[0100] In this embodiment, by automatically acquiring and analyzing the first quality inspection result and the second quality inspection result, manual operations can be reduced and efficiency can be improved.

[0101] See also Figure 6 A sixth embodiment of a material management method in an embodiment of the present invention includes:

[0102] S601. Send an audit instruction and obtain the audit result.

[0103] In this embodiment, the audit result includes whether the first quality inspection result and the second quality inspection result are incorrect, and whether the first processing strategy and the second processing strategy are passed.

[0104] S602. Query a quality inspection report template library, which includes a coded material quality inspection report template, an uncoded material quality inspection report template, and a mixed quality inspection report template, and obtain the mixed quality inspection report template.

[0105] In this embodiment, the coded material quality inspection report template, the uncoded material quality inspection report template and the mixed quality inspection report template are preset in the quality inspection report template library. The coded material quality inspection report template, the uncoded material quality inspection report template and the mixed quality inspection report template can be a text file, a database template, or an object template in a program. When obtaining the mixed quality inspection report template, the mixed quality inspection report template is obtained through the system interface or file reading method.

[0106] S603: Fill the first quality inspection result, the second quality inspection result and the audit result into the default parameters of the mixed quality inspection report template to generate a quality inspection report.

[0107] In this embodiment, the data of the first quality inspection result and the second quality inspection result are filled into the corresponding fields in the mixed quality inspection report template. The corresponding fields include material code, material name, quality inspection date, quality inspection index value, qualified / unqualified status, etc.

[0108] At the same time, the audit results should also be filled in the template, including the audit status (pass / fail), audit date and audit opinion. In addition, if there are default parameters in the template (for example, default report date, report number, etc.), relevant content also needs to be filled in.

[0109] In this embodiment, the use of a templated quality inspection report can ensure the consistency and accuracy of the report while reducing duplication of work. Moreover, the first quality inspection result, the second quality inspection result and the audit result are integrated into the same report, making the report more comprehensive and clear. In addition, timely obtaining the audit results and including them in the quality inspection report helps to comprehensively evaluate the quality status of the materials and take corresponding measures.

[0110] The material management method in the embodiment of the present invention is described above. The device in the embodiment of the present invention is described below. Figure 7 , the implementation method of the material management device in the embodiment of the present invention includes:

[0111] A receiving module 701 is used to receive a new material request and generate a new material list according to the material request, wherein the new material list includes at least one new material;

[0112] A classification module 702 is used to traverse the newly added material list, match the material information of each newly added material with the preset material and SPU code association table, and classify the newly added materials into coded materials and non-coded materials according to the matching results;

[0113] The quality inspection module 703 is used to generate a first quality inspection form according to the coded material, and generate a second quality inspection form according to the non-coded material;

[0114] The review module 704 is used to respectively obtain a first quality inspection result corresponding to the first quality inspection form and a second quality inspection result corresponding to the second quality inspection form, and generate a review instruction according to the first quality inspection result and the second quality inspection result;

[0115] The report generation module 705 is used to send the audit instruction and obtain the audit result, and generate a quality inspection report based on the first quality inspection result, the second quality inspection result and the audit result.

[0116] In this embodiment, the receiving module 701 includes: a receiving unit 7011, used to receive a request for new material and parse the request for new material; a storage unit 7012, used to create a digitized structure and store the parsed new material data in the digitized structure; a conversion unit 7013, used to remove duplicate data and abnormal data in the digitized structure, and convert the data in the processed digitized structure into a new material list in a preset format.

[0117] In this embodiment, the classification module 702 includes: a traversal unit 7021, used to traverse the newly added material list and determine the material information of each newly added material, wherein the material information of the newly added material at least includes the material name, material attributes and material specifications; a construction unit 7022, used to construct an SQL statement to query a preset material and SPU code association table based on the material information of the newly added material; a classification unit 7023, used to record the SPU code corresponding to the newly added material when the match is successful, and classify the corresponding newly added material as a coded material; when the match fails, return a null value and classify the corresponding newly added material as an uncoded material.

[0118] In this embodiment, the quality inspection module 703 includes: a comparison unit 7031, which is used to compare coded materials and uncoded materials to determine whether there is any duplicate data between the two; a first quality inspection unit 7032, which is used to call the first quality inspection order template corresponding to the coded material, fill the material information of the newly added materials in the coded material into the first quality inspection order template, and generate a first quality inspection order to be inspected; a second quality inspection unit 7033, which is used to call the second quality inspection order template corresponding to the uncoded material, fill the material information of the newly added materials in the uncoded material into the second quality inspection order template, and generate a second quality inspection order to be inspected.

[0119] In this embodiment, the audit module 704 includes: an acquisition unit 7041, which is used to respectively acquire a first quality inspection result corresponding to the first quality inspection order and a second quality inspection result corresponding to the second quality inspection order; an analysis unit 7042, which is used to analyze the first quality inspection result and the second quality inspection result, divide the newly added materials that pass the quality inspection and the newly added materials that fail the quality inspection, and generate a first processing strategy for the newly added materials that pass the quality inspection and a second processing strategy for the newly added materials that fail the quality inspection; an audit unit 7043, which is used to generate an audit instruction according to the first processing strategy and the second processing strategy.

[0120] In this embodiment, the report generation module 705 includes: a sending unit 7051, used to send an audit instruction and obtain an audit result; a query unit 7052, used to query a quality inspection report template library, the quality inspection report template library includes a coded material quality inspection report template, an uncoded material quality inspection report template and a mixed quality inspection report template, and obtain the mixed quality inspection report template; a report generation unit 7053, used to fill the first quality inspection result, the second quality inspection result and the audit result into the default parameters of the mixed quality inspection report template to generate a quality inspection report.

[0121] In this embodiment, by matching the preset materials with the SPU coding association table, coded materials and uncoded materials can be quickly and accurately identified, thereby improving the efficiency of material management. Different quality inspection orders are generated for coded materials and uncoded materials to facilitate quality inspection using different quality inspection methods, which is more targeted. In addition, through SPU coding and generating quality inspection reports, the source, quality inspection process and results of each material can be clearly traced, which helps to quickly locate the cause when problems occur with the materials and take corresponding corrective measures.

[0122] above Figure 7 The material management device in the embodiment of the present invention is described in detail from the perspective of modular functional entities, and the material management device in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0123] Figure 8 800 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 810 (for example, one or more processors) and a memory 820, and one or more storage media 830 (for example, one or more mass storage devices) storing application programs 833 or data 832. Among them, the memory 820 and the storage medium 830 may be short-term storage or permanent storage. The program stored in the storage medium 830 may include one or more modules (not shown), and each module may include a series of instruction operations in the device 800. Furthermore, the processor 810 may be configured to communicate with the storage medium 830 to execute a series of instruction operations in the storage medium on the device 800.

[0124] The device 800 may also include one or more power supplies 840, one or more wired or wireless network interfaces 850, one or more input and output interfaces 860, and / or one or more operating systems 831, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc.

[0125] An embodiment of the present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the material management method.

[0126] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0127] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0128] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A material management method, characterized in that: The material management method comprises: receiving a request for a new material, and generating a new material list according to the material request, wherein the new material list includes at least one new material; Traversing the newly added material list, matching the material information of each newly added material with the preset material and SPU code association table, and dividing the newly added materials into coded materials and uncoded materials according to the matching results; Generate a first quality inspection form based on the coded material, and generate a second quality inspection form based on the uncoded material; Respectively obtain a first quality inspection result corresponding to the first quality inspection form and a second quality inspection result corresponding to the second quality inspection form, and generate a review instruction according to the first quality inspection result and the second quality inspection result; The audit instruction is sent and the audit result is obtained, and a quality inspection report is generated according to the first quality inspection result, the second quality inspection result and the audit result.

2. The material management method according to claim 1, characterized in that: The receiving of the new material request and generating a new material list according to the material request, wherein the new material list includes at least one new material, including: Receive a request for a new material and parse the request for the new material; Create a data structure, and store the parsed newly added material data in the data structure; Duplicate data and abnormal data in the digitized structure are removed, and the data in the processed digitized structure is converted into a new material list in a preset format.

3. The material management method according to claim 1, characterized in that: The traversing the newly added material list, matching the material information of each newly added material with the preset material and SPU code association table, and dividing the newly added materials into coded materials and uncoded materials according to the matching results, includes: Traversing the newly added material list to determine the material information of each newly added material, wherein the material information of the newly added material at least includes the material name, material attributes and material specifications; According to the material information of the newly added material, construct an SQL statement to query the preset material and SPU code association table; If the match is successful, the SPU code corresponding to the newly added material is recorded, and the corresponding newly added material is classified as a coded material. If the match fails, a null value is returned, and the corresponding newly added material is classified as an uncoded material.

4. The material management method according to claim 3, characterized in that: According to the material information of the newly added material, a SQL statement is constructed to query the preset material and SPU code association table, which also includes: Acquire historical material information, and classify the historical material information according to different names, different specifications and different attributes to obtain multiple categories of materials, and generate a material information table; Perform SPU coding on each category of materials according to the preset SPU coding rules and generate an SPU coding information table; The material information table is associated with the SPU code information table to generate a material and SPU code association table.

5. The material management method according to claim 1, characterized in that: The step of generating a first quality inspection form according to the coded material and generating a second quality inspection form according to the non-coded material includes: Compare coded materials and non-coded materials to ensure that there is no duplicate data between the two; Calling the first quality inspection form template corresponding to the coded material, filling the material information of the newly added material in the coded material into the first quality inspection form template, and generating a first to-be-inspected quality inspection form; The second quality inspection form template corresponding to the uncoded material is called, and the material information of the newly added material in the uncoded material is filled into the second quality inspection form template to generate a second quality inspection form.

6. The material management method according to claim 1, characterized in that: The obtaining of the first quality inspection result corresponding to the first quality inspection form and the second quality inspection result corresponding to the second quality inspection form, and generating a review instruction according to the first quality inspection result and the second quality inspection result, includes: Respectively obtain a first quality inspection result corresponding to the first to-be-quality-inspected form and a second quality inspection result corresponding to the second to-be-quality-inspected form; Analyze the first quality inspection result and the second quality inspection result, divide the newly added materials into qualified quality inspection materials and unqualified quality inspection materials, and generate a first processing strategy for the newly added materials that pass the quality inspection and a second processing strategy for the newly added materials that fail the quality inspection; An audit instruction is generated according to the first processing strategy and the second processing strategy.

7. The material management method according to claim 1, characterized in that: The sending of the audit instruction and obtaining the audit result, and generating a quality inspection report according to the first quality inspection result, the second quality inspection result and the audit result, includes: Send audit instructions and obtain audit results; Query the quality inspection report template library, which includes a coded material quality inspection report template, an uncoded material quality inspection report template, and a mixed quality inspection report template, and obtain the mixed quality inspection report template; The first quality inspection result, the second quality inspection result and the audit result are filled into the default parameters of the mixed quality inspection report template to generate a quality inspection report.

8. A material management device, characterized in that: include: A receiving module, used for receiving a new material request, and generating a new material list according to the material request, wherein the new material list includes at least one new material; A classification module, used to traverse the newly added material list, match the material information of each newly added material with the preset material and SPU code association table, and classify the newly added materials into coded materials and uncoded materials according to the matching results; A quality inspection module, used for generating a first quality inspection form according to the coded material, and generating a second quality inspection form according to the uncoded material; An audit module, used to respectively obtain a first quality inspection result corresponding to the first quality inspection form and a second quality inspection result corresponding to the second quality inspection form, and generate an audit instruction according to the first quality inspection result and the second quality inspection result; A report generation module is used to send the audit instruction and obtain the audit result, and generate a quality inspection report according to the first quality inspection result, the second quality inspection result and the audit result.

9. A material management device, characterized in that: comprising a memory and at least one processor, wherein the memory has computer-readable instructions stored therein; The at least one processor calls the computer-readable instructions in the memory to execute each step of the material management method according to any one of claims 1-7.

10. A computer-readable storage medium having computer-readable instructions stored thereon, characterized in that: When the computer-readable instructions are executed by a processor, the various steps of the material management method according to any one of claims 1 to 7 are implemented.