Process system flow chart drawing method and device and chart design template library construction method and device
By building a diagram design template library and parameter calculation, the process system flow chart is automatically drawn, which solves the problem of relying on manual experience in the existing technology and realizes efficient and accurate process system flow chart design.
Patent Information
- Application Number
- CN202510793690.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-13
- Publication Date
- 2025-10-10
AI Technical Summary
The existing process system flow chart drawing is inefficient, relying on the experience and knowledge reserves of designers, and lacks standardized and efficient design methods.
By building a diagram design template library, determining the target major category and initial minor category based on the drawing requirement information, extracting the equipment parameter table, receiving the parameter information filled in by the user, determining the target minor category and equipment information, and using the parameter information to extract the process system flow chart template from the template library, and performing parameter calculation and update to form the target process system flow chart.
It improves the accuracy and efficiency of process system flow chart design, reduces dependence on designer experience, and saves design time and cycle.
Smart Images

Figure CN120765798A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of process drawing, and in particular relates to a method and device for drawing a process system flow chart, a method and device for constructing a diagram design template library, an electronic device, and a computer-readable storage medium. Background Art
[0002] Currently, process system design requires the creation of a process flow diagram (PFD). For example, the design of process piping within a process system requires the creation of a P&ID (Piping and Instrumentation Diagram). Traditionally, designers draw upon the process system, referencing similar projects from previous projects. Reusable drawings are reused, and modifications are made if they are not. This approach has the disadvantage that the speed and quality of design depend on the designer's experience and knowledge. This approach is subject to significant human error, resulting in low efficiency and non-standardization.
[0003] The information disclosed in this background technology section is only intended to enhance understanding of the overall background of the invention and should not be regarded as an admission or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the Invention
[0004] The purpose of the present disclosure is to solve the technical problem of low efficiency in drawing flow charts of existing process systems, and to provide a method and device for drawing flow charts of process systems, a method and device for constructing a flow chart design template library, an electronic device, and a computer-readable storage medium.
[0005] A first aspect of the present disclosure provides a method for drawing a process system flow chart, the method comprising: obtaining drawing requirement information of the process system flow chart; determining a target major category and an initial subcategory under the target major category based on the drawing requirement information; extracting and sending an equipment parameter table from a pre-built diagram design template library based on the target major category and the initial subcategory; receiving parameter information after a user fills in the equipment parameter table; determining a target subcategory and equipment information under the target subcategory based on the parameter information; extracting a process system flow chart template from the diagram design template library based on the target major category, the target subcategory and the equipment information; determining equipment parameter values of each equipment in the process system flow chart template based on the parameter information; updating the process system flow chart template based on the equipment parameter values to obtain a target process system flow chart.
[0006] A second aspect of the present disclosure provides a method for constructing a diagram design template, the method comprising: setting a plurality of major categories based on acquired engineering project data; setting a plurality of different subcategories under each major category according to the engineering project data; setting a corresponding process system flow chart template for each subcategory; determining the equipment parameters of the equipment in each process system flow chart template, and generating an equipment parameter table based on the equipment parameters; and obtaining a diagram design template library based on the major categories, subcategories, process system flow chart templates, and equipment parameter tables.
[0007] A third aspect of the present disclosure provides a process system flow chart drawing device, which includes: an acquisition unit, configured to acquire drawing requirement information of the process system flow chart; a class determination unit, configured to determine the target major category and the initial subcategory under the target major category based on the drawing requirement information; a table extraction unit, configured to extract and send the equipment parameter table from a pre-built diagram design template library based on the target major category and the initial subcategory; a receiving unit, configured to receive parameter information after the user fills in the equipment parameter table; an information determination unit, configured to determine the target subcategory and the equipment information under the target subcategory based on the parameter information; a template extraction unit, configured to extract a process system flow chart template from the diagram design template library based on the target major category, the target subcategory and the equipment information; a parameter determination unit, configured to determine the equipment parameter value of each equipment in the process system flow chart template based on the parameter information; and an updating unit, configured to update the process system flow chart template based on the equipment parameter value to obtain the target process system flow chart.
[0008] The fourth aspect of the present disclosure provides a device for constructing a diagram design template library, which includes: a major category setting unit, configured to set multiple major categories based on acquired engineering project data; a minor category setting unit, configured to set multiple different minor categories under each major category according to the engineering project data; a template setting unit, configured to set a corresponding process system flow chart template for each minor category; a generation unit, configured to determine the equipment parameters of the equipment in each process system flow chart template, and generate an equipment parameter table based on the equipment parameters; and an acquisition unit, configured to obtain a diagram design template library based on the major categories, minor categories, process system flow chart templates and equipment parameter tables.
[0009] A fifth aspect of the present disclosure provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method described in any implementation of the first aspect or the second aspect.
[0010] The sixth aspect of the present disclosure provides a non-transitory computer readable storage medium storing computer instructions for causing a computer to execute the method described in any implementation manner of the first aspect or the second aspect.
[0011] Compared with the prior art, the present disclosure achieves the following technical effects: through the accumulation of the existing process system flowchart, the generated graph design template library can filter, call and data analyze in the huge graph design template library according to the input drawing requirement information, quickly find the process system flowchart template and the equipment parameter table, perform drawing parameter calculation through the input parameter information, and intelligently update the process system flowchart template in the graph design template library, form a reasonable target process system flowchart, and greatly improve the accuracy of the process system flowchart design through the built-in calculation of the system and the comparison in the library, save the time and period of the process system flowchart design, improve the design efficiency, and get rid of the dependence on the working experience of the designer. BRIEF DESCRIPTION OF DRAWINGS
[0012] Figure 1 is a flowchart according to one embodiment of the process system flowchart drawing method of the present disclosure;
[0013] Figure 2 is a structural schematic diagram of generating a target process system flowchart according to the present disclosure;
[0014] Figure 3 is a structural schematic diagram according to one embodiment of the process system flowchart drawing device of the present disclosure;
[0015] Figure 4 is a structural schematic diagram according to one embodiment of the graph design template library construction device of the present disclosure;
[0016] Figure 5 is a block diagram of an electronic device for implementing the process system flowchart drawing method or the graph design template library construction method of the present disclosure. DETAILED DESCRIPTION
[0017] Unless otherwise explicitly stated, throughout the specification and claims, the term "comprise" or variations such as "comprises" or "comprising" will be understood to imply the inclusion of a stated element or group of elements but not the exclusion of any other element or group of elements.
[0018] The technical solutions of the present invention are described below by means of specific embodiments. It should be understood that one or more steps mentioned in the present invention do not exclude the presence of other methods and steps before and after the combination step, or other methods and steps may be inserted between these explicitly mentioned steps. It should also be understood that these examples are only used to illustrate the present invention and are not used to limit the scope of the present invention. Unless otherwise specified, the numbering of each method step is only for the purpose of identifying each method step, and does not limit the order of arrangement of each method or the scope of implementation of the present invention. Changes or adjustments in their relative relationships can also be regarded as the scope of implementation of the present invention without substantial changes in the technical content.
[0019] The sources of the raw materials and instruments used in the examples are not particularly limited and can be purchased from the market or prepared according to conventional methods known to those skilled in the art.
[0020] P&ID diagrams are primarily used to demonstrate the connections and control logic between piping, instruments, valves, and other equipment in a process flow. Short for process piping and instrumentation diagrams, they are essential drawings for project design and construction.
[0021] Currently, there are two basic ways to generate P&ID drawings. One is to refer to previous similar projects, use existing engineering drawings, and modify the details. The other is to determine the pipeline diameter and details based on process equipment parameters and engineering experience, and redraw the drawings.
[0022] Current design methods suffer from low efficiency and a heavy reliance on the designer's experience and expertise for detailed control. Since process equipment parameters are the primary factor, piping parameters must adapt accordingly. Therefore, piping P&IDs are often redesigned based on these parameters, resulting in low P&ID design efficiency and limited engineering reusability. Therefore, a method is needed to analyze accumulated project data and process parameters based on requirements and projects, autonomously generating the required P&ID diagrams through simple calculations and commands.
[0023] In view of the defects in the prior art, the present invention provides a method for drawing a process system flow chart. Figure 1 A process 100 of an embodiment of a method for drawing a process system flow chart is shown. The method for drawing a process system flow chart includes the following steps:
[0024] Step 101: Obtain drawing requirement information of a process system flow chart.
[0025] In this embodiment, the process system flow chart is a graphical tool for describing materials, energy, equipment and operation steps in an industrial production process. The process system flow chart includes: a scheme flow chart, a process flow chart and a P&ID diagram.
[0026] In this embodiment, the drawing requirement information is the user's requirement for the process system flow chart. The drawing requirement information includes: the equipment name and specifications in the process system flow chart, etc. For example, the drawing requirement information includes: drawing a drawing of a compressed air station. The compressed air station is two 100Nm3 compressed air stations. The target process system flow chart can be obtained by processing the drawing requirement information through the process system flow chart drawing method. The target process system flow chart is the process system flow chart required by the user.
[0027] Step 102: Determine the target category and the initial subcategory under the target category based on the drawing requirement information.
[0028] In this embodiment, the initial subcategories are determined solely based on the drawing requirements information. Compared to the target subcategories ultimately determined based on the user-entered parameter information, the initial subcategories are less accurate. The process system flow chart drawing method provided in this disclosure includes an equipment parameter table within the diagram design template library. The user-entered parameter information in the equipment parameter table allows optimization of the initial subcategories, providing a reliable method for obtaining the target process system flow chart.
[0029] In this embodiment, the drawing requirement information and the information of the pre-built drawing design template library can be sent to the multimodal large model together. The multimodal large model analyzes the drawing requirement information and determines the target category and the initial subcategory under the target category corresponding to the drawing requirement information.
[0030] Optionally, the above step 102 also includes: extracting the device names of all devices in the drawing requirement information; clustering the device names of all devices and determining the cluster type; matching the cluster type with the major category in the pre-built graphic design template library, and if the cluster type successfully matches the major category in the graphic design template library, the major category is used as the target major category; continuing to match the device names of all devices with the subcategories under the target major category, and if the number of device names matching the subcategory is the largest, the subcategory is used as the initial subcategory under the target major category.
[0031] Optionally, based on the drawing requirement information, determining the target category and the initial subcategory under the target category includes: extracting keywords from the drawing requirement information, and matching the extracted keywords with the preset category and the keywords under the category, corresponding to the extracted keywords matching the preset category or the keywords under the category, determining that the target category is the preset category, or the initial subcategory is the subcategory under the preset category.
[0032] Step 103 : Based on the target major category and the initial minor category, a device parameter table is extracted from a pre-built graphic design template library and sent.
[0033] In this embodiment, the graphic design template library is a template library specially designed for generating process system flow charts. The graphic design template library includes: major categories, minor categories, and corresponding equipment parameter tables and process system flow chart templates under the minor categories. Among them, the process system flow chart template is a general framework composed of graphic symbols, text annotations and connecting lines, which is used to intuitively display the complete process logic from raw material input to finished product output, including equipment, pipelines, control nodes and operation steps, and the equipment parameter table is a table that represents or calculates the parameters of the equipment in the process system flow chart template. The equipment parameter table may include: equipment name, equipment type, equipment parameters, and parameter values of equipment parameters. Among them, equipment parameters are parameters of equipment, and parameter values of equipment parameters are specific values of equipment parameters. Parameter values of equipment parameters are also called equipment parameter values. It should be noted that the parameter values of some equipment parameters in the equipment parameter table can be fixed values, and the parameter values of some equipment parameters can be blank. After the equipment parameter table is sent to the user's client, the user can fill in the parameter values in the equipment parameter table on the client to represent the specific values of the equipment parameters of the equipment. The device parameter table can also include calculated parameters for a specific device and their values. Calculated parameters are intermediate parameters for a specific device. By calculating their values, you can obtain the device parameter's value. For example, in a P&ID diagram, the device parameter is the pipe diameter, and the calculated parameter is the medium flow rate. Users can enter the medium flow rate value and, by substituting the medium flow rate value into the device parameter calculation formula, obtain the pipe diameter, i.e., the device parameter's value.
[0034] In this embodiment, the above-mentioned step 102 includes: determining the devices to be drawn that belong to the target major category and the initial minor category, comparing the similarity between the devices to be drawn and the devices in the device parameter table in the drawing design template library, and in response to there being only one device parameter table whose similarity to the device to be drawn is greater than a similarity threshold, extracting the device parameter table and sending the device parameter table to the user; in response to there being multiple device parameter tables whose similarity to the device to be drawn is greater than a similarity threshold, extracting the number of devices to be drawn in the drawing requirement information, matching the number with the parameter values of the device parameters representing the number of devices in the multiple device parameter tables, and in response to the number successfully matching the parameter value representing the number of devices in one device parameter table, extracting the device parameter table and sending the device parameter table to the user.
[0035] Step 104: Receive parameter information after the user fills in the device parameter table.
[0036] In this embodiment, parameter information is the information obtained after the user completes the equipment parameter table. The parameter information may include: the original information in the equipment parameter table, such as the equipment type and equipment parameters; and the new information filled in by the user. The new information is the value corresponding to the original information, such as the new information after the parameter value corresponding to the equipment parameter is filled in, or the new information is the type after the parameter corresponding to the equipment type is selected. It should be noted that the parameter information may include parameter values of equipment parameters that cannot be directly determined by the drawing requirement information. Through the parameter information, the execution entity on which the process system flow chart drawing method runs can directly determine the specifications of specific equipment in the process system flow chart template.
[0037] In this embodiment, the content in the parameter information can constitute a new device parameter table, and the fields of the new device parameter table can be the same as the fields of the device parameter table. With respect to the values of the fields of the device parameter table, the new device parameter table is different from the device parameter table.
[0038] Step 105: Determine the target subcategory and the device information under the target subcategory based on the parameter information.
[0039] In this embodiment, the target subcategory and the initial subcategory are both located under the target major category. The equipment information is the information of the equipment in the subcategory. The equipment information corresponding to the target subcategory is different from the equipment information corresponding to the initial subcategory. The target subcategory is a category determined by parameter information. At this time, the process system flow chart template corresponding to the target subcategory is different from the process system flow chart template of the initial subcategory. The target subcategory can accurately reflect the drawing requirement information and the parameter information filled in by the user.
[0040] In this embodiment, the device parameter table includes multiple device fields and their corresponding values. The parameter values can be new device fields and their corresponding values, relative to the original device parameter table filled in by the user. The new device fields correspond to the new device. Using this parameter information, the initial subclass can be overturned to obtain the target subclass. This target subclass can then accurately support the type of drawing requirement information.
[0041] The above step 105 includes: determining a new device name based on parameter information; querying the category table in the graphic design template library based on the new device name to obtain a target subcategory; querying and obtaining device information based on the target subcategory, wherein the device information represents information about the new device.
[0042] Step 106 : extracting a process system flow chart template from a diagram design template library based on the target major category, target minor category, and equipment information.
[0043] In this embodiment, the target major category, target minor category and equipment information are matched with the information in each process system flow chart template in the diagram equipment template library. In response to the target major category, target minor category and equipment information all being successfully matched with a process system flow chart template, the process system flow chart template is extracted.
[0044] In this embodiment, each process system flow chart template in the diagram design template library corresponds to an equipment parameter table, and each equipment parameter table records the information of the equipment in the corresponding process system flow chart template. The above step 104 can also include: matching the target category, target subcategory and equipment information with the information in the equipment parameter table in the diagram design template library. In response to the successful matching of the target category, target subcategory and equipment information with the equipment parameter table in a diagram design template library, extracting the process system flow chart template of the equipment parameter table.
[0045] Step 107: Determine the equipment parameter value of each equipment in the process system flow chart template based on the parameter information.
[0046] In this embodiment, the equipment parameter values are parameter values of equipment parameters. When the target process system flow chart is not determined, the equipment parameter values of some equipment in the process system flow chart template need to be calculated, and the equipment for which the equipment parameter values need to be calculated is a specific equipment. For example, if the target process system flow chart is a P&ID diagram, generally, when designing the P&ID diagram, it is necessary to calculate the pipe diameter. For this purpose, the specific equipment in the P&ID diagram is a pipe.
[0047] In this embodiment, the parameter information includes: calculation parameters and parameter values of the calculation parameters. The calculation parameters are intermediate parameters of a specific device. By calculating the parameter values of the calculation parameters, the parameter values of the device parameters can be obtained. Step 105 includes: determining the device parameters of the specific device in the process system flow chart template; determining the calculation parameters corresponding to the specific device based on a preset parameter calculation formula; extracting the parameter values of the calculation parameters from the parameter information; and substituting the parameter values of the calculation parameters into the parameter calculation formula to obtain the device parameter values of the device parameters of the specific device. The parameter calculation formula is a formula that characterizes the relationship between the calculation parameters and the device parameters of the specific device.
[0048] In this embodiment, the device parameter value of each device may be a fixed value or a range of values within a certain range. The specific value of the device parameter value may be determined based on the situation of the specific device.
[0049] Step 108: Based on the equipment parameter values, update the process system flow chart template to obtain the target process system flow chart.
[0050] In this embodiment, each device in the process system flow chart template is drawn using the device parameter value, and the value of each device in the process system flow chart template can be fixed, thereby obtaining a fixed target process system flow chart.
[0051] In this embodiment, the target process system flow chart is a drawing obtained after the process system flow chart is drawn according to the user's drawing requirements and parameter information. Compared with the drawings designed completely manually, the target process system flow chart is a drawing established based on the principles of artificial intelligence, which saves the time and cycle of drawing design and improves the efficiency of drawing design.
[0052] The process system flow chart drawing method provided by the present invention first determines the target major category and initial minor category through drawing requirement information; extracts the equipment parameter table through the target major category and initial minor category, determines the target minor category through the user's filling in the equipment parameter table, and then extracts the process system flow chart template through the target major category and target minor category, thereby improving the reliability of the process system flow chart template extraction; through the accumulation of existing process system flow charts, a drawing design template library is generated, which can be screened, called and data analyzed in the huge drawing design template library according to the input drawing requirement information, and the process system flow chart template and equipment parameter table can be quickly found. Drawing parameter calculation is performed based on the input parameter information, and the process system flow chart template in the drawing design template library is intelligently updated to form a reasonable target process system flow chart. Through the system's built-in calculation and comparison library, the accuracy of the process system flow chart design is greatly improved, the time and cycle of the process system flow chart design are saved, the design efficiency is improved, and the dependence on the work experience of the designer is eliminated.
[0053] In some optional implementations of the present disclosure, the above-mentioned determination of the target category and the initial subcategory under the target category based on the drawing requirement information includes: identifying the drawing type and drawing name, drawing device keywords and the number of devices in the drawing requirement information; based on the drawing type and drawing name, determining the target category in the pre-built drawing design template library; based on the drawing device keywords and the number of devices, selecting the initial subcategory from the table corresponding to the subcategory under the target category.
[0054] In this optional implementation, the pre-built diagram design template library is a pre-built database, and the data in the database includes: multiple major categories, subcategories under each major category, tables corresponding to each subcategory, and process system flow chart templates, where the tables corresponding to the subcategories can be tables for recording different equipment parameters in the process system flow chart template.
[0055] In this optional implementation, the type keywords and name keywords in the drawing requirement information can be analyzed through a natural language model to determine the drawing type and drawing name in the drawing requirement information. For example, the drawing requirement includes "drawing a compressed air station drawing of the P&ID type", the drawing type is the P&ID type, and the drawing name is the compressed air station drawing. Through the drawing type and drawing name, it can be determined that the major category is the compressed air station drawing in the P&ID. Specifically, the drawing type and drawing name are matched with the major categories in the drawing design template library respectively. In response to a successful match, it is determined that the drawing type and drawing name belong to the major category, and the major category is the target major category.
[0056] In this optional implementation, the device name and quantity in the drawing requirement information can be analyzed through a natural language model to determine the device keywords and device quantity in the drawing requirement information. After determining the target category, the device keywords and device quantity can be matched with the fields in the tables of different subcategories under the target category at the same time. In response to the successful simultaneous match of the device keywords and device quantity, the subcategory is used as the initial subcategory.
[0057] In this optional implementation, after determining the initial subcategory, the initial table can be used as a device parameter table, and when sending the device parameter table, the device parameter table can be sent to the user's terminal, so that the user can fill in the device parameter table at the terminal and obtain parameter information.
[0058] The method for extracting and sending the device parameter table provided by the present invention identifies the drawing type and drawing name, drawing device keywords and the number of devices in the drawing requirement information; based on the drawing type and drawing name, determines the target category in the pre-built drawing design template library; based on the drawing device keywords and the number of devices, selects the initial subcategory from the table corresponding to the subcategory under the target category, providing a reliable implementation method for obtaining the target category and the initial subcategory.
[0059] In some optional implementations of the present disclosure, the above-mentioned extraction of process system flow chart templates from the diagram design template library based on target major categories, target minor categories and equipment information includes: determining the main equipment based on the target major categories, target minor categories and equipment information; matching the main equipment with the equipment in each process system flow chart template in the diagram design template library; and extracting the process system flow chart template in response to a successful match between the main equipment and the equipment in the process system flow chart template.
[0060] In this optional implementation, the principal equipment is the primary equipment in the process system flow chart template and is also the key equipment in the drawing requirement information. Different process system flow charts have different principal equipment. For example, in a flow medium transmission diagram, the pipeline is the principal equipment; in a compressed air station diagram, the air compressor main unit is the principal equipment. The above-mentioned determination of the principal equipment based on the target major category, target minor category, and equipment information includes: determining the primary function of the process system flow chart based on the target major category, target minor category, and equipment information, and extracting the equipment with the greatest impact on the primary function from the equipment information as the principal equipment.
[0061] In this optional implementation, each process system flow chart template in the graphic design template library is a general framework composed of graphic symbols, text annotations, and connecting lines, while the equipment in the process system flow chart template is information identified by graphic symbols and text annotations. Matching the main equipment with the equipment in each process system flow chart template in the graphic design template library includes: determining the graphic and text annotation information of the main equipment in the current category, calculating the similarity between the graphic and text annotation information of the main equipment and the equipment identified in the process system flow chart template, and determining that the main equipment matches the equipment in the process system flow chart template if the similarity is greater than a similarity threshold.
[0062] The method for extracting a process system flow chart template provided by this optional implementation method determines the main equipment based on the target major category, target minor category and equipment information; matches the main equipment with the equipment in each process system flow chart template in the diagram design template library; in response to a successful match between the main equipment and the equipment in the process system flow chart template, extracts the process system flow chart template, and extracts the process system flow chart in the process system flow chart template through the main equipment, thereby improving the reliability of the process system flow chart template.
[0063] Optionally, the above-mentioned extraction of process system flow chart templates from the diagram design template library based on target major categories, target minor categories and equipment information includes: determining the number and type of main equipment and auxiliary equipment based on target major categories, target minor categories and equipment information; matching the number and type of main equipment and auxiliary equipment with the equipment in each process system flow chart template in the diagram design template library; extracting the process system flow chart template in response to the successful matching of the main equipment with the equipment in the process system flow chart template. Taking the air compressor station as an example, the air compressor station corresponds to different system modes of the diagram design template library according to the number and type of air compressor host and auxiliary equipment settings, so it is necessary to call the corresponding process system flow chart template according to the number and type of equipment. Among them, the auxiliary equipment is non-main equipment relative to the main equipment.
[0064] In some optional implementations of the present disclosure, the above-mentioned determination of the equipment parameter values of each device in the process system flow chart template based on parameter information includes: based on the parameter information, selecting the equipment parameter calculation formula of the specific equipment from the diagram design template library; based on the equipment parameter calculation formula, calculating the equipment specifications of the specific equipment in the process system flow chart template to obtain the equipment parameter value of the specific equipment; based on the parameter information, extracting the equipment parameter value of the non-specific equipment, and using the equipment parameter value of the specific equipment and the equipment parameter value of the non-specific equipment as the equipment parameter value of each device in the process system flow chart template.
[0065] In this optional implementation, the equipment in the process system flow chart template includes specific equipment and non-specific equipment, wherein the specific equipment is the equipment that requires calculation of equipment parameter values, while the non-specific equipment is the equipment that does not require calculation and the equipment parameter values can be directly derived from the parameter information.
[0066] In this optional implementation, when constructing a graphic design template library, a specific equipment identifier can be used to mark a specific equipment in the process system flow chart template, and an equipment parameter table can be configured for the specific equipment. In order to facilitate the calculation of the equipment parameter value of the specific equipment, the equipment parameter calculation formula of the specific equipment can be stored accordingly. For example, for the calculation of pipelines, there is an accurate equipment parameter calculation formula. The equipment parameter is used to characterize the correspondence between the medium flow rate and the pipe diameter of the pipeline. When the parameter information has the pipe diameter and the medium flow rate, the equipment parameter calculation formula related to the pipe diameter and the medium flow rate can be directly determined. The pipe diameter size can be directly calculated through the equipment parameter calculation formula. The pipe diameter size is the equipment specification, and the equipment specification is the equipment parameter value of the pipeline (equipment parameter) of the pipeline (specific equipment).
[0067] This optional implementation provides a method for calculating the equipment parameter values of each device. By selecting the equipment parameter calculation formula from the drawing design template library, the drawing parameter values of each device in the process system flow chart template are calculated. This can make the equipment parameter calculation formula completely match the determined process system flow chart template, thereby improving the reliability of the equipment drawing parameter value calculation.
[0068] Optionally, the above-mentioned determination of the equipment parameter values of each equipment in the process system flow chart template based on the parameter information includes: selecting the equipment parameter calculation formula of the specific equipment from the diagram design template library based on the parameter information; calculating the equipment specifications of the specific equipment in the process system flow chart template based on the equipment parameter calculation formula, displaying the calculated equipment specifications, receiving the user's confirmation information on the displayed equipment specifications, and using the equipment parameter value corresponding to the user's confirmation information as the equipment parameter value of the specific equipment.
[0069] In some optional implementations of the present disclosure, the updating the process system flow chart template based on the device parameter value to obtain the target process system flow chart includes: screening the historical parameter value from the drawing design template library based on the device parameter value; generating a process parameter value based on the historical parameter value and the device parameter value; and modifying the specification of the device in the process system flow chart template using the process parameter value to obtain the target process system flow chart.
[0070] In the optional implementation, the historical parameter value is a device parameter value obtained by the device parameter in a historical time period, which can provide a certain reference with respect to the currently obtained device parameter value. The process parameter value is a parameter value selected from the historical parameter value and the device parameter value, which is suitable for generating the target process system flow chart. The suitable standard can be determined based on a drawing drawing standard, for example, the drawing drawing standard is that the parameter value difference in a certain time interval does not exceed a difference threshold.
[0071] In the optional implementation, the device parameter value can be a fixed range value of the device parameter, or a plurality of range values of the device parameter, such as a pipe diameter value of the pipe. The pipe diameter calculated by the parameter calculation formula is selected according to the range, that is, a range. If the historical parameter value is already in the drawing design template library, a reasonable value range can be selected by the historical parameter value and the device parameter value. When it is not determined whether the device parameter value is accurate, the historical parameter value and the device parameter value are put together, and the optimal process parameter value is selected to modify the process system flow template, so that the target process system flow chart can be obtained.
[0072] The method for obtaining the target process system flow chart provided by the optional implementation includes: screening the historical parameter value from the drawing design template library based on the device parameter value; generating a process parameter value based on the historical parameter value and the device parameter value; and modifying the specification of the device in the process system flow chart template using the process parameter value to obtain the target process system flow chart. The target process system flow chart obtained by modifying the process system flow chart template using the generated process parameter value can be more accurate, and the accuracy and reliability of the target process system flow chart are improved.
[0073] Alternatively, the device parameter value can be a fixed range value of the device parameter, for example, the pipe diameter is a device parameter. When the pipe diameter size is calculated by the parameter calculation formula, if a fixed flow rate range is directly given in the developed algorithm module, a unique pipe diameter size range can also be calculated. The updating the process system flow chart template based on the device parameter value to obtain the target process system flow chart includes: in response to the device parameter value of a specific device in the device parameter value being a unique value calculated by a fixed calculation parameter, modifying the specification of the device in the process system flow chart template using the device parameter value to obtain the target process system flow chart.
[0074] In a specific example, a P&ID drawing for a compressed air station is required. The user enters the drawing requirement information for "two 100Nm³ compressed air station P&ID drawings." The process system flow chart drawing method begins, retrieving the equipment parameter tables for the two units within the compressed air station from the pre-built diagram design template library. The designer then fills in the parameter information for each device within the station based on the equipment parameter tables. Based on this parameter information, the P&ID drawing template and the required ancillary systems are extracted from the diagram design template library. The data processing system calculates the piping parameters between the manually entered equipment parameters using built-in piping calculation formulas. By comparing the manually entered equipment parameters with existing data in the diagram design template library, the system selects reasonable piping values and enters them into the P&ID drawing template, creating the P&ID drawing.
[0075] The key point of the present invention is to establish a P&ID drawing database and data processing system, and to establish an intelligent query and identification system based on the principle of artificial intelligence. According to the input instructions, the system can retrieve relevant P&ID drawing templates, equipment parameter tables and system pipeline calculation formulas. After calculating the pipe diameters of various parts of the system through the equipment parameters input by the designer, the system intelligently selects reasonable values and fills them into the P&ID drawing template to form a P&ID drawing.
[0076] The present disclosure also provides a method for constructing a graph design template library. Figure 2 A process 200 of an embodiment of a method for constructing a graph design template library is shown. The method for constructing a graph design template library includes the following steps:
[0077] Step 201: Determine multiple major categories based on the acquired engineering project data.
[0078] In this embodiment, engineering project data refers to the collection of structured and unstructured information generated during the entire life cycle of engineering implementation, which runs through the planning, design, construction, operation and maintenance stages. Engineering project data includes: basic technical data, process management data, quality and safety data, operation support data, etc.
[0079] In this embodiment, the above-mentioned step 201 includes: determining at least one process category based on engineering project data; determining multiple major categories based on at least one process category; wherein, the above-mentioned determination of at least one process category based on engineering project data includes: dividing the engineering project data into at least one process type. Specifically, the division of process categories of engineering project data can be systematically classified from two dimensions: technical characteristics and application scenarios, such as division according to technical levels and division according to process flow stages. The above-mentioned determination of multiple major categories based on at least one process category includes: establishing a hierarchical structure according to commonly used process categories, and determining each major category according to the hierarchical structure. For example, for a compressed air station, for the process category of the compressed air station, according to the information expressed in each hierarchical structure, the engineering project data of the compressed air station can be divided into multiple major categories such as compressed air station, boiler room, steam turbine room, etc.,
[0080] Step 202: Under each major category, determine multiple different subcategories based on the engineering project data.
[0081] In this embodiment, under each major category, the specifications of the main equipment and the auxiliary systems in each major category are extracted. The main equipment is the main equipment, such as the specifications of the boiler in the boiler room category are the main equipment specifications; according to the differences in the specifications of the main equipment and the auxiliary systems, they are subdivided into different subcategories, among which the auxiliary systems are auxiliary technical systems constructed to realize the functions of the main equipment system.
[0082] Step 203: Set a corresponding process system flow chart template for each subcategory.
[0083] In this embodiment, each subcategory has its own equipment-related parameter template that needs to be input. Specifically, under each subcategory, all common information is determined, and a process system flow chart template is generated based on the common information.
[0084] Step 204 : determining the equipment parameters of the equipment in each process system flow chart template, and generating an equipment parameter table based on the equipment parameters.
[0085] In this embodiment, the equipment parameters are determined for the equipment information of each equipment in the process system flow chart template, and the equipment parameters are used as fields of the table. A filling area of a corresponding parameter value is set for each field to obtain an equipment parameter table.
[0086] Step 205: construct a diagram design template library based on the major categories, minor categories, process system flow chart templates and equipment parameter tables.
[0087] In this embodiment, the graph design template library is a database. Its construction must adhere to systematic architecture design and standardized management processes. The technical architecture of the graph design template library includes a storage layer and a service layer. The storage layer uses a relational database to store template metadata (such as version numbers and applicable standards), while unstructured graph files use object storage. The service layer builds microservice modules such as template retrieval, version control, and permission management. Specifically, the construction of the graph design template library can refer to the conventional library construction process and will not be repeated here.
[0088] The method for constructing a diagram design template library provided by the present disclosure comprises the following steps: first, based on the acquired engineering project data, a plurality of major categories are determined; second, under each major category, a plurality of different minor categories are determined according to the engineering project data; third, a corresponding process system flow chart template is set for each minor category; third, the equipment parameters of the equipment in each process system flow chart template are determined, and based on the equipment parameters, an equipment parameter table is generated; finally, a diagram design template library is constructed based on the major categories, minor categories, process system flow chart templates and equipment parameter tables; the process system flow chart categories are refined into a data system architecture to form an effective resource library, which greatly improves the accuracy of the design of the diagram design template library; and as the process system flow chart templates are continuously accumulated and improved, the formed diagram design template library becomes more practical and convenient for generating process system flow charts.
[0089] Optionally, the graphic design template library provided by the present disclosure may also store parameter calculation formulas. The above-mentioned graphic design template library construction method also includes: determining device parameters of a specific device based on device parameters; determining a device parameter calculation formula for the device parameters based on the device parameters of the specific device; and adding the device parameter calculation formula to the graphic design template library.
[0090] Optionally, the above-mentioned method for constructing a diagram design template library further includes: obtaining expert system design information, user feedback optimization information, and a standard template; determining a revised standard template based on the expert system design information, user feedback optimization information, and the standard template; comparing the revised standard template with the process system flow chart template in the constructed diagram design template library, and in response to a large difference between the process system flow chart template in the diagram design template library and the revised standard template, modifying the process system flow chart template to obtain a modified process system flow chart template. To this end, the diagram design template library in the present disclosure supports dynamic updates, including changes in industry standards, addition of user-defined templates, or automatic optimization of templates through artificial intelligence algorithms.
[0091] Further references Figure 3 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a process system flow chart drawing device. Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0092] As Figure 3 shown, the process system flowchart drawing device 300 provided by the embodiment includes an acquisition unit 301, a class determination unit 302, a table extraction unit 303, a receiving unit 304, an information determination unit 305, a template extraction unit 306, a parameter determination unit 307, and an updating unit 308. The acquisition unit 301 can be configured to acquire drawing requirement information of a process system flowchart. The class determination unit 302 can be configured to determine a target major class and initial minor classes under the target major class based on the drawing requirement information. The table extraction unit 303 can be configured to extract and send a device parameter table from a pre-constructed graph design template library based on the target major class and the initial minor classes. The receiving unit 304 can be configured to receive parameter information after a user fills in the device parameter table. The information determination unit 305 can be configured to determine a target minor class and device information under the target minor class based on the parameter information. The template extraction unit 306 can be configured to extract a process system flowchart template from the graph design template library based on the target major class, the target minor class, and the device information. The parameter determination unit 307 can be configured to determine device parameter values of each device in the process system flowchart template based on the parameter information. The updating unit 308 can be configured to update the process system flowchart template based on the device parameter values to obtain a target process system flowchart.
[0093] In the embodiment, the specific processes of the acquisition unit 301, the class determination unit 302, the table extraction unit 303, the receiving unit 304, the information determination unit 305, the template extraction unit 306, the parameter determination unit 307, and the updating unit 308 in the process system flowchart drawing device 300 and the technical effects brought by the specific processes can be respectively referred to the related descriptions of steps 101, 102, 103, 104, 105, 106, 107, and 108 in the corresponding embodiment. Figure 1 The related descriptions of steps 101, 102, 103, 104, 105, 106, 107, and 108 in the corresponding embodiment will not be repeated here.
[0094] In an embodiment of the present disclosure, the class determination unit 302 is configured to: identify a graph type and a graph name, drawing device keywords, and a device quantity in the drawing requirement information; determine a target major class in a pre-constructed graph design template library based on the graph type and the graph name; and select initial minor classes in tables corresponding to minor classes under the target major class based on the drawing device keywords and the device quantity.
[0095] In one embodiment of the present disclosure, the above-mentioned template extraction unit 306 is further configured to: determine the main equipment based on the target major category, target minor category and equipment information; match the main equipment with the equipment in each process system flowchart template in the diagram design template library; in response to the successful matching of the main equipment with the equipment in the process system flowchart template, extract the process system flowchart template.
[0096] In one embodiment of the present disclosure, the above-mentioned parameter determination unit 307 is further configured to: based on the parameter information, select the equipment parameter calculation formula of the specific equipment from the diagram design template library; based on the equipment parameter calculation formula, calculate the equipment specifications of the specific equipment in the process system flow chart template to obtain the equipment parameter value of the specific equipment; based on the parameter information, extract the equipment parameter value of the non-specific equipment; use the equipment parameter value of the specific equipment and the equipment parameter value of the non-specific equipment as the equipment parameter value of each equipment in the process system flow chart template.
[0097] In one embodiment of the present disclosure, the above-mentioned update unit 308 is further configured to: filter out historical parameter values from the diagram design template library based on the equipment parameter values; generate process parameter values based on the historical parameter values and the equipment parameter values; use the process parameter values to modify the specifications of the equipment in the process system flow chart template to obtain the target process system flow chart.
[0098] The process system flow chart drawing device provided in this embodiment generates a drawing design template library through the accumulation of existing process system flow charts. It can screen, call and analyze data in the huge drawing design template library according to the input drawing requirement information, quickly find the process system flow chart template and equipment parameter table, calculate the drawing parameters according to the input parameter information, and intelligently update the process system flow chart template in the drawing design template library to form a reasonable target process system flow chart. Through the system's built-in calculation and comparison library, the accuracy of the process system flow chart design is greatly improved, the time and cycle of the process system flow chart design are saved, the design efficiency is improved, and the dependence on the work experience of the designer is eliminated.
[0099] like Figure 4As shown, the diagram design template library construction device 400 provided in this embodiment includes: a major category determination unit 401, a minor category determination unit 402, a template setting unit 403, a generation unit 404, and a construction unit 405. Among them, the above-mentioned major category determination unit 401 can be configured to determine multiple major categories based on the acquired engineering project data. The above-mentioned minor category determination unit 402 can be configured to determine multiple different minor categories under each major category based on the engineering project data. The above-mentioned template setting unit 403 can be configured to set a corresponding process system flow chart template for each minor category. The above-mentioned generation unit 404 can be configured to determine the equipment parameters of the equipment in each process system flow chart template, and generate an equipment parameter table based on the equipment parameters. The above-mentioned construction unit 405 can be configured to construct a diagram design template library based on the major categories, minor categories, process system flow chart templates and equipment parameter tables.
[0100] In this embodiment, the specific processing and technical effects of the diagram design template library construction device 400: the major category determination unit 401, the minor category determination unit 402, the template setting unit 403, the generation unit 404, and the construction unit 405 can be referred to respectively. Figure 2 The relevant descriptions of step 201, step 202, step 203, step 204, and step 205 in the corresponding embodiment are not repeated here.
[0101] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0102] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their modes are provided for example only and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0103] like Figure 5As shown, the electronic device 500 includes a computing unit 501 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 502 or a computer program loaded into a random access memory (RAM) 503 from a storage unit 508. Various programs and data required for the operation of the electronic device 500 can also be stored in the RAM 503. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0104] A plurality of components in the electronic device 500 are connected to the I / O interface 505, including an input unit 506 such as a keyboard, a mouse, and the like, an output unit 507 such as various types of displays, a speaker, and the like, a storage unit 508 such as a magnetic disk, an optical disk, and the like, and a communication unit 509 such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0105] The computing unit 501 can be various general and / or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, and the like. The computing unit 501 performs various methods and processes described above, such as the process system flowcharting method or the graph design template library construction method. For example, in some embodiments, the process system flowcharting method or the graph design template library construction method can be implemented as a computer software program that is tangibly embodied in a machine-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the process system flowcharting method or the graph design template library construction method described above can be performed. Alternatively, in other embodiments, the computing unit 501 can be configured to perform the process system flowcharting method or the graph design template library construction method by any other appropriate means, such as by means of firmware.
[0106] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0107] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable process system flowchart drawing device or a diagram design template library construction device, so that when the program code is executed by the processor or controller, the modes / operations specified in the flowchart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0108] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0109] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0110] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0111] It should be understood that various forms of flow can be used instead of the ones shown above, reordering, adding or deleting steps. For example, the steps recited in the present disclosure can be performed in parallel, in series, in different orders, without limitation herein, as long as the desired results of the technology disclosed in the present disclosure can be achieved.
[0112] The foregoing description of specific exemplary embodiments of the application has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the application to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. It is intended that the scope of the application be limited not with this detailed description, but rather by the claims appended hereto.
Claims
1. A method for drawing a process system flow chart, characterized in that: The method comprises: Obtain the drawing requirement information of process system flow chart; Determining a target category and an initial subcategory under the target category based on the drawing requirement information; Based on the target major category and the initial minor category, extract and send a device parameter table from a pre-built graphic design template library; Receiving parameter information after the user fills in the device parameter table; Determine a target subcategory and device information under the target subcategory based on the parameter information; Extracting a process system flow chart template from the diagram design template library based on the target major category, the target minor category, and the equipment information; Determining equipment parameter values of each equipment in the process system flow chart template based on the parameter information; Based on the equipment parameter values, the process system flow chart template is updated to obtain a target process system flow chart.
2. The method according to claim 1, characterized in that The determining of a target category and an initial subcategory under the target category based on the drawing requirement information includes: Identify the drawing type and drawing name, drawing equipment keywords and equipment quantity in the drawing requirement information; Based on the drawing type and drawing name, determining a target category in a pre-built drawing design template library; Based on the rendering device keyword and the number of devices, an initial subcategory is selected from a table corresponding to subcategories under the target major category.
3. The method according to claim 1, characterized in that The extracting of a process system flow chart template from the diagram design template library based on the target major category, the target minor category, and the equipment information includes: Determine a main device based on the target category, the target subcategory, and the device information; Matching the main equipment with the equipment in each process system flow chart template in the diagram design template library; In response to the main equipment successfully matching with the equipment in the process system flow chart template, the process system flow chart template is extracted.
4. The method according to claim 1, wherein Determining the equipment parameter value of each equipment in the process system flow chart template based on the parameter information includes: Based on the parameter information, selecting a device parameter calculation formula for a specific device from the diagram design template library; Based on the equipment parameter calculation formula, the equipment specifications of the specific equipment in the process system flow chart template are calculated to obtain the equipment parameter value of the specific equipment; extracting device parameter values of non-specific devices based on the parameter information; The equipment parameter values of the specific equipment and the equipment parameter values of the non-specific equipment are used as the equipment parameter values of the various equipment in the process system flow chart template.
5. The method according to claim 1, wherein The updating of the process system flow chart template based on the equipment parameter value to obtain a target process system flow chart includes: Based on the device parameter values, filtering out historical parameter values from the graph design template library; generating a process parameter value based on the historical parameter value and the equipment parameter value; The process parameter values are used to modify the specifications of the equipment in the process system flow chart template to obtain a target process system flow chart.
6. A method for constructing a graphic design template library, characterized in that: The method comprises: Based on the acquired engineering project data, multiple major categories are identified; Under each major category, a plurality of different subcategories are determined based on the engineering project data; Set up a corresponding process system flow chart template for each subcategory; Determine equipment parameters of equipment in each process system flow chart template, and generate an equipment parameter table based on the equipment parameters; A diagram design template library is constructed based on the major categories, the minor categories, the process system flow chart template and the equipment parameter table.
7. A process system flow chart drawing device, characterized in that: The device comprises: an acquisition unit configured to acquire drawing requirement information of a process system flow chart; a class determination unit configured to determine a target class and an initial subclass under the target class based on the drawing requirement information; A table extraction unit is configured to extract and send a device parameter table from a pre-built diagram design template library based on the target major category and the initial minor category; a receiving unit configured to receive parameter information filled in by a user on the device parameter table; an information determining unit configured to determine a target subcategory and device information under the target subcategory based on the parameter information; a template extraction unit configured to extract a process system flow chart template from the diagram design template library based on the target major category, the target minor category, and the equipment information; a parameter determination unit configured to determine an equipment parameter value of each equipment in the process system flow chart template based on the parameter information; The updating unit is configured to update the process system flow chart template based on the equipment parameter value to obtain a target process system flow chart.
8. A device for constructing a graphic design template library, characterized in that: The device comprises: a major category determination unit configured to determine a plurality of major categories based on the acquired engineering project data; A subcategory determination unit is configured to determine a plurality of different subcategories under each major category based on the engineering project data; The template setting unit is configured to set a corresponding process system flow chart template for each subcategory; a generating unit configured to determine equipment parameters of equipment in each process system flow chart template, and generate an equipment parameter table based on the equipment parameters; The construction unit is configured to construct a diagram design template library based on the major category, the minor category, the process system flow chart template and the equipment parameter table.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable the computer to execute the method according to any one of claims 1 to 6.