A method for generating MES outline design documents based on large models
Through the MES outline design document generation method based on large model, the inefficiency problems caused by changes in requirements and irregular documents in the implementation of MES system are solved, and the accurate conversion of functional requirements and the improvement of system implementation efficiency are achieved.
Patent Information
- Application Number
- CN202411564084.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-11-05
AI Technical Summary
During the implementation of the MES system, due to frequent changes in user demand analysis, irregular technical documents, and the complexity of MES system integration, the system implementation cycle is long and inefficient.
A method of generating MES profile design document based on large-models was designed. By constructing a MES domain knowledge graph and a profile design document structure graph, combining large-model technology to generate standardized profile design documents.
This method can accurately, completely and standardize the functional requirements of business experts into outline design documents, improve developers' understanding of business scenarios and functional requirements, and significantly improve the efficiency of MES system implementation.
Smart Images

Figure CN119067077B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence, and in particular to a method for generating an MES outline design document based on a large model. Background Art
[0002] During the implementation of MES (Manufacturing Execution System), many factors led to a long system implementation cycle and low efficiency, including frequent changes in user demand analysis, improper project management due to non-standard technical documentation, and the complexity of MES system integration itself.
[0003] In the existing process, experienced experts are generally required to organize customer needs, and then propose functional requirements based on the organized needs and business scenarios. Developers then design related business processes and functional prototypes based on the functional requirements. This is often limited by the expression ability of business designers or the business understanding ability of developers, resulting in incomplete and non-standard requirement documents or outline design documents, making it impossible for developers to fully transform functional requirements into prototype designs, greatly affecting the efficiency and quality of MES design and development.
[0004] In addition, during the implementation of MES, functional requirements need to be frequently adjusted and modified based on customer feedback. It also needs to be integrated with other systems such as ERP (Enterprise Resource Planning), PLM (Product Lifecycle Management), WMS (Warehouse Management System), etc. Therefore, the compatibility and data exchange between systems must be considered, which places very high demands on the accuracy of the outline design documents. Summary of the invention
[0005] The purpose of the present invention is to solve the above problems and to design a method for generating MES outline design documents based on a large model.
[0006] To achieve the above object, the technical solution of the present invention is a method for generating an MES outline design document based on a large model, comprising the following steps:
[0007] Step a: MES domain knowledge production;
[0008] Step b: Generate outline design document;
[0009] In step a:
[0010] The production of MES domain knowledge includes the following steps:
[0011] Step S1: Construct the knowledge graph of national standards for MES systems in the field;
[0012] Step S2: Construct a knowledge graph of the outline design document structure;
[0013] Step S3: MES-related documents in the field are added to the vector database;
[0014] Wherein, step S1 includes establishing MES system function nodes; adding attributes to MES system function nodes; establishing relationships between MES system function nodes; adding attributes to relationships between MES system function nodes;
[0015] Step S2 includes establishing a summary design document structure node; adding attributes to the document structure node to guide the generated content form, such as text, pictures and interfaces; establishing relationships between document structure nodes to guide the generated chapter order;
[0016] Step S3 includes processing related documents, such as privacy elimination and document segmentation; encoding documents and storing them in corresponding tables in the vector database; extracting information using the large model and establishing summary indexes; establishing index information of documents on the graph and establishing relationships with functional nodes of the graph;
[0017] In step b:
[0018] The generation of the outline design document includes the following steps:
[0019] Step 1: Analyze the business domain, business scenario, required functions and other information of the user demand analysis document;
[0020] Step 2: Match user requirements with functional nodes and determine the main functional content of the generated document;
[0021] Step 3: Read the design document style from the graph, combine it with the functional content required by the user, and generate an outline of the general design document;
[0022] Step 4: Retrieve relevant information from the knowledge base and use the big model capabilities to generate the content of each part of the outline;
[0023] Step 5: Repeat step 4 until all generation tasks are completed;
[0024] Among them, step two specifically includes using algorithms to semantically match the user's functional requirements with the functional nodes in the graph; and formulating different generation strategies based on different matching results.
[0025] In step a:
[0026] MES domain knowledge refers specifically to the MES knowledge of a specific industry, such as the national standards and related reference materials of MES in the machining industry.
[0027] In step b:
[0028] The outline design document specifically refers to the functional design prototype formed based on business scenarios and functional requirements, which serves as a reference for developers to design functional modules and system operation interfaces.
[0029] A method for generating an MES outline design document based on a big model is produced using the technical solution of the present invention. With the help of big model technology, this method uses a knowledge graph to guide the big model to generate an outline design document for the MES system under the premise of ensuring safe and controllable generation. The functional requirements of business experts are accurately, completely and normatively converted into outline design documents, ensuring that developers fully understand business scenarios and functional requirements.
[0030] This method is divided into two stages: domain knowledge production and outline design book generation. Domain knowledge production includes industry MES national standards, outline design document structure, and MES-related documents in the field. The algorithm is used to store data vectors and establish a knowledge graph. In the outline design book production stage, the functional information and structural information in the knowledge graph are combined with the support of the knowledge base to ensure standardized structure and controllable content, which will significantly improve the efficiency of MES system implementation.
[0031] This method is driven by the fusion of data and knowledge, and can be generated with the support of small-scale data. Therefore, it has wide adaptability and strong scalability. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a MES domain knowledge production flow chart of a method for generating MES outline design documents based on a large model described in the present invention;
[0033] Figure 2 The present invention is a MES outline design document generation flow chart of a method for generating an MES outline design document based on a large model.
[0034] Figure 3 The invention discloses a method for generating an MES outline design document based on a large model, and applies it to a MES outline design document generation diagram in the mechanical processing industry. DETAILED DESCRIPTION
[0035] The present invention will be described in detail below in conjunction with the accompanying drawings. Figure 1-3 As shown, a method for generating an MES outline design document based on a large model includes the following steps:
[0036] Step a: MES domain knowledge production;
[0037] Step b: Generate outline design document.
[0038] In step a:
[0039] MES domain knowledge refers specifically to the MES knowledge of a specific industry, such as the national standards and related reference materials of MES in the machining industry.
[0040] In step a:
[0041] The production of MES domain knowledge includes the following steps:
[0042] Step S1: Construct the knowledge graph of national standards for MES systems in the field;
[0043] Step S2: Construct a knowledge graph of the outline design document structure;
[0044] Step S3: MES-related documents in the field are added to the vector database.
[0045] Wherein, step S1 includes establishing MES system function nodes; adding attributes to MES system function nodes; establishing relationships between MES system function nodes; adding attributes to relationships between MES system function nodes;
[0046] Step S2 includes establishing a summary design document structure node; adding attributes to the document structure node to guide the generated content form, such as text, pictures and interfaces; establishing relationships between document structure nodes to guide the generated chapter order;
[0047] Step S3 includes processing related documents, such as privacy elimination and document segmentation; encoding documents and storing them in corresponding tables in the vector database; extracting information using a large model and establishing a summary index; establishing index information of documents on the graph and establishing relationships with functional nodes of the graph.
[0048] In step b:
[0049] The outline design document specifically refers to the functional design prototype formed based on business scenarios and functional requirements, which serves as a reference for developers to design functional modules and system operation interfaces.
[0050] In step b:
[0051] The generation of the outline design document includes the following steps:
[0052] Step 1: Analyze the business domain, business scenario, required functions and other information of the user demand analysis document;
[0053] Step 2: Match user requirements with functional nodes and determine the main functional content of the generated document;
[0054] Step 3: Read the design document style from the graph, combine it with the functional content required by the user, and generate an outline of the general design document;
[0055] Step 4: Retrieve relevant information from the knowledge base and use the big model capabilities to generate the content of each part of the outline;
[0056] Step 5: Repeat step 4 until all generation tasks are completed.
[0057] Among them, step two specifically includes using algorithms to semantically match the user's functional requirements with the functional nodes in the graph; and formulating different generation strategies based on different matching results.
[0058] The characteristics of this embodiment are as follows: Figure 3 As shown in the figure, this method is applied to the specific process of generating MES outline design documents in the machining industry:
[0059] Step a: MES knowledge production in the machining industry;
[0060] Step b: Generate MES outline design document for the mechanical processing industry.
[0061] Further, step a of MES production in the machining industry includes the following steps:
[0062] Step S1: Construct the national standard knowledge graph of MES system for mechanical processing industry, namely "Manufacturing Execution System (MES) Specification Part 9: Software Functions of Manufacturing Execution System for Mechanical Processing Industry";
[0063] Step S2: Construct the knowledge graph of MES outline design document structure in the machining industry;
[0064] Step S3: Add MES-related documents of the machining industry to the vector database.
[0065] Wherein, step S1 includes establishing MES system function nodes; adding attributes to MES system function nodes; establishing relationships between MES system function nodes; adding attributes to relationships between MES system function nodes;
[0066] Step S2 includes establishing a summary design document structure node; adding attributes to the document structure node to guide the generated content form, such as text, pictures and interfaces; establishing relationships between document structure nodes to guide the generated chapter order;
[0067] Step S3 includes processing related documents, such as privacy elimination and document segmentation; encoding documents and storing them in corresponding tables in the vector database; extracting information using a large model and establishing a summary index; establishing index information of documents on the graph and establishing relationships with functional nodes of the graph.
[0068] Step b: The generation of MES outline design documents for the machining industry includes the following steps:
[0069] Step 1: Analyze the business domain, business scenario, required functions and other information of the user demand analysis document;
[0070] Step 2: Match user requirements with functional nodes and determine the main functional content of the generated document;
[0071] Step 3: Read the design document style from the graph, combine it with the functional content required by the user, and generate an outline of the general design document;
[0072] Step 4: Retrieve relevant information from the knowledge base and use the big model capabilities to generate the content of each part of the outline;
[0073] Step 5: Repeat step 4 until all generation tasks are completed.
[0074] Among them, the specific input of step one corresponds to Figure 3 Scenario analysis table in ;
[0075] S2 specifically includes using semantic similarity to match the user's functional requirements with the functional nodes in the graph, and formulating different generation strategies based on different matching results: the functional nodes that exist in the graph are generated, and the nodes that do not exist in the graph are handed over to business experts for processing.
[0076] The above technical solutions only reflect the preferred technical solutions of the technical solutions of the present invention. Some changes that may be made to certain parts thereof by technicians in this technical field all reflect the principles of the present invention and fall within the protection scope of the present invention.
Claims
1. A method for generating a MES outline design document based on a large model, comprising the following steps: Step a: MES domain knowledge production; Step b: Generate outline design document; In step a: The production of MES domain knowledge includes the following steps: Step S1: Construct the knowledge graph of national standards for MES systems in the field; Step S2: Construct a knowledge graph of the outline design document structure; Step S3: MES-related documents in the field are added to the vector database; Wherein, step S1 includes establishing MES system function nodes; adding attributes to MES system function nodes; establishing relationships between MES system function nodes; adding attributes to relationships between MES system function nodes; Step S2 includes establishing a summary design document structure node; adding attributes to the document structure node to guide the generated content format, text, pictures and interface; establishing relationships between document structure nodes to guide the generated chapter order; Step S3 includes processing related documents, eliminating privacy, and document segmentation; encoding documents and storing them in corresponding tables in the vector database; extracting information using the large model and establishing summary indexes; establishing index information of documents on the graph and establishing relationships with functional nodes of the graph; In step b: The generation of the outline design document includes the following steps: Step 1: Analyze the business domain, business scenario, and required functional information of the user demand analysis document; Step 2: Match user requirements with functional nodes and determine the functional content of the generated document; Step 3: Read the design document style from the graph, combine it with the functional content required by the user, and generate an outline of the general design document; Step 4: Retrieve relevant information from the knowledge base and use the big model capabilities to generate the content of each part of the outline; Step 5: Repeat step 4 until all generation tasks are completed; Among them, step two specifically includes using algorithms to semantically match the user's functional requirements with the functional nodes in the graph; and formulating different generation strategies based on different matching results.
2. The method according to claim 1, characterized in that In step a: MES domain knowledge refers specifically to the MES knowledge of a specific industry, the national standards of MES in the machining industry, and related reference materials.
3. The method according to claim 1, characterized in that In step b: The outline design document specifically refers to the functional design prototype formed based on business scenarios and functional requirements, which serves as a reference for developers to design functional modules and system operation interfaces.
Citation Information
Patent Citations
Bridge crane metal structure parameterization design method based on C / S / W system architecture
CN102096745A
Business logic coding framework generation method and system based on large language model
CN117724683A