Selenium-based heat treatment technological procedure generation method

Through the Selenium-based heat treatment process procedure generation method, a heat treatment process step and step content description generation model is constructed, and the Selenium tool is used to achieve automatic generation, which solves the problems of low efficiency and insufficient standardization and consistency of heat treatment process procedures in the existing technology, and achieves efficient and standardized process procedures generation.

CN119692928APending Publication Date: 2025-03-25CAPITAL AEROSPACE MACHINERY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411642018.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-18
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The prior art has problems such as many repetitive work, low compilation efficiency, and insufficient standardization and consistency when preparing heat treatment process regulations, especially when preparing different personnel.

Method used

Using the Selenium-based heat treatment process regulation generation method, the heat treatment process step generation model is constructed, and the heat treatment process step content description generation model is constructed, and a heat treatment process regulation generation tool integrated with Selenium is built to reduce manual operations and achieve automated generation.

Benefits of technology

It effectively reduces manual work, improves the preparation efficiency, ensures the standardization and consistency of the heat treatment process regulations, and overcomes the problem of insufficient standardization and consistency in different personnel establishments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119692928A_ABST
    Figure CN119692928A_ABST
Patent Text Reader

Abstract

The invention discloses a Selenium-based heat treatment process procedure generation method, which comprises the following steps of: obtaining a heat treatment process procedure content basic database and a heat treatment process state basic database according to a preset heat treatment process procedure; constructing a heat treatment process step generation model, a heat treatment process step generation interface, a heat treatment process step content description generation model and a heat treatment procedure content description generation interface according to the heat treatment process procedure content basic database and the heat treatment process state basic database; and constructing a heat treatment process procedure generation tool, and generating a new heat treatment procedure according to the heat treatment process procedure generation tool, the heat treatment procedure step generation model, the heat treatment procedure step generation interface, the heat treatment procedure step content description generation model, the heat treatment procedure step content description generation interface and the new heat treatment process state table. According to the method, the problems of insufficient normalization and consistency during compiling by different persons are solved, and the compiling efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of digital manufacturing, and in particular relates to a method for generating a heat treatment process specification based on Selenium. Background Art

[0002] Heat treatment is generally an intermediate link in the mechanical processing of products, and usually requires heat treatment process design, process specification preparation and other work to be carried out for the corresponding products.

[0003] In the preparation of heat treatment process specifications, process design tools such as CAPP are generally used to form complete structured or unstructured heat treatment process specification documents by filling in tables and entering text.

[0004] When compiling heat treatment process specifications, most of the time, mouse operation and keyboard input are the main methods. Although there are certain simplified operation functions such as search, copy, and paste, there are still many repetitive tasks, which have a great impact on the compilation efficiency. In addition, the same or similar heat treatment processes are prone to problems such as lack of standardization and consistency when compiled by different personnel. Summary of the invention

[0005] The technical problem solved by the present invention is: to overcome the deficiencies of the prior art, to provide a method for generating a heat treatment process specification based on Selenium, to reduce manual work, to overcome the problem of lack of standardization and consistency when the specification is compiled by different personnel, and to improve the compilation efficiency.

[0006] The object of the present invention is achieved through the following technical scheme: a method for generating a heat treatment process specification based on Selenium, comprising: obtaining a heat treatment process specification content basic database and a heat treatment process status basic database according to a preset heat treatment process specification; constructing a heat treatment process step generation model and a heat treatment process step generation interface, a heat treatment step content description generation model and a heat treatment procedure content description generation interface according to the heat treatment process specification content basic database and the heat treatment process status basic database; constructing a heat treatment process specification generation tool, and generating a new heat treatment specification according to the heat treatment process specification generation tool, the heat treatment process step generation model and the heat treatment process step generation interface, the heat treatment step content description generation model and the heat treatment procedure content description generation interface and a new heat treatment process status table.

[0007] In the above-mentioned Selenium-based heat treatment process procedure generation method, according to the preset heat treatment process procedure, a heat treatment process procedure content basic database and a heat treatment process status basic database are obtained, including: designing a heat treatment process procedure content data table; according to the preset heat treatment process procedure, filling the heat treatment process procedure content data table with data to obtain a heat treatment process procedure content basic database; designing a heat treatment process status data table; according to the preset heat treatment process procedure, filling the heat treatment process status data table with data to obtain a heat treatment process status basic database.

[0008] In the above-mentioned Selenium-based heat treatment process specification generation method, a heat treatment process step generation model and a heat treatment process step generation interface, a heat treatment step content description generation model and a heat treatment process content description generation interface are constructed according to the heat treatment process specification content basic database and the heat treatment process status basic database, including: constructing a process step text data set and a step content description text data set according to the heat treatment process specification content basic database; constructing a process status text data set according to the heat treatment process status basic database; taking the process status text data set as input and the process step text data set as output, constructing a process status-process step text data set set; take the process status text dataset as input, and the work step content description text dataset as output, to construct a process status-work step content description text dataset; apply the text model machine learning framework, take the process status-procedure process step text dataset and the process status-work step content description text dataset as samples for training, and generate a heat treatment process step generation model and a heat treatment process step content description generation model respectively; build a heat treatment process step generation interface, and connect the heat treatment process step generation interface with the heat treatment process step generation model; build a heat treatment procedure content description generation interface, and connect the heat treatment procedure content description generation interface with the heat treatment step content description generation model.

[0009] In the above-mentioned Selenium-based heat treatment process procedure generation method, a heat treatment process procedure generation tool is constructed, and a new heat treatment procedure is generated according to the heat treatment process procedure generation tool, a heat treatment process step generation model and a heat treatment process step generation interface, a heat treatment step content description generation model and a heat treatment process content description generation interface and a new heat treatment process status table. The method includes: constructing a heat treatment process procedure generation tool, reading a new heat treatment process status table through the heat treatment process procedure generation tool, parsing the new heat treatment process status table to obtain a new procedure basic information data set; using the process status text data in the new procedure basic information data set as the input of the process step generation interface, and loading the heat treatment process. The work step generation model is used to generate a new heat treatment procedure process step sequence; the heat treatment process specification generation tool is used to parse the new heat treatment procedure process step sequence to obtain each step name, and then the heat treatment procedure content description generation interface is called for each step name to load the heat treatment process step content description generation model to generate a new procedure process step content description text data set; the heat treatment process specification generation tool is used to associate the new heat treatment procedure process step sequence with the new procedure process step content description text data set to generate a new heat treatment process specification data set; the heat treatment process specification generation tool is used to simulate the mouse operation and text input functions of the preset heat treatment process design system based on the new heat treatment process specification data set to generate a new heat treatment procedure.

[0010] In the above-mentioned Selenium-based heat treatment process procedure generation method, designing the heat treatment process procedure content data table includes: designing the heat treatment process procedure content data table in the form of heat treatment process procedure, serial number, process name, step name, and step content description fields; filling the heat treatment process procedure content data table with data according to the preset heat treatment process procedure to obtain the heat treatment process procedure content basic database includes: according to the preset heat treatment process procedure, using the unique identifier of the heat treatment process procedure as the "procedure", extracting the process name, step name, and step content description of the heat treatment process procedure, filling the heat treatment process procedure content data table, and forming the heat treatment process procedure content basic database.

[0011] In the above-mentioned Selenium-based heat treatment process procedure generation method, designing a heat treatment process status data table includes: designing a heat treatment process status data table in the form of procedures and process status content fields; filling the heat treatment process status data table with data according to a preset heat treatment process procedure to obtain a heat treatment process status basic database includes: extracting the process status content according to the preset heat treatment process procedure, filling the heat treatment process status data table, and forming a heat treatment process status basic database.

[0012] In the above-mentioned Selenium-based heat treatment process procedure generation method, constructing a procedure process step text data set and a step content description text data set according to the heat treatment process procedure content basic database includes: according to the heat treatment process procedure content basic database, in order of serial numbers, the process name and step name of each procedure are connected into a text string in a space-separated manner to construct a procedure process step text data set; the step content description of each procedure is divided according to the granularity of the text sentence, and then connected into a text string in a space-separated manner to construct a step content description text data set.

[0013] In the above-mentioned Selenium-based heat treatment process procedure generation method, constructing a process status text data set according to the heat treatment process status basic database includes: according to the heat treatment process status basic database, the process status content is segmented, and then connected into text strings in a space-separated manner to construct a process status text data set.

[0014] In the above-mentioned Selenium-based heat treatment process specification generation method, the heat treatment process step generation interface can receive heat treatment process status text data as input.

[0015] In the above-mentioned Selenium-based heat treatment process specification generation method, the heat treatment process specification content description generation interface can receive the process step name and process status text data as input.

[0016] Compared with the prior art, the present invention has the following beneficial effects:

[0017] (1) The present invention extracts and generates a heat treatment process specification content basic database and a heat treatment process status basic database based on the existing heat treatment process specification, thereby reducing manual work, overcoming the problem of insufficient standardization and consistency when compiled by different personnel, and improving compilation efficiency;

[0018] (2) The present invention uses machine learning to establish a heat treatment process step generation model and a heat treatment step content description generation model to achieve the ability to generate heat treatment process specifications.

[0019] (3) The present invention constructs a heat treatment procedure generation tool that integrates Selenium, fully utilizes the existing process design system, and generates new heat treatment process procedures in an automated mouse and keyboard operation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0021] Figure 1 It is a flow chart of a method for generating a heat treatment process specification based on Selenium provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0022] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to be able to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features described in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0023] Since a considerable proportion of heat treatment process specifications are mainly adjusted in part during the compilation process, with the accumulation of heat treatment process specification data, the basis for heat treatment process specification data reuse is available. The data input for heat treatment process specification compilation is generally the heat treatment process status table proposed by the processing collaboration, which will provide specific heat treatment requirements. The content is relatively complete and clear, and it is the data basis for realizing the automatic generation of heat treatment specifications.

[0024] With the widespread application of technologies such as automated operations for software systems and data-oriented machine learning, there is an effective way to automatically generate heat treatment process specifications through corresponding methods and tools, thereby effectively replacing the work of compiling heat treatment process specifications in a generated manner.

[0025] Figure 1 1 is a flow chart of a method for generating a heat treatment process schedule based on Selenium provided in an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0026] According to the preset heat treatment process specification, a heat treatment process specification content basic database (a.2) and a heat treatment process status basic database (a.4) are obtained;

[0027] According to the heat treatment process specification content basic database (a.2) and the heat treatment process status basic database (a.4), a heat treatment process step generation model (b.6) and a heat treatment process step generation interface (b.8), a heat treatment step content description generation model (b.7) and a heat treatment specification content description generation interface (b.9) are constructed;

[0028] Construct a heat treatment process specification generation tool, and generate a new heat treatment specification (c.6) based on the heat treatment process specification generation tool, the heat treatment process step generation model (b.6) and the heat treatment process step generation interface (b.8), the heat treatment step content description generation model (b.7) and the heat treatment specification content description generation interface (b.9) and the new heat treatment process status table (c.1).

[0029] According to the preset heat treatment process regulations, a heat treatment process regulation content basic database (a.2) and a heat treatment process status basic database (a.4) are obtained, including: designing a heat treatment process regulation content data table (a.1); according to the preset heat treatment process regulations, filling the heat treatment process regulation content data table with data to obtain a heat treatment process regulation content basic database (a.2); designing a heat treatment process status data table (a.3); according to the preset heat treatment process regulations, filling the heat treatment process status data table with data to obtain a heat treatment process status basic database (a.4).

[0030] According to the heat treatment process specification content basic database (a.2) and the heat treatment process state basic database (a.4), a heat treatment process step generation model (b.6) and a heat treatment process step generation interface (b.8), a heat treatment step content description generation model (b.7) and a heat treatment specification content description generation interface (b.9) are constructed, including:

[0031] According to the heat treatment process specification content basic database (a.2), the specification process step text dataset (b.1) and the step content description text dataset (b.2) are constructed;

[0032] Construct a process status text dataset based on the heat treatment process status basic database (b.3);

[0033] Take the process status text dataset (b.3) as input and the procedure process step text dataset (b.1) as output to construct the process status-procedure process step text dataset (b.4); take the process status text dataset (b.3) as input and the step content description text dataset (b.2) as output to construct the process status-step content description text dataset (b.5);

[0034] Apply the text model machine learning framework, use the process status-procedure step text dataset (b.4) and the process status-step content description text dataset (b.5) as samples for training, and generate the heat treatment process step generation model (b.6) and the heat treatment step content description generation model (b.7) respectively;

[0035] Build a heat treatment process step generation interface (b.8), and connect the heat treatment process step generation interface (b.8) and the heat treatment process step generation model (b.6);

[0036] Build the heat treatment procedure content description generation interface (b.9), and connect the heat treatment procedure content description generation interface (b.9) and the heat treatment step content description generation model (b.7).

[0037] Construct a heat treatment process specification generation tool, and generate a new heat treatment specification (c.6) based on the heat treatment process specification generation tool, the heat treatment process step generation model (b.6) and the heat treatment process step generation interface (b.8), the heat treatment step content description generation model (b.7) and the heat treatment specification content description generation interface (b.9) and the new heat treatment process state table (c.1), including:

[0038] Construct a heat treatment process specification generation tool, read the new heat treatment process status table (c.1) through the heat treatment process specification generation tool, and parse the new heat treatment process status table (c.1) to obtain the new procedure basic information data set (c.2);

[0039] The process status text data in the new procedure basic information data set (c.2) is used as the input of the process step generation interface (b.8), the heat treatment process step generation model (b.6) is loaded, and the new heat treatment procedure process step sequence (c.3) is generated;

[0040] Through the heat treatment process specification generation tool, the new heat treatment specification process step sequence is parsed (c.3), each step name is obtained, and then the heat treatment specification content description generation interface is called for each step name (b.9), the heat treatment step content description generation model is loaded (b.7), and the new specification step content description text dataset is generated (c.4);

[0041] By using the heat treatment process specification generation tool, the new heat treatment process specification process step sequence (c.3) and the new process step content description text dataset (c.4) are associated to generate a new heat treatment process specification dataset (c.5);

[0042] The heat treatment process specification generation tool is used to simulate the mouse operation and text input functions of the preset heat treatment process design system on the basis of the new heat treatment process specification data set (c.5) to generate a new heat treatment specification (c.6).

[0043] The design of the heat treatment process specification content data table (a.1) includes: designing the heat treatment process specification content data table in the form of 5 fields: heat treatment process specification ID, serial number, process name, step name, and step content description.

[0044] According to the preset heat treatment process specification, the heat treatment process specification content data table is filled with data to obtain the heat treatment process specification content basic database (a.2), including: according to the preset heat treatment process specification, the unique identifier of the heat treatment process specification is used as the "procedure ID", the process name, step name, and step content description of the heat treatment process specification are extracted, and the heat treatment process specification content data table (a.1) is filled to form the heat treatment process specification content basic database (a.2).

[0045] Designing the heat treatment process status data table (a.3) includes: designing the heat treatment process status data table in the form of two fields: procedure ID and process status content.

[0046] According to the preset heat treatment process regulations, the heat treatment process status data table is filled with data to obtain the heat treatment process status basic database (a.4), including: according to the preset heat treatment process regulations, the process status content is extracted, the heat treatment process status data table (a.3) is filled, and the heat treatment process status basic database (a.4) is formed.

[0047] According to the basic database of heat treatment process specification content (a.2), a procedure process step text dataset (b.1) and a step content description text dataset (b.2) are constructed, including: according to the basic database of heat treatment process specification content, the process name and step name of each procedure are connected into a text string in a space-separated manner in the order of serial numbers to construct a procedure process step text dataset; the step content description of each procedure is divided according to the granularity of the text sentence, and then connected into a text string in a space-separated manner to construct a step content description text dataset.

[0048] Constructing a process status text data set (b.3) according to the heat treatment process status basic database includes: according to the heat treatment process status basic database, segmenting the process status content, and then connecting them into text strings in a space-delimited manner to construct a process status text data set (b.3).

[0049] The heat treatment process step generation interface (b.8) can receive the heat treatment process status text data as input; the heat treatment procedure content description generation interface (b.9) can receive the step name and process status text data as input.

[0050] Integrated Selenium software tool: Selenium can be used for automated operations of Web applications and supports a variety of commonly used browser software. The automation tool modules compiled on its basis can effectively simulate manual keyboard and mouse operation processes.

[0051] By integrating Selenium to build procedure generation tools, the heat treatment procedure compilation operation process can be automated without increasing or changing the compilation functions of the existing heat treatment process design system, thereby realizing the automatic generation of heat treatment process procedures.

[0052] Establish a basic database of heat treatment process regulations: The data in the basic database of heat treatment process regulations comes from existing heat treatment process regulations. Through the automatic extraction and analysis of existing process regulation data, the corresponding heat treatment process regulation content basic database and heat treatment process status basic database are established respectively, forming the data foundation for the training of the heat treatment process regulation generation model.

[0053] Construct a machine learning model and application interface for heat treatment procedure generation: Based on the heat treatment process specification content basic database and the heat treatment process status basic database, construct and form a text data set sample in a text model manner, and then establish a heat treatment process specification generation model based on the data set sample and the text model training framework. Based on the heat treatment process specification generation model, establish a loading model and data generation interface, which can use the heat treatment process status table text data as input and generate new heat treatment process specification content text through the interface.

[0054] Build a heat treatment process specification generation tool: This generation tool can read the new heat treatment process status table, and then generate a new heat treatment process specification process step sequence by calling the heat treatment process specification generation interface. Apply the heat treatment process specification generation tool to parse the generated process step text sequence, obtain the step name of the sequence node, and then call the heat treatment process specification generation interface based on the step name to generate the step description content text of the new heat treatment process specification.

[0055] Locate and create new procedure nodes: Use the heat treatment process procedure generation tool to parse the basic information such as the process status table drawing number, automatically locate the new procedure location node by the drawing number, and generate a new process procedure node by automatically filling in the drawing number and name by automatically opening the procedure attribute form.

[0056] Generate basic information of the procedure: Use the heat treatment process procedure generation tool to automatically open the procedure basic information editing page, extract product information such as component drawing number and name from the heat treatment process status table, and combine the current user's department, personnel and other data to automatically fill in and generate basic information of the heat treatment process procedure.

[0057] Generate procedure content: After the basic information is generated, the heat treatment process procedure generation tool is used to automatically generate the heat treatment process procedure consisting of procedures, steps, step descriptions, etc. based on the heat treatment process procedure process step sequence and step description content text generated by the calling interface in an automated manner using mouse and keyboard operations.

[0058] This embodiment is based on the existing heat treatment process specification data, and realizes the automatic generation of heat treatment process specifications by following the steps and methods of establishing a heat treatment process specification content database, generating a heat treatment process specification machine learning model, generating a heat treatment process specification interface, and generating a heat treatment process specification tool.

[0059] The specific implementation steps are:

[0060] (1) Design the heat treatment process specification content data table (a.1) according to the five fields of heat treatment process specification ID, serial number, process name, step name, and step content description.

[0061] Serial number Field Name Field Type 1 Procedure ID text 2 Serial number text 3 Process name text 4 Step Name text 5 Description of process steps text

[0062] (2) Traverse the existing heat treatment process specifications, use the unique identifier of the heat treatment process specifications as the "specification ID", extract the process name, step name, and step content description of the heat treatment process specifications, and fill in the heat treatment process specification content data table (a.1), where the "serial number" field is generated in an integer self-incrementing manner to form a heat treatment process specification content basic database (a.2).

[0063] (3) Design the heat treatment process status data table (a.3) according to the two fields of procedure ID and process status content.

[0064] Serial number Field Name Field Type 1 Procedure ID text 2 Process status content text

[0065] (4) By traversing the existing heat treatment process regulations, the heat treatment process status contents are extracted, and the heat treatment process status data table (a.3) is filled to form a heat treatment process status basic database (a.4).

[0066] (5) Traverse the heat treatment process specification content basic database (a.2) according to the same specification ID, and connect the process name and step name of each specification into a text string in the order of serial numbers, separated by spaces, to form a specification process and step text dataset (b.1); split the step content description of each specification according to the granularity of the text sentence, and then connect them into a text string separated by spaces, to form a step content description text dataset (b.2).

[0067] (6) Traverse the basic database of heat treatment process status (a.4), segment the process status content, and then connect them into text strings in a space-separated manner to construct a process status text dataset (b.3).

[0068] (7) According to the method of constructing the data set of the text question answering model, based on the correspondence between the procedure IDs in the heat treatment process procedure content database (a.2) and the heat treatment process status database (a.4), the process status text data set (b.3) is used as input, and the procedure process step text data set (b.1) and the step content description text data set (b.2) are used as output to construct the process status-procedure process step text data set (b.4) and the process status-step content description text data set (b.5).

[0069] (8) Applying the text model machine learning framework, the process status-procedure step text dataset (b.4) and the process status-step content description text dataset (b.5) are used as samples for training to generate the heat treatment process step generation model (b.6) and the heat treatment step content description generation model (b.7).

[0070] (9) Build a heat treatment process step generation interface (b.8), which has the function of receiving heat treatment process status text data as input, loading the heat treatment process step generation model (b.6), and generating a heat treatment procedure process step sequence.

[0071] (10) Build a heat treatment procedure content description generation interface (b.9), which has the function of taking the process step name and process status text data as input, loading the heat treatment process step content description generation model (b.7), and generating the heat treatment process step content description text.

[0072] (11) By looping each step name in the process step sequence of step (9) and executing step (10), all the step contents of the heat treatment process specification can be generated.

[0073] (12) Build a Selenium-based heat treatment process procedure generation tool that has the function of opening a new heat treatment process status table (c.1) and automatically generating a new heat treatment procedure.

[0074] (13) Based on the opened heat treatment process status table (c.1), the basic information such as drawing number, name, stage, status table number, etc. is parsed through the generation tool to form a new procedure basic information data set (c.2).

[0075] (14) The application generation tool starts the associated heat treatment process design system, and based on the new procedure basic information data set (c.2), generates the basic contents such as heat treatment process procedure nodes and cover by automated mouse and keyboard methods.

[0076] (15) The application generation tool calls the process step generation interface (b.8) and uses the process status text data parsed from the heat treatment process status table (c.1) as input to generate a new heat treatment procedure process step sequence (c.3).

[0077] (16) Apply the generation tool to parse each step name in the new heat treatment procedure process step sequence (c.3), call the heat treatment procedure content description generation interface (b.9), and form a new procedure step content description text dataset (c.4).

[0078] (17) Use the generation tool to associate the new heat treatment procedure process step sequence (c.3) and the new procedure step content description text dataset (c.4) to generate a new heat treatment process procedure dataset (c.5).

[0079] (18) Application generation tools are used to simulate the mouse operation and text input functions of the heat treatment process design system based on the new heat treatment process specification data set (c.5), and new heat treatment specifications (c.6) are generated in the existing heat treatment process design system content in an automated manner.

[0080] Based on the existing heat treatment process regulations, this embodiment extracts and generates a heat treatment process regulation content basic database and a heat treatment process status basic database, reduces manual work, overcomes the problems of insufficient standardization and consistency that are prone to occur when compiled by different personnel, and improves compilation efficiency; this embodiment uses machine learning to establish a heat treatment process step generation model and a heat treatment step content description generation model to achieve the heat treatment process regulation generation capability; this embodiment builds a heat treatment regulation generation tool that integrates Selenium, fully utilizes the existing process design system, and generates new heat treatment process regulations in an automated mouse and keyboard operation manner.

[0081] Although the present invention has been disclosed as above in the form of a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art may make possible changes and modifications to the technical solution of the present invention by using the methods and technical contents disclosed above without departing from the spirit and scope of the present invention. Therefore, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the protection scope of the technical solution of the present invention.

Claims

1. A method for generating a heat treatment process specification based on Selenium, characterized in that include: According to the preset heat treatment process regulations, a heat treatment process regulation content basic database and a heat treatment process status basic database are obtained; According to the heat treatment process specification content basic database and the heat treatment process status basic database, a heat treatment process step generation model and a heat treatment process step generation interface, a heat treatment step content description generation model and a heat treatment specification content description generation interface are constructed; Construct a heat treatment process specification generation tool, and generate a new heat treatment procedure based on the heat treatment process specification generation tool, the heat treatment process step generation model and the heat treatment process step generation interface, the heat treatment step content description generation model and the heat treatment procedure content description generation interface and the new heat treatment process status table.

2. The method for generating a heat treatment process specification based on Selenium according to claim 1, characterized in that: According to the preset heat treatment process regulations, the heat treatment process regulations content basic database and the heat treatment process status basic database are obtained, including: Design the data sheet of heat treatment process specifications; According to the preset heat treatment process specification, the heat treatment process specification content data table is filled with data to obtain the heat treatment process specification content basic database; Design heat treatment process status data table; According to the preset heat treatment process regulations, the heat treatment process status data table is filled with data to obtain the heat treatment process status basic database.

3. The method for generating a heat treatment process specification based on Selenium according to claim 1, characterized in that: According to the heat treatment process specification content basic database and the heat treatment process status basic database, a heat treatment process step generation model and a heat treatment process step generation interface, a heat treatment step content description generation model and a heat treatment process content description generation interface are constructed, including: According to the basic database of heat treatment process specification content, a text dataset of process steps and a text dataset of process step content description are constructed; Construct a process status text data set based on the heat treatment process status basic database; Take the process status text dataset as input and the procedure process step text dataset as output to construct the process status-procedure process step text dataset; take the process status text dataset as input and the step content description text dataset as output to construct the process status-step content description text dataset; The text model machine learning framework is applied, and the process status-procedure step text dataset and the process status-step content description text dataset are used as samples for training to generate the heat treatment process step generation model and the heat treatment step content description generation model respectively; Build a heat treatment process step generation interface, and connect the heat treatment process step generation interface with the heat treatment process step generation model; Build a heat treatment procedure content description generation interface, and connect the heat treatment procedure content description generation interface with the heat treatment step content description generation model.

4. The method for generating a heat treatment process specification based on Selenium according to claim 1, characterized in that: Construct a heat treatment process specification generation tool. Generate a new heat treatment specification based on the heat treatment process specification generation tool, the heat treatment process step generation model and the heat treatment process step generation interface, the heat treatment step content description generation model and the heat treatment specification content description generation interface and the new heat treatment process state table, including: Construct a heat treatment process specification generation tool, read the new heat treatment process status table through the heat treatment process specification generation tool, and parse the new heat treatment process status table to obtain the basic information data set of the new procedure; The process status text data in the basic information data set of the new procedure is used as the input of the process step generation interface, the heat treatment process step generation model is loaded, and the process step sequence of the new heat treatment procedure is generated; Through the heat treatment process specification generation tool, the new heat treatment procedure process step sequence is parsed to obtain each step name, and then the heat treatment procedure content description generation interface is called for each step name, the heat treatment step content description generation model is loaded, and the new procedure step content description text data set is generated; Through the heat treatment process specification generation tool, the new heat treatment process specification process step sequence and the new process step content description text data set are associated to generate a new heat treatment process specification data set; The heat treatment process specification generation tool is used to simulate the mouse operation and text input functions of the preset heat treatment process design system on the basis of the new heat treatment process specification data set to generate a new heat treatment specification.

5. The method for generating a heat treatment process specification based on Selenium according to claim 2, characterized in that: Designing the heat treatment process specification content data table includes: designing the heat treatment process specification content data table in the form of heat treatment process specification, serial number, process name, process step name, and process step content description fields; According to the preset heat treatment process specification, the heat treatment process specification content data table is filled with data to obtain the heat treatment process specification content basic database, including: according to the preset heat treatment process specification, the unique identifier of the heat treatment process specification is used as "procedure", the process name, step name, and step content description of the heat treatment process specification are extracted, and the heat treatment process specification content data table is filled to form the heat treatment process specification content basic database.

6. The method for generating a heat treatment process specification based on Selenium according to claim 2, characterized in that: Designing a heat treatment process status data table includes: designing a heat treatment process status data table according to the regulations and the process status content fields; According to the preset heat treatment process regulations, the heat treatment process status data table is filled with data to obtain the heat treatment process status basic database including: According to the preset heat treatment process regulations, the process status content is extracted, the heat treatment process status data table is filled, and the heat treatment process status basic database is formed.

7. The method for generating a heat treatment process specification based on Selenium according to claim 3, characterized in that: According to the heat treatment process specification content basic database, the procedure step text data set and the step content description text data set are constructed, including: According to the basic database of heat treatment process regulations, the process name and step name of each regulation are connected into text strings in a space-separated manner in the order of serial numbers to construct a regulation process and step text dataset; the step content description of each regulation is segmented according to the granularity of text sentences, and then connected into text strings in a space-separated manner to construct a step content description text dataset.

8. The method for generating a heat treatment process specification based on Selenium according to claim 3, characterized in that: Constructing a process status text data set according to a heat treatment process status basic database includes: segmenting the process status content according to the heat treatment process status basic database, and then connecting them into text strings in a space-separated manner to construct a process status text data set.

9. The method for generating a heat treatment process specification based on Selenium according to claim 3, characterized in that: The heat treatment process step generation interface can receive heat treatment process status text data as input.

10. The method for generating a heat treatment process specification based on Selenium according to claim 3, characterized in that: The heat treatment procedure content description generation interface can receive process step name and process status text data as input.